Lee Thomason
|
a0744c8dca
fix implementation of much simpler visual studio printing
|
12 anos atrás |
Thomas Roß
|
268c683fbd
Use _vscprintf to calc length of expanded format string.
|
12 anos atrás |
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().
|
12 anos atrás |
Lee Thomason
|
7de26f7dc7
Merge remote-tracking branch 'origin/master'
|
12 anos atrás |
Lee Thomason
|
82d3200571
clean up some error checking logic
|
12 anos atrás |
Uli Kusterer
|
5d1d27e88b
Keep indentation control fully inside the XMLPrinter. You'll have to subclass it to override its standard behaviour by overwriting CompactMode().
|
12 anos atrás |
Uli Kusterer
|
07ac762b80
SetBoolFirstChild now makes sure its bool is not wrapped onto its own line.
|
12 anos atrás |
Uli Kusterer
|
b85b4e0a60
Merge branch 'pernodecompactwhitespace'
|
12 anos atrás |
Uli Kusterer
|
ca412e87f2
SetForceCompactMode() now also handles case of a single tag inside another correctly.
|
12 anos atrás |
Uli Kusterer
|
d5c9e8b81d
Added SetForceCompactMode() for overriding the compact setting on a per-node level. All sub-nodes will be printed compact as well.
|
12 anos atrás |
Uli Kusterer
|
593a33d061
Added SetForceCompactMode() for overriding the compact setting on a per-node level. All sub-nodes will be printed compact as well.
|
12 anos atrás |
Uli Kusterer
|
53fe47c74e
Remove long long stuff again.
|
12 anos atrás |
Uli Kusterer
|
35ce309f73
Urk, forgot to build this one after merging and goofed a bit.
|
12 anos atrás |
Uli Kusterer
|
2861a7e63a
Merge branch 'master' of https://github.com/leethomason/tinyxml2
|
12 anos atrás |
Lee Thomason
|
5bb2d8079b
add variants of SetText() to support types
|
12 anos atrás |
Uli Kusterer
|
664d05662e
Support for 'long long' number values.
|
12 anos atrás |
Uli Kusterer
|
ff8e2041dd
To bring BoolFirstChild() more in line with the other methods, reimplemented it in terms of a new QueryBoolFirstChild().
|
12 anos atrás |
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.
|
12 anos atrás |
Uli Kusterer
|
dcefa0e43f
Add typed convenience setters for SetText().
|
12 anos atrás |
Uli Kusterer
|
869bb599c1
Make SetText() behave like the docs say.
|
12 anos atrás |
Uli Kusterer
|
8fe342a872
Add SetText() as analog to GetText().
|
12 anos atrás |
Lee Thomason
|
44ce7930b7
Merge branch 'master' of https://github.com/leethomason/tinyxml2
|
12 anos atrás |
Lee Thomason
|
c3708ccf08
implement a fix to floating point precision as proposed by schuellc.
|
12 anos atrás |
Daniel Marjamäki
|
ba4b328b3d
Fixed issue 147 (XMLDocument::LoadFile() may crash on non-regular file)
|
12 anos atrás |
psi
|
690ba07bda
you have to check len before accsessing "p".
|
12 anos atrás |
Lee Thomason
|
3b7927efb5
formatting tweaks
|
12 anos atrás |
Michael Daumling
|
ed52328ced
Insert() methods check for inserted XML to be in the same doc, and remove XML from old location if already inserted.
|
12 anos atrás |
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.
|
12 anos atrás |
PKEuS
|
1bfb95488f
Added depth as constructor argument to XMLPrinter. This way, XML files that are not written with XMLDocument can be properly indented.
|
12 anos atrás |
PKEuS
|
1c5f99e37c
Fixed two cppcheck messages
|
12 anos atrás |