Commit Graph

2423 Commits

Author SHA1 Message Date
James Chen fdd46f2718 Auto binds RenderTexture::saveToFile and fix js memory leak while saveToFile.
The callback _saveFileCallback has to be set to nullptr to release se::Value the std::function captures.
2017-10-26 12:44:06 +08:00
James Chen 873cb81a27 Adds missing file CAAgentWrapper.java (#933) 2017-10-26 10:05:08 +08:00
yinkaile 03b65b3375 optimize camera detection (#932) 2017-10-26 10:02:19 +08:00
James Chen e05915e947 Merge pull request #928 from dumganhar/v1.7
Fixes anysdk test code crash and iOS 8,9 crash issue
2017-10-25 20:02:19 +08:00
James Chen f69d1a98c9 isSupportIsArrayTestAPI -> isSupportArrayTestAPI, cache the results of isSupportXXXAPI. 2017-10-25 19:58:14 +08:00
James Chen 7e8d222087 reverts console.log binding. 2017-10-25 19:57:10 +08:00
James Chen 3d36888b97 Merge pull request #931 from CocosRobot/update_js_bindings_1508928576
[ci skip][AUTO]: updating jsbinding automatically
2017-10-25 18:51:50 +08:00
CocosRobot 5dfb7e6c36 [ci skip][AUTO]: updating jsbinding automatically 2017-10-25 10:50:51 +00:00
James Chen 88671239dd Update .travis.yml 2017-10-25 18:45:49 +08:00
James Chen 9cf5b83811 Merge pull request #930 from knoxHuang/v1.7
restore getName for fireball/issues/6505
2017-10-25 18:27:25 +08:00
knoxHuang a63e7402bc restore getName for fireball/issues/6505 2017-10-25 18:22:15 +08:00
James Chen a226766979 Fixes console.log on iOS 8 ~ 9. 2017-10-25 17:34:52 +08:00
James Chen 0af8d82b50 Corrects missuse of HandleObject in jsc/Class.cpp. 2017-10-25 16:31:27 +08:00
James Chen e1e3200366 Uses Higher performance of checking object instance of which class. 2017-10-25 16:30:52 +08:00
James Chen f4abdcb69a Don't use HandleObject for Object::createObjectWithClass 2017-10-25 16:28:48 +08:00
James Chen 843b5c9712 jswrapper works for iOS 8.0 . 2017-10-25 15:54:57 +08:00
James Chen f3f00d5b78 Registers correct function name for payForProduct. 2017-10-25 13:58:50 +08:00
James Chen 23de57afea Adds assertion in HandleObject for using native binding object in HandleObject. 2017-10-25 13:58:10 +08:00
James Chen 51d95b5732 Fixes anysdk test code crash. 2017-10-24 22:06:35 +08:00
James Chen 27a73facee Merge pull request #927 from dumganhar/jsb2.0
Updates API comments and adds license info for jswrapper
2017-10-24 16:24:13 +08:00
James Chen 53e212835b minior fix for sm/Object.cpp 2017-10-24 16:02:47 +08:00
James Chen f4fb779391 minior fix for sm/Object.cpp 2017-10-24 16:01:57 +08:00
James Chen df2c482314 Adds license info for .h/.cpp files in jswrapper. 2017-10-24 15:56:37 +08:00
James Chen f76c8f464d Updates API comments for spidermonkey and chakracore. 2017-10-24 15:56:37 +08:00
James Chen ebbf8d8567 Removes unused line 2017-10-24 15:56:37 +08:00
James Chen 2d4b0bfd9b Updates API comments for v8. 2017-10-24 15:56:37 +08:00
Jare Guo e64ab6f66f Merge pull request #926 from cocos-creator/develop
Update 1.7
2017-10-24 02:27:37 -05:00
Jare Guo 077513166b Merge pull request #925 from CocosRobot/update_cocosfiles_1508828347
[AUTO][ci skip]: updating cocos2dx_files.json
2017-10-24 02:27:07 -05:00
CocosRobot bbd9bc666b [AUTO][ci skip]: updating cocos2dx_files.json 2017-10-24 06:59:08 +00:00
James Chen 8c35991218 Merge pull request #924 from dumganhar/jsb2.0
JSC API for TypedArray and ArrayBuffer is supported from macOS 10.12, iOS 10. Try to hack it and make it work on lower version.
2017-10-24 14:53:28 +08:00
James Chen 4869077bcc isArrayBuffer and isTypedArray hack. 2017-10-24 14:44:40 +08:00
James Chen 3a8940883f jsb2.0 docs update. 2017-10-24 11:43:51 +08:00
James Chen 1d7ce13590 JSC API for TypedArray and ArrayBuffer is supported from macOS 10.12, iOS 10. Try to hack it and make it work on lower version. 2017-10-24 11:43:33 +08:00
James Chen ea08d2f9bc Safe check of _stencil variable in CCClippingNode.cpp. 2017-10-24 11:03:27 +08:00
James Chen 2562fa5ce5 Merge pull request #923 from dumganhar/develop
[iOS, macOS] Should fflush log output immediately for LOGD, LOGE in jswrapper.
2017-10-24 10:21:43 +08:00
James Chen 3bdc85413c [iOS, macOS] Should fflush log output immediately for LOGD, LOGE in jswrapper. 2017-10-24 10:19:39 +08:00
James Chen 19d9d90608 Merge pull request #922 from dumganhar/jsb2.0
Fixes passing wrong message in console.log to browser's console.
2017-10-24 10:06:58 +08:00
James Chen 1173b2931b Pass wrong message in console.log to browser's console. 2017-10-24 10:05:24 +08:00
James Chen 1415feda6c Merge pull request #921 from CocosRobot/update_js_bindings_1508742864
[ci skip][AUTO]: updating jsbinding automatically
2017-10-23 15:18:50 +08:00
CocosRobot e0e7867719 [ci skip][AUTO]: updating jsbinding automatically 2017-10-23 07:16:38 +00:00
James Chen 6c83e8a298 Merge pull request #920 from dumganhar/jsb2.0
Fixes crash while using PolygonCollider to make mask.
2017-10-23 15:10:46 +08:00
James Chen 3bc6e34825 Fixes crash while using PolygonCollider to make mask.
fixed https://github.com/cocos-creator/fireball/issues/6502
2017-10-23 15:08:46 +08:00
Wang Nan 9f50382530 Merge pull request #919 from 2youyou2/develop
fixed android binary template
2017-10-23 00:50:40 -05:00
yinkaile df09438eab Merge branch 'develop' of github.com:cocos-creator/cocos2d-x-lite into develop 2017-10-23 11:47:01 +08:00
yinkaile c141be5a7c fixed android binary template 2017-10-23 11:46:28 +08:00
James Chen fd9b235619 Merge pull request #918 from dumganhar/fix/websocket_finalize
Fixes assertion while websocket instance is garbage collected.
2017-10-21 19:49:30 +08:00
James Chen ccacdafb23 Fixes assertion while websocket instance is garbage collected. 2017-10-21 19:47:15 +08:00
James Chen 32a0fd85c7 Merge pull request #917 from dumganhar/jsb2.0
Spine conversion should use pointer instead of reference since it probably returns nullptr.
2017-10-20 10:03:58 +08:00
James Chen 8ae6d54df3 Spine conversion should use pointer instead of reference since it probably returns nullptr. 2017-10-20 10:01:04 +08:00
James Chen b7ac034385 Merge pull request #916 from CocosRobot/update_cocosfiles_1508409911
[AUTO][ci skip]: updating cocos2dx_files.json
2017-10-19 20:15:24 +08:00