forked from libxmlplusplus/libxmlplusplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog.pre-2-36-0
2839 lines (1991 loc) · 99.4 KB
/
ChangeLog.pre-2-36-0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2.36.0:
2012-10-25 Kjell Ahlstedt <[email protected]>
Element::set_namespace_declaration(): No error to set the same URI twice.
* libxml++/nodes/element.[h|cc]: Don't throw an exception from
set_namespace_declaration(), if a namespace prefix is assigned the same URI
twice. Bug #635846, comment 27.
2012-10-10 Kjell Ahlstedt <[email protected]>
Require libxml-2.0 >= 2.7.3.
* configure.ac: Require libxml-2.0 >= 2.7.3.
Don't know if it's really necessary, but 2.7.2 from 2008-10-03 is the oldest
release available at ftp://xmlsoft.org/libxml2, and 2.7.2 contains a bug that
makes examples/import_node segfault.
2012-10-10 Kjell Ahlstedt <[email protected]>
Parser::initialize_context(): Call xmlCtxtUseOptions().
* libxml++/parsers/parser.cc: initialize_context(): Call xmlCtxtUseOptions()
instead of setting context_->validate and replaceEntities.
xmlCtxtUseOptions() does that and more.
2.35.4:
2012-08-28 Kjell Ahlstedt <[email protected]>
Add XInclude processing.
* Makefile.am: Add XIncludeStart and XIncludeEnd nodes.
* examples/Makefile.am: Add dom_xinclude example.
* examples/README: Add dom_xinclude example and other missing examples.
* examples/dom_xinclude/example.xml:
* examples/dom_xinclude/include1.txt:
* examples/dom_xinclude/include2.xml:
* examples/dom_xinclude/main.cc: New files.
* libxml++/document.[h|cc]: Add process_xinclude().
* libxml++/libxml++.h: Add new header files.
* libxml++/nodes/node.cc: create_wrapper(): Create XIncludeStart and
XIncludeEnd nodes.
* libxml++/nodes/xincludeend.[h|cc]:
* libxml++/nodes/xincludestart.[h|cc]: New files.
* .gitignore: Ignore /examples/dom_xinclude/dom_xinclude. Bug #338521.
2012-08-28 Kjell Ahlstedt <[email protected]>
Parser: Make it thread-safe.
* configure.ac: Require glibmm-2.4 >= 2.32.0.
* libxml++/parsers/parser.cc: Protect all accesses to extra_parser_data with
a Glib::Threads::Mutex. Bug #681467.
2012-08-10 Kjell Ahlstedt <[email protected]>
Document: Make the Document(xmlDoc*) constructor public.
* libxml++/document.h: Make the Document(xmlDoc*) constructor public.
Remove friend declarations that become unnecessary. Bug #668980.
2012-08-09 Kjell Ahlstedt <[email protected]>
Improve the DtdValidation and SchemaValidation example programs.
* examples/dtdvalidation/main.cc:
* examples/schemavalidation/main.cc: Print all information from all thrown
xmlpp exceptions.
2012-08-09 Kjell Ahlstedt <[email protected]>
Validators: Improve the error handling.
* libxml++/validators/validator.[h|cc]:
* libxml++/validators/dtdvalidator.[h|cc]:
* libxml++/validators/schemavalidator.[h|cc]: Check more return codes from
libxml2 functions. Improve the description of member functions in the
reference documentation. Bug #635846.
2012-08-07 Kjell Ahlstedt <[email protected]>
Add incremental parsing to the SaxParser example program.
* examples/sax_parser/main.cc: Uncomment and correct the code that shows
incremental parsing with SaxParser::parse_chunk().
2012-08-07 Kjell Ahlstedt <[email protected]>
Parsers: Improve the error handling.
* libxml++/parsers/domparser.[h|cc]:
* libxml++/parsers/saxparser.[h|cc]:
* libxml++/parsers/textreader.[h|cc]: Check more return codes from libxml2
functions. Improve the description of errors in the reference documentation.
Bug #635846.
2012-08-07 Kjell Ahlstedt <[email protected]>
Document, Element, Node: Remove unnecessary tests for null pointers.
* libxml++/document.cc:
* libxml++/nodes/element.cc:
* libxml++/nodes/node.cc: Remove tests for null pointer before calling
xmlFreeNode(), which does nothing if given a null pointer. These unnecessary
tests were newly added when error handling was improved. Bug #635846.
2012-08-05 Kjell Ahlstedt <[email protected]>
Schema::set_document(): Create empty document.
* libxml++/schema.[h|cc]: set_document(): If the argument 'document' is 0,
create an empty document, as the documentation says.
2012-08-05 Kjell Ahlstedt <[email protected]>
Document, Schema: Improve the error handling.
* libxml++/document.[h|cc]:
* libxml++/schema.[h|cc]: Check more return codes from libxml2 functions.
Improve the description of errors in the reference documentation. Bug #635846.
2012-08-02 Kjell Ahlstedt <[email protected]>
Element, Node: Improve the error handling.
* libxml++/nodes/element.[h|cc]:
* libxml++/nodes/node.[h|cc]: Check more return codes from libxml2 functions.
Improve the description of errors in the reference documentation. Bug #635846.
2.35.3:
2012-06-19 Kjell Ahlstedt <[email protected]>
Add examples/Makefile.am. Let 'make check' run the examples.
* examples/Makefile.am: New file. Let 'make check' both compile and run the
example programs.
* Makefile.am: Call examples/Makefile. Move all 'examples' stuff to
examples/Makefile.am.
* configure.ac: Remove --enable-examples. Generate examples/Makefile.
* .gitignore: Ignore make-check-sh. Bug #678390.
2012-06-19 Kjell Ahlstedt <[email protected]>
Example programs: Fix return codes and print errors on std::cerr.
* examples/*/main.cc: Return EXIT_FAILURE in case of failure. Print error
messages on std::cerr. The example programs can then be run by 'make check'.
Bug #678390.
2012-04-20 Kjell Ahlstedt <[email protected]>
Node: Add functions eval_to_[boolean|number|string]().
* examples/dom_xpath/example.xml: Add an element with numeric value.
* examples/dom_xpath/main.cc: Add calls to the new functions.
* libxml++/nodes/node.[h|cc]:
Add the functions eval_to_[boolean|number|string](). Bug #316244.
2012-04-19 Kjell Ahlstedt <[email protected]>
Node: Make the previous fix thread-safe.
* libxml++/nodes/node.cc: Delete the C++ wrapper of a deleted attribute node
without using xmlDeregisterNodeDefault. Bug #672992 comments 9-12.
2012-04-19 Kjell Ahlstedt <[email protected]>
Node: Fix memory problems in import_node().
* libxml++/nodes/node.[h|cc]: Return added_node instead of imported_node,
which libxml2 may delete. Delete the C++ wrapper of a deleted attribute node.
* examples/import_node/example[1|2].xml:
* examples/import_node/main.cc: Import attributes and a text node which is
merged with an existing text node. Bug #672992.
2012-04-12 Kjell Ahlstedt <[email protected]>
Define LIBXMLCPP_EXCEPTIONS_ENABLED unconditionally.
* configure.ac: Add AC_DEFINE([LIBXMLCPP_EXCEPTIONS_ENABLED],[1],...
2012-03-30 Murray Cumming <[email protected]>
Node: Check for a null pointer, to fix a scan-build warning.
* libxml++/nodes/node.cc: This seems unlikely.
2.35.2:
2012-03-21 Murray Cumming <[email protected]>
Fix a warning found by clang++
* libxml++/parsers/textreader.h: PropertyReader is a class, not
a struct.
2012-03-20 Murray Cumming <[email protected]>
Remove the --disable-api-exceptions configure option.
And remove the #ifdefs and #else blocks from the code.
This is not used by anybody now, as far as I know, so this makes the
code easier to maintain.
2012-03-20 Murray Cumming <[email protected]>
A fix for the previous commit.
* libxml++/nodes/node.cc: get_first_child() const: Use the name
parameter.
2012-03-19 Murray Cumming <[email protected]>
Node: Add get_first_child().
* libxml++/nodes/node.[h|cc]: This is like get_children(),
but it returns only the first node, optionally returning
the first one with a certain name.
Based on a patch by Ilya Murav'jov in bug #648125 .
2.35.1:
2012-02-15 Kjell Ahlstedt <[email protected]>
Handle attributes with default values correctly.
* libxml++/attributedeclaration.[h|cc]:
* libxml++/attributenode.[h|cc]: New files.
* Makefile.am:
* libxml++/Makefile.am: Add the new files.
* libxml++/libxml++.h: Add the new .h files.
* docs/manual/libxml++_without_code.xml: Add AttributeDeclaration and
AttributeNode in the list of node classes.
* libxml++/attribute.[h|cc]: Make get_value() useful also for default values
(XML_ATTRIBUTE_DECL). Fix set_value() for attributes in a namespace.
* libxml++/nodes/element.[h|cc]: get_attribute(): Add description. Don't use
xmlHasProp(), it ignores namespace.
* libxml++/nodes/node.cc: get_namespace_prefix(), get_namespace_uri(),
set_namespace(), create_wrapper(): Add code for XML_ATTRIBUTE_DECL.
* examples/dom_parser/example.dtd: Add attribute 'title' with default value.
* examples/dom_parser/example.xml: Add attribute 'title' with explicit value.
Bug #669635.
2012-02-15 Kjell Ahlstedt <[email protected]>
Node: Correct mis-spelt LIBXMLCPP_EXCEPTIONS_ENABLED.
* libxml++/nodes/node.h: Add some "@throws exception".
* libxml++/nodes/node.cc: Change LIBXMLCPP_EXCEPTIONS_ENABLE to
LIBXMLCPP_EXCEPTIONS_ENABLED in find_impl() and set_namespace().
2012-02-15 Kjell Ahlstedt <[email protected]>
Improved handling of entity references and processing instructions.
* libxml++/nodes/entitydeclaration.[h|cc]: New files.
* Makefile.am:
* libxml++/Makefile.am: Add the new files.
* libxml++/libxml++.h: Add the new .h file.
* docs/manual/libxml++_without_code.xml: Add EntityDeclaration in the list
of node classes.
* libxml++/document.[h|cc]: Add add_processing_instruction().
* libxml++/nodes/element.[h|cc]: Add add_child_entity_reference() and
add_child_processing_instruction().
* libxml++/nodes/entityreference.h: Improve the description of
get_resolved_text() and get_original_text().
* libxml++/nodes/node.cc: get_namespace_prefix() and get_namespace_uri():
XML_ENTITY_DECL has no namespace. Don't try to find it.
create_wrapper(): Create an EntityDeclaration when type == XML_ENTITY_DECL.
free_wrappers(): Don't walk the child list when type == XML_ENTITY_REF_NODE.
* examples/dom_build/main.cc: Add entity declarations and references, and
processing instructions to the built xml file.
* examples/dom_parse_entities/example.dtd: Make it compatible with example.xml.
* examples/dom_parse_entities/example.xml: Add an entity definition that
contains entity references.
* examples/dom_parse_entities/main.cc: Print the parsed file both with and
without entity substitution.
* examples/dom_parser/example.dtd: Make it compatible with example.xml.
* examples/dom_parser/main.cc: Add command flag -E (Don't substitute entities).
Bug #669481
2012-02-15 Kjell Ahlstedt <[email protected]>
Add some files to .gitignore.
* .gitignore: Add docs files that are copied from mm-common.
Add /MSVC_Net2010/libxml++/libxml++.rc and
/examples/dom_read_write/example_output.xml.
2012-02-15 Kjell Ahlstedt <[email protected]>
Add @newin{2,36} to some new functions where it's missing.
* libxml++/exceptions/exception.h: Add @newin{2,36} to format_xml_error() and
format_xml_parser_error().
* libxml++/parsers/parser.h: Add @newin{2,36} to [set|get]_throw_messages().
Bug #304020.
2012-02-10 Kjell Ahlstedt <[email protected]>
Make the schema validation example program work with no arguments.
* examples/schemavalidation/main.cc: Correct the test for number of arguments.
2012-01-30 Kjell Ahlstedt <[email protected]>
Parser: Throw more detailed error messages.
* examples/dom_parser/main.cc: Add command parameters -v -e -t.
* libxml++/exceptions/exception.[h|cc]: Add format_xml_error() and
format_xml_parser_error().
* libxml++/parsers/domparser.cc: Call format_xml_error() and
format_xml_parser_error() to get more detailed messages in exceptions.
* libxml++/parsers/parser.[h|cc]: Add [set|get]_throw_messages() and (local in
.cc until ABI can be broken) on_parser_[error|warning](). Bug #304020.
2012-01-30 Murray Cumming <[email protected]>
Document: Make the Document(xmlDoc*) constructor protected.
* libxml++/document.h: This was requested in bug #668980 (A. Pignotti).
2011-09-09 Murray Cumming <[email protected]>
Document: write_to_*(): Make sure that we write UTF-8 out.
* libxml++/document.cc: Because the xmlDocDump*() functions use some other
encoding if you specify NULL, causing errors such as:
xmlEscapeEntities : char out of range
2.34.2:
2011-09-06 Mathias Lorente <[email protected]>
Node::create_new_child_node(): Use the default namespace if none is specified.
* libxml++/nodes/node.cc: This is better than just ignoring it.
Bug #656110
2011-07-20 Murray Cumming <[email protected]>
ContentNode::get_content(): Fix a documentation typo.
* libxml++/nodes/contentnode.h: Mention > instead of &qt (a q
instead of a g, and no ;.).
2011-07-20 Mathias Lorente <[email protected]>
Add Element::add_child_cdata().
* libxml++/nodes/element.[h|cc]: Add add_child_cdata(), using
xmlNewCDataBlock(), like the existing add_child_text().
* examples/sax_parser_build_dom/example.xml:
* examples/sax_parser_build_dom/svgparser.[h|cc]: Use the new API.
2.34.1:
2011-04-17 Murray Cumming <[email protected]>
Fix distcheck.
* Makefile.am: Specify the full path to docbook-customisation.xsl,
which is apparently necessary with the autotools that I have here.
2011-04-17 Murray Cumming <[email protected]>
Fix the build with --enable-warnings=fatal.
* configure.ac: Use -no-long-long to avoid an (apparently new) compiler
warning about long long not being supported by C++98. glibmm already had
this option.
2011-04-17 Murray Cumming <[email protected]>
Do not require mm-common during the tarball build.
* configure.ac: Add a MM_CONFIG_DOCTOOL_DIR() call.
2.34.0:
2011-02-24 Murray Cumming <[email protected]>
Fix the build with the changed linker behaviour on Ubuntu Natty.
* Makefile.am: Link the examples to glibmm explicitly.
2.33.2:
2011-02-11 Murray Cumming <[email protected]>
Node::remove_child(): Fix a use of deleted memory
* libxml++/nodes/node.cc:
Use a temporary variable to avoid accessing the node C++ instance after we
have deleted it. Valgrind foudn this.
Also remove the comment about the libxml deleting our C++ instance via a
callback, because we don't do that anymore.
2010-11-26 Murray Cumming <[email protected]>
Check some libxml function return values.
* libxml++/document.cc: do_write_to_stream():
* libxml++/schema.cc: set_document(): Check the results from
xmlSchemaNewDocParserCtxt() and xmlSaveFormatFileTo().
Bug #635846 (Markus Elfring).
2.33.1:
2010-11-14 Murray Cumming <[email protected]>
free_wrappers(): Fix crash.
* libxml++/nodes/node.cc: free_wrappers(): Revert my change to check
xmlNode::properties for all types, because the layout of some structs
is apparently completely different (not really deriving fully), and this
caused a crash in examples/sax_parser/.
Added an explanatory comment.
2010-11-14 Murray Cumming <[email protected]>
Change the --enable-examples default to yes.
* configure.ac: Build the examples by default, so we at least check the
build more often. Disabling them is only useful for package building,
which is the less common case.
2010-11-14 Murray Cumming <[email protected]>
Moved create_wrapper() and free_wrappers() to Node.
* libxml++/document.[h|cc]:
* libxml++/nodes/node.[h|cc]: Moved create_wrapper() and free_wrappers()
to here from Document.
free_wrappers(): Never return inside the switch/case, so we check
xmlNode::properties for all struct types, and to avoid making the behaviour
non-obvious.
* libxml++/parsers/textreader.cc:
* libxml++/validators/dtdvalidator.cc:
* libxml++/nodes/element.cc: Adapted.
2010-11-08 Alessandro Pignotti <[email protected]>
Make libxml++ compatible with separate and multi-threaded libxml2 usage.
* libxml++/document.[h|cc]: Added create_wrapper() and free_wrappers(),
replacing on_libxml_construct() and on_libxml_destruct() .
Init(): Do not register these global callbacks with libxml.
* libxml++/nodes/element.cc:
* libxml++/nodes/node.[h|cc]:
* libxml++/parsers/textreader.cc:
* libxml++/validators/dtdvalidator.cc: Call these create_wrapper() before
ever trying to get a C++ instance from a C instance. Call free_wrappers()
in destructors and other places where we want the instance to be destroyed.
This avoids use of libxml's global function pointers, which are not
thread-safe.
2010-11-08 Murray Cumming <[email protected]>
Do not call xmlCleanupParser() because it is brutal.
* libxml++/document.cc: ~Init(): Do not call xmlCleanupParser() because it
breaks libxml generally and should only be called by an application
explicitly before it ends, for instance at the end of its main().
2010-10-19 Knut Aksel Røysland <[email protected]>
Node::get_parent(): Removed code duplication.
* libxml++/nodes/node.cc: get_parent() const: Use const_cast<> to call
the non-const version, instead of duplicating the code.
2.32.0:
2010-10-14 Murray Cumming <[email protected]>
website: Change the mailing list location, because I moved it.
* docs/index.html: The mailing list is now at gnome.org.
2010-10-03 Armin Burgmeier <[email protected]>
* MSVC_Net2005/README:
* MSVC_Net2005/examples/dom_build/dom_build.vcproj:
* MSVC_Net2005/examples/dom_parse_entities/dom_parse_entities.vcproj:
* MSVC_Net2005/examples/dom_parser/dom_parser.vcproj:
* MSVC_Net2005/examples/dom_parser_raw/dom_parser_raw.vcproj:
* MSVC_Net2005/examples/dom_read_write/dom_read_write.vcproj:
* MSVC_Net2005/examples/dom_xpath/dom_xpath.vcproj:
* MSVC_Net2005/examples/dtdvalidation/dtdvalidation.vcproj:
* MSVC_Net2005/examples/import_node/import_node.vcproj:
* MSVC_Net2005/examples/sax_exception/sax_exception.vcproj:
* MSVC_Net2005/examples/sax_parser/sax_parser.vcproj:
* MSVC_Net2005/examples/sax_parser_build_dom/sax_parser_build_dom.vcproj:
* MSVC_Net2005/examples/sax_parser_entities/sax_parser_entities.vcproj:
* MSVC_Net2005/examples/schemavalidation/schemavalidation.vcproj:
* MSVC_Net2005/examples/textreader/textreader.vcproj:
* MSVC_Net2005/gendef/gendef.vcproj:
* MSVC_Net2005/libxml++.sln:
* MSVC_Net2005/libxml++/libxml++.vcproj:
* MSVC_Net2008/README:
* MSVC_Net2008/examples/dom_build/dom_build.vcproj:
* MSVC_Net2008/examples/dom_parse_entities/dom_parse_entities.vcproj:
* MSVC_Net2008/examples/dom_parser/dom_parser.vcproj:
* MSVC_Net2008/examples/dom_parser_raw/dom_parser_raw.vcproj:
* MSVC_Net2008/examples/dom_read_write/dom_read_write.vcproj:
* MSVC_Net2008/examples/dom_xpath/dom_xpath.vcproj:
* MSVC_Net2008/examples/dtdvalidation/dtdvalidation.vcproj:
* MSVC_Net2008/examples/import_node/import_node.vcproj:
* MSVC_Net2008/examples/sax_exception/sax_exception.vcproj:
* MSVC_Net2008/examples/sax_parser/sax_parser.vcproj:
* MSVC_Net2008/examples/sax_parser_build_dom/sax_parser_build_dom.vcproj:
* MSVC_Net2008/examples/sax_parser_entities/sax_parser_entities.vcproj:
* MSVC_Net2008/examples/schemavalidation/schemavalidation.vcproj:
* MSVC_Net2008/examples/textreader/textreader.vcproj:
* MSVC_Net2008/gendef/gendef.vcproj:
* MSVC_Net2008/libxml++.sln:
* MSVC_Net2008/libxml++/libxml++.vcproj:
* MSVC_Net2010/README:
* MSVC_Net2010/examples/dom_build/dom_build.vcxproj:
* MSVC_Net2010/examples/dom_build/dom_build.vcxproj.filters:
* MSVC_Net2010/examples/dom_parse_entities/dom_parse_entities.vcxproj:
* MSVC_Net2010/examples/dom_parse_entities/dom_parse_entities.vcxproj.filters:
* MSVC_Net2010/examples/dom_parser/dom_parser.vcxproj:
* MSVC_Net2010/examples/dom_parser/dom_parser.vcxproj.filters:
* MSVC_Net2010/examples/dom_parser_raw/dom_parser_raw.vcxproj:
* MSVC_Net2010/examples/dom_parser_raw/dom_parser_raw.vcxproj.filters:
* MSVC_Net2010/examples/dom_read_write/dom_read_write.vcxproj:
* MSVC_Net2010/examples/dom_read_write/dom_read_write.vcxproj.filters:
* MSVC_Net2010/examples/dom_xpath/dom_xpath.vcxproj:
* MSVC_Net2010/examples/dom_xpath/dom_xpath.vcxproj.filters:
* MSVC_Net2010/examples/dtdvalidation/dtdvalidation.vcxproj:
* MSVC_Net2010/examples/dtdvalidation/dtdvalidation.vcxproj.filters:
* MSVC_Net2010/examples/import_node/import_node.vcxproj:
* MSVC_Net2010/examples/import_node/import_node.vcxproj.filters:
* MSVC_Net2010/examples/sax_exception/sax_exception.vcxproj:
* MSVC_Net2010/examples/sax_exception/sax_exception.vcxproj.filters:
* MSVC_Net2010/examples/sax_parser/sax_parser.vcxproj:
* MSVC_Net2010/examples/sax_parser/sax_parser.vcxproj.filters:
* MSVC_Net2010/examples/sax_parser_build_dom/sax_parser_build_dom.vcxproj:
* MSVC_Net2010/examples/sax_parser_build_dom/sax_parser_build_dom.vcxproj.filters:
* MSVC_Net2010/examples/sax_parser_entities/sax_parser_entities.vcxproj:
* MSVC_Net2010/examples/sax_parser_entities/sax_parser_entities.vcxproj.filters:
* MSVC_Net2010/examples/schemavalidation/schemavalidation.vcxproj:
* MSVC_Net2010/examples/schemavalidation/schemavalidation.vcxproj.filters:
* MSVC_Net2010/examples/textreader/textreader.vcxproj:
* MSVC_Net2010/examples/textreader/textreader.vcxproj.filters:
* MSVC_Net2010/gendef/gendef.cc:
* MSVC_Net2010/gendef/gendef.vcxproj:
* MSVC_Net2010/gendef/gendef.vcxproj.filters:
* MSVC_Net2010/libxml++.sln:
* MSVC_Net2010/libxml++/libxml++.rc.in:
* MSVC_Net2010/libxml++/libxml++.vcxproj:
* MSVC_Net2010/libxml++/libxml++.vcxproj.filters:
* Makefile.am:
* configure.ac: Added support for MSVC 2010 and 64 bit.
2010-06-13 Murray Cumming <[email protected]>
Node::find(): Check xmlNode::type for a XML_NAMESPACE_DECL.
* libxml++/nodes/node.cc: find_impl(): if the xmlNode has type
XML_NAMESPACE_DECL then it is actually a xmlNs, which is not like a xmlNode
at all (thanks to the awful undocumented libxml++ system of struct
inheritance).
So we just igore these items. We need to decide what the caller really
expects.
2010-06-13 Murray Cumming <[email protected]>
Node::find(): Revert some of my previous change because it breaks some code.
* libxml++/nodes/node.cc: find_impl(): Restore the previous behaviour,
because the strange use of _private only seems to happen sometimes.
2010-06-13 Murray Cumming <[email protected]>
Node::find(): Cope with weird use of _private in xmlNodeSet.
* libxml++/nodes/node.cc: The xmlNodeSet seems to contain extra xmlNodes that
were never given to on_libxml_construct(). Those xmlNodes seem to abuse
private_, where we find our real xmlNodes containing our C++ Nodes.
This fixes bug #386013 (Max Kirillov) though it depends on undocumented
libxml behaviour.
2010-06-13 Murray Cumming <[email protected]>>
Node::find(): Use libxml functions instead of direct C access.
* libxml++/nodes/node.cc: Use xmlXPathNodeSetIsEmpty(),
xmlXPathNodeSetGetLength() and xmlXPathNodeSetItem() instead of direct
xmlNodeSet struct access.
2010-06-13 Murray Cumming <[email protected]>
Manual: Use git.gnome.org as the link to the examples source code.
* docs/manual/libxml++_without_code.xml: Use git.gnome.org for the examples
url base, as we do in gtkmm-documentation.
2010-06-13 Murray Cumming <[email protected]>
Restore the mm-common make target and update a link.
* Makefile.am: Restore (and update) the post-html target that was lost when
we redid the build system for mm-common.
* docs/index.html: Change the link to the manual to point to its new location
at library.gnome.org.
2.30.1:
2010-05-04 Murray Cumming <[email protected]>
Documentation: Don't hide undocumented API.
* docs/reference/Doxyfile.in: Use the same options as gtkmm (mostly).
In particular, don't hide undocumented API, such as NodeSet, to fix
bug #583412 (Hubert Figuiere).
2010-05-04 Murray Cumming <[email protected]>
Documentation: Improvements.
* libxml++/libxml++.h: Expand the main page text, linking to the tutorial
and to important classes.
* libxml++/parsers/domparser.h:
* libxml++/schema.h: Correct the class descriptions.
* libxml++/parsers/textreader.h: Add a class description.
* libxml++/nodes/element.h:
* libxml++/nodes/node.h:
* libxml++/parsers/saxparser.h:
* libxml++/validators/schemavalidator.h:
Correct @newin2p2* to @newin{2,*} now that we use mm-common.
2010-04-27 David King <[email protected]>
Further documentation main page improvements
* libxml++/libxml++.h: Some minor improvements.
2010-04-23 David King <[email protected]>
Documentation main page improvements
* libxml++/libxml++.h: Add external links and compilation example.
2010-04-16 David King <[email protected]>
Minor documentation update
* docs/index.html: Link to latest gnome.org resources.
* libxml++/libxml++.h: Add minimal documentation for main page.
2010-04-06 Murray Cumming <[email protected]>
.pc file: Add datarootdir.
* libxml++-2.6.pc.in: Add datarootdir and datadir, as in the gtkmm .pc.in
file, because I started seeing this warning when running autogen.sh in Glom:
Variable 'datarootdir' not defined in '/opt/gnome228/lib/pkgconfig/libxml++-2.6.pc'
2010-04-03 Armin Burgmeier <[email protected]>
* MSVC_Net2005/libxml++.sln:
* MSVC_Net2008/libxml++.sln: Add dom_parser_raw project to the
solution files.
2010-03-30 Murray Cumming <[email protected]>
Stop exceptions when using std::cout and UTF-8.
* examples/*/main.cc: Initialize the global C and C++ locale to prevent
exceptions when ouputing a ustring (with non-ASCII UTF-8) to std::cout.
We don't see this problem when writing gtkmm apps because gtk_init() (via
Gtk::Main) initializes the C locale correctly.
Thanks to Daniel Elstner for the solution (he will document it properly
in the Glib::ustring API reference) and to Nic Reveles and others for
noticing the problem.
2010-03-30 David King <[email protected]>
Update pkg-config file
* libxml++-2.6.pc.in: Add documentation locations to pkg-config file.
Update other fields to use variables, rather than hardcoded values.
=== 2.30.0 ===
2010-03-30 David King <[email protected]>
Disable AM_MAINTAINER_MODE by default
* configure.ac: Pass the disable parameter to AM_MAINTAINER_MODE so
that tarball users do not need doxygen, mm-common, etc. if they modify
files. Maintainer mode is still enabled if running autogen.sh.
2010-03-29 David King <[email protected]>
Move a target outside a conditional block to fix the build
* Makefile.am: Move docs/manual/libxml++.xml target outside the
ENABLE_DOCUMENTATION conditional block.
2010-03-29 David King <[email protected]>
Use mm-common for reference documentation generation
* .gitignore: Update.
* Makefile.am: Remove SUBDIRS. Make examples build and documentation
build conditional. Build reference documentation with doc-reference.am
from mm-common. Add docs/manual/libxml++.pdf target, but do not enable
it by default. Add autogen.sh and docs/manual/insert_example_code.pl to
dist_noinst_SCRIPTS. Add docs/manual/html/*.html to
MAINTAINERCLEANFILES.
* autogen.sh: Add --enable-maintainer-mode to arguments passed to
configure.
* configure.ac: Add AM_MAINTAINER_MODE. Add a configure argument to
enable the build of the examples. Use mm-common macros to add a
configure argument to enable documentation, and use the glibmm
tagfile. Check for xmllint and db2latex for DTD validation of the
DocBook manual and building the PDF documentation, repectively. Remove
the last non-toplevel Makefiles from AC_CONFIG_FILES.
* docs/Makefile.am:
* docs/Makefile_web.am_fragment:
* docs/manual/Makefile.am:
* docs/reference/Makefile.am: Remove from repository, and move content
to Makefile.am.
* docs/manual/docbook-customisation.xsl: Add DocBook customisation
parameters.
* docs/manual/libxml++_without_code.xml: Make validate.
* docs/reference/Doxyfile.in: Update from mm-common.
* docs/reference/README: Remove empty file.
2010-03-27 David King <[email protected]>
Fix several compiler warnings
* examples/dom_build/main.cc:
* examples/dtdvalidation/main.cc:
* examples/import_node/main.cc:
* examples/sax_exception/main.cc:
* examples/sax_exception/my_parser.cc:
* examples/sax_parser/main.cc:
* examples/sax_parser/my_parser.cc:
* examples/sax_parser_build_dom/svgparser.cc:
* examples/sax_parser_entities/myparser.cc:
* examples/textreader/main.cc:
* libxml++/parsers/textreader.cc: Comment out unused parameters and
variables.
* libxml++/parsers/saxparser.cc: Fill in missing fields of
xmlSAXHandler struct.
2010-03-27 David King <[email protected]>
Refactor build system
* Makefile.am: Merge from subdir Makefile.am files, excluding doc.
* MSVC_Net2005/examples/dom_parser_raw/dom_parser_raw.vcproj:
* MSVC_Net2008/examples/dom_parser_raw/dom_parser_raw.vcproj: Add
missing Visual studio project files.
* MSVC_Net2005/examples/*/Makefile.am:
* MSVC_Net2005/examples/Makefile.am:
* MSVC_Net2005/gendef/Makefile.am:
* MSVC_Net2005/libxml++/Makefile.am:
* MSVC_Net2008/examples/*/Makefile.am:
* MSVC_Net2008/examples/Makefile.am:
* MSVC_Net2008/gendef/Makefile.am:
* MSVC_Net2008/libxml++/Makefile.am: Remove from repository, and move
content to Makefile.am, making the MSVC project file build
non-recursive.
* README: Update.
* autogen.sh: Copy from gtkmm.
* configure.in: Move to configure.ac.
* configure.ac: Require autoconf 2.59 and automake 1.9. Use new-style
AC_INIT() with bug-report link and homepage URL. Use mm-common for
initialisation of version variables. Require libtool 2.2.6 for much
faster builds. Use MM_ARG_ENABLE_WARNINGS to configure compiler
warning flags. Use MM_CHECK_PERL to check for the required Perl
version. Use AC_CONFIG_FILES rather than AC_OUTPUT. Update for
Makefile.am changes.
* config.h.in: Remove from repository, as autoheader is now used.
* */.cvsignore: Remove old files.
* doc/manual/Makefile.am: Use the correct Perl.
* doc/reference/Doxyfile.in:
* MSVC_Net2005/libxml++/libxml++.rc.in:
* MSVC_Net2008/libxml++/libxml++.rc.in: Use new-style variable names.
* examples/Makefile.am_fragment:
* examples/Makefile.am:
* examples/*/Makefile.am: Remove from repository, and move content to
Makefile.am, making the examples build non-recursive.
* .gitignore: Update.
* libxml++/Makefile.am:
* libxml++/*/Makefile.am: Remove from repository, and move content to
Makefile.am, making the libxml++ build non-recursive.
* libxml++.spec.in:
* INSTALL: Remove from repository.
* scripts/README:
* scripts/Makfile.am: Remove from repository.
* scripts/reduced.m4: Move to macros/reduced.m4
2010-03-08 Murray Cumming <[email protected]>
Use 0 instead of NULL.
* MSVC_Net2005/gendef/gendef.cc:
* MSVC_Net2008/gendef/gendef.cc:
* libxml++/attribute.cc:
* libxml++/document.cc:
* libxml++/io/outputbuffer.cc:
* libxml++/io/parserinputbuffer.cc:
* libxml++/nodes/node.cc:
* libxml++/parsers/domparser.cc:
* libxml++/parsers/parser.cc:
* libxml++/parsers/textreader.cc:
* libxml++/schema.cc:
* libxml++/schema.h: Do not use NULL. It is unwise in C++.
=== 2.26.1 ===
2009-07-27 Johannes Schmid <[email protected]>
* libxml++/validators/schemavalidator.cc:
* libxml++/schema.cc: Fixed exception handling
problems in non-exception build
* examples/sax_parser/myparser.cc/h: Make example build withouth exceptions,
it's useless then though
* examples/schemavalidation/main.cc: Fixed build without exceptions
2009-07-27 Johannes Schmid <[email protected]>
New tarball release
* configure.in: Updated version to 2.26.1
* NEWS: updated
2009-05-07 Murray Cumming <[email protected]>
Fix the build without exceptions, hopefully.
* libxml++/parsers/textreader.cc: check_for_exceptions():
Add an ifdef so that this should build with exceptions disabled,
though there is no alternative API yet. Noticed by David King.
2009-05-07 Murray Cumming <[email protected]>
* libxml++/parsers/textreader.cc: Whitespace corrections.
2009-03-25 Hubert Figuiere <[email protected]>
* libxml++/parsers/saxparser.h: Fix some warnings triggered
by -Wshadow.
2009-03-23 Hubert Figuiere <[email protected]>
* libxml++/parsers/textreader.cc: severity_ was not initialised
at construction time. (Closes #576516)
2.26.0:
2009-03-16 Murray Cumming <[email protected]>
* configure.in: Increased version number to match GNOME 2.26.
2.24.3:
2009-03-02 Armin Burgmeier <[email protected]>
* libxml++/validators/validator.h:
* libxml++/parsers/parser.h: Removed the vsnprintf #define on Windows.
This could conflict with another define otherwise. Both MSVC and MinGW
have vsnprintf (without underscore) as well, and I verified libxml++
still compiles in both. If we still need the definition for some
reason, then we should re-add it into the source files, so that other
libraries don't conflict with our definition.
2009-01-09 Stef Walter <[email protected]>
* libxml++/parsers/textreader.[h|cc]: Add setup_exceptions(), setting
the on_libxml_error() callback, and call it from the constructors.
check_for_exceptions(): Actually check some member variables and throw an
exception if necessary.
This should fix bug #348006.
It breaks ABI because it adds member variables, but we decided that is
OK because nobody could actually be using this class seriously before
now because it had no error checking.
2.24.2:
2008-12-20 Armin Burgmeier <[email protected]>
* libxml++/schema.cc (set_document): Set embedded_doc_ according to
the embed parameter instead of always setting it to false, so that we
actually release the document in release_underlying().
(release_underlying): Free the schema in all cases, also when the
document was not embedded, to avoid a memory leak.
* libxml++/validators/schemavalidator.cc (parse_file, parse_memory,
parse_document): Make sure not to leak the xmlSchemaParserCtxtPtr in
case of an exception. Bug #563321, Arjan Franzen.
2008-12-18 Armin Burgmeier <[email protected]>
* win32_msvc6/:
* Makefile.am:
* configure.in: Removed outdated MSVC6 project.
2.24.1:
2008-12-12 Armin Burgmeier <[email protected]>
* MSVC_Net2008/examples/sax_parser/sax_parser.vcproj.HALLWA.Armin.user:
Removed this generated file. It went in by accident.
* MSVC_Net2008/examples/sax_parser/sax_parser.vcproj: Added the
example project file instead, which should have been added from the
beginning.
2008-12-12 Armin Burgmeier <[email protected]>
* MSVC_Net2005/libxml++/libxml++.vcproj:
* MSVC_Net2008/libxml++/libxml++.vcproj: Added schema.cc and
schemavalidator.cc to the project. Bug #563664 (Arjan Franzen).
* MSVC_Net2005/examples/schemavalidation/schemavalidation.vcproj:
* MSVC_Net2005/examples/schemavalidation/Makefile.am:
* MSVC_Net2005/examples/Makefile.am:
* MSVC_Net2005/libxml++.sln: Added the schema validator example to the
MSVC8 solution file.
* MSVC_Net2008/examples/schemavalidation/schemavalidation.vcproj:
* MSVC_Net2008/examples/schemavalidation/Makefile.am:
* MSVC_Net2008/examples/Makefile.am:
* MSVC_Net2008/libxml++.sln: Added the schema validator example to the
MSVC9 solution file.
2008-12-12 Przemysław Grzegorczyk <[email protected]>
* libxml++/schema.cc: Fix a typo to fix the build.
2008-12-08 Murray Cumming <[email protected]>
* libxml++/validators/validator.cc: check_for_exception(): Use an
auto_ptr<> to avoid leaking the exception, as in
Parser::check_for_exception().
Bug #563321 (Arjan Franzen)
2008-12-05 Murray Cumming <[email protected]>
* libxml++/schema.cc: release_underlying(): Use xmlSchemaFree()
to avoid a leak, as suggested by Balazs Tirpak. Bug #312216.
2008-10-09 Armin Burgmeier <[email protected]>
* MSVC_Net2005/*/*.vcproj: Adapt the new DLL naming convention.
* MSVC_Net2008/: Added project files for Visual Studio 2008.
* Makefile.am:
* configure.in: Added the new files to the distribution.
2.24.0:
* configure.in: Increased version to match GNOME 2.24:
2.23.3:
2008-08-16 Murray Cumming <[email protected]>
* libxml++/attribute.cc: get_value(): xmlGetNsProp() takes the
namespace URI, not the prefix.