-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.1999
2698 lines (2019 loc) · 88.5 KB
/
ChangeLog.1999
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
1999-12-22 Jeff Hobbs <[email protected]>
* changes: updated changes file
* tools/tclSplash.bmp: updated to show 8.3
1999-12-21 Jeff Hobbs <[email protected]>
* README:
* generic/tcl.h:
* mac/README:
* unix/configure.in:
* tools/tcl.wse.in:
* win/README.binary:
* win/configure.in: updated to patch level 8.3b1
* unix/Makefile.in: added -srcdir=... for 'make html'
* doc/Hash.3: fixed reference to ckfree [Bug: 3912]
* doc/RegExp.3: fixed calling params for Tcl_RegExecFromObj
* doc/open.n: fixed minor formatting errors
* doc/string.n: fixed minor formatting errors
* doc/lsort.n: added -unique docs
* tests/cmdIL.test:
* generic/tclCmdIL.c: added -unique option to lsort
* generic/tclThreadTest.c: changed thread ids to longs [Bug: 3902]
* mac/tclMacOSA.c: fixed applescript for I18N [Bug: 3644]
* win/mkd.bat:
* win/rmd.bat: removed necessity of tag.txt [Bug: 3874]
* win/tclWinThrd.c: changed CreateThread to _beginthreadex and
ExitThread to _endthreadex
1999-12-12 Jeff Hobbs <[email protected]>
* doc/glob.n:
* tests/fileName.test:
* generic/tclInt.decls:
* generic/tclInt.h:
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
* generic/tclEncoding.c:
* generic/tclFileName.c:
* mac/tclMacFile.c:
* unix/tclUnixFile.c:
* win/tclWinFile.c: enhanced the glob command with the new options
-types -path -directory and -join. Deprecated TclpMatchFiles with
TclpMatchFilesTypes, extended TclGlob and TclDoGlob and added
GlobTypeData structure. [Bug: 2363]
1999-12-10 Jeff Hobbs <[email protected]>
* tests/var.test:
* generic/tclCompile.c: fixed problem where setting to {} array
would intermittently not work. (Fontaine) [Bug: 3339]
* generic/tclCmdMZ.c:
* generic/tclExecute.c: optimized INST_TRY_CVT_TO_NUMERIC to
recognize boolean objects. (Spjuth) [Bug: 2815]
* tests/info.test:
* tests/parseOld.test:
* generic/tclCmdAH.c:
* generic/tclProc.c: changed Tcl_UplevelObjCmd (uplevel) and
Tcl_EvalObjCmd (eval) to use TCL_EVAL_DIRECT in the single arg
case as well, to take advantage of potential pure list input
optimization. This means that it won't get byte compiled though,
which should be acceptable.
* generic/tclBasic.c: made Tcl_EvalObjEx pure list object aware in
the TCL_EVAL_DIRECT case for efficiency.
* generic/tclUtil.c: made Tcl_ConcatObj pure list object aware,
and return a list object in that case [Bug: 2098 2257]
* generic/tclMain.c: changed Tcl_Main to not constantly reuse the
commandPtr object (interactive case) as it could be shared. (Fellows)
* unix/configure.in:
* unix/tcl.m4:
* unix/tclUnixPipe.c: removed checking for compatible vfork
function and use of the vfork function. Modern VM systems rarely
suffer any performance degradation when fork is used, and it
solves multiple problems with vfork. Users that still want vfork
can add -Dfork=vfork to the compile flags. [Bug: 942 2228 1312]
1999-12-09 Jeff Hobbs <[email protected]>
* win/aclocal.m4: made it just include tcl.m4
* doc/exec.n:
* doc/open.n:
* win/tclWin32Dll.c:
* win/tclWinChan.c:
* win/tclWinFCmd.c:
* win/tclWinInit.c:
* win/tclWinPipe.c:
* win/tclWinSock.c: removed all code that supported Win32s. It
was no longer officially supported, and likely didn't work anyway.
* win/makefile.vc: removed 16 bit stuff, cleaned up.
* win/tcl16.rc:
* win/tclWin16.c:
* win/winDumpExts.c: these files have been removed from the
source tree (no longer necessary to build)
1999-12-07 Jeff Hobbs <[email protected]>
* tests/io.test: removed 'knownBug' tests that were for
unsupported0, which is now fcopy (that already has tests)
* mac/tclMacPort.h: added utime.h include
* generic/tclDate.c:
* unix/Makefile.in: fixed make gendate to swap const with CONST
so it uses the Tcl defined CONST type [Bug: 3521]
* generic/tclIO.c: removed panic that could occur in FlushChannel
when a "blocking" channel would receive EAGAIN, instead treating
it the same as non-blocking. [Bug: 3773]
* generic/tclUtil.c: fixed Tcl_ScanCountedElement to not step
beyond the end of the counted string [Bug: 3336]
1999-12-03 Jeff Hobbs <[email protected]>
* doc/load.n: added note about NT's buggy handling of './' with
LoadLibrary
* library/http2.1/http.tcl: fixed error handling in http::Event
[Bug: 3752]
* tests/env.test: removed knownBug limitation from working test
* tests/all.tcl: ensured that ::tcltest::testsDirectory would be
set to an absolute path
* tests/expr-old.test:
* tests/parseExpr.test:
* tests/string.test:
* generic/tclGet.c:
* generic/tclInt.h:
* generic/tclObj.c:
* generic/tclParseExpr.c:
* generic/tclUtil.c:
* generic/tclExecute.c: added TclCheckBadOctal routine to enhance
error message checking for when users use invalid octal numbers
(like 08), as well as replumbed the Expr*Funcs with a new
VerifyExprObjType to simplify type handling. [Bug: 2467]
* tests/expr.test:
* generic/tclCompile.c: fixed 'bad code length' error for
'expr + {[incr]}' case, with new test case [Bug: 3736]
and seg fault on 'expr + {[error]}' (different cause) that
was caused by a correct optimization that didn't correctly
track how it was modifying the source string in the opt.
The optimization was removed, which means that:
expr 1 + {[string length abc]}
will be not be compiled inline as before, but this should be
written:
expr {1 + [string length abc]}
which will be compiled inline for speed. This prevents
expr 1 + {[mindless error]}
from seg faulting, and only affects optimizations for
degenerate cases [Bug: 3737]
1999-12-01 Scott Redman <[email protected]>
* generic/tcl.decls :
* generic/tclMain.c :
* unix/tclAppInit.c:
* win/tclAppInit.c: Added two new internal functions,
TclSetStartupScriptFileName() and TclGetStartupScriptFileName()
and added hooks into the main() code for supporting TclPro and
other "big" shells more easily without requiring a copy of the
main() code.
* generic/tclEncoding.c:
* generic/tclEvent.c: Moved encoding-related startup code from
tclEvent.c into the more appropriate tclEncoding.c.
1999-11-30 Jeff Hobbs <[email protected]>
* generic/tclIO.c: fix from Kupries for Tcl_UnstackChannel that
correctly handles resetting translation and encoding.
* generic/tclLoad.c: #def'd out the unloading of DLLs at finalize
time for Unix in TclFinalizeLoad. [Bug: 2560 3373] Should be
parametrized to allow for user to specify unload or not.
* win/tclWinTime.c: fixed handling of %Z on NT for time zones
that don't have DST.
1999-11-29 Jeff Hobbs <[email protected]>
* library/dde1.1/pkgIndex.tcl:
* library/reg1.0/pkgIndex.tcl: added supported for debugged
versions of the libraries
* unix/tclUnixPipe.c: fixed PipeBlockModeProc to properly set
isNonBlocking flag on pipe. [Bug: 1356 710]
removed spurious fcntl call from PipeBlockModeProc
* tests/scan.test:
* generic/tclScan.c: fixed scan where %[..] didn't match anything
and added test case [Bug: 3700]
1999-11-24 Jeff Hobbs <[email protected]>
* doc/open.n:
* win/tclWinSerial.c: adopted patch from Schroedter to handle
fconfigure $sock -lasterror on Windows. [RFE: 3368]
* generic/tclCmdIL.c: made SORTMODE_INTEGER work with Longs
[Bug: 3652]
1999-11-23 Scott Stanton <[email protected]>
* library/tcltest1.0/tcltest.tcl: Fixed bug where tcltest output
went to stdout instead of the specified output file in some
cases.
1999-11-19 Jeff Hobbs <[email protected]>
* generic/tclProc.c: backed out change from 1999-11-18 as it
could affect return string from upvar as well.
* tools/tcl.wse.in: added tcltest1.0 library to distribution list
* doc/http.n:
* library/http2.1/http.tcl:
* library/http2.1/pkgIndex.tcl: updated http package to 2.2
1999-11-18 Jeff Hobbs <[email protected]>
* unix/tcl.m4: added defined for _THREAD_SAFE in --enable-threads
case; added check for pthread_mutex_init in libc; in AIX case,
with --enable-threads ${CC}_r is used; fixed flags when using gcc
on SCO
* generic/tclProc.c: corrected error reporting for default case
at the global level for uplevel command.
* generic/tclIOSock.c: changed int to size_t type for len
in TclSockMinimumBuffers.
* generic/tclCkalloc.c: fixed Tcl_DbCkfree to return a value
on NULL input. [Bug: 3400]
* generic/tclStringObj.c: fixed support for passing in negative
length to Tcl_SetUnicodeObj, et al handling routines. [Bug: 3380]
* doc/scan.n:
* tests/scan.test:
* generic/tclScan.c: finished support for inline scan by
supporting XPG identifiers.
* doc/http.n:
* library/http2.1/http.tcl: added register and unregister
commands to http:: package (better support for tls/SSL),
as well as -type argument to http::geturl. [RFE: 2617]
* generic/tclBasic.c: removed extra decr of numLevels in
Tcl_EvalObjEx that could cause seg fault. ([email protected])
* generic/tclEvent.c: fixed possible lack of MutexUnlock in
Tcl_DeleteExitHandler [Bug: 3545]
* unix/tcl.m4: Added better pthreads library check and inclusion
of _THREAD_SAFE in --enable-threads case
Added support for gcc config on SCO
* doc/glob.n: added note about ..../ glob behavior on Win9*
* doc/tcltest.n: fixed minor example errors [Bug: 3551]
1999-11-17 Brent Welch <[email protected]>
* library/http2.1/http.tcl: Correctly fixed the -timeout
problem mentioned in the 10-29 change. Also added error
handling for failed writes on the socket during the protocol.
1999-11-09 Jeff Hobbs <[email protected]>
* doc/open.n: corrected docs for 'a' open mode.
* generic/tclIOUtil.c: changed Tcl_Alloc to ckalloc
* generic/tclInt.h:
* generic/tclObj.c: rolled back changes from 1999-10-29
Purify noted new leaks with that code
* generic/tclParse.c: added code in Tcl_ParseBraces to test for
possible unbalanced open brace in a comment
* library/init.tcl: removed the installed binary directory from
the auto_path variable
* tools/tcl.wse.in: updated to 8.3a1, fixed install of twind.tcl
and koi8-r.enc files
* unix/tcl.m4: added recognition of pthreads library for AIX
1999-10-29 Brent Welch <[email protected]>
* generic/tclInt.h: Modified the TclNewObj and TclDecrRefCount
in two ways. First, in the case of TCL_THREADS, we do not use
the special Tcl_Obj allocator because that is a source of
lock contention. Second, general code cleanup to eliminate
duplicated code. In particular, TclDecrRefCount now uses
TclFreeObj instead of duplicating that code, so it is now
identical to Tcl_DecrRefCount.
* generic/tclObj.c: Changed Tcl_NewObj so it uses the
TclNewObj macro instead of duplicating the code. Adjusted
TclFreeObj so it understands the TCL_THREADS case described
above.
* library/http2.1/http.tcl: Fixed a bug in the handling of
the state(status) variable when the -timeout flag is specified.
Previously it was possible to leave the status undefined
instead of empty, which caused errors in http::status
1999-10-28 Jeff Hobbs <[email protected]>
* unix/aclocal.m4: made it just include tcl.m4
* library/tcltest1.0/tcltest.tcl: updated makeFile to return
full pathname of file created
* generic/tclStringObj.c: fixed Tcl_AppendStringsToObjVA so it only
iterates once over the va_list (avoiding a memcpy of it,
which is not portable).
* generic/tclEnv.c: fixed possible ABR error in environ array
* tests/scan.test:
* generic/tclScan.c: added support for use of inline scan,
XPG3 currently not included
* tests/incr.test:
* tests/set.test:
* generic/tclCompCmds.c: fixed improper bytecode handling of
'eval {set array($unknownvar) 5}' (also for incr) [Bug: 3184]
* win/tclWinTest.c: added testvolumetype command, as atime is
completely ignored for Windows FAT file systems
* win/tclWinPort.h: added sys/utime.h to includes
* unix/tclUnixPort.h: added utime.h to includes
* doc/file.n:
* tests/cmdAH.test:
* generic/tclCmdAH.c: added time arguments to atime and mtime
file command methods (support 'touch' functionality)
1999-10-20 Jeff Hobbs <[email protected]>
* unix/tclUnixNotfy.c: fixed event/io threading problems by
making triggerPipe non-blocking [Bug: 2792]
* library/tcltest1.0/tcltest.tcl:
* generic/tclThreadTest.c: fixed mem leaks in threads
* generic/tclResult.c: fixed Tcl_AppendResultVA so it only
iterates once over the va_list (avoiding a memcpy of it,
which is not portable).
* generic/regc_color.c: fixed mem leak and assertion, from HS
* generic/tclCompile.c: removed savedChar trick that appeared to
be causing a segv when the literal table was released
* tests/string.test:
* generic/tclCmdMZ.c: fixed [string index] to return ByteArrayObj
when indexing into one (test case string-5.16) [Bug: 2871]
* library/http2.1/http.tcl: protected gets with catch [Bug: 2665]
1999-10-19 Jennifer Hom <[email protected]>
* tests/tcltest.test:
* doc/tcltest.n:
* library/tcltest1.0/tcltest.tcl: Removed the extra return at the
end of the tcltest.tcl file, added version information about tcl.
Applied patches sent in by Andreas Kupries to add helper procs for
debug output, add 3 new flags (-testsdir, -load, -loadfile), and
internally refactors common code for dealing with paths into
separate procedures. [Bug: 2838, 2842]
Merged code from core-8-2-1 branch that changes the checks for the
value of tcl_interactive to also incorporate a check for the
existence of the variable.
* tests/autoMkindex.test:
* tests/pkgMkIndex.test: Explicitly cd to
::tcltest::testsDirectory at the beginning of the test run
* tests/basic.test: Use version information defined in tcltest
instead of hardcoded version number
* tests/socket.test: package require tcltest before attempting to
use variable defined in tcltest namespace
* tests/unixInit.test:
* tests/unixNotfy.test: Added explicit exits needed to avoid
problems when the tests area run in wish.
1999-10-12 Jim Ingham <[email protected]>
* mac/tclMacLoad.c: Stupid bug - we converted the filename to
external, but used the unconverted version.
* mac/tclMacFCmd.c: Fix a merge error in the bug fix for [Bug: 2869]
1999-10-12 Jeff Hobbs <[email protected]>
* generic/regc_color.c:
* generic/regc_cvec.c:
* generic/regc_lex.c:
* generic/regc_locale.c:
* generic/regcomp.c:
* generic/regcustom.h:
* generic/regerrs.h:
* generic/regex.h:
* generic/regexec.c:
* generic/regguts.h:
* generic/tclRegexp.c:
* generic/tclTest.c:
* tests/reg.test: updated to Henry Spencer's new regexp engine
(mid-Sept 99). Should greatly reduce stack space reqs.
* library/tcltest1.0/pkgIndex.tcl: fixed procs in pkgIndex.tcl file
* generic/tclEnv.c: fixed mem leak with putenv and DStrings
* doc/Encoding.3: corrected docs
* tests/basic.test: updated test cases for 8.3
* tests/encoding.test: fixed test case that change system
encoding to a double-byte one (this causes a bogus mem read
error for purify)
* unix/Makefile.in: purify has to use -best-effort to instrument
* unix/tclAppInit.c: identified potential mem leak when compiling
tcltest (not critical)
* unix/tclUnixPipe.c: fixed mem leak in TclpCreateProcess when
doing alloc between vfork and execvp.
* unix/tclUnixTest.c: fixed mem leak in findexecutable test command
1999-10-05 Jeff Hobbs <[email protected]>
* {win,mac,unix,tools,}/README:
* win/README.binary:
* win/makefile.vc:
* {win,unix}/configure.in:
* generic/tcl.h:
* library/init.tcl: updated to 8.3a1 from 8.2.0.
* library/http2.1/http.tcl: fixed possible use of global c var.
* win/tclWinReg.c: fixed registry command to properly 'get'
HKEY_PERFORMANCE_DATA root key data. Needs more work.
* generic/tclNamesp.c:
* generic/tclVar.c:
* generic/tclCmdIL.c: fixed comment typos
* mac/tclMacFCmd.c: fixed filename stuff to support UTF-8 [Bug: 2869]
* win/tclWinSerial.c: changed SerialSetOptionProc to return
TCL_OK by default. (patch from Rolf Schroedter)
1999-09-21 Jennifer Hom <[email protected]>
* library/tcltest1.0/tcltest.tcl: Applied patches sent in by
Andreas Kupries to fix typos in comments and ::tcltest::grep,
fix hook redefinition problems, and change "string compare" to
"string equal." [Bug: 2836, 2837, 2839, 2840]
1999-09-20 Jeff Hobbs <[email protected]>
* tests/env.test:
* unix/Makefile.in: added support for AIX LIBPATH env var [Bug: 2793]
removed second definition of INCLUDE_INSTALL_DIR (the one that
referenced @includedir@) [Bug: 2805]
* unix/dltest/Makefile.in: added -lc to LIBS [Bug: 2794]
1999-09-16 Jeff Hobbs <[email protected]>
* tests/timer.test: changed after delay in timer test 6.29 from
1 to 10. [Bug: 2796]
* tests/pkg.test:
* generic/tclPkg.c: fixed package version check to disallow 1.2..3
[Bug: 2539]
* unix/Makefile.in: fixed gendate target - this never worked
since RCS was intro'd.
* generic/tclGetDate.y: updated to reflect previous changes
to tclDate.c (leap year calc) and added CEST and UCT time zone
recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954,
1245, 1249]
* generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really
dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc
and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719]
and changed Tcl_Alloc, et al to not panic when a alloc request
for zero came through and NULL was returned (valid on AIX, Tru64)
[Bug: 2795, etc]
* tests/clock.test:
* doc/clock.n:
* generic/tclClock.c: added -milliseconds switch to clock clicks
to guarantee that the return value of clicks is in the millisecs
granularity [Bug: 2682, 1332]
1999-09-15 Jeff Hobbs <[email protected]>
* generic/tclIOCmd.c: fixed potential core dump in conjunction
with stacked channels with result obj manipulation in
Tcl_ReadChars [Bug: 2623]
* tests/format.test:
* generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605]
* doc/msgcat.n: fixed \\ bug in example [Bug: 2548]
* unix/tcl.m4:
* unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition
[Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610]
* doc/array.n:
* tests/var.test:
* tests/set.test:
* generic/tclVar.c: added an array unset operation, with docs
and tests. Variation of [Bug: 1775]. Added fix in TclArraySet
to check when trying to set in a non-existent namespace. [Bug: 2613]
1999-09-14 Jeff Hobbs <[email protected]>
* tests/linsert.test:
* doc/linsert.n:
* generic/tclCmdIL.c: fixed end-int interpretation of linsert
to correctly calculate value for end, added test and docs [Bug: 2693]
* doc/regexp.n:
* doc/regsub.n:
* tests/regexp.test:
* generic/tclCmdMZ.c: add -start switch to regexp and regsub
with docs and tests
* doc/switch.n: added proper use of comments to example.
* generic/tclCmdMZ.c: changed switch to complain when an error
occurs that seems to be due to a misplaced comment.
* generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions
in regsub [Bug: 2723]
* generic/tclCmdMZ.c: changed [string equal] to return an Int
type object (was a Boolean)
1999-09-01 Jennifer Hom <[email protected]>
* library/tcltest1.0/tcltest.tcl: Process command-line arguments
only ::tcltest doesn't have a child namespace (requires that
command-line args are processed in that namespace)
1999-09-01 Jeff Hobbs <[email protected]>
* generic/tclParseExpr.c: changed '"' to '\"' to make FreeBSD
happy [Bug: 2625]
* generic/tclProc.c: moved static buf to better location and
changed static msg that would overflow in ProcessProcResultCode
[Bug: 2483] and added Tcl_DStringFree to Tcl_ProcObjCmd.
Also reworked size of static buffers.
* tests/stringObj.test: added test 9.11
* generic/tclStringObj.c: changed Tcl_AppendObjToObj to
properly handle the 1-byte dest and mixed src case where
both had had Unicode string len checks made on them. [Bug: 2678]
* unix/aclocal.m4:
* unix/tcl.m4: adjusted fix from 8-21 to add -bnoentry to the
AIX-* case and readjusted the range
1999-08-31 Jennifer Hom <[email protected]>
* library/tcltest1.0/tcltest.tcl:
* doc/tcltest.n:
* tests/README: Modified testConstraints variable so that it isn't
unset every time ::tcltest::initConstraints is called and cleaned up
documentation in the README file and the man page.
1999-08-27 Jennifer Hom <[email protected]>
* tests/env.test:
* tests/exec.test:
* tests/io.test:
* tests/event.test:
* tests/tcltest.test: Added 'exit' calls to scripts that the tests
themselves write, and removed accidental checkin of knownBugThreaded
constraints for Solaris and Linux.
* library/tcltest1.0/tcltest.tcl: Modified tcltest so that
variables are only initialized to their default values if they did
not previously exist.
1999-08-26 Jennifer Hom <[email protected]>
* tests/tcltest.test:
* library/tcltest1.0/tcltest.tcl: Added a -args flag that sets a
variable named ::tcltest::parameters based on whatever's being
sent in as the argument to the -args flag.
1999-08-23 Jennifer Hom <[email protected]>
* tests/tcltest.test: Added additional tests for -tmpdir, marked
all tests that use exec as unixOrPc.
* tests/encoding.test:
* tests/interp.test:
* tests/macFCmd.test:
* tests/parseOld.test:
* tests/regexp.test: Applied patches from Jim Ingham to add
encoding to a Mac only interp test, change an error message in
macFCmd.tet, put a comment in parseOld.test, fix tests using the
testencoding path command, and put unixOrPc constraints on tests
that use exec.
1999-08-21 Jeff Hobbs <[email protected]>
* unix/aclocal.m4: Changed AIX-4.[2-9] check to AIX-4.[1-9]
[Bug: 1909]
1999-08-20 Jeff Hobbs <[email protected]>
* generic/tclPosixStr.c: fixed typo [Bug: 2592]
* doc/*: fixed various nroff bugs in man pages [Bug: 2503 2588]
1999-08-19 Jeff Hobbs <[email protected]>
* win/README.binary: fixed version info and some typos [Bug: 2561]
* doc/interp.n: updated list of commands available in a safe
interpreter [Bug: 2526]
* generic/tclIO.c: changed Tcl_GetChannelNames* to use style guide
headers (pleases HP cc)
1999-08-18 Jeff Hobbs <[email protected]>
* doc/Eval.3: fixed doc on input args [Bug: 2114]
* doc/OpenFileChnl.3:
* doc/file.n:
* tests/cmdAH.test:
* tclIO.c:
* tclCmdAH.c: added "file channels ?pattern?" tcl command, with
associated Tcl_GetChannelNames and Tcl_GetChannelNamesEx public
C APIs (added to tcl.decls as well), with docs and tests.
* tests/expr.test:
* generic/tclCompile.c: add TCL_TOKEN_VARIABLE to the part types
that cause differed compilation for exprs, to correct the expr
double-evaluation problem for vars. Added test cases.
Related to [Bug: 732]
* unix/Makefile.in: changed the dependency structure so that
install-* is dependent on * (ie - install-binaries is dependent
on binaries).
* library/auto.tcl:
* library/init.tcl:
* library/ldAout.tcl:
* library/package.tcl:
* library/safe.tcl:
* library/word.tcl:
* library/http2.1/http.tcl:
* library/msgcat1.0/msgcat.tcl: updated libraries to better
Tcl style guide (no more string comparisons with == or !=, spacing
changes).
1999-08-05 Jim Ingham <[email protected]>
* mac/tclMacProjects.sea.hqx: Rearrange the projects so that the build
directory is separate from the sources. Much more convenient!
1999-08-13 Scott Redman <[email protected]>
* /: 8.2.0 tagged for final release
1999-08-12 Scott Stanton <[email protected]>
* win/Makefile.in: Added COMPILE_DEBUG_FLAGS macro to make it
easier to turn on compiler tracing.
* tests/parse.test:
* generic/tclParse.c: Fixed bug in Tcl_EvalEx where the termOffset
was not being updated in cases where the evaluation returned a non
TCL_OK error code. [Bug: 2535]
1999-08-12 Scott Redman <[email protected]>
* win/tclWinSerial.c: Applied patch from Petteri Kettunen to
remove compiler warning.
1999-08-10 Scott Redman <[email protected]>
* generic/tclAlloc.c:
* generic/tclCmdIL.c:
* generic/tclIO.c:
* generic/tclThread.c:
* win/tclWinThrd.c:
* unix/tclUnixThrd.c: Fixed Brent's changes so that they work on
Windows (and he fixed the bug in the Unix thread implementation).
1999-08-09 Brent Welch <[email protected]>
* generic/tcl.decls:
* generic/tclAlloc.c:
* generic/tclCkalloc.c:
* generic/tclCmdIL.c:
* generic/tclDecls.h:
* generic/tclIO.c:
* generic/tclInt.decls:
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
* generic/tclVar.c:
* mac/tclMacThrd.c:
* unix/tclUnixThrd.c:
* win/tclWinThrd.c: Added use of Tcl_GetAllocMutex to tclAlloc.c
and tclCkalloc.c so they can be linked against alternate thread
packages. Added Tcl_GetChannelNames to tclIO.c. Added
TclVarTraceExists hook so "info exists" triggers read traces
exactly like it did in Tcl 7.6. Stubs table changes to reflect new
internal and external APIs.
1999-08-09 Jeff Hobbs <[email protected]>
* tests/string.test: added largest_int proc to adapt for >32 bit
machines and int overflow testing.
* tests/tcltest.test: fixed minor error in 8.2 result (from dgp)
* doc/Object.3: clarified Tcl_DecrRefCount docs [Bug: 1952]
* doc/array.n: clarified array pattern docs [Bug: 1330]
* doc/clock.n: fixed clock docs [Bug: 693]
* doc/lindex.n: clarified to account for new end-int behavior.
* doc/string.n: fixed formatting errors [Bug: 2188 2189]
* doc/tclvars.n: fixed doc error [Bug: 2042]
* library/init.tcl: fixed path handling in auto_execok (it could
miss including the normal path on some Windows machines) [Bug: 1276]
1999-08-05 Jeff Hobbs <[email protected]>
* doc/tclvars.n: Made it clear that tcl_pkgPath was not set
for Windows (already mentioned in init.tcl) [Bug: 2455]
* generic/tclLiteral.c: fixed reference to bytes that might
not be null terminated (using objPtr->bytes, which is) [Bug: 2496]
* library/http2.1/http.tcl: Made use of "i" in init section use
local var and start at 0 (was 1). [Bug: 2502]
1999-08-04 Scott Stanton <[email protected]>
* tests/reg.test: Added test for REG_EXPECT bug fixed by Henry's
patch.
* generic/regc_nfa.c:
* generic/regcomp.c:
* generic/rege_dfa.c:
* generic/regexec.c:
* generic/regguts.h: Applied patches supplied by Henry Spencer to
greatly enhance the performance of certain classes of regular
expressions. [Bug: 2440, 2447]
1999-08-03 Scott Redman <[email protected]>
* win/tclWinInt.h: Remove function declarations in header that was
moved to tclInt.decls file in previous changes.
1999-08-02 Scott Redman <[email protected]>
* unix/configure.in:
* win/configure.in: Change beta level to b2.
* generic/tcl.h:
* generic/tcl.decls:
* generic/tclDecls.h:
* generic/tclInt.h:
* generic/tclInt.decls:
* generic/tclIntDecls.h:
* generic/tclRegexp.h:
* generic/tclStubInit.c: Move some exported public and internal
functions to the stub tables. Removed functions that are in the
stub tables (from this and previous changes) from the original
header files.
1999-08-01 Scott Redman <[email protected]>
* win/tclWinSock.c: Added comment block to SocketThread()
function. Added code to avoid calling TerminateThread(), but
instead to send a message to the socket event window to tell it to
terminate its thread.
1999-07-30 Jennifer Hom <[email protected]>
* tests/tcltest.test:
* library/tcltest1.0/tcltest.tcl: Exit with non-zero status if
there were problems with the way the test suite was started
(e.g. wrong # arguments).
1999-07-30 Jeff Hobbs <[email protected]>
* generic/tclInt.decls: added declaractions necessary for the
Tcl test code to work wth stubs [Bug: 2445]
1999-07-30 <[email protected]>
* win/tclWinPipe.c:
* win/Makefile.in: Fixing launching of 16-bit apps on Win9x from
wish. The command line was primed with tclpip82.dll, but it was
ignored. Fixed that, then fixed the gmake makefile to build
tclpip82.dll as an executable.
* win/tclWinSock.c: Applied small patch to get thread-specific
data after initializing the socket driver.
* unix/tclUnixThrd.c: Applied patch to fix threads on Irix 6.5.
Patch from James Dennett. [Bug: 2450]
* tests/info.test: Enable test for tclParse.c change (info
complete).
1999-07-30 <[email protected]>
* tclIO.c: added fix for Kupries' trf patch [Bug: 2386]
* tclParse.c: fixed bug in info complete regarding nested square
brackets [Bug: 2382, 2466]
1999-07-29 <[email protected]>
* win/tclWinChan.c: Allow tcl to open CON and NUL, even for std
channels. Checking for bad/unusable std channels was moved to Tk
since its only purpose was to check whether to use the Tk Console
Window for the std channels. [Bug: 2393 2392 2209 2458]
* unix/mkLinks.tcl: Applied patch to avoid linking pack.n to
pack-old.n. Patch from Don Porter. [Bug: 2469]
* doc/Encoding.n: Applied patch to fix typo in .SH NAME line.
Patch from Don Porter. [Bug: 2451]
* win/tclWinSock.c: Free Win32 Event handles when destroying
the socket helper thread.
1999-07-28 <[email protected]>
* tests/tcltest.test:
* library/tcltest1.0/tcltest.tcl: Fixed the condition under which
::tcltest::PrintError had an infinite loop problem and added a
test case for it. Added an optional argument to
::tcltest::getMatchingFiles telling it where to search for test
files.
1999-07-27 <[email protected]>
* tools/tclSplash.bmp: Updated Windows installer bitmap
to ready Tcl/Tk Version 8.2.
1999-07-26 <[email protected]>
* tests/tcltest.test: Need to close the new core file, there
seems to be a hang in threaded WinNT if the file isn't closed.
Open issue, need to fix that hang.
* tests/httpold.test: Add time delay in response from Http server
so that test cases can properly detect timeout conditions with
threads enabled on multi-CPU WinNT.
* tests/winFCmd.test: Test case winFcmd-1.33 was looking for
c:\windows, which may not exist. Instead, create a new directory
on c:\ and use it for the test.
* win/tclWinConsole.c:
* win/tclWinPipe.c:
* win/tclWinSock.c: Fix terminating helper threads by holding any
mutexes from the primary thread while waiting for the helper
thread to terminate. Without these changes, the test suite hangs
on WinNT with 2 CPUs and threads enabled. Open issue, seems to be
a sporadic hang on dual CPU systems still (very rare).
1999-07-26 Jennifer Hom <[email protected]>
* tests/tcltest.test:
* library/tcltest1.0/tcltest.tcl:
* doc/tcltest.n: Cleaned up code in ::tcltest::PrintError, revised
documentation, and added tests for the tcltest package.
1999-07-23 <[email protected]>
* tests/info.test:
* generic/tclParse.c: Removed patch for info command, breaks test
cases on Unix. Patch was bad and needs to be redone
properly. [Bug: 2382]
1999-07-22 <[email protected]>
* Changed version to 8.2b2.
* win/tclWinSock.c: Fixed hang with threads enabled, fixed
semaphores with threads disabled.
* win/safe.test: Fixed safe-6.3 with threads enabled.
* win/Makefile.in: Fixed calling of tcltest to fix safe.test
failures due to path TCL_LIBRARY path.
* win/tclWinPort.h: Block out include of sys/*.h in order to
build extensions with MetroWerks compiler for Win32. [Bug: 2385]
* generic/tclCmdMZ.c:
* generic/tclIO.c: Fix ANSI-style prototypes based on patch from
Ulrich Ring. [Bug: 2391]
* unix/Makefile.in: Need to make install-sh executable before
calling (with chmod +x). [Bug: 2413]
* tests/var.test:
* generic/tclVar.c: Fixed bug that caused a seg. fault when using
"array set a(b) {}", which is a bad array name anyway. Now the
"array set" command will return an error in this case. Added test
case and fixed existing test. [Bug: 2427]
1999-07-21 <[email protected]>
* tests/info.test:
* generic/tclParse.c: Applied patch to fix "info complete"
for the string {[a [b]}. Patch from Peter Spjuth. [Bug: 2382]
* doc/Utf.3:
* generic/tcl.decls:
* generic/tclDecls.h:
* generic/tclUtf.c: Changed function declarations in
non-platform-specific public APIs to use "unsigned long" instead of
"size_t", which may not be defined on certain compilers (rather
than include sys/types.h, which may not exist).
* unix/Makefile.in: Added the Windows configure script to the
distribution file list, already shipping configure.in and the .m4
files, but needed the configure script itself.
* win/makefile.vc: Changed version number of DDE package in VC++
makefile to use 1.1 instead of 1.0.
* doc/open.n: Added documentation of \\.\comX notation for opening
serial ports on Windows (alternative to comX:).
* tests/ioCmd.test:
* doc/open.n:
* win/tclWinSerial.c: Applied patch from Rolf Schroedter to add
-pollinterval option to fconfigure to modify the maxblocktime used
in the fileevent polling. Added documentation and fixed the test
case as well.
* win/tclWinSock.c: Modified 8.1.0 version of the Win32 socket
driver to move the handling of the socket event window in a
separate thread. It also turned out that Win95 & Win98 were, in
some cases, getting multiple FD_ACCEPTs but only handling one.
Added a count for the FD_ACCEPT to take care of this. Tested on
NT4 SP3, NT4 SP4, Win95, and Win98.
[Bug: 2178 2256 2259 2329 2323 2355]
1999-07-21 <[email protected]>
* README: Small tweaks to clean up typos and wording.
1999-07-20 Melissa Hirschl <[email protected]>
* generic/tclInitScript.h:
* unix/tclUnixInit.c: merged code with 8.0.5. We now use an
intermediate global tcl var "tclDefaultLibrary" to keep the
"tcl_library" var from being set by the default value in the
Makefile. Also fixed a bug in which caused the value of
TCL_LIBRARY env var to be ignored.
* unix/tclWinInit.c: just updated some comments.
1999-07-19 Melissa Hirschl <[email protected]>
* library/http2.1/http.tcl: updated -useragent text to say version
2.1.
1999-07-16 <[email protected]>
* generic/tcl.decls:
* generic/tclDecls.h:
* generic/tclStubInit.c: Add Tcl_SetNotifier to stub table.
[Bug: 2364]
* unix/aclocal.m4:
* unix/tcl.m4: Add check for Alpha/Linux to correct the IEEE
floating flag to the compiler, should be -mieee. Patch from Don
Porter.
* tools/tcl.hpj.in: Change version number of .cnt file referenced
in .HPJ file.
1999-07-15 <[email protected]>