-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog.2002
4741 lines (3603 loc) · 177 KB
/
ChangeLog.2002
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
2002-12-18 David Gravereaux <[email protected]>
* win/makefile.vc: some uses of xcopy swapped to the @$(CPY) macro.
Reported by Joe Mistachkin <[email protected]>.
2002-12-17 Jeff Hobbs <[email protected]>
* generic/tclNotify.c (TclFinalizeNotifier, Tcl_SetServiceMode):
(Tcl_ThreadAlert): Check that the stub functions are non-NULL before
calling them. They could be set to NULL by Tcl_SetNotifier.
2002-12-16 David Gravereaux <[email protected]>
* generic/tclPipe.c (TclCleanupChildren):
* tests/winPipe.test:
* win/tclWinPipe.c (Tcl_WaitPid):
* win/tclWinTest.c: Gave Tcl_WaitPid the ability to return a Win32
exception code translated into a posix style SIG*. This allows [close]
to report "CHILDKILLED" without the meaning getting lost in a
truncated exit code. In TclCleanupChildren(), TclpGetPid() had to get
moved to before Tcl_WaitPid() as the the handle is removed from the
list taking away the ability to get the process id after the wait is
done. This shouldn't effect the unix implimentaion unless waitpid is
called with a pid of zero, meaning "any". I don't think it is..
2002-12-13 Don Porter <[email protected]>
* unix/configure.in: Updated configure of CVS snapshots to reflect
* win/configure.in: the 8.4.1.1 patchlevel.
* unix/configure: autoconf
* win/configure autoconf
2002-12-11 Don Porter <[email protected]>
* generic/tclProc.c (ProcessProcResultCode): Fix failure to propagate
negative return codes up the call stack. [Bug 647307]
* tests/proc.test (proc-6.1): Test for Bug 647307
* generic/tclParseExpr.c (TclParseInteger): Return 1 for the string
"0x" (recognize leading "0" as an integer). [Bug 648441]
* tests/parseExpr.test (parseExpr-19.1): Test for Bug 648441.
2002-12-09 Jeff Hobbs <[email protected]>
* win/tclWinThrd.c (TclpMasterUnlock):
* generic/tclThread.c (TclFinalizeThreadData): TclpMasterUnlock must
exist and be called unconditional of TCL_THREADS. [Bug 651139]
2002-12-08 David Gravereaux <[email protected]>
* win/tclWinSock.c (SocketThreadExitHandler, InitSockets): Check
that the tsdPtr is valid before dereferencing as we call it from the
exit handler, too [Bug 650353]. Another WSAStartup() loaded version
comparison byte swap issue fixed. Although 0x0101 byte swapped is
still 0x0101, properly claiming which is major/minor is more correct.
2002-12-06 Jeff Hobbs <[email protected]>
* generic/tclStubInit.c: regen
* generic/tclIntPlatDecls.h: regen
* generic/tclInt.decls: added TclWinResetInterface
* win/tclWin32Dll.c (TclWinResetInterfaces):
* win/tclWinInit.c (TclpSetInitialEncodings, WinEncodingsCleanup):
add exit handler that resets the encoding information to a state where
we can reuse Tcl. Following these changes, it is possible to reuse Tcl
(following Tcl_FindExecutable or Tcl_CreateInterp) following a
Tcl_Finalize.
* generic/tclIOUtil.c (TclFinalizeFilesystem): reset statics to their
original values on finalize to allow reuse of the library.
2002-12-04 David Gravereaux <[email protected]>
* win/tclWinPipe.c: reverted back to -r1.27 due to numerous test
failures that need to be resolved first. The idea was good, but the
details aren't.
2002-12-04 David Gravereaux <[email protected]>
* win/tclWinPipe.c (Tcl_WaitPid): When a process exits with an
exception, pass this notice on to the caller with a SIG* code rather
than truncating the exit code and missing the meaning. This allows
TclCleanupChildren() to report "CHILDKILLED".
This has a different behavior than unix in that closing the read pipe
to a process sends the SIGPIPE signal which is returned as a SIGPIPE
exit status. On windows, we send the process a CTRL_BREAK_EVENT and
get back a CONTROL_C_EXIT which is documented to mean a SIGINT which
seems wrong as a system, but is the correct exit status.
2002-12-04 Vince Darley <[email protected]>
* generic/tclIOUtil.c: fix to redirected 'load' in virtual filesystem
for some Unix systems.
* generic/tclEvent.c: the filesystem must be cleaned up before the
encoding subsystem because it needs access to encodings. Fixes crash
on exit observed in embedded applications.
* generic/tclTestObj.c: patch omitted from previous change of
2002-11-13
2002-12-03 Jeff Hobbs <[email protected]>
* generic/tclStubLib.c (Tcl_InitStubs): prevent the cached check of
tclStubsPtr to allow for repeated load/unload of the Tcl dll by
hosting apps. [Bug 615304]
2002-12-03 David Gravereaux <[email protected]>
* win/tclAppInit.c (sigHandler): Protect from trying to close a NULL
handle.
* win/tclWinPipe.c (PipeClose2Proc, TclpCreateProcess): Send a real
Win32 signal (CTRL_C_EVENT) when the read channel is brought down to
alert the child to close on its side. Start the process with
CREATE_NEW_PROCESS_GROUP to allow the ability to send these signals.
The following test case now brings down the child without the use of
an external [kill] command.
% set p [open "|[info name]" w+]
file8d5380
% pid $p
2876
% close $p <- now doesn't block in Tcl_WaitPid()
%
* win/tclWinPipe.c (PipeClose2Proc): Changed CTRL_C_EVENT to
CTRL_BREAK_EVENT as it can't be ignored by the child and proved to
work on [open "|netstat 1" w+] where CTRL_C_EVENT didn't.
2002-11-27 David Gravereaux <[email protected]>
* win/tclWinPort.h: Don't turn off winsock prototypes! TclX didn't
like it. Even though the core doesn't use the prototypes, do offer
them.
* win/tclWinSock.c: Removed shutdown() from the function table as it
wasn't referenced anywhere and cleaned-up some casting that that
wasn't needed.
* win/tclWinSock.c: WSAStartup() loaded version comparison error which
resulted in 2.0 looking less than 1.1.
* win/tclWinChan.c (Tcl_MakeFileChannel): return of DuplicateHandle()
incorrectly used. [Bug 618852]
2002-11-26 Jeff Hobbs <[email protected]>
* generic/tclEncoding.c (TclFinalizeEncodingSubsystem): properly
cleanup all encodings by using Tcl_FirstHashEntry in the while loop.
* unix/Makefile.in (valgrind): add simple valgrind target
* tests/exec.test: unset path var to allow singleproc testing
* generic/tclInterp.c (AliasCreate): preserve/release interps to
prevent possible FMR error in bad alias cases.
2002-11-26 David Gravereaux <[email protected]>
* win/tclWinPort.h:
* win/tclWinSock.c: This patch does two things:
1) Cleans-up the winsock typedefs by using the typedefs provided by
winsock2.h. This has no effect on how winsock is initialized; just
makes the source code easier to read. [Patch 561305 561301]
2) Revamps how the socket message handler thread is brought up and
down to allow for cleaner exits without the use of TerminateThread().
TerminateThread is evil. No attempt has been made to resolve [Bug
593810] which may need a new channel driver version for adding a
registering function within the transfered thread to init the handler
thread. IOW, initialization of the TSD structure is getting bypassed
through the thread extension's [thread::transfer] command.
2002-11-26 David Gravereaux <[email protected]>
* win/tclWinConsole.c:
* win/tclWinPipe.c:
* win/tclWinSerial.c:
* win/tclWinSock.c:
* win/tclWinThrd.c:
* win/tclWinTime.c: General cleanup of all worker threads used by the
channel drivers. Eliminates the normal case where the worker thread is
terminated ('cept the winsock one). Instead, use kernel events to
signal a clean exit. Only when the worker thread is blocked on an I/O
call is the thread terminated. Essentially, this makes all other
channel worker threads behave like the PipeReaderThread() function for
it's cleaner exit behavior. This appears to fix [Bug 597924] but needs
3rd party confirmation to close the issue.
2002-11-26 Mo DeJong <[email protected]>
* win/README: Update msys build env URL. This release #4 build both
tcl and tk without problems.
2002-11-22 Jeff Hobbs <[email protected]>
* library/init.tcl: code cleanup to reduce use of
* library/opt/optparse.tcl: string compare
* tests/interp.test: interp-14.4
* generic/tclInterp.c (TclPreventAliasLoop): prevent seg fault when
creating an alias command over the interp name. [Bug 641195]
2002-11-18 Jeff Hobbs <[email protected]>
* generic/tclUtil.c (SetEndOffsetFromAny): handle integer offset
after the "end-" prefix.
* generic/get.test:
* generic/string.test:
* generic/tclObj.c (SetIntFromAny, SetWideIntFromAny):
* generic/tclGet.c (TclGetLong, Tcl_GetInt): simplify sign handling
before calling strtoul(l). [Bug 634856]
2002-11-18 David Gravereaux <[email protected]>
* win/tclWinThrd.c (Tcl_CreateThread/TclpThreadExit): Fixed improper
compiler macros that missed the VC++ compiler. This resulted in VC++
builds using CreateThread()/ExitThread() in place of the proper
_beginthreadex()/_endthreadex(). This was a large error and am
surprised I missed seeing it earlier.
2002-11-13 Jeff Hobbs <[email protected]>
* generic/regexpComp.test: added tests 22.*
* generic/tclCompCmds.c (TclCompileRegexpCmd): add left and right
anchoring (^ and $) recognition and check starting or ending .* to
extend the number of REs that can be compiled to string match or
string equal.
2002-11-13 Vince Darley <[email protected]>
* generic/tclCmdMZ.c:
* tests/trace.test: applied patch from Hemang Levana to fix [Bug
615043] in execution traces with 'return -code error'.
* generic/tclTestObj.c:
* tests/stringObj.test: added 'knownBug' test for [Bug 635200]
* generic/tclStringObj.c: corrected typos in comments
* generic/tclFileName.c:
* tests/fileName.test: applied patch for bug reported against tclvfs
concerning handling of Windows serial ports like 'com1', 'lpt3' by the
virtual filesystem code.
* doc/RegExp.3: clarification of the 'extendMatch' return values.
2002-11-11 Jeff Hobbs <[email protected]>
* generic/tclUtil.c (Tcl_Backslash): use TclUtfToUniChar.
(Tcl_StringCaseMatch): use TclUtfToUniChar and add further
optimizations for the one-byte/char case.
* generic/tclUtf.c: make use of TclUtfToUniChar macro throughout the
functions, and add extra optimization to Tcl_NumUtfChars for
one-byte/char case.
* generic/tclVar.c (DisposeTraceResult, CallVarTraces): add proper
static declarations.
* generic/tclStringObj.c (Tcl_GetCharLength): optimize for the ascii
char case.
(Tcl_GetUniChar): remove unnecessary use of Tcl_UtfToUniChar.
(FillUnicodeRep): Use TclUtfToUniChar.
* generic/tclHash.c (HashStringKey): move string++ lower to save an
instruction.
* generic/tclExecute.c (TclExecuteByteCode): improve INST_STR_CMP to
use memcmp in the one-byte/char case, also use direct index for
INST_STR_INDEX in that case.
* generic/tclEncoding.c (UtfToUtfProc, UtfToUnicodeProc):
(TableFromUtfProc, EscapeFromUtfProc): Use TclUtfToUniChar.
(UnicodeToUtfProc, TableToUtfProc): add 1-byte char optimizations for
Tcl_UniCharToUtf call. These improve encoded channel conversion speeds
by up to 20%.
* tests/split.test: added 1-char string split tests
* generic/tclCmdMZ.c (Tcl_SplitObjCmd): Use TclUtfToUniChar. Also
added a special case for single-ascii-char splits.
(Tcl_StringObjCmd): Use TclUtfToUniChar. For STR_RANGE, support
getting ranges of ByteArrays (reverts change from 2000-05-26).
(TraceExecutionProc) add proper static declaration.
* generic/tclInt.h: add macro version of Tcl_UtfToUniChar
(TclUtfToUniChar) that does the one-byte utf-char check without
calling Tcl_UtfToUniChar, for use by the core. This brings notable
speedups for primarily ascii string handling.
* generic/tcl.h (TCL_PATCH_LEVEL): bump to 8.4.1.1 for patchlevel
only. This interim number will only be reflected by [info patchlevel].
2002-11-11 Kevin Kenny <[email protected]>
* doc/Tcl.n: Corrected indentation of the new language. Oops.
2002-11-10 Kevin Kenny <[email protected]>
* doc/Tcl.n: Added language to the Endekalogue to make it clear that
substitutions always take place from left to right. [Bug 635644]
2002-11-06 Mo DeJong <[email protected]>
* changes: Note TclInExit TclInThreadExit changes.
* generic/tclEvent.c (TclInExit, TclInThreadExit): Split out
functionality of TclInExit to make it clear which one should be called
in each situation.
* generic/tclInt.decls: Declare TclInThreadExit.
* generic/tclIntDecls.h: Regen.
* generic/tclStubInit.c: Regen.
* mac/tclMacChan.c (StdIOClose):
* unix/tclUnixChan.c (FileCloseProc):
* win/tclWinChan.c (FileCloseProc):
* win/tclWinConsole.c (ConsoleCloseProc):
* win/tclWinPipe.c (TclpCloseFile):
* win/tclWinSerial.c (SerialCloseProc): Invoke the new TclInThreadExit
method instead of TclInExit.
2002-11-06 Mo DeJong <[email protected]>
* unix/configure: Regen.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Generate a fatal configure error if
no ar program can be found on the path. [Bug 582039]
* win/configure: Regen.
* win/configure.in: Check that AR, RANLIB, and RC are found on the
path when building with gcc.
2002-11-03 David Gravereaux <[email protected]>
* win/tclAppInit.c: Calls Registry_Init() and Dde_Init() when
STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set.
* win/makefile.vc:
* win/rules.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES
macro which also adds the registry and dde object files to the link
of the shell. [Patch 479697] Also factored some additional macros that
will be helpful for extension authors. Version grepping of tcl.h will
need to be added to complete this.
* win/buildall.vc.bat: Added more descriptive commentary.
2002-11-01 David Gravereaux <[email protected]>
* win/tclWinReg.c: Changed the Tcl_PkgProvide() line to declare the
registry extension at version 1.1 from 1.0.
2002-10-31 Andreas Kupries <[email protected]>
* library/word.tcl: Changed $tcl_platform to $::tcl_platform to avoid
possible scope trouble.
2002-10-29 Vince Darley <[email protected]>
* win/tclWinInt.h:
* win/tclWin32Dll.c: added comments about certain NULL function
pointers which will be filled in when Tcl_FindExecutable is called, so
that users don't report invalid bugs on this topic. (No code changes
at all).
2002-10-29 Daniel Steffen <[email protected]>
* unix/tclLoadDyld.c (TclpFindSymbol): pass all dyld error messages
upstream [Bug 627546].
2002-10-28 Andreas Kupries <[email protected]>
* library/dde/pkgIndex.tcl:
* library/reg/pkgIndex.tcl: Changed the hardwired debug suffix (d) to
the correct suffix (g).
2002-10-28 Don Porter <[email protected]>
* library/auto.tcl: Converted the Mac-specific [package unknown]
* library/init.tcl: behavior to use a chaining mechanism to extend
* library/package.tcl: the default [tclPkgUnknown]. [Bug 627660]
* library/tclIndex: [Patch 624509] (steffen)
2002-10-26 David Gravereaux <[email protected]>
* win/makefile.vc: xcopy on NT 4.0 doesn't support the /Y switch
(overwrite). Added logic to handle this. [Bug 618019]
2002-10-23 Donal K. Fellows <[email protected]>
* generic/tclInt.h: Removed definitions of obsolete HistoryEvent and
HistoryRev structures (the history mechanism has been written in Tcl
for some time now.)
2002-10-22 Jeff Hobbs <[email protected]>
*** 8.4.1 TAGGED FOR RELEASE ***
* changes: updated for 8.4.1 release
* win/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst.
* win/configure: regen
* win/configure.in: removed SC_ENABLE_MEMDEBUG call
* win/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
2002-10-22 Daniel Steffen <[email protected]>
* library/auto.tcl (tcl_findLibrary):
* library/package.tcl (tclPkgUnknown): on macosx, search inside the
Resources/Scripts subdirectory of any potential package directory.
* macosx/Tcl.pbproj/project.pbxproj: add standard Frameworks dirs to
TCL_PACKAGE_PATH make argument.
* unix/tclUnixInit.c (TclpSetVariables): on macosx, add embedded
framework dirs to tcl_pkgPath: @executable_path/../Frameworks and
@executable_path/../PrivateFrameworks (if they exist), as well as the
dirs in DYLD_FRAMEWORK_PATH (if set). [Patch 624509]
use standard MAXPATHLEN instead of literal 1024
2002-10-22 Donal K. Fellows <[email protected]>
* doc/StringObj.3, doc/Object.3: Documented that Tcl_Obj's standard
string form is a modified UTF-8; apparently, this was not mentioned
anywhere in the main docs, and lead to [Bug 624919].
2002-10-21 Daniel Steffen <[email protected]>
* macosx/Tcl.pbproj/project.pbxproj: bumped version to 8.4.1
* generic/tcl.h: Added reminder comment to edit
macosx/Tcl.pbproj/project.pbxproj when version number changes.
2002-10-18 Jeff Hobbs <[email protected]>
* library/reg/pkgIndex.tcl:
* win/configure:
* win/configure.in:
* win/Makefile.in:
* win/makefile.vc:
* win/makefile.bc: Updated to reg1.1
* doc/registry.n: Added support for broadcasting changes to the
* tests/registry.test: registry Environment. Noted proper code in the
* win/tclWinReg.c: docs. [Patch 625453]
* unix/Makefile.in (dist): add any mac/tcl*.sea.hqx files
2002-10-17 Don Porter <[email protected]>
* generic/tclVar.c: Fixed code that check for proper # of args to
* tests/var.test: [array names]. Added test. [Bug 624755]
2002-10-16 Jeff Hobbs <[email protected]>
* win/configure: add workaround for cygwin windres
* win/tcl.m4 (SC_CONFIG_CFLAGS): problem. [Patch 624010] (howell)
2002-10-15 Jeff Hobbs <[email protected]>
* README: added archives.tcl.tk note
* unix/configure:
* unix/tcl.m4: Correct AIX-5 ppc build flags. Correct HP 11 64-bit gcc
building. [Patch 601051] (martin)
2002-10-15 Vince Darley <[email protected]>
* generic/tclCmdMZ.c:
* tests/trace.test: applied patch from Hemang Levana to fix [Bug
615043] in execution traces with idle tasks firing.
2002-10-14 Jeff Hobbs <[email protected]>
* generic/tclEnv.c (Tcl_PutEnv): correct possible mem leak. [Patch
623269] (brouwers)
2002-10-11 Donal K. Fellows <[email protected]>
* generic/tcl.h: Need a different strategy through the maze of
#defines to let people building with Cygwin build correctly. Also made
some comments less misleading...
2002-10-10 Jeff Hobbs <[email protected]>
* README: fixed minor nits [Bug 607776] (virden)
* win/configure:
* win/tcl.m4: enable USE_THREAD_ALLOC (new threaded allocator) by
default in cygwin configure on Windows.
2002-10-10 Don Porter <[email protected]>
* doc/Tcl.n: Clarified that namespace separators are legal in the
variable names during $-subtitution. [Bug 615139]
* doc/regexp.n: Typo correction. Thanks Ronnie Brunner. [Bug 606826]
2002-10-10 Vince Darley <[email protected]>
* unix/tclLoadAout.c
* unix/tclLoadDl.c
* unix/tclLoadDld.c
* unix/tclLoadDyld.c
* unix/tclLoadNext.c
* unix/tclLoadOSF.c
* unix/tclLoadShl.c
* win/tclWinLoad.c: allow either full paths or simply dll names to be
specified when loading files (the latter will be looked up by the OS
on your PATH/LD_LIBRARY_PATH as appropriate). Fixes [Bug 611108]
2002-10-09 Jeff Hobbs <[email protected]>
* unix/README: doc'ed --enable-symbols options.
* unix/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst.
* unix/configure: regen
* unix/configure.in: removed SC_ENABLE_MEMDEBUG call
* unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
2002-10-09 Kevin B. Kenny <[email protected]>
* win/tclWinTime.c: Added code to set an exit handler that terminates
the thread that calibrates the performance counter, so that the thread
won't outlive unloading the Tcl DLL. [Bug 620735]
2002-10-09 Donal K. Fellows <[email protected]>
* doc/binary.n: More clarification of [binary scan]'s behaviour.
2002-10-09 Daniel Steffen <[email protected]>
* generic/tclIntDecls.h: fixed botched regen.
2002-10-09 Daniel Steffen <[email protected]>
* generic/tclInt.decls: made TclSetPreInitScript() declaration
generic as it is used on mac & aqua as well.
* generic/tclIntDecls.h:
* generic/tclStubInit.c: regen.
* generic/tclCompile.h: added prototype for TclCompileVariableCmd.
* mac/tclMacPort.h: removed incorrect <fcntl.h> definitions and
obsolete <stat.h> definitions.
* mac/tclMacChan.c: removed obsolete GetOpenMode() and replaced
associated constants with the <fcntl.h> analogues (they existing defs
were inconsistent with <fcntl.h> which was causing havoc when
Tcl_GetOpenMode was used instead of private GetOpenMode).
* mac/tclMacFCmd.c: removed GenerateUniqueName(), use equivalent (and
identically named) routine from MoreFiles instead.
* mac/tclMacLoad.c: CONSTification, fixes to Vince's last changes.
* mac/tclMacFile.c:
* mac/tclMacTest.c:
* mac/tclMacUnix.c: CONSTification.
* mac/tclMacOSA.c: CONSTification, sprintf fixes, UH 3.4.x changes;
fix for missing autoname token from TclOSACompileCmd. (bdesgraupes)
* mac/AppleScript.html(AppleScript delete): doc fix. (bdesgraupes)
* mac/tcltkMacBuildSupport.sea.hqx: updated MoreFiles to 1.5.3,
updated build instructions for 8.4.
* mac/tclMacProjects.sea.hqx: rebuilt archive.
2002-10-09 Donal K. Fellows <[email protected]>
* doc/Alloc.3: Added a note to mention that attempting to allocate a
zero-length block can return NULL. [Tk Bug 619544]
2002-10-04 Donal K. Fellows <[email protected]>
* doc/binary.n: Doc improvements [Patch 616480]
* tests/fCmd.test, tests/winFCmd.test:
* tools/eolFix.tcl, tools/genStubs.tcl: [file exist] -> [file exists]
Thanks to David Welton.
2002-10-03 Don Porter <[email protected]>
* doc/tcltest.n: fixed typo [Bug 618018]. Thanks to "JJM".
2002-10-03 Donal K. Fellows <[email protected]>
* tools/man2help2.tcl:
* tests/http.test, tests/httpd, tests/httpold.test:
* tests/env.test, tests/binary.test, tests/autoMkindex.test:
* library/init.tcl, library/http/http.tcl: [info exist] should really
be [info exists]. [Bug 602566]
* doc/lsearch.n: Better specification of what happens when -sorted is
mixed with other options. [Bug 617816]
2002-10-01 Jeff Hobbs <[email protected]>
* generic/tclProc.c (TclCreateProc): mask out VAR_UNDEFINED for
precompiled locals to support 8.3 precompiled code.
(Tcl_ProcObjCmd): correct 2002-09-26 fix to look for tclProcBodyType.
2002-10-01 Donal K. Fellows <[email protected]>
* doc/socket.n: Mentioned that ports may be specified as serivce names
as well as integers. [Bug 616843]
2002-09-30 Jeff Hobbs <[email protected]>
* generic/tclCompCmds.c (TclCompileRegexpCmd): correct the checking
for bad re's that didn't terminate the re string. Resultant compiles
were correct, but much slower than necessary.
2002-09-29 David Gravereaux <[email protected]>
* win/tclAppInit.c: Added proper exiting conditions using Win32
console signals. This handles the existing lack of a Ctrl+C exit to
call exit handlers when built for thread support. Also, properly
handles exits from other conditions such as CTRL_CLOSE_EVENT,
CTRL_LOGOFF_EVENT, and CTRL_SHUTDOWN_EVENT signals. In all cases,
exit handlers will be called. [Bug 219355]
* win/makefile.vc: Added missing tclThreadAlloc.c to the build rules
and defines USE_THREAD_ALLOC when TCL_THREADS is defined to get the
new behavior by default.
2002-09-27 Don Porter <[email protected]>
* README: Bumped to version 8.4.1 to avoid confusion of
* generic/tcl.h: CVS snapshots with the actual 8.4.0 release.
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* unix/configure: autoconf
* win/configure:
2002-09-26 Jeff Hobbs <[email protected]>
* unix/configure: regen.
* unix/tcl.m4: improve AIX-4/5 64bit compilation support.
* generic/tclProc.c (Tcl_ProcObjCmd): correct overeager optimization
of noop proc to handle the precompiled case. (sofer)
* unix/ldAix (nmopts): add -X32_64 to make it work for 32 or 64bit
mode compilation.
* library/encoding/koi8-u.enc: removed extraneous spaces that confused
encoding reader. [Bug 615115]
* unix/Makefile.in: generate source dists with -src designator and do
not generate .Z anymore (just .gz and .zip).
2002-09-18 Mumit Khan <[email protected]>
Added basic Cygwin support.
* win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build.
(SC_PATH_TKCONFIG): Likewise.
(SC_PROG_TCLSH): Likewise.
(SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin
flags. Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e
_WinMain@16'' from LDFLAGS_WINDOW.
* win/configure.in: Allow Cygwin build.
(SEH test): Define to be 1 instead of empty value.
(EXCEPTION_DISPOSITION): Add test.
* win/configure: Regenerate.
* generic/tcl.h: Don't explicitly define __WIN32__ for Cygwin, let the
user decide whether to use Windows or POSIX personality.
(TCL_WIDE_INT_TYPE, TCL_LL_MODIFIER, struct Tcl_StatBuf): Define for
Cygwin.
* generic/tclEnv.c (Tcl_CygwinPutenv): putenv replacement for Cygwin.
* generic/tclFileName.c (Tcl_TranslateFileName): Convert POSIX to
native format.
(TclDoGlob): Likewise.
* generic/tclPlatDecls.h (TCHAR): Define for Cygwin.
* win/tclWinPort.h (putenv, TclpSysAlloc, TclpSysFree,
(TclpSysRealloc): Define for Cygwin.
2002-09-26 Daniel Steffen <[email protected]>
* macosx/Makefile: preserve environment value of INSTALL_ROOT. When
embedding only use deployment build. Force relink before embedded
build to ensure new linker flags are picked up.
* macosx/Tcl.pbproj/project.pbxproj: add symbolic links to debug lib,
stub libs and tclConfig.sh in framework toplevel. Configure target
dependency fix. Fix to 'clean' action. Added private tcl headers to
framework. Install tclsh symbolic link. Html doc build works when no
installed tclsh available. Made html doc structure in framework more
like in Apple frameworks.
2002-09-24 Donal K. Fellows <[email protected]>
* unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Yet more robust 64-bit value
detection to close [Bug 613117] on more systems.
* generic/tclCompile.c (TclPrintSource): More CONSTifying.
* generic/tclExecute.c (EvalStatsCmd): Object-ify to reduce warnings.
Thanks to 'CoderX2' on the chat for bringing this to my attention...
* unix/tcl.m4: Forgot to define TCL_WIDE_INT_IS_LONG at the
appropriate moment. I believe this is the cause of [Bug 613117]
* doc/lset.n: Changed 'list' to 'varName' for consistency with lappend
documentation. Thanks to Glenn Jackman [Bug 611719]
2002-09-22 Don Porter <[email protected]>
* library/tcltest/tcltest.tcl: Corrected [puts -nonewline] within
test bodies. Thanks to Harald Kirsch. [Bug 612786, Patch 612788] Also
corrected reporting of body return code. Thanks to David Taback [Bug
611922]
* library/tcltest/pkgIndex.tcl: Bump to version 2.2.1.
* tests/tcltest.test: added tests for these bugs.
2002-09-15 Mo DeJong <[email protected]>
* unix/configure: Regen.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Add PEEK_XCLOSEIM define under
Linux. This is used by Tk to double check that an X input context is
cleaned up before it is closed.
2002-09-12 David Gravereaux <[email protected]>
* win/coffbase.txt: Added BLT to the virtual base address listings
table should BLT's build tools decide to use it.
2002-09-12 Daniel Steffen <[email protected]>
* generic/tcl.h:
* mac/tclMacApplication.r:
* mac/tclMacLibrary.r:
* mac/tclMacResource.r: unified use of the two equivalent resource
compiler header inclusion defines RC_INVOKED and RESOURCE_INCLUDED,
now use RC_INVOKED throughout.
2002-09-10 Mo DeJong <[email protected]>
* unix/README: Add note about building extensions with the same
compiler Tcl was built with. [Tk Bug 592096]
2002-09-10 Daniel Steffen <[email protected]>
* macosx/Tcl.pbproj/project.pbxproj: disabled building html
documentation during embedded build.
2002-09-10 Daniel Steffen <[email protected]>
* unix/Makefile.in: added DYLIB_INSTALL_DIR variable for macosx and
set it to default value ${LIB_RUNTIME_DIR}
* unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of
LIB_RUNTIME_DIR in the -install_name argument to ld.
* unix/configure: regen.
* macosx/Tcl.pbproj/project.pbxproj:
* macosx/Makefile: added support for building Tcl as an embedded
framework, i.e. using an dyld install_name containing
@executable_path/../Frameworks via the new DYLIB_INSTALL_DIR
unix/Makefile variable.
2002-09-10 Jeff Hobbs <[email protected]>
*** 8.4.0 TAGGED FOR RELEASE ***
2002-09-06 Don Porter <[email protected]>
* doc/file.n: Format correction, and clarified [file normalize]
returns an absolute path.
* doc/tcltest.n: Added examples section, as long promised.
2002-09-06 Reinhard Max <[email protected]>
* tests/tcltest.test: Added nonRoot flag to tests 8.3, 8.4, and 8.12.
2002-09-05 Don Porter <[email protected]>
* doc/tcltest.n: Clarified phrasing.
* generic/tclBasic.c (TclRenameCommand,CallCommandTraces):
* tests/trace.test (trace-27.1): Corrected memory leak when a rename
trace deleted the command being traced. Test added. Thanks to Hemang
Lavana for the fix. [Bug 604609]
* generic/tclVar.c (TclDeleteVars): Corrected logic for setting the
TCL_INTERP_DESTROYED flag when calling variable traces. [Tk Bug 605121]
2002-09-04 Miguel Sofer <[email protected]>
* generic/tclVar.c (DeleteArray): leak plug [Bug 604239]. Thanks to
dkf and dgp for the long and difficult discussion in the chat.
2002-09-03 Jeff Hobbs <[email protected]>
* generic/tclVar.c (Tcl_UpVar2): code cleanup to not use goto
* unix/configure: remove -pthread from LIBS on FreeBSD in thread
* unix/tcl.m4: enabled build. [Bug 602849]
2002-09-03 Miguel Sofer <[email protected]>
* generic/tclInterp.c (AliasCreate): a Tcl_Obj was leaked on error
return from TclPreventAliasLoop.
2002-09-03 Daniel Steffen <[email protected]>
* macosx/Tcl.pbproj/project.pbxproj: Bumped version number to 8.4.0
and updated copyright info.
2002-09-03 Miguel Sofer <[email protected]>
* generic/tclVar.c (Tcl_UpVar2): a Tcl_Obj was being leaked on error
return from TclGetFrame.
2002-09-03 Don Porter <[email protected]>
* changes: Updated changes for 8.4.0 release.
2002-09-02 Jeff Hobbs <[email protected]>
* unix/tclUnixFile.c (TclpObjLink): removed unnecessary/unfreed extra
native char*.
* unix/tclUnixChan.c (Tcl_MakeTcpClientChannel): make sure to init
flags field of TcpState ptr to 0.
* unix/configure:
* unix/tcl.m4: added 64-bit gcc compilation support on HP-11.
[Patch 601051] (martin)
* README: Bumped version number to 8.4.0
* generic/tcl.h:
* tools/tcl.wse.in:
* unix/configure:
* unix/configure.in:
* unix/tcl.spec:
* win/README.binary:
* win/configure:
* win/configure.in:
* generic/tclInterp.c (SlaveCreate): make sure that the memory and
checkmem commands are initialized in non-safe slave interpreters when
TCL_MEM_DEBUG is used. [Bug 583445]
* win/tclWinConsole.c (ConsoleCloseProc): only wait on writable pipe
if there was something to write. This may prevent infinite wait on
exit.
* tests/exec.test: marked exec-18.1 unixOnly until the Windows
incompatibility (in the test, not the core) can be resolved.
* tests/http.test (http-3.11): added close $fp that was causing an
error on Windows because the file was not closed before deleting.
* unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): made this static
function only appear when HAVE_CFBUNDLE is defined.
2002-08-31 Daniel Steffen <[email protected]>
* unix/tcl.m4: added TK_SHLIB_LD_EXTRAS analogue of existing
TCL_SHLIB_LD_EXTRAS for linker settings only used when linking Tk.
* unix/configure: regen
2002-08-31 Daniel Steffen <[email protected]>
*** macosx-8-4-branch merged into the mainline [Patch 602770] ***
* generic/tcl.decls: added new macosx specific entry to stubs table.
* tools/genStubs.tcl: added generation of platform guards for
macosx. This is a little more complex than it seems, because MacOS X
IS "unix" plus a little bit, for the purposes of Tcl. BUT
unfortunately, Tk uses "unix" to mean X11. So added platform keys for
macosx (the little added to "unix"), "aqua" and "x11" to distinguish
these for Tk.
* generic/tcl.h: added a #ifnded RESOURCE_INCLUDED so that tcl.h can
be passed to the resource compiler.
* generic/tcl.h:
* generic/tclNotify.c: added a few Notifier procs, to be able to
modify more bits of the Tcl notifier dynamically. Required to get Mac
OS X Tk to live on top of the Tcl Unix threaded notifier. Changes the
size of the Tcl_NotifierProcs structure, but doesn't move any elements
around.
* unix/tclUnixNotfy.c: moved the call to Tcl_ConditionNotify till
AFTER we are done mucking with the pointer swap. Fixes cases where the
thread waiting on the condition wakes & accesses the waitingListPtr
before it gets reset, causing a hang.
* library/auto.tcl (tcl_findLibrary): added checking the directories
in the tcl_pkgPath for library files on macosx to enable support of
the standard Mac OSX library locations.
* unix/Makefile.in:
* unix/configure.in:
* unix/tcl.m4: added MAC_OSX_DIR. Added PLAT_OBJS to the OBJS: there
are some MacOS X specific files now for Tcl, and when I get the
resource & applescript stuff ported over, and restore support for
FindFiles, etc, there will be a few more. Added LD_LIBRARY_PATH_VAR
configure variable to avoid having to set all possible LD_LIBRARY_PATH
analogues on all platforms. LD_LIBRARY_PATH_VAR is "LD_LIBRARY_PATH"
by default, "LIBPATH" on AIX, "SHLIB_PATH" on HPUX and
"DYLD_LIBRARY_PATH" on Mac OSX. Added configure option to package Tcl
as a framework on Mac OSX.
* macosx/tclMacOSXBundle.c (new): support for finding Tcl extension
packaged as 'bundles' in the standard Mac OSX library locations.
* unix/tclUnixInit.c: added support for findig the tcl script library
inside Tcl packaged as a framework on Mac OSX.
* macosx/Tcl.pbproj/jingham.pbxuser (new):
* macosx/Tcl.pbproj/project.pbxproj (new): project for Apple's
ProjectBuilder IDE.
* macosx/Makefile (new): simple makefile for building the project from
the command line via the ProjectBuilder tool 'pbxbuild'.
* unix/configure:
* generic/tclStubInit.c:
* generic/tclPlatDecls.h: regen
2002-08-29 Andreas Kupries <[email protected]>
* win/tclWinThrd.c (TclpFinalizeThreadData, TclWinFreeAllocCache):
Applied patch for [Bug 599428], provided by Miguel Sofer
2002-08-28 David Gravereaux <[email protected]>
* generic/tclEnv.c:
* unix/configure.in:
* win/tclWinPort.h: putenv() on some systems copies the buffer rather
than taking reference to it. This causes memory leaks and is know to
effect mswindows (msvcrt) and NetBSD 1.5.2 . This patch tests for this
behavior and turns on -DHAVE_PUTENV_THAT_COPIES=1 when approriate.
Thanks to David Welton for assistance. [Bug 414910]
* unix/configure: regen'd
2002-08-28 Donal K. Fellows <[email protected]>
* doc/eval.n: Added mention of list command and corrected "SEE ALSO".
* unix/configure.in: Cache handling of ac_cv_type_socklen_t was wrong.
[Bug 600931] reported by John Ellson. Fixed by putting the brackets
where they belong.
2002-08-26 Miguel Sofer <[email protected]>
* generic/tclCompCmds.c: fix for [Bug 599788] (error in element name
causing segfault), reported by Tom Wilkason. Fixed by copying the
tokens instead of the source string.
2002-08-26 Miguel Sofer <[email protected]>
* generic/tclThreadAlloc.c: small optimisation, reducing the new
allocator's overhead.
2002-08-23 Miguel Sofer <[email protected]>
* generic/tclObj.c (USE_THREAD_ALLOC): fixed leak [Bug 597936]. Thanks
to Zoran Vasiljevic.
2002-08-23 Miguel Sofer <[email protected]>
* generic/tclThreadAlloc.c (USE_THREAD_ALLOC): moving objects between
caches as a block, instead of one-by-one.
2002-08-22 Miguel Sofer <[email protected]>
* generic/tclBasic.c:
* generic/tclCmdMZ.c: fix for freed memory r/w in delete traces [Bug
589863], patch by Hemang Lavana.
2002-08-20 Andreas Kupries <[email protected]>
* win/Makefile.in (CFLAGS):
* unix/Makefile.in (MEM_DEBUG_FLAGS): Added usage of @MEM_DEBUG_FLAGS@.
* win/configure.in:
* unix/configure.in: Added usage of SC_ENABLE_MEMDEBUG.
* win/tcl.m4:
* unix/tcl.m4: Added macro SC_ENABLE_MEMDEBUG. Allows a user of
configure to (de)activate memory validation and debugging
(TCL_MEM_DEBUG). No need to modify the makefile anymore.
2002-08-20 Don Porter <[email protected]>
* generic/tclCkalloc.c: CONSTified MemoryCmd and CheckmemCmd.
* README: Bumped version number to 8.4b3 to distinguish
* generic/tcl.h: HEAD from the 8.4b2 release.
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/README.binary:
* win/configure.in: