PKEuS
e736f294c5
XMLPrinter::accumulator is only needed if MSVC is used.
2012-07-16 03:27:55 -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
Lee Thomason
c78dc01bfd
removed extra and incorrect 'const'
2012-06-12 13:12:15 -07:00
Lee Thomason
78d450b54e
increase version
2012-06-04 17:05:58 -07:00
Lee Thomason
4cd8534a1e
actually add comments
2012-06-04 17:02:37 -07:00
Lee Thomason
7b1b86a1c9
removed confusing getter/setter. cleaned up comments.
2012-06-04 17:01:38 -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 (grinliz)
48ea0bcf80
renamed function, added test case
2012-05-26 14:41:14 -07:00
sniperbat
e01e786883
add a method to help get the size of the XML file in memory
2012-05-21 12:45:36 +08:00
Lee Thomason
a2ae54e40d
fix a missing [] in the delete call
2012-05-18 13:47:48 -07:00
Thomas Roß
08bdf50076
Fixed typos in code documentation.
2012-05-12 14:21:23 +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
0aa8a80fd7
Enough bake time. Up version to 1.0
2012-04-28 14:20:27 -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
Lee Thomason
d11cd169e6
minor whitespace cleanup
2012-04-12 08:35:36 -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)
8712757389
merging handles to the master
2012-04-07 20:56:38 -07:00
Lee Thomason (grinliz)
8871cd8437
add xmltest.h as a place to put the example docs, so they don't pollute the main file'
2012-04-06 21:40:08 -07:00
Lee Thomason (grinliz)
b9e791fa4e
simplify safe logic
2012-04-06 21:27:10 -07:00
Lee Thomason (grinliz)
598c13efa8
fix the safe function behavior
2012-04-06 21:18:23 -07:00
Lee Thomason (grinliz)
ae209f6aed
added docs. basic handles tests
2012-04-04 22:00:07 -07:00
Lee Thomason (grinliz)
70e9c6b6a0
Merge branch 'master' into handles
2012-04-04 21:38:17 -07:00
Lee Thomason
8b89981989
gave up trying to be clever. split the handles into 2 classes.
2012-04-04 15:58:16 -07:00
Lee Thomason
db0bbb60a1
handles work
2012-04-04 15:47:04 -07:00
Lee Thomason (grinliz)
c8678e2fcc
upped the version
2012-04-04 12:39:53 -07:00
Lee Thomason (grinliz)
6a22be220a
Added proper examples, integrated them into xmltest, and make them part of the build.
2012-04-04 12:39:05 -07:00
Lee Thomason
5761203084
trying to get template to work
2012-04-03 16:43:22 -07:00
Lee Thomason
5708f814a6
handles wip. not happy with const behavior
2012-03-28 17:46:41 -07:00
Lee Thomason
3ffdd39dbf
handles wip
2012-03-28 17:27:55 -07:00
Lee Thomason
b411b8e3c1
Merge branch 'master' of https://github.com/gamaral/tinyxml2
2012-03-25 13:20:03 -07:00
Lee Thomason
3a68262c67
minor doc fix
2012-03-25 13:19:40 -07:00
Guillermo A. Amaral
9a6c6b84a1
Tackled more Clang analyzer warnings.
2012-03-24 17:13:25 -07:00
Lee Thomason
e923c5c4c3
upped the version.
2012-03-24 13:07:06 -07:00
Lee Thomason
9225815378
cleaned up the documentation
2012-03-24 13:05:39 -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
Guillermo A. Amaral
68b0c87640
Fix debug build (MSVC 2003-2010)
2012-03-24 11:07:19 -07:00
Lee Thomason
876b2476d5
updated the version
2012-03-20 13:28:02 -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
Guillermo A. Amaral
b42ba366d8
Resolve Clang and GCC compiler warnings.
2012-03-20 00:17:15 -07:00
Lee Thomason
52913d12c9
add missing header for mac
2012-03-13 19:51:59 -07:00
Lee Thomason (grinliz)
ea09bd065b
fixed up headers.
2012-03-10 20:25:31 -08:00
Lee Thomason (grinliz)
7ca5558bca
removed the pointer-diff
2012-03-07 21:54:57 -08:00
Lee Thomason
6f381b7739
Added performance test and option to leave entities
2012-03-02 12:59:39 -08:00
Lee Thomason
2705731775
add version info
2012-03-02 09:04:53 -08:00