b6ea923f0fMerge branch 'Dmitry-Me-makeCodeMoreDefensive'
Lee Thomason
2014-08-23 16:16:38 -0700
63f3de1a3cMake code more defensive * initialize out-parameter for cases the callee fails to * add assert for length being within range * replace post-assert with pre-assert
Dmitry-Me
2014-08-21 12:33:19 +0400
dc50a31758Merge pull request #197 from Dmitry-Me/dontAdjustStartWhenNeedsDelete
Lee Thomason
2014-08-20 10:03:43 -0700
67a5bb0ac1Assert when trying to adjust _start in "needs delete" mode.
Dmitry-Me
2014-08-20 10:01:53 +0400
0b26702ac9Merge pull request #196 from Dmitry-Me/wrapFopenCalls
Lee Thomason
2014-08-19 11:18:52 -0700
01578db56bWrap fopen()/fopen_s() calls to avoid duplication
Dmitry-Me
2014-08-19 10:18:48 +0400
2af5679b26Merge pull request #194 from Dmitry-Me/fixCStyleCast
Lee Thomason
2014-08-17 14:55:39 -0700
5657176b61Replace C-style cast with static_cast
Dmitry-Me
2014-08-15 11:03:47 +0400
73c822c201Merge pull request #193 from Dmitry-Me/shouldCheckFtellForError
Lee Thomason
2014-08-14 16:46:13 -0700
acb9c9c260Check ftell() result for error code before using it.
Dmitry-Me
2014-08-04 09:49:25 +0400
fca00d0ebcMerge pull request #191 from Dmitry-Me/dontIgnoreFgetcReturnValue
Lee Thomason
2014-08-03 11:17:04 -0700
08e7f7be59fgetc() is not required to clear the error indicator on success
Dmitry-Me
2014-07-31 15:19:14 +0400
84bd9624c6Merge pull request #190 from pffang/master
Lee Thomason
2014-07-12 11:22:30 -0700
613410095cProvide finer control over indentation inside the XMLPrinter. You'll have to subclass it to override its standard behaviour by overwriting CompactMode().
Uli Kusterer
2014-02-22 17:17:25 +0100
5f88e72691fix the build script. set the build properly
Lee Thomason
2014-02-21 22:57:38 -0800
7de26f7dc7Merge remote-tracking branch 'origin/master'
Lee Thomason
2014-02-21 22:47:21 -0800
82d3200571clean up some error checking logic
Lee Thomason
2014-02-21 22:47:18 -0800
c18eb23326spelling fixes and make PrintSpace() virtual and protected.
Lee Thomason
2014-02-21 17:31:17 -0800
f0b5602d72Keep indentation control fully inside the XMLPrinter. You'll have to subclass it and override CompactMode() to modify its indentation from the default.
Uli Kusterer
2014-02-20 11:50:22 +0100
5d1d27e88bKeep indentation control fully inside the XMLPrinter. You'll have to subclass it to override its standard behaviour by overwriting CompactMode().
Uli Kusterer
2014-02-20 11:50:22 +0100
07ac762b80SetBoolFirstChild now makes sure its bool is not wrapped onto its own line.
Uli Kusterer
2014-02-01 15:06:50 +0100
ca412e87f2SetForceCompactMode() now also handles case of a single tag inside another correctly.
Uli Kusterer
2014-02-01 13:35:05 +0100
15354f88c3Give tests a few more chances to fail, e.g. on tag sequences or attributes.
Uli Kusterer
2014-02-01 13:06:39 +0100
d5c9e8b81dAdded SetForceCompactMode() for overriding the compact setting on a per-node level. All sub-nodes will be printed compact as well.
Uli Kusterer
2014-02-01 12:48:51 +0100
593a33d061Added SetForceCompactMode() for overriding the compact setting on a per-node level. All sub-nodes will be printed compact as well.
Uli Kusterer
2014-02-01 12:48:51 +0100
53fe47c74eRemove long long stuff again.
Uli Kusterer
2014-01-27 01:47:30 +0100
35ce309f73Urk, forgot to build this one after merging and goofed a bit.
Uli Kusterer
2014-01-25 03:37:16 +0100
5bb2d8079badd variants of SetText() to support types
Lee Thomason
2014-01-24 10:42:57 -0800
9c0678a01dtrim the test cases and review
Lee Thomason
2014-01-24 10:18:27 -0800
2f647030f2Support for 'long long' number values.
Uli Kusterer
2014-01-21 12:24:47 +0100
e712734abcBools 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 +0100
ff8e2041ddTo 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 +0100
4af5573f42Tests for SetBoolFirstChild and BoolFirstChild.
Uli Kusterer
2014-01-21 02:36:47 +0100
c1c20bb196Bools 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 +0100
7411c08e90Add tests for SetText().
Uli Kusterer
2014-01-21 01:57:38 +0100