Commit Graph

1644 Commits

Author SHA1 Message Date
James Chen 4ee7a5f3e9 Updates template for ios/mac 2017-07-05 16:43:22 +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 8124d24d05 Merge pull request #681 from pandamicro/develop
Fix compilation issues of mac simulator
2017-07-03 15:35:28 +08:00
pandamicro 2b08a2e352 Fix compilation issues of mac simulator 2017-07-03 15:34:17 +08:00
pandamicro 3bb07a4861 Merge pull request #680 from pandamicro/develop
Update cocos2d-console ref
2017-07-03 11:07:01 +08:00
pandamicro adb33e711a Update cocos2d-console ref 2017-07-03 11:06:22 +08:00
pandamicro 65a71c1c73 Remove duplicated jsb generation in travis task 2017-07-01 17:39:47 +08:00
pandamicro 169dd9fc37 Merge pull request #679 from CocosRobot/update_cocosfiles_1498820802
[AUTO][ci skip]: updating cocos2dx_files.json
2017-06-30 19:07:58 +08:00
CocosRobot 14a982b080 [AUTO][ci skip]: updating cocos2dx_files.json 2017-06-30 11:06:43 +00:00
pandamicro b5f20b441c Merge pull request #678 from CocosRobot/update_js_bindings_1498819983
[ci skip][AUTO]: updating jsbinding automatically
2017-06-30 19:00:05 +08:00
CocosRobot 2ed9b31229 [ci skip][AUTO]: updating jsbinding automatically 2017-06-30 10:55:09 +00:00
pandamicro 46b643484d Merge pull request #677 from pandamicro/develop
Remove chipmunk backup logic in travis scripts
2017-06-30 18:50:17 +08:00
pandamicro 6e7e614b84 Remove chipmunk backup logic in travis scripts 2017-06-30 18:49:47 +08:00
pandamicro f0a120c0fd Merge pull request #676 from pandamicro/develop
Enable travis for develop
2017-06-30 18:38:40 +08:00
pandamicro 1add6fb725 Enable travis for develop 2017-06-30 18:38:12 +08:00
Wang Nan 00a72377a4 Merge pull request #675 from pandamicro/sm52
Upgrade Spidermonkey to v52
2017-06-30 18:28:11 +08:00
pandamicro 154e3cf863 Support windows Spidermonkey v52 2017-06-30 18:02:08 +08: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 6ce5691764 Update cocos2dx_files 2017-06-30 18:02:06 +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 ea877894f7 Fix anysdk auto bindings include 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