changelog
来自「c语言编写的xml解析器可以方便的遍历插入删除节点等操作的」· 代码 · 共 1,078 行 · 第 1/3 页
TXT
1,078 行
1.0.0:2003-12-18 Ephraim Vider <eff@eplication.com> * examples/sax_parser_build_dom/svgelement.cc,svgpath.h: - removed unneeded method qualification (msvc6 error) * examples/sax_parser_entities/myparser.cc: - removed namespace qualification (msvc6 error) - removed return from void function2003-12-18 Ephraim Vider <eff@eplication.com> * win32_msvc6: updated MSVC projects to include new sources and examples2003-12-12 Christophe de Vienne <cdevienne@alphacent.com> * libxml++/parsers/sax_parser.cc: removed initialisation of userData with this at the context creation (solution given by Murray).2003-12-11 Murray Cumming <murrayc@usa.net> * libxml++/Makefile.am: Generate a library with 1.0 in the name, instead of 0.1 * configure.in: Change version to 1.0.0, and change shared library version to 1.0.0 because we are staring again witt the first version of a new shared library. * examples/Makefile.am_fragment: Link to the new library name. * libxml++-1.0.pc.in: Change the library name that pkg-config reports for --libs.2003-12-08 Ephraim Vider <eff@eplication.com> * libxml++/document.cc: remove return statement from void functions0.28:2003-12-08 Christophe de Vienne <cdeviennne@netcourrier.com> * libxml++.spec.in: Removed libxml++.m4 and xml++-config from %files section.2003-12-08 Murray Cumming <murrayc@usa.net> * examples/ Added sax_parser_build_dom example from Dan Dennedy. It does some funky stuff (see the comments) but it is an interesting concept. See the description in examples/README.2003-12-03 Christophe de Vienne <cdevienne@netcourrier.com> * configure.in: use libxml-2.0 instead of xml2 for libxml2 detection by pkg-config. * libxml++/parser/sax_parser.[h|cc]: Replaced AttributeMap by AttributeList, which is now an ordered container (std::deque). Added a functor that can be used with std::find_if to get an Attribute by it's name. * libxml++/document.h: Fixed a typo in a doxygen command.2003-12-03 Murray Cumming <murrayc@usa.net> * examples/README: explained what the examples do.2003-11-28 Christophe de Vienne <cdevienne@alphacent.com> * libxml++/docs/index.html: Added libxml2 version we relay on, as suggested by Paul Breslin. * configure.in: Prepared 0.28 release. Check for libxml2 >= 2.5.8 using pkg-config instead of old-style autoconf macro. * acinclude.m4: Removed.2003-11-27 Murray Cumming <murrayc@usa.net> * Added examples/sax_parser_entites to test the new functionality. * Added doxygen documentation to almost every class and method, including mentioning that the parse methods throw exceptions.2003-11-27 Murray Cumming <murrayc@usa.net> * Applied patch from Dan Dennedy to add entity handling to the SAX parser, using a 2nd Document instance to manage the entity definitions in order to provide a default entity reference resolver implementation for on_get_entity(). With some minor changes from me.2003-11-13 Christophe de Vienne <cdevienne@netcourrier.com> * libxml++/io/Makefile.am: Made libio a non installed library. * libxml++/document.cc: Fixed a serious issue with threading: callbacks were defined only for the main thread.0.27:2003-10-28 Murray Cumming <murrayc@usa.net> * libxml++/nodes/element.[h|cc]: Changed get_child_content() to get_child_text(), set_child_content() to set_child_text(), add_comment() to add_child_comment(), and add_content() to add_child_content() to make the API clearer.2003-10-25 Christophe de Vienne <cdevienne@netcourrier.com> * libxml++/document.[h|cc]: Added Document::add_comment and added some documentation.2003-10-22 Murray Cumming <murrayc@usa.net> * libxml++/parsers/saxparser.[h.cc]: Added on_entity_declararation() callback, and demonstrated it in examples/sax_parser/. Added documentation to on_get_entity() giving clues about how to use it, though it is too difficult for me to try.2003-10-18 Christophe de Vienne <cdevienne@netcourrier.com> * All: All private members previously having a leading underscore in their name now have it postfixed. Ex: _impl becomes impl_.2003-10-18 Christophe de Vienne <cdevienne@netcourrier.com> * libxml++/io/outputbuffer.[h|cc]: Removed conversion operator to underlying C structure. cobj() is now public. * libxml++/document.cc: use OutputBuffer::cobj() instead of implicit conversion.2003-10-18 Christophe de Vienne <cdevienne@netcourrier.com> * libxml++/nodes/Makefile.am: Removed some trailing white spaces after a backslash.2003-10-14 Murray Cumming <murrayc@usa.net> * Added lots of doxygen documentation, try to document everything 100%. * libxml++/nodes/element.[h|cc]: Made get_attributes() non-const and added a const get_attributes() const overload, like Node::get_children(). * Moved AttributesList typedef from Node to Element, because that's where it is used. * libxml++/parsers/parser.[h|cc]: Added get/set_substitute_entities(), like get/set_validate(), which affects _context->replaceEntities in initialize_context(). * Added libxml++/nodes/entityreference.[h|cc], with a get_resolved_text() method. * libxml++/document.cc: - on_libxml_construct(): For the default, used when a node is not recognised, create a Node rather than a ContentNode. Everything is a Node so this should have less chance of being wrong. - Added case to create an EntityReference. * Added examples/dom_parse_entities.2003-09-30 Jonathan Wakely <redi@kayari.org> * libxml++/document.cc, libxml++/nodes/element.cc, libxml++/nodes/node.cc: Preserve const-quals when casting between strings of different character types.2003-09-26 Christophe de Vienne <cdevienne@netcourrier.com> * libxml++/io/outputbuffer.[h|cc]: Yet another cleaning of the interface and implementation. OutputBuffer is now non copyable, and the callback process is now the same for write and close. * libxml++/io/(ostream)outputbuffer.h: Added Doxygen documentation.2003-09-26 Christophe de Vienne <cdevienne@netcourrier.com> * libxml++/io/: Small corrections after Murray comments on the patch. It's even more clean now.2003-09-26 Christophe de Vienne <cdevienne@netcourrier.com> * libxml++/io/: Added classes to wrap xmlIO output buffers. This classes are OutputBuffer and OStreamOutputBuffer. * libxml++/document.h: - Added write_to_stream, which is implemented thanks to OutputBuffer. - Removed virtual specifier on write_to_xxx functions. Their implemention now calls a private virtual function do_write_to_xxx. This also avoid having almost identical functions implementation in normal and formatted versions of the functions.2003-09-24 Christophe de Vienne <cdevienne@netcourrier.com> * libxml++/examples/dom_build/main.cc: Now demonstrate add_comment too.2003-09-24 Dan Dennedy * libxml++/nodes/element.[h|cc]: Added Element::add_comment.2003-09-23 Christophe de Vienne <cdevienne@netcourrier.com> * libxml++/document.h, libxml++/keepblanks.h, libxml++/noncopyable.h, libxml++/nodes/node.h: Updated documentation.0.26:2003-09-22 Christophe de Vienne <cdevienne@netcourrier.com> * examples/dom_build/main.cpp: Use Element::set_attribute instead of Element::add_attribute which no longer exists.2003-09-19 Murray Cumming <murrayc@usa.net> * libxml++/node/element.h: Removed add_attribute because it is the same as set_attribute.2003-09-18 Murray Cumming <murrayc@usa.net> * libxml++/node/element.h: Added set_namespace_declaration(). element, node: methods take prefix instead of uri and prefix, because that's what we want to specify most of the time. If no such namespace prefix has been declared then an exception will be thrown. If we want to specify a node name and attribute namespaces by uri (which would result in a prefix in the eventual .xml code) then we could add those methods later. If anybody needs them.2003-09-17 Christophe de Vienne <cdevienne@netcourrier.com> * docs/reference/Doxyfile(.in): Doxyfile is now generated from Doxyfile.in by configure so the version number is included in main page. The dot image format is changed to png, the index is not disabled anymore.2003-09-15 Fredrik Arnerup * libxml++/document.cc: Added a call to xmlInitParser to avoid threading problems.2003-09-05 Murray Cumming <murrayc@usa.net> Based on the patch from Dan Dennedy, with changes: * libxml++/node.[h|cc], libxml++/element.[h|cc]: Added namespace_uri and namespace_prefix parameters to methods, to support speficiation of nodes and children also with namespace information. * Added Node::get_namespace_prefix() and get_namespace_uri() and set_namespace(). * examples/dom_build/: Modified the example to do namespace stuff, to test this.2003-08-20 Murray Cumming <murrayc@usa.net> * libxml++/node.[h|cc]: import_node() now takes a _const_ Node, as suggested by Rafael Vuijk.2003-07-20 Ephraim Vider <eff@eplication.com> * win32_msvc6: libxml++.dsp, examples/import_node.dsp, examples/Makefile.am: - added import_node example project0.25:2003-07-16 Christophe de Vienne <cdevienne@netcourrier.com> * libxml++.m4, xml++-config.in, configure.in, Makefile.am: removed old-style autoconf libxml++ detection macro and script.2003-07-15 Christophe de Vienne <cdevienne@netcourrier.com> * all but exceptions/*.[h|cc]: removed throw specification from functions declaration.2003-07-11 Eric Bourque <ericb@computer.org> * nodes/node.[h|cc]: Added import_node function * examples/import_node: Added an example of using import_node, and modified autoconf files accordingly.2003-06-25 Ephraim Vider <eff@eplication.com> * win32_msvc6: libxml++.dsp: added _REENTRANT to support libxml with threads - examples/Makefile.am: added new example project2003-06-16 Christophe de Vienne <cdevienne@netcourrier.com> * docs/index.html: Added a link to Doxygen website.2003-06-16 Ephraim Vider <eff@eplication.com> * win32_msvc6/*: Fixed MSVC6 project files.2003-06-13 Christophe de Vienne <cdevienne@netcourrier.com> * docs/Makefile.am: Fixed the post-html rule which was sending twice the reference. * docs/index.html: Added keyword "XML".0.24:2003-06-11 Christophe de Vienne <cdevienne@netcourrier.com> * libxml++/parsers/domparser.cc: - Fixed parse_stream. Parsing success was not checked before creating Document. - Check for errNo after parsing.2003-06-02 Ephraim Vider * libxml++/nodes: Added ContentNode as a base class for all non-element nodes - TextNode and CommentNode are derived from ContentNode - Added CdataNode and ProcessingInstructionNode as specific types derived from ContentNode - Will create ContentNode as a default node type when assert is disabled - Modified dom_parser example to better handle new types Modified files: textnode.[h|cc] commentnode.[h|cc] Added files: contentnode.[h|cc] cdatanode.[h|cc] processinginstructionnode.[h|cc] * node.cc: - Fix. return empty string and not 0 * updated MSVC projects to include new sources and example2003-06-10 Jonathan Wakely <redi@kayari.org> * libxml++/parsers/saxparser.cc: Replace <istream> with <iostream> to support older compilers.2003-06-06 Christophe de Vienne <cdevienne@alphacent.com> * libxml++/document.cc: Little change in write_to_xxx_formatted. The keepblanks parameter is kept to true, but xmlIndentOutputTree is set to 1. This avoid libxml2 to add some significant whitespace into content nodes, but still format the output.2003-06-05 Christophe de Vienne <cdevienne@alphacent.com> * libxml++/keepblanks.[h|cc]: Moved KeepBlanks::Default definition to .cc file if compiler is MSVC 6.0.2003-06-04 Morten Hanssen <morten.hanssen@pd.politiet.no> * libxml++/Document.cc: Fixed a memory leak in write_to_string[_formatted]() functions.2003-06-02 Murray Cumming <murrayc@usa.net> * libxml++/Document.[h|cc]: Removed the standalone parse_* methods because they just duplicate functionality and nobody seems to be using them. Renamed the private construct() and destruct() callbacks to on_libxml_construct() and on_libxml_destruct() and added some simple comments to explain their purpose. * libxml++/node.[h|cc]: Added Node::is_white_space(), to make it easier for the application to ignore white space. Used it in the dom_parser example..2003-05-29 Murray Cumming <murrayc@usa.net> * Removed some struct keywords from method and variable definitions. They don't seem to be necessary, and they do not match the method definitions in the .cc files. * Some syntax clean-up - tabs to spaces and adding spaces. * examples/dom_parse/main.cc: Say when something is a text node.2003-05-28 Christophe de Vienne <cdevienne@netcourrier.com> * lixml++/document.[h|cc]: Added write_to_file_formatted and write_to_string_formatted.2003-05-25 Jonathan Wakely <redi@kayari.org> * libxml++/parsers/saxparser.cc: Included <cassert>2003-05-23 Jonathan Wakely <redi@kayari.org> * libxml++/parsers/saxparser.[h|cc]: Correct comments.2003-05-23 Christophe de Vienne <cdevienne@netcourrier.com>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?