Commit Graph

176 Commits

Author SHA1 Message Date
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
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
Lee Thomason a2ae54e40d fix a missing [] in the delete call 2012-05-18 13:47:48 -07:00
Lee Thomason b3fcf26e0e Merge branch 'master' of https://github.com/pzychotic/tinyxml2 2012-05-15 10:31:50 -07:00
hasufell aba89e3f76 Add rules for setversion.py to include CMakeLists.txt 2012-05-14 23:59:42 +02:00
Lee Thomason ee87c620c8 possible missing header 2012-05-14 09:27:47 -07:00
Thomas Ro 08bdf50076 Fixed typos in code documentation. 2012-05-12 14:21:23 +02:00
Thomas Ro c4ae8a9a2d Removed unused variable from CMakeLists.txt 2012-05-12 02:02:31 +02:00
Thomas Ro d08dff9216 Fixed CMakeLists.txt for moved .xml files. 2012-05-12 02:00:40 +02:00