Commit Graph

13314 Commits

Author SHA1 Message Date
bmanGH 3b9348bfc0 remove conflicts files; 2013-11-12 20:21:30 +08:00
bmanGH 683ce1692d Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into feature/configuration_VAO_runtime
Conflicts:
	cocos2dx/CCConfiguration.cpp
	cocos2dx/draw_nodes/CCDrawNode.cpp
	cocos2dx/particle_nodes/CCParticleSystemQuad.cpp
	cocos2dx/platform/android/CCEGLView.cpp
	cocos2dx/platform/ios/EAGLView.mm
	cocos2dx/textures/CCTextureAtlas.cpp
	cocos2dx/textures/CCTextureAtlas.h
2013-11-12 20:18:04 +08:00
bmanGH 9893fbc514 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into fix_touch_retain
Conflicts:
	cocos2dx/platform/CCEGLViewProtocol.cpp
2013-11-12 19:24:09 +08:00
bmanGH f540131320 add setUniformLocationWithMatrix2fv, setUniformLocationWithMatrix3fv mothed in GLProgram class. 2013-11-12 18:59:37 +08:00
bmanGH 408b81173d fix GL_EXT_discard_framebuffer always disable in EAGLView.mm (fix compile fail on early iOS SDK 4.0); 2013-11-12 18:33:40 +08:00
bmanGH 83c99b5b1c fix GL_EXT_discard_framebuffer always disable in EAGLView.mm; 2013-11-12 18:33:26 +08:00
bmanGH 06ca84ba68 use Configuration::getInstance()->supportsShareableVAO() in place of CC_TEXTURE_ATLAS_USE_VAO; 2013-11-12 18:32:46 +08:00
bmanGH 706eeaaff9 fix direct delete touch object without use release crash bug; 2013-11-12 18:24:08 +08:00
boyu0 15c8c04f3a Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2770_fix_warnings 2013-11-12 18:22:26 +08:00
James Chen 5498c79c9e Merge pull request #4203 from CocosRobot/updategeneratedsubmodule_1384249810
[AUTO] : updating submodule reference to latest autogenerated bindings
2013-11-12 02:00:16 -08:00
James Chen cb6b3f8163 Merge pull request #4201 from Dhilan007/incomplete_copy
fix incomplete copy resource
2013-11-12 01:59:00 -08:00
Dhilan007 d43bc3f75d remove unnecessary print 2013-11-12 17:53:23 +08:00
samuele3 f429c4c632 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developCCS 2013-11-12 17:51:33 +08:00
CocosRobot 0acaa1f76e [AUTO] : updating submodule reference to latest autogenerated bindings 2013-11-12 09:50:13 +00:00
James Chen c74e5fc464 Merge pull request #4200 from samuele3hu/developCheck
Resolve some warning and modify uint32_t to long
2013-11-12 01:43:33 -08:00
samuele3 cb51df7d65 Update bindings-generator 2013-11-12 17:31:24 +08:00
samuele3 ae6597dbaa Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developCheck
Conflicts:
	tools/bindings-generator
2013-11-12 17:23:41 +08:00
samuele3 18bc96096c Resolve some warning and modify uint32_t to long 2013-11-12 17:18:51 +08:00
samuele3 c1d256c159 issue #2868:modify ccs lua test samples 2013-11-12 16:52:03 +08:00
Dhilan007 e182328d51 fix incomplete copy resource 2013-11-12 16:25:39 +08:00
minggo 8d79e67ecf Merge pull request #4165 from 2youyouo2/develop
[ci skip]update armature
2013-11-11 23:57:30 -08:00
samuele3 cfb1cfdf65 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developCCS
Conflicts:
	cocos/editor-support/cocostudio/CCSGUIReader.h
2013-11-12 15:30:36 +08:00
samuele3 482ee5d47f issue #2868:Add more ccs lua test samples 2013-11-12 15:25:47 +08:00
Ricardo Quesada 6b29391212 Adds markdown comments in the doxstrings
Since Doxygen 1.8.0 (we are already using it), it is possible to
add markdown comments in the doxygen strings.

This will make our comments easier to read.

This patch  only adds markdown to CCNode.h as a test.

If you like, I'll keep adding markdown comments as I see them.
Please, encourage the rest of the team to do the same.
2013-11-11 20:21:01 -08:00
minggo e2224d5316 [ci skip] 2013-11-12 11:24:59 +08:00
Liam f0ca796da1 merge from develop 2013-11-12 11:20:29 +08:00
James Chen 42ca4f6122 Merge pull request #4187 from dumganhar/develop
#include <algorithm> for std::max, std::min on VS2013.
2013-11-11 18:52:16 -08:00
James Chen db07c781ab #include <algorithm> for std::max, std::min on VS2013. 2013-11-12 10:35:50 +08:00
James Chen 0358eae8f0 Update CHANGELOG [ci skip] 2013-11-12 10:33:18 +08:00
James Chen 8c42e62a3f Update AUTHORS [ci skip] 2013-11-12 10:32:22 +08:00
James Chen cfd82a26bb Merge pull request #4156 from bopohaa/patch-1
closed #3159: Webp Test Crashes.
2013-11-11 18:31:03 -08:00
Ricardo Quesada be64dd97cf replaces `delete[]` with `free()` in C-based API
API that returns a newly allocated buffer as an output argument (not return value) are error-prone.

- Users forget to release the newly allocated buffer
- Or the call `delete` instead of `delete[]`

But some of those API need to call `realloc` on the buffer.
But `realloc` is only valid if the buffer was previously allocated with `malloc`.
If a buffer needs to be re-allocated using a C++ API, then `std::vector<char*>` should be used instead...

So, this patch does:

- Migrates the API from  `new []` / `delete[]` to  `malloc()` / `free()`
- Fixes all the memory issues: incorrect deallocs and memory leaks
- Updates the documentation
- And fixes misc issues with the API: removes `cc` from the ZipUtils class.
2013-11-11 18:09:47 -08:00
boyu0 dbafd9af2b Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2770_fix_warnings 2013-11-12 10:07:26 +08:00
James Chen 412712c5e4 Update CHANGELOG[ci skip] 2013-11-12 09:45:07 +08:00
James Chen d7a0787336 Up 2013-11-12 09:44:07 +08:00
James Chen cc3a6ebda9 Merge pull request #4150 from ledyba/fix_ccdevice
Close X Display
2013-11-11 17:40:32 -08:00
minggo 44bed76c21 Merge pull request #4175 from nutty898/develop_nutty_optimizeguireader_3
[ci skip]Develop nutty optimizeguireader 3
2013-11-11 17:36:22 -08:00
Ricardo Quesada 0e642013db Merge pull request #4182 from ricardoquesada/android_create_fixes
fixes for android create
2013-11-11 16:10:19 -08:00
Ricardo Quesada a5eeff4f4f fixes for android create
improves the message.
fixes some grammar errors
2013-11-11 16:09:32 -08:00
Ricardo Quesada 4b2eda3cdc Merge pull request #4181 from ricardoquesada/delete_fixes
calls `delete[]` instead of `delete`
2013-11-11 16:08:35 -08:00
Ricardo Quesada d6446e9b14 calls `delete[]` instead of `delete`
calls `delete[]` instead of `delete`
2013-11-11 16:07:46 -08:00
James Chen 51cfd3fb4b Merge pull request #4151 from pyrasis/develop
[Win32] fix compile error.
2013-11-11 04:42:42 -08:00
James Chen a951ba600f Merge pull request #4179 from CocosRobot/updategeneratedsubmodule_1384167474
[AUTO] : updating submodule reference to latest autogenerated bindings
2013-11-11 03:02:04 -08:00
CocosRobot 3472d7ad50 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-11-11 10:57:57 +00:00
James Chen d64de4f74d Merge pull request #4178 from dumganhar/develop
[develop] Updating bindings-generator, fixing forward declare that gener...
2013-11-11 02:46:48 -08:00
James Chen df214acb6f [develop] Updating bindings-generator, fixing forward declare that generates binding glue codes which is an empty class. 2013-11-11 18:42:39 +08:00
boyu0 d75c96443d issue #2770: fix some warning 2013-11-11 18:28:59 +08:00
CaiWenzhi b688e39584 Merge branch 'develop' into develop_nutty_optimizeguireader_3 2013-11-11 18:23:21 +08:00
CaiWenzhi 4f76141c41 optimize guireader 2013-11-11 18:22:14 +08:00
minggo b868c3f1dc Merge pull request #4173 from minggo/remove-makefile
[ci skip]remove makefiles
2013-11-11 02:19:16 -08:00