Lee Thomason (grinliz)
62d1c5a739
fix merge
2012-09-08 21:44:12 -07:00
Lee Thomason (grinliz)
5fbacbec06
fix name parsing to accept additional lead characters
2012-09-08 21:40:53 -07:00
Lee Thomason (grinliz)
491d587484
Merge branch 'master' into whitespace
2012-09-08 21:24:00 -07:00
Robert Reif
312a20fdd4
Add support to XMLDocument to save file in compact mode.
2012-09-08 19:33:57 -04:00
Lee Thomason (grinliz)
bc1bfb7f27
added whitespace=collapse support. tests work. code needs review
2012-08-20 22:00:38 -07:00
PKEuS
c28ba3aeab
Fixed cppcheck warnings
2012-07-16 03:08:47 -07:00
Lee Thomason
21be882810
Moving string in/out into XMLUtil. Using that across the API. Supporting text queries of primitive types.
2012-07-15 17:27:22 -07:00
Lee Thomason
78a773ddd9
Fix attribute parsing to correctly handle white space
2012-07-02 10:10:19 -07:00
Lee Thomason (grinliz)
390e978da1
Fix infinite loop bug in ShallowEqual. Fix a warning with a re-interpret cast. Up version to 1.0.4
2012-07-01 21:22:53 -07:00
Lee Thomason
a3efec0449
clean up some warnings
2012-06-15 14:30:44 -07:00
sniperbat
2590088631
Add compact mode to XMLPrinter, for printing without '\n' and space.
...
let output file smaller.
usage:
//------------------------------------------------
XMLPrinter printer;
printer->SetCompactMode( true ); //enable compact mode
doc->Print( &printer );
SomeFunction( printer.CStr() );
//------------------------------------------------
or
//------------------------------------------------
//enable at construction
XMLPrinter printer( file, true ); // to file
//XMLPrinter printer( NULL, true ); // to men
doc->Print( &printer );
SomeFunction( printer.CStr() );
//------------------------------------------------
The '\n' and space in Text or Attribute will be kept.
2012-05-28 17:22:07 +08:00
Lee Thomason
ee87c620c8
possible missing header
2012-05-14 09:27:47 -07:00
Thomas Roß
7d7a9a37bd
fixed VS2010 x64 compiler warnings about possible loss of data
2012-05-10 00:23:19 +02:00
Lee Thomason
f68c438ee2
added new test for BOM, and added good defaults for NewDeclaration
2012-04-28 14:37:11 -07:00
Lee Thomason
9708885e5e
minor cleanup to the parsing loop
2012-04-18 11:39:42 -07:00
Lee Thomason
5e3803cac3
Better attribute system. Removes redundant list searching of LinkAttribute. Faster parsing on initial read. Added badly needed missing test cases.
2012-04-16 08:57:05 -07:00
Ken Miller
81da1fb26b
Made SaveFile symmetrical with LoadFile
...
Added overload taking a FILE pointer
Return error code (if any) instead of void
2012-04-09 23:32:26 -05:00
Lee Thomason (grinliz)
a4a36ba3c2
remove random -1 in length
2012-04-06 21:24:29 -07:00
Lee Thomason (grinliz)
598c13efa8
fix the safe function behavior
2012-04-06 21:18:23 -07:00
Lee Thomason (grinliz)
8a0975dfa7
minor warning fix
2012-03-31 20:09:20 -07:00
Guillermo A. Amaral
9a6c6b84a1
Tackled more Clang analyzer warnings.
2012-03-24 17:13:25 -07:00
Lee Thomason
8ba7f7d69b
Added the improved attribute query
2012-03-24 13:04:04 -07:00
Lee Thomason
7f7b162b6f
Add warning for the working directory. Verify win64 fix.
2012-03-24 12:49:03 -07:00
Lee Thomason
5ce8941553
a few formatting changes
2012-03-20 13:23:44 -07:00
Guillermo A. Amaral
2eb7003763
Misc adjustments and enum rename
...
Updated to use C++ headers
Fixed MSVC2010 collision
Added Makefile for xmltest (unix)
2012-03-20 11:51:40 -07:00