Lee Thomason
21be882810
Moving string in/out into XMLUtil. Using that across the API. Supporting text queries of primitive types.
2012-07-15 17:27:22 -07:00
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
Lee Thomason
c78dc01bfd
removed extra and incorrect 'const'
2012-06-12 13:12:15 -07:00
Lee Thomason
78d450b54e
increase version
2012-06-04 17:05:58 -07:00
Lee Thomason
4cd8534a1e
actually add comments
2012-06-04 17:02:37 -07:00
Lee Thomason
7b1b86a1c9
removed confusing getter/setter. cleaned up comments.
2012-06-04 17:01:38 -07:00
Lee Thomason
6e0e38b372
Merge remote-tracking branch 'sniperbat/master'
2012-06-04 16:50:30 -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
hasufell
9a0eb46d71
Merge git://github.com/leethomason/tinyxml2
2012-05-26 23:51:47 +02:00
Lee Thomason (grinliz)
48ea0bcf80
renamed function, added test case
2012-05-26 14:41:14 -07:00
hasufell
2cc75b32b5
Merge pull request #2 from hyperair/master
...
Cosmetic fixes to CMakeLists.txt and a fix for out-of-source-tree builds when installing the .pc file
2012-05-23 17:58:58 -07:00
Chow Loong Jin
0eb8e9da08
Fix out of source installation with tinyxml2.pc
2012-05-24 02:44:19 +08:00
Chow Loong Jin
abcdbd9112
Standardize style of CMakeLists.txt
...
1. Use lowercase commands everywhere
2. Use tabs for indentation
2012-05-23 19:42:36 +08:00
hasufell
7c1f52a437
Merge pull request #1 from hyperair/master
...
Add .pc file and use GNUInstallDirs for CMAKE_INSTALL_*DIR variables
2012-05-22 15:13:20 -07:00
Chow Loong Jin
a1beafaff8
Add pkgconfig file
2012-05-23 06:02:20 +08:00
Chow Loong Jin
e9f2abaf6c
Use GNUInstallDirs for CMAKE_INSTALL_*DIR
2012-05-23 05:50:32 +08:00
sniperbat
e01e786883
add a method to help get the size of the XML file in memory
2012-05-21 12:45:36 +08:00
Lee Thomason
a2ae54e40d
fix a missing [] in the delete call
2012-05-18 13:47:48 -07:00
Lee Thomason
b3fcf26e0e
Merge branch 'master' of https://github.com/pzychotic/tinyxml2
2012-05-15 10:31:50 -07:00
hasufell
aba89e3f76
Add rules for setversion.py to include CMakeLists.txt
2012-05-14 23:59:42 +02:00
Lee Thomason
ee87c620c8
possible missing header
2012-05-14 09:27:47 -07:00
Thomas Ro
08bdf50076
Fixed typos in code documentation.
2012-05-12 14:21:23 +02:00
Thomas Ro
c4ae8a9a2d
Removed unused variable from CMakeLists.txt
2012-05-12 02:02:31 +02:00
Thomas Ro
d08dff9216
Fixed CMakeLists.txt for moved .xml files.
2012-05-12 02:00:40 +02:00
Lee Thomason
e638a925b2
sync
2012-05-11 10:38:54 -07:00
Thomas Ro
7d7a9a37bd
fixed VS2010 x64 compiler warnings about possible loss of data
2012-05-10 00:23:19 +02:00
hasufell
b8249001e2
add support for soname/symlink
2012-05-09 23:30:29 +02:00
Bruno Dias
a0802164d8
removed files that will be generated by the xmltest.
2012-05-07 05:09:03 -03:00
Bruno Dias
2553a13d0a
added resources folder for txts and xmls.
2012-05-07 05:06:37 -03:00
Bruno Dias
a2d4e6e943
moving xmls and txts to the resources folder.
2012-05-07 04:58:11 -03:00
hasufell
73c5370d0c
rm xmltest.h from installed headers
2012-05-05 00:32:02 +02:00
hasufell
0a68d002b5
Add BUILD_STATIC_LIBS option, install headers
2012-05-05 00:18:25 +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
0aa8a80fd7
Enough bake time. Up version to 1.0
2012-04-28 14:20:27 -07:00
Lee Thomason
9708885e5e
minor cleanup to the parsing loop
2012-04-18 11:39:42 -07:00
Lee Thomason
8713775d9b
Merge branch 'attribute' of github.com:leethomason/tinyxml2 into attribute
2012-04-18 11:32:11 -07:00
Lee Thomason
975426752c
Merge branch 'master' of github.com:leethomason/tinyxml2
2012-04-18 11:25:01 -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
Lee Thomason
d0b19df88c
fix sleazy cast causing compilation issue
2012-04-12 08:41:37 -07:00
Lee Thomason
d11cd169e6
minor whitespace cleanup
2012-04-12 08:35:36 -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)
8712757389
merging handles to the master
2012-04-07 20:56:38 -07:00
Lee Thomason (grinliz)
8871cd8437
add xmltest.h as a place to put the example docs, so they don't pollute the main file'
2012-04-06 21:40:08 -07:00
Lee Thomason (grinliz)
b9e791fa4e
simplify safe logic
2012-04-06 21:27:10 -07: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
f14695f26b
Merge pull request #16 from diasbruno/master
...
xcode project update.
2012-04-06 08:54:42 -07:00
Bruno Dias
26e15df1e2
update the xcode project.
2012-04-06 00:39:48 -03:00