xref: /third_party/lame/ACM/tinyxml/changes.txt (revision 159b3361)
1159b3361Sopenharmony_ciChanges in version 1.0.1:
2159b3361Sopenharmony_ci- Fixed comment tags which were outputing as '<?--' instead of 
3159b3361Sopenharmony_ci  the correct '<!--'.
4159b3361Sopenharmony_ci- Implemented the Next and Prev methods of the TiXmlAttribute class.
5159b3361Sopenharmony_ci- Renamed 'LastAttribtute' to 'LastAttribute'
6159b3361Sopenharmony_ci- Fixed bad pointer to 'isspace' that could occur while parsing text.
7159b3361Sopenharmony_ci- Errors finding beginning and end of tags no longer throw it into an
8159b3361Sopenharmony_ci  infinite loop. (Hopefully.)
9159b3361Sopenharmony_ci
10159b3361Sopenharmony_ciChanges in version 1.0.2
11159b3361Sopenharmony_ci- Minor documentation fixes.
12159b3361Sopenharmony_ci
13159b3361Sopenharmony_ciChanges in version 1.0.3
14159b3361Sopenharmony_ci- After nodes are added to a document, they return a pointer
15159b3361Sopenharmony_ci  to the new node instead of a bool for success.
16159b3361Sopenharmony_ci- Elements can be constructed with a value, which is the
17159b3361Sopenharmony_ci  element name. Every element must have a value or it will be
18159b3361Sopenharmony_ci  invalid, but the code changes to enforce this are not fully
19159b3361Sopenharmony_ci  in place.
20159b3361Sopenharmony_ci
21159b3361Sopenharmony_ciChanges in version 1.1.0
22159b3361Sopenharmony_ci- Added the	TiXmlAttributeSet class to pull the attributes into
23159b3361Sopenharmony_ci  a seperate container.
24159b3361Sopenharmony_ci- Moved the doubly liked list out of XmlBase. Now XmlBase only
25159b3361Sopenharmony_ci  requires the Print() function and defines some utility functions.
26159b3361Sopenharmony_ci- Moved errors into a seperate file. (With the idea of internationalization
27159b3361Sopenharmony_ci  to the other latin-1 languages.)
28159b3361Sopenharmony_ci- Added the "NodeType"
29159b3361Sopenharmony_ci- Fixed white space parsing in text to conform with the standard. 
30159b3361Sopenharmony_ci  Basically, all white space becomes just one space.
31159b3361Sopenharmony_ci- Added the TiXmlDeclaration class to read xml declarations.
32159b3361Sopenharmony_ci
33159b3361Sopenharmony_ciChanges in version 1.2.0
34159b3361Sopenharmony_ci- Removed the factory. The factory was not really in the spirit 
35159b3361Sopenharmony_ci  of small and simple, confused the code, and was of limited value.
36159b3361Sopenharmony_ci- Added FirstChildElement and NextSiblingElement, because they
37159b3361Sopenharmony_ci  are such common functions.
38159b3361Sopenharmony_ci- Re-wrote the example to test and demonstrate more functionality.
39159b3361Sopenharmony_ci
40159b3361Sopenharmony_ciChanges in version 1.2.1
41159b3361Sopenharmony_ci- Fixed a bug where comments couldn't be inside elements.
42159b3361Sopenharmony_ci- Loading now clears out existing XML rather than appending.
43159b3361Sopenharmony_ci- Added the "Clear" method on a node to delete all its children.
44159b3361Sopenharmony_ci
45159b3361Sopenharmony_ciChanges in version 1.2.2
46159b3361Sopenharmony_ci- Fixed TiXmlAttribute::Previous actually returning "next." Thanks
47159b3361Sopenharmony_ci  to Rickard Troedsson for the bug fix.
48159b3361Sopenharmony_ci
49159b3361Sopenharmony_ciChanges in version 1.2.3
50159b3361Sopenharmony_ci- Added the TIXML prefix to the error strings to resolve conflicts
51159b3361Sopenharmony_ci  with #defines in OS headers. Thanks to Steve Lhomme.
52159b3361Sopenharmony_ci- Fixed a delete buf that should be a delete [] buf. 
53159b3361Sopenharmony_ci  Thanks to Ephi Sinowitz.
54159b3361Sopenharmony_ci
55159b3361Sopenharmony_ciChanges in version 1.2.4
56159b3361Sopenharmony_ci- ReplaceChild() was almost guarenteed to fail. Should be fixed,
57159b3361Sopenharmony_ci  thanks to Joe Smith. Joe also pointed out that the Print() functions
58159b3361Sopenharmony_ci  should take stream references: I agree, and would like to overload
59159b3361Sopenharmony_ci  the Print() method to take either format, but I don't want to do 
60159b3361Sopenharmony_ci  this in a dot release.
61159b3361Sopenharmony_ci- Some compilers seem to need an extra <ctype.h> include. Thanks
62159b3361Sopenharmony_ci  to Steve Lhomme for that.
63159b3361Sopenharmony_ci
64159b3361Sopenharmony_ciChanges in version 2.0.0
65159b3361Sopenharmony_ci- Made the ToXXX() casts safe if 'this' is null. 
66159b3361Sopenharmony_ci  When "LoadFile" is called with a filename, the value will correctly get set.
67159b3361Sopenharmony_ci  Thanks to Brian Yoder.
68159b3361Sopenharmony_ci- Fixed bug where isalpha() and isalnum() would get called with a negative value for 
69159b3361Sopenharmony_ci  high ascii numbers. Thanks to Alesky Aksenov.
70159b3361Sopenharmony_ci- Fixed some errors codes that were not getting set.
71159b3361Sopenharmony_ci- Made methods "const" that were not.
72159b3361Sopenharmony_ci- Added a switch to enable or disable the ignoring of white space. ( TiXmlDocument::SetIgnoreWhiteSpace() )
73159b3361Sopenharmony_ci- Greater standardization and code re-use in the parser.
74159b3361Sopenharmony_ci- Added a stream out operator.
75159b3361Sopenharmony_ci- Added a stream in operator.
76159b3361Sopenharmony_ci- Entity support.
77159b3361Sopenharmony_ci
78159b3361Sopenharmony_ciTODO
79159b3361Sopenharmony_ciCDATA.
80159b3361Sopenharmony_ciSupport for "generic entity" #xxx thing.
81159b3361Sopenharmony_ci
82