Commit Graph

2084 Commits

Author SHA1 Message Date
James Chen f232ee61ad Merge pull request #806 from dumganhar/jsb2.0
[jsb2.0] Sync audio module from cocos2d-x and removes unused SimpleAudioEngine relative files.
2017-09-07 21:08:19 -05:00
James Chen 0fbfc9a470 Updates xcode project configuration. 2017-09-08 10:06:23 +08:00
James Chen 6ee832bbc0 Removes unused SimpleAudioEngine relative files. 2017-09-08 10:03:09 +08:00
James Chen e98823839c Sync audio module from cocos2d-x. 2017-09-08 09:56:29 +08:00
James Chen 54a44f7ebc Merge pull request #805 from dumganhar/jsb2.0
Merge V1.6 branch
2017-09-07 20:45:21 -05:00
James Chen dd670b1b31 Merge branch 'develop' of git://github.com/cocos-creator/cocos2d-x-lite into jsb2.0 2017-09-08 09:42:53 +08:00
James Chen 9886ea0237 Merge pull request #803 from dumganhar/jsb2.0
[jsb2.0] SpiderMonkey debugger works. Adds ScriptEngine::enableDebugger, mainLoopUpdate interfaces.
2017-09-07 20:41:36 -05:00
James Chen 03a6d7ca8e Reverts. 2017-09-08 09:21:53 +08:00
James Chen 53e07c1da7 Merge branch 'v1.6' of git://github.com/cocos-creator/cocos2d-x-lite into jsb2.0 2017-09-07 18:32:24 +08:00
James Chen 5eba72627a [jsb2.0] SpiderMonkey debugger works. Adds ScriptEngine::enableDebugger, mainLoopUpdate interfaces. 2017-09-07 18:19:38 +08:00
pandamicro 8cac7050a4 Merge pull request #802 from pandamicro/v1.6
Remove inappropriate logs in debugger
2017-09-07 17:49:44 +08:00
pandamicro 087f1f8c8d Remove inappropriate logs in debugger 2017-09-07 17:48:48 +08:00
pandamicro 90f5692293 Merge pull request #800 from huangapple/develop
fixed chinese path bug
2017-09-07 14:14:57 +08:00
James Chen a3d3b27bcc Merge pull request #799 from dumganhar/jsb2.0
ExceptionCallback has specific parameter( location, message, stack ), script could also add listener for script exception
2017-09-06 05:05:07 -05:00
James Chen 4df2b69d2f For compatibility purpose, __errorHandler has 4 parameters, they are filePath, lineno, message, stack. 2017-09-06 16:08:16 +08:00
hej 198b5dfd50 fixed chinese path bug 2017-09-06 14:01:47 +08:00
James Chen ad13e5336b Adds global variable scriptEngineType. 2017-09-06 11:11:37 +08:00
Wang Nan ddec5d268f Merge pull request #798 from pandamicro/v1.6
Avoid useless function check in executeFunctionWithOwner and useless …
2017-09-06 10:58:53 +08:00
James Chen 4990aa3130 [V8, ChakraCore] Exception callback info contains location, message, stack. Location contains filePath, line number and column number. 2017-09-06 10:58:43 +08:00
James Chen 05a3f74842 [SM] Exception info contains location, message, stack. Location contains filePath, line number and column number. 2017-09-06 10:58:43 +08:00
James Chen 269f65fd85 [JSC] Exception info contains location, message, stack. Location contains filePath, line number and column number. 2017-09-06 10:58:43 +08:00
James Chen fd2977041e Reverts revert https://github.com/EsotericSoftware/spine-runtimes/commit/a4a97969e8916be7d6ba531707b662ebbad8da9b
Because I don't find a easier way to set all trackentry dispose callback in JSB.
2017-09-06 10:58:43 +08:00
James Chen d8c449b2dc [spine] Cherry-pick https://github.com/EsotericSoftware/spine-runtimes/commit/a4a97969e8916be7d6ba531707b662ebbad8da9b 2017-09-06 10:58:43 +08:00
James Chen 362caa9e91 [spine] Reverts AnimationState.c/.h 2017-09-06 10:58:43 +08:00
pandamicro 0b057318a4 Avoid useless function check in executeFunctionWithOwner and useless js parameter construction in websocket 2017-09-04 13:46:37 +08:00
pandamicro 14709ed7e2 Merge pull request #797 from pandamicro/v1.6
Fix JS_EncodeStringToUTF8 memory leak
2017-09-04 13:41:26 +08:00
pandamicro 38581826f2 Merge pull request #796 from dumganhar/jsb2.0
[JSB2.0] Adds setExceptionCallback for easily getting exception message and stack information
2017-09-02 00:45:39 +08:00
pandamicro 97b52f38cb Fix JS_EncodeStringToUTF8 memory leak 2017-09-01 18:07:14 +08:00
James Chen 8081cdc071 Adds setExceptionCallback for ChakraCore. 2017-09-01 16:19:15 +08:00
James Chen 510b27fab8 Adds setExceptionCallback for V8. 2017-09-01 16:10:55 +08:00
James Chen 2b112bd7a4 Adds ScriptEngine::setExceptionCallback for Spidermonkey, and fixes a memory leak after using JS_EncodeStringToUTF8. 2017-09-01 15:24:43 +08:00
James Chen cd77d4b567 Updates log format for jsc. 2017-09-01 15:23:43 +08:00
Wang Nan 83cd6f465b Merge pull request #795 from 2youyou2/v1.6
fixed android-studio debug error
2017-09-01 15:11:09 +08:00
James Chen 3af1a24682 Adds setExceptionCallback for JSC. 2017-09-01 15:10:48 +08:00
2youyouo2 672d00478f fixed android-studio debug error 2017-09-01 11:18:27 +08:00
pandamicro 39ce7a6bc4 Merge pull request #794 from dumganhar/jsb2.0
More renames: gc -> garbageCollect, isInGC -> isGarbageCollecting, _setInGC -> _setGarbageCollecting
2017-08-31 17:19:08 +08:00
James Chen 6c40f2783f More renames: gc -> garbageCollect, isInGC -> isGarbageCollecting, _setInGC -> _setGarbageCollecting 2017-08-31 15:52:58 +08:00
James Chen 501c2e6a5e Merge pull request #793 from CocosRobot/update_cocosfiles_1504164456
[AUTO][ci skip]: updating cocos2dx_files.json
2017-08-31 02:51:42 -05:00
CocosRobot 991824697e [AUTO][ci skip]: updating cocos2dx_files.json 2017-08-31 07:27:36 +00:00
pandamicro c767863d7c Merge pull request #791 from dumganhar/jsb2.0
executeScriptBuffer -> evalString, executeScriptFile -> runScript and adds isInCleanup API.
2017-08-31 15:22:41 +08:00
James Chen f2923331af Less friend class declaration in ScriptEngine, adds ScriptEngine::isInCleanup method for checking whether script engine is cleaning up. 2017-08-31 15:00:23 +08:00
James Chen f21fea4344 executeScriptBuffer -> evalString, executeScriptFile -> runScript. 2017-08-31 15:00:23 +08:00
pandamicro e0f914e990 Merge pull request #790 from dumganhar/jsb2.0
se::Ref -> se::RefCounter, addRef -> incRef, release -> decRef
2017-08-31 14:57:31 +08:00
James Chen 53250dad49 se::Ref -> se::RefCounter, addRef -> incRef, release -> decRef
This is for distinguishing from cocos2d::Ref.
2017-08-31 14:24:34 +08:00
James Chen 056ac35aac Removes unused ScriptEngineProtocol invocation in CCRef.cpp. 2017-08-31 14:24:34 +08:00
pandamicro 140094bb53 Merge pull request #788 from dumganhar/jsb2.0
attachChild -> attachObject, detachChild -> detachObject, isSame -> strictEquals
2017-08-31 10:52:20 +08:00
James Chen df01303041 attachChild -> attachObject, detachChild -> detachObject, isSame -> strictEquals 2017-08-31 10:33:17 +08:00
James Chen 496d025e20 Removes unused code in jsb_creator_manual.cpp. 2017-08-30 14:17:11 +08:00
James Chen 69152fa13d Merge pull request #785 from CocosRobot/update_cocosfiles_1504064144
[AUTO][ci skip]: updating cocos2dx_files.json
2017-08-30 01:05:30 -05:00
pandamicro 26a4d798a2 Merge pull request #787 from dumganhar/jsb2.0
Potential GC problem fix in CCDirector.cpp.
2017-08-30 14:03:53 +08:00