Commit Graph

353 Commits

Author SHA1 Message Date
Daniel Marjamäki ba4b328b3d Fixed issue 147 (XMLDocument::LoadFile() may crash on non-regular file) 2014-01-10 21:37:27 +01:00
Lee Thomason 343a5ff3bd Merge pull request #144 from sopvop/patch-1
add TINYXML2_EXPORT define when building shared lib
2013-12-12 13:47:11 -08:00
Leonid Onokhov 3dacebf8ee add TINYXML2_EXPORT define when building shared lib
otherwise it exports no symbols and msvc does not create import .lib
2013-12-12 15:07:34 +03:00
Lee Thomason 61871d60a6 Fix up the readme, add attribution for the logo. 2013-12-05 11:44:38 -08:00
Lee Thomason ce0510ba2d rename Reset to Clear to be consistent with XMLDocument 2013-11-26 21:29:37 -08:00
Reinhard Klambauer 3bc3d4e24c Added a method to reset the memory buffer to the XMLPrinter class.
This enables to reset the printer memory to start again from the beginning.
2013-11-22 14:05:21 +01:00
Reinhard Klambauer 4e74b13e7a Added a method to reset the memory buffer of the DynArray class.
The the allocated memory will not be touched so the capacity keeps its current level.
2013-11-22 14:01:58 +01:00
Lee Thomason 370761b179 Merge pull request #140 from ledyba/check_data_len
you have to check len before accsessing "p".
2013-11-05 10:52:04 -08:00
psi 690ba07bda you have to check len before accsessing "p". 2013-11-03 10:54:33 +09:00
Lee Thomason e1979a883b Merge pull request #139 from dennisjenkins75/master
Grammar error: there -> their.
2013-10-26 21:53:16 -07:00
Lee Thomason 5613cb9237 up the version 2013-10-26 21:52:35 -07:00
Lee Thomason 3b7927efb5 formatting tweaks 2013-10-26 21:50:46 -07:00
Dennis Jenkins 68a1c93e2e Grammar error: there -> their. 2013-10-25 23:01:34 -05: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 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