Commit Graph

13614 Commits

Author SHA1 Message Date
James Chen 4e4798fdcc Merge commit 'refs/pull/4099/head' of https://github.com/cocos2d/cocos2d-x into 64bit-fix 2013-11-06 15:15:47 +08:00
James Chen 33a243155f Merge pull request #4107 from dumganhar/cmake
issue #3113: 32Bit fix and 13.10 32bit complication is ok.
2013-11-05 23:09:23 -08:00
James Chen f3c40a3e7a issue #3113: 32Bit fix and 13.10 32bit complication is ok. 2013-11-06 14:54:35 +08:00
boyu0 a01fcc6f36 issue #2771: move header definition to first line 2013-11-06 14:51:56 +08:00
boyu0 75dd32cde9 issue #2771: fix physics test compile error 2013-11-06 14:34:27 +08:00
James Chen 0192c4f042 Merge pull request #4104 from CocosRobot/updategeneratedsubmodule_1383718814
[AUTO] : updating submodule reference to latest autogenerated bindings
2013-11-05 22:29:27 -08:00
CocosRobot d7ed908818 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-11-06 06:20:17 +00:00
minggo c32628e930 [ci skip] 2013-11-06 14:19:08 +08:00
minggo a416a6b258 Merge pull request #4102 from ricardoquesada/uses_string
Uses `const std::string&`
2013-11-05 22:14:27 -08:00
2youyou2 f05c1590ae 1.fix particle kCCPositionTypeFree state bug 2013-11-06 11:20:16 +08:00
James Chen 135e509037 Merge pull request #4101 from dumganhar/cmake-copy-file
issue #3113: Updating CMakeLists.txt, Improve Copying files.
2013-11-05 19:19:51 -08:00
Ricardo Quesada 555f3609c8 Uses `const std::string&`
... instead of const char*

* Because it is more robust
* and it is faster... yes faster.

It is faster because internally some of our classes use std::string
(like FileUtils and Dictionary) so converting back-and-forth from const
char * to std::string is very expensive.

It is faster to have everthing in std::string as soon as possible to
prevent further conversions.

There are still some parts of the code that require conversion, but
most of the code was converted.
2013-11-05 19:02:03 -08:00
James Chen c364c4f083 issue #3113: Updating CMakeLists.txt, Improve Copying files. 2013-11-06 10:57:36 +08:00
Luis Parravicini 8b1d3af720 added | operator for Control::EventType 2013-11-05 23:55:24 -03:00
minggo 2b551732f0 Merge pull request #4097 from hannon235/fix-android-nativeactivity-amd-support
[android] update nativeactivity.cpp to work with changes made in commit ...
2013-11-05 17:48:38 -08:00
Ricardo Quesada 84a6aa29cd Adds more 64-bit fixes
Replaces more `int` with `long` where it makes sense.

Also , it repalces some `unsigned long` with `long` for "lenght"
values as described in our c++ guideline
2013-11-05 17:36:44 -08:00
Nite Luo 51fb1edc0c Fix sorting bug 2013-11-05 17:00:34 -08:00
Chris Hannon 471dd07f3b [android] update nativeactivity.cpp to work with changes made in commit 0220f27 (AMD support), changing int to long int for the second argument in most touch callbacks 2013-11-05 15:54:31 -05:00
yinkaile 2a1b0876bc Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop 2013-11-05 21:20:40 +08:00
2youyou2 8b86373b08 1.Change to range-based loop 2013-11-05 20:33:29 +08:00
James Chen 5061c7cae4 Merge pull request #4093 from CocosRobot/updategeneratedsubmodule_1383651041
[AUTO] : updating submodule reference to latest autogenerated bindings
2013-11-05 04:23:25 -08:00
boyu0 af129e25f0 issue #2771: change some coding style 2013-11-05 20:02:58 +08:00
2youyou2 16c23d0ad3 remove CC_PROPERTY and CC_SYNTHESIZE. 2013-11-05 19:53:38 +08:00
CocosRobot 47e0d343ff [AUTO] : updating submodule reference to latest autogenerated bindings 2013-11-05 11:30:43 +00:00
James Chen 64b9cba5d5 Merge pull request #4092 from samuele3hu/developCCS
issue 2868:Move armature related lua binding from namespace 'cc' to namespace 'ccs'
2013-11-05 03:24:20 -08:00
samuele3 66256e9ad7 issue #2868:Move armature related lua binding from namespace 'cc' to namespace 'ccs' 2013-11-05 17:48:29 +08:00
James Chen 8c91a8294c Merge pull request #4091 from CocosRobot/updategeneratedsubmodule_1383638832
[AUTO] : updating submodule reference to latest autogenerated bindings[ci skip]
2013-11-05 01:43:08 -08:00
samuele3 b9e5d4bc91 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developCCS 2013-11-05 17:37:54 +08:00
samuele3 61d8f9673c issue #2868:Move armature related lua binding from namespace 'cc' to namespace 'ccd' 2013-11-05 17:34:25 +08:00
CocosRobot 8c75cd0dfa [AUTO] : updating submodule reference to latest autogenerated bindings 2013-11-05 08:07:15 +00:00
James Chen f2f7e61b07 Update CHNAGELOG[ci skip] 2013-11-05 16:04:06 +08:00
James Chen 08dfd66dca Merge pull request #4090 from dumganhar/riq-arm64
Fix compilation error in PR #4086
2013-11-05 00:02:04 -08:00
boyu0 8c62bf813f issue #2771: enhance API and add Slice demo 2013-11-05 15:54:33 +08:00
James Chen 963d7f3bd0 Changes the touch id declaration from int to long. 2013-11-05 15:49:58 +08:00
James Chen 11e6a277be Merge commit 'refs/pull/4086/head' of git://github.com/cocos2d/cocos2d-x into riq-arm64 2013-11-05 15:49:48 +08:00
2youyou2 3eef64c3b8 1. Change NULL to null
2. Remove CocoStudio/Armature files
2013-11-05 15:32:13 +08:00
samuele3 b76865c692 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developCCS 2013-11-05 15:11:05 +08:00
samuele3 b445f0824a issue #2868:Bind UI and Scene parser to lua by bindings-generator and add releated test samples 2013-11-05 15:09:51 +08:00
James Chen 7c233212b0 Merge pull request #4089 from CocosRobot/updategeneratedsubmodule_1383633083
[AUTO] : updating submodule reference to latest autogenerated bindings[ci skip]
2013-11-04 22:41:29 -08:00
CocosRobot 5cecc93c3e [AUTO] : updating submodule reference to latest autogenerated bindings 2013-11-05 06:31:26 +00:00
James Chen e3895f324a Merge pull request #4088 from dumganhar/bindings-generator-fix
Updating submodule of bindings-generator.
2013-11-04 22:26:42 -08:00
James Chen a3a2b0274e Updating submodule of bindings-generator. 2013-11-05 14:23:48 +08:00
2youyou2 b076711b69 fix compile error 2013-11-05 13:42:27 +08:00
2youyou2 25196072f2 1. change color json format
2. fix tween easing
3. fix CCBone crate bug
2013-11-05 11:57:20 +08:00
Ricardo Quesada ba7ed6e578 Fixes some compiler warnings
The warnings are related to:

* 64-to-32-bit conversion
* shadow variables
2013-11-04 16:31:36 -08:00
Ricardo Quesada 24ecbc426c removes Hungarian notation
from CCACtionManager and fixes some 64-bit issues.
2013-11-04 16:30:50 -08:00
Ricardo Quesada 2f0a19c7a3 Enables more warnings in Xcode project 2013-11-04 16:30:00 -08:00
Ricardo Quesada ab6d620b3d Disables arm64 for the moment 2013-11-04 15:11:20 -08:00
Ricardo Quesada 8fb5fad20d Merge branch 'develop' into arm64 2013-11-04 15:02:35 -08:00
Ricardo Quesada 0350ac7021 arm64 support 2013-11-04 11:53:40 -08:00