axmol/cocos
James Chen b2ecbca549 fix JSB Memory leaks and crashes (#18577)
* [game] Uses global compartment.

* fixed cocostudio bug.

* Fixes Memory leak for JSB.

* Memory leak in ActionsTest.js

* js_callfunc binding check whether jsThis is valid.

* Fixes potential crash in DownloadDelegator .

* CCLOG -> CCLOGINFO for garbage collect callback.

* jsb_c_proxy_s is a struct which contains a JS::Heap<> cpp object. Need to use `new`/`delete` to manage its memory.

* The functionality of JS controls C++ object's lifecycle isn't stable enough, please don't enable it now. Make an error if user enables it.

* Compilation error fixes.

* Removes unused JSAutoCompartment since we use JS_EnterCompartment/JS_LeaveCompartment now.
2018-01-10 14:39:45 +08:00
..
2d Fix actions with zero duration on NDK 16. (#18596) 2018-01-02 10:35:54 +08:00
3d Fix "Possible misuse of comma operator here" (#18350) 2017-10-12 23:00:04 -05:00
audio Fixes missing return value of onWavClose function. (#18544) 2017-12-12 17:50:57 +08:00
base Some fixes after using ndk r16 clang to build android projects (#18531) 2017-12-05 13:35:16 +08:00
deprecated Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
editor-support fix spine crash (#18582) 2018-01-10 14:34:24 +08:00
math Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
navmesh Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
network fixed #18055: [android] urlConnection.getResponseCode may trigger exception which needs to be handled. (#18056) 2017-07-13 09:53:54 +08:00
physics Calling PhysicsWorld::setDebugDrawMask(false) will no longer crash when DebugDrawMask was already set to false (#17875) 2017-06-05 10:56:52 +08:00
physics3d Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
platform Revert "fix keyback bug after opened a page (#18153)" (#18601) 2018-01-02 10:38:02 +08:00
renderer Android Emulator Blank Screen 0x501 and 0x502 Problem Bugfix Update (#18606) 2018-01-03 17:15:00 +08:00
scripting fix JSB Memory leaks and crashes (#18577) 2018-01-10 14:39:45 +08:00
storage don't have to set NDK_MODULE_PATH manually 2017-10-26 13:40:27 +08:00
ui 18572 PR amends & override warning fix (#18580) 2018-01-09 09:26:15 +08:00
vr Fixes cocos2d build for tvOS. (#17498) 2017-03-15 10:01:38 +08:00
Android.mk use prebuilt version of Box2D (#18422) 2017-10-31 14:31:23 +08:00
CMakeLists.txt update glfw to 3.2.1 (#18434) 2017-11-02 15:25:12 +08:00
cc_dummy.c Squashed commit of the following: 2016-03-02 16:51:54 -08:00
cocos2d.cpp update version (#18367) 2017-10-12 22:58:43 -05:00
cocos2d.h update version (#18367) 2017-10-12 22:58:43 -05:00