Fixed crash
[First commit]Adding tools of best c++ practice for upgrading game codes from v2.x to v3.x
issue #3215: Comments add_namespace type in “all” mode.
issue #3215: Updating comments for this tool.
Merge branch 'develop' into develop_nutty_modify_bugfixed
HotFix: remove Mac platform Image::saveToFile assert
Fixed crash of reader
Merge pull request #4275 from boyu0/iss2771_physical

[ci skip]issue #2771: physical
Merge pull request #4288 from nutty898/develop_nutty_modify_bugfixed

[ci skip]Develop nutty modify bugfixed
Merge pull request #4291 from dabingnn/develop_hotFix

[ci skip]HotFix: remove Mac platform Image::saveToFile assert
fixed BatchNode's _children is empty, draw will crash
hot fix:Repair the crash of cocostudio and the bug of some lua test samples can't come in
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developCCS
Update the JS binding code & samples for latest cocos2d engine.
fix keypad test crash bug
Merge pull request #4294 from natural-law/develop

[ci skip]Update the JS binding code & samples for latest cocos2d engine.
Merge pull request #4298 from boyu0/fix_keypadtest_crash

[ci skip]fix keypad test crash bug
Merge pull request #4293 from 2youyouo2/develop

[ci skip]fixed BatchNode's _children is empty, draw will crash
Merge pull request #4295 from samuele3hu/developCCS

[ci skip]hot fix:Repair the crash of cocostudio and the bug of some lua test samples can't come in
fix crash of textinput test case