xpol
|
1e70fb5eb5
|
Remove include of cocos2d.h (#15435)
|
2016-04-18 15:09:21 +08:00 |
Xpol Wan
|
90456d29ba
|
Fixes 1605 include path in 541 files
using the tools/coding-style/include-linter.py with -f options.
|
2016-03-20 21:53:44 +08:00 |
dongtao.han
|
34b1c1bc18
|
exported js_get_type_from_native for cocos2d::Node type.
|
2016-02-25 09:47:19 +08:00 |
pandamicro
|
554523a201
|
Use JS::Heap instead of Mozilla::maybe to improve stability
|
2016-01-28 01:03:13 +08:00 |
pandamicro
|
d6cedb88ec
|
Remove JS::Persistent and move js object reference into JS scope
|
2016-01-24 19:47:26 +08:00 |
pandamicro
|
e1bc6640f4
|
Implement full GC relied memory model
|
2015-12-21 00:14:51 +08:00 |
pandamicro
|
022bcc24f1
|
Merge branch 'v3.10' of github.com:cocos2d/cocos2d-x into v3
Conflicts:
cocos/scripting/js-bindings/manual/chipmunk/js_bindings_chipmunk_manual.cpp
cocos/scripting/js-bindings/manual/component/CCComponentJS.cpp
cocos/scripting/js-bindings/manual/js_bindings_opengl.cpp
|
2015-12-20 22:56:33 +08:00 |
Wenhai Lin
|
66b0a0e9b1
|
Adds `std::nothrow` to the `new` statements
|
2015-12-16 17:06:56 +08:00 |
Ricardo Quesada
|
43a573f4fd
|
ccvector_to / ccmap_to converted to new API
and more fixes
|
2015-12-15 17:37:48 -08:00 |
Ricardo Quesada
|
c5058aa2f9
|
more conversions
|
2015-12-11 17:18:20 -08:00 |
Ricardo Quesada
|
8b2dfb1a4b
|
Mooooores fixes
but GC memory model doesn't work yet... somewhere someone is still
retaining a reference that prevents the whole thing from
releasing
|
2015-12-10 22:15:44 -08:00 |
Ricardo Quesada
|
96ee343884
|
fixes for windows
|
2015-12-08 20:07:13 -08:00 |
Ricardo Quesada
|
e675657cae
|
improved docstrings
|
2015-12-07 19:14:10 -08:00 |
Ricardo Quesada
|
13dc967b03
|
js_get_or_create_jsobject() and other stuff
- getDescendatns() converted
- singletons converted
- new helper template-specialized js_get_or_create_jsobject()
Squashed commit of the following:
commit 3f21e65bca5f7e5e5c4bf304f2daed0eff26f6aa
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Dec 7 19:04:24 2015 -0800
logging added (and commented)
will be useful in the future
commit f995295b385a515c1f82136688610a90eb379855
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Dec 7 19:00:09 2015 -0800
new js_get_or_create_jsobject<T>
Specializes Template on cocos2d::Ref.
When Ref, it calls the `jsb_ref` functions
commit 240b80e4080757ebb47db0d02a1fe1f875237d24
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Dec 7 13:31:52 2015 -0800
singletons converted
commit 667d94bf90267c103b620630bacfffa7767b42dd
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Dec 7 12:20:07 2015 -0800
getDescendants() converted
|
2015-12-07 19:05:23 -08:00 |
pandamicro
|
ae2b75c8be
|
Fix issues causing by temporary RootedObject passed as function parameters
|
2015-11-27 01:35:06 +08:00 |
pandamicro
|
69b2b5720b
|
Use JS::PersistentRooted instead of JS::Heap to prevent delegates and wrappers internal js object from GC
More elegant and secured way, potential crashes exists in previous implementation
|
2015-11-25 14:32:19 +08:00 |
pandamicro
|
68d75a519a
|
Use generational gc friendly API in JSTouchDelegate
|
2015-10-28 11:55:28 +08:00 |
pandamicro
|
530321fe70
|
#14124 Improved JSCallbackWrapper with generational GC and fix the issue
|
2015-10-22 17:00:57 +08:00 |
pandamicro
|
490d5a3747
|
Remove cleanup from auto bindings add made it support override in JS
|
2015-07-16 14:09:26 +08:00 |
pandamicro
|
1f48beee1e
|
Reorganize code
|
2015-07-03 12:55:55 +08:00 |
zhangbin
|
b4f2d94109
|
Update js bindings & js tests.
|
2015-05-05 10:50:19 +08:00 |