lunhao.guo
ae980c19d2
fix the link error and compile error in windows and android platform
2015-12-09 20:18:37 +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
XiaoFeng
b435f1df86
Fix wrong #endif statement
2015-12-07 10:44:52 +08:00
XiaoFeng
0328c31596
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_xf
2015-12-07 10:27:38 +08:00
Ricardo Quesada
d02f4afd4a
using new bindings templates
...
ignores createInstance() from ui
2015-12-05 22:26:54 -08:00
Ricardo Quesada
cd8631ef09
sfunction "create" uses new optimized code
...
...although this code should never be called
2015-12-04 18:42:31 -08:00
XiaoFeng
76bd37e109
Add missing export declaration.
2015-12-04 19:40:09 +08:00
Ricardo Quesada
e5d722b2a8
new bindings
2015-12-02 15:24:49 -08:00
yangxiao
45b25666ea
reset submodule
2015-12-02 13:28:24 +08:00
yangxiao
ebd5c1cca7
resolve conflict and fix checktexture bug
2015-12-02 11:26:05 +08:00
pandamicro
df62e92d7b
Correct bindings generator ref
2015-12-01 23:50:52 +08:00
yangxiao
1b3cb97b71
fix script binding
2015-12-01 23:05:47 +08:00
XiaoFeng
e5d57b4fa2
update binding-generator sub module & code
2015-12-01 22:30:36 +08:00
yangxiao
01e0803587
not export Sprite3DMaterial::setTexture
2015-12-01 20:27:31 +08:00
yangxiao
84068c5189
not export Mesh::getTexture and Mesh::setTexture
2015-12-01 18:05:03 +08:00
yangxiao
f298e49bf3
not export lua Mesh::getTexture and Mesh::setTexture
2015-12-01 17:39:00 +08:00
yangxiao
6fe361f06e
not export Mesh::getTexture
2015-12-01 15:13:51 +08:00
XiaoFeng
ea077c5141
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_combine_LuaJsSim
...
Conflicts:
cocos/scripting/js-bindings/manual/js_manual_conversions.h
2015-12-01 15:12:32 +08:00
XiaoFeng
167aa9b648
Update console sub-module, update project template.json to meet file position change
2015-12-01 15:00:45 +08:00
yangxiao
9b371a55bf
js not export Mesh::setTexture
2015-12-01 14:35:39 +08:00
pandamicro
08837955a7
Skip Useless MenuItemToggle::initWithCallback to fix windows compilation issue
2015-11-30 23:54:42 +08:00
pandamicro
43c68aa16b
Fix Chipmunk bindings issue
2015-11-27 22:38:16 +08:00
pandamicro
ae2b75c8be
Fix issues causing by temporary RootedObject passed as function parameters
2015-11-27 01:35:06 +08:00
XiaoFeng
5a2a343152
update code as comment
2015-11-26 17:38:32 +08:00
XiaoFeng
9811d6efcf
Combine studio change for LuaBinding, jsb and simulator
2015-11-25 21:52:44 +08:00
pandamicro
be2a3077c2
Remove useless manual bindings for addEventListener functions in UI
2015-11-25 14:15:45 +08:00
pandamicro
930405d52c
Remove useless manual bindings for MenuItems
2015-11-24 16:32:02 +08:00
XiaoFeng
32f21ca5be
Binding ResouceData structure to js to fix auto compile error
2015-11-19 14:31:39 +08:00
肖峰
3aeb5e0389
Fix when start simulator in CocoStudio to run a scene, can not read the correct config.json on MacOSX
2015-11-09 23:30:03 +08:00
XiaoFeng
c0c35c603e
Update version number & RELEASE_NOTES.md, prepare 3.9 release
2015-11-06 18:38:09 +08:00
pandamicro
01fdb60b7d
Merge pull request #14311 from natural-law/v3
...
[ci skip] Update the reference of submodule cocos2d-console.
2015-11-04 10:45:35 +08:00
zhangbin
47ea0dfb02
Update the reference of submodule cocos2d-console.
2015-11-04 10:43:30 +08:00
pandamicro
0dabb4cfb7
Merge pull request #14295 from xiaofeng11/v3_xf
...
Fix CodeIDE can not start js project with simulator
2015-11-03 17:37:01 +08:00
zhangbin
bfa50de768
Update the reference of submodule cocos2d-console.
2015-11-03 16:06:12 +08:00
hugo
0dd0233ba7
update sdkbox console
2015-11-03 13:06:09 +08:00
geron-cn
c6feb3d34d
update submodule cocos2d-console
2015-11-02 17:49:26 +08:00
XiaoFeng
218b5625bf
Fix can not start js project with simulator in CodeIDE
2015-11-02 17:36:47 +08:00
pandamicro
aa9f0d5bd5
Merge pull request #14049 from CodeAndWeb/v3-sprite-polygoninfo-from-plist
...
Extending SpriteFrameCache to read PolygonInfo from atlas plist file
2015-10-27 17:28:22 +08:00
pandamicro
a3c2904e7f
Fix cc.DrawNode.drawPoly
2015-10-27 16:46:25 +08:00
XiaoFeng
83a48ee501
Fix simulator run time only check screen direction flag, but won't check if size setting need swap
2015-10-19 19:43:10 +08:00
pandamicro
be45e0bc50
Merge pull request #14174 from noshbar/v3
...
CPPCheck fixes, correct deallocation, array size.
2015-10-19 10:05:01 +08:00
pandamicro
784dbc4c88
Merge pull request #14158 from cocos2d/revert-14144-v3
...
Revert "Remove screen direction check in simulator"
2015-10-18 22:49:09 +08:00
Dirk de la Hunt
88bcaad518
General fixes:
...
- changed some delete operations to be deletions of arrays where applicable
- changed some "free" operations to "delete" where memory was allocated with "new"
CCPUScriptCompiler.cpp:
- added checks to see if temp1 and temp2 are non-null before dereferencing them
FileServer.cpp:
- changed the size of startFlag to be 13, seeing as the strcpy into it copies a string, "RuntimeSend:",
is already 12 characters long, but strcpy() attempts to copy the NULL terminator too.
2015-10-16 21:43:09 +02:00
hugo
2bf7f8ae3f
update console
2015-10-16 16:10:08 +08:00
pandamicro
8915fc6cb9
Revert "Remove screen direction check in simulator to avoid render error"
2015-10-16 11:36:20 +08:00
zhangcheng
3edbf0f4a3
Fix#22934
...
Node, Skeleton needs to show at the middle of the simulator.
2015-10-15 19:35:06 +08:00
XiaoFeng
ca8977b6f8
Remove screen direction check in simulator to avoid render error
2015-10-15 10:11:26 +08:00
XiaoFeng
90b96be690
Fix when scene been set a very large size(eg. 2048x1536), the simulator windows will been move out of window
2015-10-13 13:01:37 +08:00
zhangbin
f25b62b4b5
Update the reference of submodule cocos2d-console.
2015-10-12 14:16:18 +08:00
Joachim Grill
9a0ea79b61
remove set/get/hasPolygonInfo methods from js / lua api; fixed C++11 issue
2015-09-30 15:20:53 +02:00