Lee Thomason
78a773ddd9
Fix attribute parsing to correctly handle white space
2012-07-02 10:10:19 -07:00
Lee Thomason (grinliz)
390e978da1
Fix infinite loop bug in ShallowEqual. Fix a warning with a re-interpret cast. Up version to 1.0.4
2012-07-01 21:22:53 -07:00
Lee Thomason
a3efec0449
clean up some warnings
2012-06-15 14:30:44 -07:00
sniperbat
2590088631
Add compact mode to XMLPrinter, for printing without '\n' and space.
...
let output file smaller.
usage:
//------------------------------------------------
XMLPrinter printer;
printer->SetCompactMode( true ); //enable compact mode
doc->Print( &printer );
SomeFunction( printer.CStr() );
//------------------------------------------------
or
//------------------------------------------------
//enable at construction
XMLPrinter printer( file, true ); // to file
//XMLPrinter printer( NULL, true ); // to men
doc->Print( &printer );
SomeFunction( printer.CStr() );
//------------------------------------------------
The '\n' and space in Text or Attribute will be kept.
2012-05-28 17:22:07 +08:00
Lee Thomason
ee87c620c8
possible missing header
2012-05-14 09:27:47 -07:00
Thomas Roß
7d7a9a37bd
fixed VS2010 x64 compiler warnings about possible loss of data
2012-05-10 00:23:19 +02:00
Lee Thomason
f68c438ee2
added new test for BOM, and added good defaults for NewDeclaration
2012-04-28 14:37:11 -07:00
Lee Thomason
9708885e5e
minor cleanup to the parsing loop
2012-04-18 11:39:42 -07:00
Lee Thomason
5e3803cac3
Better attribute system. Removes redundant list searching of LinkAttribute. Faster parsing on initial read. Added badly needed missing test cases.
2012-04-16 08:57:05 -07:00
Ken Miller
81da1fb26b
Made SaveFile symmetrical with LoadFile
...
Added overload taking a FILE pointer
Return error code (if any) instead of void
2012-04-09 23:32:26 -05:00
Lee Thomason (grinliz)
a4a36ba3c2
remove random -1 in length
2012-04-06 21:24:29 -07:00
Lee Thomason (grinliz)
598c13efa8
fix the safe function behavior
2012-04-06 21:18:23 -07:00
Lee Thomason (grinliz)
8a0975dfa7
minor warning fix
2012-03-31 20:09:20 -07:00
Guillermo A. Amaral
9a6c6b84a1
Tackled more Clang analyzer warnings.
2012-03-24 17:13:25 -07:00
Lee Thomason
8ba7f7d69b
Added the improved attribute query
2012-03-24 13:04:04 -07:00
Lee Thomason
7f7b162b6f
Add warning for the working directory. Verify win64 fix.
2012-03-24 12:49:03 -07:00
Lee Thomason
5ce8941553
a few formatting changes
2012-03-20 13:23:44 -07:00
Guillermo A. Amaral
2eb7003763
Misc adjustments and enum rename
...
Updated to use C++ headers
Fixed MSVC2010 collision
Added Makefile for xmltest (unix)
2012-03-20 11:51:40 -07:00
Lee Thomason
4de93471f8
Apply a fix from DoDoEnt for 64 bit linux systems where var args would crash
2012-03-13 17:33:35 -07:00
Lee Thomason (grinliz)
7ca5558bca
removed the pointer-diff
2012-03-07 21:54:57 -08:00
Lee Thomason
6f381b7739
Added performance test and option to leave entities
2012-03-02 12:59:39 -08:00
Lee Thomason
7d00b9ab95
Patching up incorrect boilerplate code. Added clone/equal methods.
2012-02-27 17:54:22 -08:00
Lee Thomason (grinliz)
5ce4d97945
fix deprecation function mess
2012-02-26 21:14:23 -08:00
Lee Thomason (grinliz)
9b093cc1ee
Test on gcc. Fix warning. Fix uneeded params. Up VS debug to level 4 and fix warnings.
2012-02-25 21:30:18 -08:00
Lee Thomason (grinliz)
2812986e93
a bunch of readme fixes
2012-02-25 21:11:20 -08:00
Lee Thomason (grinliz)
9c38d138ff
license and readme
2012-02-24 21:50:50 -08:00
Lee Thomason (grinliz)
2a1cd27732
added a bunch of comments in
2012-02-24 17:37:53 -08:00
Lee Thomason (grinliz)
784607f31d
another round on the element parsing. Test case passes.
2012-02-24 16:23:40 -08:00
Lee Thomason (grinliz)
7468f11413
better end element parsing
2012-02-24 08:56:50 -08:00
Lee Thomason (grinliz)
46a14cfec7
new element loop
2012-02-23 22:27:28 -08:00
Lee Thomason
d627776dd3
The rest of the test cases. Some bugs, but should be a complete set.
2012-02-22 16:00:12 -08:00
Lee Thomason (grinliz)
68db57e452
UTF-8 tests passing.
2012-02-21 09:08:12 -08:00
Lee Thomason (grinliz)
bd0a8ac60c
Dream test passing.
2012-02-20 20:14:33 -08:00
U-Stream\Lee
ae25a44d94
print to memory support
2012-02-17 17:48:16 -08:00
U-Stream\Lee
09a11c5964
test cases. Working out attribute interface.
2012-02-17 08:31:16 -08:00
Lee Thomason
1a1d4a72dd
added attribute handling. StrPair can now new/delete memory.
2012-02-15 09:09:25 -08:00
Lee Thomason
1ff38e0a5c
working with attributes. adding missing methods
2012-02-14 18:18:16 -08:00
Lee Thomason
ec5a7b4d18
testing infrastructur
2012-02-13 18:16:52 -08:00
Lee Thomason
e9ecdabf94
memory tracking
2012-02-13 18:11:20 -08:00
Lee Thomason
50adb4ca8e
sync
2012-02-13 15:07:09 -08:00
Lee Thomason
50f97b2d06
added missing node types
2012-02-11 16:33:40 -08:00
Lee Thomason
751da529d9
adding a bunch of the api (which isn't yet hooked up.)
2012-02-10 08:50:51 -08:00
Lee Thomason
56bdd0259e
improved the streamer interface so it doesn't require text parent. now possible to connect visitor and streamer.
2012-02-09 18:16:58 -08:00
Lee Thomason
43f59307cc
integrated attributes into the placement new
2012-02-06 18:18:11 -08:00
Lee Thomason
455c9d4dd0
minor cleanup.
2012-02-06 09:14:14 -08:00
Lee Thomason
d198322032
finally have the placement new working as desired.
2012-02-06 08:41:24 -08:00
Lee Thomason
2c85a711f1
more refactoring. cleaning out container classes.
2012-01-31 08:24:24 -08:00
Lee Thomason
1270ae58e4
cleaned up the memory
2012-01-27 17:58:30 -08:00
Lee Thomason
7c913cd6db
more cleaning up the interface.
2012-01-26 18:32:34 -08:00
Lee Thomason
18d68bdf6b
removed the char allocator. Started cleaning up the document code.
2012-01-26 18:17:26 -08:00
Lee Thomason
951d88394c
entity output
2012-01-26 08:47:06 -08:00
Lee Thomason
857b868ca6
WIP. syncing machines.
2012-01-25 17:50:25 -08:00
Lee Thomason
8ee79897c0
added entity input support.
2012-01-25 17:44:30 -08:00
Lee Thomason
24767b05ab
work on the streamer class. A little optimization to the string class. Formatting work.
2012-01-25 17:16:23 -08:00
Lee Thomason
5cae897775
pulled out streamer class.
2012-01-24 18:03:07 -08:00
Lee Thomason
67d6131d74
new element parsing. reasonable set of test cases.
2012-01-24 16:01:51 -08:00
Lee Thomason
5492a1c705
basic text support
2012-01-23 15:32:10 -08:00
Lee Thomason
22aead1c73
attribute support
2012-01-23 13:29:35 -08:00
Lee Thomason
ec975cede8
iterate on parsing.
2012-01-23 11:42:06 -08:00
Lee Thomason
d923c670fc
fix double delete in xml element
2012-01-23 08:44:25 -08:00
Lee Thomason
e4422304e0
refactored logic to use the StrPair. Still cleaning up bugs.
2012-01-20 17:59:50 -08:00
Lee Thomason
d34f52c43b
switching over to StrPair
2012-01-20 12:55:24 -08:00
Lee Thomason
39ede2487d
reset name
2012-01-20 11:27:56 -08:00
Lee Thomason
dadcdfad4a
test cases in progress
2012-01-18 17:55:48 -08:00
Lee Thomason
8a5dfee8ce
element and attribute code compiling
2012-01-18 17:43:40 -08:00
Lee Thomason
fde6a756d1
another rev of text parsing.
2012-01-14 18:08:12 -08:00
Lee Thomason
85403d8935
hello,world working. Forgot how hard XML parsing can be.
2012-01-11 15:55:05 -08:00
Lee Thomason
ce0763e34b
And it compiles.
2012-01-11 15:43:54 -08:00
Lee Thomason
3f57d278e7
complete, not working, XMLComment parser.
2012-01-11 15:30:03 -08:00
U-Lama\Lee
4cee61104d
basic structure in place.
2011-12-31 14:58:18 -08:00
U-Lama\Lee
560bd47842
initial thoughts
2011-12-28 19:42:49 -08:00
U-Lama\Lee
e13c3e653d
initial checkin
2011-12-28 14:36:55 -08:00