Commit Graph

150 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 99206af737 Remove useless module and preprocess macros 2017-07-04 16:35:17 +08:00
pandamicro 211c50b6f5 Fix event dispatching issue (old value stay in event obj) 2017-06-30 18:02:04 +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
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
2youyouo2 28da01c80b support camera culling 2017-06-09 18:33:40 +08:00
colin 7ea050a7ce Improve insertNode performance 2017-05-22 14:12:54 +08:00
James Chen a4e60ad6bb fix pauseAllEventListenersForTarget couldn't work while dispatching touch event. 2017-05-19 11:10:25 +08:00
2youyouo2 61c76e0d8b support vs 2017 2017-05-17 18:02:57 +08:00
zilongshanren f4e61963da make win32 editbox inherit from UIEditBoxImpl-common 2017-05-05 02:12:28 -07:00
zilongshanren fe89204f6b fix memory leaks of bmfont 2017-05-04 15:40:52 +08:00
James Chen 1f256946f8 Updates win32 project configuration. 2017-04-24 11:57:08 +08:00
pandamicro 7df074e172 Reverse pure JS Action, reuse JSB Action 2017-04-22 14:57:16 +08:00
2youyouo2 58ff7ea4b9 Merge branch 'physics' of github.com:2youyouo2/cocos2d-x-lite into physics 2017-04-01 17:34:01 +08:00
2youyou2 bc1e86300d update windows physics project 2017-04-01 17:26:06 +08:00
Wang Nan 6c66535cb1 Merge pull request #580 from 2youyou2/camera
Camera
2017-03-29 18:20:33 +08:00
2youyou2 4944a9acdd add CameraNode to vs project 2017-03-24 15:37:14 +08:00
2youyouo2 04910aa3c4 add CameraNode 2017-03-24 11:55:32 +08:00
pandamicro 201a2ba4e4 Compilation succeed after remove Action in native 2017-03-23 18:15:47 +08:00
zilongshanren 4bff1b2c24 fix bmfont cache 2017-03-15 23:25:50 +08:00
2youyou2 fc7de34ab0 fixed windows physics compile error 2017-03-14 16:29:40 +08:00
2youyouo2 7cc35f458a Merge branch 'v1.4' of github.com:cocos-creator/cocos2d-x-lite into physics 2017-03-08 16:49:58 +08:00
James Chen 18537b6a8a Updates project configuration for win32 and assert logic fix for HttpClient. 2017-02-16 11:13:31 +08:00
zilongshanren f422740e91 fix label ttf resize_height line wrap 2017-02-10 17:59:04 +08:00
zilongshanren 60f8d20c82 add opacity support to drawnode 2017-01-23 16:59:45 +08:00
zilongshanren b4092b7dea fix bmfont use same texture issue 2017-01-19 11:14:33 +08:00
pandamicro e6ae546acd Fix Sequence and Spawn referencing sub action issues 2017-01-18 10:09:45 +08:00
子龙山人 58ab827fe1 Merge pull request #497 from zilongshanren/fix-label-outline-toggle
make code more robost
2017-01-13 14:24:46 +08:00
zilongshanren 0a3ee883f9 make code more robost 2017-01-13 14:24:02 +08:00
pandamicro 466826b40b Merge pull request #493 from zilongshanren/fix-label-outline-toggle
fix label outline toggle
2017-01-13 14:15:05 +08:00
zilongshanren bc364fb3bb fix label outline toggle 2017-01-13 14:12:32 +08:00
pandamicro 3d02d7e5a6 Fix action and custom event listener memory management issue 2017-01-13 10:32:15 +08:00
pandamicro 766082134f Reference JS actions by C++ refs 2017-01-11 11:10:42 +08:00
zilongshanren d76dae6409 add label outline effect to mac 2016-12-30 18:08:13 +08:00
zilongshanren c8a6529bb6 only substract kerning when needed 2016-12-28 14:06:41 +08:00
zilongshanren cdf356e98e fix bmfont trim rendering edge cases 2016-12-23 18:09:11 +08:00
zilongshanren 382de63d07 bmfont spriteframe respect trim 2016-12-22 09:49:41 +08:00
zilongshanren 34a36fcd4a retain fnt spriteframe 2016-12-21 17:28:57 +08:00
zilongshanren 837b625204 rename function args 2016-12-21 17:14:14 +08:00
zilongshanren 83d61dcbf7 add bitmap font batch rendering 2016-12-21 16:51:04 +08:00
zilongshanren 89d5f99d46 fix richtext custom font issue 2016-12-12 17:07:39 +08:00
knoxHuang 4226ad9416 should check validation of _stencil 2016-11-28 15:57:28 +08:00
Wang Nan 2eed6d93c0 Merge pull request #412 from zilongshanren/improve-jsb-label-content-size
fix label size in EditBox
2016-11-25 14:49:02 +08:00
zilongshanren dde96c63df fix label size 2016-11-25 14:33:26 +08:00
knoxHuang 346d6505f5 reset stencil program when alpha threshold is set to 1 2016-11-24 17:41:52 +08:00
zilongshanren 238de22b34 make jsb label content size compatiable with web 2016-11-23 14:49:50 +08:00
zilongshanren c4bb1764ca fix bmfont setColor asset error 2016-11-16 11:37:28 +08:00