Commit Graph

183 Commits

Author SHA1 Message Date
Lee Thomason ac8e0ce21c only turn off deprecated warnings for test file 2012-09-23 14:06:43 -07:00
Thomas Roß 0922b7389f Replaced pragmas with compiler define. 2012-09-23 16:31:22 +02:00
Lee Thomason (grinliz) 2f1f6247e0 remove trailing spaces 2012-09-16 11:32:34 -07:00
Lee Thomason (grinliz) 6da5410110 changes for martell to clean up fopen 2012-09-09 22:05:49 -07:00
Lee Thomason (grinliz) 79869e77f9 changes for martell to clean up fopen 2012-09-09 22:04:52 -07:00
Lee Thomason (grinliz) 9b6011c478 working out whitespace notes 2012-09-09 19:12:06 -07:00
Lee Thomason (grinliz) c5defa6b25 whitespace doc 2012-09-08 22:06:14 -07:00
Lee Thomason (grinliz) 0fa8299d99 whitespace tests and review 2012-09-08 21:53:47 -07:00
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
Lee Thomason (grinliz) 4dbe869cd7 increase the version 2012-09-08 21:23:33 -07:00
Lee Thomason (grinliz) 6b8b012daa added test case for compact save 2012-09-08 21:21:00 -07:00
Lee Thomason (grinliz) b476109083 Merge remote-tracking branch 'IOBYTE/master' 2012-09-08 21:15:11 -07:00
Lee Thomason (grinliz) 6020a01812 remove debug mem write when in release mode 2012-09-08 21:15:09 -07:00
Robert Reif 312a20fdd4 Add support to XMLDocument to save file in compact mode. 2012-09-08 19:33:57 -04:00
Martell 186476c665 Shut up visual studio 2012-09-06 16:41:46 +01:00
Lee Thomason (grinliz) bc1bfb7f27 added whitespace=collapse support. tests work. code needs review 2012-08-20 22:00:38 -07:00
Lee Thomason 77d7f206f6 fix typo in readme 2012-07-29 18:51:41 -07:00
Lee Thomason c38906b11c Merge pull request #46 from pzychotic/master
Fixed path to utf8testout.xml
2012-07-26 11:56:28 -07:00
Thomas Roß a6dd8c66cf Fixed path to utf8testout.xml. 2012-07-26 20:42:18 +02:00
Lee Thomason 4a69e7ec3d Merge pull request #44 from cxcaixinster/master
Fix reference to readme in visual studio project
2012-07-25 21:02:22 -07:00
cxcaixinster 385b28c1c7 Fix reference to readme in visual studio project 2012-07-26 10:51:57 +08:00
Lee Thomason e9699e6cd2 fix up mkdir on win vs. *nix 2012-07-25 12:24:23 -07:00
Arkadiy Shapkin ef1c69cf15 CreateDirectory replaced by cross-platform mkdir function 2012-07-25 22:10:39 +04:00
Arkadiy Shapkin ff72d1fb82 Intermediate files added to .gitignore 2012-07-24 00:24:07 +04:00
Lee Thomason f980fdcd22 Merge pull request #42 from KindDragon/master
Readme format changed to markdown
2012-07-21 18:15:16 -07:00
Arkadiy Shapkin 2204dda8fe Readme format changed to markdown 2012-07-21 02:40:57 +04:00
Lee Thomason c83127973d fix some compiler warnings, and fragile code, in the test output 2012-07-16 12:44:41 -07:00
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
Lee Thomason 6e0e38b372 Merge remote-tracking branch 'sniperbat/master' 2012-06-04 16:50:30 -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
hasufell 9a0eb46d71 Merge git://github.com/leethomason/tinyxml2 2012-05-26 23:51:47 +02:00
Lee Thomason (grinliz) 48ea0bcf80 renamed function, added test case 2012-05-26 14:41:14 -07:00
hasufell 2cc75b32b5 Merge pull request #2 from hyperair/master
Cosmetic fixes to CMakeLists.txt and a fix for out-of-source-tree builds when installing the .pc file
2012-05-23 17:58:58 -07:00
Chow Loong Jin 0eb8e9da08 Fix out of source installation with tinyxml2.pc 2012-05-24 02:44:19 +08:00
Chow Loong Jin abcdbd9112 Standardize style of CMakeLists.txt
1. Use lowercase commands everywhere
2. Use tabs for indentation
2012-05-23 19:42:36 +08:00
hasufell 7c1f52a437 Merge pull request #1 from hyperair/master
Add .pc file and use GNUInstallDirs for CMAKE_INSTALL_*DIR variables
2012-05-22 15:13:20 -07:00
Chow Loong Jin a1beafaff8 Add pkgconfig file 2012-05-23 06:02:20 +08:00
Chow Loong Jin e9f2abaf6c Use GNUInstallDirs for CMAKE_INSTALL_*DIR 2012-05-23 05:50:32 +08: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