diff --git a/AUTHORS b/AUTHORS index 8b0c2f0a6a..a7332fc8f9 100644 --- a/AUTHORS +++ b/AUTHORS @@ -63,6 +63,7 @@ Developers: Fixed potential crashes in EventDispatch while using SceneGraphPriroity listeners and added helper function to check it Fixed a protential crash in EventDispatch while unregistering listener right after it was registered Adding an extra verification in Node's destructor + Added RefPtr smart pointer support silverscania Pass correct parameter to glPixelStorei when creating a texture @@ -786,6 +787,7 @@ Developers: newnon Adds getCurrentLanguageCode() which returns iso 639-1 language code + Adds support for get response when Activity's onActivityResult is triggered youknowone Adds iOS-like elastic bounceback support for cocos2d::extension::ScrollView @@ -815,12 +817,14 @@ Developers: Mazyod Fixed a bug that HTTPClient reports 2xx status codes as errors Added missing Text Font and Placeholder feature of EditBox for Mac platform + HttpRequest uses std::function as callback iSevenDays Fixed a bug that the result of 'malloc' is incompatible with type 'unsigned char *' in Image::saveImageToPNG Fixed a potential memory leak in CCEditBoxImplIOS.mm Fixed incompatible pointer conversion in external/chipmunk/src/cpArray.c - Fix memory leak in CCImage + Fixed memory leak in 'Image' + Fixed loosing precision when using 'recv' in 'Console' ololomax Fixed a potential crash in SceneReader::createNodeWithSceneFile @@ -830,6 +834,15 @@ Developers: sachingarg05 Re-added orientation change callback in java activity + + dplusic + Fixed that cc.pGetAngle may return wrong value + + zifter + Fixed a bug that the effect of particle loaded from CocosBuilder is incorrectly + + twhittock + Fixed a bug that Application::run returns wrong value on Mac platform Retired Core Developers: WenSheng Yang diff --git a/CHANGELOG.REMOVED.git-id b/CHANGELOG.REMOVED.git-id index 80c0b256bc..4275082f44 100644 --- a/CHANGELOG.REMOVED.git-id +++ b/CHANGELOG.REMOVED.git-id @@ -1 +1 @@ -02451d8f73c78341cb22b90556ab891ef136c5e1 \ No newline at end of file +c55d35d7f00646adb2d6f440d385970a0868795b \ No newline at end of file diff --git a/cocos/2d/platform/mac/CCApplication.mm b/cocos/2d/platform/mac/CCApplication.mm index 08f3cc55a1..55ea168dbd 100644 --- a/cocos/2d/platform/mac/CCApplication.mm +++ b/cocos/2d/platform/mac/CCApplication.mm @@ -66,7 +66,7 @@ int Application::run() { if(!applicationDidFinishLaunching()) { - return 0; + return 1; } long lastTime = 0L; @@ -105,7 +105,7 @@ int Application::run() glview->release(); - return true; + return 0; } void Application::setAnimationInterval(double interval) diff --git a/cocos/network/SocketIO.cpp b/cocos/network/SocketIO.cpp index 9e669f7e0a..628d0751f6 100644 --- a/cocos/network/SocketIO.cpp +++ b/cocos/network/SocketIO.cpp @@ -124,7 +124,7 @@ void SIOClientImpl::handshake() request->setUrl(pre.str().c_str()); request->setRequestType(HttpRequest::Type::GET); - request->setResponseCallback(this, httpresponse_selector(SIOClientImpl::handshakeResponse)); + request->setResponseCallback(CC_CALLBACK_2(SIOClientImpl::handshakeResponse, this)); request->setTag("handshake"); log("SIOClientImpl::handshake() waiting");