Lee Thomason
e7eb7d3327
Merge remote-tracking branch 'github/master'
2014-03-15 15:01:18 -07:00
Lee Thomason
5938e6f8a4
improving setversion.py
2014-03-15 15:00:54 -07:00
Thomas Roß
268c683fbd
Use _vscprintf to calc length of expanded format string.
2014-03-13 23:35:16 +01:00
Lee Thomason
85afe9c5c7
setting version consistent with new guidelines. (not tagging...yet).
2014-02-23 21:42:16 -08:00
Lee Thomason
6324acd9f9
Merge branch 'uliwitness-overridecompactmode'
2014-02-23 21:08:22 -08:00
Lee Thomason
f4a8fbbdf7
minor edit
2014-02-22 17:04:53 -08:00
Lee Thomason
e693488742
fix compilation warning.
2014-02-22 16:27:27 -08:00
Uli Kusterer
613410095c
Provide finer control over indentation inside the XMLPrinter. You'll have to subclass it to override its standard behaviour by overwriting CompactMode().
2014-02-22 17:19:08 +01:00
Lee Thomason
5f88e72691
fix the build script. set the build properly
2014-02-21 22:57:38 -08:00
Lee Thomason
7de26f7dc7
Merge remote-tracking branch 'origin/master'
2014-02-21 22:47:21 -08:00
Lee Thomason
82d3200571
clean up some error checking logic
2014-02-21 22:47:18 -08:00
Lee Thomason
c18eb23326
spelling fixes and make PrintSpace() virtual and protected.
2014-02-21 17:31:17 -08:00
Uli Kusterer
5d1d27e88b
Keep indentation control fully inside the XMLPrinter. You'll have to subclass it to override its standard behaviour by overwriting CompactMode().
2014-02-20 11:50:22 +01:00
Uli Kusterer
07ac762b80
SetBoolFirstChild now makes sure its bool is not wrapped onto its own line.
2014-02-01 15:06:50 +01:00
Uli Kusterer
b85b4e0a60
Merge branch 'pernodecompactwhitespace'
...
* pernodecompactwhitespace:
SetForceCompactMode() now also handles case of a single tag inside another correctly.
Give tests a few more chances to fail, e.g. on tag sequences or attributes.
Added SetForceCompactMode() for overriding the compact setting on a per-node level. All sub-nodes will be printed compact as well.
Conflicts:
xmltest.cpp
2014-02-01 13:38:04 +01:00
Uli Kusterer
ca412e87f2
SetForceCompactMode() now also handles case of a single tag inside another correctly.
2014-02-01 13:35:05 +01:00
Uli Kusterer
15354f88c3
Give tests a few more chances to fail, e.g. on tag sequences or attributes.
2014-02-01 13:06:39 +01:00
Uli Kusterer
d5c9e8b81d
Added SetForceCompactMode() for overriding the compact setting on a per-node level. All sub-nodes will be printed compact as well.
2014-02-01 12:57:57 +01:00
Uli Kusterer
593a33d061
Added SetForceCompactMode() for overriding the compact setting on a per-node level. All sub-nodes will be printed compact as well.
2014-02-01 12:48:51 +01:00
Uli Kusterer
53fe47c74e
Remove long long stuff again.
2014-01-27 01:47:30 +01:00
Uli Kusterer
35ce309f73
Urk, forgot to build this one after merging and goofed a bit.
2014-01-25 03:37:16 +01:00
Uli Kusterer
2861a7e63a
Merge branch 'master' of https://github.com/leethomason/tinyxml2
...
Conflicts:
tinyxml2.cpp
xmltest.cpp
2014-01-25 03:12:21 +01: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
Uli Kusterer
664d05662e
Support for 'long long' number values.
2014-01-21 12:24:47 +01:00
Uli Kusterer
4cd1f269c2
Added IntText(), UnsignedText(), DoubleText() and FloatText() convenience wrappers.
2014-01-21 02:54:36 +01:00
Uli Kusterer
ff8e2041dd
To bring BoolFirstChild() more in line with the other methods, reimplemented it in terms of a new QueryBoolFirstChild().
2014-01-21 02:53:47 +01:00
Uli Kusterer
4af5573f42
Tests for SetBoolFirstChild and BoolFirstChild.
2014-01-21 02:36:47 +01:00
Uli Kusterer
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.
2014-01-21 02:23:20 +01:00
Uli Kusterer
7411c08e90
Add tests for SetText().
2014-01-21 01:57:38 +01:00
Uli Kusterer
dcefa0e43f
Add typed convenience setters for SetText().
2014-01-21 01:36:41 +01:00
Uli Kusterer
869bb599c1
Make SetText() behave like the docs say.
2014-01-21 01:36:16 +01:00
Uli Kusterer
85fff5e50a
Add comment for SetText().
2014-01-21 01:35:30 +01:00
Uli Kusterer
8fe342a872
Add SetText() as analog to GetText().
2014-01-21 01:12:47 +01:00
Lee Thomason
44ce7930b7
Merge branch 'master' of https://github.com/leethomason/tinyxml2
2014-01-14 12:30:18 -08: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
2ece2f1690
Merge pull request #150 from danmar/master
...
Fixed issue 147 (XMLDocument::LoadFile() may crash on non-regular file)
2014-01-10 13:35:19 -08:00
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