Commit Graph

15820 Commits

Author SHA1 Message Date
minggo 5fd35c3bab Merge https://github.com/cocos2d/cocos2d-x into iss3713-replace_CCObject 2014-01-21 13:46:40 +08:00
Dhilan007 b8adba4c64 fix crash cause by string(null). 2014-01-21 11:59:43 +08:00
James Chen 8af2ac76df Merge pull request from dumganhar/iss3789-dispatcher-global-z
closed : EventDispatcher supports sorting listeners by global Z and local Z order. And adds relevant test case.
2014-01-20 18:54:51 -08:00
Dhilan007 f22e4d474f move some method to FontFreeType that only relating to FontFreeType from Font. 2014-01-21 10:36:32 +08:00
minggo 386ba88974 issue : remove unneeded codes to fix compiling error 2014-01-21 10:33:45 +08:00
James Chen 0f9c3fa59c closed : EventDispatcher supports sorting listeners by global Z and local Z order. And adds relevant test case. 2014-01-21 10:23:05 +08:00
minggo ee06a5908c issue #3713:invoke static member function to destroy singleone object 2014-01-21 10:14:00 +08:00
James Chen d05ed0ac0e Merge pull request from Dhilan007/develop_crash
fix compiling error cause by undefined ssize_t on vs.
2014-01-20 18:05:18 -08:00
Dhilan007 d0e3a81d18 fix compiling error cause by undefined ssize_t on vs. 2014-01-21 09:52:43 +08:00
James Chen 4098380100 Update AUTHORS [ci skip] 2014-01-21 09:52:37 +08:00
James Chen 179ff7d981 Merge pull request from Pisces000221/patch-4
Correct a mistake in README
2014-01-20 17:51:27 -08:00
Pisces000221 27811768d4 Correct a mistake in README 2014-01-21 09:33:20 +08:00
James Chen 8fbe47cf55 Merge pull request from dumganhar/warning-fix
Two fixes: 1) Warning fixes:  getZOrder —> getLocalZOrder, int -> long, 2) #include “cocos2d.h” was FORBIDDEN in cocos modules. Reduces the dependence when header file changes.
2014-01-20 07:03:11 -08:00
James Chen 1c31871543 Compilation fixes in LocalStorage. include localStorage.h. 2014-01-20 23:01:44 +08:00
James Chen 84479b5df0 Reverts run-script.sh. add -j10 to improve build. 2014-01-20 22:47:23 +08:00
James Chen e5f723774d Updates jsbindings and localStorage. 2014-01-20 22:45:40 +08:00
James Chen b6be58482a [Travis CI] Removes -j10. 2014-01-20 22:32:20 +08:00
James Chen 8b6763a6ac LocalStorage: const char* —> const std::string&. 2014-01-20 22:31:56 +08:00
James Chen 43b2217fcf Include fix: CCFileUtils.h —> platform/CCFileUtils.h 2014-01-20 21:30:32 +08:00
James Chen 432534d857 #include “cocos2d.h” was FORBIDDEN in cocos modules. Reduces the dependence when header file changes. 2014-01-20 17:31:12 +08:00
minggo 3e5fbb2422 issue : remove Object::_autoReleaseCount 2014-01-20 17:08:22 +08:00
James Chen 9f793f8a9b Warning fixes: 1) getZOrder —> getLocalZOrder. 2) long —> int 2014-01-20 15:03:30 +08:00
Hanju Kim a8f21761a7 Merge remote-tracking branch 'upstream/develop' into develop
Conflicts:
	cocos/2d/CCFontAtlas.cpp
	cocos/2d/CCFontDefinition.cpp
	cocos/base/CCConsole.cpp
2014-01-20 16:03:16 +09:00
James Chen 39cd6d5cbf Merge pull request from dumganhar/develop
A typo fix in EventDispatcher, DirtyFlag::FIXED_PRITORY —> DirtyFlag::FIXED_PRIORITY.
2014-01-19 22:24:14 -08:00
James Chen 0468a1234b A typo fix in EventDispatcher, DirtyFlag::FIXED_PRITORY —> DirtyFlag::FIXED_PRIORITY. 2014-01-20 14:22:30 +08:00
James Chen 87c3f533ea Update CHANGELOG [ci skip] 2014-01-20 12:05:06 +08:00
James Chen a0c0954063 Merge pull request from dumganhar/iss2789-perf-container
closed : Adds a macro ‘’USE_STD_UNORDERED_MAP” for switching the implementation of Map<K, V> between using std::unordered_map and std::map.
2014-01-19 20:03:23 -08:00
James Chen f97b40187c closed : Adds a macro ‘’USE_STD_UNORDERED_MAP” for switching the implementation of Map<K, V> between using std::unordered_map and std::map. 2014-01-20 12:01:40 +08:00
minggo a6ec66c340 Merge pull request from liang8305/use_multiple_build_process
get number of cpu, using multiple concurrent job processes;
2014-01-19 19:50:48 -08:00
Dhilan007 802fc092be fix compiling error cause by miss include header file. 2014-01-20 11:43:13 +08:00
Dhilan007 7d44da43c4 fix compiling error cause by include a non-existent file. 2014-01-20 11:34:31 +08:00
James Chen ba57a9dec5 Merge pull request from dumganhar/iss2789-perf-container
issue : Adds performance test for Map<K, V> and Dictionary.
2014-01-19 19:32:22 -08:00
Dhilan007 9f9e289f8c update xcode project. 2014-01-20 11:30:35 +08:00
Dhilan007 b8943da99e Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into new_label 2014-01-20 11:24:42 +08:00
James Chen b116a11c3c issue : Adds performance test for Map<K, V> and Dictionary. 2014-01-20 11:13:30 +08:00
James Chen 0d4d4c53f4 issue : Improves performance for Map<K,V>::keys. 2014-01-20 11:13:29 +08:00
James Chen 5018c9ba6c Removes unused cast in CCTMXTiledMap.cpp. 2014-01-20 11:13:29 +08:00
James Chen b11ef3069f issue : Adds Map, Dictionary perf test, not yet finished. 2014-01-20 11:13:29 +08:00
liang8305 bf99e10c10 get number of cpu, using multiple concurrent job processes; 2014-01-20 10:37:01 +08:00
Dhilan007 a0b86abcf4 close #3765:Simplify label.Remove FontAtlasFactory,FontDefinition and TextImage. 2014-01-20 10:32:12 +08:00
minggo a328579238 [ci skip] 2014-01-20 09:43:45 +08:00
minggo 3ba0e1418b Merge pull request from liang8305/use_multiple_build_process
When android project build native, using multiple concurrent job process...
2014-01-19 17:38:05 -08:00
Ricardo Quesada 52d1816828 Merge pull request from CocosRobot/updategeneratedsubmodule_1390074821
[AUTO] : updating submodule reference to latest autogenerated bindings
2014-01-18 11:56:04 -08:00
CocosRobot 47c8243812 [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-18 19:53:43 +00:00
Ricardo Quesada d2b3a3e2ca Merge pull request from ricardoquesada/global_z_order
GlobalZOrder is used for render priority...
2014-01-18 11:43:32 -08:00
Ricardo Quesada d5858806dd Merge branch 'global_z_order' of github.com:ricardoquesada/cocos2d-x into global_z_order
Conflicts:
	CHANGELOG
2014-01-18 11:38:40 -08:00
Ricardo Quesada 5fcbf42356 GlobalZOrder is used for render priority...
...and not vertexZ

Node::setGlobalZOrder() is used to change that.

Node::setZOrder() -> Node::setLocalZOrder();
2014-01-18 11:38:06 -08:00
Ricardo Quesada b32ff0ed49 GlobalZOrder is used for render priority...
...and not vertexZ

Node::setGlobalZOrder() is used to change that.

Node::setZOrder() -> Node::setLocalZOrder();
2014-01-18 11:35:27 -08:00
liang8305 ac50e3f792 When android project build native, using multiple concurrent job processes;
android项目编译时,默认利用"-j"参数,启用跟cpu数相同的多进程编译
2014-01-18 15:27:59 +08:00
Ricardo Quesada b23dfeed5d Merge pull request from ricardoquesada/renderer_no_sort_z_0
Renderer: Don't sort z=0 Commands
2014-01-17 23:11:16 -08:00