closed #3964, Solve the bug of logic code in method Image::saveImageToPNG().
Merge branch 'develop' into issue3964
new[] free mismatching after PR #5326.
closed #3964, Use GL methods instead in function RenderTexture::newImage()
[Android] Don't free BitmapDC::_data in BitmapDC's destructor. Remove unused BitmapDC::env.
Updates mac / iOS project.
Uses `malloc` instead of `new[]`, keep malloc/free matching.
Merge pull request #5376 from dumganhar/free-new-mistake

new[] free mismatching after PR #5326.
Merge pull request #5365 from natural-law/issue3964

closed #3964: Solve the bug of Image::saveImageToPNG().
close #3593:Add more test cases about SceneReader of cocoStudio
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developEventTrigger
move CCActionEaseEx and CCTweenFunction to core engine
move CCActionEaseEx content to CCActionEase
rename namespace of CCTweenFunction to cocos2d and fix some compile errors
refactor EaseIn with CCTweenFunction
change CCTweenFunction class to tweenfunc namespace
remove unused std::function declare
refactor easeIn, easeOut and easeInOut, elastic, bounce, back, quartic etc with free tween functions

finish refactor all ease action with tween functions
add tests of all the new added CCActionEaseEx in CCActionEase
fixed #3620. merge cocostudio/CCActionXXX to CCAction