forked from GNOME/libxslt
-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog
7683 lines (5337 loc) · 290 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
Fri Jul 24 10:16:24 CEST 2009 Daniel Veillard <[email protected]>
* libxslt/attributes.c: fix an IDness issue when building the tree
Tue May 12 09:03:46 CEST 2009 Daniel Veillard <[email protected]>
* configure.in: adapt the extra version detection code to git
* libxslt.doap: adding RDF dope file
Fri Jan 23 19:02:28 PST 2009 William Brack <[email protected]>
* libexslt/strings.c: Fixed indexing error reported by
Ron Burk on the mailing list.
Fri Nov 14 15:06:55 CET 2008 Daniel Veillard <[email protected]>
* python/Makefile.am libxslt/Makefile.am configure.in
libexslt/Makefile.am: applied patch from Roumen Petrov for
mingw cross compilation problems raised by Rich Jones
Tue Oct 28 11:55:27 CET 2008 Daniel Veillard <[email protected]>
* configure.in Makefile.am: patch from Richard Jones to build
shared libs with MinGW cross-compiler
Tue Oct 7 18:16:08 CEST 2008 Daniel Veillard <[email protected]>
* libxslt/pattern.c: prevent some unchecked pointer accesses, patch
by Jake Goulding
Wed Aug 6 20:10:08 HKT 2008 William Brack <[email protected]>
* Minor cleanup of "typo" and some compilation warnings:
tests/namespaces/tst7.xsl: fixed typo detected by new libxml2 code
libxslt/keys.c, libxslt/xsltlocale.c, libexslt/date.c: trivial
changes for gcc warnings.
Fri Aug 1 10:16:48 CEST 2008 Daniel Veillard <[email protected]>
* libxslt/xsltconfig.h.in libxslt/xslt.c libxslt/extensions.c
libxslt/xsltlocale.c libxslt/preproc.c libxslt/xsltutils.c
libxslt/xsltlocale.h libxslt/win32config.h configure.in
config.h.in win32/configure.js: big patch from Roumen Petrov
finishing xsl:sort lang support with many portability issues
fixed and feedback from Nick Wellnhofer and Rob Richards
Fri Aug 1 07:54:02 CEST 2008 Daniel Veillard <[email protected]>
* libexslt/crypto.c: fix for CVE-2008-2935 libexslt RC4
encryption/decryption functions
Mon Jul 28 14:46:27 CEST 2008 Daniel Veillard <[email protected]>
* configure.in: fix my static linking setup on x86_64
Sun Jul 27 13:52:10 CEST 2008 Daniel Veillard <[email protected]>
* libxslt/xslt.c: avoid a quadratic behaviour when hitting duplicates
exclude-result-prefixes declarations, should fix #544906
Sat Jul 26 12:43:18 PST 2008 William Brack <[email protected]>
*configure.in: fixed option --with-debugger with patch from
Arun Ragnavan #544829
Sat Jul 12 16:36:58 PST 2008 William Brack <[email protected]>
* libexslt/math.c: fixed incorrect argument popping in
exsltMathAtan2Function #541965
Thu Jul 10 10:04:28 PST 2008 William Brack <[email protected]>
* libxslt/functions.c: patch from Ron Burk to fix problem
with string check for element-available and
function-available #530891.
Tue Jun 24 23:55:48 PST 2008 William Brack <[email protected]>
* libxslt/attrvt.c: added code to handle literal within an
AVT #539741.
* tests/docs/Makefile.am tests/docs/bug-168.xsl
* tests/general/Makefile.am tests/general/bug-168.* add a
test for this bug to the regression suite.
Fri Jun 13 10:58:52 CEST 2008 Daniel Veillard <[email protected]>
* libxslt/libxslt.h libexslt/libexslt.h libexslt/exslt.h: patch
from Roumen Petrov fixing include path when compiling outside
source tree
Thu Jun 12 11:23:23 CEST 2008 Daniel Veillard <[email protected]>
* libxslt/xsltconfig.h.in libxslt/xsltlocale.h configure.in
config.h.in win32/configure.js: patch from Nick Wellnhofer and
Roumen Petrov to fix some portability problems on the previous
xsl:sort locale patch
Tue Jun 3 18:26:26 CEST 2008 Daniel Veillard <[email protected]>
* configure.in libxslt/extra.c libxslt/Makefile.am libxslt/preproc.c
libxslt/xsltInternals.h libxslt/xsltlocale.c libxslt/xsltlocale.h
libxslt/xsltutils.c win32/Makefile.mingw win32/Makefile.msvc: patch
from Nick Wellnhofer adding xsl:sort lang support using the locale
support from the C library.
Tue Jun 3 18:14:55 CEST 2008 Daniel Veillard <[email protected]>
* libxslt/extensions.h: as Ralf Junker pointed out
xsltExtFunctionLookup was defined but never implemented, removing it
Tue May 13 17:51:05 CEST 2008 Daniel Veillard <[email protected]>
* configure.in doc/*: release of 1.1.24
* python/generator.py: syntactic cleanup (Martin)
Tue May 13 16:32:22 CEST 2008 Daniel Veillard <[email protected]>
* libxslt/xslt.c libxslt/extensions.c libxslt/extensions.h:
fix the processing of top level elements of stylesheets which
are not in the XSLT namespace and are not an extension either
should fix #529223
* tests/docs/Makefile.am tests/docs/bug-167.xml
tests/general/Makefile.am tests/general/bug-167.*: add the
test to the regression suite
Fri May 9 14:30:35 CEST 2008 Daniel Veillard <[email protected]>
* libxslt/documents.c libxslt/keys.c libxslt/xsltInternals.h
libxslt/transform.c libxslt/pattern.c: fix the key initialization
problem introduced when tracking Josef Urban problem from 22 Dec
2007, this should also handle the problem of recursive keys
definitions should fix #531873.
* tests/docs/bug-166.xml tests/docs/Makefile.am
tests/general/Makefile.am tests/general/bug-166.xsl
tests/general/bug-166.out: add the regression tests when a key
computation depends on another one.
Mon Apr 21 16:16:29 CEST 2008 Daniel Veillard <[email protected]>
* doc/xsltproc.1 doc/xsltproc.xml: update the man page based on
Vincent Lefevre suggestion.
Mon Apr 14 11:19:14 CEST 2008 Daniel Veillard <[email protected]>
* libxslt/pattern.c: fixes #527297 general patter comps fix and cleanup
* libxslt/xsltInternals.h libxslt/pattern.h: other cleanups
Tue Apr 8 19:15:19 CEST 2008 Daniel Veillard <[email protected]>
* configure.in doc/*: release of 1.1.23
Tue Apr 8 18:52:36 CEST 2008 Daniel Veillard <[email protected]>
* libexslt/date.c: new version of patch from Peter Pawlowski
Tue Apr 8 10:19:01 CEST 2008 Daniel Veillard <[email protected]>
* python/generator.py: fix an infinite loop bug
Thu Apr 3 09:32:49 CEST 2008 Daniel Veillard <[email protected]>
* libxslt/xsltutils.c: avoid a scary realloc() loop should fix #520383
Thu Apr 3 07:32:36 CEST 2008 Daniel Veillard <[email protected]>
* libexslt/date.c: applied patch from Peter Pawlowski fixing
a timezone offset problem, fixes #521680
* libxslt/namespaces.c: a bit of space/tabs cleanup
Thu Apr 3 06:25:02 CEST 2008 Daniel Veillard <[email protected]>
* doc/xsltproc.xml doc/xsltproc.1 doc/xsltproc.html: small fix to
man page synopsis, should fix #525822
Sat Mar 15 11:13:18 HKT 2008 William Brack <[email protected]>
* libexslt/functions.c: fixed minor error reported on the mailing
list by Mark Howe, which caused a segfault if func:result was
postitioned as top-level element.
Thu Mar 13 09:33:21 CET 2008 Daniel Veillard <[email protected]>
* libxslt/win32config.h: patch from Rob Richards for VS 2008
* python/types.c: fix a problem with namespace nodes coming from
XPath nodesets.
Mon Mar 3 09:39:31 CET 2008 Daniel Veillard <[email protected]>
* doc/xsltproc.xml doc/xsltproc.1: fix maxdepth default value
documentation fixes #519921.
Sat Feb 16 01:24:58 HKT 2008 William Brack <[email protected]>
*libxslt/extensions.c: fixed minor error bug #516483
*tests/exslt/common - deleted node-set.9 regression test,
because it relied upon an external web import.
Tue Feb 5 08:53:30 CET 2008 Daniel Veillard <[email protected]>
* libxslt/xslt.c: applied documentation patch from Jason Viers
for xsltParseStylesheetDoc
Tue Feb 5 08:36:53 CET 2008 Daniel Veillard <[email protected]>
* python/tests/pyxsltproc.py: applied a portability patch from
Stephane Bidoul
Thu Jan 24 16:24:05 CET 2008 Daniel Veillard <[email protected]>
* doc/xslt.html doc/docbook.html: fix links for Cygwin DocBook
setup as suggested by Philippe Bourcier
Sun Dec 23 16:40:38 PST 2007 William Brack <[email protected]>
* libxslt/keys.c, libxslt/pattern.c, libxslt/xsltInternals.h:
fixed a problem on superfluous re-generation of keys reported
on the mailing list by Josef Urban.
Thu Nov 29 11:43:14 CET 2007 Daniel Veillard <[email protected]>
* configure.in: avoid a problem in configure if an old gcrypt
version is installed, patch from Brent Cowgill, fixes #500390
Tue Nov 13 13:08:08 PDT 2007 William Brack <[email protected]>
* libexslt/common.c, libexslt/dynamic.c: After discussion on
Bugzilla with Peter Pawlowski, added same code for preventing
deletion of function result during garbage collection (see
bug #495995).
Mon Nov 12 13:53:58 PDT 2007 William Brack <[email protected]>
* libexslt/strings.c: Added code to mark the results of
str:tokenize and str:split as "function result" to avoid
garbage-collecting them during global variable initialisation.
Should fix bug #495995.
Wed Oct 24 17:41:08 PDT 2007 William Brack <[email protected]>
* python/libxslt.c: changed iterator argument for Py_Dict_Next
from int to ssize_t (seems Python docs are incorrect) to fix
x86_64 bug #489854.
Wed Oct 10 16:33:09 CEST 2007 Daniel Veillard <[email protected]>
* libexslt/date.c tests/exslt/date/datetime.1.out
tests/exslt/date/date.1.out tests/exslt/date/date.1.xml:
applied patch from Maurice van der Pot to fix EXSLT
week-in-year extenson which was not conforming to the definition.
This also changes the output of the tests a bit. Should fix #452876
Thu Aug 30 08:18:08 HKT 2007 William Brack <[email protected]>
* python/libxslt.c: applied patch from Daniel Gryniewicz to
fix a segfault caused by a parameter array not being preset
to zero.
Thu Aug 23 17:18:03 CEST 2007 Daniel Veillard <[email protected]>
* configure.in doc/*: preparing release of 1.1.22
Thu Aug 23 15:39:18 CEST 2007 Daniel Veillard <[email protected]>
* libxslt/xslt.c: applied patch from Rob Richards to fix a
stylesheet compilation error handling problem #382570
Thu Aug 23 15:22:55 CEST 2007 Daniel Veillard <[email protected]>
* libxslt/security.c: applied patch from Roland Schwarz and Rob
Richards to fix the security file checks on Windows, should
close #464432
Thu Aug 23 21:15:28 HKT 2007 William Brack <[email protected]>
* tests/general/bug-165.[xsl,out,err], tests/docs/bug-165.xml,
tests/general/Makefile.am, tests/docs/Makefile.am:
added regression test for bug #469410
Thu Aug 23 14:13:02 CEST 2007 Daniel Veillard <[email protected]>
* xsltproc/xsltproc.c: patch from Drazen Kacar to add a --encoding
option fixes #443868
* doc/xsltproc.xml doc/xsltproc.1: augment and regenerate man page.
Thu Aug 23 11:47:20 CEST 2007 Daniel Veillard <[email protected]>
* libexslt/date.c: apply patch from Björn Wiberg fixing build on AIX
and closing bug #332173
Fri Aug 3 15:49:26 CEST 2007 Daniel Veillard <[email protected]>
* win32/Makefile.msvc win32/configure.js: apply patch from
Rob Richards to improve build with VS2005
Thu Jul 26 12:43:38 PDT 2007 William Brack <[email protected]>
* libxslt/xslt.c: Removed the exclude-result-prefix change of
31 May 2007. Fixes bug #459713.
Sat Jun 16 07:42:18 PDT 2007 William Brack <[email protected]>
* libxslt/transform.c: Fixed problem with RVT cleanup related
to some exslt functions (reported on the list by Marc Adkins).
Wed Jun 13 13:27:48 PDT 2007 William Brack <[email protected]>
* tests/exslt/common/node-set.9.[xml,xsl,out],
tests/exslt/common/Makefile.am: added test case for bug #413451
Tue Jun 12 18:43:05 CEST 2007 Daniel Veillard <[email protected]>
* NEWS configure.in doc/*: preparing release of 1.1.21
Thu May 31 12:38:08 PDT 2007 William Brack <[email protected]>
* libxslt/xslt.c: fixed obscure namespace problem related to
exclude-result-prefix
Mon May 7 00:14:28 HKT 2007 William Brack <[email protected]>
* libxslt/transform.c: fixed minor compilation warning; no change
to logic.
Sun May 6 23:42:38 HKT 2007 William Brack <[email protected]>
* libexslt/math.c: fixed two memory leaks, one in exsltMathConstant
and one in exsltMathConstantFunction (bug #436324)
Fri May 4 15:51:58 HKT 2007 William Brack <[email protected]>
* libxslt/transform.c: fixed xpath context housekeeping problem
on processing "choose" (bug 435479).
Thu Apr 26 11:10:18 HKT 2007 William Brack <[email protected]>
* libxslt/transform.c: fixed (another) problem with cached
RVT's (from re-opened #378766).
Tue Mar 27 16:50:52 CEST 2007 Daniel Veillard <[email protected]>
* libxslt/xsltutils.c: apply patch fron Shaun McCance to hook
xsl:message construct to the new per-xsltTransformCtxt error
callback if set up.
* Makefile.am: do not package svn files in releases
Fri Mar 2 18:45:48 HKT 2007 William Brack <[email protected]>
* libxslt/xsltconfig.h.in: added setting of TRIO_REPLACE_STDIO
when TRIO routines are required.
* libxslt/namespaces.c, libxslt/xsltutils.c: enhanced handling
of stdio.h vs. trio.h when trio routines are required (now
use XSLT_NEED_TRIO) (bug #412787)
Sun Feb 18 09:00:08 PST 2007 William Brack <[email protected]>
* python/libxsl.py: fixed tab/space inconsistency with patch
provided by Andreas Hanke (bug #409193)
Thu Feb 15 14:03:18 PST 2007 William Brack <[email protected]>
* doc/xslt.html: Changed all
references to CVS to be SVN; changed corresponding links.
* doc/*html: regenerated the documentation for above
Wed Feb 14 01:21:38 PST 2007 William Brack <[email protected]>
* libxslt/pattern.c: Fixed problem with namespace on compound
predicate (bug #407731)
Wed Jan 24 11:05:28 PST 2007 William Brack <[email protected]>
* libxslt/pattern.c: added check for memory allocation error
(bug #400242); fixed "type-punned pointer" warnings.
* libxslt/xsltutils.c: added checks for memory allocation error
(bug #400242)
* restored NEWS, doc/EXSLT/downloads.html which mysteriously
disappeared from svn
Wed Jan 17 14:20:18 CET 2007 Daniel Veillard <[email protected]>
* configure.in doc/*: preparing release of 1.1.20
* libexslt/crypto.c: small patch for missing includes on some BSD,
fixes #397373
* configure.in: replace == by = in test, raised by Roland Illig,
should fix #397371
Sun Jan 14 18:45:08 PST 2007 William Brack <[email protected]>
* libxslt/functions.c: fixed two problems related to checking
of fragments, related to python htmlCtxtReadFile problem
reported on mailing list by Nic Ferrier.
Fri Jan 12 23:24:08 PST 2007 William Brack <[email protected]>
* libxslt/extensions.c: reverted last change, fixed some
comments. Note that in it's current state the 'plugin'
implementation will fail if called from a program
compiled as static!
Fri Jan 12 15:40:08 PST 2007 William Brack <[email protected]>
* configure.in: fixed problem with DV/WMB testing env.
* regenerated docs; doc/APIchunk1[012].html added to SVN
* libxslt/extensions.c: fixed problem with plugin loading;
removed testplugin.c from SVN (current version kept as
tests/plugin/testplugin.c)
Thu Jan 11 11:08:18 PST 2007 William Brack <[email protected]>
* libxslt/transform.c: enhanced to ignore empty text node
in xsltDefaultProcessOneNode (avoid calling xsltCopyText)
(bug #354900)
* xsltproc/xsltproc.c: added check for output file problem,
yielding new error code 11 (Mike Hommey).
* doc/xsltproc.html, doc/xsltproc.xml: added documentation
for above, regenerated docs (doc/xsltproc.1)
Wed Jan 10 19:13:08 PST 2007 William Brack <[email protected]>
* libexslt/strings.c: added new function 'replace' from Joel
Reed.
* tests/exslt/Makefile.am, replace.1.xml, replace.1.xsl,
replace.1.out: added new test case for above.
* libxslt.spec.in: trivial change from 'Gnome' to 'GNOME'
* configure.in: trivial change for flags on my compilations
* libxslt/documents.c, libxslt/documents.h, libxslt/keys.c,
libxslt/keys.h, libxslt/variables.c, libxslt/templates.c,
libxslt/transform.c, libxslt/variables.c, libxslt/xslt.c,
libxslt/xsltutils.c: fixed some documentation/comments and
compilation warnings - no change to logic.
* re-generated the documentation.
Wed Jan 3 16:46:05 CET 2007 Daniel Veillard <[email protected]>
* configure.in: adapt the extra versioning code to SVN
Fri Dec 22 09:12:08 PST 2006 William Brack <[email protected]>
* python/libxslt.c: applied patch supplied by Kjartan Maraas
(bug #388567).
Mon Dec 11 14:38:22 PST 2006 William Brack <[email protected]>
* libexslt/functions.c: further enhancement to the original
fix for bug #381319 (which was not correct).
* tests/exslt/functions: minor enhancement to function.9.xsl;
function.10.[xsl,xml,out] added to regression tests to check
recursive calls.
Mon Dec 11 12:13:14 CET 2006 Daniel Veillard <[email protected]>
* configure python/generator.py python/libxsl.py
python/libxslt-python-api.xml python/libxslt.c
python/tests/2stage.py python/tests/loader.py: applied patch from
Nic James Ferrier to make stylesheets comparable and to add
transformContext handling
Sat Dec 9 15:22:34 PST 2006 William Brack <[email protected]>
* libexslt/functions.c: changed handling of function params
to fix bug #381319
* libxslt/transform.[ch]: exposed xsltLocalVariablePush and
xsltLocalVariablePop as global entries so that they could
be used from within libexslt/functions.c
* tests/exslt/functions/function.9.[xsl,xml,out] added to
regression tests
Tue Dec 5 10:45:04 CET 2006 Daniel Veillard <[email protected]>
* libxslt/extensions.c: applied patch from Marcus Meissner removing
a strict aliasing problem should fix #317921
Fri Dec 1 23:02:27 HKT 2006 William Brack <[email protected]>
* libxslt/transform.c: fixed problem with housekeeping of
localRVTBase, bug #378766
Wed Nov 29 16:06:43 CET 2006 Daniel Veillard <[email protected]>
* NEWS configure.in doc//*: preparing release of libxslt-1.1.19
Sat Nov 25 11:48:28 HKT 2006 William Brack <[email protected]>
* libxslt/variables.c: fixed problem with cached RVT's,
bug #378766
Thu Nov 23 17:49:31 CET 2006 Daniel Veillard <[email protected]>
* libxslt/transform.c: applied patch from Mike Hommey about saving
the current in-scope namespace list when calling a template, fixes
bug #377579
Thu Nov 23 15:36:28 CET 2006 Daniel Veillard <[email protected]>
* configure.in: fix a python detection problem pointed out by
Joseph Sacco, fixes bug #376391
Fri Nov 17 09:53:08 HKT 2006 William Brack <[email protected]>
* libxslt/transform.c: fixed problem with entity handling
within xsltCopyAttrListNoOverwrite (#352907)
* tests/general/bug-164.xsl, tests/general/bug-164.out,
tests/docs/bug-164.oxml: added a regression test for this
Thu Oct 26 15:31:01 CEST 2006 Daniel Veillard <[email protected]>
* NEWS configure.in doc//*: preparing release of libxslt-1.1.18,
this bumps libxml2 requirement to 1.6.27
* libexslt/date.c libxslt/namespaces.h libxslt/xslt.c
libxslt/xsltInternals.h: cosmetic cleanups to restore the
API extraction
Thu Oct 26 10:36:43 CEST 2006 Daniel Veillard <[email protected]>
* doc//*: removed all remaining references to the old Wiki
Thu Oct 12 23:12:24 HKT 2006 William Brack <[email protected]>
* libexslt/date.c: fixed end-of-month problem in exsltDateCurrent
(#359246)
Thu Oct 12 14:39:37 CEST 2006 Daniel Veillard <[email protected]>
* libxslt/preproc.c: applied patch from Mike Hommey fixing 2
erroneous xmlFree() and adding a message on an unsupported feature
Wed Oct 11 23:16:10 CEST 2006 Daniel Veillard <[email protected]>
* python/libxslt-python-api.xml: applied fix for accessor functions
of a stylesheet returning pointers to immutable strings, patch
from #320540
* xsltproc/xsltproc.c: fix the xinclude on stylehseet problem
by adding a new parameter to xsltproc names --xincludestyle
Wed Oct 11 22:27:37 CEST 2006 Daniel Veillard <[email protected]>
* xsltproc/xsltproc.c: apply patch from Gary Coady to compile when
libxml2 has no xinclude support #319886
* docs/*: renamed Gnome to GNOME fixes #352159
Wed Oct 11 21:37:27 CEST 2006 Daniel Veillard <[email protected]>
* libxslt/Makefile.am: a missing DESTDIR
* python/Makefile.am: fix reference to build paths in python module
* libexslt/exsltconfig.h.in libxslt/xsltconfig.h.in: fix the header
comments on version values, the 3 are patches from Peter
Breitenlohner and should fix #340995
Wed Oct 11 11:16:34 CEST 2006 Daniel Veillard <[email protected]>
* libxslt/security.c: applied cleanup patch from Mikhail Zabaluev
which should finish fixing #337486
Wed Oct 11 09:55:06 CEST 2006 Daniel Veillard <[email protected]>
* libxslt/security.c: applied fix from Shane Corgatelli to pass
the full URL when checking security access for network URLs,
should fix bug #359366
Mon Aug 21 10:46:25 CEST 2006 Daniel Veillard <[email protected]>
* doc/xslt.html python/tests/pyxsltproc.py xsltproc/xsltproc.c:
applied patch from Daniel Leidert to fix some typo
* xsltproc.xml xsltproc.1: applied another patch from Daniel Leidert
and regenerated
Wed Aug 16 17:39:04 CEST 2006 Daniel Veillard <[email protected]>
* xsltproc/xsltproc.c: --xinclude should also force XInclude
processing on the stylesheets themselves, raised by Daniel Leidert
Thu Aug 10 15:54:02 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/transform.c libxslt/variables.c
libxslt/xsltInternals.h: Fixed restoring the context doc
for XPath in xsltForEach(). Eliminated the use of @tmpDoc
of the transformation context.
Thu Aug 10 13:40:35 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/preproc.c: Added missing QName-validation of some
attributes of XSLT-elements. This fixes bug #304921, reported
by Frans Englich.
Thu Aug 10 13:27:48 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/transform.c: As suggested by Bill, I changed
xsltShallowCopyNsNode() to return an xmlNsPtr instead of
an int. The fix of bug #350085 is OK; i.e. the removal
of the call to xsltFreeRVTs() in
xsltApplyStylesheetInternal(). I think I tried to clear
the transformation context as much as possible, in case
it is reused; Daniel informed me on the list that reusing
the context is not intended, so no need anymore to try
to free the fragments immediately after the transformation.
Wed Aug 9 13:22:13 PDT 2006 William Brack <[email protected]>
* libxslt/transform.c: Fixed problem with cleanup of RVT's, should
clear bug350085; cleaned up most warnings (still a problem in
xsltShallowCopyNsNode)
* trivial warning cleanup in libxslt/[extensions.c, namespaces.c,
xslt.c and xsltInternals.h] and libexslt/functions.c
Fri Aug 4 14:50:41 CEST 2006 Daniel Veillard <[email protected]>
* python/generator.py: fixed the conversion of long parameters
Wed Jul 19 15:06:39 EDT 2006 Daniel Veillard <[email protected]>
* python/types.c: fix float and boolean XPath conversions
* libxslt/xsltutils.c: try to fix Stephane Bidoul attempt
at setting XInclude support.
Mon Jul 17 11:15:23 PDT 2006 William Brack <[email protected]>
* Updated tests affected by recent library changes -
tests/general/bug-1-.out, tests/general/bug-24-.out,
tests/keys/month.out : (<t></t> now becomes <t/>);
tests/general/bug-41-.xsl and tests/general/bug-43.xsl :
call-template and apply-template, where the template has
no parameter but one is supplied (var should not be affected)
tests/general/bug-145.err : changed error text
Fri Jul 14 18:16:59 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/attributes.c libxslt/documents.c
libxslt/functions.c libxslt/keys.c libxslt/namespaces.c
libxslt/pattern.c libxslt/preproc.c libxslt/templates.c
libxslt/templates.h libxslt/transform.c
libxslt/variables.c libxslt/xslt.c
libxslt/xsltInternals.h libxslt/xsltutils.c
libxslt/xsltutils.h libexslt/common.c libexslt/dynamic.c
libexslt/functions.c libexslt/strings.c:
Committing again, since I forgot to switch from win to linux
linebreaks in the files.
Fri Jul 14 17:55:42 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/attributes.c libxslt/documents.c
libxslt/functions.c libxslt/keys.c libxslt/namespaces.c
libxslt/pattern.c libxslt/preproc.c libxslt/templates.c
libxslt/templates.h libxslt/transform.c libxslt/variables.c
libxslt/xslt.c libxslt/xsltInternals.h libxslt/xsltutils.c
libxslt/xsltutils.h libexslt/common.c libexslt/dynamic.c
libexslt/functions.c libexslt/strings.c:
Refactored xsltValueOf(). Changed to use xmlXPathCastToString()
directly, rather than creating an intermediate object with
xmlXPathConvertString(). This now does not add a text-node to
the result if the string is empty (this has impact on
serialization, since an empty text-node is serialized as
<foo></foo>, and now it will be serialized as <foo/>).
Refactored other functions in transform.c:
Mostly code cleanup/restructuring. Minimized number of
function variables for instruction which eat up function stack
memory when recursing templates (xsltIf(), xsltChoose(),
xsltApplyTemplates(), xsltCallTemplate()).
Changed XSLT tests to use xmlXPathCompiledEvalToBoolean().
Implemented redefinition checks at compilation-time and
eliminating them at transformation time in the refactored code
paths.
Introduced the field @currentTemplateRule on xsltTransformContext to
reflect the "Current Template Rule" as defined by the spec.
NOTE that ctxt->currentTemplateRule and ctxt->templ is not the
same; the former is the "Current Template Rule" as defined by the
XSLT spec, the latter is simply the template struct being
currently processed by Libxslt.
Added XML_COMMENT_NODE and XML_CDATA_SECTION_NODE to the macro
IS_XSLT_REAL_NODE.
Misc code cleanup/restructuring and everything else I already forgot.
Refactored lifetime of temporary result tree fragments.
Substituted all calls to the now deprecated xsltRegisterTmpRVT()
for the new xsltRegisterLocalRVT().
Fragments of xsl:variable and xsl:param are freed when the
variable/pram is freed.
Fragments created when evaluating a "select" of xsl:varible and
xsl:param are also bound to the lifetime of the var/param.
EXSLT's func:function now uses the following functions to let take
care the transformation's garbage collector of returned tree
fragments:
xsltExtensionInstructionResultRegister(),
xsltExtensionInstructionResultFinalize()
Fixes:
#339222 - xsl:param at invalid position inside an xsl:template is
not catched
#346015 - Non-declared caller-parameters are accepted
#160400 - Compiles invalid XSLT; unbound variable accepted
#308441 - namespaced parameters become unregistered
#307103 - problem with proximity position in predicates of match
patterns
#328218 - problem with exsl:node-set() when converting strings
to node sets
#318088 - infinite recursion detection
#321505 - Multiple contiguous CDATA in output
#334493 - "--param" option does not have root context
#114377 - weird func:result/xsl:variable/exsl:node-set interaction
#150309 - Regression caused by fix for 142768
Wed Jun 21 15:13:27 CEST 2006 Kasimier Buchcik <[email protected]>
* tests/docs/bug-54.xml tests/general/bug-54.out
tests/general/bug-99.out tests/general/bug-136.out
tests/REC/test-7.1.3.xsl tests/REC/test-7.1.4.xsl
tests/REC/test-7.3.xsl tests/REC/test-7.4.xsl:
Fixed incorrect regression tests/results.
Mon Jun 19 13:33:50 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/attributes.c libxslt/attrvt.c libxslt/namespaces.c
libxslt/namespaces.h libxslt/preproc.c libxslt/templates.c
libxslt/transform.c libxslt/variables.c libxslt/xslt.c
libxslt/xsltInternals.h libxslt/xsltutils.c:
Merged all the namespace lookup/create/disable functions
into xsltGetSpecialNamespace(). Changed xsltGetNamespace()
and xsltGetPlainNamespace() to call xsltGetSpecialNamespace(),
but kept the ns-aliasing mechanism; the ns-aliasing needs
to be removed when we move to the refactored code, which
applies ns-alias only at compilaton time.
Refactored xsltElementComp() (preproc.c); enhanced error reports.
Fixed: if the "namespace" attribute was not given, then this
performed incorrectly only a lookup for a default namespace;
i.e., without taking any prefix on the "name" attribute into
account.
Refactored xsltElement() (transform.c); enhanced error reports.
Refactored xsltAttributeComp() (preproc.c). Added namespace
lookup as in xsltElementComp(). Enhanced error reports.
Refactored xsltAttribute() (transform.c); enhanced error reports.
xsltCopyTreeInternal(): eliminated the need to call xmlGetNsList()
for every element in the tree; this needs to be done only for
the top-most elements. For subsequent elements reconcile only
the ns-declarations. Disallowed setting of ns-declarations if
children have been already added to an element.
Removed ns-aliasing code where necessary.
xsltCopyProp(): disallowed setting of attribute nodes if
children have been already added to an element.
xsltCopy(): removed the incorrect skipping of attributes in the
XSLT namespace. Removed the incorrect ns-aliasing for attributes.
Changed to use the introduced function xsltShallowCopyAttr().
xsltShallowCopyAttr(): Centralized all attribute-copy related
code in this function. It will now be called by
xsltCopyTreeInternal(), xsltCopyOf() and xsltCopy().
xsltCopyAttrListNoOverwrite(): Renamed. Refactored. Optimized to
use xsltGetSpecialNamespace() and xmlNewDocProp().
Further substitution of various scattered namespace-lookup
related code for the use of xsltGetSpecialNamespace().
xsltAttrTemplateProcess(): Refactored. Removed the incorrect
processing of attribute-sets. Attribute sets need to be applied
before adding any normal attribute of the literal result element;
this is now done in xsltAttrListTemplateProcess(). Fixed to
ensure that the ns-prefix of the overwriting attribute is used.
xsltAttrListTemplateProcess(): Refactored. Moved semantics from
xsltAttrTemplateProcess() over to this function in order to
optimize processing of multiple attributes. This does not call
xsltAttrTemplateProcess() anymore.
Fixed: do not exclude the XSLT namespace after ns-aliasing have
beed applied.
The IFDEFed-out refactored code fixes the following issues:
- #313711: namespace collision with namespace-alias (reported
by by Oleg Paraschenko)
- #338214: Incorrect scope for exclude-result-prefixes
- #341392: Excluding namespace declarations of literal result
elements.
- #341325: Namespace aliasing and resulting namespace prefixes
Already enabled fixes:
- #344183: xsl:copy misses to copy attributes in the XSLT namespace
- #341463: Namespace-alias using #default for result-prefix with no
default namespace in scope
- #313890: namespace collision with xsl:element and xsl:attribute,
reported by Oleg Paraschenko
- #344176: xsl:copy misses to set an element's namespace-URI in
some cases
- #305739: the "name" QName of xsl:element is incorrectly always
resolved to the default namespace
Mon Jun 12 16:34:15 CEST 2006 Daniel Veillard <[email protected]>
* doc/xsltproc.1 doc/xsltproc.xml: more info about --output
from Daniel Leidert c.f. #344654
Tue Jun 6 17:16:33 CEST 2006 Daniel Veillard <[email protected]>
* configure.in libxslt.spec.in doc//*: preparing release of 1.1.17
Tue Jun 6 11:44:34 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/attributes.c: Eliminated a tiny difference wrt to
the old behaviour in the naming of newly generated ns-decls
in xsltAttributeInternal().
Thu Jun 1 15:06:31 CEST 2006 Daniel Veillard <[email protected]>
* configure.in: fix a problem in Python detection
Thu Jun 1 13:58:19 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/attributes.c libxslt/variables.c
libxslt/transform.c libxslt/xslt.c:
Next step in the refactored code: enhanced xsl:attribute;
enhanced xsltCopyProp.
Added the creation of an XPath cache in
xsltNewTransformContext().
Wed May 31 22:32:44 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/transform.c: Fixed a difference in processing of
xsl:value-of and xsl:text wrt to merging of strings of
output-escaped text-nodes. This difference made the
optimized string-merging mechanism run out of sync, which
led to segfaults in subsequent string reallocations. See
bug #343411, reported by Grzegorz Kaczor.
* xslt.c: Added check for ctxt->internalized when we parse
xsl:text and internalize the strings.
Mon May 22 10:32:57 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/attributes.c libxslt/documents.c
libxslt/extensions.c libxslt/keys.c libxslt/pattern.c
libxslt/preproc.c libxslt/templates.c
libxslt/transform.c libxslt/variables.c
libxslt/xslt.c libxslt/xsltInternals.h:
Next tiny step of refactoring - mostly bug fixes and
cosmetic changes.
Changes outside of the refactored code:
1) Optimized xsl:attribute if the content consists of
just 1 text node.
2) Optimized computation of xsl:key. The keys will now be
computed for a specific document not until the first call
of a key() function; here only the keys with the specific
name used by key() are computed. This means that this
now avoids computation of all keys for all loaded
input documents (even if no key() was called on them).
One exception is the scenario where a key() is used in
a template's match pattern; in this case all keys are
computed for a document if there's a chance that
a "keyed" template could match a node (this could still
be optimized a bit).
Mon May 15 22:32:13 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/namespaces.c libxslt/attributes.c:
Fixed bug #302020, reported by Thomas Blatter.
Fri May 12 23:23:06 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/documents.c libxslt/namespaces.c
libxslt/preproc.c libxslt/transform.c
libxslt/xslt.c libxslt/xsltInternals.h libxslt/xsltutils.c:
Next step of refactoring. For more details see bug #341588.
I applied the suggestion of Jerome Pesenti to the refactored
(still IDFEDed out with XSLT_REFACTORED) code: The XPath
compilation context (accessible via the compilation context)
is now reused for compilation of expressions at
compilation-time; this should reduce compilation time to 50%
for avarage stylesheets.
Thu May 11 22:12:22 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/extensions.c: Changed a comment to indicate that a
specific bug was already fixed.
Fri May 5 23:10:47 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/xsltInternals.h libxslt/attributes.c
libxslt/documents.c libxslt/extensions.c
libxslt/extensions.h libxslt/functions.c
libxslt/imports.c libxslt/keys.c libxslt/preproc.c
libxslt/transform.c libxslt/variables.c libxslt/xslt.c
libxslt/xsltutils.c libxslt/xsltutils.h libexslt/functions.c:
Next step of refactoring (plus some bug-fixes).
For more details see #340780.
Fri May 5 14:31:53 CEST 2006 Kasimier Buchcik <[email protected]>
* tests/exslt/common/node-set.5.out
tests/exslt/sets/difference.1.out
tests/exslt/functions/function.6.out: Reverting the
changes; I'll rather change the processing stylesheet
documents in a way that they will produce the same results
for broken and stricter whitespace-stripping.
Thu May 4 22:55:26 CEST 2006 Kasimier Buchcik <[email protected]>
* tests/exslt/common/node-set.5.out
tests/exslt/sets/difference.1.out
tests/exslt/functions/function.6.out: Changed regression test
results (bug #340684). Those will now produce regression
errors; so we need to fix the processor.
Mon May 1 17:39:27 EDT 2006 Daniel Veillard <[email protected]>
* configure.in NEWS doc//*: preparing release of 1.1.16, updated and
regenerated the docs.
Tue Apr 25 15:02:42 CEST 2006 Daniel Veillard <[email protected]>
* configure.in: applied patch from Joseph Sacco changing slightly
the python detection scheme should fix bug #338527
Wed Apr 12 13:35:45 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/attributes.c libxslt/preproc.c libxslt/transform.c
libxslt/variables.c libxslt/xslt.c libxslt/xsltInternals.h
libxslt/xsltutils.c libxslt/xsltutils.h:
Refactored the internal structures into specialized
structures and adjusted the code to work with those new
structures. I didn't yet (we should in the future)
renamed any fields of the old structures in order to avoid
changing too much code.
Introduced the internal structure xsltCompilerCtxt to be
used for storage and control of the compilation.
Optimized the way lists of in-scope namespaces are created
and stored; this will now only generate a new list if
really needed, i.e. if we encounter a ns-decl.
All this changes here are IFDEFed out with XSLT_REFACTORED.
Thu Apr 6 10:16:59 CEST 2006 Daniel Veillard <[email protected]>
* doc/xsltproc.1 doc/xsltproc.xml: applied man page improvement
from Daniel Leidert
Thu Mar 30 17:23:52 CEST 2006 Kasimier Buchcik <[email protected]>
* tests/general/bug-36-inc.xsl tests/general/bug-37-inc.xsl
tests/general/bug-65-inc.xsl tests/general/bug-100.xsl
tests/REC/test-15-1.xsl tests/REC/test-7.1.1-3.xsl
tests/namespaces/extra2.xsl tests/extensions/module.xsl
tests/plugins/plugin.xsl python/tests/extelem.py
python/tests/extfunc.py: Fixed regression tests wrt
usage of the attributes "exclude-result-prefixes"
and "extension-element-prefixes". test-7.1.1-3.xsl fails
now, since the code still does not exclude ns-decls
correctly.
Thu Mar 30 17:11:53 CEST 2006 Kasimier Buchcik <[email protected]>
* libxslt/xslt.c libxslt/xsltutils.c libxslt/preproc.c
libxslt/namespaces.c libxslt/imports.c
libxslt/attributes.c: Eliminated usage of xsltGetNsProp() in cases
where an attribute with a specific namespace is requested.
xsltGetNsProp() uses xmlGetProp() which is not namespace aware
and thus will return the first attribute with the requested
name but of arbitrary namespace.
Changed retrieval of the attributes "exclude-result-prefixes"
and "extension-element-prefixes", which are expected to be in
no namespace on XSLT elements and in the XSLT namespace on
literal result elements or extension elements.
Additional change: for XSLT elements the attribute
"exclude-result-prefixes" is only allowed on xsl:stylesheet
and xsl:transform. This attribute was previously processed on
all XSLT elements.
Wed Mar 29 12:16:41 CEST 2006 Daniel Veillard <[email protected]>
* libxslt/transform.c: Charles Hardin pointed an OOM condition where
a NULL pointer could be dereferenced, closes #336394
Fri Mar 10 12:49:18 CET 2006 Daniel Veillard <[email protected]>
* libexslt/crypto.c libexslt/date.c libexslt/saxon.c
libxslt/attributes.c libxslt/imports.c libxslt/pattern.c
libxslt/preproc.c libxslt/transform.c libxslt/variables.c
libxslt/xslt.c libxslt/xsltutils.c: various assorted small cleanups
based on the Coverity reports
Wed Feb 22 16:09:10 CET 2006 Daniel Veillard <[email protected]>
* python/types.c: Nic Ferrier found debug statement left in the
XPath conversion code
Tue Feb 21 20:21:07 CET 2006 Daniel Veillard <[email protected]>
* doc/xsltproc.1 doc/xsltproc.xml: new update from Daniel Leidert
Tue Feb 21 17:59:11 CET 2006 Daniel Veillard <[email protected]>
* libxslt/extensions.c libxslt/xslt.c libxslt/xslt.h
libxslt/xsltInternals.h: applied patch from Christopher R. Palmer
to avoid a race condition in xsltInit()
Sun Feb 19 22:40:58 CET 2006 Daniel Veillard <[email protected]>
* doc/xsltproc.1 doc/xsltproc.xml: improvement of the man page
by Daniel Leidert, c.f. #331779
Sat Feb 11 13:10:01 CET 2006 Daniel Veillard <[email protected]>
* libxslt/xsltutils.c: fix xsltSaveResultToString comment
* libxslt/transform.c: detect loops when computing variables, should
fix bug #330772
* doc/xsltproc.xml doc/xsltproc.1: fix typo in man page
* tests/namespaces/tst7.out tests/general/bug-152.out: small output
changes due to libxml2 xhtml meta handling modification
Mon Nov 21 12:22:21 CET 2005 Daniel Veillard <[email protected]>
* libexslt/date.c: Albert Chin found another signed/unsigned problem
in the date and time code raised on IRIX 6.5
Mon Nov 21 12:08:05 CET 2005 Daniel Veillard <[email protected]>