Commit Graph

809 Commits

Author SHA1 Message Date
Wang Nan e9617ca0a6 Merge pull request #685 from dumganhar/fix/socketrocket
Uses SocketRocket to implement WebSocket for iOS
2017-07-05 17:55:46 +08:00
James Chen 1ba17074d1 Uses SocketRocket to implement WebSocket for iOS. It has the following benefits:
1. The API of SocketRocket is easy for use, it's all asynchronous API.
2. No need to deal with thread communications, it's wrapped inside SocketRocket.
3. Network status change will not make connection closed, it just seems there isn't any status change.
4. Locking screen will trigger an error while libwebsockets or bsd socket will not.
5. Don't depend on openssl library which is a little big.
6. Don't need to use a local CA root certificate (curl ca file is over 2MB) for wss connection
7. Don't trigger signal pipe while closing wss connection
8. Easy to integrate SocketRocket to current WebSocket implementation
2017-07-05 16:32:57 +08:00
pandamicro 450ad5b4d5 Add cocos ui static dependency 2017-07-05 11:34:53 +08:00
pandamicro d300701125 Fix android sub module dependency issue 2017-07-04 16:35:42 +08:00
pandamicro 99206af737 Remove useless module and preprocess macros 2017-07-04 16:35:17 +08:00
CocosRobot 2ed9b31229 [ci skip][AUTO]: updating jsbinding automatically 2017-06-30 10:55:09 +00:00
pandamicro f94fd18256 Use PersistentScript in ScriptingCore 2017-06-30 18:02:08 +08:00
pandamicro ba23e966a7 Fix ScriptingCore::cleanup crash 2017-06-30 18:02:08 +08:00
pandamicro cdf2b39412 Remove js_get_type_from_native usage as many as possible 2017-06-30 18:02:08 +08:00
pandamicro dbd7367971 CameraNode auto bindings 2017-06-30 18:02:06 +08:00
pandamicro 32f9c7dc1f Remove debugger 2017-06-30 18:02:05 +08:00
pandamicro 0768865461 Fix non ref finalize crash during app close 2017-06-30 18:02:05 +08:00
pandamicro 7974e6f7af Use pure js event instead of native event 2017-06-30 18:02:05 +08:00
pandamicro 4e5886c8a1 Add build id for jsc files 2017-06-30 18:02:05 +08:00
pandamicro 089285b2d2 Fix crash issue caused by setting a pointer which is not proxy to private 2017-06-30 18:02:05 +08:00
pandamicro 31af3a1e4e Remove useless module and made Android compilation pass 2017-06-30 18:02:05 +08:00
pandamicro 8d92378ec7 Fix Android compilation issues 2017-06-30 18:02:05 +08:00
pandamicro 1e2bc5e1c4 Use sm52 for iOS 2017-06-30 18:02:05 +08:00
pandamicro e23232ad4c Upgrade anysdk bindings to sm52 2017-06-30 18:02:05 +08:00
pandamicro a9c5e50745 Remove simple audio engine 2017-06-30 18:02:05 +08:00
pandamicro ecafdac39a Fix network new proxy fail issue 2017-06-30 18:02:04 +08:00
pandamicro 1762e86956 Fix compilation issues after rebase 2017-06-30 18:02:04 +08:00
knoxHuang 7b23aa6b92 Manual merge v1.5 jsb modification 2017-06-30 18:02:04 +08:00
pandamicro 211c50b6f5 Fix event dispatching issue (old value stay in event obj) 2017-06-30 18:02:04 +08:00
pandamicro 959ac50c4d Secure basic type conversions 2017-06-30 18:02:04 +08:00
pandamicro ae2de458d8 Cleanup preprocess macro and update binding generator 2017-06-30 18:02:02 +08:00
pandamicro 53f34c399c Improve EventCustom dispatching performance 2017-06-30 18:02:02 +08:00
pandamicro 127c09e807 Made jsobject creation API secured with mutablehandleobject 2017-06-30 18:02:02 +08:00
pandamicro 0b4dc3605f Remove Chipmunk 2017-06-30 18:02:01 +08:00
pandamicro 27536dad4c Fix critical issues in bindings code 2017-06-30 18:02:01 +08:00
pandamicro e735c0ef07 Refactor JSScheduleWrapper and remove JSCallbackWrapper 2017-06-30 18:02:01 +08:00
pandamicro ae1c0db348 Replace JSCallbackWrapper with JSFunctionWrapper 2017-06-30 18:02:01 +08:00
pandamicro c774cb9791 Upgrade to Spidermonkey v52. pass 9: Fix compilation warnings 2017-06-30 18:02:01 +08:00
pandamicro f72d66db24 Refactor JSFunctionWrapper & Use MutableHandleValue for conversion’s return value
Upgrade to Spidermonkey v52. pass 8
2017-06-30 18:01:58 +08:00
pandamicro b1e9d01da9 Upgrade to Spidermonkey v52. pass 7: Remove auto compartment 2017-06-30 18:01:56 +08:00
pandamicro 024451216f Upgrade to Spidermonkey v52. pass 5: Compilation passed on v52 2017-06-30 18:01:56 +08:00
pandamicro 52c393c354 Upgrade to Spidermonkey v52. pass 5: Remove js_native_proxy 2017-06-30 18:01:56 +08:00
pandamicro 40248c0c73 Upgrade to Spidermonkey v52. pass 4 2017-06-30 18:01:54 +08:00
pandamicro 27d681a1a8 Upgrade to Spidermonkey v52. pass 3: Compilation pass 2017-06-30 18:01:54 +08:00
pandamicro 9f321538cf Upgrade to Spidermonkey v52. pass 2 2017-06-30 18:01:53 +08:00
pandamicro 17c5e5d779 Upgrade to spider monkey 52, pass 1 2017-06-30 18:01:51 +08:00
Wang Nan 3799e0f0a6 Merge pull request #674 from cocos-creator/v1.5
merge V1.5
2017-06-30 11:14:40 +08:00
zilongshanren 9a2925289a add json bmfont format support 2017-06-27 15:04:27 +08:00
Nan Wang 491eba66c5 update version to 1.5.2 2017-06-26 17:49:37 +08:00
pandamicro b3107dc1db Update engine version for -x-lite 2017-06-26 12:38:52 +08:00
2youyouo2 96fe7f7459 graphics support draw infinite shapes 2017-06-23 17:58:31 +08:00
2youyouo2 528b8e8723 add setTransformUpdated api 2017-06-23 15:18:16 +08:00
zilongshanren e600022c4c fix multiple bmfont packer rendering issue 2017-06-21 11:35:08 +08:00
pandamicro 46a256dddd Fix compilation issue caused by last patch 2017-06-21 10:48:07 +08:00
Wang Nan db92e9a494 Merge pull request #665 from cocos-creator/v1.5
merge V1.5
2017-06-20 15:07:44 +08:00