Commit Graph

4804 Commits

Author SHA1 Message Date
James Chen 9f50c5f127 Fixes performance issus in jsb.registerNativeRef and jsb.unregisterNativeRef 2017-10-26 21:58:37 +08:00
Jare Guo c6f5c4b866 also download console binary in gulp init 2017-10-26 20:49:00 +08:00
CocosRobot d55cecd4af [AUTO][ci skip]: updating cocos2dx_files.json 2017-10-26 09:27:37 +00:00
James Chen e5bd546b00 Fixes binary template compilation error on iOS and Mac. 2017-10-26 17:20:44 +08:00
James Chen ea24d512b0 Update config.json 2017-10-26 16:37:19 +08:00
James Chen 118c3783b6 Calls parent's cleanup. 2017-10-26 13:40:26 +08:00
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
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
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 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
CocosRobot bbd9bc666b [AUTO][ci skip]: updating cocos2dx_files.json 2017-10-24 06:59:08 +00: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 3bdc85413c [iOS, macOS] Should fflush log output immediately for LOGD, LOGE in jswrapper. 2017-10-24 10:19:39 +08:00
James Chen 1173b2931b Pass wrong message in console.log to browser's console. 2017-10-24 10:05:24 +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
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 ccacdafb23 Fixes assertion while websocket instance is garbage collected. 2017-10-21 19:47:15 +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
CocosRobot 2ff8667734 [AUTO][ci skip]: updating cocos2dx_files.json 2017-10-19 10:45:11 +00:00
James Chen 0ef60bfeb7 Updates cocos analytics lib for iOS. 2017-10-19 18:37:55 +08:00
CocosRobot 7a42a8a3c0 [AUTO][ci skip]: updating cocos2dx_files.json 2017-10-19 10:02:42 +00:00
James Chen e42ed18678 Merge branch 'develop' of git://github.com/cocos-creator/cocos2d-x-lite into jsb2.0
# Conflicts:
#	cocos/scripting/js-bindings/proj.ios_mac/cocos2d_js_bindings.xcodeproj/project.pbxproj
2017-10-19 17:49:57 +08:00
James Chen bd4a56370f Removes unused files from projects, includes spidermonkey libraries. 2017-10-19 17:45:41 +08:00
James Chen 4c8e57762b Adds jsb bindings of Cocos analytics for iOS and adds missing libcocosanalytics.jar. 2017-10-19 17:39:24 +08:00
James Chen 1962051dc9 Refactors JavaScriptObjcBridge, support more raw type like bool, int, long, float, double. 2017-10-19 16:17:51 +08:00