Merge pull request #1 from cocos2d/master

Updated to the latest version
Fixing linking errors for TestCPP with libcurl
Added CC_FORMAT_PRINTF(x,y) macro to warn on CCLog() format errors

Uses printf format. Enabled for GCC and clang.
Added CC_FORMAT_PRINTF to CCString

Added for CCString::initWithFormat() and CCString::createWithFormat().
Fixed warnings.
Added CC_DISABLE_COPY macro
CCScrollView should set the TouchPriority from the CCLayer, thus allowing the developer to set a custom TouchPriority with a call to setTouchPriority(…);
Fixing broke linux build

The spine code building on Linux stops when checking that some variables
can be used when not initialized. This commit fixes it.

Signed-off-by: Rodrigo Goncalves de Oliveira <rodrigo.goncalves@openbossa.org>
don't use named semaphore for syncing image loading thread

Named semaphores are unique across process bounds, therefore a semaphore
left in an invalid state may cause locks on other processes.
The code has been exchanged by using pthread mutex and condition variables
set design resolution  for WatermelonWithme
include cocos2d.h to make android template work
Merge pull request #2480 from dumganhar/master

Don't export classes in scripting/lua/cocos2dx_support.
Merge https://github.com/cocos2d/cocos2d-x
don't use named semaphore in HttpClient

this patch removes using named semaphores for Http requests.
This also destroys the mutexes from CCTextureCache when the thread is
destroyed
Merge pull request #2466 from Weeds/fix-loadAsyncImage

don't use named semaphore for syncing image loading thread
Using the same native stack size for DEBUG and RELEASE target.
#define JSB_MAX_STACK_QUOTA 500000
Update AUTHORS
Fixed crash in HttpClient request on 64Bit

According to the cURL documentation the pointer that should be passed
to curl_easy_getinfo with CURLINFO_RESPONSE_CODE must be a long
pointer,

On platforms where long is 64Bit this will cause a stack corruption
destroying the pointer to the original resonse as the current response
code variable was a 32 Bit int value.

See: http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
More verbose logging in removeChildByTag and getActionByTag

Tags are often hardcoded, so tag value will be useful to detect problem.
Merge https://github.com/cocos2d/cocos2d-x
Merge pull request #2482 from dumganhar/js-stack-size

Using the same native stack size for DEBUG and RELEASE target.