manual merge from trunk

git-svn-id: https://svn.code.sf.net/p/mingw-w64/code@6462 4407c894-4637-0410-b4f5-ada5f102cad1
replace from experimental

git-svn-id: https://svn.code.sf.net/p/mingw-w64/code@6463 4407c894-4637-0410-b4f5-ada5f102cad1
Rotate 2013 log

git-svn-id: https://svn.code.sf.net/p/mingw-w64/code@6464 4407c894-4637-0410-b4f5-ada5f102cad1
New 2014 log

git-svn-id: https://svn.code.sf.net/p/mingw-w64/code@6465 4407c894-4637-0410-b4f5-ada5f102cad1
Bump to v4

git-svn-id: https://svn.code.sf.net/p/mingw-w64/code@6466 4407c894-4637-0410-b4f5-ada5f102cad1
Corrected _set_output_format, _get_output_format, and __lc_codepage functions for msvcrt version.
Thanks to Martell Malone, and Jacek Caban.


git-svn-id: https://svn.code.sf.net/p/mingw-w64/code@6467 4407c894-4637-0410-b4f5-ada5f102cad1