-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog.2008
3796 lines (2745 loc) · 137 KB
/
ChangeLog.2008
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
2008-12-31 Don Porter <dgp@users.sourceforge.net>
* unix/Makefile.in: Set TCLLIBPATH in SHELL_ENV so that targets
like `make shell` have access to builds of bundled packages.
2008-12-28 Donal K. Fellows <dkf@users.sf.net>
* generic/tclZlib.c (Tcl_ZlibStreamPut): Plug a memory leak.
2008-12-27 Donal K. Fellows <dkf@users.sf.net>
* generic/tclZlib.c (ZlibStreamCmd): Fix compilation consistency. [Bug
* generic/tcl.decls: 2470237]
* generic/tclZlib.c (Tcl_ZlibStreamGet): Corrected the semantics of
this function to be useful to the PNG implementation. If the argument
object is empty, this gives the previous semantics.
(Tcl_ZlibStreamChecksum): Corrected name to be less misleading; it
only produced Adler-32 checksums when the stream was processing the
right type of compressed data format.
(Tcl_ZlibAdler32, Tcl_ZlibCRC32): Corrected types so that they work
naturally with the results of Tcl_GetByteArrayFromObj().
*** POTENTIAL INCOMPATIBILITY *** for all above changes, but very
unlikely to be difficult for anyone to deal with.
2008-12-26 Donal K. Fellows <dkf@users.sf.net>
* generic/tcl.decls: Tidy up the commenting style, adding markers for
each of the big release points under TCT stewardship and noting the
general purpose of each TIP that added C API. Overall effect is to
make this file much more informative to read without having to spend
effort correlating with TIPs and ChangeLogs.
2008-12-23 Jan Nijtmans <nijtmans@users.sf.net>
* win/Makefile.in: Fix build of zlib objects with msvc
* win/tcl.m4:
* win/configure: autoconf-2.59
2008-12-23 Donal K. Fellows <dkf@users.sf.net>
* win/Makefile.in: Handle file extensions correctly. [Bug 2459725]
2008-12-22 Pat Thoyts <patthoyts@users.sourceforge.net>
*** 8.6b1 TAGGED FOR RELEASE ***
* win/makefile.vc: Ensure pkgs directories are suitable and quote the
paths. [Bug 2458395]
2008-12-22 Joe Mistachkin <joe@mistachkin.com>
* tools/man2help2.tcl: Added support for "\(mi" nroff macro. [Bug
2330040]
2008-12-22 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/makefile.vc: Support the pkgs tree in the NMAKE builds.
2008-12-21 Daniel Steffen <das@users.sourceforge.net>
* unix/Makefile.in: Fix broken build of bundled packages when path
to build dir contains spaces by switching to
relative paths to toplevel build dir.
* unix/configure.in: Preserve configure environment variables for
sub-configures of bundled packages; reuse
configure cache file for sub-configures.
* unix/configure: autoconf-2.59
2008-12-21 Donal K. Fellows <dkf@users.sf.net>
* doc/TclZlib.3: Fix minor typo. [Bug 2455165]
2008-12-20 Kevin B. Kenny <kennykb@acm.org>
* win/Makefile.in: Renamed the static library libtcl86s.a to
* win/configure.in: have a name distinct from the import library
libtcl86.a. This renaming dodges an ancient
bug in the Makefile revealed by the last
commit where the $(TCL_LIB_FILE) rule can
fire to try to build the static library in a
--enable-shared build (and create a static
library that subsequently fails to link).
Revised the zlib objects so that they are
built directly into the build dir, without
building an intermediate static library.
*** POTENTIAL INCOMPATIBILITY *** for
embedders who link to the static library, but
I couldn't figure out how to sort this out
any other way.
* win/configure: Autoconf 2.59
2008-12-20 Donal K. Fellows <dkf@users.sf.net>
* win/Makefile.in: Minor updates to make building work better with
msys on Windows. (Apparently the gcc used doesn't like a / at the end
of a -I argument...)
2008-12-20 Don Porter <dgp@users.sourceforge.net>
* changes: Updates for 8.6b1 release.
2008-12-20 Daniel Steffen <das@users.sourceforge.net>
* unix/Makefile.in: Make package install directory of bundled
* unix/configure.in: packages configurable via PACKAGE_DIR makefile
variable (set to platform-specific default).
* unix/Makefile.in (*-packages): Ensure toplevel targets fail if
sub-make/configure fails; fix quoting when
builddir path contains spaces.
* macosx/GNUmakefile: Add install-packages to install targets.
* unix/configure: autoconf-2.59
2008-12-19 Don Porter <dgp@users.sourceforge.net>
* doc/NRE.3: Formatting errors found by `make html`
* doc/Tcl_Main.3:
* doc/zlib.n:
* tests/chanio.test: Add missing [removeFile] cleanups.
* tests/io.test: Add missing [close $f] to io-73.2.
* unix/Makefile.in: Update `make dist' target to include the files
from the compat/zlib directory as well as all the bundled packages
found under the pkgs directory, according to their individual `make
dist' targets. Change includes breaking a `configure-packages' target
out of the `packages` target.
* README: Bump version number to 8.6b1
* generic/tcl.h:
* library/init.tcl:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
2008-12-19 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclInt.decls: CONSTify TclGetLoadedPackages second param
* generic/tclLoad.c
* generic/tclIntDecls.h (regenerated)
2008-12-19 Kevin Kenny <kennykb@acm.org>
* generic/tclExecute.c: Fix compile warnings when --enable-symbols=all
* win/configure.in:
* win/Makefile.in: Added build of packages in the 'pkgs/' directory.
* win/configure: Autoconf 2.59
2008-12-19 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/makefile.vc: Added build of compat/zlib
2008-12-18 Andreas Kupries <andreask@activestate.com>
* generic/tclIO.c (Tcl_CloseEx, CloseWrite, CloseChannelPart)
(ChanCloseHalf): Rewrite the half-close to properly flush the channel,
like is done for a full close, going through FlushChannel, and using
the flag BG_FLUSH_SCHEDULED (async flush during close). New functions
CloseWrite, CloseChannelPart, new flag CHANNEL_CLOSEDWRITE.
* tests/chanio.test (chanio-28.[67]): Reactivated these tests.
Replaced tclsh -> [interpreter] to get correct executable for the pipe
process, and added after cancel to kill the fail timers when we are
done. Removed the explicits calls to [flush], now that [close] handles
this correctly.
2008-12-18 Don Porter <dgp@users.sourceforge.net>
* tests/chanio.test: Replaced [chan event] handlers that returned
TCL_RETURN return code, with more conventional ones that return TCL_OK
to suppress otherwise strange writes of outdated $::errorInfo values
to stderr. [Bug 2444274]
* generic/tclExecute.c: Disabled apparently faulty assertion. [Bug
2415422]
2008-12-18 Donal K. Fellows <dkf@users.sf.net>
* unix/configure.in, unix/Makefile.in: Autoconf wizardry.
* compat/zlib/*: Import of zlib 1.2.3. The license is directly
compatible with Tcl's. This import omits the obsolete and contributed
parts (i.e. selected directories) and the supplied examples.
* generic/tclZlib.c: First implementation of the compressing and
* doc/zlib.n: decompressing channel transformations.
* tests/zlib.test (zlib-8.*):
2008-12-18 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tcl.decls: VOID -> void
* generic/tclInt.decls:
* compat/dlfcn.h:
* generic/tclDecls.h: (regenerated)
* generic/tclIntDecls.h:
2008-12-18 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
TIP #332 IMPLEMENTATION - Half-Close for Bidirectional Channels
* doc/close.n, generic/tclIO.c, generic/tclIOCmd.c:
* unix/tclUnixChan.c, unix/tclUnixPipe.c, win/tclWinSock.c:
* generic/tcl.decls, generic/tclDecls.h, generic/tclStubInit.c:
* tests/chan.test, tests/chanio.test, tests/ioCmd.test:
2008-12-17 Donal K. Fellows <dkf@users.sf.net>
* doc/SetChanErr.3: General improvements in nroff rendering and some
corrections to language issues.
2008-12-17 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclResult.c: Move variable "length" inside if()
* generic/tclStringObj.c: Don't use ckfree((void *)...) but
* generic/tclVar.c: ckfree((char *)...)
* generic/tclZlib.c
* generic/tclBasic.c
2008-12-17 Donal K. Fellows <dkf@users.sf.net>
* tests/namespace.test (namespace-28.1): Make tests not
* tests/namespace-old.test (namespace-old-9.5): dependent on the
global namespace's particular imports. [Bug 2433936]
2008-12-17 Don Porter <dgp@users.sourceforge.net>
* unix/Makefile.in: Modify the distclean-packages target so that
empty build directories are deleted.
* unix/Makefile.in: Add build support for collections of TEA
* unix/configure.in: packages found under the pkgs directory.
[Patch 1163406]. Still needs porting to Windows.
* unix/configure: autoconf-2.59
2008-12-17 Donal K. Fellows <dkf@users.sf.net>
* generic/tcl.h, generic/tclZlib.c: Removed undocumented flag.
2008-12-16 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclThreadTest.c: Eliminate -Wwrite-strings warnings in
--enable-threads build.
* generic/tclExecute.c: Use TclNewLiteralStringObj()
* unix/tclUnixFCmd.c: Use TclNewLiteralStringObj()
* win/tclWinFCmd.c: Use TclNewLiteralStringObj()
2008-12-16 Donal K. Fellows <dkf@users.sf.net>
TIP #329 IMPLEMENTATION
* tests/error.test: Tests for the new commands.
* doc/throw.n, doc/try.n: Documentation of the new commands.
* library/init.tcl (throw, try): Implementation of commands documented
in TIP. This implementation is in Tcl and is a stop-gap until
higher-performance ones can be written.
2008-12-16 Don Porter <dgp@users.sourceforge.net>
* generic/tcl.h: Add TIP 338 routines to stub table.
* generic/tcl.decls: [Bug 2431338]
* generic/tclDecls.h: make genstubs
* generic/tclStubInit.c:
2008-12-15 Donal K. Fellows <dkf@users.sf.net>
* generic/tclExecute.c (TEBC:INST_DICT_GET): Make sure that the result
is empty when generating an error message. [Bug 2431847]
2008-12-15 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* generic/tclBinary.c: Redefine non-strict decoding to ignore only
* doc/binary.n: whitespace. [Bug 2380293]
* tests/binary.test:
2008-12-15 Don Porter <dgp@users.sourceforge.net>
* doc/AddErrInfo.3: Documented Tcl_(Set|Get)ErrorLine (TIP 336).
* doc/CrtCommand.3: Various other documentation updates to
* doc/CrtInterp.3: reflect the lack of access to Tcl_Interp
* doc/Interp.3: fields by default.
* doc/SetResult.3:
* doc/tcl.decls:
TIP #338 IMPLEMENTATION
* doc/AppInit.c: Made routines Tcl_SetStartupScript and
* doc/Tcl_Main.3: Tcl_GetStartupScript public. Removed all
* generic/tcl.h: internal stub access to Tcl*Startup* routines,
* generic/tclInt.decls: and removed their implementations. Their
* generic/tclMain.c: function can now be completely performed with
the new public interface.
*** POTENTIAL INCOMPATIBILITY for callers of the internal
Tcl*Startup* routines. ***
* generic/tclIntDecls.h: make genstubs
* generic/tclStubInit.c:
* generic/tclDecls.h:
2008-12-14 Donal K. Fellows <dkf@users.sf.net>
* tests/zlib.test: Added constraint so that tests don't fail where
they cannot work due to zlib support being missing.
* unix/configure.in, win/configure.in: Improve the autodetection code.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Remove the assumption of the presence
of zlib library on Windows.
* win/makefile.vc, win/makefile.bc: Add support for building tclZlib.o
but only in stubbed-out mode for now.
2008-12-13 Donal K. Fellows <dkf@users.sf.net>
* doc/TclZlib.3: Basic documentation of the C-level API.
* doc/zlib.n: Substantially improve documentation of Tcl-level API.
* generic/tclZlib.c (ZlibCmd): Flesh out the argument parsing for the
command to integrate with channels.
2008-12-12 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclZlib.c (Tcl_ZlibInflate): Change PATH_MAX to MAXPATHLEN,
since MSVC doesn't have PATH_MAX.
* doc/clock.n: Document new DST fallback rules.
* library/clock.tcl (ProcessPosixTimeZone): Fix time change in Eastern
Europe (not 3:00 but 4:00 local time). [Bug 2207436]
2008-12-12 Donal K. Fellows <dkf@users.sf.net>
* generic/tclZlib.c, unix/configure.in: Added stubs to use when the
version of zlib is not capable enough, and automagic to detect when
that is the case. [Bug 2421265]
2008-12-12 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* unix/tclUnixNotfy.c: Fix missing CLOEXEC on internal pipes [2417695]
* unix/tclUnixPipe.c: Fix missing CLOEXEC on [chan pipe] fds.
2008-12-12 Donal K. Fellows <dkf@users.sf.net>
* generic/tclZlib.c (Tcl_ZlibDeflate): Add a bit of extra space for
the gzip header. [Bug 2419061]
(Tcl_ZlibInflate): Ensure that gzip header extraction is done
correctly.
2008-12-12 Kevin Kenny <kennykb@acm.org>
TIP #322 IMPLEMENTATION
* doc/NRE.3 (new file): Added documentation of the published API for
Non-Recursive Evaluation (NRE).
2008-12-11 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclZlib.c: Eliminate warning: different 'const' qualifiers
with msvc compiler. A few more 'const' optimizations.
* win/tcl.m4: Fix Windows build (msvc) for TIP #234 implementation
* win/Makefile.in:
* win/configure:
2008-12-11 Andreas Kupries <andreask@activestate.com>
* generic/tclIO.c (SetChannelFromAny and related): Modified the
* tests/io.test: internal representation of the tclChannelType to
contain not only the ChannelState pointer, but also a reference to
the interpreter it was made in. Invalidate and recompute the
internal representation when it is used in a different interpreter,
like cmdName intrep's. Added testcase. [Bug 2407783]
2008-12-11 Donal K. Fellows <dkf@users.sf.net>
* generic/tclZlib.c (ConvertError): Factor out code to turn zlib
errors into Tcl errors.
* doc/zlib.n: Added a start at the documentation. Still very rough.
2008-12-11 Jan Nijtmans <nijtmans@users.sf.net>
* win/Makefile.in: Fix Windows build (mingw) for TIP #234
implementation (additionally, first make sure that zlib is available,
and rename the standard zdll.lib to libz.a, but at least this works so
far).
2008-12-11 Donal K. Fellows <dkf@users.sf.net>
* tests/zlib.test: Start of test suite for zlib command.
2008-12-11 Jan Nijtmans <nijtmans@users.sf.net>
* library/clock.tcl (ProcessPosixTimeZone): Fallback to European time
zone DST rules, when the timezone is between 0 and -12. [Bug 2207436]
* tests/clock.test (clock-52.[23]): Test cases for [Bug 2207436]
2008-12-11 Donal K. Fellows <dkf@users.sf.net>
TIP #234 IMPLEMENTATION
* generic/tclZlib.c: A very preliminary hack at an interface to the
zlib library, based on code from Pascal Scheffers.
WARNING! The C API may be subect to change without much warning! USE
AT YOUR OWN RISK!
2008-12-10 Kevin B. Kenny <kennykb@acm.org>
* library/tzdata/*: Update from Olson's tzdata2008i.
2008-12-10 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
TIP #343 IMPLEMENTATION - A Binary Specifier for [format/scan]
* doc/format.n
* doc/scan.n
* generic/tclInt.h
* generic/tclScan.c
* generic/tclStrToD.c
* generic/tclStringObj.c
* tests/format.test
* tests/scan.test
2008-12-10 Donal K. Fellows <dkf@users.sf.net>
TIP #341 IMPLEMENTATION
* generic/tclDictObj.c (DictFilterCmd): Made key and value filtering
* tests/dict.test, doc/dict.n: accept arbitrary numbers of
glob arguments.
2008-12-09 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclInt.decls: Restore source and binary compatibility for
TIP #337 implementation. (When it is _that_
simple, there is no excuse not to do it! :-))
* generic/tclIntDecls.h: make genstubs
* generic/tclStubInit.c:
2008-12-09 Don Porter <dgp@users.sourceforge.net>
TIP #337 IMPLEMENTATION
* doc/BackgdErr.3: Converted internal routine
* doc/interp.n: TclBackgroundException() into public routine
* generic/tcl.decls: Tcl_BackgroundException().
* generic/tclEvent.c:
* generic/tclInt.decls:
* generic/tclDecls.h: make genstubs
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
* generic/tclIO.c: Update callers.
* generic/tclIOCmd.c:
* generic/tclInterp.c:
* generic/tclTimer.c:
*** POTENTIAL INCOMPATIBILITY only for extensions using the converted
internal routine ***
2008-12-09 Donal K. Fellows <dkf@users.sf.net>
* generic/tclIO.c (ChanClose,ChanRead,...): Factored out some of the
code to connect to channel drivers that was common in multiple
locations so as to make code more readable.
2008-12-06 Donal K. Fellows <dkf@users.sf.net>
* generic/tclCmdAH.c (FileTempfileCmd): Force temporary files to be
created in the native filesystem. Attempting to provide a template
that puts it elsewhere will result in the directory part of the
template being ignored. Partial address of [Bug 2388866] concerns.
2008-12-05 Donal K. Fellows <dkf@users.sf.net>
TIP #335 IMPLEMENTATION
* generic/tclBasic.c (Tcl_InterpActive): Added function for working
* doc/CrtInterp.3: out if an interp is in use.
TIP #307 IMPLEMENTATION
* generic/tclResult.c (Tcl_TransferResult): Renamed function from
* generic/tcl.decls: TclTransferResult. Added
* doc/SetResult.3: to public stubs table.
2008-12-04 Don Porter <dgp@users.sourceforge.net>
* generic/tclPathObj.c (Tcl_FSGetNormalizedPath): Added another
flag value TCLPATH_NEEDNORM to mark those intreps which need more
complete normalization attention for correct results. [Bug 2385549]
2008-12-03 Donal K. Fellows <dkf@users.sf.net>
* win/tclWinPipe.c (TclpOpenTemporaryFile): Avoid an infinite loop due
to GetTempFileName/CreateFile interaction. [Bug 2380318]
2008-12-03 Don Porter <dgp@users.sourceforge.net>
* generic/tclFileName.c (DoGlob): One of the Tcl_FSMatchInDirectory
calls did not have its return code checked. This caused error messages
returned by some Tcl_Filesystem drivers to be swallowed.
2008-12-02 Don Porter <dgp@users.sourceforge.net>
TIP #336 IMPLEMENTATION
* generic/tcl.decls: New routines Tcl_(Get|Set)ErrorLine.
* generic/tcl.h: Dropped default access to interp->errorLine.
* generic/tclCmdAH.c: Restore it with -DUSE_INTERP_ERRORLINE.
* generic/tclCmdMZ.c: Updated callers.
* generic/tclDictObj.c:
* generic/tclIOUtil.c:
* generic/tclNamesp.c:
* generic/tclOOBasic.c:
* generic/tclOODefinedCmds.c:
* generic/tclOOMethod.c:
* generic/tclProc.c:
* generic/tclResult.c:
*** POTENTIAL INCOMPATIBILITY for C code directly using the
interp->errorLine field ***
* generic/tclDecls.h: make genstubs
* generic/tclStubInit.c:
2008-12-02 Andreas Kupries <andreask@activestate.com>
* generic/tclIO.c (TclFinalizeIOSubsystem): Replaced Alexandre
Ferrieux's first patch for [Bug 2270477] with a gentler version, also
supplied by him.
2008-12-01 Don Porter <dgp@users.sourceforge.net>
* generic/tclParse.c: Coding standards fixups.
2008-12-01 Donal K. Fellows <dkf@users.sf.net>
* tests/cmdAH.test (cmdAH-32.6): Test was not portable; depended on a
C API function not universally available. [Bug 2371623]
2008-11-30 Kevin B. Kenny <kennykb@acm.org>
* library/clock.tcl (format, ParseClockScanFormat): Added a [string
map] to get rid of namespace delimiters before caching a scan or
format procedure. [Bug 2362156]
* tests/clock.test (clock-64.[12]): Added test cases for the bug that
was tickled by a namespace delimiter inside a format string.
2008-11-29 Donal K. Fellows <dkf@users.sf.net>
TIP #210 IMPLEMENTATION
* generic/tclCmdAH.c (FileTempfileCmd):
* unix/tclUnixFCmd.c (TclpOpenTemporaryFile, DefaultTempDir):
* win/tclWinPipe.c (TclpOpenTemporaryFile):
* doc/file.n, tests/cmdAH.test: Implementation of [file tempfile]. I
do not claim that this is a brilliant implementation, especially on
Windows, but it covers the main points.
* generic/tclThreadStorage.c: General revisions to make code clearer
and more like the style used in the rest of the core. Includes adding
more comments and explanation of what is going on. Reduce the amount
of locking required.
2008-11-27 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* generic/tcl.h: Alternate fix for [Bug 2251175]: missing
* generic/tclCompile.c: backslash substitution on expanded literals.
* generic/tclParse.c:
* generic/tclTest.c:
* tests/parse.test:
2008-11-26 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclIndexObj.c: Eliminate warning: unused variable
* generic/tclTest.c: A few more (harmless) Tcl_SetResult
eliminations.
2008-11-26 Kevin B. Kenny <kennykb@acm.org>
* library/tclIndex: Removed reference to no-longer-extant procedure
'tclLdAout'.
* doc/library.n: Corrected mention of 'auto_exec' to 'auto_execok'.
[Patch 2114900] thanks to Stuart Cassoff <stwo@users.sf.net>
2008-11-25 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclIndexObj.c: Eliminate 3 calls to Tcl_SetResult, as
* generic/tclIO.c: examples how it should have been done.
* generic/tclTestObj.c: purpose: contribute in the TIP #340
discussion.
2008-11-25 Andreas Kupries <andreask@activestate.com>
* generic/tclIO.c (TclFinalizeIOSubsystem): Applied Alexandre
Ferrieux's patch for [Bug 2270477] to prevent infinite looping during
finalization of channels not bound to interpreters.
2008-11-25 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclTest.c: Don't assume that Tcl_SetResult sets
interp->result, especially not in a DString test, in preparation for
TIP #340
2008-11-24 Donal K. Fellows <dkf@users.sf.net>
* tools/tcltk-man2html.tcl: Improvements to tackle tricky aspects of
cross references and new entities to map. [Bug 2330040]
2008-11-19 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclThreadTest.c: Convert Tcl_SetResult(......, TCL_DYNAMIC)
to Tcl_SetResult(......, TCL_VOLATILE), in preparation for TIP #340
2008-11-17 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tcl.decls: Fix signature and implementation of
* generic/tclDecls.h: Tcl_HashStats, such that it conforms to the
* generic/tclHash.c: documentation. [Bug 2308236]
* generic/tclVar.c:
* doc/Hash.3:
* generic/tclDictObj.c: Convert Tcl_SetResult call to
Tcl_SetObjResult.
2008-11-17 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* tests/for.test: Check for uncompiled-for-continue [Bug 2186888]
fixed earlier.
* generic/tcl.h: Fix [Bug 2251175]: missing backslash
* generic/tclCompCmds.c: substitution on expanded literals.
* generic/tclCompile.c
* generic/tclParse.c
* generic/tclTest.c
* tests/compile.test
* tests/parse.test
2008-11-16 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclTest.c: Replace two times Tcl_SetResult with
Tcl_SetObjResult, a little simplification in preparation for the TIP
#340 patch.
2008-11-13 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclInt.h: Rename static function FSUnloadTempFile to
* generic/tclIOUtil.c: TclFSUnloadTempFile, needed in tclLoad.c
* generic/tclLoad.c: Fixed [Bug 2269431]: Load of shared
objects leaves temporary files on windows.
2008-11-12 Pat Thoyts <patthoyts@users.sourceforge.net>
* tests/registry.test: Use HKCU to avoid requiring admin access for
registry testing on Vista/Server2008
2008-11-11 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclNamesp.c: Eliminate warning: passing arg 4 of
Tcl_SplitList from incompatible pointer type.
* win/tcl.m4: Reverted change from 2008-11-06 (was under the
impression that "-Wno-implicit-int" added an extra
warning)
* win/configure: (regenerated)
* unix/tcl.m4: Use -O2 as gcc optimization compiler flag, and get rid
of -Wno-implicit-int for UNIX.
* unix/configure: (regenerated)
2008-11-10 Andreas Kupries <andreask@activestate.com>
* doc/platform_shell.n: Fixed [Bug 2255235], reported by Ulrich
* library/platform/pkgIndex.tcl: Ring <uring@users.sourceforge.net>.
* library/platform/shell.tcl: Updated the LOCATE command in the
* library/tm.tcl: package 'platform::shell' to handle the new form
* unix/Makefile.in: of 'provide' commands generated by tm.tcl. Bumped
* win/Makefile.in: package to version 1.1.4. Added cross-references
to the relevant parts of the code to avoid future desynchronization.
2008-11-07 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tclInt.h: Applied [Patch 2215022] from Duoas to clean up
* generic/tclBinary.c: the binary ensemble initiailization code.
* generic/tclNamesp.c: Extends the TclMakeEnsemble to do
* doc/ByteArrObj.3: sub-ensembles from tables.
2008-11-06 Jan Nijtmans <nijtmans@users.sf.net>
* win/tcl.m4: Add "-Wno-implicit-int" flag for gcc, as on UNIX
* win/configure: (regenerated)
* generic/tclIO.c: Eliminate an 'array index out of bounds' warning
on HP-UX.
2008-11-04 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tclPort.h: Remove the ../win/ header dir as the build system
already has it, and it confuses builds when used with private headers
installed.
2008-11-01 Donal K. Fellows <dkf@users.sf.net>
* generic/tclOO.h (TCLOO_VERSION): Bump version of TclOO.
2008-10-31 Donal K. Fellows <dkf@users.sf.net>
* generic/tclOOBasic.c (TclOONRUpcatch): Reworked the code that does
* generic/tclOO.c (InitFoundation): class constructor handling so
that it is more robust and runs the constructor call in the context of
the caller of the class's constructor method. Needed because the
previously used code did not work at all after applying the fix below;
no Tcl existing command could reliably do what was needed any more.
* generic/tclOODefineCmds.c (GetClassInOuterContext): Rework and
factor out the code to resolve class names in definitions so that
classes are resolved from the perspective of the caller of the
[oo::define] command, rather than from the oo::define namespace! This
makes much code simpler by reducing how often fully-qualified names
are required (previously always in practice, so no back-compat issues
exist). [Bug 2200824]
2008-10-28 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclCompile.h: CONSTify TclDTraceInfo
* generic/tclBasic.c:
* generic/tclProc.c:
* generic/tclEnv.c: Eliminate some -Wwrite-strings warnings
* generic/tclLink.c:
2008-10-27 Don Porter <dgp@users.sourceforge.net>
* generic/tclEncoding.c: Use "iso8859-1" and not "identity" as
the default and original [encoding system] value. Since "iso8859-1" is
built in to the C source code for Tcl now, there's no availability
issue, and it has the good feature of "identity" that we must have
("bytes in" == "bytes out") without the bad feature of "identity"
("broken as designed") that makes us want to abandon it. [RFE 2008609]
*** POTENTIAL INCOMPATIBILITY for older releases of Tclkit and any
other code expecting a particular value for Tcl's default system
encoding ***
2008-10-24 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/http/http.tcl: Fixed a failure to read SHOUTcast streams
with the new 2.7 package. Introduced a new intial state as the first
response may not be HTTP*.
2008-10-23 Miguel Sofer <msofer@users.sf.net>
* generic/tclCmdAH.c (ForNextCallback): handle TCL_CONTINUE in the for
body. [Bug 2186888]
2008-10-22 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tcl.h: CONST -> const and white-spacing
* generic/tclCompile.h:
* generic/tclEncoding.c:
* generic/tclStubInit.c:
* generic/tclStubLib.c:
* generic/tcl.decls
* generic/tclInt.decls
* generic/tclTomMath.decls
* generic/tclDecls.h: (regenerated)
* generic/tclIntDecls.h: (regenerated)
* generic/tclIntPlatDecls.h: (regenerated)
* generic/tclOODecls.h: (regenerated)
* generic/tclOOIntDecls.h: (regenerated)
* generic/tclPlatDecls.h: (regenerated)
* generic/tclTomMathDecls.h: (regenerated)
* generic/tclIntDecls.h: (regenerated)
* tools/genStubs.tcl: CONST -> const and white-spacing
2008-10-19 Don Porter <dgp@users.sourceforge.net>
* generic/tclProc.c: Reset -level and -code values to defaults
after they are used. [Bug 2152286]
2008-10-19 Donal K. Fellows <dkf@users.sf.net>
* generic/tclBasic.c (TclInfoCoroutineCmd): Added code to make this
check for being invoked in a syntactically correct way.
* doc/info.n: Added documentation of [info coroutine].
* doc/prefix.n: Improved the documentation by fixing formatting,
adding good-practice recommendations and cross-references, etc.
2008-10-17 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclOO.decls: CONST -> const.
* generic/tclOODecls.h: (regenerated)
* generic/tclOOIntDecls.h: (regenerated)
2008-10-17 Andreas Kupries <andreask@activestate.com>
* generic/tclIORTrans.c (DeleteReflectedTransformMap): Removed debug
output in C++ comment.
2008-10-17 Don Porter <dgp@users.sourceforge.net>
* generic/tclCompile.h: Declare the internal tclInstructionTable to
* generic/tclExecute.c: simply be "const", not CONST86.
* generic/tclCmdAH.c: whitespace.
* generic/tclCmdIL.c: Uninitialized variable warning.
* generic/tclTest.c: const correctness warning.
2008-10-17 Donal K. Fellows <dkf@users.sf.net>
* doc/*: Many very small formatting fixes.
* doc/{glob,http,if}.n: More substantial reformatting for clarity.
* doc/split.n: Remove mention of defunct c.l.t.announce
2008-10-16 Jan Nijtmans <nijtmans@users.sf.net>
* generic/regc_locale.c: Add "const" to many internal const tables.
* generic/tclClock.c: No functional or API change.
* generic/tclCmdIL.c
* generic/tclConfig.c
* generic/tclDate.c
* generic/tclEncoding.c
* generic/tclEvent.c
* generic/tclExecute.c
* generic/tclFileName.c
* generic/tclGetDate.y
* generic/tclInterp.c
* generic/tclIO.c
* generic/tclIOCmd.c
* generic/tclIORChan.c
* generic/tclIORTrans.c
* generic/tclLoad.c
* generic/tclObj.c
* generic/tclOOBasic.c
* generic/tclOOCall.c
* generic/tclOOInfo.c
* generic/tclPathObj.c
* generic/tclPkg.c
* generic/tclResult.c
* generic/tclStringObj.c
* generic/tclTest.c
* generic/tclTestObj.c
* generic/tclThreadTest.c
* generic/tclTimer.c
* generic/tclTrace.c
* macosx/tclMacOSXFCmd.c
* win/cat.c
* win/tclWinInit.c
* win/tclWinTest.c
2008-10-16 Don Porter <dgp@users.sourceforge.net>
* library/init.tcl: Revised [unknown] so that it carefully
preserves the state of the ::errorInfo and ::errorCode variables at
the start of auto-loading and restores that state before the
autoloaded command is evaluated. [Bug 2140628]
2008-10-15 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclInt.h: Add "const" to many internal const tables, so
* generic/tclBinary.c: those will be put by the C-compiler in the
* generic/tclCompile.c: TEXT segment in stead of the DATA segment.
* generic/tclDictObj.c: This makes those tables sharable in shared
* generic/tclHash.c: libraries.
* generic/tclListObj.c:
* generic/tclNamesp.c:
* generic/tclObj.c:
* generic/tclProc.c:
* generic/tclRegexp.c:
* generic/tclStringObj.c:
* generic/tclUtil.c:
* generic/tclVar.c:
2008-10-14 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclCmdAH.c: Fix minor compiler warnings when compiling
* generic/tclCmdMZ.c: with -Wwrite-strings.
* generic/tclIndexObj.c:
* generic/tclProc.c:
* generic/tclStubLib.c:
* generic/tclUtil.c:
* win/tclWinChan.c:
* win/tclWinDde.c:
* win/tclWinInit.c:
* win/tclWinReg.c:
* win/tclWinSerial.c:
2008-10-14 Donal K. Fellows <dkf@users.sf.net>
* doc/binary.n: Formatting fix.
2008-10-14 Don Porter <dgp@users.sourceforge.net>
* README: Bump version number to 8.6a4
* generic/tcl.h:
* library/init.tcl:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
* generic/tclExecute.c: Fix compile warnings when --enable-symbols=all
* generic/tclCmdIL.c: Fix write to unallocated memory whenever
[lrepeat] returns an empty list.
2008-10-14 Donal K. Fellows <dkf@users.sf.net>
* doc/chan.n, doc/fconfigure.n: Added even more emphatic text to
direct people to the correct manual pages for specific channel types,
suitable for the hard-of-reading. Following discussion on tcl-core.
2008-10-13 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tclWinThrd.c (TclpThreadCreate): We need to initialize the
thread id variable to 0 as on 64 bit windows this is a pointer sized
field while windows only fills it with a 32 bit value. The result is
an inability to join the threads as the ids cannot be matched.
* generic/tclTest.c (TestNRELevels): Set array to the right size.
2008-10-13 Donal K. Fellows <dkf@users.sf.net>
* generic/tclOOInfo.c (InfoClassDestrCmd): Handle error case.
* generic/tclOOInt.h: Added macro magic to make things work with
Objective C. [Bug 2163447]
2008-10-12 Miguel Sofer <msofer@users.sf.net>
* generic/tclCompile.c: Fix bug in srcDelta encoding within ByteCodes.
The bug can only be triggered under conditions that cannot happen in
Tcl, but were met during development of L. Thanks go to Robert Netzer
for diagnosis and fix.
2008-10-10 Don Porter <dgp@users.sourceforge.net>
*** 8.6a3 TAGGED FOR RELEASE ***
* changes: Updates for 8.6a3 release.
2008-10-10 Donal K. Fellows <dkf@users.sf.net>
* generic/tclOODefineCmds.c (TclOODefineUnexportObjCmd)
(TclOODefineExportObjCmd): Corrected export/unexport record synthesis.
[Bug 2155658]
2008-10-08 Jan Nijtmans <nijtmans@users.sf.net>
* unix/tclUnixChan.c: Fix minor compiler warning.
* unix/tcl.m4: Fix for [Bug 2073255]
* unix/configure: Regenerated
2008-10-08 Miguel Sofer <msofer@users.sf.net>
* generic/tclBasic (TclInfoCoroutineCmd):
* tests/unsupported.test: Arrange for [info coroutine] to return {}
when a coroutine is running but the resume command has been deleted.
[Bug 2153080]
2008-10-08 Don Porter <dgp@users.sourceforge.net>
* generic/tclTrace.c: Corrected handling of errors returned by
variable traces so that the errorInfo value contains the original
error message. [Bug 2151707]
* generic/tclVar.c: Revised implementation of TclObjVarErrMsg so
that error message construction does not disturb an existing
iPtr->errorInfo that may be in progress.
2008-10-07 Donal K. Fellows <dkf@users.sf.net>
* doc/binary.n: Added better documentation of the [binary encode] and
[binary decode] subcommands.
2008-10-07 Miguel Sofer <msofer@users.sf.net>
TIP #327,#328 IMPLEMENTATIONS
* generic/tclBasic.c: Move [tailcall], [coroutine] and
* generic/tclCmdIL.c: [yield] out of ::tcl::unsupported
* tclInt.h:
* tests/info.test: and into global scope: TIPs #327
* tests/unsupported.test: and #328
2008-10-07 Donal K. Fellows <dkf@users.sf.net>
* doc/chan.n, doc/transchan.n: Documented the channel transformation
API of TIP #230.
2008-10-06 Pat Thoyts <patthoyts@users.sourceforge.net>
* tests/winFCmd.test: Fixed some erroneous tests on Vista+.
* generic/tclFCmd.c: Fix constness for msvc of last commit