James Chen
bb85aeba13
Don't be so strict of checking whether it's in garbage collecting in releaseScriptObject. ( #988 )
2017-11-15 16:43:03 +08:00
James Chen
036a0a21da
Moves retain/release code from se::ScriptEngine to ScriptingCore.
2017-11-02 11:44:48 +08:00
James Chen
c625158e74
Moves cocos2d-x node:onEnter/onExit binding code from se::ScriptEngine to ScriptingCore.
2017-10-09 15:25:10 +08:00
James Chen
6c40f2783f
More renames: gc -> garbageCollect, isInGC -> isGarbageCollecting, _setInGC -> _setGarbageCollecting
2017-08-31 15:52:58 +08:00
James Chen
3d5b98b8a0
Refactor the order of class (Node, Label, Sprite) member for saving more memory.
...
More enum of char elements for saving more memory.
EventTouch and EventMouse are cached.
releaseScriptObject for scene should be placed at setNextScene.
Fixes protential crash while gc comes for JSC and ChakraCore.
Adds assertion in ScriptingCore::releaseScriptObject for not being invoked while gc.
Scheduler binding fix.
2017-08-28 14:03:33 +08:00
James Chen
2f38e872c1
Action binding bug fix.
2017-08-22 16:50:41 +08:00
James Chen
41eae72bd8
Adds global variable 'window' for jsc and cleanup.
2017-08-18 16:03:04 +08:00
James Chen
8d6404a7b4
Invokes ScriptEngine::destroyInstance in the destructor of ScriptingCore.
2017-07-21 17:22:26 +08:00
James Chen
b3db0a842a
add modules register
2017-07-12 11:15:46 +08:00
James Chen
91359f1f75
first commit
2017-06-15 17:24:30 +08:00
pandamicro
7df074e172
Reverse pure JS Action, reuse JSB Action
2017-04-22 14:57:16 +08:00
Wang Nan
42ca41c5f0
Merge pull request #589 from cocos-creator/v1.4
...
merge V1.4
2017-04-12 16:23:16 +08:00
pandamicro
7b982b5c51
Use incremental gc by default
2017-04-12 14:34:22 +08:00
Nan Wang
58ddc819a9
merge v1.4
2017-03-29 17:12:33 +08:00
pandamicro
201a2ba4e4
Compilation succeed after remove Action in native
2017-03-23 18:15:47 +08:00
pandamicro
242a2ece24
Use incremental GC
2017-03-15 17:11:21 +08:00
pandamicro
f52fa57459
Fix event on heap not removing js proxy issue
2017-03-01 22:32:18 +08:00
pandamicro
3792fd59dc
Add ;
2017-02-27 09:38:55 +08:00
pandamicro
f787cebfb9
Reuse js objects for jsb_get_or_create_weak_jsobject, reduce memory usage
2017-02-24 18:08:36 +08:00
pandamicro
1a09c1e408
Support exectureGlobalFunction
2017-02-24 17:58:40 +08:00
pandamicro
1096e4c2fe
Clear pool when restart
2017-02-23 12:09:31 +08:00
pandamicro
13c57ba54a
Add __ENABLE_GC_FOR_NATIVE_OBJECTS__
2017-01-22 18:59:38 +08:00
pandamicro
353009ae79
Register cppOwner ptr to ensure viability in destructor of JS wrappers
2017-01-18 10:09:46 +08:00
pandamicro
87f2c31be5
Auto compartment when retain / release script object
2017-01-16 18:32:04 +08:00
pandamicro
bc915ddc44
Add Downloader bindings
2017-01-16 13:57:10 +08:00
pandamicro
5e710556bb
Improve JSCallbackWrapper memory management (avoid crash)
2017-01-11 11:12:49 +08:00
pandamicro
f4e3341115
Sync js bindings code from cocos2d-x v3.14
2017-01-06 16:59:40 +08:00
pandamicro
fac2390f5f
Increase default JS heap to 32 mb
2016-12-17 17:27:19 +08:00
pandamicro
178fbe03cb
Separate FinalizeHook for ref objects and non ref objects
2016-12-17 17:19:10 +08:00
pandamicro
8de8748595
Fix function wrapper using js object during its gc
2016-11-17 18:32:37 +08:00
pandamicro
1ad947925b
Unify function name of Texture2D::releaseTexture
2016-10-24 02:49:18 +08:00
pandamicro
eedacaa57b
Fix ScriptingCore::evalString
2016-10-20 11:35:14 +08:00
zhangbin
c981f0e488
Improve the implementation of dragonbones.
2016-09-22 17:37:35 +08:00
pandamicro
9bf561baee
Upgrade to v3.13 release
2016-08-26 14:30:32 +08:00
pandamicro
ba33766602
Upgrade scripting/js-bindings/script to v3.13
2016-08-25 17:25:51 +08:00
pandamicro
f05b67e287
Upgrade cocos/scripting to v3.13
2016-08-09 18:17:42 +08:00
minggo
93d895a526
Merge pull request #228 from minggo/sync-15705
...
lock mutext to get element from g_queue
2016-07-18 18:05:01 +08:00
minggo
446e5f26b5
lock mutext to get element from g_queue
2016-07-18 18:04:35 +08:00
minggo
f922c9a798
avoid accessing invalid memory
2016-07-18 17:02:32 +08:00
2youyouo2
10111b0cd4
fixed errorHandler
2016-07-06 14:21:49 +08:00
knoxHuang
94bec4a581
fix ScriptingCore code error
2016-06-30 13:06:59 +08:00
knoxHuang
06bf021143
merge code for #/fireball/issues/2787
2016-06-28 14:22:22 +08:00
Wenhai Lin
033cd4649f
IPV6 compatibility
2016-05-19 01:46:01 +08:00
Wenhai Lin
e571338580
Disable cc.log in release mode.(Redefine it in CocosRuntime)
2016-05-18 17:43:47 +08:00
Wenhai Lin
b7f8bb7ab4
Enable cc.log in release mode.
2016-05-17 17:59:58 +08:00
pandamicro
9ce7955434
Some small fixes
2016-05-17 17:33:11 +08:00
Wenhai Lin
d4481bfd5a
Refine ( #48 )
2016-04-28 11:58:34 +08:00
Wenhai Lin
83fc6fd1a8
Bug fix:
...
1.Fixed crash in win for rich text
2.Fixed crash when custom SSL certificate is set on iOS
3.Fixed SocketIO crash on reconnect
4.Fixed ActionManager memory leak
5.Fixed crash in MenuItem::activate
6.Fixed crash on exit game
7.Fixed crash in TableView::updateCellAtIndex
8.Fixed crash in RichText on window
2016-04-21 15:19:47 +08:00
Wenhai Lin
822966e820
Merge branch 'develop' of github.com:cocos-creator/cocos2d-x-lite into md
2016-04-19 10:05:02 +08:00
Wenhai Lin
2c3bfd1cef
Fixed memory leak
2016-04-18 16:16:17 +08:00