Commit Graph

93 Commits

Author SHA1 Message Date
Lee Thomason (grinliz) d0a38c3a20 fix BOM preservation bugs. add new tests 2013-04-29 09:15:37 -07:00
Vasily Biryukov 1cfafd0d24 Fixed: LoadFile() returns XML_NO_ERROR for empty documents. 2013-04-20 14:12:33 +06:00
Andrew C. Martin 0fd8746f64 correct typos in comments / documentation 2013-03-09 20:09:45 -07:00
Lee Thomason (grinliz) 5efaa5f6bb Add the (very handy) QueryAttribute 2013-02-01 19:26:30 -08:00
Lee Thomason (grinliz) ac83b4e278 adjust the size of the memory pools 2013-02-01 09:02:34 -08:00
Martinsh Shaiters 53ab79afad Add unit test for XMLDocument::Clear(). 2013-01-30 11:22:19 +02:00
Lee Thomason 0aecb5c770 Merge remote-tracking branch 'martinsh/issue#53-fix' 2013-01-28 07:23:19 -08:00
Martinsh Shaiters 95b3e6543b Add test case for element names with leading digit. 2013-01-26 23:08:10 +02:00
Martinsh Shaiters 23e7ae6085 Add test for lead non-alpha characters in attribute names. 2013-01-26 20:15:44 +02:00
Lee Thomason 178e4ccd5b Add file load to xmltest. 2013-01-25 16:19:05 -08:00
Martinsh Shaiters c9c8b77d87 Moves example documentation from xmltest.h to xmltest.cpp 2013-01-16 02:08:19 +02:00
Martinsh Shaiters 39ddc268cb Adds conditional include of io.h when compiling with MinGW 2013-01-15 21:53:08 +02:00
Lee Thomason a6412ac2d5 add a printing test 2012-12-13 15:39:11 -08:00
Lee Thomason 5b0a677712 fix incorrect assert on unused memory 2012-11-19 13:54:42 -08:00
Lee Thomason 2fa8172236 type XMLError. fix some comments 2012-11-09 12:37:46 -08:00
Lee Thomason ae9ab0741e test case for unlinked nodes, commented out 2012-10-24 10:17:53 -07:00
Lee Thomason (grinliz) 99024dc20b Merge branch 'master' of github.com:leethomason/tinyxml2 2012-09-23 20:26:12 -07:00
Lee Thomason (grinliz) fc6320e30a experimented with print f vs. g. increased version 2012-09-23 20:25:50 -07:00
Thomas Roß 0922b7389f Replaced pragmas with compiler define. 2012-09-23 16:31:22 +02:00
Lee Thomason (grinliz) e2bcb32494 accept a nBytes argument for Parse() 2012-09-17 17:58:25 -07:00
Lee Thomason (grinliz) 2f1f6247e0 remove trailing spaces 2012-09-16 11:32:34 -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) 6b8b012daa added test case for compact save 2012-09-08 21:21:00 -07:00
Lee Thomason (grinliz) bc1bfb7f27 added whitespace=collapse support. tests work. code needs review 2012-08-20 22:00:38 -07:00
Thomas Roß a6dd8c66cf Fixed path to utf8testout.xml. 2012-07-26 20:42:18 +02: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 c83127973d fix some compiler warnings, and fragile code, in the test output 2012-07-16 12:44:41 -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 7b1b86a1c9 removed confusing getter/setter. cleaned up comments. 2012-06-04 17:01:38 -07:00
Lee Thomason (grinliz) 48ea0bcf80 renamed function, added test case 2012-05-26 14:41:14 -07:00
Bruno Dias a2d4e6e943 moving xmls and txts to the resources folder. 2012-05-07 04:58:11 -03: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 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 d0b19df88c fix sleazy cast causing compilation issue 2012-04-12 08:41:37 -07:00
Lee Thomason (grinliz) 8712757389 merging handles to the master 2012-04-07 20:56:38 -07:00
Lee Thomason (grinliz) a4a36ba3c2 remove random -1 in length 2012-04-06 21:24:29 -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) 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