Commit Graph

26 Commits

Author SHA1 Message Date
James Chen 036a0a21da Moves retain/release code from se::ScriptEngine to ScriptingCore. 2017-11-02 11:44:48 +08:00
James Chen 6a9500df10 LOGD -> SE_LOGD, LOGE -> SE_LOGE to avoid conflict with user code. 2017-11-02 11:35:53 +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 76981db2ac se::Object::setProperty should return boolean. 2017-10-09 14:59:05 +08:00
James Chen 8230176ccb Fixes crash while click restart button in network test. (#829)
* Sync PR(https://github.com/cocos2d/cocos2d-x/pull/17921): remove "system" usage which is removed from iOS11.

* Fixes crash while click `restart` button in network test.

* printf -> LOGD

* Memory leak fix in XMLHttpRequest binding code.
2017-09-20 01:48:15 -05:00
James Chen 9dafab9c49 macOS and iOS use JavaScriptCore, windows and android use V8. 2017-09-18 16:11:50 +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 df01303041 attachChild -> attachObject, detachChild -> detachObject, isSame -> strictEquals 2017-08-31 10:33:17 +08:00
James Chen 17a98a41f1 more log in ScriptEngine. 2017-08-29 17:37:32 +08:00
James Chen 2fab54c612 fix ios crash after closing app in task manager. 2017-08-18 14:34:55 +08:00
James Chen 73e45e92e4 Adds MappingUtils file, box2d works again. 2017-08-18 14:34:55 +08:00
James Chen e13c1ffed3 fix warning generated by vs2015. 2017-08-11 09:47:49 +08:00
James Chen 6b28dddb92 cleanup. 2017-08-08 16:01:37 +08:00
James Chen befa949697 private data fix. 2017-08-02 17:18:12 +08:00
James Chen 28469cc9f7 update spidermonkey. 2017-08-02 16:44:16 +08:00
James Chen 10710cc407 switchToRoot -> root, switchToUnroot -> unroot. 2017-07-31 10:39:32 +08:00
James Chen 64a6d89b19 cleanup 2017-07-25 10:14:32 +08:00
James Chen e5edd5d6cf cleanup. 2017-07-20 17:50:40 +08:00
James Chen b3db0a842a add modules register 2017-07-12 11:15:46 +08:00
James Chen 733d12c849 remove unneeded code. 2017-07-03 14:34:52 +08:00
James Chen af6aa8f45e ios jsc, sm works. 2017-06-26 10:41:26 +08:00
James Chen 05a893a08b printf -> LOGD 2017-06-23 13:44:18 +08:00
James Chen 259bbbd6b2 updates. 2017-06-16 16:32:24 +08:00
James Chen 91359f1f75 first commit 2017-06-15 17:24:30 +08:00