diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7f29df5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.directory +*.exe +cmake-build-debug/ +\.idea/ diff --git a/include/moFileReader.h b/include/moFileReader.h index 6cccc0c..8febf15 100644 --- a/include/moFileReader.h +++ b/include/moFileReader.h @@ -87,12 +87,6 @@ * See moReader[.exe] --help for details. * You will find the libraries in %%projectdir%%/lib and the binary in %%projectdir%%/bin * - *

Compilation via provided batch-files (woe32 only)

- * - * - Call compile_vc.bat or compile_mingw.bat with one of these options: - * - DLL - Compiles as dynamic loaded module. - * - LIB - Compiles as static library. - * - EXE - Compiles the executable. * *

None of those?

* @@ -121,9 +115,7 @@ * so it should work on all machines where a C++-runtime is provided. * * \note We do not yet support .mo-Files with reversed magic-numbers, since I don't have - * a file to test it and I hate to release stuff I wasn't able to test. - * If you can provide such a file with reversed bytes, please compile %%projectdir%%/bin/i18n/de/moTest.po with - * gettext or poEdit and send it to scorcher24 [at] gmail [dot] com. + * a file to test it and I hate to release stuff I wasn't able to test. * *

Changelog

* @@ -159,8 +151,7 @@ * All other Trademarks are property of their respective owners. \n * \n * Thanks for using this piece of OpenSource-Software.\n - * If you (dis)like it or have suggestions, questions, patches etc, please don't hesitate to write to my email-adress: scorcher24 [at] gmail [dot] com. - * Submit patches and/or bugs on http://mofilereader.googlecode.com. You must register with googlemail to sign in. + * Submit patches and/or bugs on https://github.com/AnotherFoxGuy/MofileReader. * Send your flames, dumb comments etc to /dev/null, thank you. */ diff --git a/src/mo.cpp b/src/mo.cpp index 9e5dea0..8753dcf 100644 --- a/src/mo.cpp +++ b/src/mo.cpp @@ -126,7 +126,7 @@ int main( int, char** argv ) std::cout << "This program is part of the moReaderSDK written by Domenico Gentner." << std::endl; std::cout << "Released under the Terms of the MIT-License." << std::endl; std::cout << "Type " << appname << " --license to view it." << std::endl; - std::cout << "Get all News and Updates from http://mofilereader.googlecode.com." << std::endl; + std::cout << "Get all News and Updates from https://github.com/AnotherFoxGuy/MofileReader." << std::endl; return EXIT_SUCCESS; } else if ( std::string(argv[1]) == "--license" ) diff --git a/src/moFileReader.cpp b/src/moFileReader.cpp index 1b345fb..1c95380 100644 --- a/src/moFileReader.cpp +++ b/src/moFileReader.cpp @@ -369,16 +369,17 @@ moFileReader::eErrorCode moFileReader::ExportAsHTML(std::string infile, std::str std::ofstream stream(htmlfile.c_str()); if ( stream.is_open() ) { - stream << "" << std::endl; + stream << R"()" + << std::endl; stream << "" << std::endl; - stream << "" << std::endl; + stream << R"()" << std::endl; stream << "Dump of " << fname << "" << std::endl; stream << "" << std::endl; stream << "
" <" << fname << "" << std::endl; - stream << "" << std::endl; + stream << R"(
Project Info
)" << std::endl; std::stringstream parsee; parsee << reader.Lookup(""); @@ -400,7 +401,7 @@ moFileReader::eErrorCode moFileReader::ExportAsHTML(std::string infile, std::str stream << "
" << std::endl; // Now output the content - stream << "
Project Info
" << std::endl; + stream << R"(
Content
)" << std::endl; for ( moLookupList::const_iterator it = reader.m_lookup.begin(); it != reader.m_lookup.end(); it++) { @@ -412,7 +413,7 @@ moFileReader::eErrorCode moFileReader::ExportAsHTML(std::string infile, std::str stream << "
Content

" << std::endl; stream << "
" << std::endl; - stream << "
File generated by moFileReaderSDK
" << std::endl; + stream << R"(
File generated by moFileReaderSDK
)" << std::endl; stream << "" << std::endl; stream.close(); } @@ -442,7 +443,7 @@ void moFileReader::Trim(std::string& in) bool moFileReader::GetPoEditorString(const char* buffer, std::string& name, std::string& value) { std::string line(buffer); - size_t first = line.find_first_of(":"); + size_t first = line.find_first_of(':'); if ( first != std::string::npos ) { diff --git a/test/.gitignore b/test/.gitignore deleted file mode 100644 index 78c5494..0000000 --- a/test/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/*.exe diff --git a/test/test.html b/test/test.html index 832e5a4..aea6ae4 100644 --- a/test/test.html +++ b/test/test.html @@ -27,5 +27,5 @@ body { background-color: black; color: silver;}table {width: 80%;}th {back String English TwoZeichenkette Englisch Zwei
-
File generated by moFileReaderSDK
+
File generated by moFileReaderSDK