closed issue:5020:The game still oriented in landscape mode when update the describes of orientation to Portrait in 'MainPage.xaml'.
add a new utility function to capture the screen
replace tab with spaces; remove the 'flipped' parameter;
Merge branch 'screenshot' of github.com:visiblelight/cocos2d-x into screenshot
The target filename shuld use a writable path.
Merge branch 'screenshot' of github.com:visiblelight/cocos2d-x into screenshot
Now it shoudl run fine on iOS
getter always must be a const method.
Merge branch 'screenshot' of github.com:visiblelight/cocos2d-x into screenshot
replace more tabs with spaces to uniform the code styles.
replace std::function with const std::function&
fix the compile failure on win32.
move the utility from Renderer to UtilsHelper
move the method from ccUtils to Director
Merge branch 'FixNodeConst' of https://github.com/zifter/cocos2d-x into FixNodeConst

Conflicts:
	cocos/ui/UIListView.h
	cocos/ui/UIPageView.h
update the calculation of device pixel resolution
no need to use a singleton inside Director class
Android project improvements
(release/debug builds)
native debug support
issue #5183, refactor UILayoutExecutant doLayout method
Revert "Revert "Merge pull request #6752 from andyque/refactorLayout""

This reverts commit 1ed9b9749ea80ca56d13538613673144b09a8c2f.