| 1 |
Changes in version 1.0.1: |
| 2 |
- Fixed comment tags which were outputing as '<?--' instead of |
| 3 |
the correct '<!--'. |
| 4 |
- Implemented the Next and Prev methods of the TiXmlAttribute class. |
| 5 |
- Renamed 'LastAttribtute' to 'LastAttribute' |
| 6 |
- Fixed bad pointer to 'isspace' that could occur while parsing text. |
| 7 |
- Errors finding beginning and end of tags no longer throw it into an |
| 8 |
infinite loop. (Hopefully.) |
| 9 |
|
| 10 |
Changes in version 1.0.2 |
| 11 |
- Minor documentation fixes. |
| 12 |
|
| 13 |
Changes in version 1.0.3 |
| 14 |
- After nodes are added to a document, they return a pointer |
| 15 |
to the new node instead of a bool for success. |
| 16 |
- Elements can be constructed with a value, which is the |
| 17 |
element name. Every element must have a value or it will be |
| 18 |
invalid, but the code changes to enforce this are not fully |
| 19 |
in place. |
| 20 |
|
| 21 |
Changes in version 1.1.0 |
| 22 |
- Added the TiXmlAttributeSet class to pull the attributes into |
| 23 |
a seperate container. |
| 24 |
- Moved the doubly liked list out of XmlBase. Now XmlBase only |
| 25 |
requires the Print() function and defines some utility functions. |
| 26 |
- Moved errors into a seperate file. (With the idea of internationalization |
| 27 |
to the other latin-1 languages.) |
| 28 |
- Added the "NodeType" |
| 29 |
- Fixed white space parsing in text to conform with the standard. |
| 30 |
Basically, all white space becomes just one space. |
| 31 |
- Added the TiXmlDeclaration class to read xml declarations. |
| 32 |
|
| 33 |
Changes in version 1.2.0 |
| 34 |
- Removed the factory. The factory was not really in the spirit |
| 35 |
of small and simple, confused the code, and was of limited value. |
| 36 |
- Added FirstChildElement and NextSiblingElement, because they |
| 37 |
are such common functions. |
| 38 |
- Re-wrote the example to test and demonstrate more functionality. |
| 39 |
|
| 40 |
Changes in version 1.2.1 |
| 41 |
- Fixed a bug where comments couldn't be inside elements. |
| 42 |
- Loading now clears out existing XML rather than appending. |
| 43 |
- Added the "Clear" method on a node to delete all its children. |
| 44 |
|
| 45 |
Changes in version 1.2.2 |
| 46 |
- Fixed TiXmlAttribute::Previous actually returning "next." Thanks |
| 47 |
to Rickard Troedsson for the bug fix. |
| 48 |
|
| 49 |
Changes in version 1.2.3 |
| 50 |
- Added the TIXML prefix to the error strings to resolve conflicts |
| 51 |
with #defines in OS headers. Thanks to Steve Lhomme. |
| 52 |
- Fixed a delete buf that should be a delete [] buf. |
| 53 |
Thanks to Ephi Sinowitz. |
| 54 |
|
| 55 |
Changes in version 1.2.4 |
| 56 |
- ReplaceChild() was almost guarenteed to fail. Should be fixed, |
| 57 |
thanks to Joe Smith. Joe also pointed out that the Print() functions |
| 58 |
should take stream references: I agree, and would like to overload |
| 59 |
the Print() method to take either format, but I don't want to do |
| 60 |
this in a dot release. |
| 61 |
- Some compilers seem to need an extra <ctype.h> include. Thanks |
| 62 |
to Steve Lhomme for that. |
| 63 |
|
| 64 |
Changes in version 2.0.0 BETA |
| 65 |
- Made the ToXXX() casts safe if 'this' is null. |
| 66 |
When "LoadFile" is called with a filename, the value will correctly get set. |
| 67 |
Thanks to Brian Yoder. |
| 68 |
- Fixed bug where isalpha() and isalnum() would get called with a negative value for |
| 69 |
high ascii numbers. Thanks to Alesky Aksenov. |
| 70 |
- Fixed some errors codes that were not getting set. |
| 71 |
- Made methods "const" that were not. |
| 72 |
- Added a switch to enable or disable the ignoring of white space. ( TiXmlDocument::SetIgnoreWhiteSpace() ) |
| 73 |
- Greater standardization and code re-use in the parser. |
| 74 |
- Added a stream out operator. |
| 75 |
- Added a stream in operator. |
| 76 |
- Entity support, of predefined entites. &#x entities are untouched by input or output. |
| 77 |
- Improved text out formatting. |
| 78 |
- Fixed ReplaceChild bug, thanks to Tao Chen. |
| 79 |
|
| 80 |
Changes in version 2.0.1 |
| 81 |
- Fixed hanging on loading a 0 length file. Thanks to Jeff Scozzafava. |
| 82 |
- Fixed crashing on InsertBeforeChild and InsertAfterChild. Also possibility of bad links being |
| 83 |
created by same function. Thanks to Frank De prins. |
| 84 |
- Added missing licence text. Thanks to Lars Willemsens. |
| 85 |
- Added <ctype.h> include, at the suggestion of Steve Walters. |
| 86 |
|
| 87 |
Changes in version 2.1.0 |
| 88 |
- Yves Berquin brings us the STL switch. The forum on SourceForge, and various emails to |
| 89 |
me, have long debated all out STL vs. no STL at all. And now you can have it both ways. |
| 90 |
TinyXml will compile either way. |
| 91 |
|
| 92 |
Changes in version 2.1.1 |
| 93 |
- Compilation warnings. |
| 94 |
|
| 95 |
Changes in version 2.1.2 |
| 96 |
- Uneeded code is not compiled in the STL case. |
| 97 |
- Changed headers so that STL can be turned on or off in tinyxml.h |
| 98 |
|
| 99 |
Changes in version 2.1.3 |
| 100 |
- Fixed non-const reference in API; now uses a pointer. |
| 101 |
- Copy constructor of TiXmlString not checking for assignment to self. |
| 102 |
- Nimrod Cohen found a truly evil bug in the STL implementation that occurs |
| 103 |
when a string is converted to a c_str and then assigned to self. Search for |
| 104 |
STL_STRING_BUG for a full description. I'm asserting this is a Microsoft STL |
| 105 |
bug, since &string and string.c_str() should never be the same. Nevertheless, |
| 106 |
the code works around it. |
| 107 |
- Urivan Saaib pointed out a compiler conflict, where the C headers define |
| 108 |
the isblank macro, which was wiping out the TiXmlString::isblank() method. |
| 109 |
The method was unused and has been removed. |
| 110 |
|
| 111 |
Changes in version 2.1.4 |
| 112 |
- Reworked the entity code. Entities were not correctly surving round trip input and output. |
| 113 |
Will now automatically create entities for high ascii in output. |
| 114 |
|
| 115 |
Changes in version 2.1.5 |
| 116 |
- Bug fix by kylotan : infinite loop on some input (tinyxmlparser.cpp rev 1.27) |
| 117 |
- Contributed by Ivica Aracic (bytelord) : 1 new VC++ project to compile versions as static libraries (tinyxml_lib.dsp), |
| 118 |
and an example usage in xmltest.dsp |
| 119 |
(Patch request ID 678605) |
| 120 |
- A suggestion by Ronald Fenner Jr (dormlock) to add #include <istream> and <ostream> for Apple's Project Builder |
| 121 |
(Patch request ID 697642) |
| 122 |
- A patch from ohommes that allows to parse correctly dots in element names and attribute names |
| 123 |
(Patch request 602600 and kylotan 701728) |
| 124 |
- A patch from hermitgeek ( James ) and wasteland for improper error reporting |
| 125 |
- Reviewed by Lee, with the following changes: |
| 126 |
- Got sick of fighting the STL/non-STL thing in the windows build. Broke |
| 127 |
them out as seperate projects. |
| 128 |
- I have too long not included the dsw. Added. |
| 129 |
- TinyXmlText had a protected Print. Odd. |
| 130 |
- Made LinkEndChild public, with docs and appropriate warnings. |
| 131 |
- Updated the docs. |
| 132 |
|
| 133 |
2.2.0 |
| 134 |
- Fixed an uninitialized pointer in the TiXmlAttributes |
| 135 |
- Fixed STL compilation problem in MinGW (and gcc 3?) - thanks Brian Yoder for finding this one |
| 136 |
- Fixed a syntax error in TiXmlDeclaration - thanks Brian Yoder |
| 137 |
- Fletcher Dunn proposed and submitted new error handling that tracked the row and column. Lee |
| 138 |
modified it to not have performance impact. |
| 139 |
- General cleanup suggestions from Fletcher Dunn. |
| 140 |
- In error handling, general errors will no longer clear the error state of specific ones. |
| 141 |
- Fix error in documentation : comments starting with "<?--" instead of "<!--" (thanks ion_pulse) |
| 142 |
- Added the TiXmlHandle. An easy, safe way to browse XML DOMs with less code. |
| 143 |
- Added QueryAttribute calls which have better error messaging. (Proposed by Fletcher Dunn) |
| 144 |
- Nodes and attributes can now print themselves to strings. (Yves suggestion) |
| 145 |
- Fixed bug where entities with one character would confuse parser. (Thanks Roman) |
| 146 |
|
| 147 |
2.2.1 |
| 148 |
- Additional testing (no more bugs found to be fixed in this release) |
| 149 |
- Significant performance improvement to the cursor code. |
| 150 |
|
| 151 |
2.3.0 |
| 152 |
- User Data are now defined in TiXmlBase instead of TiXmlNode |
| 153 |
- Character Entities are now UCS-2 |
| 154 |
- Character Entities can be decimal or hexadecimal |
| 155 |
- UTF-8 conversion. |
| 156 |
- Fixed many, many bugs. |
| 157 |
|
| 158 |
2.3.1 |
| 159 |
- Fixed bug in handling nulls embedded in the input. |
| 160 |
- Make UTF-8 parser tolerant of bad text encoding. |
| 161 |
- Added encoding detection. |
| 162 |
- Many fixes and input from John-Philip Leonard Johansson (JP) and Ellers, |
| 163 |
including UTF-8 feedback, bug reports, and patches. Thanks! |
| 164 |
- Added version # constants - a suggestion from JP and Ellers. |
| 165 |
- [ 979180 ] Missing ; in entity reference, fix from Rob Laveaux. |
| 166 |
- Copy constructors and assignment have been a long time coming. Thanks to |
| 167 |
Fokke and JP. |
| 168 |
|
| 169 |
2.3.2 |
| 170 |
- Made the IsAlpha and IsAlphaNum much more tolerant of non-UTF-8 encodings. Thanks |
| 171 |
Volker Boerchers for finding the issue. |
| 172 |
- Ran the program though the magnificent Valgrind - http://valgrind.kde.org - to check |
| 173 |
for memory errors. Fixed some minor issues. |
| 174 |
|
| 175 |
2.3.3 |
| 176 |
- Fixed crash when test program was run from incorrect directory. |
| 177 |
- Fixed bug 1070717 - empty document not returned correctly - thanks Katsuhisa Yuasa. |
| 178 |
- Bug 1079301 resolved - deprecated stdlib calls. Thanks Adrian Boeing. |
| 179 |
- Bug 1035218 fixed - documentation errors. Xunji Luo |
| 180 |
- Other bug fixes have accumulated and been fixed on the way as well; my apologies to |
| 181 |
authors not credited! |
| 182 |
- Big fix / addition is to correctly return const values. TinyXml could basically |
| 183 |
remove const in a method like this: TiXmlElement* Foo() const, where the returned element |
| 184 |
was a pointer to internal data. That is now: const TiXmlElement* Foo() const and |
| 185 |
TiXmlElement* Foo(). |
| 186 |
|
| 187 |
2.3.4 |
| 188 |
- Fixed additional const errors, thanks Kent Gibson. |
| 189 |
- Correctly re-enable warnings after tinyxml header. Thanks Cory Nelson. |
| 190 |
- Variety of type cleanup and warning fixes. Thanks Warren Stevens. |
| 191 |
- Cleaned up unneeded constructor calls in TinyString - thanks to Geoff Carlton and |
| 192 |
the discussion group on sourceforge. |
| 193 |
|
| 194 |
2.4.0 |
| 195 |
- Improved string class, thanks Tyge Lovset (whose name gets mangled in English - sorry) |
| 196 |
- Type cast compiler warning, thanks Rob van den Bogaard |
| 197 |
- Added GetText() convenience function. Thanks Ilya Parniuk & Andrew Ellers for input. |
| 198 |
- Many thanks to marlonism for finding an infinite loop in bad xml. |
| 199 |
- A patch to cleanup warnings from Robert Gebis. |
| 200 |
- Added ValueStr() to get the value of a node as a string. |
| 201 |
- TiXmlText can now parse and output as CDATA |
| 202 |
- Additional string improvement from James (z2895) |
| 203 |
- Removed extraneous 'const', thanks David Aldrich |
| 204 |
- First pass at switching to the "safe" stdlib functions. Many people have suggested and |
| 205 |
pushed on this, but Warren Stevens put together the first proposal. |
| 206 |
- TinyXml now will do EOL normalization before parsing, consistent with the W3C XML spec. |
| 207 |
- Documents loaded with the UTF-8 BOM will now save with the UTF-8 BOM. Good suggestion |
| 208 |
from 'instructor_' |
| 209 |
- Ellers submitted his very popular tutorials, which have been added to the distribution. |