Commit Graph

65 Commits

Author SHA1 Message Date
pandamicro 22109f8e8d Fix gc crash during app closing 2017-07-09 14:34:02 +08:00
pandamicro cdf2b39412 Remove js_get_type_from_native usage as many as possible 2017-06-30 18:02:08 +08:00
pandamicro 0768865461 Fix non ref finalize crash during app close 2017-06-30 18:02:05 +08:00
pandamicro 4e5886c8a1 Add build id for jsc files 2017-06-30 18:02:05 +08:00
pandamicro 089285b2d2 Fix crash issue caused by setting a pointer which is not proxy to private 2017-06-30 18:02:05 +08:00
pandamicro 959ac50c4d Secure basic type conversions 2017-06-30 18:02:04 +08:00
pandamicro 53f34c399c Improve EventCustom dispatching performance 2017-06-30 18:02:02 +08:00
pandamicro 127c09e807 Made jsobject creation API secured with mutablehandleobject 2017-06-30 18:02:02 +08:00
pandamicro 27536dad4c Fix critical issues in bindings code 2017-06-30 18:02:01 +08:00
pandamicro e735c0ef07 Refactor JSScheduleWrapper and remove JSCallbackWrapper 2017-06-30 18:02:01 +08:00
pandamicro ae1c0db348 Replace JSCallbackWrapper with JSFunctionWrapper 2017-06-30 18:02:01 +08:00
pandamicro c774cb9791 Upgrade to Spidermonkey v52. pass 9: Fix compilation warnings 2017-06-30 18:02:01 +08:00
pandamicro f72d66db24 Refactor JSFunctionWrapper & Use MutableHandleValue for conversion’s return value
Upgrade to Spidermonkey v52. pass 8
2017-06-30 18:01:58 +08:00
pandamicro b1e9d01da9 Upgrade to Spidermonkey v52. pass 7: Remove auto compartment 2017-06-30 18:01:56 +08:00
pandamicro 024451216f Upgrade to Spidermonkey v52. pass 5: Compilation passed on v52 2017-06-30 18:01:56 +08:00
pandamicro 52c393c354 Upgrade to Spidermonkey v52. pass 5: Remove js_native_proxy 2017-06-30 18:01:56 +08:00
pandamicro 40248c0c73 Upgrade to Spidermonkey v52. pass 4 2017-06-30 18:01:54 +08:00
pandamicro 27d681a1a8 Upgrade to Spidermonkey v52. pass 3: Compilation pass 2017-06-30 18:01:54 +08:00
pandamicro 9f321538cf Upgrade to Spidermonkey v52. pass 2 2017-06-30 18:01:53 +08:00
pandamicro 17c5e5d779 Upgrade to spider monkey 52, pass 1 2017-06-30 18:01:51 +08:00
pandamicro f3e354b850 Sync serious XMLHTTP leak fix 2017-05-22 14:09:06 +08:00
pandamicro eb55b59f14 Fix crash caused by some action create functions not referencing sub action 2017-04-24 12:05:36 +08:00
pandamicro 7df074e172 Reverse pure JS Action, reuse JSB Action 2017-04-22 14:57:16 +08:00
pandamicro 63ea21166c Remove some useless bindings 2017-03-23 18:20:34 +08:00
pandamicro 201a2ba4e4 Compilation succeed after remove Action in native 2017-03-23 18:15:47 +08:00
pandamicro b58e17eb18 Fix JSCallbackWrapper crash caused by released NullValue 2017-02-23 12:10:31 +08:00
pandamicro 353009ae79 Register cppOwner ptr to ensure viability in destructor of JS wrappers 2017-01-18 10:09:46 +08:00
pandamicro 5e710556bb Improve JSCallbackWrapper memory management (avoid crash) 2017-01-11 11:12:49 +08:00
pandamicro 62abb3a1d9 Fix issue with get_or_create_js_object function 2017-01-06 17:00:47 +08:00
pandamicro 3001b99909 Improve wrappers bindings 2017-01-06 17:00:11 +08:00
pandamicro f4e3341115 Sync js bindings code from cocos2d-x v3.14 2017-01-06 16:59:40 +08:00
pandamicro 2c69396f87 Fix rooted wrappers leak issue 2016-12-20 11:37:01 +08:00
pandamicro fd7dce6d30 Fix crash during Wrappers deallocation (possible to have leak) 2016-12-20 11:37:01 +08:00
pandamicro 076599d9c8 Separate FinalizeHook for ref objects and non ref objects 2016-12-20 11:37:01 +08:00
knoxHuang ae13b352ef fix isScheduled error for fireball/issues/4927 2016-12-19 13:46:12 +08:00
Wang Nan f529515f72 Merge pull request #406 from pandamicro/v1.3
Fix function wrapper using js object during its gc
2016-11-21 09:14:25 +08:00
pandamicro 8de8748595 Fix function wrapper using js object during its gc 2016-11-17 18:32:37 +08:00
pandamicro 721658116d Merge pull request #373 from pandamicro/v1.3
Manually bind EventDispatcher::addCustomEventListener to avoid memory issue
2016-11-02 18:18:02 +08:00
pandamicro ee8bb071c4 Manually bind EventDispatcher::addCustomEventListener to avoid memory issue 2016-11-02 18:14:52 +08:00
pandamicro 9990187a4c Merge pull request #372 from pandamicro/v1.3
Manual bind EventListenerCustom::create to avoid memory issue
2016-11-02 12:13:37 +08:00
pandamicro 028d3c9f3c Manual bind EventListenerCustom::create to avoid memory issue 2016-11-02 12:10:17 +08:00
pandamicro 44e8069ae1 Merge pull request #371 from DavidDeSimone/hh-help-fixv2
Fixing issue where JSScheduleTarget::dump will trigger a bad access
2016-11-02 11:42:15 +08:00
David DeSimone 473c5f1fae Fixing issue where JSScheduleTarget::dump will trigger a bad access due to NULL pointer access. 2016-11-01 16:52:52 -07:00
pandamicro 8d90e127a3 Manual bind EventListenerAcceleration::create to avoid memory issue 2016-11-01 21:38:27 +08:00
pandamicro 4b36047ec3 Fix issue: js_remove_object_reference can not remove non binding objects 2016-10-26 16:42:20 +08:00
pandamicro 1ad947925b Unify function name of Texture2D::releaseTexture 2016-10-24 02:49:18 +08:00
pandamicro 0ef4b39235 Fix compilation issue when COCOS_DEBUG = 2 2016-10-21 10:34:00 +08:00
pandamicro 9b9845e02c Improve ScheduleWrapper function call 2016-10-19 16:27:08 +08:00
pandamicro 6713fd2d11 Fix js-bindings project compilation issues 2016-08-15 19:08:58 +08:00
pandamicro f05b67e287 Upgrade cocos/scripting to v3.13 2016-08-09 18:17:42 +08:00