fix bug for renderTexture created which is bigger than screen size
using pointer instead of Director::getInstance() in RenderTexture
readd wp8 code which is removed by accident
use `new` and `CC_SAFE_DELETE_ARRAY` to replace `malloc` and `free`
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into dev_compile_error
Modify some functions return value from `bool` to `int`
Merge pull request #6513 from samuele3hu/dev_compile_error

[Lua] The array stores Vector2 element should use `new[]` and `CC_SAFE_DELETE_ARRAY` to alloc/ free memory
wrong rotation
Revert "wrong rotation"

This reverts commit 1ebd9b2010e92059975c34ce6eec244bc98dce28.
wrong rotation
Merge pull request #6518 from super626/newmath

wrong rotation
closed #4990, Fix the error in cocos2d-console when rename files on windows.
Change Value::asBool() return false by default.
Fix ParticleSystem yCoordFlipped bug.
Merge pull request #6519 from natural-law/v3

Fix the error in cocos2d-console when rename files on windows.
fix indent
Merge pull request #6520 from boyu0/set_value_asbool_return_false_default

Change Value::asBool() return false by default.
Merge pull request #6521 from boyu0/particle_yCoordFlipped_bug

Fix ParticleSystem yCoordFlipped bug.
[ci skip]
Merge pull request #6512 from dabingnn/v3_renderTextureBug

V3 render texture bug