| 1 |
2.36.0: |
| 2 |
|
| 3 |
2012-10-25 Kjell Ahlstedt <[email protected]> |
| 4 |
|
| 5 |
Element::set_namespace_declaration(): No error to set the same URI twice. |
| 6 |
|
| 7 |
* libxml++/nodes/element.[h|cc]: Don't throw an exception from |
| 8 |
set_namespace_declaration(), if a namespace prefix is assigned the same URI |
| 9 |
twice. Bug #635846, comment 27. |
| 10 |
|
| 11 |
2012-10-10 Kjell Ahlstedt <[email protected]> |
| 12 |
|
| 13 |
Require libxml-2.0 >= 2.7.3. |
| 14 |
|
| 15 |
* configure.ac: Require libxml-2.0 >= 2.7.3. |
| 16 |
Don't know if it's really necessary, but 2.7.2 from 2008-10-03 is the oldest |
| 17 |
release available at ftp://xmlsoft.org/libxml2, and 2.7.2 contains a bug that |
| 18 |
makes examples/import_node segfault. |
| 19 |
|
| 20 |
2012-10-10 Kjell Ahlstedt <[email protected]> |
| 21 |
|
| 22 |
Parser::initialize_context(): Call xmlCtxtUseOptions(). |
| 23 |
|
| 24 |
* libxml++/parsers/parser.cc: initialize_context(): Call xmlCtxtUseOptions() |
| 25 |
instead of setting context_->validate and replaceEntities. |
| 26 |
xmlCtxtUseOptions() does that and more. |
| 27 |
|
| 28 |
2.35.4: |
| 29 |
|
| 30 |
2012-08-28 Kjell Ahlstedt <[email protected]> |
| 31 |
|
| 32 |
Add XInclude processing. |
| 33 |
|
| 34 |
* Makefile.am: Add XIncludeStart and XIncludeEnd nodes. |
| 35 |
* examples/Makefile.am: Add dom_xinclude example. |
| 36 |
* examples/README: Add dom_xinclude example and other missing examples. |
| 37 |
* examples/dom_xinclude/example.xml: |
| 38 |
* examples/dom_xinclude/include1.txt: |
| 39 |
* examples/dom_xinclude/include2.xml: |
| 40 |
* examples/dom_xinclude/main.cc: New files. |
| 41 |
* libxml++/document.[h|cc]: Add process_xinclude(). |
| 42 |
* libxml++/libxml++.h: Add new header files. |
| 43 |
* libxml++/nodes/node.cc: create_wrapper(): Create XIncludeStart and |
| 44 |
XIncludeEnd nodes. |
| 45 |
* libxml++/nodes/xincludeend.[h|cc]: |
| 46 |
* libxml++/nodes/xincludestart.[h|cc]: New files. |
| 47 |
* .gitignore: Ignore /examples/dom_xinclude/dom_xinclude. Bug #338521. |
| 48 |
|
| 49 |
2012-08-28 Kjell Ahlstedt <[email protected]> |
| 50 |
|
| 51 |
Parser: Make it thread-safe. |
| 52 |
|
| 53 |
* configure.ac: Require glibmm-2.4 >= 2.32.0. |
| 54 |
* libxml++/parsers/parser.cc: Protect all accesses to extra_parser_data with |
| 55 |
a Glib::Threads::Mutex. Bug #681467. |
| 56 |
|
| 57 |
2012-08-10 Kjell Ahlstedt <[email protected]> |
| 58 |
|
| 59 |
Document: Make the Document(xmlDoc*) constructor public. |
| 60 |
|
| 61 |
* libxml++/document.h: Make the Document(xmlDoc*) constructor public. |
| 62 |
Remove friend declarations that become unnecessary. Bug #668980. |
| 63 |
|
| 64 |
2012-08-09 Kjell Ahlstedt <[email protected]> |
| 65 |
|
| 66 |
Improve the DtdValidation and SchemaValidation example programs. |
| 67 |
|
| 68 |
* examples/dtdvalidation/main.cc: |
| 69 |
* examples/schemavalidation/main.cc: Print all information from all thrown |
| 70 |
xmlpp exceptions. |
| 71 |
|
| 72 |
2012-08-09 Kjell Ahlstedt <[email protected]> |
| 73 |
|
| 74 |
Validators: Improve the error handling. |
| 75 |
|
| 76 |
* libxml++/validators/validator.[h|cc]: |
| 77 |
* libxml++/validators/dtdvalidator.[h|cc]: |
| 78 |
* libxml++/validators/schemavalidator.[h|cc]: Check more return codes from |
| 79 |
libxml2 functions. Improve the description of member functions in the |
| 80 |
reference documentation. Bug #635846. |
| 81 |
|
| 82 |
2012-08-07 Kjell Ahlstedt <[email protected]> |
| 83 |
|
| 84 |
Add incremental parsing to the SaxParser example program. |
| 85 |
|
| 86 |
* examples/sax_parser/main.cc: Uncomment and correct the code that shows |
| 87 |
incremental parsing with SaxParser::parse_chunk(). |
| 88 |
|
| 89 |
2012-08-07 Kjell Ahlstedt <[email protected]> |
| 90 |
|
| 91 |
Parsers: Improve the error handling. |
| 92 |
|
| 93 |
* libxml++/parsers/domparser.[h|cc]: |
| 94 |
* libxml++/parsers/saxparser.[h|cc]: |
| 95 |
* libxml++/parsers/textreader.[h|cc]: Check more return codes from libxml2 |
| 96 |
functions. Improve the description of errors in the reference documentation. |
| 97 |
Bug #635846. |
| 98 |
|
| 99 |
2012-08-07 Kjell Ahlstedt <[email protected]> |
| 100 |
|
| 101 |
Document, Element, Node: Remove unnecessary tests for null pointers. |
| 102 |
|
| 103 |
* libxml++/document.cc: |
| 104 |
* libxml++/nodes/element.cc: |
| 105 |
* libxml++/nodes/node.cc: Remove tests for null pointer before calling |
| 106 |
xmlFreeNode(), which does nothing if given a null pointer. These unnecessary |
| 107 |
tests were newly added when error handling was improved. Bug #635846. |
| 108 |
|
| 109 |
2012-08-05 Kjell Ahlstedt <[email protected]> |
| 110 |
|
| 111 |
Schema::set_document(): Create empty document. |
| 112 |
|
| 113 |
* libxml++/schema.[h|cc]: set_document(): If the argument 'document' is 0, |
| 114 |
create an empty document, as the documentation says. |
| 115 |
|
| 116 |
2012-08-05 Kjell Ahlstedt <[email protected]> |
| 117 |
|
| 118 |
Document, Schema: Improve the error handling. |
| 119 |
|
| 120 |
* libxml++/document.[h|cc]: |
| 121 |
* libxml++/schema.[h|cc]: Check more return codes from libxml2 functions. |
| 122 |
Improve the description of errors in the reference documentation. Bug #635846. |
| 123 |
|
| 124 |
2012-08-02 Kjell Ahlstedt <[email protected]> |
| 125 |
|
| 126 |
Element, Node: Improve the error handling. |
| 127 |
|
| 128 |
* libxml++/nodes/element.[h|cc]: |
| 129 |
* libxml++/nodes/node.[h|cc]: Check more return codes from libxml2 functions. |
| 130 |
Improve the description of errors in the reference documentation. Bug #635846. |
| 131 |
|
| 132 |
2.35.3: |
| 133 |
|
| 134 |
2012-06-19 Kjell Ahlstedt <[email protected]> |
| 135 |
|
| 136 |
Add examples/Makefile.am. Let 'make check' run the examples. |
| 137 |
|
| 138 |
* examples/Makefile.am: New file. Let 'make check' both compile and run the |
| 139 |
example programs. |
| 140 |
* Makefile.am: Call examples/Makefile. Move all 'examples' stuff to |
| 141 |
examples/Makefile.am. |
| 142 |
* configure.ac: Remove --enable-examples. Generate examples/Makefile. |
| 143 |
* .gitignore: Ignore make-check-sh. Bug #678390. |
| 144 |
|
| 145 |
2012-06-19 Kjell Ahlstedt <[email protected]> |
| 146 |
|
| 147 |
Example programs: Fix return codes and print errors on std::cerr. |
| 148 |
|
| 149 |
* examples/*/main.cc: Return EXIT_FAILURE in case of failure. Print error |
| 150 |
messages on std::cerr. The example programs can then be run by 'make check'. |
| 151 |
Bug #678390. |
| 152 |
|
| 153 |
2012-04-20 Kjell Ahlstedt <[email protected]> |
| 154 |
|
| 155 |
Node: Add functions eval_to_[boolean|number|string](). |
| 156 |
|
| 157 |
* examples/dom_xpath/example.xml: Add an element with numeric value. |
| 158 |
* examples/dom_xpath/main.cc: Add calls to the new functions. |
| 159 |
* libxml++/nodes/node.[h|cc]: |
| 160 |
Add the functions eval_to_[boolean|number|string](). Bug #316244. |
| 161 |
|
| 162 |
2012-04-19 Kjell Ahlstedt <[email protected]> |
| 163 |
|
| 164 |
Node: Make the previous fix thread-safe. |
| 165 |
|
| 166 |
* libxml++/nodes/node.cc: Delete the C++ wrapper of a deleted attribute node |
| 167 |
without using xmlDeregisterNodeDefault. Bug #672992 comments 9-12. |
| 168 |
|
| 169 |
2012-04-19 Kjell Ahlstedt <[email protected]> |
| 170 |
|
| 171 |
Node: Fix memory problems in import_node(). |
| 172 |
|
| 173 |
* libxml++/nodes/node.[h|cc]: Return added_node instead of imported_node, |
| 174 |
which libxml2 may delete. Delete the C++ wrapper of a deleted attribute node. |
| 175 |
* examples/import_node/example[1|2].xml: |
| 176 |
* examples/import_node/main.cc: Import attributes and a text node which is |
| 177 |
merged with an existing text node. Bug #672992. |
| 178 |
|
| 179 |
2012-04-12 Kjell Ahlstedt <[email protected]> |
| 180 |
|
| 181 |
Define LIBXMLCPP_EXCEPTIONS_ENABLED unconditionally. |
| 182 |
|
| 183 |
* configure.ac: Add AC_DEFINE([LIBXMLCPP_EXCEPTIONS_ENABLED],[1],... |
| 184 |
|
| 185 |
2012-03-30 Murray Cumming <[email protected]> |
| 186 |
|
| 187 |
Node: Check for a null pointer, to fix a scan-build warning. |
| 188 |
|
| 189 |
* libxml++/nodes/node.cc: This seems unlikely. |
| 190 |
|
| 191 |
2.35.2: |
| 192 |
|
| 193 |
2012-03-21 Murray Cumming <[email protected]> |
| 194 |
|
| 195 |
Fix a warning found by clang++ |
| 196 |
|
| 197 |
* libxml++/parsers/textreader.h: PropertyReader is a class, not |
| 198 |
a struct. |
| 199 |
|
| 200 |
2012-03-20 Murray Cumming <[email protected]> |
| 201 |
|
| 202 |
Remove the --disable-api-exceptions configure option. |
| 203 |
|
| 204 |
And remove the #ifdefs and #else blocks from the code. |
| 205 |
This is not used by anybody now, as far as I know, so this makes the |
| 206 |
code easier to maintain. |
| 207 |
|
| 208 |
2012-03-20 Murray Cumming <[email protected]> |
| 209 |
|
| 210 |
A fix for the previous commit. |
| 211 |
|
| 212 |
* libxml++/nodes/node.cc: get_first_child() const: Use the name |
| 213 |
parameter. |
| 214 |
|
| 215 |
2012-03-19 Murray Cumming <[email protected]> |
| 216 |
|
| 217 |
Node: Add get_first_child(). |
| 218 |
|
| 219 |
* libxml++/nodes/node.[h|cc]: This is like get_children(), |
| 220 |
but it returns only the first node, optionally returning |
| 221 |
the first one with a certain name. |
| 222 |
Based on a patch by Ilya Murav'jov in bug #648125 . |
| 223 |
|
| 224 |
2.35.1: |
| 225 |
|
| 226 |
2012-02-15 Kjell Ahlstedt <[email protected]> |
| 227 |
|
| 228 |
Handle attributes with default values correctly. |
| 229 |
|
| 230 |
* libxml++/attributedeclaration.[h|cc]: |
| 231 |
* libxml++/attributenode.[h|cc]: New files. |
| 232 |
* Makefile.am: |
| 233 |
* libxml++/Makefile.am: Add the new files. |
| 234 |
* libxml++/libxml++.h: Add the new .h files. |
| 235 |
* docs/manual/libxml++_without_code.xml: Add AttributeDeclaration and |
| 236 |
AttributeNode in the list of node classes. |
| 237 |
* libxml++/attribute.[h|cc]: Make get_value() useful also for default values |
| 238 |
(XML_ATTRIBUTE_DECL). Fix set_value() for attributes in a namespace. |
| 239 |
* libxml++/nodes/element.[h|cc]: get_attribute(): Add description. Don't use |
| 240 |
xmlHasProp(), it ignores namespace. |
| 241 |
* libxml++/nodes/node.cc: get_namespace_prefix(), get_namespace_uri(), |
| 242 |
set_namespace(), create_wrapper(): Add code for XML_ATTRIBUTE_DECL. |
| 243 |
* examples/dom_parser/example.dtd: Add attribute 'title' with default value. |
| 244 |
* examples/dom_parser/example.xml: Add attribute 'title' with explicit value. |
| 245 |
Bug #669635. |
| 246 |
|
| 247 |
2012-02-15 Kjell Ahlstedt <[email protected]> |
| 248 |
|
| 249 |
Node: Correct mis-spelt LIBXMLCPP_EXCEPTIONS_ENABLED. |
| 250 |
|
| 251 |
* libxml++/nodes/node.h: Add some "@throws exception". |
| 252 |
* libxml++/nodes/node.cc: Change LIBXMLCPP_EXCEPTIONS_ENABLE to |
| 253 |
LIBXMLCPP_EXCEPTIONS_ENABLED in find_impl() and set_namespace(). |
| 254 |
|
| 255 |
2012-02-15 Kjell Ahlstedt <[email protected]> |
| 256 |
|
| 257 |
Improved handling of entity references and processing instructions. |
| 258 |
|
| 259 |
* libxml++/nodes/entitydeclaration.[h|cc]: New files. |
| 260 |
* Makefile.am: |
| 261 |
* libxml++/Makefile.am: Add the new files. |
| 262 |
* libxml++/libxml++.h: Add the new .h file. |
| 263 |
* docs/manual/libxml++_without_code.xml: Add EntityDeclaration in the list |
| 264 |
of node classes. |
| 265 |
* libxml++/document.[h|cc]: Add add_processing_instruction(). |
| 266 |
* libxml++/nodes/element.[h|cc]: Add add_child_entity_reference() and |
| 267 |
add_child_processing_instruction(). |
| 268 |
* libxml++/nodes/entityreference.h: Improve the description of |
| 269 |
get_resolved_text() and get_original_text(). |
| 270 |
* libxml++/nodes/node.cc: get_namespace_prefix() and get_namespace_uri(): |
| 271 |
XML_ENTITY_DECL has no namespace. Don't try to find it. |
| 272 |
create_wrapper(): Create an EntityDeclaration when type == XML_ENTITY_DECL. |
| 273 |
free_wrappers(): Don't walk the child list when type == XML_ENTITY_REF_NODE. |
| 274 |
* examples/dom_build/main.cc: Add entity declarations and references, and |
| 275 |
processing instructions to the built xml file. |
| 276 |
* examples/dom_parse_entities/example.dtd: Make it compatible with example.xml. |
| 277 |
* examples/dom_parse_entities/example.xml: Add an entity definition that |
| 278 |
contains entity references. |
| 279 |
* examples/dom_parse_entities/main.cc: Print the parsed file both with and |
| 280 |
without entity substitution. |
| 281 |
* examples/dom_parser/example.dtd: Make it compatible with example.xml. |
| 282 |
* examples/dom_parser/main.cc: Add command flag -E (Don't substitute entities). |
| 283 |
Bug #669481 |
| 284 |
|
| 285 |
2012-02-15 Kjell Ahlstedt <[email protected]> |
| 286 |
|
| 287 |
Add some files to .gitignore. |
| 288 |
|
| 289 |
* .gitignore: Add docs files that are copied from mm-common. |
| 290 |
Add /MSVC_Net2010/libxml++/libxml++.rc and |
| 291 |
/examples/dom_read_write/example_output.xml. |
| 292 |
|
| 293 |
2012-02-15 Kjell Ahlstedt <[email protected]> |
| 294 |
|
| 295 |
Add @newin{2,36} to some new functions where it's missing. |
| 296 |
|
| 297 |
* libxml++/exceptions/exception.h: Add @newin{2,36} to format_xml_error() and |
| 298 |
format_xml_parser_error(). |
| 299 |
* libxml++/parsers/parser.h: Add @newin{2,36} to [set|get]_throw_messages(). |
| 300 |
Bug #304020. |
| 301 |
|
| 302 |
2012-02-10 Kjell Ahlstedt <[email protected]> |
| 303 |
|
| 304 |
Make the schema validation example program work with no arguments. |
| 305 |
|
| 306 |
* examples/schemavalidation/main.cc: Correct the test for number of arguments. |
| 307 |
|
| 308 |
2012-01-30 Kjell Ahlstedt <[email protected]> |
| 309 |
|
| 310 |
Parser: Throw more detailed error messages. |
| 311 |
|
| 312 |
* examples/dom_parser/main.cc: Add command parameters -v -e -t. |
| 313 |
* libxml++/exceptions/exception.[h|cc]: Add format_xml_error() and |
| 314 |
format_xml_parser_error(). |
| 315 |
* libxml++/parsers/domparser.cc: Call format_xml_error() and |
| 316 |
format_xml_parser_error() to get more detailed messages in exceptions. |
| 317 |
* libxml++/parsers/parser.[h|cc]: Add [set|get]_throw_messages() and (local in |
| 318 |
.cc until ABI can be broken) on_parser_[error|warning](). Bug #304020. |
| 319 |
|
| 320 |
2012-01-30 Murray Cumming <[email protected]> |
| 321 |
|
| 322 |
Document: Make the Document(xmlDoc*) constructor protected. |
| 323 |
|
| 324 |
* libxml++/document.h: This was requested in bug #668980 (A. Pignotti). |
| 325 |
|
| 326 |
2011-09-09 Murray Cumming <[email protected]> |
| 327 |
|
| 328 |
Document: write_to_*(): Make sure that we write UTF-8 out. |
| 329 |
|
| 330 |
* libxml++/document.cc: Because the xmlDocDump*() functions use some other |
| 331 |
encoding if you specify NULL, causing errors such as: |
| 332 |
xmlEscapeEntities : char out of range |
| 333 |
|
| 334 |
2.34.2: |
| 335 |
|
| 336 |
2011-09-06 Mathias Lorente <[email protected]> |
| 337 |
|
| 338 |
Node::create_new_child_node(): Use the default namespace if none is specified. |
| 339 |
|
| 340 |
* libxml++/nodes/node.cc: This is better than just ignoring it. |
| 341 |
Bug #656110 |
| 342 |
|
| 343 |
2011-07-20 Murray Cumming <[email protected]> |
| 344 |
|
| 345 |
ContentNode::get_content(): Fix a documentation typo. |
| 346 |
|
| 347 |
* libxml++/nodes/contentnode.h: Mention > instead of &qt (a q |
| 348 |
instead of a g, and no ;.). |
| 349 |
|
| 350 |
2011-07-20 Mathias Lorente <[email protected]> |
| 351 |
|
| 352 |
Add Element::add_child_cdata(). |
| 353 |
|
| 354 |
* libxml++/nodes/element.[h|cc]: Add add_child_cdata(), using |
| 355 |
xmlNewCDataBlock(), like the existing add_child_text(). |
| 356 |
* examples/sax_parser_build_dom/example.xml: |
| 357 |
* examples/sax_parser_build_dom/svgparser.[h|cc]: Use the new API. |
| 358 |
|
| 359 |
2.34.1: |
| 360 |
|
| 361 |
2011-04-17 Murray Cumming <[email protected]> |
| 362 |
|
| 363 |
Fix distcheck. |
| 364 |
|
| 365 |
* Makefile.am: Specify the full path to docbook-customisation.xsl, |
| 366 |
which is apparently necessary with the autotools that I have here. |
| 367 |
|
| 368 |
2011-04-17 Murray Cumming <[email protected]> |
| 369 |
|
| 370 |
Fix the build with --enable-warnings=fatal. |
| 371 |
|
| 372 |
* configure.ac: Use -no-long-long to avoid an (apparently new) compiler |
| 373 |
warning about long long not being supported by C++98. glibmm already had |
| 374 |
this option. |
| 375 |
|
| 376 |
2011-04-17 Murray Cumming <[email protected]> |
| 377 |
|
| 378 |
Do not require mm-common during the tarball build. |
| 379 |
|
| 380 |
* configure.ac: Add a MM_CONFIG_DOCTOOL_DIR() call. |
| 381 |
|
| 382 |
2.34.0: |
| 383 |
|
| 384 |
2011-02-24 Murray Cumming <[email protected]> |
| 385 |
|
| 386 |
Fix the build with the changed linker behaviour on Ubuntu Natty. |
| 387 |
|
| 388 |
* Makefile.am: Link the examples to glibmm explicitly. |
| 389 |
|
| 390 |
2.33.2: |
| 391 |
|
| 392 |
2011-02-11 Murray Cumming <[email protected]> |
| 393 |
|
| 394 |
Node::remove_child(): Fix a use of deleted memory |
| 395 |
|
| 396 |
* libxml++/nodes/node.cc: |
| 397 |
Use a temporary variable to avoid accessing the node C++ instance after we |
| 398 |
have deleted it. Valgrind foudn this. |
| 399 |
Also remove the comment about the libxml deleting our C++ instance via a |
| 400 |
callback, because we don't do that anymore. |
| 401 |
|
| 402 |
2010-11-26 Murray Cumming <[email protected]> |
| 403 |
|
| 404 |
Check some libxml function return values. |
| 405 |
|
| 406 |
* libxml++/document.cc: do_write_to_stream(): |
| 407 |
* libxml++/schema.cc: set_document(): Check the results from |
| 408 |
xmlSchemaNewDocParserCtxt() and xmlSaveFormatFileTo(). |
| 409 |
Bug #635846 (Markus Elfring). |
| 410 |
|
| 411 |
2.33.1: |
| 412 |
|
| 413 |
2010-11-14 Murray Cumming <[email protected]> |
| 414 |
|
| 415 |
free_wrappers(): Fix crash. |
| 416 |
|
| 417 |
* libxml++/nodes/node.cc: free_wrappers(): Revert my change to check |
| 418 |
xmlNode::properties for all types, because the layout of some structs |
| 419 |
is apparently completely different (not really deriving fully), and this |
| 420 |
caused a crash in examples/sax_parser/. |
| 421 |
Added an explanatory comment. |
| 422 |
|
| 423 |
2010-11-14 Murray Cumming <[email protected]> |
| 424 |
|
| 425 |
Change the --enable-examples default to yes. |
| 426 |
|
| 427 |
* configure.ac: Build the examples by default, so we at least check the |
| 428 |
build more often. Disabling them is only useful for package building, |
| 429 |
which is the less common case. |
| 430 |
|
| 431 |
2010-11-14 Murray Cumming <[email protected]> |
| 432 |
|
| 433 |
Moved create_wrapper() and free_wrappers() to Node. |
| 434 |
|
| 435 |
* libxml++/document.[h|cc]: |
| 436 |
* libxml++/nodes/node.[h|cc]: Moved create_wrapper() and free_wrappers() |
| 437 |
to here from Document. |
| 438 |
free_wrappers(): Never return inside the switch/case, so we check |
| 439 |
xmlNode::properties for all struct types, and to avoid making the behaviour |
| 440 |
non-obvious. |
| 441 |
* libxml++/parsers/textreader.cc: |
| 442 |
* libxml++/validators/dtdvalidator.cc: |
| 443 |
* libxml++/nodes/element.cc: Adapted. |
| 444 |
|
| 445 |
2010-11-08 Alessandro Pignotti <[email protected]> |
| 446 |
|
| 447 |
Make libxml++ compatible with separate and multi-threaded libxml2 usage. |
| 448 |
|
| 449 |
* libxml++/document.[h|cc]: Added create_wrapper() and free_wrappers(), |
| 450 |
replacing on_libxml_construct() and on_libxml_destruct() . |
| 451 |
Init(): Do not register these global callbacks with libxml. |
| 452 |
* libxml++/nodes/element.cc: |
| 453 |
* libxml++/nodes/node.[h|cc]: |
| 454 |
* libxml++/parsers/textreader.cc: |
| 455 |
* libxml++/validators/dtdvalidator.cc: Call these create_wrapper() before |
| 456 |
ever trying to get a C++ instance from a C instance. Call free_wrappers() |
| 457 |
in destructors and other places where we want the instance to be destroyed. |
| 458 |
|
| 459 |
This avoids use of libxml's global function pointers, which are not |
| 460 |
thread-safe. |
| 461 |
|
| 462 |
2010-11-08 Murray Cumming <[email protected]> |
| 463 |
|
| 464 |
Do not call xmlCleanupParser() because it is brutal. |
| 465 |
|
| 466 |
* libxml++/document.cc: ~Init(): Do not call xmlCleanupParser() because it |
| 467 |
breaks libxml generally and should only be called by an application |
| 468 |
explicitly before it ends, for instance at the end of its main(). |
| 469 |
|
| 470 |
2010-10-19 Knut Aksel Røysland <[email protected]> |
| 471 |
|
| 472 |
Node::get_parent(): Removed code duplication. |
| 473 |
|
| 474 |
* libxml++/nodes/node.cc: get_parent() const: Use const_cast<> to call |
| 475 |
the non-const version, instead of duplicating the code. |
| 476 |
|
| 477 |
2.32.0: |
| 478 |
|
| 479 |
2010-10-14 Murray Cumming <[email protected]> |
| 480 |
|
| 481 |
website: Change the mailing list location, because I moved it. |
| 482 |
|
| 483 |
* docs/index.html: The mailing list is now at gnome.org. |
| 484 |
|
| 485 |
2010-10-03 Armin Burgmeier <[email protected]> |
| 486 |
|
| 487 |
* MSVC_Net2005/README: |
| 488 |
* MSVC_Net2005/examples/dom_build/dom_build.vcproj: |
| 489 |
* MSVC_Net2005/examples/dom_parse_entities/dom_parse_entities.vcproj: |
| 490 |
* MSVC_Net2005/examples/dom_parser/dom_parser.vcproj: |
| 491 |
* MSVC_Net2005/examples/dom_parser_raw/dom_parser_raw.vcproj: |
| 492 |
* MSVC_Net2005/examples/dom_read_write/dom_read_write.vcproj: |
| 493 |
* MSVC_Net2005/examples/dom_xpath/dom_xpath.vcproj: |
| 494 |
* MSVC_Net2005/examples/dtdvalidation/dtdvalidation.vcproj: |
| 495 |
* MSVC_Net2005/examples/import_node/import_node.vcproj: |
| 496 |
* MSVC_Net2005/examples/sax_exception/sax_exception.vcproj: |
| 497 |
* MSVC_Net2005/examples/sax_parser/sax_parser.vcproj: |
| 498 |
* MSVC_Net2005/examples/sax_parser_build_dom/sax_parser_build_dom.vcproj: |
| 499 |
* MSVC_Net2005/examples/sax_parser_entities/sax_parser_entities.vcproj: |
| 500 |
* MSVC_Net2005/examples/schemavalidation/schemavalidation.vcproj: |
| 501 |
* MSVC_Net2005/examples/textreader/textreader.vcproj: |
| 502 |
* MSVC_Net2005/gendef/gendef.vcproj: |
| 503 |
* MSVC_Net2005/libxml++.sln: |
| 504 |
* MSVC_Net2005/libxml++/libxml++.vcproj: |
| 505 |
* MSVC_Net2008/README: |
| 506 |
* MSVC_Net2008/examples/dom_build/dom_build.vcproj: |
| 507 |
* MSVC_Net2008/examples/dom_parse_entities/dom_parse_entities.vcproj: |
| 508 |
* MSVC_Net2008/examples/dom_parser/dom_parser.vcproj: |
| 509 |
* MSVC_Net2008/examples/dom_parser_raw/dom_parser_raw.vcproj: |
| 510 |
* MSVC_Net2008/examples/dom_read_write/dom_read_write.vcproj: |
| 511 |
* MSVC_Net2008/examples/dom_xpath/dom_xpath.vcproj: |
| 512 |
* MSVC_Net2008/examples/dtdvalidation/dtdvalidation.vcproj: |
| 513 |
* MSVC_Net2008/examples/import_node/import_node.vcproj: |
| 514 |
* MSVC_Net2008/examples/sax_exception/sax_exception.vcproj: |
| 515 |
* MSVC_Net2008/examples/sax_parser/sax_parser.vcproj: |
| 516 |
* MSVC_Net2008/examples/sax_parser_build_dom/sax_parser_build_dom.vcproj: |
| 517 |
* MSVC_Net2008/examples/sax_parser_entities/sax_parser_entities.vcproj: |
| 518 |
* MSVC_Net2008/examples/schemavalidation/schemavalidation.vcproj: |
| 519 |
* MSVC_Net2008/examples/textreader/textreader.vcproj: |
| 520 |
* MSVC_Net2008/gendef/gendef.vcproj: |
| 521 |
* MSVC_Net2008/libxml++.sln: |
| 522 |
* MSVC_Net2008/libxml++/libxml++.vcproj: |
| 523 |
* MSVC_Net2010/README: |
| 524 |
* MSVC_Net2010/examples/dom_build/dom_build.vcxproj: |
| 525 |
* MSVC_Net2010/examples/dom_build/dom_build.vcxproj.filters: |
| 526 |
* MSVC_Net2010/examples/dom_parse_entities/dom_parse_entities.vcxproj: |
| 527 |
* MSVC_Net2010/examples/dom_parse_entities/dom_parse_entities.vcxproj.filters: |
| 528 |
* MSVC_Net2010/examples/dom_parser/dom_parser.vcxproj: |
| 529 |
* MSVC_Net2010/examples/dom_parser/dom_parser.vcxproj.filters: |
| 530 |
* MSVC_Net2010/examples/dom_parser_raw/dom_parser_raw.vcxproj: |
| 531 |
* MSVC_Net2010/examples/dom_parser_raw/dom_parser_raw.vcxproj.filters: |
| 532 |
* MSVC_Net2010/examples/dom_read_write/dom_read_write.vcxproj: |
| 533 |
* MSVC_Net2010/examples/dom_read_write/dom_read_write.vcxproj.filters: |
| 534 |
* MSVC_Net2010/examples/dom_xpath/dom_xpath.vcxproj: |
| 535 |
* MSVC_Net2010/examples/dom_xpath/dom_xpath.vcxproj.filters: |
| 536 |
* MSVC_Net2010/examples/dtdvalidation/dtdvalidation.vcxproj: |
| 537 |
* MSVC_Net2010/examples/dtdvalidation/dtdvalidation.vcxproj.filters: |
| 538 |
* MSVC_Net2010/examples/import_node/import_node.vcxproj: |
| 539 |
* MSVC_Net2010/examples/import_node/import_node.vcxproj.filters: |
| 540 |
* MSVC_Net2010/examples/sax_exception/sax_exception.vcxproj: |
| 541 |
* MSVC_Net2010/examples/sax_exception/sax_exception.vcxproj.filters: |
| 542 |
* MSVC_Net2010/examples/sax_parser/sax_parser.vcxproj: |
| 543 |
* MSVC_Net2010/examples/sax_parser/sax_parser.vcxproj.filters: |
| 544 |
* MSVC_Net2010/examples/sax_parser_build_dom/sax_parser_build_dom.vcxproj: |
| 545 |
* MSVC_Net2010/examples/sax_parser_build_dom/sax_parser_build_dom.vcxproj.filters: |
| 546 |
* MSVC_Net2010/examples/sax_parser_entities/sax_parser_entities.vcxproj: |
| 547 |
* MSVC_Net2010/examples/sax_parser_entities/sax_parser_entities.vcxproj.filters: |
| 548 |
* MSVC_Net2010/examples/schemavalidation/schemavalidation.vcxproj: |
| 549 |
* MSVC_Net2010/examples/schemavalidation/schemavalidation.vcxproj.filters: |
| 550 |
* MSVC_Net2010/examples/textreader/textreader.vcxproj: |
| 551 |
* MSVC_Net2010/examples/textreader/textreader.vcxproj.filters: |
| 552 |
* MSVC_Net2010/gendef/gendef.cc: |
| 553 |
* MSVC_Net2010/gendef/gendef.vcxproj: |
| 554 |
* MSVC_Net2010/gendef/gendef.vcxproj.filters: |
| 555 |
* MSVC_Net2010/libxml++.sln: |
| 556 |
* MSVC_Net2010/libxml++/libxml++.rc.in: |
| 557 |
* MSVC_Net2010/libxml++/libxml++.vcxproj: |
| 558 |
* MSVC_Net2010/libxml++/libxml++.vcxproj.filters: |
| 559 |
* Makefile.am: |
| 560 |
* configure.ac: Added support for MSVC 2010 and 64 bit. |
| 561 |
|
| 562 |
2010-06-13 Murray Cumming <[email protected]> |
| 563 |
|
| 564 |
Node::find(): Check xmlNode::type for a XML_NAMESPACE_DECL. |
| 565 |
|
| 566 |
* libxml++/nodes/node.cc: find_impl(): if the xmlNode has type |
| 567 |
XML_NAMESPACE_DECL then it is actually a xmlNs, which is not like a xmlNode |
| 568 |
at all (thanks to the awful undocumented libxml++ system of struct |
| 569 |
inheritance). |
| 570 |
So we just igore these items. We need to decide what the caller really |
| 571 |
expects. |
| 572 |
|
| 573 |
2010-06-13 Murray Cumming <[email protected]> |
| 574 |
|
| 575 |
Node::find(): Revert some of my previous change because it breaks some code. |
| 576 |
|
| 577 |
* libxml++/nodes/node.cc: find_impl(): Restore the previous behaviour, |
| 578 |
because the strange use of _private only seems to happen sometimes. |
| 579 |
|
| 580 |
2010-06-13 Murray Cumming <[email protected]> |
| 581 |
|
| 582 |
Node::find(): Cope with weird use of _private in xmlNodeSet. |
| 583 |
|
| 584 |
* libxml++/nodes/node.cc: The xmlNodeSet seems to contain extra xmlNodes that |
| 585 |
were never given to on_libxml_construct(). Those xmlNodes seem to abuse |
| 586 |
private_, where we find our real xmlNodes containing our C++ Nodes. |
| 587 |
This fixes bug #386013 (Max Kirillov) though it depends on undocumented |
| 588 |
libxml behaviour. |
| 589 |
|
| 590 |
2010-06-13 Murray Cumming <[email protected]>> |
| 591 |
|
| 592 |
Node::find(): Use libxml functions instead of direct C access. |
| 593 |
|
| 594 |
* libxml++/nodes/node.cc: Use xmlXPathNodeSetIsEmpty(), |
| 595 |
xmlXPathNodeSetGetLength() and xmlXPathNodeSetItem() instead of direct |
| 596 |
xmlNodeSet struct access. |
| 597 |
|
| 598 |
2010-06-13 Murray Cumming <[email protected]> |
| 599 |
|
| 600 |
Manual: Use git.gnome.org as the link to the examples source code. |
| 601 |
|
| 602 |
* docs/manual/libxml++_without_code.xml: Use git.gnome.org for the examples |
| 603 |
url base, as we do in gtkmm-documentation. |
| 604 |
|
| 605 |
2010-06-13 Murray Cumming <[email protected]> |
| 606 |
|
| 607 |
Restore the mm-common make target and update a link. |
| 608 |
|
| 609 |
* Makefile.am: Restore (and update) the post-html target that was lost when |
| 610 |
we redid the build system for mm-common. |
| 611 |
* docs/index.html: Change the link to the manual to point to its new location |
| 612 |
at library.gnome.org. |
| 613 |
|
| 614 |
2.30.1: |
| 615 |
|
| 616 |
2010-05-04 Murray Cumming <[email protected]> |
| 617 |
|
| 618 |
Documentation: Don't hide undocumented API. |
| 619 |
|
| 620 |
* docs/reference/Doxyfile.in: Use the same options as gtkmm (mostly). |
| 621 |
In particular, don't hide undocumented API, such as NodeSet, to fix |
| 622 |
bug #583412 (Hubert Figuiere). |
| 623 |
|
| 624 |
2010-05-04 Murray Cumming <[email protected]> |
| 625 |
|
| 626 |
Documentation: Improvements. |
| 627 |
|
| 628 |
* libxml++/libxml++.h: Expand the main page text, linking to the tutorial |
| 629 |
and to important classes. |
| 630 |
* libxml++/parsers/domparser.h: |
| 631 |
* libxml++/schema.h: Correct the class descriptions. |
| 632 |
* libxml++/parsers/textreader.h: Add a class description. |
| 633 |
* libxml++/nodes/element.h: |
| 634 |
* libxml++/nodes/node.h: |
| 635 |
* libxml++/parsers/saxparser.h: |
| 636 |
* libxml++/validators/schemavalidator.h: |
| 637 |
Correct @newin2p2* to @newin{2,*} now that we use mm-common. |
| 638 |
|
| 639 |
2010-04-27 David King <[email protected]> |
| 640 |
|
| 641 |
Further documentation main page improvements |
| 642 |
|
| 643 |
* libxml++/libxml++.h: Some minor improvements. |
| 644 |
|
| 645 |
2010-04-23 David King <[email protected]> |
| 646 |
|
| 647 |
Documentation main page improvements |
| 648 |
|
| 649 |
* libxml++/libxml++.h: Add external links and compilation example. |
| 650 |
|
| 651 |
2010-04-16 David King <[email protected]> |
| 652 |
|
| 653 |
Minor documentation update |
| 654 |
|
| 655 |
* docs/index.html: Link to latest gnome.org resources. |
| 656 |
* libxml++/libxml++.h: Add minimal documentation for main page. |
| 657 |
|
| 658 |
2010-04-06 Murray Cumming <[email protected]> |
| 659 |
|
| 660 |
.pc file: Add datarootdir. |
| 661 |
|
| 662 |
* libxml++-2.6.pc.in: Add datarootdir and datadir, as in the gtkmm .pc.in |
| 663 |
file, because I started seeing this warning when running autogen.sh in Glom: |
| 664 |
Variable 'datarootdir' not defined in '/opt/gnome228/lib/pkgconfig/libxml++-2.6.pc' |
| 665 |
|
| 666 |
2010-04-03 Armin Burgmeier <[email protected]> |
| 667 |
|
| 668 |
* MSVC_Net2005/libxml++.sln: |
| 669 |
* MSVC_Net2008/libxml++.sln: Add dom_parser_raw project to the |
| 670 |
solution files. |
| 671 |
|
| 672 |
2010-03-30 Murray Cumming <[email protected]> |
| 673 |
|
| 674 |
Stop exceptions when using std::cout and UTF-8. |
| 675 |
|
| 676 |
* examples/*/main.cc: Initialize the global C and C++ locale to prevent |
| 677 |
exceptions when ouputing a ustring (with non-ASCII UTF-8) to std::cout. |
| 678 |
We don't see this problem when writing gtkmm apps because gtk_init() (via |
| 679 |
Gtk::Main) initializes the C locale correctly. |
| 680 |
|
| 681 |
Thanks to Daniel Elstner for the solution (he will document it properly |
| 682 |
in the Glib::ustring API reference) and to Nic Reveles and others for |
| 683 |
noticing the problem. |
| 684 |
|
| 685 |
2010-03-30 David King <[email protected]> |
| 686 |
|
| 687 |
Update pkg-config file |
| 688 |
|
| 689 |
* libxml++-2.6.pc.in: Add documentation locations to pkg-config file. |
| 690 |
Update other fields to use variables, rather than hardcoded values. |
| 691 |
|
| 692 |
=== 2.30.0 === |
| 693 |
|
| 694 |
2010-03-30 David King <[email protected]> |
| 695 |
|
| 696 |
Disable AM_MAINTAINER_MODE by default |
| 697 |
|
| 698 |
* configure.ac: Pass the disable parameter to AM_MAINTAINER_MODE so |
| 699 |
that tarball users do not need doxygen, mm-common, etc. if they modify |
| 700 |
files. Maintainer mode is still enabled if running autogen.sh. |
| 701 |
|
| 702 |
2010-03-29 David King <[email protected]> |
| 703 |
|
| 704 |
Move a target outside a conditional block to fix the build |
| 705 |
|
| 706 |
* Makefile.am: Move docs/manual/libxml++.xml target outside the |
| 707 |
ENABLE_DOCUMENTATION conditional block. |
| 708 |
|
| 709 |
2010-03-29 David King <[email protected]> |
| 710 |
|
| 711 |
Use mm-common for reference documentation generation |
| 712 |
|
| 713 |
* .gitignore: Update. |
| 714 |
|
| 715 |
* Makefile.am: Remove SUBDIRS. Make examples build and documentation |
| 716 |
build conditional. Build reference documentation with doc-reference.am |
| 717 |
from mm-common. Add docs/manual/libxml++.pdf target, but do not enable |
| 718 |
it by default. Add autogen.sh and docs/manual/insert_example_code.pl to |
| 719 |
dist_noinst_SCRIPTS. Add docs/manual/html/*.html to |
| 720 |
MAINTAINERCLEANFILES. |
| 721 |
|
| 722 |
* autogen.sh: Add --enable-maintainer-mode to arguments passed to |
| 723 |
configure. |
| 724 |
|
| 725 |
* configure.ac: Add AM_MAINTAINER_MODE. Add a configure argument to |
| 726 |
enable the build of the examples. Use mm-common macros to add a |
| 727 |
configure argument to enable documentation, and use the glibmm |
| 728 |
tagfile. Check for xmllint and db2latex for DTD validation of the |
| 729 |
DocBook manual and building the PDF documentation, repectively. Remove |
| 730 |
the last non-toplevel Makefiles from AC_CONFIG_FILES. |
| 731 |
|
| 732 |
* docs/Makefile.am: |
| 733 |
* docs/Makefile_web.am_fragment: |
| 734 |
* docs/manual/Makefile.am: |
| 735 |
* docs/reference/Makefile.am: Remove from repository, and move content |
| 736 |
to Makefile.am. |
| 737 |
|
| 738 |
* docs/manual/docbook-customisation.xsl: Add DocBook customisation |
| 739 |
parameters. |
| 740 |
|
| 741 |
* docs/manual/libxml++_without_code.xml: Make validate. |
| 742 |
|
| 743 |
* docs/reference/Doxyfile.in: Update from mm-common. |
| 744 |
|
| 745 |
* docs/reference/README: Remove empty file. |
| 746 |
|
| 747 |
2010-03-27 David King <[email protected]> |
| 748 |
|
| 749 |
Fix several compiler warnings |
| 750 |
|
| 751 |
* examples/dom_build/main.cc: |
| 752 |
* examples/dtdvalidation/main.cc: |
| 753 |
* examples/import_node/main.cc: |
| 754 |
* examples/sax_exception/main.cc: |
| 755 |
* examples/sax_exception/my_parser.cc: |
| 756 |
* examples/sax_parser/main.cc: |
| 757 |
* examples/sax_parser/my_parser.cc: |
| 758 |
* examples/sax_parser_build_dom/svgparser.cc: |
| 759 |
* examples/sax_parser_entities/myparser.cc: |
| 760 |
* examples/textreader/main.cc: |
| 761 |
* libxml++/parsers/textreader.cc: Comment out unused parameters and |
| 762 |
variables. |
| 763 |
|
| 764 |
* libxml++/parsers/saxparser.cc: Fill in missing fields of |
| 765 |
xmlSAXHandler struct. |
| 766 |
|
| 767 |
2010-03-27 David King <[email protected]> |
| 768 |
|
| 769 |
Refactor build system |
| 770 |
|
| 771 |
* Makefile.am: Merge from subdir Makefile.am files, excluding doc. |
| 772 |
|
| 773 |
* MSVC_Net2005/examples/dom_parser_raw/dom_parser_raw.vcproj: |
| 774 |
* MSVC_Net2008/examples/dom_parser_raw/dom_parser_raw.vcproj: Add |
| 775 |
missing Visual studio project files. |
| 776 |
|
| 777 |
* MSVC_Net2005/examples/*/Makefile.am: |
| 778 |
* MSVC_Net2005/examples/Makefile.am: |
| 779 |
* MSVC_Net2005/gendef/Makefile.am: |
| 780 |
* MSVC_Net2005/libxml++/Makefile.am: |
| 781 |
* MSVC_Net2008/examples/*/Makefile.am: |
| 782 |
* MSVC_Net2008/examples/Makefile.am: |
| 783 |
* MSVC_Net2008/gendef/Makefile.am: |
| 784 |
* MSVC_Net2008/libxml++/Makefile.am: Remove from repository, and move |
| 785 |
content to Makefile.am, making the MSVC project file build |
| 786 |
non-recursive. |
| 787 |
|
| 788 |
* README: Update. |
| 789 |
|
| 790 |
* autogen.sh: Copy from gtkmm. |
| 791 |
|
| 792 |
* configure.in: Move to configure.ac. |
| 793 |
|
| 794 |
* configure.ac: Require autoconf 2.59 and automake 1.9. Use new-style |
| 795 |
AC_INIT() with bug-report link and homepage URL. Use mm-common for |
| 796 |
initialisation of version variables. Require libtool 2.2.6 for much |
| 797 |
faster builds. Use MM_ARG_ENABLE_WARNINGS to configure compiler |
| 798 |
warning flags. Use MM_CHECK_PERL to check for the required Perl |
| 799 |
version. Use AC_CONFIG_FILES rather than AC_OUTPUT. Update for |
| 800 |
Makefile.am changes. |
| 801 |
|
| 802 |
* config.h.in: Remove from repository, as autoheader is now used. |
| 803 |
|
| 804 |
* */.cvsignore: Remove old files. |
| 805 |
|
| 806 |
* doc/manual/Makefile.am: Use the correct Perl. |
| 807 |
|
| 808 |
* doc/reference/Doxyfile.in: |
| 809 |
* MSVC_Net2005/libxml++/libxml++.rc.in: |
| 810 |
* MSVC_Net2008/libxml++/libxml++.rc.in: Use new-style variable names. |
| 811 |
|
| 812 |
* examples/Makefile.am_fragment: |
| 813 |
* examples/Makefile.am: |
| 814 |
* examples/*/Makefile.am: Remove from repository, and move content to |
| 815 |
Makefile.am, making the examples build non-recursive. |
| 816 |
|
| 817 |
* .gitignore: Update. |
| 818 |
|
| 819 |
* libxml++/Makefile.am: |
| 820 |
* libxml++/*/Makefile.am: Remove from repository, and move content to |
| 821 |
Makefile.am, making the libxml++ build non-recursive. |
| 822 |
|
| 823 |
* libxml++.spec.in: |
| 824 |
* INSTALL: Remove from repository. |
| 825 |
|
| 826 |
* scripts/README: |
| 827 |
* scripts/Makfile.am: Remove from repository. |
| 828 |
|
| 829 |
* scripts/reduced.m4: Move to macros/reduced.m4 |
| 830 |
|
| 831 |
2010-03-08 Murray Cumming <[email protected]> |
| 832 |
|
| 833 |
Use 0 instead of NULL. |
| 834 |
|
| 835 |
* MSVC_Net2005/gendef/gendef.cc: |
| 836 |
* MSVC_Net2008/gendef/gendef.cc: |
| 837 |
* libxml++/attribute.cc: |
| 838 |
* libxml++/document.cc: |
| 839 |
* libxml++/io/outputbuffer.cc: |
| 840 |
* libxml++/io/parserinputbuffer.cc: |
| 841 |
* libxml++/nodes/node.cc: |
| 842 |
* libxml++/parsers/domparser.cc: |
| 843 |
* libxml++/parsers/parser.cc: |
| 844 |
* libxml++/parsers/textreader.cc: |
| 845 |
* libxml++/schema.cc: |
| 846 |
* libxml++/schema.h: Do not use NULL. It is unwise in C++. |
| 847 |
|
| 848 |
=== 2.26.1 === |
| 849 |
|
| 850 |
2009-07-27 Johannes Schmid <[email protected]> |
| 851 |
|
| 852 |
* libxml++/validators/schemavalidator.cc: |
| 853 |
* libxml++/schema.cc: Fixed exception handling |
| 854 |
problems in non-exception build |
| 855 |
* examples/sax_parser/myparser.cc/h: Make example build withouth exceptions, |
| 856 |
it's useless then though |
| 857 |
* examples/schemavalidation/main.cc: Fixed build without exceptions |
| 858 |
|
| 859 |
2009-07-27 Johannes Schmid <[email protected]> |
| 860 |
|
| 861 |
New tarball release |
| 862 |
|
| 863 |
* configure.in: Updated version to 2.26.1 |
| 864 |
* NEWS: updated |
| 865 |
|
| 866 |
2009-05-07 Murray Cumming <[email protected]> |
| 867 |
|
| 868 |
Fix the build without exceptions, hopefully. |
| 869 |
|
| 870 |
* libxml++/parsers/textreader.cc: check_for_exceptions(): |
| 871 |
Add an ifdef so that this should build with exceptions disabled, |
| 872 |
though there is no alternative API yet. Noticed by David King. |
| 873 |
|
| 874 |
2009-05-07 Murray Cumming <[email protected]> |
| 875 |
|
| 876 |
* libxml++/parsers/textreader.cc: Whitespace corrections. |
| 877 |
|
| 878 |
2009-03-25 Hubert Figuiere <[email protected]> |
| 879 |
|
| 880 |
* libxml++/parsers/saxparser.h: Fix some warnings triggered |
| 881 |
by -Wshadow. |
| 882 |
|
| 883 |
2009-03-23 Hubert Figuiere <[email protected]> |
| 884 |
|
| 885 |
* libxml++/parsers/textreader.cc: severity_ was not initialised |
| 886 |
at construction time. (Closes #576516) |
| 887 |
|
| 888 |
2.26.0: |
| 889 |
|
| 890 |
2009-03-16 Murray Cumming <[email protected]> |
| 891 |
|
| 892 |
* configure.in: Increased version number to match GNOME 2.26. |
| 893 |
|
| 894 |
2.24.3: |
| 895 |
|
| 896 |
2009-03-02 Armin Burgmeier <[email protected]> |
| 897 |
|
| 898 |
* libxml++/validators/validator.h: |
| 899 |
* libxml++/parsers/parser.h: Removed the vsnprintf #define on Windows. |
| 900 |
This could conflict with another define otherwise. Both MSVC and MinGW |
| 901 |
have vsnprintf (without underscore) as well, and I verified libxml++ |
| 902 |
still compiles in both. If we still need the definition for some |
| 903 |
reason, then we should re-add it into the source files, so that other |
| 904 |
libraries don't conflict with our definition. |
| 905 |
|
| 906 |
2009-01-09 Stef Walter <[email protected]> |
| 907 |
|
| 908 |
* libxml++/parsers/textreader.[h|cc]: Add setup_exceptions(), setting |
| 909 |
the on_libxml_error() callback, and call it from the constructors. |
| 910 |
check_for_exceptions(): Actually check some member variables and throw an |
| 911 |
exception if necessary. |
| 912 |
This should fix bug #348006. |
| 913 |
It breaks ABI because it adds member variables, but we decided that is |
| 914 |
OK because nobody could actually be using this class seriously before |
| 915 |
now because it had no error checking. |
| 916 |
|
| 917 |
2.24.2: |
| 918 |
|
| 919 |
2008-12-20 Armin Burgmeier <[email protected]> |
| 920 |
|
| 921 |
* libxml++/schema.cc (set_document): Set embedded_doc_ according to |
| 922 |
the embed parameter instead of always setting it to false, so that we |
| 923 |
actually release the document in release_underlying(). |
| 924 |
(release_underlying): Free the schema in all cases, also when the |
| 925 |
document was not embedded, to avoid a memory leak. |
| 926 |
|
| 927 |
* libxml++/validators/schemavalidator.cc (parse_file, parse_memory, |
| 928 |
parse_document): Make sure not to leak the xmlSchemaParserCtxtPtr in |
| 929 |
case of an exception. Bug #563321, Arjan Franzen. |
| 930 |
|
| 931 |
2008-12-18 Armin Burgmeier <[email protected]> |
| 932 |
|
| 933 |
* win32_msvc6/: |
| 934 |
* Makefile.am: |
| 935 |
* configure.in: Removed outdated MSVC6 project. |
| 936 |
|
| 937 |
2.24.1: |
| 938 |
|
| 939 |
2008-12-12 Armin Burgmeier <[email protected]> |
| 940 |
|
| 941 |
* MSVC_Net2008/examples/sax_parser/sax_parser.vcproj.HALLWA.Armin.user: |
| 942 |
Removed this generated file. It went in by accident. |
| 943 |
|
| 944 |
* MSVC_Net2008/examples/sax_parser/sax_parser.vcproj: Added the |
| 945 |
example project file instead, which should have been added from the |
| 946 |
beginning. |
| 947 |
|
| 948 |
2008-12-12 Armin Burgmeier <[email protected]> |
| 949 |
|
| 950 |
* MSVC_Net2005/libxml++/libxml++.vcproj: |
| 951 |
* MSVC_Net2008/libxml++/libxml++.vcproj: Added schema.cc and |
| 952 |
schemavalidator.cc to the project. Bug #563664 (Arjan Franzen). |
| 953 |
|
| 954 |
* MSVC_Net2005/examples/schemavalidation/schemavalidation.vcproj: |
| 955 |
* MSVC_Net2005/examples/schemavalidation/Makefile.am: |
| 956 |
* MSVC_Net2005/examples/Makefile.am: |
| 957 |
* MSVC_Net2005/libxml++.sln: Added the schema validator example to the |
| 958 |
MSVC8 solution file. |
| 959 |
|
| 960 |
* MSVC_Net2008/examples/schemavalidation/schemavalidation.vcproj: |
| 961 |
* MSVC_Net2008/examples/schemavalidation/Makefile.am: |
| 962 |
* MSVC_Net2008/examples/Makefile.am: |
| 963 |
* MSVC_Net2008/libxml++.sln: Added the schema validator example to the |
| 964 |
MSVC9 solution file. |
| 965 |
|
| 966 |
2008-12-12 Przemysław Grzegorczyk <[email protected]> |
| 967 |
|
| 968 |
* libxml++/schema.cc: Fix a typo to fix the build. |
| 969 |
|
| 970 |
2008-12-08 Murray Cumming <[email protected]> |
| 971 |
|
| 972 |
* libxml++/validators/validator.cc: check_for_exception(): Use an |
| 973 |
auto_ptr<> to avoid leaking the exception, as in |
| 974 |
Parser::check_for_exception(). |
| 975 |
Bug #563321 (Arjan Franzen) |
| 976 |
|
| 977 |
2008-12-05 Murray Cumming <[email protected]> |
| 978 |
|
| 979 |
* libxml++/schema.cc: release_underlying(): Use xmlSchemaFree() |
| 980 |
to avoid a leak, as suggested by Balazs Tirpak. Bug #312216. |
| 981 |
|
| 982 |
2008-10-09 Armin Burgmeier <[email protected]> |
| 983 |
|
| 984 |
* MSVC_Net2005/*/*.vcproj: Adapt the new DLL naming convention. |
| 985 |
|
| 986 |
* MSVC_Net2008/: Added project files for Visual Studio 2008. |
| 987 |
|
| 988 |
* Makefile.am: |
| 989 |
* configure.in: Added the new files to the distribution. |
| 990 |
|
| 991 |
2.24.0: |
| 992 |
|
| 993 |
* configure.in: Increased version to match GNOME 2.24: |
| 994 |
|
| 995 |
2.23.3: |
| 996 |
|
| 997 |
2008-08-16 Murray Cumming <[email protected]> |
| 998 |
|
| 999 |
* libxml++/attribute.cc: get_value(): xmlGetNsProp() takes the |
| 1000 |
namespace URI, not the prefix. |
| 1001 |
Bug #547689 (Sergei Fedorov) |
| 1002 |
|
| 1003 |
2008-08-14 Murray Cumming <[email protected]> |
| 1004 |
|
| 1005 |
* examples/dom_parser/Makefile.am: |
| 1006 |
* examples/dom_parser/example_with_namespace.xml: |
| 1007 |
Added an example using namespace prefixes, from bug |
| 1008 |
#547689. |
| 1009 |
* examples/dom_parser/main.cc: Comment out the call to set_validate(), |
| 1010 |
because that example does not have a DTD. |
| 1011 |
Show the namespace prefixes in the output. |
| 1012 |
* libxml++/attribute.cc: get_value(): Use xmlGetNsProp() instead of |
| 1013 |
xmlGetProp(), so we don't ignore the namespace prefix, so we get |
| 1014 |
the correct value. |
| 1015 |
Bug #547689 (Sergei Fedorov) |
| 1016 |
|
| 1017 |
2008-08-10 Armin Burgmeier <[email protected]> |
| 1018 |
|
| 1019 |
* MSVC_Net2005/: Renamed from MSVC_Net2003. |
| 1020 |
|
| 1021 |
* MSVC_Net2005/libxml++/libxml++.vcproj: Link against libxml2.lib |
| 1022 |
instead of xml2.lib because that's how it is called in Tor's GTK+ |
| 1023 |
bundle. |
| 1024 |
|
| 1025 |
* MSVC_Net2005/libxml++/libxml++.rc.in: Removed "#include resource.h" |
| 1026 |
because there is no resource.h. |
| 1027 |
|
| 1028 |
* MSVC_Net2005/libxml++/libxml++.sln: Build all examples by default. |
| 1029 |
|
| 1030 |
* Makefile.am: |
| 1031 |
* configure.in: Adapt build files for the MSVC_Net2003 -> MSVC_Net2005 |
| 1032 |
rename. |
| 1033 |
|
| 1034 |
2.23.2: |
| 1035 |
|
| 1036 |
2008-05-05 Murray Cumming <[email protected]> |
| 1037 |
|
| 1038 |
* examples/sax_parser/main.cc (main): Use parse_file() but leave |
| 1039 |
the parse_chunk() version commented out, to simplify this example. |
| 1040 |
* examples/sax_parser/myparser.cc |
| 1041 |
Catch Glib::ConvertError exceptions when using std::cout, though |
| 1042 |
libxml++ should really always supply valid UTF-8 to us. |
| 1043 |
|
| 1044 |
2008-04-14 Armin Burgmeier <[email protected]> |
| 1045 |
|
| 1046 |
* libxml++/parsers/saxparser.h: |
| 1047 |
* libxml++/parsers/saxparser.cc: Added a parse_chunk_raw() method and |
| 1048 |
changed parse_chunk() to use it. |
| 1049 |
|
| 1050 |
2.23.1: |
| 1051 |
|
| 1052 |
2008-03-26 Murray Cumming <[email protected]> |
| 1053 |
|
| 1054 |
* examples/schemavalidation/Makefile.am: Corrected a filename to |
| 1055 |
fix distcheck |
| 1056 |
* libxml++/schema.h: |
| 1057 |
* libxml++/validators/schemavalidator.h: Added the newin2p24 doxygen |
| 1058 |
keyword. |
| 1059 |
|
| 1060 |
2008-03-26 Emilien KIA <[email protected]> |
| 1061 |
|
| 1062 |
* configure.in: |
| 1063 |
* libxml++/Makefile.am: |
| 1064 |
* libxml++/libxml++.h: |
| 1065 |
* libxml++/schema.cc: |
| 1066 |
* libxml++/schema.h: Added Schema class, similar to the existing Dtd |
| 1067 |
class. |
| 1068 |
* libxml++/validators/Makefile.am: |
| 1069 |
* libxml++/validators/schemavalidator.cc |
| 1070 |
* libxml++/validators/schemavalidator.h: Added Schema validator class, |
| 1071 |
similar to the existing DtdValidator class. |
| 1072 |
|
| 1073 |
* examples/Makefile.am: |
| 1074 |
* examples/schemavalidation/: New example, similar to the |
| 1075 |
existing dtdvalidation example. |
| 1076 |
|
| 1077 |
Bug #312216. |
| 1078 |
|
| 1079 |
2008-03-26 Murray Cumming <[email protected]> |
| 1080 |
|
| 1081 |
* docs/Makefile.am: Fixed the post-html rule. |
| 1082 |
* docs/index.html: Corrected some links. |
| 1083 |
* libxml++/nodes/node.h: Corrected documentation for the new methods |
| 1084 |
from the previous commit. |
| 1085 |
|
| 1086 |
2008-03-26 Murray Cumming <[email protected]> |
| 1087 |
|
| 1088 |
* libxml++/nodes/element.cc: |
| 1089 |
* libxml++/nodes/element.h: Added add_child_text() with a previous_node |
| 1090 |
parameter, for adding between existing nodes. |
| 1091 |
Added add_child_text_before() too. |
| 1092 |
* libxml++/nodes/node.cc: |
| 1093 |
* libxml++/nodes/node.h: Added add_child() with a previous_node |
| 1094 |
parameter, for adding between existing nodes. |
| 1095 |
Added add_child_before() too. |
| 1096 |
|
| 1097 |
* docs/index.html: Removed the license clarifications text because I |
| 1098 |
always found it to be arbitrary and not very informative. |
| 1099 |
* docs/reference/Doxyfile.in: Added a newin2p24 doxygen keyword. |
| 1100 |
* docs/reference/Makefile.am: Do not create a version-specific |
| 1101 |
directory name for reference documentation. The Since: text and links |
| 1102 |
in the documentation are enough to know what was in what version. |
| 1103 |
|
| 1104 |
This is the svn trunk branch. See also the gnome-2-22 branch. |
| 1105 |
|
| 1106 |
2.22.0: |
| 1107 |
|
| 1108 |
2008-03-07 Deng Xiyue <[email protected]> |
| 1109 |
|
| 1110 |
* libxml++/document.cc: |
| 1111 |
* libxml++/document.h: Add a destructor |
| 1112 |
(does not break ABI because the base class already has a |
| 1113 |
virtual destructor) that calls xmlCleanupParser to match the |
| 1114 |
existing call to xmlInitParser() in the constructor. Fixes |
| 1115 |
a memory leak. |
| 1116 |
Bug #501168 (Matt G.) |
| 1117 |
|
| 1118 |
2008-01-17 Roland Stigge <[email protected]> |
| 1119 |
|
| 1120 |
* libxml++/attribute.cc: |
| 1121 |
* libxml++/dtd.cc: |
| 1122 |
* libxml++/dtd.h: |
| 1123 |
* libxml++/io/ostreamoutputbuffer.h: |
| 1124 |
* libxml++/io/outputbuffer.h: |
| 1125 |
* libxml++/keepblanks.cc: |
| 1126 |
* libxml++/keepblanks.h: |
| 1127 |
* libxml++/libxml++.h: |
| 1128 |
* libxml++/nodes/cdatanode.cc: |
| 1129 |
* libxml++/nodes/cdatanode.h: |
| 1130 |
* libxml++/nodes/commentnode.cc: |
| 1131 |
* libxml++/nodes/commentnode.h: |
| 1132 |
* libxml++/nodes/contentnode.cc: |
| 1133 |
* libxml++/nodes/element.cc: |
| 1134 |
* libxml++/nodes/element.h: |
| 1135 |
* libxml++/nodes/entityreference.cc: |
| 1136 |
* libxml++/nodes/entityreference.h: |
| 1137 |
* libxml++/nodes/node.cc: |
| 1138 |
* libxml++/nodes/processinginstructionnode.cc: |
| 1139 |
* libxml++/nodes/processinginstructionnode.h: |
| 1140 |
* libxml++/nodes/textnode.cc: |
| 1141 |
* libxml++/nodes/textnode.h: |
| 1142 |
* libxml++/parsers/domparser.cc: |
| 1143 |
* libxml++/parsers/domparser.h: |
| 1144 |
* libxml++/parsers/parser.cc: |
| 1145 |
* libxml++/parsers/parser.h: |
| 1146 |
* libxml++/parsers/saxparser.cc: |
| 1147 |
* libxml++/parsers/textreader.h: |
| 1148 |
Correct the name of the files in their comment blocks, |
| 1149 |
though this could just be removed instead. |
| 1150 |
Bug #510056. |
| 1151 |
|
| 1152 |
2008-01-17 Martin Michlmayr <[email protected]>> |
| 1153 |
|
| 1154 |
* libxml++/parsers/parser.cc: |
| 1155 |
* libxml++/parsers/textreader.h: |
| 1156 |
Added includes to fix the build with gcc 4.3 |
| 1157 |
pre-releases. |
| 1158 |
Bug #510053. |
| 1159 |
|
| 1160 |
2.20.0: |
| 1161 |
|
| 1162 |
2007-08-30 Murray Cumming <[email protected]> |
| 1163 |
|
| 1164 |
* examples/dom_parser_raw/main.cc: When exceptions are disabled, assume that they are also |
| 1165 |
disabled in glibmm and then use the extra error parameter to Glib::convert(), to fix the |
| 1166 |
build when using glibmm with disabled exceptions. |
| 1167 |
* docs/manual/Makefile.am: Use maintainer-clean instead of clean-local to delete the html, |
| 1168 |
but this still seems to be deleted when building debian packages. |
| 1169 |
|
| 1170 |
2.19.2: |
| 1171 |
|
| 1172 |
2007-08-29 Murray Cumming <[email protected]> |
| 1173 |
|
| 1174 |
* scripts/Makefile.am: distcheck fixes. |
| 1175 |
|
| 1176 |
2007-08-29 Murray Cumming <[email protected]> |
| 1177 |
|
| 1178 |
* autogen.sh: |
| 1179 |
* Makefile.am: |
| 1180 |
* configure.in: |
| 1181 |
* scripts/Makefile.am: |
| 1182 |
* scripts/reduced.m4: Added an --enable-api-exceptions |
| 1183 |
configure option, which defines LIBXMLCPP_EXCEPTIONS_ENABLED |
| 1184 |
in libxml++config.h. |
| 1185 |
* examples/dom_build/main.cc: |
| 1186 |
* examples/dom_parse_entities/main.cc: |
| 1187 |
* examples/dom_parser/main.cc: |
| 1188 |
* examples/dom_parser_raw/main.cc: |
| 1189 |
* examples/dom_read_write/main.cc: |
| 1190 |
* examples/dom_xpath/main.cc: |
| 1191 |
* examples/dtdvalidation/main.cc: |
| 1192 |
* examples/import_node/main.cc: |
| 1193 |
* examples/sax_exception/main.cc: |
| 1194 |
* examples/sax_exception/myparser.cc: |
| 1195 |
* examples/sax_parser/main.cc: |
| 1196 |
* examples/sax_parser_build_dom/main.cc: |
| 1197 |
* examples/sax_parser_entities/main.cc: |
| 1198 |
* examples/textreader/main.cc: |
| 1199 |
* libxml++/document.cc: |
| 1200 |
* libxml++/exceptions/exception.cc: |
| 1201 |
* libxml++/exceptions/internal_error.cc: |
| 1202 |
* libxml++/exceptions/parse_error.cc: |
| 1203 |
* libxml++/exceptions/validity_error.cc: |
| 1204 |
* libxml++/io/outputbuffer.cc: |
| 1205 |
* libxml++/io/parserinputbuffer.cc: |
| 1206 |
* libxml++/libxml++config.h.in: |
| 1207 |
* libxml++/nodes/contentnode.cc: |
| 1208 |
* libxml++/nodes/element.cc: |
| 1209 |
* libxml++/nodes/node.cc: |
| 1210 |
* libxml++/parsers/domparser.cc: |
| 1211 |
* libxml++/parsers/parser.cc: |
| 1212 |
* libxml++/parsers/saxparser.cc: |
| 1213 |
* libxml++/parsers/textreader.cc: |
| 1214 |
* libxml++/validators/dtdvalidator.cc: |
| 1215 |
* libxml++/validators/validator.cc: |
| 1216 |
Put LIBXMLCPP_EXCEPTIONS_ENABLED ifdefs around uses of |
| 1217 |
try, catch, and throw, so that libxml++ can build with |
| 1218 |
CXXFLAGS="-fno-exceptions". However, we might still |
| 1219 |
need some alternative error checking API. |
| 1220 |
|
| 1221 |
2.19.1: |
| 1222 |
|
| 1223 |
2007-07-30 Stef Walter <[email protected]> |
| 1224 |
|
| 1225 |
* libxml++/nodes/element.cc: |
| 1226 |
* libxml++/nodes/element.h: Added get_attribute_value(), |
| 1227 |
to get a simple text value for an attribute, as a |
| 1228 |
convenience. |
| 1229 |
Patch in bug #373573. |
| 1230 |
|
| 1231 |
2007-07-30 Murray Cumming <[email protected]> |
| 1232 |
|
| 1233 |
* docs/reference/Doxyfile.in: Added newin2p18, |
| 1234 |
newin2p20, and newin2p22 tags. |
| 1235 |
|
| 1236 |
This is the trunk branch for libxml++ 2.19/2.20. |
| 1237 |
See also the gnome-2-18 branch. |
| 1238 |
|
| 1239 |
2.18.2: |
| 1240 |
|
| 1241 |
2007-07-25 Christophe de Vienne <[email protected]> |
| 1242 |
|
| 1243 |
* libxml++/parsers/textreader.cc: get_name(): |
| 1244 |
Fixed a memory leak. bug #447535. |
| 1245 |
|
| 1246 |
2.18.1: |
| 1247 |
|
| 1248 |
2007-06-10 Murray Cumming <[email protected]> |
| 1249 |
|
| 1250 |
* libxml++/document.cc: add_comment(), |
| 1251 |
* libxml++/nodes/element.cc: add_child_text(): |
| 1252 |
add_child_comment(): Avoid accessing freed memory |
| 1253 |
when the text nodes are merged by xmlAddChild(). |
| 1254 |
|
| 1255 |
2.18.0: |
| 1256 |
|
| 1257 |
2007-02-10 Murray Cumming <[email protected]> |
| 1258 |
|
| 1259 |
* examples/dom_parse_entities/main.cc: |
| 1260 |
* examples/dom_parser/main.cc: |
| 1261 |
* examples/dom_parser_raw/main.cc: |
| 1262 |
* examples/dom_read_write/main.cc: |
| 1263 |
* examples/dom_xpath/main.cc: |
| 1264 |
* examples/dtdvalidation/main.cc: |
| 1265 |
* examples/sax_parser/main.cc: |
| 1266 |
* examples/sax_parser_build_dom/main.cc: |
| 1267 |
* examples/sax_parser_entities/main.cc: Use std::string for file paths, |
| 1268 |
because we can not know the encoding of file paths. std::string therefore |
| 1269 |
means unknown encoding. |
| 1270 |
|
| 1271 |
2007-02-06 Artur Wegele <[email protected]> |
| 1272 |
|
| 1273 |
* libxml++/parsers/parser.h: |
| 1274 |
* libxml++/validators/validator.h: Check for _MSC_VER instead |
| 1275 |
of WIN32 before setting MSVC++ pragmas, because that is apparently |
| 1276 |
more reliable. Bug #380110. |
| 1277 |
|
| 1278 |
2.17.2: |
| 1279 |
|
| 1280 |
2006-10-25 Nate Nielsen <[email protected]> |
| 1281 |
|
| 1282 |
* libxml++/nodes/node.cc: |
| 1283 |
* libxml++/nodes/node.h: Node::get_next_sibling(), |
| 1284 |
Node::get_previous_sibling(). Bug #351867 |
| 1285 |
|
| 1286 |
2006-11-17 Nate Nielsen <[email protected]> |
| 1287 |
|
| 1288 |
* libxml++/parsers/textreader.cc |
| 1289 |
* libxml++/parsers/textreader.h: Clean up TextReader() data |
| 1290 |
constructor signature. Removed '-1' as a special null terminated |
| 1291 |
value. This brings it inline with other parsers. |
| 1292 |
|
| 1293 |
2.17.1: |
| 1294 |
|
| 1295 |
2006-11-11 Nate Nielsen <[email protected]> |
| 1296 |
|
| 1297 |
* libxml++/nodes/element.cc: Element::set_attribute(): |
| 1298 |
Fix redeclaration of variable in if-block. Bug #361950 |
| 1299 |
|
| 1300 |
2006-11-11 Nate Nielsen <[email protected]> |
| 1301 |
|
| 1302 |
* libxml++/parsers/textreader.cc |
| 1303 |
* libxml++/parsers/textreader.h: TextReader() can now parse |
| 1304 |
memory buffers as well as files. Bug #351215 |
| 1305 |
|
| 1306 |
2006-11-11 Nate Nielsen <[email protected]> |
| 1307 |
|
| 1308 |
* libxml++/nodes/node.cc: |
| 1309 |
* libxml++/nodes/node.h: Add Node::get_parent() Bug #351876 |
| 1310 |
|
| 1311 |
2006-04-24 Cedric Gustin <[email protected]> |
| 1312 |
|
| 1313 |
* configure.in: Disable autoheader. |
| 1314 |
* config.h.in: New file. Added comments about the difference |
| 1315 |
between config.h.in and libxml++config.h.in. |
| 1316 |
|
| 1317 |
2006-04-21 Cedric Gustin <[email protected]> |
| 1318 |
|
| 1319 |
* libxml++/Makefile.am: Added libxml++config.h.in to EXTRA_DIST. |
| 1320 |
|
| 1321 |
2006-04-21 Cedric Gustin <[email protected]> |
| 1322 |
|
| 1323 |
* MSVC_Net2003/*.vcproj: Updated for Visual Studio 2005. Added the |
| 1324 |
/vd2 compiler flag (Bug #158040). Renamed target DLL to |
| 1325 |
xml++-2.6 to comply to the value returned by "pkg-config --libs |
| 1326 |
--msvc-syntax libxml++-2.6". |
| 1327 |
* MSVC_Net2003/libxml++.sln: Updated for Visual Studio 2005. |
| 1328 |
* MSVC_Net2003/gendef/gendef.cc: Redirect output of dumpbin to a |
| 1329 |
file. |
| 1330 |
* MSVC_Net2003/libxml++/Makefile.am: Get a local copy of the |
| 1331 |
libxml++config.h file created at configure time and distribute it |
| 1332 |
in the source tarball. |
| 1333 |
* libxml++/Makefile.am: Add -DLIBXMLPP_BUILD to the DEFS compiler |
| 1334 |
flags (switch between dllexport/dllimport on win32). Also install |
| 1335 |
libxml++config.h to $(prefix)/lib/libxml++-2.6/include. |
| 1336 |
* libxml++/*/*.Makefile.am: Add -DLIBXMLPP_BUILD to the DEFS |
| 1337 |
compiler flags (switch between dllexport/dllimport on win32). |
| 1338 |
* libxml++/exceptions/exception.h: Tag the xmlpp:exception classs |
| 1339 |
with LIBXMLPP_API to get rid of auto-import errors on win32 |
| 1340 |
(mingw32/cygwin). |
| 1341 |
* libxml++/libxml++config.h.in: New file. Define LIBXMLPP_API and |
| 1342 |
switch between dllimport and dllexport on win32. |
| 1343 |
* libxml++-2.6.pc.in: Add ${libdir}/libxml++-2.6/include to Cflags |
| 1344 |
(for libxml++config.h). |
| 1345 |
* configure.in: Added test for a native win32 platform. Use the |
| 1346 |
ms-bitfields on this platform only. Added the libxml++config.h |
| 1347 |
configuration file. |
| 1348 |
|
| 1349 |
2.14.0: |
| 1350 |
|
| 1351 |
2006-03-13 Christophe de Vienne <[email protected]> |
| 1352 |
|
| 1353 |
* docs/index.html: Updated version number |
| 1354 |
|
| 1355 |
2006-03-13 Christophe de Vienne <[email protected]> |
| 1356 |
|
| 1357 |
* NEWS, configure.in: Prepared release 2.14.0 |
| 1358 |
|
| 1359 |
2006-03-08 Murray Cumming <[email protected]> |
| 1360 |
|
| 1361 |
* libxml++/nodes/contentnode.h: get_content() documentation: |
| 1362 |
Replace the TODO because I know know that apos is the fifth |
| 1363 |
predefined entity. |
| 1364 |
set_content(): Mention that the predefined entities are used |
| 1365 |
_where necessary_ because XML does not require use of quot or |
| 1366 |
apos in text nodes - just in attribute values. |
| 1367 |
|
| 1368 |
2.13.1: |
| 1369 |
|
| 1370 |
2005-12-20 Murray Cumming <[email protected]> |
| 1371 |
|
| 1372 |
* docs/manual/libxml++_without_code.xml: Mention pkg-config. |
| 1373 |
|
| 1374 |
2005-12-16 Murray Cumming <[email protected]> |
| 1375 |
|
| 1376 |
* libxml++/document.h: Minor grammar fixes in documentation. |
| 1377 |
* libxml++/nodes/node.h: Correct find() documentation slightly. |
| 1378 |
|
| 1379 |
2005-12-15 Robert Fleming <[email protected]> |
| 1380 |
|
| 1381 |
* libxml++/nodes/node.cc: |
| 1382 |
* libxml++/nodes/node.h: Add find() overload that |
| 1383 |
takes namespaces to register, using xmlXPathRegisterNs(). |
| 1384 |
Bug #323935. |
| 1385 |
|
| 1386 |
2005-12-15 Murray Cumming <[email protected]> |
| 1387 |
|
| 1388 |
* libxml++/nodes/node.cc: set_namespace(): Pass 0 to |
| 1389 |
xmlSearchNs() for empty (default) namespaces, instead of |
| 1390 |
an empty string, as we do elsewhere. This makes |
| 1391 |
Document::create_root_node() for when not specifying a |
| 1392 |
namespace. Bug #318186 from Erik Oestby. |
| 1393 |
|
| 1394 |
2005-12-15 Vadim Zeitlin <[email protected] > |
| 1395 |
|
| 1396 |
* docs/reference/Doxyfile.in: Fix paths so buildir!=srcdir |
| 1397 |
builds work. Bug #319863. |
| 1398 |
|
| 1399 |
2005-09-21 Christophe de Vienne <[email protected]> |
| 1400 |
|
| 1401 |
* libxml++.spec.in: Fixed include and .pc paths. Fixes #316827. |
| 1402 |
|
| 1403 |
This is the HEAD branch, for API additions. See also the gnome-2-12 branch. |
| 1404 |
|
| 1405 |
2.12.0: |
| 1406 |
|
| 1407 |
2005-08-26 Christophe de Vienne <[email protected]> |
| 1408 |
|
| 1409 |
* libxml++/parsers/textreader.h: Added xmlReadState "Reading" as |
| 1410 |
suggested by Sebastian Moss. |
| 1411 |
|
| 1412 |
2.11.0: |
| 1413 |
|
| 1414 |
2005-08-25 YS <[email protected]> |
| 1415 |
|
| 1416 |
* libxml++/Makefile.am: Changed link order to solve a link issue |
| 1417 |
on cygwin. Bug #314419. |
| 1418 |
|
| 1419 |
2005-06-13 Marek Rouchal <[email protected]> |
| 1420 |
|
| 1421 |
* libxml++/io/istreamparserinputbuffer.cc: |
| 1422 |
* libxml++/io/istreamparserinputbuffer.h: |
| 1423 |
* libxml++/io/parserinputbuffer.cc: |
| 1424 |
* libxml++/io/parserinputbuffer.h: Remove extra ;s. |
| 1425 |
Bug #307481 |
| 1426 |
|
| 1427 |
2005-05-15 Murray Cumming <[email protected]> |
| 1428 |
|
| 1429 |
* libxml++/document.h: Add comments about possibly deriving this |
| 1430 |
from Node, though it needs investigation, and we can not do this |
| 1431 |
in the stable API. |
| 1432 |
* libxml++/nodes/node.cc: get_namespace(), get_namespace_prefix(): |
| 1433 |
Return an empty string if the node is actually a Document, because |
| 1434 |
the underlying xmlDocument struct has no ns field. This should |
| 1435 |
prevent the crash in bug #161825. |
| 1436 |
|
| 1437 |
2005-05-15 Murray Cumming <[email protected]> |
| 1438 |
|
| 1439 |
* docs/index.html: Add link to the LGPL text. |
| 1440 |
|
| 1441 |
2005-04-24 Murray Cumming <[email protected]> |
| 1442 |
|
| 1443 |
* libxml++/parsers/domparser.cc: parse_context(): |
| 1444 |
Delete the context after, not before, checking it for an error. |
| 1445 |
Bug #156352 from Jim Garrison. |
| 1446 |
|
| 1447 |
2005-04-24 Murray Cumming <[email protected]> |
| 1448 |
|
| 1449 |
* libxml++/parsers/saxparser.cc: SaxParserCallback::characters() |
| 1450 |
Call on_characters(), not on_cdata_block(), so that the correct |
| 1451 |
derived handler is called. Bug #301712 and patch from |
| 1452 |
Aaron Walker. |
| 1453 |
|
| 1454 |
2005-04-24 Murray Cumming <[email protected]> |
| 1455 |
|
| 1456 |
* libxml++-2.6.pc.in: Remove -I for the include location of |
| 1457 |
a config file, because we don't install one. Bug #301727 |
| 1458 |
from Aaron Walker. |
| 1459 |
|
| 1460 |
2005-03-15 Murray Cumming <[email protected]> |
| 1461 |
|
| 1462 |
* libxml++/document.cc: set_entity_declaration(): Pass 0 instead |
| 1463 |
of empty strings for the public ID and system ID, if an empty |
| 1464 |
string is provided. This stops libxml from using a useless empty |
| 1465 |
string. |
| 1466 |
|
| 1467 |
2005-03-09 Cedric Gustin <[email protected]> |
| 1468 |
|
| 1469 |
* MSVC_Net2003/Makefile.am: Add blank.cpp to EXTRA_DIST. |
| 1470 |
* MSVC_Net2003/examples/*/*.vcproj: Change name of PDB file to |
| 1471 |
$(OutDir)/$(TargetName).pdb. |
| 1472 |
|
| 1473 |
This is the HEAD branch. |
| 1474 |
|
| 1475 |
2.10.0: |
| 1476 |
|
| 1477 |
2005-03-08 Christophe de Vienne <[email protected]> |
| 1478 |
|
| 1479 |
* docs/reference/Makefile.am: Added one more rule so the "make |
| 1480 |
distcheck" works from a clean cvs working copy. |
| 1481 |
|
| 1482 |
2005-03-08 Christophe de Vienne <[email protected]> |
| 1483 |
|
| 1484 |
* docs/manual/Makefile.am, docs/reference/Makefile.am: Added a few |
| 1485 |
rules so that "make dist" generated the documentation if it's |
| 1486 |
absent. |
| 1487 |
|
| 1488 |
2005-02-15 Murray Cumming <[email protected]> |
| 1489 |
|
| 1490 |
* docs/manual/Makefule.am: Added insert_example_code to EXTRA_DIST, |
| 1491 |
though it should not be needed when building from a DIST anyway, |
| 1492 |
because we distribute the html. |
| 1493 |
|
| 1494 |
2.9.2: |
| 1495 |
|
| 1496 |
2005-02-13 Christophe de Vienne <[email protected]> |
| 1497 |
|
| 1498 |
* docs/manual/Makefile.am: Removed README from EXTRA_DIST. |
| 1499 |
|
| 1500 |
2005-02-12 Christophe de Vienne <[email protected]> |
| 1501 |
|
| 1502 |
* libxml++/nodes/node.cc: Fixed a little inefficency in find (#161925) |
| 1503 |
|
| 1504 |
2005-02-11 Murray Cumming <[email protected]> |
| 1505 |
|
| 1506 |
* docs/: Added manual. |
| 1507 |
* configure.in: Use GLIBMM_CHECK_PERL to get the perl path, needed |
| 1508 |
to insert the example code in the manual. |
| 1509 |
* docs/Makefile.am: Move the reference and manual into a docs folder |
| 1510 |
so that the docs and the examples have the same relative path. |
| 1511 |
* docs/index.html: Mention the manual and update the links. |
| 1512 |
|
| 1513 |
2005-02-11 Murray Cumming <[email protected]> |
| 1514 |
|
| 1515 |
* libxml++/document.cc: do_write_to_string(): libml returns the |
| 1516 |
number of bytes instead of the number of characters, so use the |
| 1517 |
appropriate ustring constructor, to avoid an exception later. |
| 1518 |
Bug found by Cyril Picard. |
| 1519 |
* docs/reference/Makefile.am: Install the reference documentation. |
| 1520 |
Distribute the built reference documentatoin, and Do not rebuild it |
| 1521 |
every time. |
| 1522 |
* docs/reference/Doxyfile.in: Generate doxygen tags so that other |
| 1523 |
documentation can link to the libxml++ documentation. Use the |
| 1524 |
libstdc++ and glibmm doxygen tags to link to their documentation, |
| 1525 |
for instance for Glib::ustring. |
| 1526 |
|
| 1527 |
2005-01-26 Cedric Gustin <[email protected]> |
| 1528 |
|
| 1529 |
* MSVC_Net2003/README: Updated for 2.8.0 |
| 1530 |
|
| 1531 |
2005-01-26 Cedric Gustin <[email protected]> |
| 1532 |
|
| 1533 |
* configure.in: parse micro version tags at configure time (for |
| 1534 |
libxml++.rc). Added support for shared libraries (DLL) on |
| 1535 |
win32. Added MSVC_Net2003 Makefiles. |
| 1536 |
* Makefile.am: Added MSVC_Net2003 subdir. |
| 1537 |
* libxml++/Makefile.am: Added linker flags for shared libraries |
| 1538 |
(DLL) on win32. |
| 1539 |
* examples/Makefile.am_fragment: Removed trailing slash in INCLUDES. |
| 1540 |
* MSVC_Net2003/*: Initial release. |
| 1541 |
|
| 1542 |
2.9.1: |
| 1543 |
|
| 1544 |
2004-12-25 Murray Cumming <[email protected]> |
| 1545 |
|
| 1546 |
* libxml++/parsers/domparser.[h|cc], saxparser.[h|cc]: Added |
| 1547 |
parse_memory_raw() for libxml documents that are not utf8-encoded or |
| 1548 |
are encoded in an unknown encoding. |
| 1549 |
* examples/: Added dom_parser_raw() to test parsing of UCS2-encoded |
| 1550 |
text. |
| 1551 |
|
| 1552 |
2004-12-20 Murray Cumming <[email protected]> |
| 1553 |
|
| 1554 |
* This is the HEAD branch, for gnome 2.9/2.10. |
| 1555 |
|
| 1556 |
2004-12-18 Murray Cumming <[email protected]> |
| 1557 |
|
| 1558 |
* libxml++/docs/index.html: Bugs: Minor english corrections, and |
| 1559 |
more useful bugzilla links. |
| 1560 |
* libxml++/docs/Makefile.am: Build the reference documentation as |
| 1561 |
part of the main cvs build, but distribute it so that it does not need |
| 1562 |
to be rebuilt when building a tarball. |
| 1563 |
|
| 1564 |
2004-12-18 Murray Cumming <[email protected]> |
| 1565 |
|
| 1566 |
* libxml++/nodes/node.cc: Node::find(): Check the result of |
| 1567 |
xmlXPathEval and throw an exception about invalid xpaths, instead of |
| 1568 |
crashing. Bug #161549 from Caleb Epstein. |
| 1569 |
|
| 1570 |
2004-12-18 Murray Cumming <[email protected]> |
| 1571 |
|
| 1572 |
* libxml++/parsers/saxparser.cc: parse_memory(), parse_chunk(), |
| 1573 |
domparser.cc: parse_memory, parse_chunk(): Use Glib::ustring::bytes() |
| 1574 |
to get the size of the array, not size() or length(), which gets |
| 1575 |
the number of utf8 characters. It might not even be utf8. |
| 1576 |
* examples/sax_parser_build_dom/svgparser.cc: Use !empty() instead of |
| 1577 |
size() > 0. It is more efficient. |
| 1578 |
|
| 1579 |
2004-11-30 Murray Cumming <[email protected]> |
| 1580 |
|
| 1581 |
* libxml++/validator.h: Removed an extra ; that g++ 3.4 complains |
| 1582 |
about. |
| 1583 |
|
| 1584 |
2.8.0: |
| 1585 |
|
| 1586 |
2004-09-12 Murray Cumming <[email protected]> |
| 1587 |
|
| 1588 |
* libxml++/libxml++.h: Add include for xmlreader.h. |
| 1589 |
* examples/saxparser/myparser.cc, saxparser_entities/myparser.cc: |
| 1590 |
Correct (and uncomment) the code to read the attribute values. |
| 1591 |
|
| 1592 |
2.7.1: |
| 1593 |
|
| 1594 |
2004-09-06 Christophe de Vienne <[email protected]> |
| 1595 |
|
| 1596 |
* configure.in: Prepared release 2.7.1. |
| 1597 |
|
| 1598 |
2004-08-13 Christophe de Vienne <[email protected]> |
| 1599 |
|
| 1600 |
* libxml++/parsers/domparser.cc, libxml++/parsers/parser.cc: Fixed |
| 1601 |
bug #150082. |
| 1602 |
|
| 1603 |
2.7.0: |
| 1604 |
|
| 1605 |
2004-06-24 Murray Cumming <[email protected]> |
| 1606 |
|
| 1607 |
* configure.in, Makefile.am, libxml++-2.*.pc.in: Reverted the changes |
| 1608 |
that made it install a 2.8 pc.in file, and which decreased the .so |
| 1609 |
name. 2.8 is not parallel-installable with 2.6, and this would only |
| 1610 |
have been a half-done transition if it was. |
| 1611 |
|
| 1612 |
2004-06-22 Murray Cumming <[email protected]> |
| 1613 |
|
| 1614 |
* libxml++/io/outputbuffer.cc, inputbuffer.cc: |
| 1615 |
Added include of libxml/globals.h before include of libxml/xmlIO.h, |
| 1616 |
because xmlIO.h needs the definition of |
| 1617 |
xmlParserInputBufferCreateFilenameFunc. |
| 1618 |
|
| 1619 |
2004-05-28 Christophe de Vienne <cdevienne@netcourrier> |
| 1620 |
|
| 1621 |
* configure.in, examples/Makefile.am, examples/dtdvalidation/Makefile.am, |
| 1622 |
examples/dtdvalidation/example.dtd, examples/dtdvalidation/main.cc, |
| 1623 |
libxml++/Makefile.am, libxml++/dtd.[h|cc], libxml++/io/Makefile.am, |
| 1624 |
libxml++/io/istreamparserinputbuffer.[h|cc], |
| 1625 |
libxml++/io/parserinputbuffer.[h|cc], |
| 1626 |
libxml++/libxml++.h, libxml++/validators/Makefile.am, |
| 1627 |
libxml++/validators/dtdvalidator.[h|cc] |
| 1628 |
libxml++/validators/validator.[h|cc]: |
| 1629 |
Integrated dtdvalidator patch proposed by Guillaume Arreckx. |
| 1630 |
Modified a bit the patch: |
| 1631 |
- renamed *.cpp -> *.cc |
| 1632 |
- fixed a few comments which where copy/paste from other files |
| 1633 |
- replaced std::string with Glib::ustring |
| 1634 |
- Added Dtd::cobj, since the patch rely on it. |
| 1635 |
- added a validaty_error as suggested by jon |
| 1636 |
|
| 1637 |
|
| 1638 |
2004-04-26 Christophe de VIENNE <[email protected]> |
| 1639 |
|
| 1640 |
* libxml++/nodes/contentnode.cc: Fixed set_content which used xmlNodeAddContent |
| 1641 |
instead of xmlNodeSetContent (thanks to Marcello Orizi who outlined it). |
| 1642 |
|
| 1643 |
2004-05-05 Christophe de Vienne <[email protected]> |
| 1644 |
|
| 1645 |
* libxml++/parsers/saxparser.cc: One more (last one I hope) change |
| 1646 |
about Glib::ustring instanciation from a buffer + lenght. We now |
| 1647 |
use Glib::ustring::ustring(In begin, In end) constructor. Thanks to |
| 1648 |
Jonathan Wakely. |
| 1649 |
|
| 1650 |
2004-05-04 Christophe de Vienne <[email protected]> |
| 1651 |
|
| 1652 |
* libxml++/parsers/saxparser.cc: Replaced again the use of |
| 1653 |
Glib::ustring(const char*) constructor by Glib::ustring(std::string). |
| 1654 |
Fixes #141824. |
| 1655 |
|
| 1656 |
2004-05-04 Christophe de Vienne <[email protected]> |
| 1657 |
|
| 1658 |
* libxml++/parsers/saxparser.cc: Replace the use of |
| 1659 |
Glib::ustring(const char*, unsigned) constructor by Glib::ustring(const char*). |
| 1660 |
Fixes #141824. |
| 1661 |
|
| 1662 |
2004-05-04 Murray Cumming <murrayc@murrayc@com> |
| 1663 |
|
| 1664 |
* libxml++-2.6.pc.in: Made it require glibmm-2.4, so that apps do not |
| 1665 |
have to check for this themselves. |
| 1666 |
|
| 1667 |
2.6.0: |
| 1668 |
|
| 1669 |
2004-04-13 Murray Cumming <[email protected]> |
| 1670 |
|
| 1671 |
* libxml++/Makefile.am: Change library name to 2.6 instead of 2.5. |
| 1672 |
* libxml++-2.6.pc.in: Report the changed library name. |
| 1673 |
|
| 1674 |
2004-03-27 Murray Cumming <[email protected]> |
| 1675 |
|
| 1676 |
* libxml++/parsers/textreader.[h|cc]: Correct constness of |
| 1677 |
get_current_node(), so there is a const and non-const version. |
| 1678 |
|
| 1679 |
2.5.2: |
| 1680 |
|
| 1681 |
2004-02-16 Christophe de VIENNE <[email protected]> |
| 1682 |
|
| 1683 |
* libxml++/nodes/element.cc: Check return value of xmlHasNsProp to |
| 1684 |
fix issue #134390 (as reported by John Coyle). Use xmlHasProp instead |
| 1685 |
of testing each attributes. |
| 1686 |
|
| 1687 |
2004-02-16 Christophe de VIENNE <[email protected]> |
| 1688 |
|
| 1689 |
* libxml++-2.6.pc.in: Added libxml-2.0 to Requires: and removed |
| 1690 |
@LIBXML_LIBS@ from libs, as suggested by Albert Chin. |
| 1691 |
|
| 1692 |
2004-02-16 Christophe de VIENNE <[email protected]> |
| 1693 |
|
| 1694 |
* libxml++/nodes/node.cc, libxml++/parsers/parser.h: |
| 1695 |
Merged in patches from Albert Chin to get libxml++ build using the SUN, |
| 1696 |
HP, SGI & AIX C++ compilers. |
| 1697 |
|
| 1698 |
2004-02-13 Jim Garrison <[email protected]> |
| 1699 |
|
| 1700 |
* libxml++/attribute.h, libxml++/document.h, libxml++/dtd.h, |
| 1701 |
libxml++/io/ostreamoutputbuffer.[h|cc], |
| 1702 |
libxml++/io/outputbuffer.[h|cc], libxml++/keepblanks.[h|cc], |
| 1703 |
libxml++/nodes/node.h, libxml++/parsers/parser.h, |
| 1704 |
libxml++/parsers/saxparser.h, libxml++/parsers/textreader.[h|cc]: |
| 1705 |
Removed unnecessary semicolons |
| 1706 |
|
| 1707 |
2.5.1: |
| 1708 |
|
| 1709 |
2004-02-08 Jim Garrison <[email protected]> |
| 1710 |
|
| 1711 |
* libxml++/document.[h|cc]: added Document::cobj() function |
| 1712 |
|
| 1713 |
2004-02-06 Christophe de Vienne <[email protected]> |
| 1714 |
|
| 1715 |
* libxml++/parsers/sax_parser.cc: Fixed issue #132014. |
| 1716 |
|
| 1717 |
2004-02-06 Christophe de Vienne <[email protected]> |
| 1718 |
|
| 1719 |
* libxml++/parsers/[Makefile.am|textreader.h|textreader.cc]: Added |
| 1720 |
TextReader interface. It is almost the patch which is here : |
| 1721 |
http://sourceforge.net/tracker/index.php?func=detail&aid=842730&group_id=12999&atid=312999 |
| 1722 |
with Glib::ustring instead of std::string, and member functions names |
| 1723 |
changed to be consistent with other interfaces. |
| 1724 |
* configure.in, examples/Makefile.am, examples/textreader: Added an example |
| 1725 |
of TextReader interface. |
| 1726 |
|
| 1727 |
2004-02-05 Jim Garrison <[email protected]> |
| 1728 |
|
| 1729 |
* libxml++/document.[h|cc]: added create_root_node_by_import() |
| 1730 |
|
| 1731 |
2004-01-13 Christophe de Vienne <[email protected]> |
| 1732 |
|
| 1733 |
* libxml++/io/document.cc: Gives NULL strings instead of empty ones to |
| 1734 |
xmlCreateIntSubset. Fixes issue #131329. |
| 1735 |
|
| 1736 |
2004-01-12 Christophe de Vienne <[email protected]> |
| 1737 |
|
| 1738 |
* libxml++/io/outputbuffer.cc: Fix return value of xmlIO callbacks. (Fixes |
| 1739 |
issue #131018). |
| 1740 |
|
| 1741 |
2003-12-19 Murray Cumming <[email protected]> |
| 1742 |
|
| 1743 |
* configure.in: Added glibmm-2.4 to the pkg-config check. |
| 1744 |
* Used regexxer to do a complete std::string/Glib::ustring rename. |
| 1745 |
Everything seems to still work. I think the parse_chunk(stream) |
| 1746 |
stuff might need some attention/thought. |
| 1747 |
|
| 1748 |
2003-12-19 Murray Cumming <[email protected]> |
| 1749 |
|
| 1750 |
* removed acinclude.m4 because we do not need it anymore because |
| 1751 |
we do not need AM_LIBXML now that we use pkg-config. |
| 1752 |
* libxml++/Makefile.am: Generate a library with 2.5 in the name, |
| 1753 |
instead of 1.0 |
| 1754 |
* configure.in: Change version to 2.5.0. |
| 1755 |
* examples/Makefile.am_fragment: Link to the new library name. |
| 1756 |
* Renamed libxml++-1.0.pc.in to libxml++-2.6.pc.in: and changed the |
| 1757 |
library name that pkg-config reports for --libs. |
| 1758 |
* So, this is now the libxml++ 2.6 API, with a library name of 2.5 |
| 1759 |
while it is unstable. It is parallel-installable with libxml++ 1.0. |
| 1760 |
|
| 1761 |
This is the HEAD branch, for libxml++ 2.5/2.6. |
| 1762 |
|
| 1763 |
1.0.0: |
| 1764 |
|
| 1765 |
2003-12-18 Ephraim Vider <[email protected]> |
| 1766 |
* examples/sax_parser_build_dom/svgelement.cc,svgpath.h: |
| 1767 |
- removed unneeded method qualification (msvc6 error) |
| 1768 |
* examples/sax_parser_entities/myparser.cc: |
| 1769 |
- removed namespace qualification (msvc6 error) |
| 1770 |
- removed return from void function |
| 1771 |
|
| 1772 |
2003-12-18 Ephraim Vider <[email protected]> |
| 1773 |
|
| 1774 |
* win32_msvc6: updated MSVC projects to include new sources and examples |
| 1775 |
|
| 1776 |
2003-12-12 Christophe de Vienne <[email protected]> |
| 1777 |
|
| 1778 |
* libxml++/parsers/sax_parser.cc: removed initialisation of userData |
| 1779 |
with this at the context creation (solution given by Murray). |
| 1780 |
|
| 1781 |
2003-12-11 Murray Cumming <[email protected]> |
| 1782 |
|
| 1783 |
* libxml++/Makefile.am: Generate a library with 1.0 in the name, |
| 1784 |
instead of 0.1 |
| 1785 |
* configure.in: Change version to 1.0.0, and change shared library |
| 1786 |
version to 1.0.0 because we are staring again witt the first |
| 1787 |
version of a new shared library. |
| 1788 |
* examples/Makefile.am_fragment: Link to the new library name. |
| 1789 |
* libxml++-1.0.pc.in: Change the library name that pkg-config |
| 1790 |
reports for --libs. |
| 1791 |
|
| 1792 |
2003-12-08 Ephraim Vider <[email protected]> |
| 1793 |
|
| 1794 |
* libxml++/document.cc: remove return statement from void functions |
| 1795 |
|
| 1796 |
0.28: |
| 1797 |
|
| 1798 |
2003-12-08 Christophe de Vienne <[email protected]> |
| 1799 |
|
| 1800 |
* libxml++.spec.in: Removed libxml++.m4 and xml++-config from %files |
| 1801 |
section. |
| 1802 |
|
| 1803 |
2003-12-08 Murray Cumming <[email protected]> |
| 1804 |
|
| 1805 |
* examples/ Added sax_parser_build_dom example from Dan Dennedy. |
| 1806 |
It does some funky stuff (see the comments) but it is an |
| 1807 |
interesting concept. See the description in examples/README. |
| 1808 |
|
| 1809 |
2003-12-03 Christophe de Vienne <[email protected]> |
| 1810 |
|
| 1811 |
* configure.in: use libxml-2.0 instead of xml2 for libxml2 detection |
| 1812 |
by pkg-config. |
| 1813 |
* libxml++/parser/sax_parser.[h|cc]: Replaced AttributeMap by AttributeList, |
| 1814 |
which is now an ordered container (std::deque). Added a functor that can be |
| 1815 |
used with std::find_if to get an Attribute by it's name. |
| 1816 |
* libxml++/document.h: Fixed a typo in a doxygen command. |
| 1817 |
|
| 1818 |
2003-12-03 Murray Cumming <[email protected]> |
| 1819 |
|
| 1820 |
* examples/README: explained what the examples do. |
| 1821 |
|
| 1822 |
2003-11-28 Christophe de Vienne <[email protected]> |
| 1823 |
|
| 1824 |
* libxml++/docs/index.html: Added libxml2 version we relay on, as |
| 1825 |
suggested by Paul Breslin. |
| 1826 |
* configure.in: Prepared 0.28 release. Check for libxml2 >= 2.5.8 using |
| 1827 |
pkg-config instead of old-style autoconf macro. |
| 1828 |
* acinclude.m4: Removed. |
| 1829 |
|
| 1830 |
2003-11-27 Murray Cumming <[email protected]> |
| 1831 |
|
| 1832 |
* Added examples/sax_parser_entites to test the new functionality. |
| 1833 |
* Added doxygen documentation to almost every class and method, |
| 1834 |
including mentioning that the parse methods throw exceptions. |
| 1835 |
|
| 1836 |
2003-11-27 Murray Cumming <[email protected]> |
| 1837 |
|
| 1838 |
* Applied patch from Dan Dennedy to add entity handling to the |
| 1839 |
SAX parser, using a 2nd Document instance to manage the entity |
| 1840 |
definitions in order to provide a default entity reference resolver |
| 1841 |
implementation for on_get_entity(). With some minor changes from me. |
| 1842 |
|
| 1843 |
2003-11-13 Christophe de Vienne <[email protected]> |
| 1844 |
|
| 1845 |
* libxml++/io/Makefile.am: Made libio a non installed library. |
| 1846 |
* libxml++/document.cc: Fixed a serious issue with threading: callbacks |
| 1847 |
were defined only for the main thread. |
| 1848 |
|
| 1849 |
0.27: |
| 1850 |
|
| 1851 |
2003-10-28 Murray Cumming <[email protected]> |
| 1852 |
|
| 1853 |
* libxml++/nodes/element.[h|cc]: Changed get_child_content() to |
| 1854 |
get_child_text(), set_child_content() to set_child_text(), |
| 1855 |
add_comment() to add_child_comment(), and add_content() to |
| 1856 |
add_child_content() to make the API clearer. |
| 1857 |
|
| 1858 |
2003-10-25 Christophe de Vienne <[email protected]> |
| 1859 |
|
| 1860 |
* libxml++/document.[h|cc]: Added Document::add_comment and added some |
| 1861 |
documentation. |
| 1862 |
|
| 1863 |
2003-10-22 Murray Cumming <[email protected]> |
| 1864 |
|
| 1865 |
* libxml++/parsers/saxparser.[h.cc]: Added on_entity_declararation() |
| 1866 |
callback, and demonstrated it in examples/sax_parser/. |
| 1867 |
Added documentation to on_get_entity() giving clues about how to use |
| 1868 |
it, though it is too difficult for me to try. |
| 1869 |
|
| 1870 |
2003-10-18 Christophe de Vienne <[email protected]> |
| 1871 |
|
| 1872 |
* All: All private members previously having a leading underscore in their |
| 1873 |
name now have it postfixed. Ex: _impl becomes impl_. |
| 1874 |
|
| 1875 |
2003-10-18 Christophe de Vienne <[email protected]> |
| 1876 |
|
| 1877 |
* libxml++/io/outputbuffer.[h|cc]: Removed conversion operator to |
| 1878 |
underlying C structure. cobj() is now public. |
| 1879 |
* libxml++/document.cc: use OutputBuffer::cobj() instead of implicit |
| 1880 |
conversion. |
| 1881 |
|
| 1882 |
2003-10-18 Christophe de Vienne <[email protected]> |
| 1883 |
|
| 1884 |
* libxml++/nodes/Makefile.am: Removed some trailing white spaces after a |
| 1885 |
backslash. |
| 1886 |
|
| 1887 |
2003-10-14 Murray Cumming <[email protected]> |
| 1888 |
|
| 1889 |
* Added lots of doxygen documentation, try to document everything 100%. |
| 1890 |
* libxml++/nodes/element.[h|cc]: Made get_attributes() non-const |
| 1891 |
and added a const get_attributes() const overload, like |
| 1892 |
Node::get_children(). |
| 1893 |
* Moved AttributesList typedef from Node to Element, because that's |
| 1894 |
where it is used. |
| 1895 |
* libxml++/parsers/parser.[h|cc]: Added get/set_substitute_entities(), |
| 1896 |
like get/set_validate(), which affects _context->replaceEntities in |
| 1897 |
initialize_context(). |
| 1898 |
* Added libxml++/nodes/entityreference.[h|cc], with a |
| 1899 |
get_resolved_text() method. |
| 1900 |
* libxml++/document.cc: |
| 1901 |
- on_libxml_construct(): For the default, used when a node is not |
| 1902 |
recognised, create a Node rather than a ContentNode. Everything is a |
| 1903 |
Node so this should have less chance of being wrong. |
| 1904 |
- Added case to create an EntityReference. |
| 1905 |
* Added examples/dom_parse_entities. |
| 1906 |
|
| 1907 |
2003-09-30 Jonathan Wakely <[email protected]> |
| 1908 |
|
| 1909 |
* libxml++/document.cc, libxml++/nodes/element.cc, |
| 1910 |
libxml++/nodes/node.cc: Preserve const-quals when casting between |
| 1911 |
strings of different character types. |
| 1912 |
|
| 1913 |
2003-09-26 Christophe de Vienne <[email protected]> |
| 1914 |
|
| 1915 |
* libxml++/io/outputbuffer.[h|cc]: Yet another cleaning of the interface |
| 1916 |
and implementation. OutputBuffer is now non copyable, and the callback |
| 1917 |
process is now the same for write and close. |
| 1918 |
* libxml++/io/(ostream)outputbuffer.h: Added Doxygen documentation. |
| 1919 |
|
| 1920 |
2003-09-26 Christophe de Vienne <[email protected]> |
| 1921 |
|
| 1922 |
* libxml++/io/: Small corrections after Murray comments on the patch. It's |
| 1923 |
even more clean now. |
| 1924 |
|
| 1925 |
2003-09-26 Christophe de Vienne <[email protected]> |
| 1926 |
|
| 1927 |
* libxml++/io/: Added classes to wrap xmlIO output buffers. This classes |
| 1928 |
are OutputBuffer and OStreamOutputBuffer. |
| 1929 |
* libxml++/document.h: |
| 1930 |
- Added write_to_stream, which is implemented thanks to OutputBuffer. |
| 1931 |
- Removed virtual specifier on write_to_xxx functions. Their |
| 1932 |
implemention now calls a private virtual function do_write_to_xxx. This |
| 1933 |
also avoid having almost identical functions implementation in normal and |
| 1934 |
formatted versions of the functions. |
| 1935 |
|
| 1936 |
2003-09-24 Christophe de Vienne <[email protected]> |
| 1937 |
|
| 1938 |
* libxml++/examples/dom_build/main.cc: Now demonstrate add_comment |
| 1939 |
too. |
| 1940 |
|
| 1941 |
2003-09-24 Dan Dennedy |
| 1942 |
|
| 1943 |
* libxml++/nodes/element.[h|cc]: Added Element::add_comment. |
| 1944 |
|
| 1945 |
2003-09-23 Christophe de Vienne <[email protected]> |
| 1946 |
|
| 1947 |
* libxml++/document.h, libxml++/keepblanks.h, libxml++/noncopyable.h, |
| 1948 |
libxml++/nodes/node.h: Updated documentation. |
| 1949 |
|
| 1950 |
0.26: |
| 1951 |
|
| 1952 |
2003-09-22 Christophe de Vienne <[email protected]> |
| 1953 |
|
| 1954 |
* examples/dom_build/main.cpp: Use Element::set_attribute instead of |
| 1955 |
Element::add_attribute which no longer exists. |
| 1956 |
|
| 1957 |
2003-09-19 Murray Cumming <[email protected]> |
| 1958 |
|
| 1959 |
* libxml++/node/element.h: Removed add_attribute because it is the same as |
| 1960 |
set_attribute. |
| 1961 |
|
| 1962 |
2003-09-18 Murray Cumming <[email protected]> |
| 1963 |
|
| 1964 |
* libxml++/node/element.h: Added set_namespace_declaration(). |
| 1965 |
element, node: methods take prefix instead of uri and prefix, because |
| 1966 |
that's what we want to specify most of the time. If no such namespace |
| 1967 |
prefix has been declared then an exception will be thrown. If we want |
| 1968 |
to specify a node name and attribute namespaces by uri (which would |
| 1969 |
result in a prefix in the eventual .xml code) then we could add those |
| 1970 |
methods later. If anybody needs them. |
| 1971 |
|
| 1972 |
2003-09-17 Christophe de Vienne <[email protected]> |
| 1973 |
|
| 1974 |
* docs/reference/Doxyfile(.in): Doxyfile is now generated from Doxyfile.in |
| 1975 |
by configure so the version number is included in main page. The dot image |
| 1976 |
format is changed to png, the index is not disabled anymore. |
| 1977 |
|
| 1978 |
2003-09-15 Fredrik Arnerup |
| 1979 |
|
| 1980 |
* libxml++/document.cc: Added a call to xmlInitParser to avoid |
| 1981 |
threading problems. |
| 1982 |
|
| 1983 |
2003-09-05 Murray Cumming <[email protected]> |
| 1984 |
|
| 1985 |
Based on the patch from Dan Dennedy, with changes: |
| 1986 |
* libxml++/node.[h|cc], |
| 1987 |
libxml++/element.[h|cc]: Added namespace_uri and namespace_prefix |
| 1988 |
parameters to methods, to support speficiation of nodes and children |
| 1989 |
also with namespace information. |
| 1990 |
* Added Node::get_namespace_prefix() and get_namespace_uri() and |
| 1991 |
set_namespace(). |
| 1992 |
* examples/dom_build/: Modified the example to do namespace stuff, |
| 1993 |
to test this. |
| 1994 |
|
| 1995 |
2003-08-20 Murray Cumming <[email protected]> |
| 1996 |
|
| 1997 |
* libxml++/node.[h|cc]: import_node() now takes a _const_ Node, as |
| 1998 |
suggested by Rafael Vuijk. |
| 1999 |
|
| 2000 |
2003-07-20 Ephraim Vider <[email protected]> |
| 2001 |
|
| 2002 |
* win32_msvc6: libxml++.dsp, examples/import_node.dsp, examples/Makefile.am: |
| 2003 |
- added import_node example project |
| 2004 |
|
| 2005 |
0.25: |
| 2006 |
|
| 2007 |
2003-07-16 Christophe de Vienne <[email protected]> |
| 2008 |
|
| 2009 |
* libxml++.m4, xml++-config.in, configure.in, Makefile.am: removed old-style |
| 2010 |
autoconf libxml++ detection macro and script. |
| 2011 |
|
| 2012 |
2003-07-15 Christophe de Vienne <[email protected]> |
| 2013 |
|
| 2014 |
* all but exceptions/*.[h|cc]: removed throw specification from functions |
| 2015 |
declaration. |
| 2016 |
|
| 2017 |
2003-07-11 Eric Bourque <[email protected]> |
| 2018 |
|
| 2019 |
* nodes/node.[h|cc]: Added import_node function |
| 2020 |
* examples/import_node: Added an example of using import_node, and modified |
| 2021 |
autoconf files accordingly. |
| 2022 |
|
| 2023 |
2003-06-25 Ephraim Vider <[email protected]> |
| 2024 |
|
| 2025 |
* win32_msvc6: libxml++.dsp: added _REENTRANT to support libxml with threads |
| 2026 |
- examples/Makefile.am: added new example project |
| 2027 |
|
| 2028 |
2003-06-16 Christophe de Vienne <[email protected]> |
| 2029 |
|
| 2030 |
* docs/index.html: Added a link to Doxygen website. |
| 2031 |
|
| 2032 |
2003-06-16 Ephraim Vider <[email protected]> |
| 2033 |
|
| 2034 |
* win32_msvc6/*: Fixed MSVC6 project files. |
| 2035 |
|
| 2036 |
2003-06-13 Christophe de Vienne <[email protected]> |
| 2037 |
|
| 2038 |
* docs/Makefile.am: Fixed the post-html rule which was sending twice the |
| 2039 |
reference. |
| 2040 |
* docs/index.html: Added keyword "XML". |
| 2041 |
|
| 2042 |
0.24: |
| 2043 |
|
| 2044 |
2003-06-11 Christophe de Vienne <[email protected]> |
| 2045 |
|
| 2046 |
* libxml++/parsers/domparser.cc: |
| 2047 |
- Fixed parse_stream. Parsing success was not checked before creating |
| 2048 |
Document. |
| 2049 |
- Check for errNo after parsing. |
| 2050 |
|
| 2051 |
2003-06-02 Ephraim Vider |
| 2052 |
* libxml++/nodes: |
| 2053 |
Added ContentNode as a base class for all non-element nodes |
| 2054 |
- TextNode and CommentNode are derived from ContentNode |
| 2055 |
- Added CdataNode and ProcessingInstructionNode as specific types |
| 2056 |
derived from ContentNode |
| 2057 |
- Will create ContentNode as a default node type when assert is |
| 2058 |
disabled |
| 2059 |
- Modified dom_parser example to better handle new types |
| 2060 |
Modified files: textnode.[h|cc] commentnode.[h|cc] |
| 2061 |
Added files: contentnode.[h|cc] cdatanode.[h|cc] processinginstructionnode.[h|cc] |
| 2062 |
|
| 2063 |
* node.cc: - Fix. return empty string and not 0 |
| 2064 |
* updated MSVC projects to include new sources and example |
| 2065 |
|
| 2066 |
2003-06-10 Jonathan Wakely <[email protected]> |
| 2067 |
|
| 2068 |
* libxml++/parsers/saxparser.cc: Replace <istream> with <iostream> |
| 2069 |
to support older compilers. |
| 2070 |
|
| 2071 |
2003-06-06 Christophe de Vienne <[email protected]> |
| 2072 |
|
| 2073 |
* libxml++/document.cc: Little change in write_to_xxx_formatted. The |
| 2074 |
keepblanks parameter is kept to true, but xmlIndentOutputTree is set to 1. |
| 2075 |
This avoid libxml2 to add some significant whitespace into content nodes, |
| 2076 |
but still format the output. |
| 2077 |
|
| 2078 |
2003-06-05 Christophe de Vienne <[email protected]> |
| 2079 |
|
| 2080 |
* libxml++/keepblanks.[h|cc]: Moved KeepBlanks::Default definition |
| 2081 |
to .cc file if compiler is MSVC 6.0. |
| 2082 |
|
| 2083 |
2003-06-04 Morten Hanssen <[email protected]> |
| 2084 |
|
| 2085 |
* libxml++/Document.cc: Fixed a memory leak in |
| 2086 |
write_to_string[_formatted]() functions. |
| 2087 |
|
| 2088 |
2003-06-02 Murray Cumming <[email protected]> |
| 2089 |
|
| 2090 |
* libxml++/Document.[h|cc]: Removed the standalone parse_* methods |
| 2091 |
because they just duplicate functionality and nobody seems to be |
| 2092 |
using them. |
| 2093 |
Renamed the private construct() and destruct() callbacks to |
| 2094 |
on_libxml_construct() and on_libxml_destruct() and added some |
| 2095 |
simple comments to explain their purpose. |
| 2096 |
* libxml++/node.[h|cc]: Added Node::is_white_space(), to make it |
| 2097 |
easier for the application to ignore white space. Used it in |
| 2098 |
the dom_parser example.. |
| 2099 |
|
| 2100 |
2003-05-29 Murray Cumming <[email protected]> |
| 2101 |
|
| 2102 |
* Removed some struct keywords from method and variable definitions. |
| 2103 |
They don't seem to be necessary, and they do not match the method |
| 2104 |
definitions in the .cc files. |
| 2105 |
* Some syntax clean-up - tabs to spaces and adding spaces. |
| 2106 |
* examples/dom_parse/main.cc: Say when something is a text node. |
| 2107 |
|
| 2108 |
2003-05-28 Christophe de Vienne <[email protected]> |
| 2109 |
|
| 2110 |
* lixml++/document.[h|cc]: Added write_to_file_formatted and |
| 2111 |
write_to_string_formatted. |
| 2112 |
|
| 2113 |
2003-05-25 Jonathan Wakely <[email protected]> |
| 2114 |
|
| 2115 |
* libxml++/parsers/saxparser.cc: Included <cassert> |
| 2116 |
|
| 2117 |
2003-05-23 Jonathan Wakely <[email protected]> |
| 2118 |
|
| 2119 |
* libxml++/parsers/saxparser.[h|cc]: Correct comments. |
| 2120 |
|
| 2121 |
2003-05-23 Christophe de Vienne <[email protected]> |
| 2122 |
|
| 2123 |
* all header files: Removed libxml2 headers inclusion. Added necessary |
| 2124 |
forward declaration of libxml2 structures. |
| 2125 |
* libxml++/parsers/saxparser.[h|cc]: Moved static callback functions into |
| 2126 |
a struct defined only in the .cc file, SaxParserCallback. |
| 2127 |
Added boolean parameter to SaxParser constructor to activate on_get_entity |
| 2128 |
callback (default to false). This technique could eventually be extended to |
| 2129 |
other functions in the future. |
| 2130 |
* libxml++-1.0.pc.in: removed libxml headers include path from Cflags. |
| 2131 |
|
| 2132 |
2003-05-22 Christophe de Vienne <[email protected]> |
| 2133 |
|
| 2134 |
* libxml++/nodes/node.[h|cc]: Added Node::set_name(). |
| 2135 |
|
| 2136 |
2003-05-20 Christophe de Vienne <[email protected]> |
| 2137 |
|
| 2138 |
* libxml++/nodes/[node.cc|element.h]: Minor syntax adjustments to allow |
| 2139 |
compiling with g++ -ansi -pedantic -Wall without any warning. |
| 2140 |
|
| 2141 |
0.23: |
| 2142 |
|
| 2143 |
2003-05-20 Christophe de Vienne <[email protected]> |
| 2144 |
|
| 2145 |
* libxml++/keepblanks.[h|cc]: New KeepBlanks class which change settings |
| 2146 |
related to xmlKeepBlanksDefault and xmlIndentTreeOuput. |
| 2147 |
* libxml++/[document.cc|parsers/*parsers.cc]: use KeepBlanks instead of |
| 2148 |
manually call xmlKeepBlanksDefault(). Significant white spaces are not |
| 2149 |
removed/added anymore. |
| 2150 |
* example/dom_read_write/example_output.xml: removed. |
| 2151 |
|
| 2152 |
2003-05-16 Murray Cumming <[email protected]> |
| 2153 |
|
| 2154 |
* libxml++/noncopyable.[h|cc]: New xmlpp::NonCopyable base class, which |
| 2155 |
should prevent people from using automatically-generated copy |
| 2156 |
constructors when they shouldn't. Not tested yet. |
| 2157 |
* libxml++/examples/dom_read_write: New example/test. This does |
| 2158 |
show that we are removing significant white space. This has been |
| 2159 |
discussed on the list and apparently Christophe has a fix for it. |
| 2160 |
|
| 2161 |
2003-05-06 Andy Glew <[email protected]> |
| 2162 |
|
| 2163 |
* libxml++/nodes/node.cc: Node::find( nonexistent_xpath ) now return |
| 2164 |
empty NodeSet |
| 2165 |
|
| 2166 |
2003-04-24 Christophe de Vienne <[email protected]> |
| 2167 |
|
| 2168 |
* libxml++/parsers/saxparser.cc: Fixed a memory leak pointed by "thierry" |
| 2169 |
<[email protected]>. The sax handler of the context is not reset |
| 2170 |
to 0 before context release anymore. In parse() the default one is saved |
| 2171 |
then restored after effective parsing, so libxml handle itself its |
| 2172 |
destruction. |
| 2173 |
|
| 2174 |
2003-04-20 Christophe de Vienne <[email protected]> |
| 2175 |
|
| 2176 |
* libxml++/document.cc: Removed a warning message that was put on std::cout |
| 2177 |
if an unknown type of node was created and replaced it by an assert. This |
| 2178 |
avoid the need to include iostream(.h). |
| 2179 |
|
| 2180 |
2003-04-18 Murray Cumming <[email protected]> |
| 2181 |
|
| 2182 |
* Applied Jaka Jejcic's patch to fix compilation on NetBSD, including |
| 2183 |
iostream.h instead of istream.h. |
| 2184 |
|
| 2185 |
2003-04-09 Eric Bourque <[email protected]> |
| 2186 |
|
| 2187 |
* libxml++.spec.in: modified spec file to be library version agnostic. |
| 2188 |
|
| 2189 |
2003-03-19 Ephraim Vider |
| 2190 |
|
| 2191 |
* added msvc support in win32_msvc6. |
| 2192 |
|
| 2193 |
2003-03-17 Ephraim Vider |
| 2194 |
|
| 2195 |
* Modified sax_exception example: |
| 2196 |
- corrected Clone() return type for MyException in myparser.[h|cc] |
| 2197 |
- catch all exceptions in main.cc - handle real errors too |
| 2198 |
|
| 2199 |
0.22: |
| 2200 |
|
| 2201 |
2003-03-15 Murray Cumming <[email protected]> |
| 2202 |
|
| 2203 |
* libxml++/parser/domparser.cc: Added const overload of get_document(). |
| 2204 |
|
| 2205 |
2003-03-13 Christophe de Vienne |
| 2206 |
|
| 2207 |
* libxml++/parser/domparser.cc: Test if context creation is |
| 2208 |
successfull in the different parse_xxx functions. If it is no an |
| 2209 |
internal_error is thrown. |
| 2210 |
|
| 2211 |
2003-03-06 Ephraim Vider |
| 2212 |
|
| 2213 |
* made DomParser a wrapper around Document |
| 2214 |
removed all functions that were duplicates of document |
| 2215 |
functions and added get_document() |
| 2216 |
files: domparser.[h|cc] document.h |
| 2217 |
|
| 2218 |
* fixed compilation errors for msvc: |
| 2219 |
- corrected Clone() return type for derived exceptions |
| 2220 |
- corrected getline to std::getline in saxparser.cc |
| 2221 |
- changed clear() to erase() in parser.cc |
| 2222 |
- added #define for vsprintf in parser.h |
| 2223 |
- fixed warning in element.cc |
| 2224 |
|
| 2225 |
0.21: |
| 2226 |
|
| 2227 |
2003-02-21 Eric Bourque |
| 2228 |
|
| 2229 |
* Added spec.in, for creating RPMs. |
| 2230 |
|
| 2231 |
2003-02-20 Murray Cumming <[email protected]> |
| 2232 |
|
| 2233 |
* libxml++/nodes/node.[h|cc]: Moved get_child_content(), |
| 2234 |
set_child_content(), add_content(), and has_content() from Node to |
| 2235 |
derived Element class instead of just throwing an exception if it |
| 2236 |
isn't an Element. This means you can't use set_child_content() on a |
| 2237 |
TextNode - you should be using TextNode::set_content() anyway, which |
| 2238 |
makes a lot more sense. Corrected set_child_content() to create a |
| 2239 |
TextNode instead of creating a node with the content as the name, |
| 2240 |
fixing the output of the dom_build example. |
| 2241 |
|
| 2242 |
2003-02-20 Murray Cumming <[email protected]> |
| 2243 |
|
| 2244 |
* libxml++/parsers/parser.[h|cc]: |
| 2245 |
initialize_contex(): Request iniitialization and connect callbacks |
| 2246 |
check_exception(): Throw exception if any validation problems have |
| 2247 |
been found - the messages are built up gradually by repeated |
| 2248 |
callbacks. |
| 2249 |
set_validate(): Enables validation before calling parse_*(). |
| 2250 |
Alternatively, use 2nd bool parameter to the DomParser constructor. |
| 2251 |
* libxml++/exceptions/: Added validation_error class. |
| 2252 |
* examples/dom_parser: Added a DTD and changed example.xml to |
| 2253 |
something that uses it. Also added example_invalid.xml to test |
| 2254 |
the exceptions. |
| 2255 |
|
| 2256 |
2003-02-12 Ole Laursen <[email protected]> |
| 2257 |
|
| 2258 |
* examples/sax_parser/main.cc: Added chunk-wise parsing to the |
| 2259 |
example. |
| 2260 |
|
| 2261 |
* libxml++/parsers/saxparser.[h,cc]: Added functionality for |
| 2262 |
parsing chunks of data. |
| 2263 |
|
| 2264 |
2003-02-17 Murray Cumming <[email protected]> |
| 2265 |
|
| 2266 |
* libxml++/parsers/*.[h|cc]: All parsing is now done via contexts, |
| 2267 |
which required a little duplication of the implementation of functions |
| 2268 |
such as xmlParseFile(), most of which is now in |
| 2269 |
DomParser::parse_context(). This avoids use of global functions such |
| 2270 |
as xmlKeepBlanksDefault() by setting these booleans directly in the |
| 2271 |
context, in Parser::initialize_context(). |
| 2272 |
However, xmlCreateFileParserCtxt() does seem to be affected by |
| 2273 |
xmlKeepBlanksDefault so we still have to use it temporarily, restoring |
| 2274 |
the old value afterwards - see the comments in DomParser::parse_file(). |
| 2275 |
This should allow us to add validation to the API. |
| 2276 |
|
| 2277 |
0.20: |
| 2278 |
|
| 2279 |
2003-02-15 Murray Cumming <[email protected]> |
| 2280 |
|
| 2281 |
* libxml++/nodes/node.cc: (remove_child): Implemented it with |
| 2282 |
xmlUnlinkNode and xmlFreeNode, so that it's actually removed. |
| 2283 |
|
| 2284 |
2003-02-15 Murray Cumming <[email protected]> |
| 2285 |
|
| 2286 |
* Added examples/dom_xpath, with code from Stefan Seefeld's dom |
| 2287 |
example. |
| 2288 |
|
| 2289 |
2003-02-15 Murray Cumming <[email protected]> |
| 2290 |
|
| 2291 |
* Reverted the Node::child_iterator API change because it was |
| 2292 |
undiscussed and is unfinished. The BRANCH_1_0 and HEAD branches are now |
| 2293 |
merged. BRANCH_1_0 should no longer be used. This was never in 0.19. |
| 2294 |
|
| 2295 |
0.19: |
| 2296 |
|
| 2297 |
2003-02-07 Murray Cumming <[email protected]> |
| 2298 |
|
| 2299 |
* Moved method implementations such as get_attributes() into derived |
| 2300 |
classes instead of using "using methodname();". That seems clearer. |
| 2301 |
However it shows that we should probably create a shared base class for |
| 2302 |
Content and Comment, as in the DOM. |
| 2303 |
|
| 2304 |
2003-02-06 Murray Cumming <[email protected]> |
| 2305 |
|
| 2306 |
* libxml++/parsers/saxparser.[h|cc]: Corrected some coding style. |
| 2307 |
|
| 2308 |
2003-02-06 Murray Cumming <[email protected]> |
| 2309 |
|
| 2310 |
* Changed c_obj() to cobj() because it's more like gobj() used in |
| 2311 |
gtkmm, gnomemm, etc. |
| 2312 |
|
| 2313 |
2003-02-06 Murray Cumming <[email protected]> |
| 2314 |
|
| 2315 |
* libxml++/nodes/node.*: Corrected code style. |
| 2316 |
|
| 2317 |
2003-02-06 Murray Cumming <[email protected]> |
| 2318 |
|
| 2319 |
* libxml++/nodes/node.[h|cc], libxml++/attribute.[h|cc]: Made c_obj() |
| 2320 |
accessors public so people can use them. Provided const and non-const |
| 2321 |
versions of them. Put implementation in .cc file. |
| 2322 |
* Reverted some of Stefan's coding style changes and corrected the |
| 2323 |
coding style in libxml++/nodes/document.[h|cc]. |
| 2324 |
* libxml++/document.h: Made the destructor virtual, because there are |
| 2325 |
virtual methods. |
| 2326 |
|
| 2327 |
2002-02-04 Stefan Seefeld <[email protected]> |
| 2328 |
|
| 2329 |
* libxml++/node.[h,cc]: add new insert_child and append_child methods |
| 2330 |
(using new iterators), add get_path and find methods for xpath lookup |
| 2331 |
|
| 2332 |
* examples/dom: new example code to illustrate the new features |
| 2333 |
|
| 2334 |
2002-02-03 Stefan Seefeld <[email protected]> |
| 2335 |
|
| 2336 |
* libxml++/node.h, libxml++/parsers/saxparser.[h,cc], |
| 2337 |
examples/sax_parser/*.[h,cc], examples/sax_exception/*.[h,cc]: |
| 2338 |
SaxParser::AttributeMap is now a map<string, string>. |
| 2339 |
|
| 2340 |
2002-02-03 Stefan Seefeld <[email protected]> |
| 2341 |
|
| 2342 |
* libxml++/node.h: add child_iterators for simple C++ style |
| 2343 |
iteration (to get eventually rid of NodeList) |
| 2344 |
|
| 2345 |
2002-02-03 Stefan Seefeld <[email protected]> |
| 2346 |
|
| 2347 |
* libxml++/attribute.[h,cc], libxml++/nodes/node.[h,cc], |
| 2348 |
libxml++/document.cc: derive Attribute from Node, and make |
| 2349 |
get_value() use libxml2 accessor instead of raw pointer |
| 2350 |
|
| 2351 |
2002-02-03 Stefan Seefeld <[email protected]> |
| 2352 |
|
| 2353 |
* libxml++/document.[h,cc], libxml++/parsers/domparser.[h,cc], |
| 2354 |
libxml++/libxml++.h, libxml++/Makefile.am: introduce new Document type. |
| 2355 |
* examples/dom_build/main.cc: make dom_build example use new |
| 2356 |
Document type |
| 2357 |
|
| 2358 |
2002-02-03 Stefan Seefeld <[email protected]> |
| 2359 |
|
| 2360 |
* acinclude.m4: The AM_LIBXML macro now checks for a libxml2 |
| 2361 |
version >= 2.5.1. |
| 2362 |
* libxml++/nodes/node.cc: compare strings, not pointers, in |
| 2363 |
get_attribute() |
| 2364 |
|
| 2365 |
2003-01-31 Stefan Seefeld <[email protected]> |
| 2366 |
|
| 2367 |
* various: overall change to use libxml2 as implementation, |
| 2368 |
not only as I/O backend. With corrections by Murray Cumming. |
| 2369 |
Further explanation by murrayc: Instead of maintaining its own |
| 2370 |
C++ data structures and then creating libxml data structures from them, |
| 2371 |
it now manipulates the libxml data structures directly, so the C++ and C |
| 2372 |
APIs are always in sync. |
| 2373 |
|
| 2374 |
2003-01-21 Valentin Rusu <[email protected]> |
| 2375 |
|
| 2376 |
* added CDATA section handler to SaxParser |
| 2377 |
|
| 2378 |
2003-01-05 Valentin Rusu <[email protected]> |
| 2379 |
|
| 2380 |
* fixed a potential buffer overflow problem into saxparser.cc |
| 2381 |
|
| 2382 |
0.18: |
| 2383 |
|
| 2384 |
2003-01-31 Stefan Seefeld <[email protected]> |
| 2385 |
|
| 2386 |
* various: overall change to use libxml2 as implementation, |
| 2387 |
not only as I/O backend. |
| 2388 |
|
| 2389 |
2003-01-05 Murray Cumming <[email protected]> |
| 2390 |
|
| 2391 |
* examples/dom_build/main.cc: Removed some useless test C code. |
| 2392 |
|
| 2393 |
2002-12-24 Morten Brix Pedersen <[email protected]> |
| 2394 |
|
| 2395 |
* Include <iostream> instead of <istream> to compile on gcc 2.95.4. |
| 2396 |
|
| 2397 |
2002-12-26 Murray Cumming <[email protected]> |
| 2398 |
|
| 2399 |
* libxml++/nodes/element.c (write): Add back the code to write the |
| 2400 |
attributes to the C libxml structure. This code got lost during the |
| 2401 |
refactoring. |
| 2402 |
|
| 2403 |
2002-12-25 Murray Cumming <[email protected]> |
| 2404 |
|
| 2405 |
* Removed unused constructors, to simplify things. Made Node's |
| 2406 |
destructor virtual, because we delete them polymorphically, and |
| 2407 |
because it has virtual methods. |
| 2408 |
|
| 2409 |
2002-12-25 Murray Cumming <[email protected]> |
| 2410 |
|
| 2411 |
* libxml++/nodes/node.[h|cc]: Removed the initialized member |
| 2412 |
variable and its accessor, because it's not used. |
| 2413 |
|
| 2414 |
2002-12-19 Murray Cumming <[email protected]> |
| 2415 |
|
| 2416 |
* libxml++/parsers/domparser.[h|cc]: get/set_root_node() now returns |
| 2417 |
an Element instead of a Node. |
| 2418 |
|
| 2419 |
2002-12-19 Murray Cumming <[email protected]> |
| 2420 |
|
| 2421 |
* Changed const & accessors to get_*() methods. For instance, |
| 2422 |
Node::name -> Node::get_name |
| 2423 |
Node::children() -> Node::get_children() |
| 2424 |
Element::attributes() -> Element::get_attributes() |
| 2425 |
Attribute::value -> Attribute::get_value() |
| 2426 |
|
| 2427 |
2002-12-18 Murray Cumming <[email protected]> |
| 2428 |
|
| 2429 |
* Added libxml++/nodes/commentnode.[h|cc] and used it in Node so that |
| 2430 |
comments don't just show up as name=comment Nodes. |
| 2431 |
* examples/dom_parser/example.xml: Added a comment. |
| 2432 |
* examples/dom_parser/main.cc: Do a dynamic_cast<> check for comments |
| 2433 |
too. |
| 2434 |
|
| 2435 |
2002-12-18 Christophe de Vienne <[email protected]> |
| 2436 |
|
| 2437 |
* libxml++/parser/saxparser.cc: Fixed a bug in exception handling in |
| 2438 |
parse_stream. Thanks to Fredrik Arnerup <[email protected]> for reporting |
| 2439 |
the bug. |
| 2440 |
|
| 2441 |
2002-12-17 Murray Cumming <[email protected]> |
| 2442 |
|
| 2443 |
* Added libxml++/nodes/textnode.[h|cc]. This should remove the |
| 2444 |
confusion about whether content()/set_content() should be used on |
| 2445 |
a text node or the parent of a text node. |
| 2446 |
* libxml++/nodes/node.[h|cc]: |
| 2447 |
- Node::write() is now virtual, and |
| 2448 |
different in TextNode. |
| 2449 |
- content() replaced by get_child_content, which returns a TextNode* |
| 2450 |
instead of a string. |
| 2451 |
- set_content() replaced by set_child_content(). |
| 2452 |
* Added libxml++/nodes/element.[h|cc] so that TextNode can inherit |
| 2453 |
from a Node class without the attributes API. As per the Java DOM API, |
| 2454 |
Node still has the children API - I guess there's some reason for that, |
| 2455 |
though I don't see how a TextNode could have children. |
| 2456 |
|
| 2457 |
2002-12-17 Murray Cumming <[email protected]> |
| 2458 |
|
| 2459 |
* Moved node.[h|cc] into nodes sub directory, in preparation for the |
| 2460 |
multiple-node-types API change. |
| 2461 |
|
| 2462 |
2002-12-12 Jonathan Wakely <[email protected]> |
| 2463 |
|
| 2464 |
* libxml++/parsers/saxparser.cc, saxparser.h (on_get_entity): New |
| 2465 |
virtual function to allow derived classes to override entity handling |
| 2466 |
|
| 2467 |
2002-12-16 Murray Cumming <[email protected]> |
| 2468 |
|
| 2469 |
* libxml++/node.cc: write(): |
| 2470 |
- Don't set the node->type directly. Let |
| 2471 |
xmlNodeSetContent take care of adding a suitable child node. This |
| 2472 |
was leading to segfaults when write() later tried to add a child node |
| 2473 |
to a text node. |
| 2474 |
- Throw internal_error exception when xmlNewChild returns NULL. |
| 2475 |
|
| 2476 |
|
| 2477 |
0.17:. |
| 2478 |
|
| 2479 |
2002-12-10 Christophe de Vienne <cdevienne@alphacent> |
| 2480 |
|
| 2481 |
* configure.in: updated version numbers for next release. Generic |
| 2482 |
version is now 0.17, library version is 3:0:0 |
| 2483 |
* NEWS: updated with changes since 0.16 version. |
| 2484 |
|
| 2485 |
2002-12-10 Christophe de Vienne <[email protected]> |
| 2486 |
|
| 2487 |
* libxml++/node.cc: fixed write() which was using the accessors content() |
| 2488 |
and has_content(). Since they return something for both the text |
| 2489 |
node and the parent node, the output was weird. |
| 2490 |
|
| 2491 |
2002-12-09 Murray Cumming <[email protected]> |
| 2492 |
|
| 2493 |
* libxml++/node.cc: content(): If the cached content string is empty, |
| 2494 |
try to get the content of a child "text" node. This makes content() |
| 2495 |
work as expected after creating a document with set_content() and |
| 2496 |
later reparsing it. |
| 2497 |
|
| 2498 |
2002-12-09 Murray Cumming <[email protected]> |
| 2499 |
|
| 2500 |
* libxml++/parsers/dom_parser.cc (release_underlying): Set pointers |
| 2501 |
to 0 so that the get_*() methods generate new instances instead of |
| 2502 |
returning invalid pointers. |
| 2503 |
|
| 2504 |
2002-12-09 Murray Cumming <[email protected]> |
| 2505 |
|
| 2506 |
* libxml++/node.cc: Node::remove_child() and Node::remove_attribute: |
| 2507 |
delete the objects when forgetting about them. |
| 2508 |
* libxml++/node.h: Added reference docs explaining the above. |
| 2509 |
|
| 2510 |
2002-12-07 Murray Cumming <[email protected]> |
| 2511 |
|
| 2512 |
* libxml++/parsers/domparser.cc, saxparser.cc: Added comments about |
| 2513 |
the use of xmlKeepBlanksDefault() and xmlLineNumbersDefault(). |
| 2514 |
* libxml++/parsers/saxparser.[h|cc]: Change exception & to exception&. |
| 2515 |
|
| 2516 |
2002-12-06 Christophe de Vienne <[email protected]> |
| 2517 |
|
| 2518 |
* libxml++/parsers/domparser.cc: Enabled xml option LineNumbers |
| 2519 |
and disabled KeepBlanks before each parsing. |
| 2520 |
* libxml++/parsers/sax_parser.cc: Enabled xml option KeepBlanks |
| 2521 |
before each parsing. |
| 2522 |
* example/dom_parser/main.cc: Added line number display for each |
| 2523 |
non-content node. Changed a bit content display |
| 2524 |
* Note: in a near future I may change these options settings to |
| 2525 |
let the user choose which options he wants/wants not. |
| 2526 |
|
| 2527 |
|
| 2528 |
2002-12-03 Jone Marius Vignes <[email protected]> |
| 2529 |
|
| 2530 |
* libxml++/parsers/domparser.cc: Changed the exception in |
| 2531 |
write_to_string() to "write_to_string() failed." |
| 2532 |
* libxml++/parsers/domparser.h: Corrected documentation of |
| 2533 |
write_to_string() and write_to_file() to clarify that these methods |
| 2534 |
doesn't return booleans |
| 2535 |
|
| 2536 |
2002-12-02 Christophe de Vienne <[email protected]> |
| 2537 |
|
| 2538 |
* libxml++/exceptions/*.[h|cc]: Added and implemented virtual |
| 2539 |
methods Raise() and Clone. |
| 2540 |
* libxml++/parser/sax_parser.[h|cc]: Each callback method can now |
| 2541 |
throw some exceptions as long as they herit from xmlpp::exception |
| 2542 |
AND implement Raise() and Clone(). |
| 2543 |
* libxml++/examples/sax_exception/: Added an example which demonstrate |
| 2544 |
the use of exceptions inside a SaxParser. |
| 2545 |
|
| 2546 |
2002-11-29 Murray Cumming <[email protected]> |
| 2547 |
|
| 2548 |
* autogen.sh: Added libtoolize to generate files such as ltmain.sh. |
| 2549 |
|
| 2550 |
2002-11-28 Christophe de Vienne <[email protected]> |
| 2551 |
|
| 2552 |
* acinclude.m4: The AM_LIBXML macro now checks for a libxml2 |
| 2553 |
version >= 2.4.1. |
| 2554 |
|
| 2555 |
2002-11-21 Christophe de Vienne <[email protected]> |
| 2556 |
|
| 2557 |
* libxml++/parsers/*.[h|cc]: added Parser::parse_stream method |
| 2558 |
and implemented it in both DomParser and SaxParser. Tests based |
| 2559 |
on the examples (not commited in the cvs) worked perfectly. |
| 2560 |
|
| 2561 |
2002-11-20 Christophe de Vienne <[email protected]> |
| 2562 |
|
| 2563 |
* libxml++/parsers/saxparser.cc: fixed a memory leak (thanks |
| 2564 |
to Chris Leishman <[email protected]> who reported it. |
| 2565 |
|
| 2566 |
2002-11-20 Murray Cumming <[email protected]> |
| 2567 |
|
| 2568 |
* Changed use of the term properties to attributes in the API, |
| 2569 |
because that is the correct terminology. |
| 2570 |
|
| 2571 |
0.16: |
| 2572 |
|
| 2573 |
2002-11-19 Christophe de Vienne <[email protected]> |
| 2574 |
|
| 2575 |
* configure.in: updated version numbers for next release. |
| 2576 |
version is set to 0.16, library version to 2:0:0 |
| 2577 |
|
| 2578 |
2002-11-19 Murray Cumming <[email protected]> |
| 2579 |
|
| 2580 |
* docs: Added index.html, which can be a main website page. |
| 2581 |
* docs/Makefile.am: Added rsync command to upload the html, |
| 2582 |
including the reference documentation. |
| 2583 |
|
| 2584 |
2002-11-19 Murray Cumming <[email protected]> |
| 2585 |
|
| 2586 |
* Added Dtd class, which is just a collection of std::strings. |
| 2587 |
* libxml++/parsers/domparser.[h|cc]: Added set_internal_subset() and |
| 2588 |
get_internal_subset() to set the DTD declaration. This is set in the |
| 2589 |
underlying C xmlDoc during write_to_file() and write_to_disk(). |
| 2590 |
|
| 2591 |
2002-11-18 Murray Cumming <[email protected]> |
| 2592 |
|
| 2593 |
* libxml++/node.[h|cc]: |
| 2594 |
- Rename is_content() to has_content(), because that's what it tells |
| 2595 |
us. Removed _is_content member bool - we can check _content.empty() |
| 2596 |
instead. |
| 2597 |
- write(): Do not manually set the xmlNode's type field to TEXT. This |
| 2598 |
corrupted the tree. Tested content nodes in example/dom_build. |
| 2599 |
|
| 2600 |
2002-11-18 Murray Cumming <[email protected]> |
| 2601 |
|
| 2602 |
* libxml++/parsers/domparser.cc (write_to_*): Corrected no-root-node |
| 2603 |
check. |
| 2604 |
|
| 2605 |
2002-11-18 Murray Cumming <[email protected]> |
| 2606 |
|
| 2607 |
* libxml++/exceptions/exception.[h|cc]: Corrected signature of what() |
| 2608 |
method, adding const throw(). |
| 2609 |
|
| 2610 |
2002-11-18 Murray Cumming <[email protected]> |
| 2611 |
|
| 2612 |
* libxml++/parsers/domparser.[h|cc]: Added DomParser::set_root_node(). |
| 2613 |
* examples: Added dom_build, to show runtime construction of an XML |
| 2614 |
tree. |
| 2615 |
|
| 2616 |
2002-11-18 Murray Cumming <[email protected]> |
| 2617 |
|
| 2618 |
* Parser, DomParser, SaxParser: parse_file() and parse_memory() now |
| 2619 |
throw exceptions. |
| 2620 |
* DomParser::write_to_file(): throws exception instead of using a bool |
| 2621 |
return value. |
| 2622 |
* examples/domparser/: Catches exceptions. |
| 2623 |
|
| 2624 |
2002-11-18 Christophe de Vienne <[email protected]> |
| 2625 |
* libxml++/exceptions: splitted exception.[h|cc] in this directory. |
| 2626 |
The libxml_error has been removed for now, and a parse_error added. |
| 2627 |
|
| 2628 |
2002-11-17 Christophe de Vienne <[email protected]> |
| 2629 |
* libxml++/attribute.h: Changed macro __LIBXMLPP_PROPERTY_H to __LIBXMLPP_ATTRIBUTE_H |
| 2630 |
* libxml++/exception.[h|cc]: Added xmlpp::exception, xmlpp::libxml_error and |
| 2631 |
xmlpp::internal_error classes. It's very basic for now. |
| 2632 |
|
| 2633 |
2002-11-17 Murray Cumming <[email protected]> |
| 2634 |
|
| 2635 |
* Node, Attribute: set_*() method now have void return types. |
| 2636 |
* DomParser: Now has an empty underlying in-memory document when the |
| 2637 |
default constructor is used. This means that get_root_node() should |
| 2638 |
always return something, so we can build XML documents in memory |
| 2639 |
without loading any XML first. |
| 2640 |
|
| 2641 |
2002-11-16 Murray Cumming <[email protected]> |
| 2642 |
|
| 2643 |
* libxml++/attribute.h: Added explicit to constructor. |
| 2644 |
|
| 2645 |
2002-11-16 Murray CUmming <[email protected]> |
| 2646 |
|
| 2647 |
* libxml++/parsers/domparser: Renamed write() method to write_to_file() |
| 2648 |
and added write_to_string(). |
| 2649 |
|
| 2650 |
2002-11-16 Murray Cumming <[email protected]> |
| 2651 |
|
| 2652 |
* libxml++-1.0.pc.in: More corrections. This was hopelessly broken |
| 2653 |
before. |
| 2654 |
|
| 2655 |
2002-11-16 Murray Cumming <[email protected]> |
| 2656 |
|
| 2657 |
* libxml++-1.0.pc.in: Corrected typo. |
| 2658 |
|
| 2659 |
2002-11-16 Murray Cumming <[email protected]> |
| 2660 |
|
| 2661 |
* docs/reference/Doxyfile: Used doxywizard to mark the Recursive |
| 2662 |
option, so it reads the libxml++/parsers directory too. |
| 2663 |
|
| 2664 |
2002-11-16 Murray Cumming <[email protected]> |
| 2665 |
|
| 2666 |
* Attribute, Node: Added Doxygen class comment block. Changed some |
| 2667 |
something * to something*. |
| 2668 |
|
| 2669 |
2002-11-16 Murray Cumming <[email protected]> |
| 2670 |
|
| 2671 |
* libxml++/node.[h|cc]: Added parameter names. Made const and non-const |
| 2672 |
overloads of children() method. |
| 2673 |
* libxml++/parsers/domparser.[h|cc]: Added const get_root_node() const |
| 2674 |
overload. |
| 2675 |
|
| 2676 |
2002-11-16 Christophe de Vienne <cdevienne@alphacent> |
| 2677 |
* libxml++/parsers/*: renamed method Parser::parse to |
| 2678 |
Parser::parse_file |
| 2679 |
|
| 2680 |
2002-11-16 Christophe de Vienne <cdevienne@alphacent> |
| 2681 |
* libxml++/parsers/saxparser.[h|cc]: rewritten |
| 2682 |
SaxParser::parse(filename) and SaxParser::parse_memory(string). |
| 2683 |
They both use a SaxParser::parse() |
| 2684 |
method. The parse_chunk and finish methods has been removed. |
| 2685 |
* example/sax_parser/parser.cc: minor bugfix: the Attribute pointer |
| 2686 |
was printed instead of the value. |
| 2687 |
|
| 2688 |
2002-11-16 Christophe de Vienne <[email protected]> |
| 2689 |
* Property: has been renamed to Attribute. However, the "properties" |
| 2690 |
token has been kept when speaking of all the attributes of a node, |
| 2691 |
as in the libxml library. |
| 2692 |
* node.cc: rewritten a few loops so they have a more 'c++' looking. |
| 2693 |
rewritten some portions of code where an attribute is searched by name. |
| 2694 |
|
| 2695 |
2002-11-15 Murray Cumming <[email protected]> |
| 2696 |
* Changed e.g. std::string &something to std::string& something, |
| 2697 |
using regexxer. |
| 2698 |
|
| 2699 |
2002-11-15 Christophe de Vienne <cdevienne@alphacent> |
| 2700 |
* example/sax_parser/parser.cc: #included <iostream> |
| 2701 |
|
| 2702 |
2002-11-15 Christophe de Vienne <cdevienne@alphacent> |
| 2703 |
* libxml++/parsers/saxparser.cc: #included cstdarg instead of stdarg.h |
| 2704 |
to follow the c++ standard. #included <iostream> to have std::cerr - it's |
| 2705 |
needed on strict c++ compiler (g++ 3.2 for instance). |
| 2706 |
* example/dom_parser/main.cc: #included <iostream> |
| 2707 |
|
| 2708 |
2002-11-15 Murray Cumming <[email protected]> |
| 2709 |
|
| 2710 |
* libxml++/parsers/saxparser.cc: #included stdarg.h - it seems to |
| 2711 |
be necessary with some compilers. |
| 2712 |
|
| 2713 |
2002-11-15 Murray Cumming <[email protected]> |
| 2714 |
|
| 2715 |
* DomParser:: Added get_encoding() and write() methods. |
| 2716 |
* Removed Tree - Use DomParser instead. |
| 2717 |
|
| 2718 |
2002-11-15 Murray Cumming <[email protected]> |
| 2719 |
|
| 2720 |
* SaxParser now inherits from Parser, with parse() and parse_memory() |
| 2721 |
methods. |
| 2722 |
* Added example/sax_parser example, but the start_element callback |
| 2723 |
doesn't seem to be called. |
| 2724 |
|
| 2725 |
2002-11-15 Murray Cumming <[email protected]> |
| 2726 |
|
| 2727 |
* Parser, DomParser: Added parse_memory() method. |
| 2728 |
* Node::children(): Removed bad early-optimisation hack - it returned |
| 2729 |
a static function variable instead of returning by value. This meant |
| 2730 |
that >1 results of children() could not be used simultaneously. |
| 2731 |
For instance, this meant that it could not be called recursively. |
| 2732 |
|
| 2733 |
2002-11-12 Murray Cumming <[email protected]> |
| 2734 |
|
| 2735 |
* Node, Property: Used explicit keyword on constructors. |
| 2736 |
|
| 2737 |
2002-11-12 Murray Cumming <[email protected]> |
| 2738 |
|
| 2739 |
* Added parsers directory. |
| 2740 |
* Renamed Parser to SaxParser. |
| 2741 |
* Added DomParser, intended as a replacement for Tree, but that has |
| 2742 |
not yet been removed. I don't intend to implement the libxml-1 |
| 2743 |
compatibility stuff. |
| 2744 |
* Added examples directory structure, with one tiny dom_parser example. |
| 2745 |
|
| 2746 |
2002-11-12 Christophe de Vienne <[email protected]> |
| 2747 |
* node.[h|cc]: name() method now return a reference. |
| 2748 |
* Tree/Node: The readnode and writenode functions have been removed |
| 2749 |
and transfered somehow into Node as a new constructor and write(). |
| 2750 |
The libxml++-private.[h|cc] has been removed. |
| 2751 |
|
| 2752 |
2002-11-12 Murray Cumming <[email protected]> |
| 2753 |
|
| 2754 |
* Parser: It's no longer a templated type - to provide your own |
| 2755 |
callback implementations you can now just derive your own parser and |
| 2756 |
override the on_*() methods. |
| 2757 |
|
| 2758 |
2002-11-12 Murray Cumming <[email protected]> |
| 2759 |
|
| 2760 |
* Moved implementation into the .cc files. |
| 2761 |
* Changed n, v and p parameter names to name, value and properties. |
| 2762 |
|
| 2763 |
2002-11-12 Murray Cumming <[email protected]> |
| 2764 |
|
| 2765 |
* Split the single xml.[h|cc] files into node, property, tree and |
| 2766 |
parser files, with a libxml++.h header file that includes them all. |
| 2767 |
* Removed the XML prefixes from type names - we don't need it because |
| 2768 |
we use a namespace now. |
| 2769 |
* Placed typedefed lists and map inside their classes. For instance, |
| 2770 |
XMLNodeList is now xmlpp::Node::NodeList. |
| 2771 |
* Node::children(): Use !(n.empty()) instead of (n.length() == 0), for |
| 2772 |
perfomance. |
| 2773 |
* Tree: changed fn parameter names to filename. |
| 2774 |
|
| 2775 |
2002-11-12 Christophe de Vienne <[email protected]> |
| 2776 |
* AUTHORS: Added Murray Cumming to the contributors |
| 2777 |
|
| 2778 |
2002-11-08 Christophe de Vienne <[email protected]> |
| 2779 |
* libxml++/xml.cc: corrected _line initialisation in XMLNode::XMLNode(const XMLNode *from) |
| 2780 |
|
| 2781 |
2002-11-08 Christophe de Vienne <[email protected]> |
| 2782 |
|
| 2783 |
* libxml++/xml.cc: Test if doc encoding is not null before |
| 2784 |
reading it (thanks to Marcel Bosc). |
| 2785 |
|
| 2786 |
2002-11-05 Murray Cumming <[email protected]> |
| 2787 |
|
| 2788 |
* Added docs/reference/. Run make in this directory to generate |
| 2789 |
reference documentation with doxygen. |
| 2790 |
* libxml++/xml.h: Removed macros around namespace - all compilers |
| 2791 |
must now support namespaces. |
| 2792 |
* libxml++/xml.[h|cc]: Replaced (void) with () - it's not necessary |
| 2793 |
in C++. |
| 2794 |
|
| 2795 |
2002-11-05 Murray Cumming <[email protected]> |
| 2796 |
|
| 2797 |
* libxml++/Makefile.am and configure.in: Implemented shared library |
| 2798 |
interface versioning. |
| 2799 |
|
| 2800 |
2002-11-05 Murray Cumming <[email protected]> |
| 2801 |
|
| 2802 |
* Put source code in libxml++ directory, ready for it to be split up |
| 2803 |
into separate files. Client code should now include |
| 2804 |
libxml++/xml++.h rather than just xml++.h. |
| 2805 |
|
| 2806 |
2002-11-05 Murray Cumming <[email protected]> |
| 2807 |
|
| 2808 |
* Headers are now installed in a versioned directory, to allow |
| 2809 |
coexistence with future major versions of libxml++. You may need to |
| 2810 |
remove the previously installed xml++.h file. |
| 2811 |
* Library name changed to libxml++-0.1, to be changed to libxml++-1.0 |
| 2812 |
when libxml++ stabilizes its API. This is also to allow future versions |
| 2813 |
to be parallel installed. |
| 2814 |
* Added pkg-config file as a simpler and more maintainable alternative |
| 2815 |
to the -config file and m4 script. |
| 2816 |
|
| 2817 |
Version 0.14 |
| 2818 |
* Ported to g++ 3.2. The code should now also compile on compilers which are a bit more strict about c++ than previous versions of g++ |
| 2819 |
* Added method XMLNode::line() wich returns the line number of a non content node in the source file. |
| 2820 |
* Added encoding file support through XMLTree::encoding() and XMLTree::set_encoding() methods |
| 2821 |
* Replacement of hash_map by map for node properties lists, since it has been reported to be faster, and to simplify porting to other plarfoms. |
| 2822 |
* libxml++ classes has been put in a separated namespace, libxmlpp. If you don't want namespace, just undefine the LIBXMLPP_USE_NAMESPACE |
| 2823 |
* encoding and compression settings are now loaded at parsing of file/buffer. |
| 2824 |
|
| 2825 |
|
| 2826 |
Version O.12 to 0.13 |
| 2827 |
No Changelog. |
| 2828 |
|
| 2829 |
Version O.11 |
| 2830 |
* Modified interface to allow for more complete coverage of possible uses of XML files. |
| 2831 |
|
| 2832 |
Version O.10 |
| 2833 |
* Added SAX parser. |
| 2834 |
|
| 2835 |
Version O.2 to 0.9 |
| 2836 |
No Changelog. |
| 2837 |
|
| 2838 |
Version O.1 |
| 2839 |
* Original release. |