-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog
8856 lines (6398 loc) · 329 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
A NOTE ON THE CHANGELOG:
Starting in early 2011, Tcl source code has been under the management of
fossil, hosted at https://core.tcl-lang.org/tcl/ . Fossil presents a "Timeline"
view of changes made that is superior in every way to a hand edited log file.
Because of this, many Tcl developers are now out of the habit of maintaining
this log file. You may still find useful things in it, but the Timeline is
a better first place to look now.
============================================================================
2013-09-19 Don Porter <[email protected]>
*** 8.6.1 TAGGED FOR RELEASE ***
* generic/tcl.h: Bump version number to 8.6.1.
* library/init.tcl:
* unix/configure.in:
* win/configure.in:
* unix/tcl.spec:
* README:
* unix/configure: autoconf-2.59
* win/configure:
2013-09-19 Donal Fellows <[email protected]>
* doc/next.n (METHOD SEARCH ORDER): Bug [3606943]: Corrected
description of method search order.
2013-09-18 Donal Fellows <[email protected]>
Bump TclOO version to 1.0.1 for release.
2013-09-17 Donal Fellows <[email protected]>
* generic/tclBinary.c (BinaryEncodeUu, BinaryDecodeUu): [Bug 2152292]:
Corrected implementation of the core of uuencode handling so that the
line length processing is correctly applied.
***POTENTIAL INCOMPATIBILITY***
Existing code that was using the old versions and working around the
limitations will now need to do far less. The -maxlen option now has
strict limits on the range of supported lengths; this is a limitation
of the format itself.
2013-09-09 Donal Fellows <[email protected]>
* generic/tclOOMethod.c (CloneProcedureMethod): [Bug 3609693]: Strip
the internal representation of method bodies during cloning in order
to ensure that any bound references to instance variables are removed.
2013-09-01 Donal Fellows <[email protected]>
* generic/tclBinary.c (BinaryDecodeHex): [Bug b98fa55285]: Ensure that
whitespace at the end of a string don't cause the decoder to drop the
last decoded byte.
2013-08-03 Donal Fellows <[email protected]>
* library/auto.tcl: [Patch 3611643]: Allow TclOO classes to be found
by the autoloading mechanism.
2013-08-02 Donal Fellows <[email protected]>
* generic/tclOODefineCmds.c (ClassSuperSet): Bug [9d61624b3d]: Stop
crashes when emptying the superclass slot, even when doing elaborate
things with metaclasses.
2013-08-01 Harald Oehlmann <[email protected]>
* tclUnixNotify.c (Tcl_InitNotifier): Bug [a0bc856dcd]: Start notifier
thread again if we were forked, to solve Rivet bug 55153.
2013-07-05 Kevin B. Kenny <[email protected]>
* library/tzdata/Africa/Casablanca:
* library/tzdata/America/Asuncion:
* library/tzdata/Antarctica/Macquarie:
* library/tzdata/Asia/Gaza:
* library/tzdata/Asia/Hebron:
* library/tzdata/Asia/Jerusalem:
http://www.iana.org/time-zones/repository/releases/tzdata2013d.tar.gz
2013-07-03 Jan Nijtmans <[email protected]>
* unix/tclXtNotify.c: Bug [817249]: bring tclXtNotify.c up to date with
Tcl_SetNotifier() change.
2013-07-02 Jan Nijtmans <[email protected]>
* unix/tcl.m4: Bug [32afa6e256]: dirent64 check is incorrect in tcl.m4
* unix/configure: (thanks to Brian Griffin)
2013-06-27 Jan Nijtmans <[email protected]>
* generic/tclConfig.c: Bug [9b2e636361]: Tcl_CreateInterp() needs
* generic/tclMain.c: initialized encodings.
2013-06-18 Jan Nijtmans <[email protected]>
* generic/tclEvent.c: Bug [3611974]: InitSubsystems multiple thread
issue.
2013-06-17 Jan Nijtmans <[email protected]>
* generic/regc_locale.c: Bug [a876646efe]: re_expr character class
[:cntrl:] should contain \u0000 - \u001f
2013-06-09 Donal K. Fellows <[email protected]>
* generic/tclCompCmdsSZ.c (TclCompileTryCmd): [Bug 779d38b996]:
Rewrote the [try] compiler to generate better code in some cases and
to behave correctly in others; when an error happens during the
processing of an exception-trap clause or a finally clause, the
*original* return options are now captured in a -during option, even
when fully compiled.
2013-06-05 Donal K. Fellows <[email protected]>
* generic/tclExecute.c (INST_EXPAND_DROP): [Bugs 2835313, 3614226]:
New opcode to allow resetting the stack to get rid of an expansion,
restoring the stack to a known state in the process.
* generic/tclCompile.c, generic/tclCompCmds.c: Adjusted the compilers
for [break] and [continue] to get stack cleanup right in the majority
of cases.
* tests/for.test (for-7.*): Set of tests for these evil cases.
2013-06-04 Jan Nijtmans <[email protected]>
* unix/tcl.m4: Eliminate NO_VIZ macro as current zlib uses HAVE_HIDDEN
instead. One more last-moment fix for FreeBSD by Pietro Cerutti
2013-06-03 Miguel Sofer <[email protected]>
* generic/tclExecute.c: fix for perf bug detected by Kieran
(https://groups.google.com/forum/?fromgroups#!topic/comp.lang.tcl/vfpI3bc-DkQ),
diagnosed by dgp to be a close relative of [Bug 781585], which was
fixed by commit [f46fb50cb3]. This bug was introduced by myself in
commit [cbfe055d8c].
2013-06-03 Donal K. Fellows <[email protected]>
* generic/tclCompCmds.c (TclCompileBreakCmd, TclCompileContinueCmd):
Added code to allow [break] and [continue] to be issued as a jump (in
the most common cases) rather than using the more expensive exception
processing path in the bytecode engine. [Bug 3614226]: Partial fix for
the issues relating to cleaning up the stack when dealing with [break]
and [continue].
2013-05-27 Harald Oehlmann <[email protected]>
* library/msgcat/msgcat.tcl: [Bug 3036566]: Also get locale from
registry key HCU\Control Panel\Desktop : PreferredUILanguages to honor
installed language packs on Vista+.
Bumped msgcat version to 1.5.2
2013-05-22 Andreas Kupries <[email protected]>
* tclCompile.c: Removed duplicate const qualifier causing the HP
native cc to error out.
2013-05-22 Donal K. Fellows <[email protected]>
* generic/tclUtf.c (TclUtfCasecmp): [Bug 3613609]: Replace problematic
uses of strcasecmp with a proper UTF-8-aware version. Affects both
[lsearch -nocase] and [lsort -nocase].
2013-05-22 Donal K. Fellows <[email protected]>
* doc/file.n: [Bug 3613671]: Added note to portability section on the
fact that [file owned] does not produce useful results on Windows.
2013-05-20 Donal K. Fellows <[email protected]>
* unix/tclUnixFCmd.c (DefaultTempDir): [Bug 3613567]: Corrected logic
for checking return code of access() system call, which was inverted.
2013-05-19 Jan Nijtmans <[email protected]>
* unix/tcl.m4: Fix for FreeBSD, and remove support for older
* unix/configure: FreeBSD versions. Patch by Pietro Cerutti.
2013-05-18 Donal K. Fellows <[email protected]>
* generic/tclCompCmdsGR.c: Split tclCompCmds.c again to keep size of
code down.
2013-05-16 Jan Nijtmans <[email protected]>
* generic/tclBasic.c: Add panic in order to detect incompatible
mingw32 sys/stat.h and sys/time.h headers.
2013-05-13 Jan Nijtmans <[email protected]>
* compat/zlib/*: Upgrade to zlib 1.2.8
2013-05-10 Donal K. Fellows <[email protected]>
Optimizations and general bytecode generation improvements.
* generic/tclCompCmds.c (TclCompileAppendCmd, TclCompileLappendCmd):
(TclCompileReturnCmd): Make these generate bytecode in more cases.
(TclCompileListCmd): Make this able to push a literal when it can.
* generic/tclCompile.c (TclSetByteCodeFromAny, PeepholeOptimize):
Added checks to see if we can apply some simple cross-command-boundary
optimizations, and defined a small number of such optimizations.
(TclCompileScript): Added the special ability to compile the list
command with expansion ([list {*}blah]) into bytecode that does not
call an external command.
2013-05-06 Jan Nijtmans <[email protected]>
* generic/tclStubInit.c: Add support for Cygwin64, which has a 64-bit
* generic/tclDecls.h: "long" type. Binary compatibility with win64
requires that all stub entries use 32-bit long's, therefore the need
for various wrapper functions/macros. For Tcl 9 a better solution is
needed, but that cannot be done without introducing binary
incompatibility.
2013-04-30 Andreas Kupries <[email protected]>
* library/platform/platform.tcl (::platform::LibcVersion):
* library/platform/pkgIndex.tcl: Followup to the 2013-01-30 change.
The RE become too restrictive again. SuSe added a timestamp after the
version. Loosened up a bit. Bumped package to version 1.0.12.
2013-04-29 Donal K. Fellows <[email protected]>
* generic/tclCompCmds.c (TclCompileArraySetCmd): Generate better code
when the list of things to set is a literal.
2013-04-25 Jan Nijtmans <[email protected]>
* generic/tclDecls.h: Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj
and Tcl_SetBooleanObj as macros using Tcl_NewIntObj, Tcl_DbNewLongObj
and Tcl_SetIntObj. Starting with Tcl 8.5, this is exactly the same, it
only eliminates code duplication.
* generic/tclInt.h: Eliminate use of NO_WIDE_TYPE everywhere: It's
exactly the same as TCL_WIDE_INT_IS_LONG
2013-04-19 Jan Nijtmans <[email protected]>
* generic/tclDecls.h: Implement many Tcl_*Var* functions and
Tcl_GetIndexFromObj as (faster/stack-saving) macros around resp their
Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct.
2013-04-12 Jan Nijtmans <[email protected]>
* generic/tclDecls.h: Implement Tcl_Pkg* functions as
(faster/stack-saving) macros around Tcl_Pkg*Ex functions.
2013-04-08 Don Porter <[email protected]>
* generic/regc_color.c: [Bug 3610026]: Stop crash when the number of
* generic/regerrs.h: "colors" in a regular expression overflows a
* generic/regex.h: short int. Thanks to Heikki Linnakangas for
* generic/regguts.h: the report and the patch.
* tests/regexp.test:
2013-04-04 Reinhard Max <[email protected]>
* library/http/http.tcl (http::geturl): Allow URLs that don't have a
path, but a query query, e.g. http://example.com?foo=bar
* Bump the http package to 2.8.7.
2013-03-22 Venkat Iyer <[email protected]>
* library/tzdata/Africa/Cairo: Update to tzdata2013b.
* library/tzdata/Africa/Casablanca:
* library/tzdata/Africa/Gaborone:
* library/tzdata/Africa/Tripoli:
* library/tzdata/America/Asuncion:
* library/tzdata/America/Barbados:
* library/tzdata/America/Bogota:
* library/tzdata/America/Costa_Rica:
* library/tzdata/America/Curacao:
* library/tzdata/America/Nassau:
* library/tzdata/America/Port-au-Prince:
* library/tzdata/America/Santiago:
* library/tzdata/Antarctica/Palmer:
* library/tzdata/Asia/Aden:
* library/tzdata/Asia/Hong_Kong:
* library/tzdata/Asia/Muscat:
* library/tzdata/Asia/Rangoon:
* library/tzdata/Asia/Shanghai:
* library/tzdata/Atlantic/Bermuda:
* library/tzdata/Europe/Vienna:
* library/tzdata/Pacific/Easter:
* library/tzdata/Pacific/Fiji:
* library/tzdata/Asia/Khandyga: (new)
* library/tzdata/Asia/Ust-Nera: (new)
* library/tzdata/Europe/Busingen: (new)
2013-03-21 Don Porter <[email protected]>
* library/auto.tcl: [Bug 2102614]: Add ensemble indexing support to
* tests/autoMkindex.test: [auto_mkindex]. Thanks Brian Griffin.
2013-03-19 Don Porter <[email protected]>
* generic/tclFCmd.c: [Bug 3597000]: Consistent [file copy] result.
* tests/fileSystem.test:
2013-03-19 Jan Nijtmans <[email protected]>
* win/tclWinFile.c: [Bug 3608360]: Incompatible behaviour of "file
exists".
2013-03-18 Donal K. Fellows <[email protected]>
* tests/cmdAH.test (cmdAH-19.12): [Bug 3608360]: Added test to ensure
that we never ever allow [file exists] to do globbing.
2013-03-12 Jan Nijtmans <[email protected]>
* unix/tcl.m4: Patch by Andrew Shadura, providing better support for
three architectures they have in Debian.
2013-03-11 Don Porter <[email protected]>
* generic/tclCompile.c: [Bugs 3607246,3607372]: Unbalanced refcounts
* generic/tclLiteral.c: of literals in the global literal table.
2013-03-06 Don Porter <[email protected]>
* generic/regc_nfa.c: [Bugs 3604074,3606683]: Rewrite of the
* generic/regcomp.c: fixempties() routine (and supporting routines)
to completely eliminate the infinite loop hazard. Thanks to Tom Lane
for the much improved solution.
2013-02-28 Don Porter <[email protected]>
* generic/tclLiteral.c: Revise TclReleaseLiteral() to tolerate a NULL
interp argument.
* generic/tclCompile.c: Update callers and revise mistaken comments.
* generic/tclProc.c:
2013-02-27 Jan Nijtmans <[email protected]>
* generic/regcomp.c: [Bug 3606139]: missing error check allows
* tests/regexp.test: regexp to crash Tcl. Thanks to Tom Lane for
providing the test-case and the patch.
2013-02-26 Donal K. Fellows <[email protected]>
* tests/chanio.test (chan-io-28.7): [Bug 3605120]: Stop test from
hanging when run standalone.
2013-02-26 Jan Nijtmans <[email protected]>
* generic/tclObj.c: Don't panic if Tcl_ConvertToType is called for a
type that doesn't have a setFromAnyProc, create a proper error message.
2013-02-25 Donal K. Fellows <[email protected]>
* tests/binary.test (binary-41.*): [Bug 3605721]: Test independence
fixes. Thanks to Rolf Ade for pointing out the problem.
2013-02-25 Don Porter <[email protected]>
* tests/assocd.test: [Bugs 3605719,3605720]: Test independence.
* tests/basic.test: Thanks Rolf Ade for patches.
2013-02-23 Jan Nijtmans <[email protected]>
* compat/fake-rfc2553.c: [Bug 3599194]: compat/fake-rfc2553.c is
broken.
2013-02-22 Don Porter <[email protected]>
* generic/tclAssembly.c: Shift more burden of smart cleanup
* generic/tclCompile.c: onto the TclFreeCompileEnv() routine.
Stop crashes when the hookProc raises an error.
2013-02-20 Don Porter <[email protected]>
* generic/tclNamesp.c: [Bug 3605447]: Make sure the -clear option
* tests/namespace.test: to [namespace export] always clears, whether
or not new export patterns are specified.
2013-02-20 Jan Nijtmans <[email protected]>
* win/tclWinDde.c: [Bug 3605401]: Compiler error with latest mingw-w64
headers.
2013-02-19 Jan Nijtmans <[email protected]>
* generic/tclTrace.c: [Bug 2438181]: Incorrect error reporting in
* tests/trace.test: traces. Test-case and fix provided by Poor
Yorick.
2013-02-15 Don Porter <[email protected]>
* generic/regc_nfa.c: [Bug 3604074]: Fix regexp optimization to
* tests/regexp.test: stop hanging on the expression
((((((((a)*)*)*)*)*)*)*)* . Thanks to Bjørn Grathwohl for discovery.
2013-02-14 Harald Oehlmann <[email protected]>
* library/msgcat/msgcat.tcl: [Bug 3604576]: Catch missing registry
entry "HCU\Control Panel\International".
Bumped msgcat version to 1.5.1
2013-02-11 Donal K. Fellows <[email protected]>
* generic/tclZlib.c (ZlibTransformOutput): [Bug 3603553]: Ensure that
data gets written to the underlying stream by compressing transforms
when the amount of data to be written is one buffer's-worth; problem
was particularly likely to occur when compressing large quantities of
not-very-compressible data. Many thanks to Piera Poggio (vampiera) for
reporting.
2013-02-09 Donal K. Fellows <[email protected]>
* generic/tclOOBasic.c (TclOO_Object_VarName): [Bug 3603695]: Change
the way that the 'varname' method is implemented so that there are no
longer problems with interactions due to the resolver. Thanks to
Taylor Venable <[email protected]> for identifying the problem.
2013-02-08 Donal K. Fellows <[email protected]>
* generic/regc_nfa.c (duptraverse): [Bug 3603557]: Increase the
maximum depth of recursion used when duplicating an automaton in
response to encountering a "wild" RE that hit the previous limit.
Allow the limit (DUPTRAVERSE_MAX_DEPTH) to be set by defining its
value in the Makefile. Problem reported by Jonathan Mills.
2013-02-05 Don Porter <[email protected]>
* win/tclWinFile.c: [Bug 3603434]: Make sure TclpObjNormalizePath()
properly declares "a:/" to be normalized, even when no "A:" drive is
present on the system.
2013-02-05 Donal K. Fellows <[email protected]>
* generic/tclLoadNone.c (TclpLoadMemory): [Bug 3433012]: Added dummy
version of this function to use in the event that a platform thinks it
can load from memory but cannot actually do so due to it being
disabled at configuration time.
2013-02-04 Donal K. Fellows <[email protected]>
* generic/tclCompCmds.c (TclCompileArraySetCmd): [Bug 3603163]: Stop
crash in weird case where [eval] is used to make [array set] get
confused about whether there is a local variable table or not. Thanks
to Poor Yorick for identifying a reproducible crashing case.
2013-01-30 Andreas Kupries <[email protected]>
* library/platform/platform.tcl (::platform::LibcVersion): See
* library/platform/pkgIndex.tcl: [Bug 3599098]: Fixed the RE
* unix/Makefile.in: extracting the version to avoid issues with
* win/Makefile.in: recent changes to the glibc banner. Now targeting a
less variable part of the string. Bumped package to version 1.0.11.
2013-01-28 Donal K. Fellows <[email protected]>
* generic/tclCompCmds.c (TclCompileArraySetCmd)
(TclCompileArrayUnsetCmd, TclCompileDictAppendCmd)
(TclCompileDictCreateCmd, CompileDictEachCmd, TclCompileDictIncrCmd)
(TclCompileDictLappendCmd, TclCompileDictMergeCmd)
(TclCompileDictUnsetCmd, TclCompileDictUpdateCmd)
(TclCompileDictWithCmd, TclCompileInfoCommandsCmd):
* generic/tclCompCmdsSZ.c (TclCompileStringMatchCmd)
(TclCompileStringMapCmd): Improve the code generation in cases where
full compilation is impossible but a full ensemble invoke is provably
not necessary.
2013-01-26 Jan Nijtmans <[email protected]>
* unix/tclUnixCompat.c: [Bug 3601804]: platformCPUID segmentation
fault on Darwin.
2013-01-23 Donal K. Fellows <[email protected]>
* library/http/http.tcl (http::geturl): [Bug 2911139]: Do not do vwait
for connect to avoid reentrancy problems (except when operating
without a -command option). Internally, this means that all sockets
created by the http package will always be operated in asynchronous
mode.
2013-01-21 Jan Nijtmans <[email protected]>
* generic/tclInt.decls: Put back Tcl[GS]etStartupScript(Path|FileName)
in private stub table, so extensions using this (like Tk 8.4) will
continue to work in all Tcl 8.x versions. Extensions using this
still cannot be compiled against Tcl 8.6 headers.
2013-01-18 Jan Nijtmans <[email protected]>
* generic/tclPort.h: [Bug 3598300]: unix: tcl.h does not include
sys/stat.h
2013-01-17 Donal K. Fellows <[email protected]>
* generic/tclCompCmds.c (PushVarName): [Bug 3600328]: Added mechanism
for suppressing compilation of variables when we couldn't cope with
the results. Useful for some [array] subcommands.
* generic/tclEnsemble.c (CompileToCompiledCommand): Must restore the
compilation environment when a command compiler fails.
2013-01-16 Donal K. Fellows <[email protected]>
* generic/tclZlib.c (TclZlibInit): [Bug 3601086]: Register the config
info in the iso8859-1 encoding as that is guaranteed to be present.
2013-01-16 Jan Nijtmans <[email protected]>
* Makefile.in: Allow win32 build with -DTCL_NO_DEPRECATED, just as
* generic/tcl.h: in the UNIX build. Define Tcl_EvalObj and
* generic/tclDecls.h: Tcl_GlobalEvalObj as macros, even when
* generic/tclBasic.c: TCL_NO_DEPRECATED is defined, so Tk can benefit
from it too.
2013-01-14 Jan Nijtmans <[email protected]>
* win/tcl.m4: More flexible search for win32 tclConfig.sh, backported
from TEA (not actually used in Tcl, only for Tk)
2013-01-14 Jan Nijtmans <[email protected]>
* generic/tclInt.decls: Put back Tcl_[GS]etStartupScript in internal
stub table, so extensions using this, compiled against 8.5 headers
still run in Tcl 8.6.
2013-01-13 Alexandre Ferrieux <[email protected]>
* doc/fileevent.n: [Bug 3436609]: Clarify readable fileevent "false
positives" in the case of multibyte encodings/transforms.
2013-01-13 Jan Nijtmans <[email protected]>
* generic/tclIntDecls.h: If TCL_NO_DEPRECATED is defined, make sure
that TIP #139 functions all are taken from the public stub table, even
if the inclusion is through tclInt.h.
2013-01-12 Jan Nijtmans <[email protected]>
* generic/tclInt.decls: Put back TclBackgroundException in internal
stub table, so extensions using this, compiled against 8.5 headers
still run in Tcl 8.6.
2013-01-09 Jan Nijtmans <[email protected]>
* library/http/http.tcl: [Bug 3599395]: http assumes status line is a
proper Tcl list.
2013-01-08 Jan Nijtmans <[email protected]>
* win/tclWinFile.c: [Bug 3092089]: [file normalize] can remove path
components. [Bug 3587096]: win vista/7: "can't find init.tcl" when
called via junction without folder list access.
2013-01-07 Jan Nijtmans <[email protected]>
* generic/tclOOStubLib.c: Restrict the stub library to only use
* generic/tclTomMathStubLib.c: Tcl_PkgRequireEx, Tcl_ResetResult and
Tcl_AppendResult, not any other function. This puts least restrictions
on eventual Tcl 9 stubs re-organization, and it works on the widest
range of Tcl versions.
2013-01-06 Jan Nijtmans <[email protected]>
* library/http/http.tcl: Don't depend on Spencer-specific regexp
* tests/env.test: syntax (/u and /U) any more in unrelated places.
* tests/exec.test:
Bump http package to 2.8.6.
2013-01-04 Donal K. Fellows <[email protected]>
* generic/tclEnsemble.c (CompileBasicNArgCommand): Added very simple
compiler (which just compiles to a normal invoke of the implementation
command) for many ensemble subcommands where we can prove that there
is no way for scripts to detect the difference even through error
handling or [info level]/[info frame]. This improves the code produced
from some ensembles (e.g., [info], [string]) to the point where the
ensemble is now not normally seen at the bytecode level at all.
2013-01-04 Miguel Sofer <[email protected]>
* generic/tclInt.h: Insure that PURIFY builds cannot exploit the
* generic/tclExecute.c: Tcl stack to hide mem defects.
2013-01-03 Donal K. Fellows <[email protected]>
* doc/fconfigure.n, doc/CrtChannel.3: Updated to reflect the fact that
the minimum buffer size is one byte, not ten. Identified by Schelte
Bron on the Tcler's Chat.
* generic/tclExecute.c (TEBCresume:INST_INVOKE_REPLACE):
* generic/tclEnsemble.c (TclCompileEnsemble): Added new mechanism to
allow for more efficient dispatch of non-bytecode-compiled subcommands
of bytecode-compiled ensembles. This can provide substantial speed
benefits in some cases.
2013-01-02 Miguel Sofer <[email protected]>
* generic/tclEnsemble.c: Remove stray calls to Tcl_Alloc and friends:
* generic/tclExecute.c: the core should only use ckalloc to allow
* generic/tclIORTrans.c: MEM_DEBUG to work properly.
* generic/tclTomMathInterface.c:
2012-12-31 Donal K. Fellows <[email protected]>
* doc/string.n: Noted the obsolescence of the 'bytelength',
'wordstart' and 'wordend' subcommands, and moved them to later in the
file.
2012-12-27 Jan Nijtmans <[email protected]>
* generic/tclListObj.c: [Bug 3598580]: Tcl_ListObjReplace may release
deleted elements too early.
2012-12-22 Alexandre Ferrieux <[email protected]>
* generic/tclUtil.c: [Bug 3598150]: Stop leaking allocated space when
objifying a zero-length DString. Spotted by afredd.
2012-12-21 Jan Nijtmans <[email protected]>
* unix/dltest/pkgb.c: Inline compat Tcl_GetDefaultEncodingDir.
* generic/tclStubLib.c: Eliminate unnecessary static HasStubSupport()
and isDigit() functions, just do the same inline.
2012-12-18 Donal K. Fellows <[email protected]>
* generic/tclCompCmdsSZ.c (TclSubstCompile): Improved the sequence of
instructions issued for [subst] when dealing with simple variable
references.
2012-12-14 Don Porter <[email protected]>
*** 8.6.0 TAGGED FOR RELEASE ***
* changes: updates for 8.6.0
2012-12-13 Don Porter <[email protected]>
* generic/tclZlib.c: Repair same issue with misusing the
* tests/zlib.test: 'fire and forget' nature of Tcl_ObjSetVar2
in the new TIP 400 implementation.
2012-12-13 Miguel Sofer <[email protected]>
* generic/tclCmdAH.c: (CatchObjCmdCallback): do not decrRefCount
* tests/cmdAH.test: the newValuePtr sent to Tcl_ObjSetVar2:
TOSV2 is 'fire and forget', it decrs on its own.
Fix for [Bug 3595576], found by andrewsh.
2012-12-13 Jan Nijtmans <[email protected]>
* generic/tcl.h: Fix Tcl_DecrRefCount macro such that it doesn't
access its objPtr parameter twice any more.
2012-12-11 Don Porter <[email protected]>
* generic/tcl.h: Bump version number to 8.6.0.
* library/init.tcl:
* unix/configure.in:
* win/configure.in:
* unix/tcl.spec:
* README:
* unix/configure: autoconf-2.59
* win/configure:
2012-12-10 Donal K. Fellows <[email protected]>
* tools/tcltk-man2html.tcl (plus-pkgs): Increased robustness of
version number detection code to deal with packages whose names are
prefixes of other packages.
* unix/Makefile.in (dist): Added pkgs/package.list.txt to distribution
builds to ensure that 'make html' will work better.
2012-12-09 Alexandre Ferrieux <[email protected]>
* tests/chan.test: Clean up unwanted eofchar side-effect of chan-4.6
leading to a spurious "'" at end of chan.test under certain conditions
(see [Bug 3389289] and [Bug 3389251]).
* doc/expr.n: [Bug 3594188]: Clarifications about commas.
2012-12-08 Alexandre Ferrieux <[email protected]>
* generic/tclIO.c: Fix busyloop at exit under TCL_FINALIZE_ON_EXIT
when there are unflushed nonblocking channels. Thanks Miguel for
spotting.
2012-12-07 Jan Nijtmans <[email protected]>
* unix/dltest/pkgb.c: Turn pkgb.so into a Tcl9 interoperability test
library: Whatever Tcl9 looks like, loading pkgb.so in Tcl 9 should
either result in an error-message, either succeed, but never crash.
2012-11-28 Donal K. Fellows <[email protected]>
* generic/tclZlib.c (ZlibStreamSubcmd): [Bug 3590483]: Use a mechanism
for complex option resolution that has fewer problems with more
finicky compilers.
2012-11-26 Reinhard Max <[email protected]>
* unix/tclUnixSock.c: Factor out creation of the -sockname and
-peername lists from TcpGetOptionProc() to TcpHostPortList(). Make it
robust against implementations of getnameinfo() that error out if
reverse mapping fails instead of falling back to the numeric
representation.
2012-11-20 Donal K. Fellows <[email protected]>
* generic/tclBinary.c (BinaryDecode64): [Bug 3033307]: Corrected
handling of trailing whitespace when decoding base64. Thanks to Anton
Kovalenko for reporting, and Andy Goth for the fix and tests.
2012-11-19 Donal K. Fellows <[email protected]>
* generic/tclExecute.c (INST_STR_RANGE_IMM): [Bug 3588366]: Corrected
implementation of bounds restriction for end-indexed compiled [string
range]. Thanks to Emiliano Gavilan for diagnosis and fix.
2012-11-15 Jan Nijtmans <[email protected]>
IMPLEMENTATION OF TIP#416
New Options for 'load': -global and -lazy
* generic/tcl.h:
* generic/tclLoad.c
* unix/tclLoadDl.c
* unix/tclLoadDyld.c
* tests/load.test
* doc/Load.3
* doc/load.n
2012-11-14 Donal K. Fellows <[email protected]>
* unix/tclUnixFCmd.c (TclUnixOpenTemporaryFile): [Bug 2933003]: Factor
out all the code to do temporary file creation so that it is possible
to make it correct in one place. Allow overriding of the back-stop
default temporary file location at compile time by setting the
TCL_TEMPORARY_FILE_DIRECTORY #def to a string containing the directory
name (defaults to "/tmp" as that is the most common default).
2012-11-13 Joe Mistachkin <[email protected]>
* win/tclWinInit.c: also search for the library directory (init.tcl,
encodings, etc) relative to the build directory associated with the
source checkout.
2012-11-10 Miguel Sofer <[email protected]>
* generic/tclBasic.c: re-enable bcc-tailcall, after fixing an
* generic/tclExecute.c: infinite loop in the TCL_COMPILE_DEBUG mode
2012-11-07 Kevin B. Kenny <[email protected]>
* library/tzdata/Africa/Casablanca:
* library/tzdata/America/Araguaina:
* library/tzdata/America/Bahia:
* library/tzdata/America/Havana:
* library/tzdata/Asia/Amman:
* library/tzdata/Asia/Gaza:
* library/tzdata/Asia/Hebron:
* library/tzdata/Asia/Jerusalem:
* library/tzdata/Pacific/Apia:
* library/tzdata/Pacific/Fakaofo:
* library/tzdata/Pacific/Fiji: Import tzdata2012i.
2012-11-06 Donal K. Fellows <[email protected]>
* library/http/http.tcl (http::Finish): [Bug 3581754]: Ensure that
callbacks are done at most once to prevent problems with timeouts on a
keep-alive connection (combined with reentrant http package use)
causing excessive stack growth. Not a fix for the underlying problem,
but ensures that pain will be mostly kept away from users.
Bump http package to 2.8.5.
2012-11-05 Donal K. Fellows <[email protected]>
Added bytecode compilation of many Tcl commands. Some of these are
total compilations and some are only partial (i.e., only compile in
some cases). The (sub-)commands affected are:
* array: exists, set, unset
* dict: create, exists, merge
* format: (simple cases only)
* info: commands, coroutine, level, object
* info object: class, isa object, namespace
* namespace: current, code, qualifiers, tail, which
* regsub: (only cases convertable to simple [string map])
* self: (only no-argument and [self object] cases)
* string: first, last, map, range
* tailcall:
* yield:
[This was work originally done on the 'dkf-compile-misc-info' branch.]
2012-11-05 Jan Nijtmans <[email protected]>
IMPLEMENTATION OF TIP#413
Align the [string trim] and [string is space] commands, such that
[string trim] by default trims all characters for which [string is
space] returns 1, augmented with the NUL character.
* generic/tclUtf.c: Add NEL, BOM and two more characters to [string is
space]
* generic/tclCmdMZ.c: Modify [string trim] for Unicode modifications.
* generic/regc_locale.c: Regexp engine must match [string is space]
* doc/string.n
* tests/string.test
***POTENTIAL INCOMPATIBILITY***
Code that relied on characters not previously trimmed being not
removed will notice a difference; it is believed that this is rare,
but a workaround to get the behavior in Tcl 8.5 is to use " \t\n\r" as
an explicit trim set.
2012-10-31 Jan Nijtmans <[email protected]>
* win/Makefile.in: Dde version number to 1.4.0, ready for Tcl 8.6.0rc1
* win/makefile.vc
* win/tclWinDde.c
* library/dde/pkgIndex.tcl
* tests/winDde.test
2012-10-24 Donal K. Fellows <[email protected]>
* generic/tclCompCmds.c (TclCompileDictUnsetCmd): Added compilation of
the [dict unset] command (for scalar var in LVT only).
2012-10-23 Jan Nijtmans <[email protected]>
* generic/tclInt.h: Add "flags" parameter from Tcl_LoadFile to
* generic/tclIOUtil.c: to various internal functions, so these
* generic/tclLoadNone.c: flags are available through the whole
* unix/tclLoad*.c: filesystem for (future) internal use.
* win/tclWinLoad.c:
2012-10-17 Miguel Sofer <[email protected]>
* generic/tclBasic.c (TclNRCoroutineObjCmd): insure that numlevels
are properly set, fix bug discovered by dkf and reported at
http://code.activestate.com/lists/tcl-core/12213/
2012-10-16 Donal K. Fellows <[email protected]>
IMPLEMENTATION OF TIP#405
New commands for applying a transformation to the elements of a list
to produce another list (the [lmap] command) and to the mappings of a
dictionary to produce another dictionary (the [dict map] command). In
both cases, a [continue] will cause the skipping of an element/pair,
and a [break] will terminate the construction early and successfully.
* generic/tclCmdAH.c (Tcl_LmapObjCmd, TclNRLmapCmd): Implementation of
the new [lmap] command, based on (and sharing much of) [foreach].
* generic/tclDictObj.c (DictMapNRCmd): Implementation of the new [dict
map] subcommand, based on (and sharing much of) [dict for].
* generic/tclCompCmds.c (TclCompileLmapCmd, TclCompileDictMapCmd):
Compilation engines for [lmap] and [dict map].
IMPLEMENTATION OF TIP#400
* generic/tclZlib.c: Allow the specification of a compression
dictionary (a binary blob used to seed the compression engine) in both
streams and channel transformations. Also some reorganization to allow
for getting gzip header dictionaries and controlling buffering levels
in channel transformations (allowing a trade-off between formal
correctness and speed).
(Tcl_ZlibStreamSetCompressionDictionary): New C API to allow setting
the compression dictionary without using a Tcl script.
2012-10-14 Jan Nijtmans <[email protected]>
* generic/tclDictObj.c: [Bug 3576509]: ::tcl::Bgerror crashes with
* generic/tclEvent.c: invalid arguments. Better fix, which helps
for all Tcl_DictObjGet() calls in Tcl's source code.
2012-10-13 Jan Nijtmans <[email protected]>
* generic/tclEvent.c: [Bug 3576509]: tcl::Bgerror crashes with invalid
arguments
2012-10-06 Jan Nijtmans <[email protected]>
* win/Makefile.in: [Bug 2459774]: tcl/win/Makefile.in not compatible
with msys 0.8.
2012-10-03 Don Porter <[email protected]>
* generic/tclIO.c: When checking for std channels being closed,
compare the channel state, not the channel itself so that stacked
channels do not cause trouble.
2012-09-26 Reinhard Max <[email protected]>
* generic/tclIOSock.c (TclCreateSocketAddress): Work around a bug in
getaddrinfo() on OSX that caused name resolution to fail for [socket
-server foo -myaddr localhost 0].
2012-09-20 Jan Nijtmans <[email protected]>
* win/configure.in: New import libraries for zlib 1.2.7, usable for
* win/configure: all win32/win64 compilers
* compat/zlib/win32/zdll.lib:
* compat/zlib/win64/zdll.lib:
* win/tclWinDde.c: [FRQ 3527238]: Full unicode support for dde. Dde
version is now 1.4.0b2.
***POTENTIAL INCOMPATIBILITY***
2012-09-19 Jan Nijtmans <[email protected]>
* generic/tcl.h: Make Tcl_Interp a fully opaque structure if
TCL_NO_DEPRECATED is set (TIP 330 and 336).
* win/nmakehlp.c: Let "nmakehlp -V" start searching digits after the
found match (suggested by Harald Oehlmann).
2012-09-19 Harald Oehlmann <[email protected]>
IMPLEMENTATION OF TIP#412.
* library/msgcat/msgcat.tcl: dynamic locale change with mc file
* library/clock.tcl: load on locale change.
clock uses new msgcat features.
2012-09-07 Harald Oehlmann <[email protected]>
*** 8.6b3 TAGGED FOR RELEASE ***
IMPLEMENTATION OF TIP#404.
* library/msgcat/msgcat.tcl: [FRQ 3544988]: New commands [mcflset]
* library/msgcat/pkgIndex.tcl: and [mcflmset] to set mc entries with
* unix/Makefile.in: implicit message file locale.
* win/Makefile.in: Bump to 1.5.0.
2012-08-25 Donal K. Fellows <[email protected]>
* library/msgs/uk.msg: [Bug 3561330]: Use the correct full name of
March in Ukrainian. Thanks to Mikhail Teterin for reporting.
2012-08-23 Jan Nijtmans <[email protected]>
* generic/tclBinary.c: [Bug 3496014]: Unecessary memset() in
Tcl_SetByteArrayObj().
2012-08-20 Don Porter <[email protected]>
* generic/tclPathObj.c: [Bug 3559678]: Fix bad filename normalization
when the last component is the empty string.
2012-08-20 Jan Nijtmans <[email protected]>
* win/tclWinPort.h: Remove wrapper macro for ntohs(): unnecessary,
because it doesn't require an initialized winsock_2 library. See:
<http://msdn.microsoft.com/en-us/library/windows/desktop/ms740075%28v=vs.85%29.aspx>
* win/tclWinSock.c:
* generic/tclStubInit.c:
2012-08-17 Jan Nijtmans <[email protected]>
* win/nmakehlp.c: Add "-V<num>" option, in order to be able to detect
partial version numbers.
2012-08-15 Jan Nijtmans <[email protected]>
* win/buildall.vc.bat: Only build the threaded builds by default
* win/rules.vc: Some code cleanup
2010-08-13 Stuart Cassoff <[email protected]>
* unix/tclUnixCompat.c: [Bug 3555454]: Rearrange a bit to quash
'declared but never defined' compiler warnings.
2012-08-13 Jan Nijtmans <[email protected]>
* compat/zlib/win64/zlib1.dll: Add 64-bit build of zlib1.dll, and use
* compat/zlib/win64/zdll.lib: it for the dynamic mingw-w64 build.
* win/Makefile.in:
* win/configure.in:
* win/configure:
2012-08-09 Reinhard Max <[email protected]>
* tests/http.test: Fix http-3.29 for machines without IPv6 support.
2010-08-08 Stuart Cassoff <[email protected]>
* unix/tclUnixCompat.c: Change one '#ifdef' to '#if defined()' for
improved consistency within the file.
2012-08-08 Jan Nijtmans <[email protected]>
* generic/tclfileName.c: [Bug #1536227]: Cygwin network pathname
* tests/fileName.test: support
2012-08-07 Don Porter <[email protected]>
* generic/tclIOUtil.c: [Bug 3554250]: Overlooked one field of cleanup
in the thread exit handler for the filesystem subsystem.
2012-07-31 Donal K. Fellows <[email protected]>