CMarkup 11.5 Release Notes
Release 11.5 Date: April 23, 2011, download
Fixes for whitespace trimming/collapsing, and file read mode, as well as some changes in compiler
#ifdef handling for
- QT Windows compiling
- end-of-line options
- fix: trim whitespace escaped chars
- fix: 64-bit compiler warnings for
- fix: (Dev only) file read mode bug
Using CMarkup with QT on Windows is easier now; you shouldn't have to do any tweaking of CMarkup to add it to your QT project. The changes involved special cases for GNUC when it is used on Windows. Either the
WIN32 (Windows.h) or
_WIN32 (Visual Studio) precompiler defines will let CMarkup know it is compiling for Windows.
In 11.3 and 11.4,
MDF_COLLAPSEWHITESPACE would remove an escaped char at the end of the trimmed data (see 11.3 Bug: trim whitespace removes escaped value).
On Linux and OS X, lines generated by CMarkup will now end with a newline by default instead of a Windows style CRLF (carriage return line feed), and the end-of-line setting can now be directed with preprocessor definitions. If you are on a non-Windows platform and want your CRLFs back, now you must add
MARKUP_EOL_CRLF to your preprocessor definitions.
|End Of Line Defines|
||For minimal size, documents will be on one line, but GetDocFormatted will not produce desired results|
The file read mode bug occurred with elements over 32k long that did not have child elements. This problem was only in file read mode where the Open method is used with
MDF_READFILE. See File read GetSubDoc incomplete.