James Chen
55ff96df3a
closed #3463 : Potential hash collision by using typeid(T).hash_code() in JSB and LuaBinding.
...
Instead of using std::unordered_map<long, T>(long is the hash_code generated by typeid(T).hash_code()),
We needs to use std::unordered_map<std::string, T> to avoid collision since unordered_map internally processes collisions.
2013-12-20 17:13:09 +08:00
James Chen
755d29b0e1
Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into more_container_bind
2013-12-19 20:17:54 +08:00
James Chen
f73e939b57
Supports to bind more container: std::vector<std::string>, std::vector<int>, cocos2d::Map<std::string, T>.
2013-12-19 20:17:44 +08:00
James Chen
6aa8b779f0
Updates submodule reference of Bindings-generator, it supports to bind std::vector<std::string> ,std::vector<int>, cocos2d::Map<std::string, T> now.
2013-12-19 20:16:18 +08:00
boyu0
ef54ed3c15
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into HEAD
...
Conflicts:
cocos/2d/CCLabel.cpp
cocos/2d/CCLabel.h
cocos/2d/CCLabelBMFont.cpp
cocos/2d/CCLabelBMFont.h
cocos/2d/CCLayer.cpp
cocos/2d/CCLayer.h
cocos/2d/CCNode.cpp
extensions/GUI/CCControlExtension/CCControl.cpp
extensions/GUI/CCControlExtension/CCControlButton.cpp
extensions/GUI/CCControlExtension/CCScale9Sprite.cpp
tools/tojs/cocos2dx.ini
2013-12-19 17:05:59 +08:00
James Chen
c14754b720
Updates submodule of bindings-generator.
2013-12-19 11:50:45 +08:00
samuele3hu
55830c3023
Add support for unsigned short
2013-12-18 13:47:59 +08:00
James Chen
8d086f9d02
[scripting] Ignores Director::getRenderer for bindings.
2013-12-18 10:15:42 +08:00
James Chen
37f408f2b9
Merge pull request #4506 from Dhilan007/ushort_jsb
...
add API for transform unsigned short
2013-12-17 02:20:56 -08:00
Dhilan007
0414926b52
add API for transform unsigned short
2013-12-17 18:17:04 +08:00
James Chen
8ab4537f73
issue #2171 : Binds New renderer classes, ignores NewTextureAtlas.
2013-12-17 15:41:26 +08:00
James Chen
a3cf2d8f7f
issue #2171 : Ignores Director::getFrustum.
2013-12-17 15:02:08 +08:00
James Chen
ce96725f83
Removes FileUtils::getFileData binding.
2013-12-16 14:14:12 +08:00
James Chen
464054d251
Updates Bindings-generator.
2013-12-16 13:01:20 +08:00
James Chen
e32979592a
Skips Texture2D::getPixelFormatInfoMap
2013-12-16 13:01:20 +08:00
boyu0
23af9dfd8d
issue #3162 : reset submodule
2013-12-13 18:15:59 +08:00
boyu0
b5bf9fb448
issue #3162 : change js/cocos2dx.ini
2013-12-13 14:44:44 +08:00
boyu0
c8c0e2270e
issue #3162 : deprecated RGBAProtocol, NodeRGBA and LayerRGBA
2013-12-13 10:10:49 +08:00
boyu0
d7106d49be
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into bug3162_opacity_incorrect
2013-12-12 17:04:21 +08:00
samuele3hu
cc2323b636
issue #2790:Open travis support
2013-12-10 18:26:10 +08:00
boyu0
a71394b122
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into bug3162_opacity_incorrect
2013-12-10 18:03:41 +08:00
samuele3hu
89c079009b
issue #2790:Resolve some errors of basical conversion functions
2013-12-10 18:01:40 +08:00
samuele3hu
883ecaa03f
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developConversion
2013-12-10 16:07:58 +08:00
samuele3hu
1ed8d108f7
issue #2790:Update binding-generator
2013-12-10 15:21:21 +08:00
minggo
55270cecb4
Merge pull request #4457 from dumganhar/iss2790-deprecate-ccarray
...
issue #2790 : Don't use CCDictionary, CCArray for CCBReader, use std::unordered_map, Vector<T>, Map<K, V> instead.
2013-12-09 23:15:43 -08:00
samuele3
c2e7299d8f
Issue #2790:Add more conversion functions to support templates containers
2013-12-10 11:21:30 +08:00
James Chen
ad5daeb962
issue #2790 : Don’t bind CCBAnimationManager::addNode.
2013-12-09 17:55:56 +08:00
James Chen
45cb79c5f4
issue #2790 : Updates bindings-generator. Fixes issue at https://github.com/cocos2d/bindings-generator/pull/53 .Matches typedef name firstly in conversion.yaml.
2013-12-08 22:10:14 +08:00
James Chen
c916377970
issue #2790 : Comments building template for android.
2013-12-06 17:23:31 +08:00
James Chen
7aff958063
issue #2790 : A typo fix.
2013-12-06 17:09:36 +08:00
James Chen
ed7c3f717a
issue #2790 : Travis-ci builds JSB projects again.
2013-12-06 16:49:17 +08:00
James Chen
b5978eeee6
issue #2790 : Bindings-generator supports binding Vector<T> and some bug fixes.
2013-12-06 16:46:19 +08:00
James Chen
68e376db2f
issue #2790 : Disables build lua projects for linux
2013-12-05 11:51:09 +08:00
James Chen
856a82d4b8
issue #2790 : Don’t build script bindings projects for travis.
2013-12-05 11:03:22 +08:00
samuele3
c1a226686f
issue #3309:Modify some deprecated cpp files and lua files
2013-12-04 15:15:55 +08:00
samuele3
a8c1bba464
issue #3309:Add some deprecated functions and classes to support master cocostudio lua bindings
2013-12-03 15:40:59 +08:00
James Chen
216f8743b0
closed #3288 : Updates bindings-generator.
2013-11-27 14:04:53 +08:00
minggo
6c7cb0bf23
Merge pull request #4359 from Dhilan007/androdi_build
...
[ci skip]add proceed java compilation and generate apk.
2013-11-26 01:47:14 -08:00
James Chen
03005173b1
issue #3258 : Updates bindings-generator.
2013-11-26 15:45:09 +08:00
James Chen
6f67447b5e
issue #3258 : Updates cocos2dx.ini. Adding some classes to ‘classes_need_extend’ section.
2013-11-26 15:43:39 +08:00
Dhilan007
881d43fe3b
add proceed java compilation and generate apk.
2013-11-26 11:58:01 +08:00
Dhilan007
c09f50e3f8
issue #3261:add miss binding
2013-11-24 22:47:29 +08:00
James Chen
43e8a4912d
Update tools/tolua/cocos2dx.ini, ignore onTouchXXX, onKeyXXX, onAccXXX callback functions to be bound to LUA.
2013-11-20 12:09:27 +08:00
Dhilan007
ce0a6d5b57
fix miss bind setGrid\getGrid for JS.
2013-11-19 10:33:11 +08:00
minggo
593c0f8946
Merge pull request #4304 from Dhilan007/di3223
...
[ci skip]issue #3223:bind gui and studio
2013-11-18 02:28:53 -08:00
minggo
c7e87b7f60
Merge pull request #4285 from dumganhar/iss3215-cpp-formatter
...
[ci skip]issue #3215 : Adding tools of best c++ practice for upgrading game codes from v2.x to v3.x
2013-11-18 02:25:38 -08:00
Dhilan007
6217641105
add miss bind
2013-11-18 18:00:42 +08:00
Dhilan007
8b14575d7e
bind gui and studio.
2013-11-18 16:54:52 +08:00
James Chen
102703703b
issue #3215 : Updating comments for this tool.
2013-11-16 23:09:45 +08:00
James Chen
fd72836e20
issue #3215 : Comments add_namespace type in “all” mode.
2013-11-16 23:02:33 +08:00