Commit Graph

590 Commits

Author SHA1 Message Date
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 ab42b16bac Merge pull request #136 from FreakC/master
Issue #134
2013-10-22 11:36:29 -07:00
Michael Daumling 2162688ad3 Issue #134: Change 3 methods to not being inlined. They reference the StrPair class, which is not exported, thus creating linker problems with tinyxml2 in a DLL. 2013-10-22 17:03:37 +02:00
Lee Thomason 927fe73c5b Merge pull request #133 from dennisjenkins75/master
Small demo program to generate HTML5 via sub-classed tinyxml2::XMLPrinter
2013-10-16 13:59:10 -07:00
Dennis Jenkins d31021392a Changed indentation style to match tinyxml2 project. 2013-10-11 16:59:49 -05:00
Dennis Jenkins bc785155f2 Changed indentation style to match tinyxml2 project. 2013-10-11 16:55:14 -05:00
Dennis Jenkins 9460e5093c Demo/example/contrib of using tinyxml2 to generate confomant HTML5. 2013-10-11 16:48:55 -05:00
Lee Thomason 44ba601c5f Merge pull request #131 from dennisjenkins75/master
Minor tweaks to C++ encapsulation necessary to subclass XMLPrinter sufficiently to create XMLPrinterHTML5
2013-10-10 22:10:29 -07:00
Dennis Jenkins 59c75d3322 Added method DynArray::PeekTop(), provides useful abstraction in tinyxml2::XMLPrinterHTML5::CloseElement(). Made tinyxml2::CloseElement() and destructor virtual. Made tinyxml2::_SealElement(), _elementJustOpened and _stack all protected instead of private (needed in XMLPrinterHTML5 to selective prevent some elements from being self-closing). 2013-10-08 13:10:07 -05:00
Lee Thomason 74a81cf1d9 minor readme update 2013-09-12 23:59:43 -07:00
Lee Thomason 1f83145cb4 Merge branch 'master' of github.com:leethomason/tinyxml2 2013-09-12 23:53:47 -07:00
Lee Thomason 1688114e55 add logo 2013-09-12 23:53:08 -07:00
Lee Thomason 03238517b3 Merge pull request #125 from PKEuS/master
Added depth as constructor argument to XMLPrinter
2013-08-05 13:04:27 -07:00
PKEuS 1bfb95488f Added depth as constructor argument to XMLPrinter. This way, XML files that are not written with XMLDocument can be properly indented.
Removed unused forward declaration
2013-08-04 14:04:09 +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
Lee Thomason 70d343f513 Merge pull request #124 from diasbruno/makefile-test
added test rule.
2013-07-31 12:21:42 -07:00
Lee Thomason 8b482728ef Merge pull request #123 from diasbruno/xmltest-return
xmltest: if one of the tests has failed, return > 0.
2013-07-31 12:21:25 -07:00
Lee Thomason 9c1ef1d4a3 Merge pull request #120 from PKEuS/master
Added support for building TinyXML into a .dll or .lib
2013-07-31 12:15:53 -07:00
Bruno Dias 032aa1b96c added test rule. 2013-07-31 12:01:12 -03: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
PKEuS 95060350bd Removed dllexport/import attribute from private class, disable related warning C4251 2013-07-26 10:42:44 +02:00
PKEuS 0c55c70b11 Improved output paths in VS solution 2013-07-12 21:16:33 +02:00
PKEuS 16ed47dc14 Added support for building TinyXML as a .lib or .dll 2013-07-12 21:16:33 +02:00
Lee Thomason 1c9250cab5 Merge pull request #119 from PKEuS/master
Improved VS solution; fixed cppcheck messages
2013-07-07 17:37:22 -07:00
PKEuS 1c5f99e37c Fixed two cppcheck messages 2013-07-06 11:28:39 +02:00
PKEuS 632c57217c Improved VS solution: Added x64 configuration, enabled optimizations 2013-07-06 11:28:16 +02:00
Lee Thomason 392bcd2485 Merge pull request #114 from Vasily-Biryukov/doc
Small fixes in documentation
2013-05-20 13:00:15 -07:00
Vasily Biryukov 9a975b7bdb Small fixes in documentation 2013-05-19 17:01:05 +06:00
Lee Thomason def0d2131a Merge pull request #112 from gupascal/master
Add a Code::Blocks project
2013-05-12 20:52:52 -07:00
Lee Thomason 6db1321100 Merge pull request #111 from pzychotic/master
Initialize pointers in constructor
2013-05-12 20:51:08 -07:00
Guillaume P d60fe35073 Add a Code::Blocks project. 2013-05-12 15:11:37 +02:00
Thomas Roß 6189231187 Initialize pointers to satisfy static code analyser. 2013-05-12 14:07:38 +02: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
Lee Thomason 6a0db4f7e6 Merge pull request #109 from pzychotic/master
Fixed compiler warning for x64 build
2013-05-11 20:10:59 -07:00
Lee Thomason 576003627c Merge pull request #108 from ddiproietto/patch-1
Fixed compilation under MINGW64
2013-05-11 20:08:23 -07:00
Thomas Roß a5221869c2 Added test for return value of QueryDoubleAttribute(). 2013-05-11 10:22:12 +02:00
Thomas Roß 36307f86da Fixed test input file not found when doing out-of-source builds. 2013-05-11 10:21:07 +02:00
Thomas Roß 1470edc595 Fixed compiler warning for x64 builds. 2013-05-10 15:44: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
Lee Thomason (grinliz) 1377fe7ec0 Merge branch 'master' of github.com:leethomason/tinyxml2 2013-04-20 15:11:42 -07:00
Lee Thomason 761c4c2ed5 Merge pull request #104 from Vasily-Biryukov/master
LoadFile() returns XML_NO_ERROR for empty documents
2013-04-20 15:11:24 -07:00
Lee Thomason (grinliz) 6faf169695 Merge branch 'master' of github.com:leethomason/tinyxml2 2013-04-20 14:58:12 -07:00
Lee Thomason (grinliz) 43229f91d4 whitespace 2013-04-20 14:57:59 -07:00
Vasily Biryukov 1cfafd0d24 Fixed: LoadFile() returns XML_NO_ERROR for empty documents. 2013-04-20 14:12:33 +06:00
Lee Thomason c510a8c76e Merge pull request #100 from selfpoised/master
minor change: from " *end != 0 => *_end != 0"
2013-03-13 12:58:37 -07:00
selfpoised 4dd59bcdf4 Update tinyxml2.h
*end != 0 => *_end != 0
2013-03-13 16:54:15 +08:00
selfpoised e77e19553d Update tinyxml2.h
format spaces
2013-03-13 14:08:29 +08:00
Lee Thomason 5a695f0e0c Merge pull request #99 from acmyo/typos
correct typos in comments / documentation
2013-03-09 20:40:55 -08:00