Commit Graph

380 Commits

Author SHA1 Message Date
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
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
pandamicro b3107dc1db Update engine version for -x-lite 2017-06-26 12:38:52 +08:00
2youyouo2 528b8e8723 add setTransformUpdated api 2017-06-23 15:18:16 +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
pandamicro fea7b315c3 Fix Android crash during loading remote image 2017-06-20 10:24:29 +08:00
CocosRobot fd2902aa03 [ci skip][AUTO]: updating jsbinding automatically 2017-06-16 08:23:26 +00:00
knoxHuang 9aa16c1bfe fix create renderTexture error for fireball/issues/5860 2017-06-07 09:52:09 +08:00
pandamicro f3e354b850 Sync serious XMLHTTP leak fix 2017-05-22 14:09:06 +08:00
2youyouo2 61c76e0d8b support vs 2017 2017-05-17 18:02:57 +08:00
CocosRobot bc44901b16 [ci skip][AUTO]: updating jsbinding automatically 2017-05-16 07:39:25 +00:00
pandamicro 67c46cc22b Improve function wrapper 2017-05-16 15:07:21 +08:00
Wang Nan 8e7c661291 Merge pull request #628 from 2youyou2/physics
add rigidbody.getJointList
2017-05-15 18:00:15 +08:00