Commit Graph

617 Commits

Author SHA1 Message Date
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
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
Lee Thomason e638a925b2 sync 2012-05-11 10:38:54 -07:00
Thomas Ro 7d7a9a37bd fixed VS2010 x64 compiler warnings about possible loss of data 2012-05-10 00:23:19 +02:00
hasufell b8249001e2 add support for soname/symlink 2012-05-09 23:30:29 +02:00
Bruno Dias a0802164d8 removed files that will be generated by the xmltest. 2012-05-07 05:09:03 -03:00
Bruno Dias 2553a13d0a added resources folder for txts and xmls. 2012-05-07 05:06:37 -03:00
Bruno Dias a2d4e6e943 moving xmls and txts to the resources folder. 2012-05-07 04:58:11 -03:00
hasufell 73c5370d0c rm xmltest.h from installed headers 2012-05-05 00:32:02 +02:00
hasufell 0a68d002b5 Add BUILD_STATIC_LIBS option, install headers 2012-05-05 00:18:25 +02:00
Lee Thomason f68c438ee2 added new test for BOM, and added good defaults for NewDeclaration 2012-04-28 14:37:11 -07:00