axmol/cocos2dx/support
James Chen c45ebfa628 Merge pull request #2422 from brawsome/master
fixed #2127: Adding CCLOG before original path is returned in CCFileUtils::fullPathForFileName to aid in debugging.
The PR has fix two issues:
1) Added additional CCLOG to CCFileUtils::fullPathForFilename:
There's currently no way to be sure, from a calling function, that
fullPathForFilename has returned an invalid file path, which makes it
difficult to quickly track down missing, or incorrect file paths. Added
a CCLOG before the original string is returned to make debugging
missing or incorrect file paths easier.

2) Optmization to ccArrayGetIndexOfObject …
Optimized loop of ccArrayGetIndexOfObject to remove the overhead of 3
pointer dereferences per iteration, and pre-increment the int for
speed. If this function is called a lot, and with a large list, this
will result in a good performance win.
This can probably be done with just pointers, but I haven't taken the
time to validate all function calls to make sure it would be
appropriate. Though I can guarantee that if this worked fine before, it
will work fine with this change.
2013-05-07 01:40:57 -07:00
..
data_support Optmization to ccArrayGetIndexOfObject 2013-04-25 12:18:40 +10:00
image_support Minor English Spelling Corrections. A few grammar corrections. 2012-09-17 00:02:24 -07:00
tinyxml2 fixed #1703: fixed compilation errors for BlackBerry. 2013-02-16 11:05:30 +08:00
user_default fixed #2073: fix memory leak in CCUserDefault 2013-04-22 16:43:05 +08:00
zip_support ifdef tango around some symbols that aren't defined in Emscripten (nor a bunch of other platforms, it seems). 2013-05-06 20:58:43 -07:00
CCNotificationCenter.cpp Added CCNotificationCenter::removeAllObservers 2013-03-10 19:34:01 +05:00
CCNotificationCenter.h Added CCNotificationCenter::removeAllObservers 2013-03-10 19:34:01 +05:00
CCPointExtension.cpp CCPoint::getDistance() implemented, CCPoint::length() renamed to getLength(), bug fixes 2013-05-05 02:58:46 +10:00
CCPointExtension.h CCPoint::getDistance() implemented, CCPoint::length() renamed to getLength(), bug fixes 2013-05-05 02:58:46 +10:00
CCProfiling.cpp Added CC_FORMAT_PRINTF(x,y) macro to warn on CCLog() format errors 2013-04-19 11:54:08 +04:00
CCProfiling.h update copyright to 2012, update cocos2d version to 2.0.3 2012-09-24 21:22:20 +08:00
CCVertex.cpp issue #1310: First commit since sync to rc2. 2012-06-08 14:11:48 +08:00
CCVertex.h Minor English Spelling Corrections. A few grammar corrections. 2012-09-17 00:02:24 -07:00
TransformUtils.cpp update copyright to 2012, update cocos2d version to 2.0.3 2012-09-24 21:22:20 +08:00
TransformUtils.h update copyright to 2012, update cocos2d version to 2.0.3 2012-09-24 21:22:20 +08:00
base64.cpp issue #1176: Changed linebreak symbol to UNIX format ('\n'),replaced 'tab' 2012-04-19 14:35:52 +08:00
base64.h issue #1176: Changed linebreak symbol to UNIX format ('\n'),replaced 'tab' 2012-04-19 14:35:52 +08:00
ccUTF8.cpp fixed #2059: Fix complication errors on Android. 2013-04-17 17:05:39 +08:00
ccUTF8.h fixed #2059: Fix complication errors on Android. 2013-04-17 17:05:39 +08:00
ccUtils.cpp issue #1176: Changed linebreak symbol to UNIX format ('\n'),replaced 'tab' 2012-04-19 14:35:52 +08:00
ccUtils.h issue #1176: Changed linebreak symbol to UNIX format ('\n'),replaced 'tab' 2012-04-19 14:35:52 +08:00