-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
2429 lines (1816 loc) · 88.3 KB
/
ChangeLog
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
NOTICE: This file isn't kept up to date anymore. Look at the timeline
of the leading fossil repository
(https://46.163.78.80/cgi-bin/repros/tdom/timeline) or at the backup
github repository at https://github.com/tDOM/tdom for detailed lists
of code changes.
User interface changes/enhancements and other important changes will
still be documented in the CHANGES file.
2012-05-17 Rolf Ade <rolf@pointsman.de>
* generic/dom.h
* generic/tcldom.c: Compatibility with Tcl 8.6 - Beginning
with 8.6, interp->errorLine isn't public visible anymore
(TIP 330).
* generic/domxslt.c: Fixed wrong size on memcpy on 64 bit
(when sizeof(int)!=sizeof(int*))
2009-11-10 Rolf Ade <rolf@pointsman.de>
* expat/xmltok_impl.c: Fix for possible DoS attack (see
CVE-2009-3720)
2008-08-27 Rolf Ade <rolf@pointsman.de>
* Makefile.in: Added missing space in target
pkgIndex.tcl-hand. Thanks to Gustaf Neumann for reporting
the problem and providing a fix.
2008-05-25 Rolf Ade <rolf@pointsman.de>
* lib/tdom.tcl: The XPath function element-available() should,
according to the rec, return true "if and only if the
<argument> is the name of an instruction". That is, not for
all known XSLT elements.
2008-03-04 Rolf Ade <rolf@pointsman.de>
* generic/tclexpat.c: Editorial changes.
* generic/domhtml.c:
* generic/domxslt.c: Added a few casts, to pacify picky
compliers.
2007-12-26 Rolf Ade <rolf@pointsman.de>
* generic/dom.c
* generic/tcldom.c: Fixed a memory leak in case of
--enable-threads.
2007-10-30 Rolf Ade <rolf@pointsman.de>
* generic/domhtml.c:
* tests/htmlreader.test: ID Attributes in HTML documents
parsed with -html do now what you expect: you find it with
getElementById.
2007-10-29 Rolf Ade <rolf@pointsman.de>
* doc/domNode.*
* doc/domDoc.*: Fixed documentation error in the documentation
of the replaceChild method.
2007-10-08 Rolf Ade <rolf@pointsman.de>
* generic/domhtml.c
* tests/htmlreader.test: Fixed handling of attributes without
value. Now, an attribute without value gets the attribute
name as value.
2007-10-04 Rolf Ade <rolf@pointsman.de>
* tests/domDoc.test: Fixed test domDoc-1.2: Test was broken in
case of locale != ISO-8859-1 (or -15).
2007-10-03 Rolf Ade <rolf@pointsman.de>
* win/makefile.vc: makefile.vc generated a pkgIndex.tcl file,
that didn't work in case of spaces in the install
path. Thanks to Koen Danckaert.
2007-09-28 Rolf Ade <rolf@pointsman.de>
* tests/all-bench.tcl
* tests/domNode.bench
* tests/xpath.bench: Added this files: Start of a benchmark
suite.
2007-09-25 Rolf Ade <rolf@pointsman.de>
* win/makefile.vc
* win/nmakehlp.c
* win/rules.vc
* win/tdom.rc: Updated. (Thanks to Pat Thoyts.)
* tdom.m4
* extensions/tnc/configure: Fixes tnc building against
uninstalled tdom. (Thanks to Daniel A. Steffen.)
2007-08-23 Rolf Ade <rolf@pointsman.de>
* generic/domxpath.c
* tests/dom.test
* tests/xmlsimple.test
* tests/xpath.test
* tests/xslt.test: Fixed bug triggered by invalid XSLT XPath
pattern (normal XPath expr (via selectNodes) wasn't
infected). Checked the code for similar spots and fixed a
few. Replaced a fprintf(stderr, ..) called in an
'impossible' case with a more appropriate domPanic call.
2007-08-18 Rolf Ade <rolf@pointsman.de>
* generic/domxslt.c: Code cleanup in document()
implementation.
* generic/dom.c
* generic/dom.h
* generic/domxslt.c
* generic/tcldom.c: More constification and clean up.
* generic/dom.c
* generic/dom.h
* generic/domalloc.c
* generic/domxpath.c
* generic/domxpath.h
* generic/domxslt.c
* generic/tcldom.c
* generic/xmlsimple.c: Big const ification.
2007-08-15 Rolf Ade <rolf@pointsman.de>
* configure
* configure.in
* unix/CONFIG
* tdom.m4: New default build: --disable-tdomalloc.
* CHANGES: Updated.
* README
* README.AOL
* configure
* configure-tcl8.0.5
* configure.in
* tests/loadtdom.tcl
* mac/Prefix/tDOMPrefix.h
* mac/Prefix/tDOMPrefix_OSX.h
* win/makefile.vc
* win/makefile805.vc:
* win/pkgIndex.tcl: Bumped version to 0.8.3.
--- Release 0.8.2, 14. Aug. 2007 ---
2007-08-13 Rolf Ade <rolf@pointsman.de>
* win/pkgIndex.tcl: Bumped version to 0.8.2
2007-08-12 Rolf Ade <rolf@pointsman.de>
* generic/tcldom.c: Corrected a typo in the doc cmd usage
message. Updated the asXML related parts of the doc and node
cmd usage msg. Corrected a typo in the error msg in case of
wrong # of args to asXML.
* generic/tdomStubLib.c: Ensure that the new code build also
with tcl8.0.x (although that old versions doesn't have
extension stubs tables.)
* extensions/tnc/configure
* extensions/tnc/configure.in
* extensions/tnc/tnc.c: Tweaks to build tnc with
win/msys/mingw.
* tdom.m4: Removed irritating breaks in TDOM_PATH_CONFIG.
* unix/tclAppInit.c: Editorial fix.
* generic/tdomStubLib.c: Rewritten from the scratch.
2007-08-11 Rolf Ade <rolf@pointsman.de>
* generic/domxslt.c: Code cosmetic.
* generic/tcldom.c: Updated error msg in case of wrong # of
args to the asXML method to the new added option
-escapeAllQuot.
* generic/tdom.h
* generic/tclexpat.h: Fixed build problem with the build
environment win/msys/mingw.
* generic/aolstub.cpp: Fixed editorial mistake in comment.
* unix/tclAppInit.c: Rewritten from the scratch. New feature:
tcldomsh will read ~/.tcldomshrc at start up.
2007-08-07 Rolf Ade <rolf@pointsman.de>
* generic/dom.h: Another change needed, to complete the new
type of domDoc->documentNumber.
2007-08-07 Rolf Ade <rolf@pointsman.de>
* generic/dom.c: Type gymnastic for 64 bit systems.
* generic/dom.c
* generic/dom.h
* generic/tcldom.c: Changed domDoc->documentNumber,
domUniqueNodeNr and domUniqueDocNr to unsigned long, to
prevent hard to debug / reproduce problems on 64 bit
systems.
* win/makefile.vc: Don't use precompiled headers.
* extensions/tnc/makefile.vc: Brought in sync with tdom core.
* generic/tclexpat.c: Compiler pacifying.
* generic/tdomDecls.h: Fixed a wrong function signature.
* generic/tdomStubLib.c: Made the compiler happy.
* generic/dom.c: Corrected an error msg.
* generic/tclexpat.c: Still problems on 64bit w/
-externalentitycommand. This health the biggest pain.
2007-08-05 Rolf Ade <rolf@pointsman.de>
* win/makefile.vc
* win/makefile805.vc: Bumped version to 0.8.2. Missed that in
0.8.2rc1
* README
* README.AOL
* configure
* configure-tcl8.0.5
* configure.in
* tests/loadtdom.tcl
* mac/Prefix/tDOMPrefix.h
* mac/Prefix/tDOMPrefix_OSX.h: Bumped version to 0.8.2.
* generic/domhtml.c
* generic/domxpath.c
* generic/domxslt.c
* generic/tcldom.c
* generic/xmlsimple.c: Casted arg of ctype.h is*
macros/function calles to unsigned char to reduce compiler
warning noise.
* generic/tcldom.c:
* tests/domDoc.test: In case of asXML with indentation: indent
XML comments as well.
* doc/domNode.*
* doc/domDoc.*: Added documentation to the new variable
references feature of the selectNodes method, for the
deleteXPathCache method and the -escapeAllQuot option of the
asXML method.
* generic/tcldom.c: Fixed a mem leak introduced by
deleteXPathCache. Added option -escapeAllQuot to the asXML
method.
* generic/tcldom.c
* tests/domDoc.test: Added method deleteXPathCache: basic
control over the xpath expression cache.
* generic/tcldom.c
* generic/domxpath.c
* generic/domxpath.h
* generic/domxslt.c
* tests/xpath.test: Variable references (at the places allowed
by the XPath syntax) will now be resoved as Tcl variables,
relative to the scope of the expression. Ignoring the XPath
syntax rules at this point, any valid Tcl variable name will
work.
2007-08-03 Rolf Ade <rolf@pointsman.de>
* generic/tcldom.c: Added doc method renameNode, without XML
namespace awareness. There will be a final (XML namespace
aware) method implementation after 0.8.2, therefore, this
will slip in as hidden or 'unsupported' and at least
undocumented method.
2007-07-31 Rolf Ade <rolf@pointsman.de>
* generic/domxpath.c
* tests/xpath.test: Bug fix: floats in xpath expressions
starting with . could have an additional (erroneous) dot in
it without detection.
* expat/*
* extensions/tnc/tnc.c
* generic/dom.c
* generic/domxslt.c
* generic/tcldom.c
* generic/tclexpat.c
* generic/tdom.decls
* generic/tdom.h
* generic/tdomDecls.h: Update to expat 2.0.1; minor build
cosmetic.
2007-07-27 Rolf Ade <rolf@pointsman.de>
* tclconfig/tcl.m4
* tclconfig/README.txt
* configure.in
* configure
* extensions/tnc/configure.in
* extensions/tnc/configure: Updated to TEA 3.6. Rebuild configure.
2007-07-25 Rolf Ade <rolf@pointsman.de>
* generic/dom.c: Fix for the -externalentitycommand problems
on (some) 64-bit plattforms.
* tests/xpath.test: Added a few tests related to white-space
in XPath expressions.
2007-07-23 Rolf Ade <rolf@pointsman.de>
* generic/domhtml.c
* tests/htmlreader.test: Fix for problem reported by
http://tech.groups.yahoo.com/group/tdom/message/1666
2007-04-18 Rolf Ade <rolf@pointsman.de>
* doc/domDoc.*: Emendation.
2007-03-03 Rolf Ade <rolf@pointsman.de>
* Makefile.in: Fixed (at least for most of the cases) bug in
test target, in case the user builds in a dir elsewhere.
2007-02-04 Rolf Ade <rolf@pointsman.de>
* tdom.m4
* configure
* extensions/tnc/configure
* README
* unix/CONFIG: Modified the tdom.m4 configure macros to use
the current documentation style of TEA in case of configure
--help. Fixed a bug in the TDOM_ENABLE_DTD. Re-generated
configure and tnc configure. Added some explanations about
the tDOM specific configure options to unix/CONFIG and a
pointer to that information to README.
* extensions/tnc/tnc.c: Minor editorial changes.
* extensions/tnc/test.tcl: Fixed the loading of the tDOM
scripted library in case of run with tcldomsh.
* generic/domxslt.c: Fixed bug in xsl:fallback handling.
2007-02-02 Rolf Ade <rolf@pointsman.de>
* tdom.m4
* configure: Corrected spelling error in tdom.m4, re-generated
configure. Thanks to Larry Virden for reporting.
2007-01-16 Rolf Ade <rolf@pointsman.de>
* extensions/tnc/configure.in: The build tool combination
TEA/cygwin/VC++ needs a crude hack.
2007-01-10 Rolf Ade <rolf@pointsman.de>
* Makefile.in: More corrections: Did not install the tDOM
stubs library. Minor other corrections related to
distclean. Again thanks to Andreas Kupries.
* extensions/tnc/Makefile.in: Don't call target install-doc
while installing - the tnc doc is in the top level doc dir.
* extensions/tnc/pkgIndex.tcl.in: Fixed the name of the shared
lib. Now uses @PKG_LIB_FILE@ for the dll name.
2007-01-09 Rolf Ade <rolf@pointsman.de>
* Makefile.in: Did not install tdomConfig.sh anymore,
which causes trouble building tDOM extensions (including
tnc). Thanks to Andreas Kupries for reporting the problem
with analysis.
2007-01-05 Rolf Ade <rolf@pointsman.de>
* generic/domxpath.c: In XPath expressions: Whitespace between
the abbreviated attribute axis specifier @ and the attribute
name is allowed.
2006-11-22 Rolf Ade <rolf@pointsman.de>
* generic/domhtml.c: Normalize case of attribute also (not
only elements). Accept space on both sides of the = of
attribute values.
2006-11-08 Rolf Ade <rolf@pointsman.de>
* generic/domxpath.c
* tests/xpath.test: Fixed seg fault in XPath expr parser for a
certain kind of erroneous XPath expressions.
2006-08-26 Rolf Ade <rolf@pointsman.de>
* CHANGES
* configure.in
* Makefile.in
* configure
* tclconfig/README.txt
* tclconfig/tcl.m4
* extensions/tnc/configure.in
* extensions/tnc/configure
* extensions/tnc/Makefile.in: Updated the TEA build system to
3.5.
2006-05-24 Rolf Ade <rolf@pointsman.de>
* generic/dom.c
* tests/dom.test: Fix of the isQName method: Strings with valid
prefix and non-NCNameStart char as first char after the ':'
wasn't detected as invalid QName.
2006-01-08 Rolf Ade <rolf@pointsman.de>
* generic/domxslt.c
* tests/xslt.test: Fixed a rounding bug of format-number()
(http://groups.yahoo.com/group/tdom/message/1217).
2006-01-06 Rolf Ade <rolf@pointsman.de>
* doc/domDoc.*: Fixed markup errors.
2005-12-10 Rolf Ade <rolf@pointsman.de>
* generic/dom.c
* generic/dom.h
* generic/domxslt.c
* tests/xslt.test: Fixed bug in namespace handling in
xsl:copy-of.
2005-12-03 Rolf Ade <rolf@pointsman.de>
* generic/dom.c
* tests/domNode.test: Fix of the cloneNode method: if the node
to clone (or, in case of -deep, a node within the subtree to
clone) had a namespace declaration attribute then the result
was wrong.
* tests/domDoc.test: Added a test for the special handling of
the content of script/style tags in case of asHTML.
2005-10-19 Rolf Ade <rolf@pointsman.de>
* generic/domxpath.c
* generic/domxpath.h
* tests/xpath.test: Fixed string-length() and substring() to
work on chars, as they should, not on bytes.
2005-09-27 Rolf Ade <rolf@pointsman.de>
* tests/htmlreader.test: Added a test case, reported by
Richard Suchenwirth, which crashes 0.8.0, but raises error
with current cvs head, without any mem problems.
2005-09-24 Rolf Ade <rolf@pointsman.de>
* generic/domxslt.c: Doh! The code detected ill grouping-size
values and set errMsg accordingly, but didn't propagate the
error. Fixed. Do memory cleanup after detecting wrong
xsl:number level attribute value. Fixed memory leak in case
of incorrect xslt attributes of included or imported
xsl:stylesheet elements. Fixed memory leak in case of
syntactically wrong xsl:key use attribute XPath
expression. Fixed memory leak in case of toplevel
parameter or variables which are syntactically incorrect,
because they have both a select attribute and content.
2005-09-19 Rolf Ade <rolf@pointsman.de>
* generic/domxpath.c: Improved detection/reporting of XPath
syntax errors. Fixed two memory leaks in the XPath parser in
case of some kind of erroneous XPath expressions.
2005-09-17 Rolf Ade <rolf@pointsman.de>
* generic/domxpath.c: id() on an empty node set should return
an empty string, according to the rec, not raise an error,
as it did up to now. Fixed a memory leak in concat() in the
case of xpath expressions as arguments, which raise
error. Normally, XPath expressions doens't raise error at
all; that's how XPath is designed. That is unfortunately not
completely true with current tDOM, because tDOM doesn't do
an as rigoros as possible argument check at XPath expression
parsing time (that will change) and because of user defined
XPath extension functions.
2005-09-16 Rolf Ade <rolf@pointsman.de>
* generic/domxslt.c: Fixed memory fault in case of external
documents resolved based on the base URI of a node of the
source element.
2005-09-13 Rolf Ade <rolf@pointsman.de>
* generic/domxpath.c: Bug fix: The namespace axis will be
empty unless the context node is an element.
* aclocal.m4
* configure
* tdom.m4
* tdomConfig.sh.in
* extensions/tnc/configure
* extensions/tnc/configure.in: Improvement of the build
system. Now works also with the tool combination
cygwin/TEA/VC++. Thanks to Andreas Kupries for his patch.
2005-08-26 Rolf Ade <rolf@pointsman.de>
* generic/tdominit.c: Removed tests about mt-ness of
tclsh/tdom, due to popular demand. Mt compiled tDOM now will
load into non-mt tclsh, as will a non-mt compiled tDOM into
a mt tclsh.
NOTES:
Using a non-mt tDOM within only one thread of a mt
tclsh should work just fine. But never ever use a non-mt
tDOM in several threads of a mt tclsh. That may crash
randomly. Use, how surprising, an mt-enabled tDOM for
that. This will work fine.
Using a mt aware tDOM within a non-tm tclsh is little bit
slower and memory demanding. It will also have a few
methods, that are superfluous within the non-tm tcl
context. It should always work, but for best results use a
non-mt tDOM with non-mt tclsh.
2005-08-20 Rolf Ade <rolf@pointsman.de>
* generic/dom.c
* generic/dom.h: Added function domPreviousSibling().
* generic/domxslt.c: Bug fix: Use domPreviousSibling() in
xsltNumber() to prevent erroneous results, if attribute
nodes are involved in the numbering.
2005-06-10 Rolf Ade <rolf@pointsman.de>
* generic/dom.c
* generic/dom.h
* generic/domhtml.c
* generic/tcldom.c
* generic/xmlsimple.c: Internal dispersion: Cleaned up
rootNode/toplevel nodes connection, added new function
domSetDocumentElement.
* tcldom.c: Closed memory leak in case of not well-formed
input to the simple or html parser.
* generic/domlock.h: Removed unused variable.
* tests/dom.test: Added test, to document handling of white
space outside the document element even in case of
-keepEmpties (it's markup white space and will be removed).
* tests/domDoc.test
* tests/htmlreader.test
* tests/xmlsimple.test: Added a few tests.
2005-05-13 Rolf Ade <rolf@pointsman.de>
* tests/htmlreader.test
* generic/domhtml.c: Fixed seg fault in case of some garbage
input.
2005-05-12 Rolf Ade <rolf@pointsman.de>
* tests/domNode.test
* generic/tcldom.c: Fix: domNode nodeValue $newValue didn't
check the newValue for being valid pcdata.
2005-05-02 Rolf Ade <rolf@pointsman.de>
* tests/parser.test
* generic/tclexpat.c: Bug fix: expat parser method
parsechannel didn't (depending on the encoding of the
channel) report parsing errors.
2005-04-11 Rolf Ade <rolf@pointsman.de>
* tclconfig/ChangeLog
* tclconfig/ac_c_bigendian_cross.m4: Deleted.
* tclconfig/README.txt: Updated.
* apps/xslt.tcl: Updated to request tdom 0.8.1.
* Makefile.in
* configure
* configure.in
* tdom.m4
* tdomConfig.sh.in
* tclconfig/tcl.m4
* extensions/tnc/Makefile.in
* extensions/tnc/configure
* extensions/tnc/configure.in
* extensions/tnc/tnc.c: Updated to use TEA 3.2. Thanks to
Daniel A. Steffen and Andreas Kupries for input.
2005-04-04 Rolf Ade <rolf@pointsman.de>
* expat/expat.h: Removed last comma in enum XML_Status
declaration, to prevent compiler errors (xlc on AIX
64). (Current expat CVS head has the same fix.)
2005-03-26 Rolf Ade <rolf@pointsman.de>
* tests/xslt.test
* generic/dom.c: Fix in domAppendNewElementNode(),
domAppendLiteralNode() and domAppendNewTextNode(): if the
created node is a child of doc->root, set the parentNode
according.
* generic/domxslt.c: Removed (anyway not correctly working)
work-around to set parent of the childs of doc->root
(problem now correctly fixed by changes in dom.c).
* tests/domNode.test
* generic/nodecmd.c: Changes, to prepare adding of node
creating cmds, which creates namespace aware nodes.
2005-03-21 Rolf Ade <rolf@pointsman.de>
* tests/domDoc.test: Fixed flawed test, which slipped through,
somehow.
2005-03-18 Rolf Ade <rolf@pointsman.de>
* doc/domDoc.*
* doc/domNode.*
* CHANGES
* tests/domDoc.test
* generic/tcldom.c
* generic/dom.h
* generic/dom.c: Added document method selectNodesNamespaces,
to provide a document global XPath prefix/namespace mapping.
2005-03-12 Rolf Ade <rolf@pointsman.de>
* tests/xslt.test: Added two tests about two subtleties of
the XPath syntax: white space between the $ and a varname
are not allowed, while white space between the braces of
node() is allowed.
2005-03-11 Rolf Ade <rolf@pointsman.de>
* generic/nodecmd.c
* tests/dom.test: Using of a node creating command outside of
node context after that node creating command was already
used in node context didn't raised error (as it should) but
could have all kinds of effects (including seg fault).
2005-02-26 Rolf Ade <rolf@pointsman.de>
* generic/tcldom.c: Fix for MT-enabled tDOM: If a doc was
attached to more than one thread, nodeCmd creation was
borken (only one thread got a nodeCmd for a given node).
2005-02-03 Rolf Ade <rolf@pointsman.de>
* generic/domxslt.c: Bug fix: current() did not work in
xsl:key use expressions. Moved setting of xs->current from
all about the place into evalXPath. A bit code massage, to
avoid bogus compiler warning.
* doc/domDoc.*
* tests/domDoc.test
* generic/dom.c
* generic/domxslt.c
* generic/tcldom.c: Added support for xsl:output
cdata-section-elements attribute. Added method
cdataSectionElements to domDocs, as tcl interface to
cdata-section-elements.
* doc/domDoc.*: Added documentation for the domDoc method
internalSubset.
* generic/domxpath.c: Editorial changes.
2005-02-02 Rolf Ade <rolf@pointsman.de>
* win/makefile.vc: Updated to provide the new defines
PACKAGE_NAME and PACKAGE_VERSION introduced by the update to
TEA-3 support.
2005-01-19 Rolf Ade <rolf@pointsman.de>
* generic/dom.c
* generic/dom.h
* generic/domhtml.c
* generic/xmlsimple.c: Renamed exported symbols attrNames and
tagNames to tdom_attrNames and tdom_tagNames, to avoid name
clash. startDoctypeDeclHandler() and
endDoctypeDeclHandler(): added missing static.
2005-01-16 Zoran Vasiljevic <zv@archiware.com>
* Makefile.in: Bumped version to 0.8.1.
* configure: Added TEA-3 support.
* configure.in: Made AOLserver 4.x virtual-server aware
* tdom.m4: and added examples how to build the
* generic/aolstub.cpp: lib as AOLserver module for 4.x series.
* generic/tdominit.c:
* README:
* README.AOL:
* mac/Prefix/tDOMPrefix.h:
* mac/Prefix/tDOMPrefix_OSX.h:
* win/makefile.vc:
* win/makefile805.vc:
* win/pkgIndex.tcl:
* tclconfig/ChangeLog:
* tclconfig/tcl.m4:
* tests/loadtdom.tcl:
* unix/CONFIG:
2005-01-11 Rolf Ade <rolf@pointsman.de>
* doc/domDoc.*
* doc/domNode.*: Added documentation for the -cache option of
the selectNodes method.
* lib/tdom.tcl: Scripted xpath function element-available:
moved xsl:output to the avaliable elements, since it's in
fact avaliable in the meantime (with exception of the
'version' and 'cdata-section-elements' attributes) - the
output options can be queried from the result doc, but it's
the responsibility of the application, to serialize the tree
according to that settings.
2005-01-10 Rolf Ade <rolf@pointsman.de>
* doc/dom.*: Corrected typo.
* generic/dom.c: Fixed a leftover reference to embedded hash
table in domDocument struct.
2005-01-10 Rolf Ade <rolf@pointsman.de>
* generic/dom.c
* generic/dom.h
* generic/domxpath.c
* generic/domxpath.h
* generic/tcldom.c
* tests/domNode.test: Don't embed Tcl_HashTables into dom Docs,
use pointers to the hash table. Added -cache option to the
selectNodes method.
2005-01-07 Rolf Ade <rolf@pointsman.de>
* generic/dom.c
* generic/domalloc.c
* generic/domxslt.c
* generic/domxpath.c
* generic/tclexpat.c
* generic/nodecmd.c
* generic/nodecmd.h
* generic/tcldom.c
* tests/domDoc.test
* generic/tcldom.h: Clean up, to decrease (innocuous) compiler
warnings (thanks to Pat Thoyts for triggering input and
patch).
* win/makefile.vc: Improved VC++ compiler makefile. Thanks to
Pat Thoyts for contribution.
* win/nmakehlp.c
* win/rules.vc
* win/tdom.rc: Added this files. Thanks to Pat Thoyts for
contribution.
2005-01-06 Rolf Ade <rolf@pointsman.de>
* generic/tcldom.c
* tests/domDoc.test
* tests/domNode.test
* doc/domDoc.*
* doc/domNode:*: Handle multiple -namespaces options to
selectNodes method. Added methods transform and delete to
xsltCmds. Ensure, that documents created with the [dom
createDocument* methods] are created as docCmds in case of
'auto' creation mode.
* tests/dom.test Added a few tests: related to createNodeCmd
* tests/element.test (dom), node text method (domNode), chancing
* tests/parser.test callback from within a callback (element,
* tests/xslt.test parser) and catching of recursive xsl
include/import (xslt).
2004-12-21 Rolf Ade <rolf@pointsman.de>
* generic/domxslt.c: xsl:key with match expressions, which
matches attributes, did not work. Prevent, that a stylesheet
import/include itself. Editorial changes.
* generic/dom.c: domAppendNewElementNode(): Set the namespace
of a per xslt transformation generated node wrong under
certain circumstances. This fixes
http://groups.yahoo.com/group/tdom/message/1008. Removed
leftover (former local used) define TNODE.
2004-12-12 Rolf Ade <rolf@pointsman.de>
* generic/domxpath.c
* tests/xpath.test: xpath expressions ancestor-or-self::node()
and parent::node() returned wrong result if the context node
is /.
2004-12-10 Rolf Ade <rolf@pointsman.de>
* doc/expat.*
* generic/tclexpat.c
* generic/tclexpat.h
* tests/parser.test: Don't allow the methods parse,
parsechannel, parsefile, free and reset from within a
callback of the parser be used but raise a tcl error.
2004-10-25 Rolf Ade <rolf@pointsman.de>
* doc/domNode.*: Added documentation for the '-namespaces'
option of the selectNodes method.
* doc/dom.*: Added a note to the -externalentitycommand option
of the parse method, that the programmer is responsible for
closing the channel, if the resolver script returns a
channel.
2004-09-29 Rolf Ade <rolf@pointsman.de>
* win/pkgIndex.tcl: First [load] the lib, which has
[package provide tdom], so that a [package require tdom]
within the script lib doesn't loop.
* generic/tcldom.c: Added the with 0.8 added doc methods to
the doc_usage.
2004-09-21 Rolf Ade <rolf@pointsman.de>
* doc/domDoc.*: Add documentation for 'selectNodes' method.
* generic/dom.c
* generic/dom.h
* generic/domxpath.c
* generic/domxpath.h
* generic/domxslt.c
* generic/tcldom.c: Added the '-namespaces' option to the
selectNodes method. Not resolved namespace prefixes within
the xpath expression now raises an error.
*** POTENTIAL INCOMPATIBILITY ***
2004-09-13 Rolf Ade <rolf@pointsman.de>
* generic/domxslt.c: Corrected a typo in an error msg.
2004-09-08 Rolf Ade <rolf@pointsman.de>
* generic/domxslt.c: Editorial changes.
2004-09-02 Rolf Ade <rolf@pointsman.de>
* generic/domxpath.c
* generic/tcldom.c
* tests/domNode.test: toXPath method: fixed bug with
non-element top level nodes, closed mem leak.
2004-08-23 Rolf Ade <rolf@pointsman.de>
* README
* README.AOL: Corrected typos (thanks to G. Neumann)
2004-08-20 Rolf Ade <rolf@pointsman.de>
* expat/*: Update to expat 1.95.8.
2004-08-19 Rolf Ade <rolf@pointsman.de>
* unix/CONFIG
* generic/dom.h
* generic/tcldom.c: Made tDOM work out of the box on 64-bit
systems like Itanium 2 (though --disable-tdomalloc configure
option at build time is still needed).
2004-08-17 Rolf Ade <rolf@pointsman.de>
* generic/dom.h: Added fluff, to fix build problemx on AIX w/
xlc compiler.
* generic/domxpath.c
* generic/tcldom.c: Removed unused variables.
2004-08-15 Rolf Ade <rolf@pointsman.de>
* generic/dom.h
* generic/dom.c
* generic/domxslt.c
* generic/tcldom.c
* generic/xmlsimple.h
* generic/xmlsimple.c
* tests/dom.test: Pass external entity resolver script around
in string representation (insteand of Tcl_Obj), to avoid
problems with mt builds.
--- Release 0.8.0, 11. Aug. 2004 ---
2004-08-10 Rolf Ade <rolf@pointsman.de>
* extensions/tnc/makefile.vc: Link against tDOM 0.8.0.
* doc/dom.*: Corrected a spelling mistake.
2004-07-28 Rolf Ade <rolf@pointsman.de>
* lib/tdom.tcl: [namespace export] the public procs in
::tDOM. Added a few more encodings to IANAEncoding2TclEncoding.
2004-07-27 Rolf Ade <rolf@pointsman.de>
* test/dom.test
* doc/dom.*
* generic/dom.h
* generic/tcldom.c: New (experimental) method setObjectCommands.
* test/domNode.test
* generic/dom.c
* generic/tclexpat.c
* generic/tcldom.c: Reworked internal base URI handling, to fix
a bug of the old approach and to be closer to (though not
fully support) what DOM 3 say about base URI handling.
* tests/dom.test
* doc/dom.*
* generic/tcldom.c: New method createDocumentNode.
* tests/domDoc.test
* doc/domDoc.*
* generic/dom.c
* generic/tcldom.c: Added methods nodeType, getElementById,
firstChild, lastChild, appendChild, removeChild,
hasChildNodes, childNodes, ownerDocument, insertBefore,
replaceChild, appendFromList, appendXML, selectNodes,
baseURI, appendFromScript and insertBeforeFromScript to dom
docs. Beside other things, this allows much easier handling
of top level nodes. The result tree may not be an XML
document, but a general parsed entity.
* tests/domNode.test
* doc/domNode.*
* generic/tcldom.c: Improved speed of the getAttribute
shortcut '@attname' (and, not so notable, of tcl coded
methods of the dom, domDoc and domNode cmds). Corrected typo
in domNode usage msg for getElementByID. Improved error msg
for getAttribute, if attribute is not found. Changed
behavior of getElementByID: if no element with the given id
is found, returns now the emtpy string, not a TCL_ERROR
(closer to DOM rec, getElementByID never raise an
exception). Bug fix: nodeName now returns the per DOM rec
correct values for comment and cdata section nodes (were as
yet reported as if they where text nodes).
* tests/entity.test
* generic/tclexpat.c: Better error msg in case of 'filename'
and not valid file name.
* tests/xpath.test: Documented behaviour in case of using
(senseless, wrong) 'xslt variable' in selectNode exprs.
* tests/xslt.test: More tests for script errors in external
entity handler or errors in the requested external
entities.
2004-07-19 Rolf Ade <rolf@pointsman.de>
* generic/domxslt.c: Better error msg in case of XML parsing
errors in external entities.
* generic/nodecmd.c: Bug fix: Check, if refnode given to
insertBeforeFromScript is valid.
2004-07-13 Rolf Ade <rolf@pointsman.de>
* generic/domxslt.c: Ensure, that the first element node of
the result tree is the documentElement of the generated
document.
* tests/xmlsimple.test
* generic/xmlsimple.c: Empty CDATA sections should not create
a node.
2004-07-08 Rolf Ade <rolf@pointsman.de>