ff8e2041dd
To bring BoolFirstChild() more in line with the other methods, reimplemented it in terms of a new QueryBoolFirstChild().
Uli Kusterer
2014-01-21 02:53:47 +01:00
4af5573f42
Tests for SetBoolFirstChild and BoolFirstChild.
Uli Kusterer
2014-01-21 02:36:47 +01:00
c1c20bb196
Bools should really be implemented as self-closing <true /> and <false /> tags, not as 0/1 inside a tag, so removing those SetText variants again, in favor of SetBoolFirstChild() and BoolFirstChild() methods.
Uli Kusterer
2014-01-21 02:23:20 +01:00
7411c08e90
Add tests for SetText().
Uli Kusterer
2014-01-21 01:57:38 +01:00
c3708ccf08
implement a fix to floating point precision as proposed by schuellc.
Lee Thomason
2014-01-14 12:30:03 -08:00
2ece2f1690
Merge pull request #150 from danmar/master
Lee Thomason
2014-01-10 13:35:19 -08:00
ba4b328b3d
Fixed issue 147 (XMLDocument::LoadFile() may crash on non-regular file)
Daniel Marjamäki
2014-01-10 21:37:27 +01:00
343a5ff3bd
Merge pull request #144 from sopvop/patch-1
Lee Thomason
2013-12-12 13:47:11 -08:00
3dacebf8ee
add TINYXML2_EXPORT define when building shared lib
Leonid Onokhov
2013-12-12 15:07:34 +03:00
61871d60a6
Fix up the readme, add attribution for the logo.
Lee Thomason
2013-12-05 11:44:38 -08:00
ce0510ba2d
rename Reset to Clear to be consistent with XMLDocument
Lee Thomason
2013-11-26 21:29:37 -08:00
3bc3d4e24c
Added a method to reset the memory buffer to the XMLPrinter class.
Reinhard Klambauer
2013-11-22 14:05:21 +01:00
4e74b13e7a
Added a method to reset the memory buffer of the DynArray class.
Reinhard Klambauer
2013-11-22 14:01:58 +01:00
370761b179
Merge pull request #140 from ledyba/check_data_len
Lee Thomason
2013-11-05 10:52:04 -08:00
690ba07bda
you have to check len before accsessing "p".
psi
2013-11-03 10:54:33 +09:00
e1979a883b
Merge pull request #139 from dennisjenkins75/master
Lee Thomason
2013-10-26 21:53:16 -07:00
5613cb9237
up the version
Lee Thomason
2013-10-26 21:52:35 -07:00
3b7927efb5
formatting tweaks
Lee Thomason
2013-10-26 21:50:46 -07:00
68a1c93e2e
Grammar error: there -> their.
Dennis Jenkins
2013-10-25 23:01:34 -05:00
ed52328ced
Insert() methods check for inserted XML to be in the same doc, and remove XML from old location if already inserted.
Michael Daumling
2013-10-23 07:47:29 +02:00
ab42b16bac
Merge pull request #136 from FreakC/master
Lee Thomason
2013-10-22 11:36:29 -07:00
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.
Michael Daumling
2013-10-22 17:03:37 +02:00
927fe73c5b
Merge pull request #133 from dennisjenkins75/master
Lee Thomason
2013-10-16 13:59:10 -07:00
d31021392a
Changed indentation style to match tinyxml2 project.
Dennis Jenkins
2013-10-11 16:59:49 -05:00
bc785155f2
Changed indentation style to match tinyxml2 project.
Dennis Jenkins
2013-10-11 16:55:14 -05:00
9460e5093c
Demo/example/contrib of using tinyxml2 to generate confomant HTML5.
Dennis Jenkins
2013-10-11 16:48:55 -05:00
44ba601c5f
Merge pull request #131 from dennisjenkins75/master
Lee Thomason
2013-10-10 22:10:29 -07:00
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).
Dennis Jenkins
2013-10-08 13:10:07 -05:00
74a81cf1d9
minor readme update
Lee Thomason
2013-09-12 23:59:43 -07:00
1f83145cb4
Merge branch 'master' of github.com:leethomason/tinyxml2
Lee Thomason
2013-09-12 23:53:47 -07:00
1688114e55
add logo
Lee Thomason
2013-09-12 23:53:08 -07:00
03238517b3
Merge pull request #125 from PKEuS/master
Lee Thomason
2013-08-05 13:04:27 -07:00
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
PKEuS
2013-08-04 13:51:17 +02:00
db304256bb
clean up the pass/fail logic, still return the same value from test if it fails
Lee Thomason (grinliz)
2013-07-31 12:24:52 -07:00
70d343f513
Merge pull request #124 from diasbruno/makefile-test
Lee Thomason
2013-07-31 12:21:42 -07:00
8b482728ef
Merge pull request #123 from diasbruno/xmltest-return
Lee Thomason
2013-07-31 12:21:25 -07:00
9c1ef1d4a3
Merge pull request #120 from PKEuS/master
Lee Thomason
2013-07-31 12:15:53 -07:00
032aa1b96c
added test rule.
Bruno Dias
2013-07-31 12:01:12 -03:00
721b42da8e
make the xmltest to return != 0, if one of the tests has failed.
Bruno Dias
2013-07-31 11:50:44 -03:00
95060350bd
Removed dllexport/import attribute from private class, disable related warning C4251
PKEuS
2013-07-26 10:42:44 +02:00
0c55c70b11
Improved output paths in VS solution
PKEuS
2013-07-06 12:19:04 +02:00
16ed47dc14
Added support for building TinyXML as a .lib or .dll
PKEuS
2013-07-06 12:02:43 +02:00
1c9250cab5
Merge pull request #119 from PKEuS/master
Lee Thomason
2013-07-07 17:37:22 -07:00
1c5f99e37c
Fixed two cppcheck messages
PKEuS
2013-07-06 11:28:39 +02:00