Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutorial4/src/external/tinyxml/changes.txt @ 10233

Last change on this file since 10233 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • Property svn:eol-style set to native
File size: 13.2 KB
Line 
1Changes 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
10Changes in version 1.0.2
11- Minor documentation fixes.
12
13Changes 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
21Changes 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
33Changes 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
40Changes 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
45Changes in version 1.2.2
46- Fixed TiXmlAttribute::Previous actually returning "next." Thanks
47  to Rickard Troedsson for the bug fix.
48
49Changes 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
55Changes 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
64Changes 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
80Changes 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
87Changes 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
92Changes in version 2.1.1
93- Compilation warnings.
94
95Changes 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
99Changes 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
111Changes 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
115Changes 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
1332.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
1472.2.1
148- Additional testing (no more bugs found to be fixed in this release)
149- Significant performance improvement to the cursor code.
150
1512.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
1582.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
1692.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
1752.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
1872.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
1942.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.
210
2112.4.1
212- Fixed CDATA output formatting
213- Fixed memory allocators in TinyString to work with overloaded new/delete
214
2152.4.2
216- solosnake pointed out that TIXML_LOG causes problems on an XBOX. The definition in the header
217  was superflous and was moved inside of DEBUG_PARSING
218
2192.4.3
220- Fixed a test bug that caused a crash in 'xmltest'. TinyXML was fine, but it isn't good
221  to ship with a broken test suite.
222- Started converting some functions to not cast between std::string and const char*
223  quite as often.
224- Added FILE* versions of the document loads - good suggestion from Wade Brainerd
225- Empty documents might not always return the errors they should. [1398915] Thanks to igor v.
226- Added some asserts for multiply adding a node, regardng bug [1391937] suggested by Paco Arjonilla.
227
2282.4.4
229- Bug find thanks to andre-gross found a memory leak that occured when a document failed to load.
230- Bug find (and good analysis) by VirtualJim who found a case where attribute parsing
231  should be throwing an error and wasn't.
232- Steve Hyatt suggested the QueryValueAttribute method, which is now implemented.
233- DavidA identified a chunk of dead code.
234- Andrew Baxter sent in some compiler warnings that were good clean up points.
235
2362.5
237- Added the Visit() API. Many thanks to both Andrew Ellerton and John-Philip for all their
238  work, code, suggestion, and just general pushing that it should be done.
239- Removed existing streaming code and use TiXmlPrinter instead.
240- [ tinyxml-Bugs-1527079 ] Compile error in tinystr.cpp fixed, thanks to Paul Suggs
241- [ tinyxml-Bugs-1522890 ] SaveFile has no error checks fixed, thanks to Ivan Dobrokotov
242- Ivan Dobrokotov also reported redundant memory allocation in the Attribute() method, which
243  upon investigation was a mess. The attribute should now be fixed for both const char* and
244  std::string, and the return types match the input parameters.
245- Feature [ 1511105 ] Make TiXmlComment constructor accept a string / char*, implemented.
246  Thanks to Karl Itschen for the feedback.
247- [ 1480108 ] Stream parsing fails when CDATA contains tags was found by Tobias Grimm, who also
248  submitted a test case and patch. A significant bug in CDATA streaming (operator>>) has now
249  been fixed.
250
2512.5.2
252- Lieven, and others, pointed out a missing const-cast that upset the Open Watcom compiler.
253  Should now be fixed.
254- ErrorRow and ErrorCol should have been const, and weren't. Fixed thanks to Dmitry Polutov.
255
2562.5.3
257- zloe_zlo identified a missing string specialization for QueryValueAttribute() [ 1695429 ]. Worked
258  on this bug, but not sure how to fix it in a safe, cross-compiler way.
259- increased warning level to 4 and turned on detect 64 bit portability issues for VC2005.
260  May address [ 1677737 ] VS2005: /Wp64 warnings
261- grosheck identified several problems with the Document copy. Many thanks for [ 1660367 ]
262- Nice catch, and suggested fix, be Gilad Novik on the Printer dropping entities.
263  "[ 1600650 ] Bug when printing xml text" is now fixed.
264- A subtle fix from Nicos Gollan in the tinystring initializer:
265  [ 1581449 ] Fix initialiser of TiXmlString::nullrep_
266- Great catch, although there isn't a submitter for the bug. [ 1475201 ] TinyXML parses entities in comments.
267  Comments should not, in fact, parse entities. Fixed the code path and added tests.
268- We were not catching all the returns from ftell. Thanks to Bernard for catching that.
269 
Note: See TracBrowser for help on using the repository browser.