Archived CMarkup 10.0 Release Notes
Release 10.0 Date: September 27, 2008
Sorry it took so long to get this out, but I think it will be worth your wait. There is a lot in this release like powerful map lookup features, HTML entities, and in the developer version: XML formatting.
But even more significant is the cross-platform improvements so that fewer tweaks are necessary in different compiler and build configurations. Now you don't have to set any precompiler defines to use CMarkup on OSX and Linux (just plop into your project), and in Visual Studio there is no more dependency on tchar.h which caused issues in different project configurations.
- Multiple maps and SetMapSize method to set hash table size for greater lookup and indexing power with SavePos and RestorePos
- Just pop Markup.cpp and Markup.h into your OSX and Linux C++ projects without configuration because you no longer need the
MARKUP_STLprecompiler define when not in Visual C++. See Unified CMarkup for STL and MFC - New support for MSVC safe strings (define
MARKUP_SAFESTR) available in Visual Studio 2005 (VC++ 8.0) forward, thanks Chris Dunford - New support in UnescapeText for 243 HTML entities such as ©
© - Removed dependency on tchar.h in Visual C++ builds (eliminated
MARKUP_STDCdefine). See Unified CMarkup for STL and MFC - Now Visual Studio non-
UNICODEbuilds will use Windows APIs rather than locale.h multibyte functions for charset conversions. See non-Unicode text handling in CMarkup and backwards compatibilty issue: - Backwards compatibility issue: Visual Studio non-
UNICODEbuilds must now defineMARKUP_STDCONVto usesetlocale, see non-Unicode text handling in CMarkup - Bit fields in tag length members provide clearer source code for memory checking software and programmer eyes
- Memory handling performance improvement for modifying same-size attribute values
- SetAttrib
MNF_WITHREFSflag for setting attribute values with numeric character references or entities - New function for ignorecase string compare to avoid dependency on non-standard C function
strnicmp, see strncmpi replacement for OSX and Linux - Memory performance improvement for document modifications by pre-allocating an extra 1% in
LoadorReadTextFile(see ReadTextFile) - To reduce imprint on your machine, the CMarkup test dialog now has logging and settings only when fully extracted to a test folder and only within that folder
- fix: miscellaneous warnings
- Cleaned up incorrect usage of wide string switch on single characters, thanks Chris Dunford
- fix: anywhere path when the current main position is before the first element
|
The new |
- New GetDocFormatted method returns formatted document text
See also:
Archived CMarkup Release Notes
