Commit Graph

215 Commits

Author SHA1 Message Date
Lee Thomason 327d5c142e Merge branch 'properStrPairAssignment' of https://github.com/Dmitry-Me/tinyxml2 into Dmitry-Me-properStrPairAssignment 2014-11-15 17:46:23 -08:00
Lee Thomason 92e521b431 add simple test for not-crashing 2014-11-15 17:45:51 -08:00
Lee Thomason 4de01a9489 Merge pull request #218 from Dmitry-Me/enableLeakTracing
Enable dump of debug heap memory leaks
2014-10-30 14:17:34 -07:00
Lee Thomason f07b952296 fix issue 184. clean up xcode project. 2014-10-30 13:25:12 -07:00
Dmitry-Me 99916599da Enable dump of debug heap memory leaks 2014-10-23 11:37:03 +04:00
Lee Thomason c755667aa0 add an error message 2014-09-14 12:39:42 -07:00
Lee Thomason 331596e83c clean up the scope and names of the error code. 2014-09-11 14:56:43 -07:00
numatrumpet 003368429f ErrorNames is not implemented by vector<string> but *char[] 2014-09-08 16:36:28 +09:00
numatrumpet bb5ffac22d Using C++11, XMLUtil::ToErrorName(XMLError) returns the name of error type 2014-09-06 22:56:46 +09:00
Serhat Eser Erdem ca5d684a2b Fixed _CRT_SECURE_NO_WARNINGS macro redefinition warning 2014-04-17 14:06:15 +02:00
Lee Thomason 5bb2d8079b add variants of SetText() to support types 2014-01-24 10:42:57 -08:00
Lee Thomason 9c0678a01d trim the test cases and review 2014-01-24 10:18:27 -08:00
Uli Kusterer 321072ee0b Add tests for SetText(). 2014-01-22 04:55:19 +01:00
Lee Thomason c3708ccf08 implement a fix to floating point precision as proposed by schuellc. 2014-01-14 12:30:03 -08:00
Lee Thomason 3b7927efb5 formatting tweaks 2013-10-26 21:50:46 -07:00
Michael Daumling ed52328ced Insert() methods check for inserted XML to be in the same doc, and remove XML from old location if already inserted. 2013-10-23 07:47:29 +02:00
Lee Thomason (grinliz) db304256bb clean up the pass/fail logic, still return the same value from test if it fails 2013-07-31 12:24:52 -07:00
Bruno Dias 721b42da8e make the xmltest to return != 0, if one of the tests has failed. 2013-07-31 11:50:44 -03:00
Lee Thomason (grinliz) d6bd7360b8 fix floating point specifier and clean up a warning 2013-05-11 20:23:13 -07:00
Lee Thomason f76fe94012 Merge pull request #110 from pzychotic/tests
Small test addition and fix
2013-05-11 20:11:55 -07:00
Thomas Roß a5221869c2 Added test for return value of QueryDoubleAttribute(). 2013-05-11 10:22:12 +02:00
ddiproietto a8ae1f6a4d Fixed compilation under MINGW64
Necessary on mingw64 2.22
2013-05-05 18:42:52 +03:00
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
Lee Thomason 00770d2855 handles wip. not happy with const behavior 2012-03-28 17:48:44 -07:00
Lee Thomason 5708f814a6 handles wip. not happy with const behavior 2012-03-28 17:46:41 -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
Lee Thomason d7e033ec0c Merge branch 'master' of https://github.com/gamaral/tinyxml2 2012-03-20 13:01:26 -07:00
Lee Thomason 87e475a280 adding examples to the doc 2012-03-20 11:55:29 -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
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 (grinliz) 0a4df4019c fix some warnings 2012-02-27 20:50:52 -08:00
Lee Thomason 7d00b9ab95 Patching up incorrect boilerplate code. Added clone/equal methods. 2012-02-27 17:54:22 -08:00
Lee Thomason (grinliz) 5ce4d97945 fix deprecation function mess 2012-02-26 21:14:23 -08:00
Lee Thomason (grinliz) 9b093cc1ee Test on gcc. Fix warning. Fix uneeded params. Up VS debug to level 4 and fix warnings. 2012-02-25 21:30:18 -08:00
Lee Thomason (grinliz) 2a1cd27732 added a bunch of comments in 2012-02-24 17:37:53 -08:00
Lee Thomason (grinliz) 46a14cfec7 new element loop 2012-02-23 22:27:28 -08:00
Lee Thomason d627776dd3 The rest of the test cases. Some bugs, but should be a complete set. 2012-02-22 16:00:12 -08:00
Lee Thomason (grinliz) 68db57e452 UTF-8 tests passing. 2012-02-21 09:08:12 -08:00
Lee Thomason (grinliz) bd0a8ac60c Dream test passing. 2012-02-20 20:14:33 -08:00
U-Stream\Lee ae25a44d94 print to memory support 2012-02-17 17:48:16 -08:00
U-Stream\Lee 09a11c5964 test cases. Working out attribute interface. 2012-02-17 08:31:16 -08:00
Lee Thomason 1ff38e0a5c working with attributes. adding missing methods 2012-02-14 18:18:16 -08:00
Lee Thomason ec5a7b4d18 testing infrastructur 2012-02-13 18:16:52 -08:00
Lee Thomason e9ecdabf94 memory tracking 2012-02-13 18:11:20 -08:00
Lee Thomason 50adb4ca8e sync 2012-02-13 15:07:09 -08:00
Lee Thomason 56bdd0259e improved the streamer interface so it doesn't require text parent. now possible to connect visitor and streamer. 2012-02-09 18:16:58 -08:00
Lee Thomason 43f59307cc integrated attributes into the placement new 2012-02-06 18:18:11 -08:00
Lee Thomason d198322032 finally have the placement new working as desired. 2012-02-06 08:41:24 -08:00
Lee Thomason 2c85a711f1 more refactoring. cleaning out container classes. 2012-01-31 08:24:24 -08:00
Lee Thomason 18d68bdf6b removed the char allocator. Started cleaning up the document code. 2012-01-26 18:17:26 -08:00
Lee Thomason 8ee79897c0 added entity input support. 2012-01-25 17:44:30 -08:00
Lee Thomason 24767b05ab work on the streamer class. A little optimization to the string class. Formatting work. 2012-01-25 17:16:23 -08:00
Lee Thomason 5cae897775 pulled out streamer class. 2012-01-24 18:03:07 -08:00
Lee Thomason 67d6131d74 new element parsing. reasonable set of test cases. 2012-01-24 16:01:51 -08:00
Lee Thomason 5492a1c705 basic text support 2012-01-23 15:32:10 -08:00
Lee Thomason 22aead1c73 attribute support 2012-01-23 13:29:35 -08:00
Lee Thomason ec975cede8 iterate on parsing. 2012-01-23 11:42:06 -08:00
Lee Thomason 6ee99fc344 testing 2012-01-21 18:45:16 -08:00
Lee Thomason 39ede2487d reset name 2012-01-20 11:27:56 -08:00
Lee Thomason dadcdfad4a test cases in progress 2012-01-18 17:55:48 -08:00
Lee Thomason 8a5dfee8ce element and attribute code compiling 2012-01-18 17:43:40 -08:00
Lee Thomason fde6a756d1 another rev of text parsing. 2012-01-14 18:08:12 -08:00
U-Lama\Lee 4cee61104d basic structure in place. 2011-12-31 14:58:18 -08:00
U-Lama\Lee e13c3e653d initial checkin 2011-12-28 14:36:55 -08:00