Commit Graph

11519 Commits

Author SHA1 Message Date
Ricardo Quesada c9b250d4a4 Adds new tests to tests
and enables profiling

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
2013-08-20 14:18:32 -07:00
Ricardo Quesada 4c99492589 Profiling: more useful information
Prints min,max, #calls

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
2013-08-20 14:18:06 -07:00
Ricardo Quesada d96a504f3c cocos2d in lowercase
Cocos2d -> cocos2d

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
2013-08-20 14:17:43 -07:00
Ricardo Quesada 4d6d2d0dfa Better default values for auto-release pool
150 is a reasonable number for auto-release pool.
By using 150, it prevents the unneeded re-alloc of the pool.

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
2013-08-20 14:17:26 -07:00
Ricardo Quesada 5225758c5c CCArray: performance improvements
CCArray:

- Iterator uses position for iterator. MUCH faster.
- Do not double init the array. performance improvements in memory.

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
2013-08-20 14:16:43 -07:00
James Chen 06b66e3427 Merge pull request #3445 from dumganhar/iss2586-xmlhttprequest-mess
closed 2586: The utf8 response in XmlHttpRequest are mess codes.
2013-08-20 03:52:55 -07:00
James Chen 5a393994cd [Best C++ practice] ResponseType is enum class now. Renaming properties in MinXmlHttpRequest class. 2013-08-20 18:35:15 +08:00
James Chen 5407719f44 closed #2586: The utf8 response in XmlHttpRequest are mess codes. 2013-08-20 17:50:43 +08:00
James Chen 0d349d75d0 Update AUTHORS [ci skip] 2013-08-20 16:38:03 +08:00
James Chen f263f01334 Merge pull request #3442 from xbruce/develop
closed 2612: Crash appears when extending cc.ScrollView in JS.
2013-08-20 01:36:59 -07:00
xbruce d2684338a5 Update CCScrollView.cpp
change release mode
2013-08-20 14:58:26 +08:00
minggo f97f7edeb6 Merge pull request #3440 from ricardoquesada/better_array
Better array
2013-08-19 23:39:36 -07:00
James Chen d79e6dee7a Update AUTHORS [ci skip] 2013-08-20 14:25:45 +08:00
James Chen c215a1d5a2 Merge pull request #3285 from gkosciolek/fix_for_CCNotificationCenter
closed 2611: Fixing the bug that observers with the same target and selector but different sender are the same observer in NotificationCenter.
2013-08-19 23:23:18 -07:00
minggo 0ec5d6f029 Merge pull request #3439 from folecr/android_rendering_bugfix
Let CCDirector set all GL state in the Android port
2013-08-19 19:08:47 -07:00
James Chen 0d5042948c Update AUTHORS 2013-08-20 10:04:46 +08:00
James Chen 7e3d3b3d3e Merge pull request #2950 from zcgit/develop
a potential bug in Layer.
2013-08-19 19:02:53 -07:00
Ricardo Quesada 6c2c5f727f small fix to make it compile with std::vector too 2013-08-19 17:33:23 -07:00
Ricardo Quesada 6c02102b17 Fixes crash when reordering 2013-08-19 17:27:31 -07:00
Ricardo Quesada 511ec1cc5d Compiles with improved CCArray
Compiles both with std::vector or ccCArray
2013-08-19 17:09:28 -07:00
folecr 9d8e2d991b Let CCDirector set all GL state 2013-08-19 15:58:05 -07:00
James Chen 175316f2c6 Merge pull request #3404 from timothyqiu/docfix
Documentation fix: broken links and wrong encoding in the doc...
2013-08-18 19:35:47 -07:00
minggo 61e8b14601 Merge pull request #3420 from boyu0/tilemap_plain_xml_format_support
Support for loading tilemaps with plain XML layer format
2013-08-17 01:13:41 -07:00
minggo 3ca26e1aa6 Merge pull request #3430 from boyu0/iss2517_update_local_var_to_auto
closed #2517: Update all test cases use auto for local variables
2013-08-17 01:12:48 -07:00
minggo c7f313419e Merge pull request #3431 from minggo/iss2525-add_iterator_for_array
add iterator for Array and make Array can be used in range-based loop
2013-08-17 00:42:42 -07:00
minggo 06aea85f2e Merge pull request #3432 from folecr/travisci_android_arm_only
Keep TravisCI happy : build Android TestCpp for ARM architecture only.
2013-08-17 00:42:21 -07:00
folecr aff86b1b52 Keep TravisCI happy : build Android TestCpp for ARM architecture only. 2013-08-16 16:19:34 -07:00
minggo baa9e0a1e4 issue #2525:add iterator for Array and make Array can be used in range-based loop 2013-08-16 18:23:41 +08:00
James Chen 31b06c9331 Merge pull request #3429 from godyZ/Atitc_decode
issue 2533: [cocos2d's code style] add space before backslash and return bef...
2013-08-16 01:43:27 -07:00
godyZ f0dbc22c16 updata: [cocos2d's code style] add space before backslash and return before else if 2013-08-16 16:10:39 +08:00
boyu0 6779f494f3 issue #2517: Restore TestCpp proj.android that edited by mistake. 2013-08-16 16:09:46 +08:00
boyu0 70df1a6061 closed #2517: Use LocalVarToAuto.py to change Samples src file 2013-08-16 16:05:27 +08:00
minggo e2ae7db4ef Merge pull request #3428 from godyZ/Atitc_decode
issue #2533:add ATITC comressed texture (*.ktx file) support
2013-08-16 00:44:05 -07:00
boyu0 0823bb144f issue #2517: add the LocalVarToAuto.py script 2013-08-16 15:35:27 +08:00
godyZ 28656598ef closed #2533:updating new file copyrights 2013-08-16 15:01:22 +08:00
godyZ b5af9eb4c8 closed #2533:fix some wrong indent 2013-08-16 14:36:35 +08:00
godyZ 8c0f2dfed1 issue #2533: resolve some conflicts 2013-08-16 14:27:13 +08:00
godyZ 9e07ac967f issue #2533: updating some GL macro definition 2013-08-16 14:03:30 +08:00
minggo 77f89956a3 Merge pull request #3414 from boyu0/iss2522_unpackccz
closed #2522: Let Image::initWithImageData() support the packed data.
2013-08-15 21:44:43 -07:00
minggo 3cec90b376 Merge pull request #3427 from natural-law/develop
Optimize the ant configuration for plugins
2013-08-15 21:43:46 -07:00
zhangbin b0cfe202fc Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop 2013-08-16 11:51:07 +08:00
zhangbin ca594eedac Optimize the ant configuration for plugins 2013-08-16 11:44:17 +08:00
James Chen 310cf70114 Update AUTHORS [ci skip] 2013-08-16 11:31:26 +08:00
James Chen 041b14f3ff Merge pull request #3411 from maciekczwa/master
fixed stroke font color with channel color values other than 255
2013-08-15 20:28:49 -07:00
godyZ 424b4140a2 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into Atitc_decode 2013-08-16 11:14:47 +08:00
godyZ e8809b2b15 issue #2533:add ATITC compressed texture support
soft decode test in Win32, ios, Mac. device decode test in HTC G14
Adreno 220 GPU.
2013-08-16 11:02:44 +08:00
James Chen 4473e9391c Merge pull request #3426 from CocosRobot/updategeneratedsubmodule_1376576630
[AUTO] : updating submodule reference to latest autogenerated bindings
2013-08-15 07:28:36 -07:00
CocosRobot 1107974892 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-08-15 14:23:52 +00:00
James Chen 9ab671fb03 Merge pull request #3425 from dumganhar/iss2488-new-label-sample
Iss2488: Merge PR https://github.com/cocos2d/cocos2d-x/pull/3422
2013-08-15 07:16:48 -07:00
James Chen 4b0d0225b7 issue #2488: Updating makefile for linux and emscripten. 2013-08-15 21:44:51 +08:00