Lots of changes in regards to strings, as follows:
author Naram Qashat
()
committer Naram Qashat
()
commit fe3d6ae46fbf514a434a79cc373f7b27882b3dd8
tree 3f6fa8f9b58b344159836870cd490e0c35a88784
parent c4278e03fe48c78ecad2dfa2404e115d7b127297
Lots of changes in regards to strings, as follows:

* Removed my custom String class, as well as removed the really old
Unicode ConvertUTF, the UTF Converter, and the UTF Encode/Decode
functions.
* Replaced the above with using standard C++ std::wstring_convert and
std::codecvt_utf8.
* Added headers adapted from llvm's libc++ project for allowing the
above C++ classes to exist with GCC and Clang when libc++ isn't being
used.
* Used std::string over std::wstring whenever possible.
* Added header adapted from llvm's libc++ project to create special
versions of the ifstream and ofstream classes that would utilize _wfopen
on non-MSVC Windows compilers, so those compilers could access files on
Windows that use characters outside the current codepage.
* Removed the -static-libgcc and -static-libstdc++ flags from the
Makefile for non-MSVC builds. The generated DLLs will require extra DLLs
from either Cygwin or MinGW (whichever is used to compile), I've only
tested with MinGW and for some reason they crash Winamp on exit, I have
no idea why.
34 files changed:
src/Makefile
src/in_2sf/XSFConfig_2SF.cpp
src/in_2sf/XSFPlayer_2SF.cpp
src/in_gsf/XSFConfig_GSF.cpp
src/in_gsf/XSFPlayer_GSF.cpp
src/in_ncsf/XSFConfig_NCSF.cpp
src/in_ncsf/XSFPlayer_NCSF.cpp
src/in_ncsf/XSFPlayer_NCSF.h
src/in_snsf/XSFConfig_SNSF.cpp
src/in_snsf/XSFConfig_SNSF.h
src/in_snsf/XSFPlayer_SNSF.cpp
src/in_xsf_framework/BigSString.h [ deleted file ]
src/in_xsf_framework/ConvertUTF.cpp [ deleted file ]
src/in_xsf_framework/ConvertUTF.h [ deleted file ]
src/in_xsf_framework/DialogBuilder.h
src/in_xsf_framework/UTFEncodeDecode.cpp [ deleted file ]
src/in_xsf_framework/UTFEncodeDecode.h [ deleted file ]
src/in_xsf_framework/UtfConverter.cpp [ deleted file ]
src/in_xsf_framework/UtfConverter.h [ deleted file ]
src/in_xsf_framework/XSFCommon.h
src/in_xsf_framework/XSFConfig.cpp
src/in_xsf_framework/XSFConfig.h
src/in_xsf_framework/XSFConfig_Winamp.cpp
src/in_xsf_framework/XSFFile.cpp
src/in_xsf_framework/XSFFile.h
src/in_xsf_framework/XSFPlayer.cpp
src/in_xsf_framework/XSFPlayer.h
src/in_xsf_framework/codecvt.h [ new file with mode 0644 ]
src/in_xsf_framework/convert.h
src/in_xsf_framework/fstream_wfopen.h [ new file with mode 0644 ]
src/in_xsf_framework/in_xsf.cpp
src/in_xsf_framework/in_xsf_framework.vcxproj
src/in_xsf_framework/in_xsf_framework.vcxproj.filters
src/in_xsf_framework/wstring_convert.h [ new file with mode 0644 ]