os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/ChangeLog
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
2007-05-24  Don Porter  <dgp@users.sourceforge.net>
sl@0
     2
sl@0
     3
	*** 8.4.15 TAGGED FOR RELEASE ***
sl@0
     4
sl@0
     5
	* generic/tclIO.c:	Backport memleak fix in TclFinalizeIOSubsystem.
sl@0
     6
sl@0
     7
2007-05-17  Don Porter  <dgp@users.sourceforge.net>
sl@0
     8
sl@0
     9
	* tests/fCmd.test:	Backport the notNetworkFilesystem constraint.
sl@0
    10
sl@0
    11
2007-05-15  Don Porter  <dgp@users.sourceforge.net>
sl@0
    12
sl@0
    13
	* generic/tclNamesp.c:	Plugged memory leak related to 
sl@0
    14
	[namespace delete ::]. [Bug 1716782]
sl@0
    15
sl@0
    16
	* changes: updates for 8.4.15 release.
sl@0
    17
sl@0
    18
	* win/tclWinReg.c:		Bump to registry 1.1.5 to account
sl@0
    19
	* library/reg/pkgIndex.tcl:	for [1682211] bug fix.
sl@0
    20
sl@0
    21
2007-05-10  Don Porter  <dgp@users.sourceforge.net>
sl@0
    22
sl@0
    23
	* generic/tclInt.h:     TclFinalizeThreadAlloc() is always defined,
sl@0
    24
	so make sure it is also always declared.
sl@0
    25
sl@0
    26
	[Tcl Bug 1706140]
sl@0
    27
sl@0
    28
	* generic/tclCmdMZ.c (Trace*Proc):	Update Tcl_VarTraceProcs so
sl@0
    29
	* generic/tclLink.c (LinkTraceProc):    that they call
sl@0
    30
	* generic/tclUtil.c (TclPrecTraceProc): Tcl_InterpDeleted() for
sl@0
    31
	themselves, and do not rely on (frequently buggy) setting of the
sl@0
    32
	TCL_INTERP_DESTROYED flag by the trace core.
sl@0
    33
sl@0
    34
	* generic/tclVar.c:     Update callers of CallVarTraces to not
sl@0
    35
	pass in the TCL_INTERP_DESTROYED flag.  Also apply filters so that
sl@0
    36
	public routines only pass documented flag values down to lower level
sl@0
    37
	routines.
sl@0
    38
sl@0
    39
	* generic/tclVar.c (CallVarTraces):        The setting of the
sl@0
    40
	TCL_INTERP_DESTROYED flag is now done entirely within the
sl@0
    41
	CallVarTraces routine, the only place it can be done right.
sl@0
    42
sl@0
    43
2007-04-30  Daniel Steffen  <das@users.sourceforge.net>
sl@0
    44
sl@0
    45
	* unix/Makefile.in: add 'tclsh' dependency to install targets that rely
sl@0
    46
	on tclsh, fixes parallel 'make install' from empty build dir.
sl@0
    47
sl@0
    48
2007-04-29  Daniel Steffen  <das@users.sourceforge.net>
sl@0
    49
sl@0
    50
	* unix/tclUnixFCmd.c: add workaround for crashing bug in fts_open()
sl@0
    51
	* unix/tclUnixInit.c: without FTS_NOSTAT on 64bit Darwin 8 or earlier.
sl@0
    52
sl@0
    53
	* unix/tclLoadDyld.c (TclpLoadMemory): fix (void*) arithmetic.
sl@0
    54
sl@0
    55
	* macosx/tclMacOSXNotify.c:	fix warnings.
sl@0
    56
sl@0
    57
	* macosx/README:		sync whitespace/formatting with HEAD.
sl@0
    58
	* macosx/tclMacOSXBundle.c:
sl@0
    59
	* macosx/tclMacOSXNotify.c:
sl@0
    60
	* unix/tclLoadDyld.c:
sl@0
    61
sl@0
    62
	* macosx/Makefile:		fix/add copyright and license refs.
sl@0
    63
	* macosx/tclMacOSXBundle.c:
sl@0
    64
	* macosx/Tcl-Info.plist.in:
sl@0
    65
sl@0
    66
	* unix/Makefile.in (dist): copy license.terms to dist macosx dir.
sl@0
    67
	* unix/configure.in: install license.terms into Tcl.framework.
sl@0
    68
	* unix/configure: autoconf-2.13
sl@0
    69
sl@0
    70
2007-04-21  Kevin B. Kenny  <kennyb@acm.org>
sl@0
    71
sl@0
    72
	* generic/tclClock.c:	     Restored Cygwin buildability [Bug 1387154]
sl@0
    73
	* generic/tclInt.decls:      Yet another round of attempting
sl@0
    74
	* generic/tclInt.h:          to get the correct type signature
sl@0
    75
	* unix/tclUnixPort.h:        for TclpLocaltime and TclpGmtime.
sl@0
    76
	* unix/tclUnixTime.c:        CONST TclpTime_t is a 'time_t *CONST'
sl@0
    77
	* win/tclWinTime.c:          and not a 'CONST time_t*' [Bug 1677275]
sl@0
    78
	* generic/tclIntDecls.h:     
sl@0
    79
	* generic/tclIntPlatDecls.h: Regenerated.
sl@0
    80
	
sl@0
    81
2007-03-24  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
    82
sl@0
    83
	* win/tclWinThrd.c: Thread exit handler marks the current 
sl@0
    84
	thread as un-initialized. This allows exit handlers that
sl@0
    85
	are registered later to re-initialize this subsystem in 
sl@0
    86
	case they need to use some sync primitives (cond variables)
sl@0
    87
	from this file again. 
sl@0
    88
sl@0
    89
2007-03-19  Don Porter  <dgp@users.sourceforge.net>
sl@0
    90
sl@0
    91
	* generic/tclEvent.c (Tcl_CreateThread):	Replaced some calls to
sl@0
    92
	* generic/tclPkg.c (CheckVersion):	Tcl_Alloc() with calls to
sl@0
    93
	* unix/tclUnixTime.c (SetTZIfNecessary):	ckalloc(), which better
sl@0
    94
	* win/tclAppInit.c (setargv):	supports memory debugging.
sl@0
    95
sl@0
    96
2007-03-17  Kevin Kenny  <kennykb@acm.org>
sl@0
    97
	
sl@0
    98
	* win/tclWinReg.c (GetKeyNames): Size the buffer for enumerating
sl@0
    99
	key names correctly, so that Unicode names exceeding 127 chars
sl@0
   100
	can be retrieved without crashing. [Bug 1682211]
sl@0
   101
	* tests/registry.test (registry-4.9): Added test case for the
sl@0
   102
	above bug.
sl@0
   103
sl@0
   104
2007-03-13  Don Porter  <dgp@users.sourceforge.net>
sl@0
   105
sl@0
   106
	* generic/tclExecute.c (INST_FOREACH_STEP4):	Re-fetch pointers for
sl@0
   107
	* tests/foreach.test (foreach-10.1):	the value list each iteration
sl@0
   108
	of the loop as defense against shimmers.  [Bug 1671087]
sl@0
   109
sl@0
   110
	* generic/tclVar.c (TclArraySet):	Re-fetch pointers for the list
sl@0
   111
	* tests/var.test (var-17.1):	argument of [array set] each time
sl@0
   112
	through the loop as defense against possible shimmer issues.
sl@0
   113
	[Bug 1669489].
sl@0
   114
sl@0
   115
2007-03-10  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
   116
sl@0
   117
	* generic/tclCmdIL.c (Tcl_LsortObjCmd): Handle tricky case with loss
sl@0
   118
	* tests/cmdIL.test (cmdIL-1.29):of list rep during sorting due
sl@0
   119
	to shimmering. [Bug 1675116]
sl@0
   120
sl@0
   121
2007-03-07  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   122
sl@0
   123
	* macosx/tclMacOSXNotify.c: add spinlock debugging and sanity checks.
sl@0
   124
sl@0
   125
	* unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check.
sl@0
   126
	* unix/configure: autoconf-2.13
sl@0
   127
sl@0
   128
2007-03-01  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
   129
sl@0
   130
	* generic/tclCompCmds.c (TclCompileForeachCmd): Prevent an unexpected
sl@0
   131
	* tests/foreach.test (foreach-9.1):		infinite loop when the
sl@0
   132
	variable list is empty and the foreach is compiled. [Bug 1671138]
sl@0
   133
sl@0
   134
2007-02-22  Andreas Kupries  <andreask@activestate.com>
sl@0
   135
sl@0
   136
	* tests/pkg.test: Added tests for the case of an alpha package
sl@0
   137
	  satisfying a require for the regular package, demonstrating a
sl@0
   138
	  corner case specified in TIP#280. More notes in the comments to
sl@0
   139
	  the test.
sl@0
   140
sl@0
   141
2007-02-20  Don Porter  <dgp@users.sourceforge.net>
sl@0
   142
sl@0
   143
	* doc/tcltest.n:	Typo fix.  [Bug 1663539]
sl@0
   144
sl@0
   145
2007-02-19  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   146
sl@0
   147
	* generic/tclIOUtil.c (Tcl_FSEvalFile): safe incr of objPtr ref.
sl@0
   148
sl@0
   149
	* unix/tcl.m4: use SHLIB_SUFFIX=".so" on HP-UX ia64 arch.
sl@0
   150
	* unix/configure: autoconf-2.13
sl@0
   151
sl@0
   152
2007-02-12  Andreas Kupries  <andreask@activestate.com>
sl@0
   153
sl@0
   154
	* generic/tclEncoding.c (EscapeFromUtfProc): Applied patch
sl@0
   155
	  supplied by Mo DeJong to fix [Bug 1516109]. Backport from Tcl
sl@0
   156
	  8.5. Mo's description: Clear the TCL_ENCODING_END flag when end
sl@0
   157
	  bytes are written. This fix keep this method from writing escape
sl@0
   158
	  bytes for an encoding like iso2022-jp multiple times when the
sl@0
   159
	  escape byte overlap with the end of the IO buffer.
sl@0
   160
	* tests/io.test: Add test case for escape byte overlap case.
sl@0
   161
sl@0
   162
2007-02-04  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   163
sl@0
   164
	* unix/configure.in: add caching to -pipe check.
sl@0
   165
	* unix/configure: autoconf-2.13
sl@0
   166
sl@0
   167
2007-01-30  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   168
sl@0
   169
	* win/Makefile.in (install-private-headers): added target
sl@0
   170
sl@0
   171
2007-01-29  Don Porter  <dgp@users.sourceforge.net>
sl@0
   172
sl@0
   173
	* doc/fcopy.n:	Typo fix. [Bug 1630627]
sl@0
   174
sl@0
   175
2007-01-25  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   176
sl@0
   177
	* unix/tcl.m4:       integrate CPPFLAGS into CFLAGS as late as possible
sl@0
   178
	* unix/configure.in: and move (rather than duplicate) -isysroot flags
sl@0
   179
	from CFLAGS to CPPFLAGS to avoid errors about multiple -isysroot flags
sl@0
   180
	from some older gcc builds.
sl@0
   181
sl@0
   182
	* unix/configure: autoconf-2.13
sl@0
   183
sl@0
   184
2007-01-22  Andreas Kupries <andreask@activestate.com>
sl@0
   185
sl@0
   186
	* compat/memcmp.c (memcmp): Fixed the VOID / CONST typo introduced
sl@0
   187
	  by the last checkin.
sl@0
   188
sl@0
   189
2007-01-22  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
   190
sl@0
   191
	* compat/memcmp.c (memcmp): Reworked so that arithmetic is never
sl@0
   192
	performed upon void pointers, since that is illegal. [Bug 1631017]
sl@0
   193
sl@0
   194
2006-01-19  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   195
sl@0
   196
	* macosx/tclMacOSXNotify.c: accommodate changes to prototypes of
sl@0
   197
	OSSpinLock(Un)Lock API.
sl@0
   198
	
sl@0
   199
	* tests/env.test: add extra system env vars that need to be preserved
sl@0
   200
	on some Mac OS X versions for testsuite to work.
sl@0
   201
sl@0
   202
	* unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861]
sl@0
   203
	(Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when
sl@0
   204
	present in CFLAGS to avoid discrepancies between what headers configure
sl@0
   205
	sees during preprocessing tests and compiling tests.
sl@0
   206
sl@0
   207
	* unix/configure: autoconf-2.13
sl@0
   208
sl@0
   209
2006-12-19  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   210
sl@0
   211
	* unix/tclUnixThrd.c (TclpInetNtoa): fix for 64 bit.
sl@0
   212
sl@0
   213
	* unix/tcl.m4 (Darwin): --enable-64bit: verify linking with 64bit -arch
sl@0
   214
	flag succeeds before enabling 64bit build.
sl@0
   215
	* unix/configure: autoconf-2.13
sl@0
   216
sl@0
   217
2006-12-14  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
   218
sl@0
   219
	* doc/string.n: Fix example. [Bug 1615277]
sl@0
   220
sl@0
   221
2006-12-05  Andreas Kupries <andreask@activestate.com>
sl@0
   222
sl@0
   223
	* tests/pkg.test:   Backport to 8.4 (Don Porter's work):
sl@0
   224
	* generic/tclPkg.c: When no requirements are supplied to a [package
sl@0
   225
	require $pkg] and [package unknown] is invoked to find a satisfying
sl@0
   226
	package, pass the requirement argument "0-" (which means all versions
sl@0
   227
	are acceptable). This permits a registered [package unknown] command
sl@0
   228
	to call [package vsatisfies $testVersion {*}$args] without any special
sl@0
   229
	handling of the empty $args case. This fixes/avoids a bug in
sl@0
   230
	[::tcl::tm::UnknownHandler] that was causing old TM versions to be
sl@0
   231
	provided in preference to newer TM versions. Thanks to Julian Noble
sl@0
   232
	for discovering the issue.
sl@0
   233
sl@0
   234
2006-12-04  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
   235
sl@0
   236
	* doc/file.n: Fix confusing wording for [file pathtype]. [Bug 1606454]
sl@0
   237
sl@0
   238
2006-11-28  Andreas Kupries  <andreask@activestate.com>
sl@0
   239
sl@0
   240
	* generic/tclBasic.c: TIP #280 implementation, conditional on the
sl@0
   241
	* generic/tclCmdAH.c: define TCL_TIP280.
sl@0
   242
	* generic/tclCmdIL.c:
sl@0
   243
	* generic/tclCmdMZ.c:
sl@0
   244
	* generic/tclCompCmds.c:
sl@0
   245
	* generic/tclCompExpr.c:
sl@0
   246
	* generic/tclCompile.c:
sl@0
   247
	* generic/tclCompile.h:
sl@0
   248
	* generic/tclExecute.c:
sl@0
   249
	* generic/tclIOUtil.c:
sl@0
   250
	* generic/tclInt.h:
sl@0
   251
	* generic/tclInterp.c:
sl@0
   252
	* generic/tclNamesp.c:
sl@0
   253
	* generic/tclObj.c:
sl@0
   254
	* generic/tclProc.c:
sl@0
   255
	* tests/compile.test:
sl@0
   256
	* tests/info.test:
sl@0
   257
	* tests/platform.test:
sl@0
   258
	* tests/safe.test:
sl@0
   259
sl@0
   260
2006-11-27  Kevin Kenny  <kennykb@acm.org>
sl@0
   261
sl@0
   262
	* unix/tclUnixChan.c (TclUnixWaitForFile):
sl@0
   263
	* tests/event.test (event-14.*): Corrected a bug where
sl@0
   264
	TclUnixWaitForFile would present select() with the wrong mask on an
sl@0
   265
	LP64 machine if a fd number exceeds 32. Thanks to Jean-Luc Fontaine
sl@0
   266
	for reporting and diagnosing [Bug 1602208]
sl@0
   267
	
sl@0
   268
2006-11-26  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   269
sl@0
   270
	* unix/tcl.m4 (Linux): --enable-64bit support.	[Patch 1597389]
sl@0
   271
	* unix/configure: autoconf-2.13			[Bug 1230558]
sl@0
   272
sl@0
   273
2006-11-07  Andreas Kupries  <andreask@activestate.com>
sl@0
   274
sl@0
   275
	* unix/tclUnixFCmd.c (CopyFile): Added code to fall back to a
sl@0
   276
	hardwired default block size should the filesystem report a bogus
sl@0
   277
	value. [Bug 1586470]
sl@0
   278
sl@0
   279
2006-11-03  Miguel Sofer  <msofer@users.sf.net>
sl@0
   280
sl@0
   281
	* generic/tclBasic.c (TEOVI): fix for possible leak of a Command in
sl@0
   282
	the presence of execution traces that delete it.
sl@0
   283
sl@0
   284
	* generic/tclBasic.c (TEOVI):
sl@0
   285
	* tests/trace.test (trace-21.11): fix for [Bug 1590232], execution
sl@0
   286
	traces may cause a second command resolution in the wrong
sl@0
   287
	namespace. 
sl@0
   288
sl@0
   289
2006-11-01  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   290
sl@0
   291
	* generic/tclEnv.c (Darwin): mark _environ symbol as unexported.
sl@0
   292
sl@0
   293
2006-10-31  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
   294
sl@0
   295
	* rules.vc: Fix [Bug 1582769] build with VC2003 and correct i386 arch
sl@0
   296
sl@0
   297
2006-10-23  Don Porter  <dgp@users.sourceforge.net>
sl@0
   298
sl@0
   299
	* README:		Bump version number to 8.4.15
sl@0
   300
	* generic/tcl.h:
sl@0
   301
	* tools/tcl.wse.in:
sl@0
   302
	* unix/configure.in:
sl@0
   303
	* unix/tcl.spec:
sl@0
   304
	* win/README.binary:
sl@0
   305
	* win/configure.in:
sl@0
   306
sl@0
   307
	* unix/configure:	autoconf-2.13
sl@0
   308
	* win/configure:
sl@0
   309
sl@0
   310
2006-10-18  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
   311
sl@0
   312
	*** 8.4.14 TAGGED FOR RELEASE ***
sl@0
   313
sl@0
   314
	* win/nmakehlp.c: Ensure builds with VC6 without Platform SDK.
sl@0
   315
	* win/rules.vc:	  Pickup MACHINE from environment.
sl@0
   316
sl@0
   317
2006-10-17  Don Porter  <dgp@users.sourceforge.net>
sl@0
   318
sl@0
   319
	* generic/tclIOUtil.c:	Cleaned up some code flagged by a
sl@0
   320
	* generic/tclInt.h:	`make checkexports` test.
sl@0
   321
	* win/tclWin32Dll.c:
sl@0
   322
	* win/tclWinFile.c:
sl@0
   323
	
sl@0
   324
2006-10-16  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   325
sl@0
   326
	* changes: updates for 8.4.14 release.
sl@0
   327
sl@0
   328
	* macosx/Makefile: don't redo prebinding of non-prebound binaires.
sl@0
   329
sl@0
   330
2006-10-11  Andreas Kupries  <andreask@activestate.com>
sl@0
   331
sl@0
   332
	* generic/tclPkg.c (Tcl_PkgRequireEx): Corrected crash when argument
sl@0
   333
	version==NULL passed in. Backport of the fix for the same problem in
sl@0
   334
	8.5.
sl@0
   335
sl@0
   336
2006-10-10  Don Porter  <dgp@users.sourceforge.net>
sl@0
   337
sl@0
   338
	* changes:		changes updated for 8.4.14 release.
sl@0
   339
sl@0
   340
2006-10-06  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   341
sl@0
   342
	* tests/http.test: update tests to handle strictness change.
sl@0
   343
sl@0
   344
2006-10-06  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
   345
sl@0
   346
	* win/rules.vc: avoid /RTCc flag with MSVC8. [Bug 1571954]
sl@0
   347
sl@0
   348
2006-10-05  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   349
sl@0
   350
	* library/http/http.tcl (http::geturl): only do geturl url rfc 3986
sl@0
   351
	validity checking if $::http::strict is true (default false for 8.4).
sl@0
   352
	[Bug 1560506]
sl@0
   353
sl@0
   354
	* generic/tcl.h: note limitation on changing Tcl_UniChar size
sl@0
   355
	* generic/tclEncoding.c (UtfToUnicodeProc, UnicodeToUtfProc): 
sl@0
   356
	* tests/encoding.test (encoding-16.1): fix alignment issues in
sl@0
   357
	unicode <> utf conversion procs. [Bug 1122671]
sl@0
   358
sl@0
   359
2006-10-05  Miguel Sofer  <msofer@users.sf.net>
sl@0
   360
sl@0
   361
	* generic/tclVar.c (Tcl_LappendObjCmd):
sl@0
   362
	* tests/append.test(4.21-22): fix for longstanding [Bug 1570718],
sl@0
   363
	lappending nothing to non-list. Reported by lvirden
sl@0
   364
sl@0
   365
2006-10-02  Don Porter  <dgp@users.sourceforge.net>
sl@0
   366
sl@0
   367
	* generic/tclFileName.c (TclGlob):	Prevent doubling of directory
sl@0
   368
	separators by [glob]. [Bug 1569042]
sl@0
   369
sl@0
   370
2006-10-01  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
   371
sl@0
   372
	* win/tclWinFile.c: Handle possible missing define.
sl@0
   373
	* win/tclWinFile.c: Backported fix for [Bug 1420432] (cannot set 
sl@0
   374
	* tests/cmdAH.test: mtime for directories on windows).
sl@0
   375
sl@0
   376
2006-09-30  Miguel Sofer  <msofer@users.sf.net>
sl@0
   377
sl@0
   378
	* generic/tclUtil.c (Tcl_SplitList): optimisation, [Patch 1344747]
sl@0
   379
	by dgp.
sl@0
   380
sl@0
   381
2006-09-26  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
   382
sl@0
   383
	* win/makefile.vc:  Updated MSVC build to properly deal with
sl@0
   384
	* win/nmakehlp.c:   MSVC8 and AMD64 target. Backport from 8.5
sl@0
   385
	* win/rules.vc:
sl@0
   386
	* generic/tcl.h:    Fixed stat definition for MSVC8 AMD64.
sl@0
   387
	* win/tclWinSock.c: Casting type police.
sl@0
   388
	* win/tclWinTime.c:
sl@0
   389
sl@0
   390
2006-09-26  Don Porter  <dgp@users.sourceforge.net>
sl@0
   391
sl@0
   392
	* generic/tcl.h:	As 2006-09-22 commit from Donal K. Fellows
sl@0
   393
	demonstrates, "#define NULL 0" is just wrong, and as a quotable chat
sl@0
   394
	figure observed, "If NULL isn't defined, we're not using a C compiler."
sl@0
   395
	Improper fallback definition of NULL removed.
sl@0
   396
sl@0
   397
2006-09-25  Andreas Kupries  <andreask@activestate.com>
sl@0
   398
sl@0
   399
	* generic/tclIO.c (Tcl_StackChannel): Fixed [SF Tcl Bug 1564642], aka
sl@0
   400
	coverity #51. Extended loop condition, added checking for NULL to
sl@0
   401
	prevent seg.fault.
sl@0
   402
sl@0
   403
2006-09-25  Andreas Kupries <andreask@activestate.com>
sl@0
   404
sl@0
   405
	* generic/tclBasic.c: Reverted exposure of patchlevel in registered
sl@0
   406
	core version when TIP#268 features are activated. Better compatibility
sl@0
   407
	with existing packages. Like Tk.
sl@0
   408
sl@0
   409
2006-09-24  Miguel Sofer  <msofer@users.sf.net>
sl@0
   410
sl@0
   411
	* generic/tclParse.c (Tcl_ParseCommand): also return an error if 
sl@0
   412
	start==NULL and numBytes<0. This is coverity's bug #20
sl@0
   413
sl@0
   414
	* generic/tclStringObj.c (STRING_SIZE): fix allocation for 0-length
sl@0
   415
	strings. This is coverity's bugs #54-5
sl@0
   416
	
sl@0
   417
2006-09-22  Andreas Kupries  <andreask@activestate.com>
sl@0
   418
sl@0
   419
	* generic/tclInt.h: Moved TIP#268's field 'packagePrefer' to the end
sl@0
   420
	of the structure, for better backward compatibility.
sl@0
   421
sl@0
   422
2006-09-22  Andreas Kupries <andreask@activestate.com>
sl@0
   423
sl@0
   424
	* generic/tclPkg.c (Tcl_PkgRequireEx): Changes handling of the return
sl@0
   425
	information from 'Tcl_PkgRequireProc'. Keep the interpreter result
sl@0
   426
	empty. Backport of fix for problem found while testing #268 under 8.5.
sl@0
   427
	More details in the comments.
sl@0
   428
sl@0
   429
2006-09-22  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
   430
sl@0
   431
	* generic/tclThreadTest.c (TclCreateThread): Use NULL instead of 0 as
sl@0
   432
	end-of-strings marker to Tcl_AppendResult; the difference matters on
sl@0
   433
	64-bit machines. [Bug 1562528]
sl@0
   434
sl@0
   435
2006-09-21  Andreas Kupries <andreask@activestate.com>
sl@0
   436
sl@0
   437
	* generic/tcl.decls:  Implemented TIP #268, conditionally.
sl@0
   438
	* generic/tclBasic.c: Define TCL_TIP268 to activate the new
sl@0
   439
	* generic/tclDecls.h: features.
sl@0
   440
	* generic/tclInt.h:
sl@0
   441
	* generic/tclPkg.c: 
sl@0
   442
	* generic/tclStubInit.c:
sl@0
   443
	* generic/tclTest.c:
sl@0
   444
	* library/init.tcl
sl@0
   445
	* library/package.tcl:
sl@0
   446
	* tests/pkg.test:
sl@0
   447
	* tests/platform.test:
sl@0
   448
	* tests/safe.test:
sl@0
   449
	* doc/PkgRequire.3:
sl@0
   450
sl@0
   451
2006-09-15  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   452
sl@0
   453
	* library/http/http.tcl:      Change " " -> "+" url encoding mapping
sl@0
   454
	* library/http/pkgIndex.tcl:  to " " -> "%20" as per RFC 3986.
sl@0
   455
	* tests/http.test (http-5.1): bump http to 2.5.3 for 8.4.14
sl@0
   456
sl@0
   457
2006-09-12  Andreas Kupries  <andreask@activestate.com>
sl@0
   458
sl@0
   459
	* unix/configure.in (HAVE_MTSAFE_GETHOST*): Modified to recognize
sl@0
   460
	HP-UX 11.00 and beyond as having mt-safe implementations of the
sl@0
   461
	gethost functions.
sl@0
   462
	* unix/configure: Regenerated, using autoconf 2.13
sl@0
   463
sl@0
   464
	* unix/tclUnixCompat.c (PadBuffer): Fixed bug in calculation of the
sl@0
   465
	increment needed to align the pointer, and added documentation
sl@0
   466
	explaining why the macro is implemented as it is.
sl@0
   467
sl@0
   468
2006-09-11  Andreas Kupries  <andreask@activestate.com>
sl@0
   469
sl@0
   470
	* tests/msgcat.test: Bumped version in auxiliary files as well.
sl@0
   471
	* doc/msgcat.n: 
sl@0
   472
sl@0
   473
2006-09-11  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   474
sl@0
   475
	* unix/tclUnixCompat.c: make compatLock static and only declare it
sl@0
   476
	when it will actually be used; #ifdef parts of TSD that are not always
sl@0
   477
	needed; adjust #ifdefs to cover all possible cases; fix whitespace.
sl@0
   478
sl@0
   479
2006-09-10  Don Porter  <dgp@users.sourceforge.net>
sl@0
   480
sl@0
   481
	* library/msgcat/msgcat.tcl:	Bump to version msgcat 1.3.4 to account
sl@0
   482
	* library/msgcat/pkgIndex.tcl:	for modifications.
sl@0
   483
sl@0
   484
2006-09-10  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   485
sl@0
   486
	* library/msgcat/msgcat.tcl (msgcat::Init): on Darwin, add fallback of
sl@0
   487
	* tests/msgcat.test:			    default msgcat locale to
sl@0
   488
	* unix/tclUnixInit.c (TclpSetVariables):    current CFLocale
sl@0
   489
	identifier if available (via private ::tcl::mac::locale global, set at
sl@0
   490
	interp init when on Mac OS X 10.3 or later with CoreFoundation).
sl@0
   491
sl@0
   492
	* unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers
sl@0
   493
	* unix/configure: autoconf-2.13
sl@0
   494
sl@0
   495
2006-09-08  Andreas Kupries  <andreask@activestate.com>
sl@0
   496
sl@0
   497
	* unix/tclUnixCompat.c: Fixed conditions for CopyArray/CopyString, and
sl@0
   498
	CopyHostent. Also fixed bad var names in TclpGetHostByName.
sl@0
   499
sl@0
   500
2006-09-08  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
   501
sl@0
   502
	* unix/tclUnixCompat.c: Added fallback to gethostbyname() and
sl@0
   503
	gethostbyaddr() if the implementation is known to be MT-safe
sl@0
   504
	(currently for Darwin 6 or later only).
sl@0
   505
sl@0
   506
	* unix/configure.in: Assume gethostbyname() and gethostbyaddr() are
sl@0
   507
	MT-safe starting with Darwin 6 (Mac OSX 10.2).
sl@0
   508
sl@0
   509
	* unix/configure: Regenerated with autoconf V2.13
sl@0
   510
sl@0
   511
2006-09-07  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
   512
sl@0
   513
	* unix/tclUnixFCmd.c: Removed some false tests added (and left by
sl@0
   514
	mistake) by fixing [Bug 999544]
sl@0
   515
sl@0
   516
	* unix/tclUnixCompat.c: Added fallback to MT-unsafe library calls if
sl@0
   517
	TCL_THREADS is not defined. Fixed alignment of arrays copied by
sl@0
   518
	CopyArrayi() to be on the sizeof(char *) boundary.
sl@0
   519
sl@0
   520
2006-09-07  Andreas Kupries <andreask@activestate.com>
sl@0
   521
sl@0
   522
	* unix/configure: Regenerated using autoconf 2.13.
sl@0
   523
sl@0
   524
2006-09-07  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
   525
sl@0
   526
	* unix/tclUnixChan.c   Rewritten MT-safe wrappers to
sl@0
   527
	* unix/tclUnixCompat.c return ptrs to TSD storage
sl@0
   528
	* unix/tclUnixFCmd.c   making them all look like their
sl@0
   529
	* unix/tclUnixPort.h   MT-unsafe pendants API-wise.
sl@0
   530
	* unix/tclUnixSock.c   
sl@0
   531
sl@0
   532
2006-09-06  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
   533
sl@0
   534
	* unix/tclUnixChan.c: Added TCL_THREADS ifdef'ed  usage
sl@0
   535
	* unix/tclUnixFCmd.c: of MT-safe calls like:
sl@0
   536
	* unix/tclUnixSock.c: getpwuid, getpwnam, getgrgid, getgrnam,
sl@0
   537
	* unix/tclUnixPort.h: gethostbyname and gethostbyaddr.
sl@0
   538
	* unix/Makefile.in:   See Tcl Bug: 999544
sl@0
   539
	* unix/configure.in:
sl@0
   540
	* unix/tcl.m4:
sl@0
   541
	* unix/configure: Regenerated.
sl@0
   542
sl@0
   543
	* unix/tclUnixCompat.c: New file containing MT-safe implementation of
sl@0
   544
	some library calls.
sl@0
   545
sl@0
   546
2006-09-04  Don Porter  <dgp@users.sourceforge.net>
sl@0
   547
sl@0
   548
	* tests/main.text (Tcl_Main-4.4):	Test corrected to not be
sl@0
   549
	timing sensitive to the Bug 1481986 fix. [Bug 1550858]
sl@0
   550
sl@0
   551
2006-09-04  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   552
sl@0
   553
	* doc/package.n: correct package example
sl@0
   554
sl@0
   555
2006-08-30  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   556
sl@0
   557
	* win/tclWinChan.c: [Bug 819667] Improve logic for identifying COM
sl@0
   558
	ports.
sl@0
   559
sl@0
   560
	* win/tclWinFCmd.c:    [Bug 1548263] Added test for NULL return
sl@0
   561
	* generic/tclIOUtil.c: from Tcl_FSGetNormalizedPath which was
sl@0
   562
	causing segv's
sl@0
   563
sl@0
   564
	* generic/tclFileName.c (TclDoGlob): match incr with existing decr.
sl@0
   565
sl@0
   566
	* unix/Makefile.in: add valgrindshell target and update default
sl@0
   567
	VALGRINDARGS. User can override, or add to it with VALGRIND_OPTS env
sl@0
   568
	var.
sl@0
   569
sl@0
   570
	* generic/tclBasic.c (Tcl_CreateInterp): init iPtr->threadId
sl@0
   571
sl@0
   572
	* generic/tclIOGT.c (ExecuteCallback): 
sl@0
   573
	* generic/tclPkg.c (Tcl_PkgRequireEx): replace Tcl_GlobalEval(Obj)
sl@0
   574
	with more efficient Tcl_Eval(Obj)Ex
sl@0
   575
sl@0
   576
2006-08-22  Andreas Kupries <andreask@activestate.com>
sl@0
   577
sl@0
   578
	* unix/tclUnixNotfy.c (Tcl_WaitForEvent): Fixed broken if syntax
sl@0
   579
	committed 2006-08-21 by Daniel. The broken syntax is visible to all
sl@0
   580
	unix platforms, but not on OSX for machines which HAVE_COREFOUNDATION.
sl@0
   581
sl@0
   582
2006-08-21  Don Porter  <dgp@users.sourceforge.net>
sl@0
   583
sl@0
   584
	* generic/tclIOUtil.c:	Revisions to complete the thread finalization
sl@0
   585
	of the cwdPathPtr. [Bug 1536142]
sl@0
   586
sl@0
   587
2006-08-21  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   588
sl@0
   589
	* macosx/tclMacOSXNotify.c (Tcl_WaitForEvent): if the run loop is
sl@0
   590
	already running (e.g. if Tcl_WaitForEvent was called recursively),
sl@0
   591
	re-run it in a custom run loop mode containing only the source for the
sl@0
   592
	notifier thread, otherwise wakeups from other sources added to the
sl@0
   593
	common run loop modes might get lost; sync panic msg changes from
sl@0
   594
	HEAD.
sl@0
   595
sl@0
   596
	* unix/tclUnixNotfy.c (Tcl_WaitForEvent): on 64-bit Darwin,
sl@0
   597
	pthread_cond_timedwait() appears to have a bug that causes it to wait
sl@0
   598
	forever when passed an absolute time which has already been exceeded
sl@0
   599
	by the system time; as a workaround, when given a very brief timeout,
sl@0
   600
	just do a poll on that platform. [Bug 1457797]
sl@0
   601
sl@0
   602
	* unix/tclUnixPort.h (Darwin): override potentially faulty configure
sl@0
   603
	detection of termios availability in all cases, since termios is known
sl@0
   604
	to be present on all Mac OS X releases since 10.0. [Bug 497147]
sl@0
   605
sl@0
   606
2006-08-18  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   607
sl@0
   608
	* unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for
sl@0
   609
	universal builds including x86_64, for 64-bit CoreFoundation on
sl@0
   610
	Leopard and for use of -mmacosx-version-min instead of
sl@0
   611
	MACOSX_DEPLOYMENT_TARGET.
sl@0
   612
	* unix/configure: autoconf-2.13
sl@0
   613
sl@0
   614
	* generic/tcl.h:      add fixes for building on Leopard and support
sl@0
   615
	* unix/tclUnixPort.h: for 64-bit CoreFoundation on Leopard.
sl@0
   616
sl@0
   617
	* unix/tclUnixPort.h: on Darwin x86_64, disable use of vfork as it
sl@0
   618
	causes execve to fail intermittently. (rdar://4685553)
sl@0
   619
	
sl@0
   620
	* macosx/README: updates for x86_64 support and Xcode 2.4.
sl@0
   621
sl@0
   622
	* unix/tclUnixChan.c (TclUnixWaitForFile): with timeout < 0, if
sl@0
   623
	select() returns early (e.g. due to a signal), call it again instead
sl@0
   624
	of returning a timeout result. Fixes intermittent event-13.8 failures.
sl@0
   625
sl@0
   626
2006-08-09  Don Porter  <dgp@users.sourceforge.net>
sl@0
   627
sl@0
   628
	* generic/tclEncoding.c:	Replace buffer copy in for loop with
sl@0
   629
	call to memcpy(). Thanks to afredd. [Patch 1530262]
sl@0
   630
sl@0
   631
2006-08-03  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   632
sl@0
   633
	* unix/tclUnixPipe.c (TclpCreateProcess): for USE_VFORK: ensure
sl@0
   634
	standard channels are initialized before vfork() so that the child
sl@0
   635
	doesn't potentially corrupt global state in the parent's address
sl@0
   636
	space.
sl@0
   637
sl@0
   638
2006-07-30  Kevin Kenny  <kennykb@acm.org>
sl@0
   639
sl@0
   640
	* tests/clock.test: Allowed UTC as a synonym for GMT in two tests that
sl@0
   641
	indirectly invoke 'strftime' with the result of 'gmtime' to fix a
sl@0
   642
	bogus test failure on FreeBSD systems. [Bug 1513489]
sl@0
   643
	
sl@0
   644
2006-07-30  Joe English  <jenglish@users.sourceforge.net>
sl@0
   645
sl@0
   646
	* doc/AppInit.3: Fix typo [Bug 1496886]
sl@0
   647
sl@0
   648
2006-07-20  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   649
sl@0
   650
	* macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent):
sl@0
   651
	create notifier thread lazily upon first call to Tcl_WaitForEvent()
sl@0
   652
	rather than in Tcl_InitNotifier(). Allows calling exeve() in processes
sl@0
   653
	where the event loop has not yet been run (Darwin's execve() fails in
sl@0
   654
	processes with more than one thread), in particular allows embedders
sl@0
   655
	to call fork() followed by execve(), previously the pthread_atfork()
sl@0
   656
	child handler's call to Tcl_InitNotifier() would immediately recreate
sl@0
   657
	the notifier thread in the child after a fork.
sl@0
   658
sl@0
   659
	* macosx/tclMacOSXNotify.c (Tcl_InitNotifier):	   add support for
sl@0
   660
	* unix/tclUnixFCmd.c (DoRenameFile, CopyFileAtts): weakly importing
sl@0
   661
	* unix/tclUnixInit.c (TclpSetInitialEncodings):	   symbols not
sl@0
   662
	available on OSX 10.2 or 10.3, enables binaires built on later OSX
sl@0
   663
	versions to run on earlier ones.
sl@0
   664
	* macosx/README: document how to enable weak-linking; cleanup.
sl@0
   665
	* unix/tclUnixPort.h: add support for weak-linking; conditionalize
sl@0
   666
	AvailabilityMacros.h inclusion; only disable realpath on 10.2 or
sl@0
   667
	earlier when threads are enabled.
sl@0
   668
	* unix/tclLoadDyld.c (TclpLoadMemoryGetBuffer): change runtime Darwin
sl@0
   669
	* unix/tclUnixInit.c (TclpInitPlatform):	release check to use
sl@0
   670
						       global initialized once
sl@0
   671
	* unix/tclUnixFCmd.c (DoRenameFile, TclpObjNormalizePath): add runtime
sl@0
   672
	Darwin release check to determine if realpath is threadsafe.
sl@0
   673
	* unix/configure.in: add check on Darwin for compiler support of weak
sl@0
   674
	* unix/tcl.m4:	     import and for AvailabilityMacros.h header; move
sl@0
   675
	Darwin specific checks & defines that are only relevant to the tcl
sl@0
   676
	build out of tcl.m4; restrict framework option to Darwin; cleanup
sl@0
   677
	quoting.
sl@0
   678
	* unix/configure: autoconf-2.13
sl@0
   679
sl@0
   680
	* unix/tclLoadDyld.c (TclpLoadMemory):
sl@0
   681
	* unix/tclUnixPipe.c (TclpCreateProcess): fix signed-with-unsigned
sl@0
   682
	comparison and other warnings from gcc4 -Wextra.
sl@0
   683
sl@0
   684
2006-07-13  Andreas Kupries <andreask@activestate.com>
sl@0
   685
sl@0
   686
	* unix/tclUnixPort.h: Added the inclusion of <AvailabilityMacros.h>.
sl@0
   687
	The missing header caused the upcoming #if conditions to wrongly
sl@0
   688
	exclude realpath, causing file normalize to ignore symbolic links in
sl@0
   689
	the path.
sl@0
   690
sl@0
   691
2006-07-11  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
   692
sl@0
   693
	* generic/tclAsync.c: Made Tcl_AsyncDelete() more tolerant when called
sl@0
   694
	after all thread TSD has been garbage-collected.
sl@0
   695
sl@0
   696
2006-07-10  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   697
sl@0
   698
	* generic/tclIO.c (Tcl_CreateChannel): allow Tcl std channel
sl@0
   699
	inheritance to be #defined out (default remains in).
sl@0
   700
sl@0
   701
2006-06-15  Don Porter  <dgp@users.sourceforge.net>
sl@0
   702
sl@0
   703
	* changes:		changes to start prep for an 8.4.14 release.
sl@0
   704
sl@0
   705
2006-06-14  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   706
sl@0
   707
	* unix/tclUnixPort.h (Darwin): support for MAC_OS_X_VERSION_MAX_ALLOWED
sl@0
   708
	define from AvailabilityMacros.h: override configure detection and only
sl@0
   709
	use API available in the indicated OS version or earlier.
sl@0
   710
sl@0
   711
2006-06-14  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
   712
sl@0
   713
	* generic/regerror.c:	Enable building Tcl with Microsoft's latest
sl@0
   714
	* generic/tcl.h:	compiler offering (VS2005). We have to handle
sl@0
   715
	* generic/tclDate.c:	a number of oddities as they have deprecated
sl@0
   716
	* tests/env.test:	most of the standard C library and now
sl@0
   717
	* win/makefile.vc:	generate manifest files to be linked into the
sl@0
   718
	* win/nmakehlp.c:	binaries. [Bug 1424909]
sl@0
   719
	* win/rules.vc:		
sl@0
   720
	* win/tclWinTime.c:
sl@0
   721
sl@0
   722
2006-06-13  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
   723
sl@0
   724
	* unix/tclLoadDl.c (TclpDlopen): Workaround for a compiler bug in Sun
sl@0
   725
	Forte 6. [Bug 1503729]
sl@0
   726
sl@0
   727
2006-06-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
   728
sl@0
   729
	* doc/GetStdChan.3:	Added recommendation that each call to
sl@0
   730
	Tcl_SetStdChannel() be accompanied by a call to Tcl_RegisterChannel().
sl@0
   731
sl@0
   732
2006-05-31  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   733
sl@0
   734
	* generic/tclNamesp.c (NamespaceInscopeCmd): revert [Bug 1400572]
sl@0
   735
	fix of 2006-01-09 for [namespace inscope] as it seems to mess with
sl@0
   736
	itcl scope decoding. Leaving namespace-29.6 test failure until final
sl@0
   737
	cause it determined.
sl@0
   738
sl@0
   739
2006-05-29  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   740
sl@0
   741
	* generic/tcl.h (Tcl_DecrRefCount): use if/else construct to allow
sl@0
   742
	placement in unbraced outer if/else conditions. (jcw)
sl@0
   743
sl@0
   744
2006-05-27  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   745
sl@0
   746
	* macosx/tclMacOSXNotify.c: implemented pthread_atfork() handler that
sl@0
   747
	* unix/tcl.m4 (Darwin):	    recreates CoreFoundation state and notifier
sl@0
   748
	thread in the child after a fork(). Note that pthread_atfork() is
sl@0
   749
	available starting with Tiger only. Because vfork() is used by the core
sl@0
   750
	on Darwin, [exec]/[open] are not affected by this fix, only extensions
sl@0
   751
	or embedders that call fork() directly (such as TclX). However, this
sl@0
   752
	only makes fork() safe from corefoundation tcl with --disable-threads;
sl@0
   753
	as on all platforms, forked children may deadlock in threaded tcl due
sl@0
   754
	to the potential for stale locked mutexes in the child. [Patch 923072]
sl@0
   755
	* unix/configure: autoconf-2.59
sl@0
   756
sl@0
   757
2006-05-24  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
sl@0
   758
sl@0
   759
	* unix/tcl.m4 (SC_CONFIG_SYSTEM): Fixed quoting of command script to
sl@0
   760
	awk; it was a rarely used branch, but it was wrong. [Bug 1494160]
sl@0
   761
sl@0
   762
2006-05-13  Don Porter  <dgp@users.sourceforge.net>
sl@0
   763
sl@0
   764
	* generic/tclFileName.c (TclDoGlob):	Disabled the partial
sl@0
   765
	normalization done by the recursive glob routine, since changing the
sl@0
   766
	precise string of the pathname broke [glob] on some Tcl_Filesystems.
sl@0
   767
	[Bug 943995]
sl@0
   768
sl@0
   769
	* generic/tclProc.c (ProcCompileProc):	When a bump of the compile
sl@0
   770
	epoch forces the re-compile of a proc body, take care not to
sl@0
   771
	overwrite any Proc struct that may be referred to on the active
sl@0
   772
	call stack. This fixes [Bug 1482718]. Note that the fix will not be
sl@0
   773
	effective for code that calls the private routine TclProcCompileProc()
sl@0
   774
	directly.
sl@0
   775
sl@0
   776
2006-05-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
   777
sl@0
   778
	* generic/tclMain.c (Tcl_Main):		Corrected flaw that required
sl@0
   779
	* tests/main.test: (Tcl_Main-4.5):	processing of one interactive
sl@0
   780
	command before passing control to the loop routine registered with
sl@0
   781
	Tcl_SetMainLoop() [Bug 1481986]
sl@0
   782
sl@0
   783
2006-05-04  Don Porter  <dgp@users.sourceforge.net>
sl@0
   784
sl@0
   785
	* README:		Bump version number to 8.4.14
sl@0
   786
	* generic/tcl.h:
sl@0
   787
	* tools/tcl.wse.in:
sl@0
   788
	* unix/configure.in:
sl@0
   789
	* unix/tcl.spec:
sl@0
   790
	* win/README.binary:
sl@0
   791
	* win/configure.in:
sl@0
   792
sl@0
   793
	* unix/configure:	autoconf-2.13
sl@0
   794
	* win/configure:
sl@0
   795
sl@0
   796
	* generic/tclExecute.c (ExprSrandFunc):	Restore acceptance of wide
sl@0
   797
	* tests/expr-old.test: integer values by srand() [Bug 1480509]
sl@0
   798
sl@0
   799
2006-04-12  Don Porter  <dgp@users.sourceforge.net>
sl@0
   800
sl@0
   801
	*** 8.4.13 TAGGED FOR RELEASE ***
sl@0
   802
sl@0
   803
	* changes:	updates for another RC.
sl@0
   804
sl@0
   805
2006-04-11  Don Porter  <dgp@users.sourceforge.net>
sl@0
   806
sl@0
   807
	* generic/tclCmdMZ.c:	Stop some interference between enter traces
sl@0
   808
	* tests/trace.test:	and enterstep traces. [Bug 1458266]
sl@0
   809
sl@0
   810
2006-04-10  Don Porter  <dgp@users.sourceforge.net>
sl@0
   811
sl@0
   812
	* changes:	updates for another RC.
sl@0
   813
sl@0
   814
2006-04-06  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   815
sl@0
   816
	* generic/tclRegexp.c (FinalizeRegexp): full reset data to indicate
sl@0
   817
	readiness for reinitialization.
sl@0
   818
sl@0
   819
2006-04-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
   820
sl@0
   821
	* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct):	It seems there
sl@0
   822
	* tests/indexObj.test:	are extensions that rely on the prior behavior
sl@0
   823
	* doc/GetIndex.3:	that the empty string cannot succeed as a
sl@0
   824
	unique prefix matcher, so I'm restoring Donal Fellows's solution.
sl@0
   825
	Added mention of this detail to the documentation. [Bug 1464039]
sl@0
   826
sl@0
   827
2006-04-06  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   828
sl@0
   829
	* unix/tcl.m4: removed TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING
sl@0
   830
	define on Darwin. [Bug 1457515]
sl@0
   831
	* unix/configure: autoconf-2.13
sl@0
   832
sl@0
   833
2006-04-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
   834
sl@0
   835
	* library/reg/pkgIndex.tcl:	Long overlooked bump to registry
sl@0
   836
	* win/tclWinReg.c:		package version 1.1.4 (should have
sl@0
   837
	been done for the Tcl 8.4.8 release!)
sl@0
   838
sl@0
   839
	* library/dde/pkgIndex.tcl:	Long overlooked bump to dde package
sl@0
   840
	* win/tclWinDde.c:		version 1.2.4 (should have been done
sl@0
   841
	for the Tcl 8.4.8 release!)
sl@0
   842
sl@0
   843
2006-04-05  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
   844
sl@0
   845
	* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow empty
sl@0
   846
	strings to be matched by the Tcl_GetIndexFromObj machinery, in the
sl@0
   847
	same manner as any other key. [Bug 1464039]
sl@0
   848
sl@0
   849
2006-04-04  Don Porter  <dgp@users.sourceforge.net>
sl@0
   850
sl@0
   851
	* generic/tclPkg.c:	Revised Bug 1162286 fix from 2005-11-08 to be
sl@0
   852
	* tests/pkg.test:	even more forgiving of package version
sl@0
   853
	mismatch errors in [package ifneeded] commands, not even logging any
sl@0
   854
	warning messages. This further reduces the
sl@0
   855
	***POTENTIAL INCOMPATIBILITY*** noted for that change.
sl@0
   856
sl@0
   857
2006-04-03  Andreas Kupries <andreask@activestate.com>
sl@0
   858
sl@0
   859
	* generic/tclIO.c (ReadChars): Added check, panic and commentary to a
sl@0
   860
	piece of code which relies on BUFFER_PADDING to create enough space at
sl@0
   861
	the beginning of each buffer for the insertion of partial multibyte
sl@0
   862
	data at the beginning of a buffer. Commentary explains why this code
sl@0
   863
	is OK, and the panic is as a precaution if someone twiddled the
sl@0
   864
	BUFFER_PADDING into uselessness.
sl@0
   865
sl@0
   866
	* generic/tclIO.c (ReadChars): Temporarily suppress the use of
sl@0
   867
	TCL_ENCODING_END set when EOF was reached while the buffer we are
sl@0
   868
	converting is not truly the last buffer in the queue. Together with
sl@0
   869
	the Utf bug below it was possible to completely wreck the buffer data
sl@0
   870
	structures, eventually crashing Tcl. [Bug 1462248]
sl@0
   871
sl@0
   872
	* generic/tclEncoding.c (UtfToUtfProc): Stop accessing memory beyond
sl@0
   873
	the end of the input buffer when TCL_ENCODING_END is set and the last
sl@0
   874
	bytes of the buffer start a multi-byte sequence. This bug contributed
sl@0
   875
	to [Bug 1462248].
sl@0
   876
sl@0
   877
2006-03-28  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   878
sl@0
   879
	* win/configure, win/tcl.m4: define MACHINE for gcc builds as well.
sl@0
   880
	Needed by Tk for manifest generation.
sl@0
   881
sl@0
   882
	* win/tclWinConsole.c: revert 2005-11-03 [Patch 1256872] change to add
sl@0
   883
	win32 unicode console support as it broke the ability to modify the
sl@0
   884
	encoding to the console.
sl@0
   885
sl@0
   886
2006-03-28  Daniel Steffen  <das@users.sourceforge.net>
sl@0
   887
sl@0
   888
	* unix/tclUnixFCmd.c (TclpObjNormalizePath): deal with *BSD/Darwin
sl@0
   889
	realpath() converting relative paths into absolute paths. [Bug 1064247]
sl@0
   890
sl@0
   891
2006-03-28  Vince Darley  <vincentdarley@sourceforge.net>
sl@0
   892
sl@0
   893
	* generic/tclIOUtil.c: fix to nativeFilesystemRecord comparisons
sl@0
   894
	(lesser part of [Bug 1064247])
sl@0
   895
sl@0
   896
2006-03-27  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
   897
sl@0
   898
	* win/tclWinTest.c:	Fixes for [Bug 1456373] (mingw-gcc issue) 
sl@0
   899
sl@0
   900
2006-03-23  Don Porter  <dgp@users.sourceforge.net>
sl@0
   901
sl@0
   902
	* tests/expr.test:	Nan self-inquality test silenced. [Bug 761471]
sl@0
   903
sl@0
   904
2006-03-22  Don Porter  <dgp@users.sourceforge.net>
sl@0
   905
sl@0
   906
	* changes:	updates for another RC.
sl@0
   907
sl@0
   908
2006-03-18  Vince Darley  <vincentdarley@sourceforge.net>
sl@0
   909
sl@0
   910
	* generic/tclTest.c:
sl@0
   911
	* win/tclWinFile.c:
sl@0
   912
	* win/tclWinTest.c:
sl@0
   913
	* tests/fCmd.test:
sl@0
   914
	* tests/winFCmd.test:
sl@0
   915
	* tests/tcltest.test: Backport of [file writable] fixes for Windows
sl@0
   916
	from HEAD. [Bug 1193497]
sl@0
   917
sl@0
   918
2006-03-16  Andreas Kupries <andreask@activestate.com>
sl@0
   919
sl@0
   920
	* doc/open.n: Documented the changed behaviour of 'a'ppend mode.
sl@0
   921
	
sl@0
   922
	* tests/io.test (io-43.1 io-44.[1234]): Rewritten to be
sl@0
   923
	self-contained with regard to setup and cleanup. [Bug 681793]
sl@0
   924
sl@0
   925
	* generic/tclIOUtil.c (TclGetOpenMode): Added the flag O_APPEND to the
sl@0
   926
	list of POSIX modes used when opening a file for 'a'ppend. This
sl@0
   927
	enables the proper automatic seek-to-end-on-write by the OS. See [Bug
sl@0
   928
	680143] for longer discussion.
sl@0
   929
sl@0
   930
	* tests/ioCmd.test (iocmd-13.7.*): Extended the testsuite to check the
sl@0
   931
	new handling of 'a'.
sl@0
   932
sl@0
   933
2006-03-15  Andreas Kupries <andreask@activestate.com>
sl@0
   934
sl@0
   935
	* tests/socket.test: Extended the timeout in socket-11.11 from 10 to
sl@0
   936
	40 seconds to allow for really slow machines. Also extended
sl@0
   937
	actual/expected results with value of variable 'done' to make it
sl@0
   938
	clearer when a test fails due to a timeout. [Bug 792159]
sl@0
   939
sl@0
   940
2006-03-14  Andreas Kupries <andreask@activestate.com>
sl@0
   941
sl@0
   942
	* generic/tclPipe.c (TclCreatePipeline): Modified the processing of
sl@0
   943
	pipebars to fail if the last bar is followed only by redirections.
sl@0
   944
	[Bug 768659]
sl@0
   945
sl@0
   946
2006-03-14  Andreas Kupries <andreask@activestate.com>
sl@0
   947
sl@0
   948
	* doc/fconfigure.n: Clarified that -translation is binary is reported
sl@0
   949
	as lf when queried, because it is identical to lf, except for the
sl@0
   950
	special additional behaviour when setting it. [Bug 666770]
sl@0
   951
sl@0
   952
2006-03-14  Andreas Kupries <andreask@activestate.com>
sl@0
   953
sl@0
   954
	* win/tclWinPipe.c (Tcl_WaitPid): Backport of fix made to the head by
sl@0
   955
	David Gravereaux in 2004. See ChangeLog entry 2004-01-19. [Bug 1381436]
sl@0
   956
sl@0
   957
	Fixed a thread-safety problem with the process list. The delayed cut
sl@0
   958
	operation after the wait was going stale by being outside the list
sl@0
   959
	lock. It now cuts within the lock and does a locked splice for when it
sl@0
   960
	needs to instead. [Bug 859820]
sl@0
   961
sl@0
   962
2006-03-13  Don Porter  <dgp@users.sourceforge.net>
sl@0
   963
sl@0
   964
	* generic/tclEncoding.c:	Report error when an escape encoding
sl@0
   965
	is missing one of its sub-encodings [Bug 506653]
sl@0
   966
sl@0
   967
	* unix/configure.in:	Revert change from 2005-07-26 that sometimes
sl@0
   968
	* unix/configure:	added $prefix/share to the tcl_pkgPath.
sl@0
   969
	See [Patch 1231015]. autoconf-2.13.
sl@0
   970
sl@0
   971
2006-03-10  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
   972
sl@0
   973
	-- Summary of changes fixing [Bug 1437595] --
sl@0
   974
sl@0
   975
	* generic/tclEvent.c: Cosmetic touches and identation
sl@0
   976
	* generic/tclInt.h: Added TclpFinalizeSockets() call.
sl@0
   977
sl@0
   978
	* generic/tclIO.c: Calls TclpFinalizeSockets() as part of the
sl@0
   979
	TclFinalizeIOSubsystem().
sl@0
   980
sl@0
   981
	* unix/tclUnixSock: Added no-op TclpFinalizeSockets().
sl@0
   982
	
sl@0
   983
	* mac/tclMacSock.c:
sl@0
   984
	* win/tclWinPipe.c
sl@0
   985
	* win/tclWinSock.c: Finalization of the sockets/pipes is now solely
sl@0
   986
	done in TclpFinalizeSockets() and TclpFinalizePipes() and not over the
sl@0
   987
	thread-exit handler, because the order of actions the Tcl generic core
sl@0
   988
	will impose may result in cores/hangs if the thread exit handler tears
sl@0
   989
	down corresponding subsystem(s) too early.
sl@0
   990
sl@0
   991
2006-03-10  Vince Darley  <vincentdarley@sourceforge.net>
sl@0
   992
sl@0
   993
	* win/tclWin32Dll.c: 
sl@0
   994
	* win/tclWinInt.h: 
sl@0
   995
	* win/tclWinFile.c: backported some fixes from HEAD relating to 'file
sl@0
   996
	readable' and 'file writable', but main 'file writable' bug still
sl@0
   997
	outstanding.
sl@0
   998
sl@0
   999
2006-03-07  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1000
sl@0
  1001
	* README:		Bump version number to 8.4.13 and update
sl@0
  1002
	* changes:		changes to start prep for an 8.4.13 release.
sl@0
  1003
	* generic/tcl.h:
sl@0
  1004
	* tools/tcl.wse.in:
sl@0
  1005
	* unix/configure{.in}:
sl@0
  1006
	* unix/tcl.spec:
sl@0
  1007
	* win/README.binary:
sl@0
  1008
	* win/configure{.in}:
sl@0
  1009
sl@0
  1010
	* tests/parse.test:	Missing constraint
sl@0
  1011
sl@0
  1012
2006-03-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1013
sl@0
  1014
	* generic/tclBasic.c:	Revised handling of TCL_EVAL_* flags to
sl@0
  1015
	* tests/parse.test:	simplify TclEvalObjvInternal and to correct
sl@0
  1016
	the auto-loading of alias targets (parse-8.12).	[Bug 1444291]
sl@0
  1017
sl@0
  1018
2006-03-02  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1019
sl@0
  1020
	* win/Makefile.in: convert _NATIVE paths to use / to avoid ".\"
sl@0
  1021
	path-as-escape issue.
sl@0
  1022
sl@0
  1023
	* unix/tcl.m4, win/tcl.m4: []-quote ac_defun functions.
sl@0
  1024
sl@0
  1025
2006-03-02  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
  1026
sl@0
  1027
	* unix/tcl.m4:	  Fix for [Tk Bug 1334613] to sort out shared library
sl@0
  1028
	* unix/configure: issues on NetBSD. Regenerated configure script.
sl@0
  1029
sl@0
  1030
2006-02-28  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1031
sl@0
  1032
	* generic/tclBasic.c:	Corrections to be sure that TCL_EVAL_GLOBAL
sl@0
  1033
	* tests/parse.test:	evaluations act the same as [uplevel #0]
sl@0
  1034
	* tests/trace.test:	evaluations, even when execution traces or
sl@0
  1035
	invocations of [::unknown] are present. [Bug 1439836]
sl@0
  1036
sl@0
  1037
2006-02-16  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1038
sl@0
  1039
	* generic/tclIndexObj.c:	Disallow the "ambiguous" error message
sl@0
  1040
	* tests/indexObj.test:		when TCL_EXACT matching is requested.
sl@0
  1041
sl@0
  1042
2006-02-15  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1043
sl@0
  1044
	* generic/tclIO.c:	Made several routines tolerant of
sl@0
  1045
	* generic/tclIOUtil.c:	interp == NULL arguments. [Bug 1380662]
sl@0
  1046
sl@0
  1047
2006-02-09  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1048
sl@0
  1049
	* tests/main.test (Tcl_Main-6.7):	Improved robustness of command
sl@0
  1050
	auto-completion test. [Bug 1422736]
sl@0
  1051
sl@0
  1052
2006-01-25  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1053
sl@0
  1054
	* unix/tclUnixInit.c (TclpInitPlatform): Improved conditions on when
sl@0
  1055
	to update the FP rounding mode on FreeBSD, taken from FreeBSD port.
sl@0
  1056
sl@0
  1057
2006-01-23  Miguel Sofer  <msofer@users.sf.net>
sl@0
  1058
sl@0
  1059
	* generic/tclStringObj.c (Tcl_GetRange): 
sl@0
  1060
	* tests/stringTest (string-12.21):fixed incorrect handling of internal
sl@0
  1061
	rep in Tcl_GetRange. Thanks to twylite and Peter Spjuth. [Bug 1410553]
sl@0
  1062
sl@0
  1063
2006-01-16  Reinhard Max  <max@suse.de>
sl@0
  1064
sl@0
  1065
	* generic/tclPipe.c (FileForRedirect): Prevent nameString from being
sl@0
  1066
	freed without having been initialized.
sl@0
  1067
	* tests/exec.test: Added a test for the above.
sl@0
  1068
	
sl@0
  1069
2006-01-12  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
  1070
sl@0
  1071
	* generic/tclIOUtil.c (Tcl_FSGetInternalRep): fixed potential
sl@0
  1072
	overwriting of already freed memory which caused all kinds of (rare
sl@0
  1073
	but reproducible) coredumps all over the place.
sl@0
  1074
sl@0
  1075
2006-01-11  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1076
sl@0
  1077
	* tests/error.test (error-7.0):	Test the timing of write traces on
sl@0
  1078
	::errorInfo. [Bug 1397843]
sl@0
  1079
sl@0
  1080
2006-01-10  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1081
sl@0
  1082
	* unix/configure:    add caching, use AC_CACHE_CHECK instead of
sl@0
  1083
	* unix/configure.in: AC_CACHE_VAL where possible, consistent message
sl@0
  1084
	* unix/tcl.m4:	     quoting, sync relevant tclconfig/tcl.m4 and HEAD
sl@0
  1085
	changes and gratuitous formatting differences, fix SC_CONFIG_MANPAGES
sl@0
  1086
	with default argument, Darwin improvements to SC_LOAD_*CONFIG.
sl@0
  1087
	
sl@0
  1088
2006-01-09  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1089
sl@0
  1090
	* generic/tclNamesp.c (NamespaceInscopeCmd):	[namespace inscope]
sl@0
  1091
	* tests/namespace.test:	commands were not reported by [info level].
sl@0
  1092
	[Bug 1400572]
sl@0
  1093
sl@0
  1094
2005-12-20  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1095
sl@0
  1096
	* generic/tclThreadAlloc.c (Tcl_GetMemoryInfo): Format values as longs
sl@0
  1097
	and not ints, so they are less likely to wrap on 64-bit machines.
sl@0
  1098
sl@0
  1099
2005-12-19  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1100
sl@0
  1101
	* doc/Tcl.n: Clarify what is going on in variable substitution
sl@0
  1102
	following thread on comp.lang.tcl.
sl@0
  1103
sl@0
  1104
2005-12-14  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1105
sl@0
  1106
	* generic/tclIOUtil.c: workaround gcc warning "comparison is always
sl@0
  1107
	* generic/tclTest.c:   false due to limited range of data type".
sl@0
  1108
sl@0
  1109
	* unix/configure.in: run check for fts API on all platforms, since
sl@0
  1110
	Linux glibc2 and *BSDs also have this and using fts is more efficient
sl@0
  1111
	than recursive opendir/readdir (sync with HEAD).
sl@0
  1112
	* unix/configure: regen.
sl@0
  1113
sl@0
  1114
2005-12-12  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1115
sl@0
  1116
	* unix/tcl.m4, unix/configure: Fix sh quoting error reported in
sl@0
  1117
	bash-3.1+ [Bug 1377619] (schafer)
sl@0
  1118
sl@0
  1119
2005-12-12  Reinhard Max  <max@suse.de>
sl@0
  1120
sl@0
  1121
	* generic/tclExecute.c (ExprAbsFunc): fixed the abs(MIN_INT) case so
sl@0
  1122
	that it doesn't break on compilers that don't assume integers to wrap
sl@0
  1123
	around (e.g. gcc-4.1.0).
sl@0
  1124
sl@0
  1125
2005-12-09  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
sl@0
  1126
sl@0
  1127
	* tests/lsearch.test (lsearch-10.8..10): If the -start is off the end,
sl@0
  1128
	* generic/tclCmdIL.c (Tcl_LsearchObjCmd): searching should find
sl@0
  1129
	nothing at all. [Bug 1374778]
sl@0
  1130
sl@0
  1131
2005-12-05  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1132
sl@0
  1133
	*** 8.4.12 TAGGED FOR RELEASE ***
sl@0
  1134
sl@0
  1135
	* unix/tclUnixPort.h (Darwin): fix incorrect __DARWIN_UNIX03 configure
sl@0
  1136
	overrides that were originally copied from Darwin CVS (rdar://3693001).
sl@0
  1137
sl@0
  1138
2005-12-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1139
sl@0
  1140
	* unix/configure.in:	Revised fix for [Bug 1034337] from Daniel
sl@0
  1141
	* unix/tclUnixFCmd.c:	Steffen. Uses fts_*() routines.
sl@0
  1142
	* unix/configure:	autoconf-2.13
sl@0
  1143
	* changes:		Update changes for 8.4.12 release
sl@0
  1144
sl@0
  1145
2005-12-04  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1146
sl@0
  1147
	* README: refer to macosx/README instead of mac/README.
sl@0
  1148
	* mac/README: add note that mac classic port is no longer supported.
sl@0
  1149
sl@0
  1150
2005-12-03  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1151
sl@0
  1152
	* README: correct 2 urls
sl@0
  1153
sl@0
  1154
2005-12-01  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1155
sl@0
  1156
	* changes:		Update changes for 8.4.12 release
sl@0
  1157
sl@0
  1158
2005-12-01  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1159
sl@0
  1160
	* unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset
sl@0
  1161
	* unix/configure: regen.
sl@0
  1162
sl@0
  1163
2005-11-29  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1164
sl@0
  1165
	* win/tcl.m4:	   Add build support for Windows-x64 builds.
sl@0
  1166
	* win/configure:   --enable-64bit now accepts =amd64|ia64 for
sl@0
  1167
	* win/Makefile.in: Windows 64-bit build variants (default: amd64)
sl@0
  1168
	* win/makefile.vc: [Bug 1369597]
sl@0
  1169
sl@0
  1170
2005-11-29  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1171
sl@0
  1172
	* generic/tclObj.c (Tcl_GetWideIntFromObj): Add more efficient
sl@0
  1173
	conversion to wides from normal ints. [Bug 1310081]
sl@0
  1174
sl@0
  1175
	* generic/tclCmdIL.c (Tcl_LsearchObjCmd): Allow [lsearch -regexp] to
sl@0
  1176
	process REs that contain backreferences. This expensive mode of
sl@0
  1177
	operation is only used if the RE would otherwise cause a compilation
sl@0
  1178
	failure. [Bug 1366683]
sl@0
  1179
sl@0
  1180
2005-11-28  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1181
sl@0
  1182
	* win/tclWinSock.c (CreateSocket): Applied [Patch 1353853] to prevent
sl@0
  1183
	reads of uninitialized variables during cleanup.
sl@0
  1184
sl@0
  1185
2005-11-27  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1186
sl@0
  1187
	* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),
sl@0
  1188
	add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to
sl@0
  1189
	configure (flag can't be present twice, so can't be in both CFLAGS and
sl@0
  1190
	LDFLAGS during configure), don't use -prebind when deploying on 10.4,
sl@0
  1191
	define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542).
sl@0
  1192
	(SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete
sl@0
  1193
	autoconf macros. Sync with tk/unix/tcl.m4, sync whitespace with HEAD.
sl@0
  1194
sl@0
  1195
	* unix/configure.in: fix obsolete autoconf macros, sync gratuitous
sl@0
  1196
	formatting/ordering differences with tk/unix/configure.in.
sl@0
  1197
sl@0
  1198
	* unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make
sl@0
  1199
	executable linking the same as during configure (needed to avoid
sl@0
  1200
	loosing any linker relevant flags in CFLAGS, in particular flags that
sl@0
  1201
	can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling
sl@0
  1202
	of tclTestInit.o or xtTestInit.o during parallel make.
sl@0
  1203
	(checkstubs, checkdoc, checkexports): dependency and Darwin fixes
sl@0
  1204
sl@0
  1205
	* unix/tclLoadDyld.c (TclpDlopen): [Bug 1204237] use
sl@0
  1206
	NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only.
sl@0
  1207
	(TclGuessPackageName): should not be MODULE_SCOPE.
sl@0
  1208
	(TclpLoadMemory): ppc64 and endian (i386) fixes, add support for
sl@0
  1209
	loading universal (fat) bundles from memory.
sl@0
  1210
sl@0
  1211
	* unix/tclUnixPort.h:
sl@0
  1212
	* unix/tclUnixFCmd.c: add support for new Tiger copyfile() API to
sl@0
  1213
	enable copying of xattrs & ACLs by [file copy].
sl@0
  1214
sl@0
  1215
	* generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE
sl@0
  1216
	defines to support fat compiles of ppc and ppc64 at the same time,
sl@0
  1217
	(replaces Darwin CVS fix by emoy, rdar://3693001).
sl@0
  1218
	add/correct location of version numbers in macosx files.
sl@0
  1219
sl@0
  1220
	* generic/tclInt.h: clarify fat compile comment.
sl@0
  1221
sl@0
  1222
	* unix/tclUnixPort.h: add Darwin specifc configure overrides to
sl@0
  1223
	support fat compiles, where configure runs only once for multiple
sl@0
  1224
	architectures (replaces Darwin CVS fix by emoy, rdar://3693001).
sl@0
  1225
sl@0
  1226
	* macosx/tclMacOSXBundle.c:
sl@0
  1227
	* macosx/tclMacOSXNotify.c:
sl@0
  1228
	* unix/tclUnixNotfy.c: fix #include order to support compile time
sl@0
  1229
	* unix/tclUnixPort.h:  override of HAVE_COREFOUNDATION in
sl@0
  1230
	tclUnixPort.h when building for ppc64
sl@0
  1231
sl@0
  1232
	* macosx/Tcl.pbproj/default.pbxuser (new file):
sl@0
  1233
	* macosx/Tcl.pbproj/jingham.pbxuser:
sl@0
  1234
	* macosx/Tcl.pbproj/project.pbxproj: sync with HEAD.
sl@0
  1235
sl@0
  1236
	* macosx/README: clarification/cleanup, sync with HEAD, document
sl@0
  1237
	universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once).
sl@0
  1238
sl@0
  1239
	* macosx/Makefile: add support for reusing configure cache, build
sl@0
  1240
	target fixes, remove GENERIC_FLAGS override now handled by tcl.m4.
sl@0
  1241
sl@0
  1242
	* generic/tclIOUtil.c:
sl@0
  1243
	* generic/tclRegexp.c:
sl@0
  1244
	* generic/tclVar.c: declare globals used only in own file as static
sl@0
  1245
	(sync with HEAD).
sl@0
  1246
sl@0
  1247
	* generic/rege_dfa.c (getvacant):
sl@0
  1248
	* generic/regexec.c (cfind):
sl@0
  1249
	* generic/tclCompExpr.c (CompileSubExpr):
sl@0
  1250
	* unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to
sl@0
  1251
	silence gcc 4 warnings.
sl@0
  1252
sl@0
  1253
	* generic/regguts.h: only #define NDEBUG if not already #defined.
sl@0
  1254
sl@0
  1255
	* macosx/tclMacOSXNotify.c: sync whitespace & comments with HEAD
sl@0
  1256
sl@0
  1257
	* unix/configure: regen.
sl@0
  1258
sl@0
  1259
2005-11-20  Joe English  <jenglish@users.sourceforge.net>
sl@0
  1260
sl@0
  1261
	* generic/tclStubLib.c: Don't set tclStubsPtr to 0 when
sl@0
  1262
	Tcl_PkgRequireEx() fails [Fix for [Bug 1091431] "Tcl_InitStubs failure
sl@0
  1263
	crashes wish"]
sl@0
  1264
sl@0
  1265
2005-11-18  Miguel Sofer <msofer@users.sf.net>
sl@0
  1266
sl@0
  1267
	* tests/trace.test (trace-34.5): [Bug 1047286], added a second test
sl@0
  1268
	illustrating the role of "ns in callStack" in the ns's visibility
sl@0
  1269
	during deletion traces.
sl@0
  1270
sl@0
  1271
	* generic/tclBasic.c (Tcl_DeleteCommandFromToken):
sl@0
  1272
	* generic/tclCmdMZ.c (TraceCommandProc):
sl@0
  1273
	* generic/tclInt.h (NS_KILLED):
sl@0
  1274
	* generic/tclNamesp.c (Tcl_DeleteNamespace
sl@0
  1275
	* tests/namespace.test (namespace-7.3-6):
sl@0
  1276
	* tests/trace.test (trace-20.13-16): fix [Bugs 1355942/1355342].
sl@0
  1277
sl@0
  1278
2005-11-18  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1279
sl@0
  1280
	* generic/tclIO.c (TclFinalizeIOSubsystem): preserve statePtr until we
sl@0
  1281
	netrieve next statePtr from it.
sl@0
  1282
sl@0
  1283
2005-11-18  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1284
sl@0
  1285
	* generic/tclPkg.c:	Revised Bug 1162286 fix from 2005-11-08 to be
sl@0
  1286
	* tests/pkg.test:	more forgiving of package version mismatch
sl@0
  1287
	errors in [package ifneeded] commands. This reduces the
sl@0
  1288
	***POTENTIAL INCOMPATIBILITY*** noted for that change.
sl@0
  1289
sl@0
  1290
2005-11-18  Andreas Kupries <andreask@activestate.com>
sl@0
  1291
sl@0
  1292
	* generic/tclIO.c (TclFinalizeIOSubsystem): Applied Pat Thoyts' patch
sl@0
  1293
	for [Bug 1359094]. This moves the retrieval of the next channel state
sl@0
  1294
	to the end of the loop, as the called closeproc may close other
sl@0
  1295
	channels, i.e., modify the list we are iterating, invalidating any
sl@0
  1296
	pointer retrieved earlier.
sl@0
  1297
sl@0
  1298
2005-11-18  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
sl@0
  1299
sl@0
  1300
	* library/http/http.tcl (http::geturl): Improved syntactic validation
sl@0
  1301
	of URLs, and better error messages in some cases. [Bug 1358369]
sl@0
  1302
sl@0
  1303
2005-11-16  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1304
sl@0
  1305
	* README:		Bump version number to 8.4.12
sl@0
  1306
	* generic/tcl.h:
sl@0
  1307
	* tools/tcl.wse.in:
sl@0
  1308
	* unix/configure.in:
sl@0
  1309
	* unix/tcl.spec:
sl@0
  1310
	* win/README.binary:
sl@0
  1311
	* win/configure.in:
sl@0
  1312
sl@0
  1313
	* unix/configure:	autoconf-2.13
sl@0
  1314
	* win/configure:
sl@0
  1315
sl@0
  1316
2005-11-15  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1317
sl@0
  1318
	* changes:		Update changes for 8.4.12 release
sl@0
  1319
sl@0
  1320
2005-11-15  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  1321
sl@0
  1322
	* tests/cmdAH.test: Backported the fix for [Bug 926016] because of
sl@0
  1323
	* win/tclWinFile.c: a repeated bug report in 8.4 [Bug 1353840].
sl@0
  1324
	Windows [file mtime] will now return seconds from the Posix epoch
sl@0
  1325
	correctly (except for FAT32 file systems after a DST change without a
sl@0
  1326
	reboot - for which there is no help). A side effect is that file times
sl@0
  1327
	will appear different in Tcl from the way they do in Windows Explorer
sl@0
  1328
	or a 'dir' listing, because the Microsoft tools get the DST state
sl@0
  1329
	wrong in the listings.
sl@0
  1330
sl@0
  1331
2005-11-09  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  1332
sl@0
  1333
	* generic/tclTimer.c: Changed [after] so that it behaves correctly
sl@0
  1334
	* tests/timer.test:   with negative arguments. [Bug 1350293]
sl@0
  1335
sl@0
  1336
2005-11-08  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1337
sl@0
  1338
	* unix/tclUnixFCmd.c (MAX_READDIR_UNLINK_THRESHOLD): reduce to 130
sl@0
  1339
	based on errors seen on OS X 10.3 with lots of links in a dir. [Bug
sl@0
  1340
	1034337 followup]
sl@0
  1341
sl@0
  1342
2005-11-08  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1343
sl@0
  1344
	* tests/expr.test:	Portable tests expr-46.13-18 [Bug 1341368]
sl@0
  1345
sl@0
  1346
	* generic/tclPkg.c:	Corrected inconsistencies in the value returned
sl@0
  1347
	* tests/pkg.test:	by Tcl_PkgRequire(Ex) so that the returned
sl@0
  1348
	values will always agree with what is stored in the package database.
sl@0
  1349
	This way repeated calls to Tcl_PkgRequire(Ex) have the same results.
sl@0
  1350
	Thanks to Hemang Lavana. [Bug 1162286]
sl@0
  1351
	***POTENTIAL INCOMPATIBILITY***: Incompatible with those existing
sl@0
  1352
	packages that are accustomed to the [package] command forgiving
sl@0
  1353
	their bugs.
sl@0
  1354
sl@0
  1355
	* tests/namespace.test (25.7,8):	Backport test of knownBug.
sl@0
  1356
sl@0
  1357
2005-11-08  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1358
sl@0
  1359
	* generic/tclCmdMZ.c (TclTraceVariableObjCmd, TraceVarProc): Applied
sl@0
  1360
	Miguel's fix for [Bug 1348775]. It is not quite as elegant as the one
sl@0
  1361
	applied to the HEAD, but it is easier to use it rather than fully
sl@0
  1362
	backporting.
sl@0
  1363
sl@0
  1364
2005-11-07  Miguel Sofer <msofer@users.sf.net>
sl@0
  1365
sl@0
  1366
	* tests/trace.test (trace-13.2-4): added tests to detect leak, see
sl@0
  1367
	[Bug 1348775].
sl@0
  1368
sl@0
  1369
2005-11-04  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1370
sl@0
  1371
	* unix/tcl.m4:	Added code to enable [load] on LynxOS. Thanks to
sl@0
  1372
	heidibr@users.sf.net for the patch. [Bug 1163896]
sl@0
  1373
sl@0
  1374
	* unix/configure:	autoconf-2.13.
sl@0
  1375
sl@0
  1376
2005-11-04  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
  1377
sl@0
  1378
	* win/tclWinPipe.c: Applied [Patch 1267871] by Matt Newman which
sl@0
  1379
	* win/tclWinPort.h: provides extended error code support.
sl@0
  1380
	* tests/exec.test:  Wrote some tests for this feature.
sl@0
  1381
sl@0
  1382
2005-11-04  Kevin Kenny  <kennykb@acm.org>
sl@0
  1383
sl@0
  1384
	* generic/tclGetDate.y: Added abbreviations for the Korean timezone.
sl@0
  1385
	* generic/tclDate.c:	Regenerated.
sl@0
  1386
sl@0
  1387
	* compat/strftime.c: Fixed a problem where the name of the time zone
sl@0
  1388
	was double-converted from system encoding to UTF-8. Thanks to the
sl@0
  1389
	anonymous submitter of [Bug 1317477] for the report and the patch.
sl@0
  1390
sl@0
  1391
2005-11-04  Miguel Sofer <msofer@users.sf.net>
sl@0
  1392
sl@0
  1393
	* generic/tclInt.h:
sl@0
  1394
	* generic/tclNamesp.c:
sl@0
  1395
	* generic/tclVar.c: fix for [Bugs 1338280/1337229]. Thanks Don.
sl@0
  1396
sl@0
  1397
	* tests/trace.test: fix duplicate test numbers
sl@0
  1398
sl@0
  1399
2005-11-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1400
sl@0
  1401
	* generic/tclUnixInit.c (TclpSetInitialEncodings):	Modified so
sl@0
  1402
	that multiple calls can continue to atttempt to properly set the
sl@0
  1403
	system encoding. Needed for Tclkit to properly support non-default
sl@0
  1404
	encodings. Thanks to Yaroslav Schekin. [Bug 1201171]
sl@0
  1405
sl@0
  1406
2005-11-03  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
  1407
sl@0
  1408
	* win/tclWin32Dll.c:   Backported Anton Kovalenko's [Patch 1256872]
sl@0
  1409
	* win/tclWinConsole.c: to give unicode console support on
sl@0
  1410
	* win/tclWinInt.h:     suitable systems (eg: NT/XP)
sl@0
  1411
sl@0
  1412
2005-11-01  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1413
sl@0
  1414
	* generic/tclCmdMZ.c (TclCheckExecutionTraces):	Corrected mistaken
sl@0
  1415
	assumption that all command traces are set at the script level.
sl@0
  1416
	Report/fix from Jacques H. de Villiers. [Bug 1337941]
sl@0
  1417
sl@0
  1418
	* tests/expr-old.test (expr-32.52):	Use int(.) to restrict result
sl@0
  1419
	of left shift to the C long range.
sl@0
  1420
sl@0
  1421
2005-10-29  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  1422
sl@0
  1423
	* tests/expr.test: Fix problems in new round() tests that lead to
sl@0
  1424
	correct result only on 32 bit long systems. [Bug 1341368]
sl@0
  1425
sl@0
  1426
2005-10-29  Miguel Sofer <msofer@users.sf.net>
sl@0
  1427
sl@0
  1428
	* generic/tclCmdMZ.c (TraceVarProc): [Bug 1337229], partial fix.
sl@0
  1429
	Ensure that a second call with TCL_TRACE_DESTROYED does not lead to a
sl@0
  1430
	second call to Tcl_EventuallyFree(). It is still true that that second
sl@0
  1431
	call should not happen, so the bug is not completely fixed.
sl@0
  1432
	* tests/trace.test (test-18.3-4): added tests for [Bugs 1337229 and
sl@0
  1433
	1338280].
sl@0
  1434
sl@0
  1435
2005-10-27  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  1436
sl@0
  1437
	* generic/tclExecute.c (ExprRoundFunc): Fix typo where number before
sl@0
  1438
	rounding is compared with smallest integer instead of number after
sl@0
  1439
	rounding. This fix does not change the results of any tests.
sl@0
  1440
	* tests/expr.test: Add round() tests for cases near the min and max
sl@0
  1441
	int values.
sl@0
  1442
	* tests/util.test: Remove pointless warning code about testobj command
sl@0
  1443
sl@0
  1444
2005-10-23  Miguel Sofer <msofer@users.sf.net>
sl@0
  1445
sl@0
  1446
	* generic/tclBasic.c:
sl@0
  1447
	* generic/tclBinary.c:
sl@0
  1448
	* generic/tclCmdAH.c:
sl@0
  1449
	* generic/tclCmdIL.c:
sl@0
  1450
	* generic/tclCmdMZ.c:
sl@0
  1451
	* generic/tclExecute.c:
sl@0
  1452
	* generic/tclLink.c:
sl@0
  1453
	* generic/tclMain.c:
sl@0
  1454
	* generic/tclProc.c:
sl@0
  1455
	* generic/tclScan.c:
sl@0
  1456
	* generic/tclTest.c:
sl@0
  1457
	* generic/tclVar.c:
sl@0
  1458
	* mac/tclMacInit.c:
sl@0
  1459
	* unix/tclUnixInit.c:
sl@0
  1460
	* win/tclWinInit.c: Ensure that the core never calls TclPtrSetVar,
sl@0
  1461
	Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref new
sl@0
  1462
	value. It is not possible to handle error returns correctly in that
sl@0
  1463
	case [Bug 1334947], one has the choice of leaking the object in some
sl@0
  1464
	cases, or else risk crashing in some others.
sl@0
  1465
sl@0
  1466
2005-10-22  Miguel Sofer <msofer@users.sf.net>
sl@0
  1467
sl@0
  1468
	* generic/tclExecute.c (INST_CONCAT): disable the optimisation for
sl@0
  1469
	wide integers. [Bug 1251791]
sl@0
  1470
sl@0
  1471
2005-10-14  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
  1472
sl@0
  1473
	* generic/tclIO.c (Tcl_ClearChannelHandlers): removed change dated
sl@0
  1474
	2005-10-04 below. Look into [Bug 1323992] for detailed discussion.
sl@0
  1475
sl@0
  1476
2005-10-13  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1477
sl@0
  1478
	* generic/tclCmdAH.c (Tcl_FormatObjCmd): Stop [format] from seeing
sl@0
  1479
	the difference between ints and wides. [Bug 1284178]
sl@0
  1480
sl@0
  1481
2005-10-13  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
  1482
sl@0
  1483
	* generic/tclIO.c (Tcl_ClearChannelHandlers): temporary
sl@0
  1484
	ifdef TCL_THREADS changes done to de-activate pending
sl@0
  1485
	event processing when channel is being closed/cutted.
sl@0
  1486
sl@0
  1487
2005-10-10  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1488
sl@0
  1489
	* generic/tclInt.h: ensure MODULE_SCOPE decl
sl@0
  1490
sl@0
  1491
2005-10-07  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1492
sl@0
  1493
	* unix/tclUnixFCmd.c (TraverseUnixTree): Adjust 2004-11-11 change to
sl@0
  1494
	* tests/fCmd.test (fCmd-20.2):		 account for NFS special
sl@0
  1495
	files with a readdir rewind threshold. [Bug 1034337]
sl@0
  1496
sl@0
  1497
2005-10-05  Andreas Kupries <andreask@activestate.com>
sl@0
  1498
sl@0
  1499
	* generic/tclPipe.c (TclCreatePipeline): Fixed [Bug 1109294]. Applied
sl@0
  1500
	the patch provided by David Gravereaux.
sl@0
  1501
sl@0
  1502
	* doc/CrtChannel.3: Fixed [Bug 1104682], by application of David
sl@0
  1503
	Welton's patch for it, and added a note about wideSeekProc.
sl@0
  1504
sl@0
  1505
2005-10-05  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1506
sl@0
  1507
	* tests/env.test (env-6.1):
sl@0
  1508
	* win/tclWinPort.h: define USE_PUTENV_FOR_UNSET 1
sl@0
  1509
	* generic/tclEnv.c (TclSetEnv, TclUnsetEnv): add
sl@0
  1510
	USE_PUTENV_FOR_UNSET to existing USE_PUTENV define to account for
sl@0
  1511
	various systems that have putenv(), but can't unset env vars with it.
sl@0
  1512
	Note difference between Windows and Linux for actually unsetting the
sl@0
  1513
	env var (use of '=').
sl@0
  1514
	Correct the resizing of the environ array. We assume that we are in
sl@0
  1515
	full ownership, but that's not correct. [Bug 979640]
sl@0
  1516
sl@0
  1517
2005-10-04  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1518
sl@0
  1519
	* win/tclWinSerial.c (SerialSetOptionProc): free argv [Bug 1067708]
sl@0
  1520
sl@0
  1521
	* tests/http.test:		Do not URI encode -._~ according to
sl@0
  1522
	* library/http/http.tcl (init): RFC3986. [Bug 1182373] (aho)
sl@0
  1523
sl@0
  1524
	* generic/tclIOUtil.c (TclFSNormalizeAbsolutePath): make static
sl@0
  1525
	* generic/tclEncoding.c (TclFindEncodings): make static
sl@0
  1526
sl@0
  1527
	* unix/tclLoadShl.c (TclpDlopen): use DYNAMIC_PATH on second
sl@0
  1528
	shl_load only. [Bug 1204237]
sl@0
  1529
sl@0
  1530
2005-10-04  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
  1531
sl@0
  1532
	* generic/tclIO.c (Tcl_ClearChannelHandlers): now deletes any
sl@0
  1533
	outstanding timer for the channel. Also, prevents events still
sl@0
  1534
	in the event queue from triggering on the current channel.
sl@0
  1535
sl@0
  1536
	* generic/tclTimer.c (Tcl_DeleteTimerHandler): bail out early
sl@0
  1537
	if passed NULL argument.
sl@0
  1538
sl@0
  1539
2005-09-30  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1540
sl@0
  1541
	* generic/tclMain.c:	Separate encoding conversion of command line
sl@0
  1542
	arguments from list formatting. [Bug 1306162]
sl@0
  1543
sl@0
  1544
2005-09-27  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1545
sl@0
  1546
	* generic/tclBinary.c (FormatNumber): Factorize out copying of double
sl@0
  1547
	values to a helper to work around ugly broken compiler problems. [Bug
sl@0
  1548
	1116542]
sl@0
  1549
sl@0
  1550
2005-09-15  Miguel Sofer <msofer@users.sf.net>
sl@0
  1551
sl@0
  1552
	* doc/ParseCmd.3: copy/paste fix [Bug 1292427]
sl@0
  1553
sl@0
  1554
2005-09-15  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1555
sl@0
  1556
	* unix/tcl.m4 (SC_TCL_EARLY_FLAGS): Added extra hack to allow Tcl to
sl@0
  1557
	transparently open large files on RHEL 3. [Bug 1287638]
sl@0
  1558
sl@0
  1559
	* unix/configure:	autoconf-2.13
sl@0
  1560
sl@0
  1561
2005-09-07  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1562
sl@0
  1563
	* generic/tclUtf.c (Tcl_UniCharToUtf):	Corrected handling of negative
sl@0
  1564
	* tests/utf.test (utf-1.5):	Tcl_UniChar input value. Incorrect
sl@0
  1565
	handling was producing byte sequences outside of Tcl's legal internal
sl@0
  1566
	encoding. [Bug 1283976]
sl@0
  1567
sl@0
  1568
2005-08-29  Kevin Kenny  <kennykb@acm.org>
sl@0
  1569
sl@0
  1570
	* generic/tclBasic.c (ExprMathFunc): Restored "round away from zero"
sl@0
  1571
	* tests/expr.test (expr-46.*):	     behaviour to the "round"
sl@0
  1572
	function. Added test cases for the behavior, including the awkward
sl@0
  1573
	case of a number whose fractional part is 1/2-1/2ulp. [Bug 1275043]
sl@0
  1574
sl@0
  1575
2005-08-25  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1576
sl@0
  1577
	* generic/tclListObj.c (UpdateStringOfList): Stop uncontrolled and
sl@0
  1578
	unsafe crashes from happening when working with very large string
sl@0
  1579
	representations. [Bug 1267380]
sl@0
  1580
sl@0
  1581
2005-08-17  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1582
sl@0
  1583
	* generic/tclFCmd.c (TclFileMakeDirsCmd): fix to race condition in
sl@0
  1584
	file mkdir (backport from head 2005-06-13) [Bug 1217375]
sl@0
  1585
sl@0
  1586
2005-08-16  Kevin Kenny <kennykb@acm.org>
sl@0
  1587
sl@0
  1588
	* generic/tclEvent.c (Tcl_Finalize): Pushed Tcl_FinalizeLoad and
sl@0
  1589
	Tcl_ResetFilesystem down after Tcl_FinalizeThreadAlloc because
sl@0
  1590
	unloading DLLs can't happen while they still own TSD keys.
sl@0
  1591
	(This is a backport of changes made in the HEAD on 2005-08-10.)
sl@0
  1592
sl@0
  1593
2005-08-05  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1594
sl@0
  1595
	* unix/tclUnixInit.c (localeTable): Solaris uses a non-standard name
sl@0
  1596
	for the cp1251 charset. Thanks to Victor Wagner for reporting this.
sl@0
  1597
	[Bug 1252475]
sl@0
  1598
sl@0
  1599
2005-08-05  Kevin Kenny  <kennykb@users.sourceforge.net>
sl@0
  1600
sl@0
  1601
	* generic/tclExecute.c (TclExecuteByteCode): Fixed a corner case
sl@0
  1602
	* tests/expr.test (expr-38.1):		     where applying abs to
sl@0
  1603
	MIN_INT failed to promote the result to a wide integer. [Bug 1241572]
sl@0
  1604
sl@0
  1605
2005-08-04  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1606
sl@0
  1607
	* generic/tclObj.c:	Simplified routines that manage the typeTable.
sl@0
  1608
sl@0
  1609
2005-08-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1610
sl@0
  1611
	* generic/tclCompExpr.c:	Untangled some dependencies in the
sl@0
  1612
	* generic/tclEvent.c:		order of finalization routines.
sl@0
  1613
	* generic/tclInt.h:		[Bug 1251399]
sl@0
  1614
	* generic/tclObj.c:
sl@0
  1615
sl@0
  1616
2005-07-30  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1617
sl@0
  1618
	* unix/configure, unix/tcl.m4: revert 2005-07-28 change.
sl@0
  1619
sl@0
  1620
	* unix/tclLoadDyld.c (TclpDlopen, TclpLoadMemory): workarounds for
sl@0
  1621
	bugs/changes in behaviour in Mac OS X 10.4 Tiger, sync formatting
sl@0
  1622
	changes from HEAD.
sl@0
  1623
sl@0
  1624
2005-07-29  Donal K. Fellows  <dkf@users.sf.net>
sl@0
  1625
sl@0
  1626
	* generic/tclCmdIL.c (InfoGlobalsCmd): Even in high-speed mode, still
sl@0
  1627
	have to take care with non-existant variables. [Bug 1247135]
sl@0
  1628
sl@0
  1629
2005-07-28  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  1630
sl@0
  1631
	* win/README: Update link to msys_mingw8.zip. Remove old Cygwin +
sl@0
  1632
	Mingw info, people should just build with the msys + mingw
sl@0
  1633
	configuration.
sl@0
  1634
sl@0
  1635
2005-07-28  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1636
sl@0
  1637
	* unix/configure, unix/tcl.m4: defined TCL_LOAD_FROM_MEMORY on Darwin
sl@0
  1638
	only for SHARED_BUILD
sl@0
  1639
sl@0
  1640
2005-07-28  Donal K. Fellows  <dkf@users.sf.net>
sl@0
  1641
sl@0
  1642
	* generic/tclPipe.c (TclCreatePipeline): Arrange for POSIX systems to
sl@0
  1643
	* unix/tclUnixPipe.c (TclpOpenFile):	 use the O_APPEND flag for
sl@0
  1644
	* tests/exec.test (exec-19.1):		 files opened in a pipeline
sl@0
  1645
	like ">>this".	Note that Windows cannot support such access; there is
sl@0
  1646
	no equivalent flag on the handle that can be set at the kernel-call
sl@0
  1647
	level. The test is unix-specific in every way. [Bug 1245953]
sl@0
  1648
sl@0
  1649
2005-07-26  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  1650
sl@0
  1651
	* unix/configure: Regen.
sl@0
  1652
	* unix/configure.in: Check for a $prefix/share directory and add it
sl@0
  1653
	the the package if found. This will check for Tcl packages in
sl@0
  1654
	/usr/local/share when Tcl is configured with the default dist install.
sl@0
  1655
	[Patch 1231015]
sl@0
  1656
sl@0
  1657
2005-07-26  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1658
sl@0
  1659
	* doc/tclvars.n:	Improved $errorCode documentation. [RFE 776921]
sl@0
  1660
sl@0
  1661
	* generic/tclBasic.c (Tcl_CallWhenDeleted):	Converted to use
sl@0
  1662
	per-thread counter, rather than a process global one that required
sl@0
  1663
	mutex protection. [RFE 1077194]
sl@0
  1664
sl@0
  1665
	* generic/tclNamesp.c (TclTeardownNamespace):	Re-ordering so that
sl@0
  1666
	* tests/trace.test (trace-34.4):	command delete traces fire
sl@0
  1667
	while the command still exists. [Bug 1047286]
sl@0
  1668
sl@0
  1669
2005-07-24  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  1670
sl@0
  1671
	* unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
sl@0
  1672
	* win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
sl@0
  1673
	Split confused search for tclsh on PATH and build and install
sl@0
  1674
	locations into two macros. SC_PROG_TCLSH searches just the PATH.
sl@0
  1675
	SC_BUILD_TCLSH determines the name of the tclsh executable in the Tcl
sl@0
  1676
	build directory. [Bug 1160114], [Patch 1244153]
sl@0
  1677
sl@0
  1678
2005-07-22  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1679
sl@0
  1680
	* library/auto.tcl:	Updates to the Tcl script library to make
sl@0
  1681
	* library/history.tcl:	use of Tcl 8.4 feautures.  Thanks to
sl@0
  1682
	* library/init.tcl:	Patrick Fradin for prompting on this.
sl@0
  1683
	* library/package.tcl:	[Patch 1237755]
sl@0
  1684
	* library/safe.tcl:
sl@0
  1685
	* library/word.tcl:
sl@0
  1686
sl@0
  1687
2005-07-07  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1688
sl@0
  1689
	* unix/tcl.m4, unix/configure: Backported [Bug 1095909], removing
sl@0
  1690
	* unix/tclUnixPort.h:	       any use of readdir_r as it is not
sl@0
  1691
	* unix/tclUnixThrd.c:	       necessary and just confuses things.
sl@0
  1692
sl@0
  1693
2005-07-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1694
sl@0
  1695
	* generic/tclCmdAH.c:	 New "encoding" Tcl_ObjType (not registered)
sl@0
  1696
	* generic/tclEncoding.c: that permits longer lifetimes of the
sl@0
  1697
	* generic/tclInt.h:	 Tcl_Encoding values kept as intreps of
sl@0
  1698
	Tcl_Obj's.  Reduces the need for repeated reading of encoding
sl@0
  1699
	definition files from the filesystem. [Bug 1077262]
sl@0
  1700
sl@0
  1701
	* generic/tclNamesp.c:	Allow for [namespace import] of a command
sl@0
  1702
	* tests/namespace.test: over a previous [namespace import] of itself
sl@0
  1703
	without throwing an error. [RFE 1230597]
sl@0
  1704
sl@0
  1705
2005-07-01  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
  1706
sl@0
  1707
	* unix/tclUnixNotfy.c: protect against spurious wake-ups while waiting
sl@0
  1708
	on the condition variable when tearing down the notifier thread. [Bug
sl@0
  1709
	1222872]
sl@0
  1710
sl@0
  1711
2005-06-27  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1712
sl@0
  1713
	*** 8.4.11 TAGGED FOR RELEASE ***
sl@0
  1714
sl@0
  1715
	* library/auto.tcl:	Reverted to Revision 1.12.2.3 (Tcl 8.4.9).
sl@0
  1716
	Restores the (buggy) behavior of [auto_reset] that fails to clear
sl@0
  1717
	away auto-loaded commands from non-global namespaces.  Fixing this
sl@0
  1718
	bug exposed an unknown number of buggy files out there (including at
sl@0
  1719
	least portions of the Tk script library) that cannot tolerate double
sl@0
  1720
	[source]-ing.  The burden of fixing these exposed bugs will not be
sl@0
  1721
	forced on package/extension/application authors until Tcl 8.5.
sl@0
  1722
sl@0
  1723
2005-06-24  Kevin Kenny  <kennykb@acm.org>
sl@0
  1724
sl@0
  1725
	* generic/tclEvent.c (Tcl_Finalize):
sl@0
  1726
	* generic/tclInt.h:
sl@0
  1727
	* generic/tclPreserve.c (TclFinalizePreserve): Changed the
sl@0
  1728
	finalization logic so that Tcl_Preserve finalizes after exit
sl@0
  1729
	handlers run; a lot of code called from Tk's exit handlers
sl@0
  1730
	presumes tha Tcl_Preserve will still work even from an exit
sl@0
  1731
	handler.  Also, made the assertion check that no exit handlers
sl@0
  1732
	are created in Tcl_Finalize conditional on TCL_MEM_DEBUG to
sl@0
  1733
	avoid spurious panics in the "stable" release.
sl@0
  1734
sl@0
  1735
2005-06-24  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1736
sl@0
  1737
	* library/auto.tcl:	Make file safe to re-[source] without
sl@0
  1738
	destroying registered auto_mkindex_parser hooks.
sl@0
  1739
sl@0
  1740
2005-06-23  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1741
sl@0
  1742
	* tools/tcltk-man2html.tcl: fixed useversion glob pattern to accept
sl@0
  1743
	multi-digit patchlevels.
sl@0
  1744
sl@0
  1745
2005-06-23  Kevin Kenny  <kennykb@acm.org>
sl@0
  1746
sl@0
  1747
	* win/tclWinChan.c: More rewriting of __asm__ blocks that
sl@0
  1748
	* win/tclWinFCmd.c: implement SEH in GCC, because mingw's
sl@0
  1749
	gcc 3.4.2 is not as forgiving of violations committed by
sl@0
  1750
	the old code and caused panics. [Bug 1225957]
sl@0
  1751
sl@0
  1752
2005-06-23  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1753
sl@0
  1754
	* unix/Makefile.in (install-private-headers): rewrite tclPort.h when
sl@0
  1755
	installing private headers to remove ../unix relative #include path to
sl@0
  1756
	tclUnixPort.h (which is incorrect at the installed location).
sl@0
  1757
sl@0
  1758
2005-06-22  Kevin Kenny <kennykb@acm.org>
sl@0
  1759
sl@0
  1760
	* generic/tclInt.h:			    Changed the finalization
sl@0
  1761
	* generic/tclEvent.c (Tcl_Finalize):	    logic to defer the
sl@0
  1762
	* generic/tclIO.c (TclFinalizeIOSubsystem): shutdown of the pipe
sl@0
  1763
	* unix/tclUnixPipe.c (TclFinalizePipes):    management until after
sl@0
  1764
	* win/tclWinPipe.c (TclFinalizePipes):	    all channels have been
sl@0
  1765
	    closed, in order to avoid a situation where the Windows
sl@0
  1766
	    PipeCloseProc2 would re-establish the exit handler after exit
sl@0
  1767
	    handlers had already run, corrupting the heap. [Bug 1225727]
sl@0
  1768
	Corrected a read of uninitialized memory in PipeCloseProc2, which (at
sl@0
  1769
	least on certain configurations) caused a great number of tests to
sl@0
  1770
	either fail or hang. [Bug 1225044]
sl@0
  1771
sl@0
  1772
2005-06-22  Andreas Kupries <andreask@activestate.com>
sl@0
  1773
sl@0
  1774
	* generic/tclInt.h: Followup to change made on 2005-06-18 by Daniel
sl@0
  1775
	Steffen. There are compilers (*) who error out on the redefinition of
sl@0
  1776
	WORDS_BIGENDIAN. We have to undef the previous definition (on the
sl@0
  1777
	command line) first to make this acceptable. (*): AIX native.
sl@0
  1778
sl@0
  1779
2005-06-22  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1780
sl@0
  1781
	* win/tclWinFile.c:	Potential buffer overflow. [Bug 1225571]
sl@0
  1782
	Thanks to Pat Thoyts for discovery and fix.
sl@0
  1783
sl@0
  1784
	* tests/safe.test:	Backport performance improvement from
sl@0
  1785
	reduced $::auto_path.
sl@0
  1786
sl@0
  1787
2005-06-21  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
  1788
sl@0
  1789
	* tests/winDde.test: Added some waits to the dde server script to
sl@0
  1790
	let event processing run after we create the dde server and before
sl@0
  1791
	we exit the server process. This avoids 'server did not respond'
sl@0
  1792
	errors.
sl@0
  1793
sl@0
  1794
2005-06-21  Kevin Kenny  <kennykb@acm.org>
sl@0
  1795
sl@0
  1796
	* generic/tclFileName.c: Corrected a problem where a directory name
sl@0
  1797
	containing a colon can crash the process on Windows [Bug 1194458]
sl@0
  1798
	* tests/fileName.test: Added test for [file split] and [file join]
sl@0
  1799
	with a name containing a colon.
sl@0
  1800
	* win/tclWinPipe.c: Reverted davygrvy's changes of 2005-04-19;
sl@0
  1801
	they cause multiple failures in io.test. [Bug 1225044, still open]
sl@0
  1802
sl@0
  1803
2005-06-21  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1804
sl@0
  1805
	* generic/tclBasic.c:	Made the walk of the active trace list aware
sl@0
  1806
	* generic/tclCmdMZ.c:	of the direction of trace scanning, so the
sl@0
  1807
	* generic/tclInt.h:	proper correction can be made. [Bug 1224585]
sl@0
  1808
	* tests/trace.test (trace-34.2,3):
sl@0
  1809
sl@0
  1810
	* generic/tclBasic.c (Tcl_DeleteTrace):	Added missing walk of the
sl@0
  1811
	* tests/trace.test (trace-34.1):	list of active traces to
sl@0
  1812
	cleanup references to traces being deleted. [Bug 1201035]
sl@0
  1813
sl@0
  1814
2005-06-20  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1815
sl@0
  1816
	* doc/FileSystem.3: added missing Tcl_GlobTypeData documentation [Bug
sl@0
  1817
	935853]
sl@0
  1818
sl@0
  1819
2005-06-18  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1820
sl@0
  1821
	* generic/tclInt.h: ensure WORDS_BIGENDIAN is defined correctly with
sl@0
  1822
	fat compiles on Darwin (i.e. ppc and i386 at the same time), the
sl@0
  1823
	configure AC_C_BIGENDIAN check is not sufficient in this case because
sl@0
  1824
	a single run of the compiler builds for two architectures with
sl@0
  1825
	different endianness.
sl@0
  1826
sl@0
  1827
	* unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to
sl@0
  1828
	ensure we can always relocate binaries with install_name_tool.
sl@0
  1829
sl@0
  1830
	* unix/configure: autoconf-2.13
sl@0
  1831
sl@0
  1832
2005-06-18  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1833
sl@0
  1834
	* changes:		Update changes for 8.4.11 release
sl@0
  1835
sl@0
  1836
	* README:		Bump version number to 8.4.11
sl@0
  1837
	* generic/tcl.h:
sl@0
  1838
	* tools/tcl.wse.in:
sl@0
  1839
	* unix/configure.in:
sl@0
  1840
	* unix/tcl.spec:
sl@0
  1841
	* win/README.binary:
sl@0
  1842
	* win/configure.in:
sl@0
  1843
sl@0
  1844
	* unix/configure:	autoconf
sl@0
  1845
	* win/configure:
sl@0
  1846
sl@0
  1847
2005-06-18  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1848
sl@0
  1849
	* generic/tclCmdAH.c (Tcl_FormatObjCmd): Fix for [Bug 1154163]; only
sl@0
  1850
	* tests/format.test: insert 'l' modifier when it is needed.
sl@0
  1851
sl@0
  1852
2005-06-07  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  1853
sl@0
  1854
	* unix/tclUnixNotfy.c (Tcl_FinalizeNotifier): Add dummy variable
sl@0
  1855
	so threaded build compiles.
sl@0
  1856
sl@0
  1857
2005-06-06  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  1858
sl@0
  1859
	* win/tclWin32Dll.c: Corrected another buglet in the assembly code for
sl@0
  1860
	stack probing on Win32/gcc. [Bug 1213678]
sl@0
  1861
sl@0
  1862
2005-06-03  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1863
sl@0
  1864
	*** 8.4.10 TAGGED FOR RELEASE ***
sl@0
  1865
sl@0
  1866
	* unix/tclLoadDyld.c: fixed header conflict when building this file
sl@0
  1867
	with USE_TCL_STUBS.
sl@0
  1868
sl@0
  1869
	* macosx/Makefile: fixed 'embedded' target.
sl@0
  1870
sl@0
  1871
2005-06-02  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1872
sl@0
  1873
	* unix/Makefile.in (html): add BUILD_HTML_FLAGS optional var
sl@0
  1874
	* tools/tcltk-man2html.tcl: add a --useversion to prevent
sl@0
  1875
	confusion when multiple Tcl source dirs exist.
sl@0
  1876
sl@0
  1877
	* changes: updated for 8.4.10 release (porter)
sl@0
  1878
sl@0
  1879
2005-05-31  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
  1880
sl@0
  1881
	* unix/tclUnixNotfy.c: the notifier thread is now created as
sl@0
  1882
	joinable thread and it is properly joined in Tcl_FinalizeNotifier.
sl@0
  1883
	This is an attempt to fix [Bug 1082283]
sl@0
  1884
sl@0
  1885
2005-05-29  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1886
sl@0
  1887
	* win/tclWinThrd.c (TclpFinalizeThreadData): move tlsKey defn
sl@0
  1888
	to top of file and clarify name (was 'key'). [Bug 1204064]
sl@0
  1889
sl@0
  1890
2005-05-27  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1891
sl@0
  1892
	* README:	    Bumped patchlevel to 8.4.10
sl@0
  1893
	* generic/tcl.h:
sl@0
  1894
	* tools/tcl.wse.in:
sl@0
  1895
	* unix/tcl.spec, unix/configure, unix/configure.in:
sl@0
  1896
	* win/configure, win/configure.in:
sl@0
  1897
sl@0
  1898
2005-05-26  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1899
sl@0
  1900
	* macosx/Makefile: moved & corrected EMBEDDED_BUILD check.
sl@0
  1901
sl@0
  1902
	* unix/configure.in: corrected framework finalization to softlink
sl@0
  1903
	stub library to Versions/8.x subdir instead of Versions/Current.
sl@0
  1904
	* unix/configure: autoconf-2.13
sl@0
  1905
sl@0
  1906
2005-05-25  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1907
sl@0
  1908
	* generic/tclCmdMZ.c (Tcl_TimeObjCmd): add necessary cast
sl@0
  1909
sl@0
  1910
	* unix/configure, unix/configure.in: ensure false Tcl.framework is
sl@0
  1911
	only created with --enable-framework
sl@0
  1912
sl@0
  1913
2005-05-24  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1914
sl@0
  1915
	* tests/env.test: added DYLD_FRAMEWORK_PATH to the list of env vars
sl@0
  1916
	that need to be handled specially.
sl@0
  1917
sl@0
  1918
	* macosx/Makefile:
sl@0
  1919
	* macosx/README:
sl@0
  1920
	* macosx/Tcl-Info.plist.in (new file):
sl@0
  1921
	* unix/Makefile.in:
sl@0
  1922
	* unix/configure.in:
sl@0
  1923
	* unix/tcl.m4:
sl@0
  1924
	* unix/tclUnixInit.c: moved all Darwin framework build support from
sl@0
  1925
	macosx/Makefile into the standard unix configure/make buildsystem, the
sl@0
  1926
	macosx/Makefile is no longer required to build Tcl.framework (but its
sl@0
  1927
	functionality is still available for backwards compatibility).
sl@0
  1928
	* unix/configure: autoconf-2.13
sl@0
  1929
sl@0
  1930
	* generic/tclIOUtil.c (TclLoadFile):
sl@0
  1931
	* generic/tclInt.h:
sl@0
  1932
	* unix/tcl.m4:
sl@0
  1933
	* unix/tclLoadDyld.c: added support for [load]ing .bundle binaries in
sl@0
  1934
	addition to .dylib's: .bundle's can be [unload]ed (unlike .dylib's),
sl@0
  1935
	and can be [load]ed from memory, e.g. directly from VFS without
sl@0
  1936
	needing to be written out to a temporary location first. [Bug 1202209]
sl@0
  1937
	* unix/configure: autoconf-2.13
sl@0
  1938
sl@0
  1939
	* generic/tclCmdMZ.c (Tcl_TimeObjCmd): change [time] called with a
sl@0
  1940
	count > 1 to return a string with a float value instead of a rounded
sl@0
  1941
	off integer. [Bug 1202178]
sl@0
  1942
sl@0
  1943
2005-05-20  Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
sl@0
  1944
sl@0
  1945
	* generic/tclParseExpr.c: removed unreferenced stack variable "errMsg"
sl@0
  1946
	probably included by fixing [Bug 1201589] (see below).
sl@0
  1947
sl@0
  1948
2005-05-20  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1949
sl@0
  1950
	* generic/tclParseExpr.c:	Corrected parser to recognize all
sl@0
  1951
	boolean literals accepted by Tcl_GetBoolean, including prefixes like
sl@0
  1952
	"y" and "f", and to allow "eq" and "ne" as function names in the
sl@0
  1953
	proper context. [Bug 1201589]
sl@0
  1954
sl@0
  1955
2005-05-19  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1956
sl@0
  1957
	* macosx/tclMacOSXNotify.c (Tcl_InitNotifier): fixed crashing
sl@0
  1958
	CFRelease of runLoopSource in Tcl_InitNotifier (reported by Zoran):
sl@0
  1959
	CFRunLoopAddSource doesn't CFRetain, so can only CFRelease the
sl@0
  1960
	runLoopSource in Tcl_FinalizeNotifier.
sl@0
  1961
sl@0
  1962
2005-05-14  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  1963
sl@0
  1964
	* macosx/tclMacOSXBundle.c:
sl@0
  1965
	* unix/tclUnixInit.c:
sl@0
  1966
	* unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable
sl@0
  1967
	and added test of CoreFoundation availablility to allow building on
sl@0
  1968
	ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for
sl@0
  1969
	availability of Tiger or later OSSpinLockLock API.
sl@0
  1970
sl@0
  1971
	* unix/tclUnixNotfy.c:
sl@0
  1972
	* unix/Makefile.in:
sl@0
  1973
	* macosx/tclMacOSXNotify.c (new file): when CoreFoundation is
sl@0
  1974
	available, use new CFRunLoop based notifier: allows easy integration
sl@0
  1975
	with other event loops on Mac OS X, in particular the TkAqua Carbon
sl@0
  1976
	event loop is now integrated via a standard tcl event source (instead
sl@0
  1977
	of TkAqua upon loading having to finalize the exsting notifier and
sl@0
  1978
	replace it with its custom version). [Patch 1202052]
sl@0
  1979
sl@0
  1980
	* tests/unixNotfy.test: don't run unthreaded tests on Darwin since
sl@0
  1981
	notifier may be using threads even in unthreaded core.
sl@0
  1982
sl@0
  1983
	* unix/tclUnixPort.h:
sl@0
  1984
	* unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning
sl@0
  1985
	configure, as Darwin 7 and later realpath is threadsafe.
sl@0
  1986
sl@0
  1987
	* macosx/tclMacOSXBundle.c:
sl@0
  1988
	* unix/tclLoadDyld.c:
sl@0
  1989
	* unix/tclUnixInit.c: fixed gcc 4.0 warnings.
sl@0
  1990
sl@0
  1991
	* unix/configure: autoconf-2.13
sl@0
  1992
sl@0
  1993
2005-05-10  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1994
sl@0
  1995
	* tests/string.test: string-10.[21-30]
sl@0
  1996
	* generic/tclCmdMZ.c (Tcl_StringObjCmd): add extra checks to
sl@0
  1997
	prevent possible UMR in unichar cmp function for string map.
sl@0
  1998
sl@0
  1999
2005-05-06  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2000
sl@0
  2001
	* unix/tcl.m4, unix/configure: correct Solaris 10 (5.10) check and
sl@0
  2002
	add support for x86_64 Solaris cc builds.
sl@0
  2003
sl@0
  2004
2005-04-29  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2005
sl@0
  2006
	* doc/FileSystem.3: Backport of doc fix. [Bug 1172401]
sl@0
  2007
sl@0
  2008
2005-04-27  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2009
sl@0
  2010
	* library/init.tcl:	Corrected flaw in interactive command
sl@0
  2011
	* tests/main.test:	auto-completion. [Bug 1191409]
sl@0
  2012
sl@0
  2013
	* tests/unixInit.test (7.1):	Alternative fix for the
sl@0
  2014
	2005-04-22 commit.
sl@0
  2015
sl@0
  2016
2005-04-25  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  2017
sl@0
  2018
	* compat/string.h: fixed memchr() protoype for __APPLE__ so that we
sl@0
  2019
	build on Mac OS X 10.1 again.
sl@0
  2020
sl@0
  2021
	* generic/tclNotify.c (TclFinalizeNotifier): fixed notifier not being
sl@0
  2022
	finalized in unthreaded core (was testing for notifier initialization
sl@0
  2023
	in current thread by checking thread id != 0 but thread id is always 0
sl@0
  2024
	in untreaded core).
sl@0
  2025
sl@0
  2026
	* unix/tclUnixNotfy.c (Tcl_WaitForEvent): sync with HEAD: only declare
sl@0
  2027
	and use timeout var in unthreaded core.
sl@0
  2028
sl@0
  2029
	* unix/Makefile.in: added @PLAT_SRCS@ to SRCS and split out
sl@0
  2030
	NOTIFY_SRCS from UNIX_SRCS for parity with UNIX_OBJS & NOTIFY_OBJS.
sl@0
  2031
sl@0
  2032
	* unix/configure.in: only run check for broken strstr implementation
sl@0
  2033
	if AC_REPLACE_FUNCS(strstr) hasn't already determined that strstr is
sl@0
  2034
	unavailable, otherwise compat/strstr.o will be used twice (resulting
sl@0
  2035
	in duplicate symbol link errors on Mac OS X 10.1)
sl@0
  2036
sl@0
  2037
	* unix/tcl.m4 (Darwin): added configure checks for recently added
sl@0
  2038
	linker flags -single_module and -search_paths_first to allow building
sl@0
  2039
	with older tools (and on Mac OS X 10.1), use -single_module in
sl@0
  2040
	SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from
sl@0
  2041
	Tk of symbols from libtclstub to avoid duplicate symbol warnings,
sl@0
  2042
	added PLAT_SRCS definition for Mac OS X.
sl@0
  2043
	(SC_MISSING_POSIX_HEADERS): added caching of dirent.h check.
sl@0
  2044
	(SC_TCL_64BIT_FLAGS): fixed 'checking for off64_t' message output.
sl@0
  2045
sl@0
  2046
	* unix/configure: autoconf-2.13
sl@0
  2047
sl@0
  2048
2005-04-22  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2049
sl@0
  2050
	* generic/tclCmdMZ.c:	Corrected intrep-dependence of
sl@0
  2051
	* tests/string.test:	[string is boolean] [Bug 1187123]
sl@0
  2052
sl@0
  2053
2005-04-22  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  2054
sl@0
  2055
	* tests/unixInit.test (7.1): fixed failure when running tests with
sl@0
  2056
	-tmpdir arg not set to working dir.
sl@0
  2057
sl@0
  2058
2005-04-20  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2059
sl@0
  2060
	* generic/tclGet.c (Tcl_GetInt):	Corrected error that did not
sl@0
  2061
	* generic/tclObj.c (Tcl_GetIntFromObj): permit 0x80000000 to be
sl@0
  2062
	recognized as an integer on TCL_WIDE_INT_IS_LONG systems [Bug 1090869]
sl@0
  2063
sl@0
  2064
2005-04-19  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2065
sl@0
  2066
	* tests/winPipe.test (winpipe-6.2): remove -blocking 1 as this one
sl@0
  2067
	can truly block.
sl@0
  2068
sl@0
  2069
2005-04-19  David Gravereaux <davygrvy@pobox.com>
sl@0
  2070
sl@0
  2071
	* win/tclWinPipe.c: The pipe channel driver now respects the -blocking
sl@0
  2072
	option when closing. The windows pipe driver now has the same behavior
sl@0
  2073
	as the UNIX side. This change is to avoid a hung shell when exiting
sl@0
  2074
	due to open pipes that refuse to close in a graceful manner.
sl@0
  2075
	* doc/open.n: Added a note about -blocking 0 and lack of exit status
sl@0
  2076
	as it had never been documented. [Bug 947693]
sl@0
  2077
sl@0
  2078
	***POTENTIAL INCOMPATIBILITY***
sl@0
  2079
sl@0
  2080
	Scripts that use async pipes on windows, must (like the UNIX side) set
sl@0
  2081
	-blocking to 1 before calling [close] to receive the exit status.
sl@0
  2082
sl@0
  2083
	* tests/winPipe.test (winpipe-6.1/2): added 'fconfigure $f -blocking
sl@0
  2084
	1' so the exit status can be acquired.
sl@0
  2085
sl@0
  2086
2005-04-13  David Gravereaux <davygrvy@pobox.com>
sl@0
  2087
sl@0
  2088
	* generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limit
sl@0
  2089
	* tests/io.test:	changed from ten bytes to one byte. Need for
sl@0
  2090
	* tests/iogt.test:	this change was proven by Ross Cartlidge
sl@0
  2091
	<rossc@cisco.com> where [read stdin 1] was grabbing 10 bytes followed
sl@0
  2092
	by starting a child process that was intended to continue reading from
sl@0
  2093
	stdin. Even with -buffersize set to one, nine chars were getting lost
sl@0
  2094
	by the buffersize over reading for the native read() caused by [read].
sl@0
  2095
sl@0
  2096
2005-04-12  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  2097
sl@0
  2098
	* compat/strstr.c: Added default definition of NULL to accommodate
sl@0
  2099
	building on systems with badly broken headers. [Bug 1175161]
sl@0
  2100
sl@0
  2101
2005-04-09  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  2102
sl@0
  2103
	* macosx/README: updated requirements for OS & developer tool versions
sl@0
  2104
	+ other small fixes/cleanup.
sl@0
  2105
sl@0
  2106
	* unix/tcl.m4 (Darwin): added -single_module linker flag to
sl@0
  2107
	TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS.
sl@0
  2108
	* unix/configure: autoconf-2.13
sl@0
  2109
sl@0
  2110
2005-04-05  Zoran Vasiljevic  <vasiljevic@users.sourceforge.net>
sl@0
  2111
sl@0
  2112
	Set of changes correcting huge memory waste (not a leak) when a thread
sl@0
  2113
	exits. This has been introduced in 8.4.7 within an attempt to
sl@0
  2114
	correctly cleanup after ourselves when Tcl library is being unloaded
sl@0
  2115
	with the Tcl_Finalize() call.
sl@0
  2116
sl@0
  2117
	This fixes the [Bug 1178445].
sl@0
  2118
sl@0
  2119
	* generic/tclInt.h: added prototypes for TclpFreeAllocCache() and
sl@0
  2120
	TclFreeAllocCache()
sl@0
  2121
sl@0
  2122
	* generic/tclThreadAlloc.c: modified TclFinalizeThreadAlloc() to
sl@0
  2123
	explicitly call TclpFreeAllocCache with the NULL-ptr as argument
sl@0
  2124
	signalling cleanup of private tsd key used only by the threading
sl@0
  2125
	allocator.
sl@0
  2126
sl@0
  2127
	* unix/tclUnixThrd.c: fixed TclpFreeAllocCache() to recognize when
sl@0
  2128
	being called with NULL argument. This is a signal for it to clean up
sl@0
  2129
	the tsd key associated with the threading allocator.
sl@0
  2130
sl@0
  2131
	* win/tclWinThrd.c: renamed TclWinFreeAllocCache to TclpFreeAllocCache
sl@0
  2132
	and fixed to recognize when being called with NULL argument. This is a
sl@0
  2133
	signal for it to clean up the tsd key associated with the threading
sl@0
  2134
	allocator.
sl@0
  2135
sl@0
  2136
2005-04-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2137
sl@0
  2138
	* generic/tclExecute.c (ExprSrandFunc):	Replaced incursions into the
sl@0
  2139
	* generic/tclUtil.c (TclGetIntForIndex): intreps of numeric types with
sl@0
  2140
	simpler calls of Tcl_GetIntFromObj and Tcl_GetLongFromObj, now that
sl@0
  2141
	those routines are better behaved wrt shimmering. [Patch 1177129]
sl@0
  2142
sl@0
  2143
2005-03-29  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2144
sl@0
  2145
	* win/tcl.m4, win/configure: do not require cygpath in macros to
sl@0
  2146
	allow msys alone as an alternative.
sl@0
  2147
sl@0
  2148
	* win/tclWinTime.c (TclpGetDate): use time_t for 'time' [Bug 1163422]
sl@0
  2149
sl@0
  2150
2005-03-18  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2151
sl@0
  2152
	* generic/tclCompCmds.c (TclCompileIncrCmd):	Corrected checks for
sl@0
  2153
	immediate operand usage to permit leading space and sign characters.
sl@0
  2154
	Restores more efficient bytecode for [incr x -1] that got lost in the
sl@0
  2155
	CONST string reforms of Tcl 8.4. [Bug 1165671]
sl@0
  2156
sl@0
  2157
	* generic/tclBasic.c (Tcl_EvalEx,TclEvalTokensStandard):
sl@0
  2158
	* generic/tclCmdMZ.c (Tcl_SubstObj):
sl@0
  2159
	* tests/basic.test (basic-46.4):	Restored recursion limit
sl@0
  2160
	* tests/parse.test (parse-19.*):	testing in nested command
sl@0
  2161
	substitutions within direct script evaluation (Tcl_EvalEx) that got
sl@0
  2162
	lost in the parser reforms of Tcl 8.1. Added tests for correct
sl@0
  2163
	behavior. [Bug 1115904]
sl@0
  2164
sl@0
  2165
2005-03-15  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  2166
sl@0
  2167
	* generic/tclFileName.c:
sl@0
  2168
	* win/tclWinFile.c:
sl@0
  2169
	* tests/winFCMd.test: fix to 'file pathtype' and 'file norm' failures
sl@0
  2170
	on reserved filenames like 'COM1:', etc.
sl@0
  2171
sl@0
  2172
2005-03-15  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  2173
sl@0
  2174
	* generic/tclClock.c:
sl@0
  2175
	* generic/tclDate.c:
sl@0
  2176
	* generic/tclGetDate.y:
sl@0
  2177
	* generic/tclInt.decls:
sl@0
  2178
	* unix/tclUnixTime.c:
sl@0
  2179
	* win/tclWinTime.c:	Replaced 'unsigned long' variable holding
sl@0
  2180
	times with 'Tcl_WideInt', to cope with systems on which a time_t is
sl@0
  2181
	wider than a long (Win64) [Bug 1163422]
sl@0
  2182
	* generic/tclIntDecls.h: Regen
sl@0
  2183
sl@0
  2184
2005-03-15  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
  2185
sl@0
  2186
	* unix/tcl.m4: Make it work on OpenBSD again. Imported patch
sl@0
  2187
	from the OpenBSD ports tree.
sl@0
  2188
sl@0
  2189
2005-03-10  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2190
sl@0
  2191
	* generic/tclCmdMZ.c (TclCheckInterpTraces):	Corrected mistaken
sl@0
  2192
	cast of ClientData to (TraceCommandInfo *) when not warranted. Thanks
sl@0
  2193
	to Yuri Victorovich for the report. [Bug 1153871]
sl@0
  2194
sl@0
  2195
2005-03-08  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2196
sl@0
  2197
	* win/makefile.vc: clarify necessary defined vars that can come
sl@0
  2198
	from MSVC or the Platform SDK.
sl@0
  2199
sl@0
  2200
2005-02-24  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2201
sl@0
  2202
	* library/tcltest/tcltest.tcl:	Better use of [glob -types] to avoid
sl@0
  2203
	* tests/tcltest.test:	failed attempts to [source] a directory, and
sl@0
  2204
	similar matters. Thanks to "mpettigr". [Bug 1119798]
sl@0
  2205
sl@0
  2206
	* library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.8
sl@0
  2207
sl@0
  2208
2005-02-23  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2209
sl@0
  2210
	* doc/CrtChannel.3 (THREADACTIONPROC): Formatting fix. [Bug 1149605]
sl@0
  2211
sl@0
  2212
2005-02-17  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2213
sl@0
  2214
	* win/tclWinFCmd.c (TraverseWinTree): use wcslen on wchar, not
sl@0
  2215
	Tcl_UniCharLen.
sl@0
  2216
sl@0
  2217
2005-02-16  Miguel Sofer <msofer@users.sf.net>
sl@0
  2218
sl@0
  2219
	* doc/variable.n: fix for [Bug 1124160], variables are detected by
sl@0
  2220
	[info vars] but not by [info locals].
sl@0
  2221
sl@0
  2222
2005-02-10  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2223
sl@0
  2224
	* unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlined
sl@0
  2225
	* unix/tcl.m4:	    into SHLIB_LD).  Combine AIX-* and AIX-5
sl@0
  2226
	* unix/configure:   branches in SC_CONFIG_CFLAGS.
sl@0
  2227
	Correct gcc builds for AIX-4+ and HP-UX-11.
sl@0
  2228
sl@0
  2229
2005-02-10  Miguel Sofer <msofer@users.sf.net>
sl@0
  2230
sl@0
  2231
	* generic/tclBasic.c (Tcl_EvalObjEx):
sl@0
  2232
	* tests/basic.test (basic-26.2): preserve the arguments passed to TEOV
sl@0
  2233
	in the pure-list branch, in case the list shimmers away. Fix for [Bug
sl@0
  2234
	1119369], reported by Peter MacDonald.
sl@0
  2235
sl@0
  2236
2005-02-10  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2237
sl@0
  2238
	* doc/binary.n: Made the documentation of sign bit masking and
sl@0
  2239
	[binary scan] consistent. [Bug 1117017]
sl@0
  2240
sl@0
  2241
2005-02-01  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2242
sl@0
  2243
	* generic/tclExecute.c (TclCompEvalObj): Removed stray statement
sl@0
  2244
	left behind in prior code reorganization.
sl@0
  2245
sl@0
  2246
2005-01-28  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2247
sl@0
  2248
	* unix/configure, unix/tcl.m4: add solaris 64-bit gcc build
sl@0
  2249
	support. [Bug 1021871]
sl@0
  2250
sl@0
  2251
2005-01-27  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2252
sl@0
  2253
	* generic/tclBasic.c (Tcl_ExprBoolean, Tcl_ExprDouble)
sl@0
  2254
	(Tcl_ExprLong): Fix to recognize Tcl_WideInt type. [Bug 1109484]
sl@0
  2255
sl@0
  2256
2005-01-27  Andreas Kupries <andreask@activestate.com>
sl@0
  2257
sl@0
  2258
	TIP#218 IMPLEMENTATION
sl@0
  2259
sl@0
  2260
	* generic/tclDecls.h:	Regenerated from tcl.decls.
sl@0
  2261
	* generic/tclStubInit.c:
sl@0
  2262
sl@0
  2263
	* doc/CrtChannel.3:	Documentation of extended API,
sl@0
  2264
	* generic/tcl.decls:	extended testsuite, and
sl@0
  2265
	* generic/tcl.h:	implementation. Removal of old
sl@0
  2266
	* generic/tclIO.c:	driver-specific TclpCut/Splice
sl@0
  2267
	* generic/tclInt.h:	functions. Replaced with generic
sl@0
  2268
	* tests/io.test:	thread-action calls through the
sl@0
  2269
	* unix/tclUnixChan.c:	new hooks. Update of all builtin
sl@0
  2270
	* unix/tclUnixPipe.c:	channel drivers to version 4.
sl@0
  2271
	* unix/tclUnixSock.c:	Windows drivers extended to
sl@0
  2272
	* win/tclWinChan.c:	manage thread state in a thread
sl@0
  2273
	* win/tclWinConsole.c:	action handler.
sl@0
  2274
	* win/tclWinPipe.c:
sl@0
  2275
	* win/tclWinSerial.c:
sl@0
  2276
	* win/tclWinSock.c:
sl@0
  2277
	* mac/tclMacChan.c:
sl@0
  2278
sl@0
  2279
2005-01-25  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2280
sl@0
  2281
	* library/auto.tcl:	Updated [auto_reset] to clear auto-loaded
sl@0
  2282
	procs in namespaces other than :: [Bug 1101670].
sl@0
  2283
sl@0
  2284
2005-01-25  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  2285
sl@0
  2286
	* unix/tcl.m4 (Darwin): fixed bug with static build linking to dynamic
sl@0
  2287
	library in /usr/lib etc instead of linking to static library earlier
sl@0
  2288
	in search path. [Bug 956908] 
sl@0
  2289
	Removed obsolete references to Rhapsody.
sl@0
  2290
	* unix/configure: autoconf-2.13
sl@0
  2291
sl@0
  2292
2005-01-19  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  2293
sl@0
  2294
	* win/tclWinChan.c (FileCloseProc): Invoke TclpCutFileChannel() to
sl@0
  2295
	remove a FileInfo from the thread local list before deallocating it.
sl@0
  2296
	This should have been done via an earlier call to Tcl_CutChannel, but
sl@0
  2297
	I was running into a crash in the next call to Tcl_CutChannel during
sl@0
  2298
	the IO finalization stage.
sl@0
  2299
sl@0
  2300
2005-01-17  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  2301
sl@0
  2302
	* tests/winFCmd.test: made test independent of current drive. [Bug
sl@0
  2303
	1066528]
sl@0
  2304
sl@0
  2305
2005-01-10  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2306
sl@0
  2307
	* unix/tclUnixFCmd.c (CopyFile): Convert u_int to unsigned to make
sl@0
  2308
	clashes with types in standard C headers less of a problem. [Bug
sl@0
  2309
	1098829]
sl@0
  2310
sl@0
  2311
2005-01-06  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2312
sl@0
  2313
	* library/http/http.tcl (http::mapReply): Significant performance
sl@0
  2314
	enhancement by using [string map] instead of [regsub]/[subst], and
sl@0
  2315
	update version requirement to Tcl8.4. [Bug 1020491]
sl@0
  2316
sl@0
  2317
2005-01-05  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2318
sl@0
  2319
	* unix/tclUnixInit.c (localeTable): Add encoding mappings for some
sl@0
  2320
	Chinese locales. [Bug 1084595]
sl@0
  2321
sl@0
  2322
	* doc/lsearch.n: Convert to other form of emacs mode control
sl@0
  2323
	comment to prevent problems with old versions of man. [Bug 1085127]
sl@0
  2324
sl@0
  2325
2004-12-29  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2326
sl@0
  2327
	* win/tcl.m4, win/configure: update MSVC CFLAGS_OPT to -O2, remove
sl@0
  2328
	-Gs (included in -O2) and -GD (outdated).  Use "link -lib" instead
sl@0
  2329
	of "lib" binary and remove -YX for MSVC7 portability.  Add
sl@0
  2330
	-fomit-frame-pointer for gcc OPT compiles. [Bug 1092952, 1091967]
sl@0
  2331
sl@0
  2332
2004-12-13  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  2333
sl@0
  2334
	* doc/clock.n: Clarify that the [clock scan] command does not accept
sl@0
  2335
	the full range of ISO8601 point-in-time formats. [Bug 1075433]
sl@0
  2336
sl@0
  2337
2004-12-09  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2338
sl@0
  2339
	* doc/Async.3: Reword for better grammar, better nroff and get the
sl@0
  2340
	flag name right. (Reported by David Welton.)
sl@0
  2341
sl@0
  2342
2004-12-06  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2343
sl@0
  2344
	*** 8.4.9 TAGGED FOR RELEASE ***
sl@0
  2345
sl@0
  2346
	* unix/tclUnixNotfy.c (NotifierThreadProc): init numFdBits [Bug
sl@0
  2347
	1079286]
sl@0
  2348
sl@0
  2349
2004-12-02  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2350
sl@0
  2351
	* changes: updated for 8.4.9 release
sl@0
  2352
sl@0
  2353
2004-12-02  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  2354
sl@0
  2355
	* generic/tclIOUtil.c: fix and new tests for [Bug 1074671] to
sl@0
  2356
	* tests/fileSystem.test: ensure tilde paths are not returned specially
sl@0
  2357
	by 'glob'.
sl@0
  2358
sl@0
  2359
2004-12-01  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2360
sl@0
  2361
	* library/auto.tcl (tcl_findLibrary): Disabled use of [file normalize]
sl@0
  2362
	that caused trouble with freewrap. [Bug 1072136]
sl@0
  2363
sl@0
  2364
2004-11-26  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2365
sl@0
  2366
	* tests/reg.test (reg-32.*): Added missing testregexp constraints.
sl@0
  2367
sl@0
  2368
	* library/auto.tcl (tcl_findLibrary): Made sure the uniquifying
sl@0
  2369
	operations on the search path does not also normalize.	[Bug 1072136]
sl@0
  2370
sl@0
  2371
2004-11-26  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2372
sl@0
  2373
	* doc/dde.n: Resynchonized the documentation with itself and fixed
sl@0
  2374
	some formatting errors.
sl@0
  2375
sl@0
  2376
2004-11-25  Zoran Vasiljevic <vasiljevic@users.sf.net>
sl@0
  2377
sl@0
  2378
	* doc/Notify.3:
sl@0
  2379
	* doc/Thread.3: Added doc fixes and hints from [Bug 1068077].
sl@0
  2380
sl@0
  2381
2004-11-25  Reinhard Max  <max@suse.de>
sl@0
  2382
sl@0
  2383
	* tests/tcltest.test: The order in which [glob] returns the file names
sl@0
  2384
	* tests/fCmd.test:    is undefined, so tests should not depend on it.
sl@0
  2385
sl@0
  2386
2004-11-24  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2387
sl@0
  2388
	* unix/tcl.m4 (SC_ENABLE_THREADS): Corrected failure to determine
sl@0
  2389
	the number of arguments for readdir_r on SunOS systems. [Bug 1071701]
sl@0
  2390
sl@0
  2391
	* unix/configure:	autoconf-2.13
sl@0
  2392
sl@0
  2393
2004-11-24  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2394
sl@0
  2395
	* README:	    Bumped patchlevel to 8.4.9
sl@0
  2396
	* generic/tcl.h:
sl@0
  2397
	* tools/tcl.wse.in:
sl@0
  2398
	* unix/tcl.spec, unix/configure, unix/configure.in:
sl@0
  2399
	* win/configure, win/configure.in:
sl@0
  2400
sl@0
  2401
2004-11-24  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  2402
sl@0
  2403
	* unix/tcl.m4 (SC_ENABLE_THREADS): Corrected bad check for 3-argument
sl@0
  2404
	readdir_r(). [Bug 1001325]
sl@0
  2405
	* unix/configure: Regenerated.
sl@0
  2406
	* unix/tclUnixNotfy.c: Corrected all uses of 'select' to manage their
sl@0
  2407
	masks using the FD_CLR, FD_ISSET, FD_SET, and FD_ZERO macros rather
sl@0
  2408
	than bit-whacking that failed under Solaris-Sparc-64. [Bug 1071807]
sl@0
  2409
sl@0
  2410
2004-11-23  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2411
sl@0
  2412
	* generic/tclCmdIL.c (InfoVarsCmd):	Corrected segfault in new
sl@0
  2413
	* tests/info.test (info-19.6):	trivial matching branch [Bug 1072654]
sl@0
  2414
sl@0
  2415
2004-11-23  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  2416
sl@0
  2417
	* generic/tclPathObj.c: fix and new test for [Bug 1043129] in
sl@0
  2418
	* tests/fileSystem.test: the treatment of backslashes in file join on
sl@0
  2419
	Windows.
sl@0
  2420
sl@0
  2421
2004-11-22  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  2422
sl@0
  2423
	* unix/configure: Regen.
sl@0
  2424
	* unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Define HAVE_TYPE_OFF64_T only when
sl@0
  2425
	off64_t, open64(), and lseek64() are defined. IRIX 5.3 is known to not
sl@0
  2426
	include an open64 function. [Bug 1030465]
sl@0
  2427
sl@0
  2428
2004-11-22  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  2429
sl@0
  2430
	* unix/configure: Regen.
sl@0
  2431
	* unix/tcl.m4 (SC_ENABLE_THREADS): Check for a 2 argument version of
sl@0
  2432
	readdir_r that is known to exists under IRIX 5.3.
sl@0
  2433
	* unix/tclUnixThrd.c (TclpReaddir): Use either 2 arg or 3 arg version
sl@0
  2434
	of readdir_r. [Bug 1001325]
sl@0
  2435
sl@0
  2436
2004-11-19  Reinhard Max  <max@suse.de>
sl@0
  2437
sl@0
  2438
	*** 8.4.8 TAGGED FOR RELEASE ***
sl@0
  2439
sl@0
  2440
	* unix/installManPage: Classic sed doesn't support | in REs.
sl@0
  2441
sl@0
  2442
2004-11-19  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  2443
sl@0
  2444
	* macosx/Makefile:
sl@0
  2445
	* unix/configure.in:
sl@0
  2446
	* unix/tclUnixInit.c (MacOSXGetLibraryPath): changed detection of tcl
sl@0
  2447
	framework build when determining tclLibPath from overloaded
sl@0
  2448
	TCL_LIBRARY to configuration define TCL_FRAMEWORK. [Bug 1068088]
sl@0
  2449
sl@0
  2450
	* unix/configure: autoconf-2.13
sl@0
  2451
sl@0
  2452
	* tests/unixInit.test (7.1): fixed failure when running tests
sl@0
  2453
	with -tmpdir arg not set to working dir.
sl@0
  2454
sl@0
  2455
2004-11-18  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2456
sl@0
  2457
	* changes:	Final updates for Tcl 8.4.8 release.
sl@0
  2458
sl@0
  2459
2004-11-18  Reinhard Max  <max@suse.de>
sl@0
  2460
sl@0
  2461
	* unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of
sl@0
  2462
	* unix/configure.in:		    [Patch 996085], that introduces
sl@0
  2463
	* unix/Makefile.in:		    --enable-man-suffix.
sl@0
  2464
sl@0
  2465
	* unix/installManPage:		    added
sl@0
  2466
	* unix/mkLinks.tcl:		    removed
sl@0
  2467
	* unix/mkLinks:			    removed
sl@0
  2468
sl@0
  2469
2004-11-16  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2470
sl@0
  2471
	* unix/tclUnixChan.c (TtySetOptionProc): fixed crash configuring
sl@0
  2472
	-ttycontrol on a channel. [Bug 1067708]
sl@0
  2473
sl@0
  2474
2004-11-16  Andreas Kupries <andreask@activestate.com>
sl@0
  2475
sl@0
  2476
	* win/makefile.vc: Fixed bug in installation of http 2.5.
sl@0
  2477
	* win/makefile.bc: Was installed into directory http2.4.
sl@0
  2478
	* win/Makefile.in: This has been corrected.
sl@0
  2479
	* unix/Makefile.in:
sl@0
  2480
	* tools/tcl.wse.in:
sl@0
  2481
	* tools/tclmin.wse:
sl@0
  2482
sl@0
  2483
2004-11-16  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2484
sl@0
  2485
	* library/auto.tcl:	Updated [tcl_findLibrary] search path to
sl@0
  2486
	include the $::auto_path. [RFE 695441]
sl@0
  2487
sl@0
  2488
2004-11-16  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2489
sl@0
  2490
	* doc/tclvars.n: Mention global variables set by tclsh and wish so
sl@0
  2491
	they are easier to find. [Patch 1065732]
sl@0
  2492
sl@0
  2493
2004-11-15  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2494
sl@0
  2495
	* generic/tclCmdMZ.c (Tcl_TraceObjCmd):	Fixed Bug 1065378 which failed
sl@0
  2496
	* tests/trace.test (trace-33.1):	to permit a variable trace
sl@0
  2497
	created with [trace variable] to be destroyed with [trace remove].
sl@0
  2498
	Thanks to Keith Vetter for the report.
sl@0
  2499
sl@0
  2500
2004-11-12  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2501
sl@0
  2502
	* library/init.tcl:	Made [unknown] robust in the case that either
sl@0
  2503
	of the variables ::errorInfo or ::errorCode gets unset. [Bug 1063707]
sl@0
  2504
sl@0
  2505
2004-11-12  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2506
sl@0
  2507
	* generic/tclEncoding.c (TableFromUtfProc): correct crash
sl@0
  2508
	condition when TCL_UTF_MAX == 6. [Bug 1004065]
sl@0
  2509
sl@0
  2510
2004-11-12  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  2511
sl@0
  2512
	* doc/clock.n:
sl@0
  2513
	* doc/registry.n:
sl@0
  2514
	* doc/upvar.n: fixed *roff errors uncovered by running 'make html'.
sl@0
  2515
sl@0
  2516
	* tools/tcltk-man2html.tcl: added faked support for bullet point
sl@0
  2517
	lists, i.e. *nroff ".IP \(bu" syntax.
sl@0
  2518
	Synced other changes from HEAD.
sl@0
  2519
sl@0
  2520
2004-11-11  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  2521
sl@0
  2522
	* tests/fCmd.test:
sl@0
  2523
	* unix/tclUnixFCmd.c (TraverseUnixTree): added option to rewind() the
sl@0
  2524
	readdir() loop whenever the source hierarchy has been modified by
sl@0
  2525
	traverseProc (e.g. by deleting files); this is required to ensure
sl@0
  2526
	complete traversal of the source hierarchy on certain filesystems like
sl@0
  2527
	HFS+. Added test for failing recursive delete on Mac OS X that was due
sl@0
  2528
	to this. [Bug 1034337]
sl@0
  2529
sl@0
  2530
	* generic/tclListObj.c (Tcl_ListObjReplace): use memmove() instead of
sl@0
  2531
	manual copy loop to shift list elements. Decreases time spent in
sl@0
  2532
	Tcl_ListObjReplace() from 5.2% to 1.7% of overall runtime of tclbench
sl@0
  2533
	on a ppc 7455 (i.e. 200% speed increase). [Patch 1064243]
sl@0
  2534
sl@0
  2535
	* generic/tclHash.c: hoisted some constant pointer dereferences out of
sl@0
  2536
	loops to eliminate redundant loads that the gcc optimizer didn't deal
sl@0
  2537
	with. Decreases time spend in Tcl_FindHashEntry() by 10% over a full
sl@0
  2538
	run of the tcl testuite on a ppc 7455. [Patch 1064243]
sl@0
  2539
sl@0
  2540
	* tests/fileName.test:
sl@0
  2541
	* tests/fileSystem.test:
sl@0
  2542
	* tests/io.test:
sl@0
  2543
	* tests/tcltest.test: fixed bugs causing failures when running tests
sl@0
  2544
	with -tmpdir arg not set to working dir.
sl@0
  2545
sl@0
  2546
	* macosx/Makefile: corrected path to html help inside framework.
sl@0
  2547
	Prevent parallel make from building several targets at the same time.
sl@0
  2548
sl@0
  2549
2004-11-09  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2550
sl@0
  2551
	* doc/catch.n: Clarify documentation on return codes. [Bug 1062647]
sl@0
  2552
sl@0
  2553
2004-11-02  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2554
sl@0
  2555
	* changes:	Updates for Tcl 8.4.8 release.
sl@0
  2556
sl@0
  2557
2004-11-02  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2558
sl@0
  2559
	* library/tcltest/tcltest.tcl:		Corrected some misleading
sl@0
  2560
	* tests/tcltest.test (tcltest-26.1,2):	displays of ::errorInfo and
sl@0
  2561
	::errorCode information when the -setup, -body, and/or -cleanup scripts
sl@0
  2562
	return an unexpected return code.  Thanks to Robert Seeger for the
sl@0
  2563
	fix. [RFE 1017151]
sl@0
  2564
sl@0
  2565
2004-11-02  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2566
sl@0
  2567
	* generic/tclExecute.c (TclExecuteByteCode): NaN-equality fix from
sl@0
  2568
	Miguel Sofer. [Bug 761471]
sl@0
  2569
sl@0
  2570
	* doc/CrtChannel.3 (Tcl_GetChannelMode): Add synopsis. [Bug 1058446]
sl@0
  2571
sl@0
  2572
2004-10-31  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2573
sl@0
  2574
	* generic/tclCmdIL.c (InfoGlobalsCmd):
sl@0
  2575
	* tests/info.test (info-8.4): Strip leading global-namespace
sl@0
  2576
	specifiers from the pattern argument. [Bug 1057461]
sl@0
  2577
sl@0
  2578
2004-10-30  Miguel Sofer <msofer@users.sf.net>
sl@0
  2579
sl@0
  2580
	* generic/tclCmdAH.c (Tcl_CatchObjCmd): removed erroneous comment [Bug
sl@0
  2581
	1029518]
sl@0
  2582
sl@0
  2583
2004-10-29  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2584
sl@0
  2585
	* library/tcltest/tcltest.tcl:	Correct reaction to errors in the
sl@0
  2586
	obsolete processCmdLineArgsHook.	[Bug 1055673]
sl@0
  2587
	* library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.7
sl@0
  2588
sl@0
  2589
2004-10-28  Andreas Kupries <andreask@activestate.com>
sl@0
  2590
sl@0
  2591
	* generic/tclAlloc.c:	    Fixed [Bug 1030548], a threaded debug
sl@0
  2592
	* generic/tclThreadAlloc.c: build on Windows now works again. Had to
sl@0
  2593
	* win/tclWinThrd.c:	    touch Unix as well. Basic patch by Kevin,
sl@0
  2594
	* unix/tclUnixThrd.c:	    with modifications by myself.
sl@0
  2595
sl@0
  2596
2004-10-28  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2597
sl@0
  2598
	* README:		Bumped patch level to 8.4.8 to prepare for
sl@0
  2599
	* generic/tcl.h:	next patch release.
sl@0
  2600
	* tools/tcl.wse.in:
sl@0
  2601
	* unix/configure.in:
sl@0
  2602
	* unix/tcl.spec:
sl@0
  2603
	* win/README.binary:
sl@0
  2604
	* win/configure.in:
sl@0
  2605
sl@0
  2606
	* unix/configure:	autoconf (2.13)
sl@0
  2607
	* win/configure:
sl@0
  2608
sl@0
  2609
2004-10-28  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  2610
sl@0
  2611
	* generic/tclInt.decls:
sl@0
  2612
	* unix/tclUnixTime.c (TclpGmtime, TclpLocaltime):
sl@0
  2613
	* win/tclWinTime.c (TclpGmtime, TclpLocaltime): Changed type
sl@0
  2614
	signatures of TclpGmtime and TclpLocaltime to accept CONST TclpTime_t
sl@0
  2615
	throughout, to avoid any possible confusion in pedantic compilers.
sl@0
  2616
	[Bug 1001319] 
sl@0
  2617
	* generic/tclIntDecls.h:
sl@0
  2618
	* generic/tclIntPlatDecls.h:  Regenerated.
sl@0
  2619
sl@0
  2620
2004-10-27  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2621
sl@0
  2622
	* generic/tclCmdAH.c (Tcl_FormatObjCmd):	Restored missing line
sl@0
  2623
	from yesterday's 868489 backport that caused failed alloc's on LP64
sl@0
  2624
	systems.
sl@0
  2625
sl@0
  2626
	* tests/appendComp.test:	Backport test suite fixes of errors
sl@0
  2627
	* tests/autoMkindex.test:	revealed by -singleproc 1 -debug 1
sl@0
  2628
	* tests/exec.test:		options to make test.
sl@0
  2629
	* tests/execute.test:
sl@0
  2630
	* tests/interp.test:
sl@0
  2631
	* tests/io.test:
sl@0
  2632
	* tests/namespace.test:
sl@0
  2633
	* tests/regexpComp.test:
sl@0
  2634
	* tests/stringComp.test:
sl@0
  2635
	* tests/unixInit.test:
sl@0
  2636
	* tests/winPipe.test:
sl@0
  2637
sl@0
  2638
2004-10-26  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  2639
sl@0
  2640
	* generic/tclCmdAH.c (Tcl_FormatObjCmd): Backport a missing bit of the
sl@0
  2641
						 [Bug 868489] fix.
sl@0
  2642
	* generic/tclObj.c (SetBooleanFromAny): Backport fix for [Bug 1026125]
sl@0
  2643
	* tests/format.test (format-19.1): Additional regression test for
sl@0
  2644
					   [Bug 868489].
sl@0
  2645
sl@0
  2646
2004-10-26  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2647
sl@0
  2648
	* doc/*.n: Backporting of documentation updates.
sl@0
  2649
sl@0
  2650
2004-10-26  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2651
sl@0
  2652
	* tests/subst.test (subst-12.3-5):	More tests for [Bug 1036649]
sl@0
  2653
sl@0
  2654
	* tests/compile.test (compile-12.4):	Backport test for [Bug 1001997]
sl@0
  2655
	* tests/timer.test (timer-10.1):	Backport test for [Bug 1016167]
sl@0
  2656
	* tests/tcltest.test (tcltest-12.3,4):	Backport setup corrections.
sl@0
  2657
	* tests/error.test (error-6.3,4,7,9):	Backport of some tests.
sl@0
  2658
	* tests/basic.test (basic-49.*):
sl@0
  2659
	* tests/namespace.test (namespace-8.7):
sl@0
  2660
	* tests/init.test (init-2.8):	Updated to not rely on http package.
sl@0
  2661
sl@0
  2662
	* generic/tclThreadTest.c (ThreadEventProc):	Corrected subtle bug
sl@0
  2663
	where the returned (char *) from Tcl_GetStringResult(interp) continued
sl@0
  2664
	to be used without copying or refcounting, while activity on the
sl@0
  2665
	interp continued.
sl@0
  2666
sl@0
  2667
2004-10-14  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2668
sl@0
  2669
	* generic/tclUtil.c (TclMatchIsTrivial): Detect degenerate cases of
sl@0
  2670
	glob matching that let us avoid scanning through hash tables.
sl@0
  2671
	* generic/tclCmdIL.c (InfoCommandsCmd, InfoGlobalsCmd, InfoProcsCmd):
sl@0
  2672
	(InfoVarsCmd): Use this to speed up some [info] subcommands.
sl@0
  2673
sl@0
  2674
2004-10-08  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2675
sl@0
  2676
	* win/tclWinFile.c (NativeIsExec): correct result of 'file executable'
sl@0
  2677
	to not be case sensitive. [Bug 954263]
sl@0
  2678
sl@0
  2679
2004-10-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2680
sl@0
  2681
	* generic/tclNamesp.c (Tcl_PopCallFrame): Removed Bug 1038021
sl@0
  2682
	workaround. That bug is now fixed.
sl@0
  2683
sl@0
  2684
2004-09-30  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2685
sl@0
  2686
	* generic/tclNamespace.c (TclTeardownNamespace): Tcl_Obj-ified the
sl@0
  2687
	* tests/namespace.test (namespace-8.5,6):	save/restore of
sl@0
  2688
	::errorInfo and ::errorCode during global namespace teardown. Revised
sl@0
  2689
	the comment to clarify why this is done, and added tests that will
sl@0
  2690
	fail if this is not done.
sl@0
  2691
sl@0
  2692
	* generic/tclResult.c (TclTransferResult):	Added safety checks so
sl@0
  2693
	that unexpected undefined ::errorInfo or ::errorCode will not lead to
sl@0
  2694
	a segfault.
sl@0
  2695
sl@0
  2696
	* generic/tclVar.c (CallVarTraces):	Save/restore the flag values
sl@0
  2697
	* tests/var.test (var-16.1):	that define part of the interpreter
sl@0
  2698
	state during variable traces. [Bug 1038021]
sl@0
  2699
sl@0
  2700
2004-09-30  Miguel Sofer <msofer@users.sf.net>
sl@0
  2701
sl@0
  2702
	* tests/subst.test (12.2): test correction.
sl@0
  2703
sl@0
  2704
2004-09-29  Miguel Sofer <msofer@users.sf.net>
sl@0
  2705
sl@0
  2706
	* generic/tclBasic.c (Tcl_EvalEx):
sl@0
  2707
	* tests/subst.test (12.1-2): fix for buffer overflow in [subst], [Bug
sl@0
  2708
	1036649]
sl@0
  2709
sl@0
  2710
2004-09-23  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  2711
sl@0
  2712
	* unix/dltest/Makefile.in (clean): Fixup make clean rule so that it
sl@0
  2713
	does not delete all files when SHLIB_SUFFIX is set to the empty string
sl@0
  2714
	in a static build. [Bug 1016726]
sl@0
  2715
sl@0
  2716
2004-09-18  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2717
sl@0
  2718
	* generic/tclExecute.c (TEBC-INST_LSHIFT,INST_RSHIFT): Ensure that
sl@0
  2719
	large shifts end up shifting correctly. [Bug 868467]
sl@0
  2720
sl@0
  2721
2004-09-15  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  2722
sl@0
  2723
	* tests/load.test (load-2.3): adopted fix for failure on darwin from
sl@0
  2724
	HEAD.
sl@0
  2725
sl@0
  2726
2004-09-14  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2727
sl@0
  2728
	* generic/tclObj.c (Tcl_GetIntFromObj):	Corrected flaw in returning
sl@0
  2729
	the int value of a wideInteger. [Bug 1027690]
sl@0
  2730
sl@0
  2731
2004-09-10  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2732
sl@0
  2733
	* generic/tclObj.c (SetIntOrWideFromAny): Rewritten integral value
sl@0
  2734
	parsing code so that values do not flip so easily between numeric
sl@0
  2735
	representations. Thanks to KBK for this! [Bug 868489]
sl@0
  2736
sl@0
  2737
	* generic/tclIO.c (Tcl_Seek): Make sure wide seeks do not fail to set
sl@0
  2738
	::errorCode on error. [Bug 1025359]
sl@0
  2739
sl@0
  2740
2004-09-10  Andreas Kupries  <andreask@activestate.com>
sl@0
  2741
sl@0
  2742
	* generic/tcl.h: Micro formatting fixes.
sl@0
  2743
	* generic/tclIOGT.c: Channel version fixed, must be 3, to have
sl@0
  2744
	wideseekProc. Thanks to David Graveraux <davygrvy@pobox.com>.
sl@0
  2745
sl@0
  2746
2004-09-11  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2747
sl@0
  2748
	* generic/tclNamespace.c (TclGetNamespaceForQualName):	Resolved
sl@0
  2749
	longstanding inconsistency in the treatment of the TCL_NAMESPACE_ONLY
sl@0
  2750
	flag revealed by testing the 2004-09-09 commits against Itcl.
sl@0
  2751
	TCL_NAMESPACE_ONLY now acts as specified in the pre-function
sl@0
  2752
	comment, forcing resolution in the passed in context namespace. It has
sl@0
  2753
	been incorrectly forcing resolution in the interp's current namespace.
sl@0
  2754
sl@0
  2755
2004-09-10  Miguel Sofer <msofer@users.sf.net>
sl@0
  2756
sl@0
  2757
	* generic/tclExecute.c (INST_CONCAT1): added a peephole optimisation
sl@0
  2758
	for concatting an empty string. This enables replacing the idiom 'K $x
sl@0
  2759
	[set x {}]' by '$x[set x {}]' for fastest execution.
sl@0
  2760
sl@0
  2761
2004-09-09  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2762
sl@0
  2763
	* generic/tclNamesp.c (Tcl_ForgetImport): Corrected faulty logic that
sl@0
  2764
	* tests/namespace.test:	relied exclusively on string matching and
sl@0
  2765
	failed in the presence of [rename]s. [Bug 560297]
sl@0
  2766
	Also corrected faulty prevention of [namespace import] cycles. [Bug
sl@0
  2767
	1017299]
sl@0
  2768
sl@0
  2769
2004-09-08  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  2770
sl@0
  2771
	* compat/strftime.c (_conv): Corrected a problem where hour 0 would
sl@0
  2772
	format as a blank format group with %k.
sl@0
  2773
	* tests/clock.test (clock-41.1): Added regression test case for %k at
sl@0
  2774
	the zero hour.
sl@0
  2775
sl@0
  2776
2004-09-07  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  2777
sl@0
  2778
	* generic/tclTimer.c: Removed a premature optimisation that attempted
sl@0
  2779
	to store the assoc data in the client data; the optimisation caused a
sl@0
  2780
	bug that [after] would overwrite its imports. [Bug 1016167]
sl@0
  2781
sl@0
  2782
2004-09-02  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2783
sl@0
  2784
	* doc/lsearch.n: Clarified meaning of -dictionary. [Bug 759545]
sl@0
  2785
sl@0
  2786
2004-09-01  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2787
sl@0
  2788
	* win/tclWinReg.c (BroadcastValue): WIN64 cast corrections
sl@0
  2789
sl@0
  2790
	* win/tclWinDde.c (DdeClientWindowProc):
sl@0
  2791
	(DdeServicesOnAck, DdeEnumWindowsCallback): WIN64 corrections
sl@0
  2792
sl@0
  2793
	* win/tclWin32Dll.c (TclWinCPUID): need _asm for WIN64 (Itanium),
sl@0
  2794
	until we have it, just return unknown. [Bug 1020445]
sl@0
  2795
sl@0
  2796
2004-08-30  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2797
sl@0
  2798
	* generic/tclCmdMZ.c (Tcl_StringObjCmd): Stop [string map] from
sl@0
  2799
	crashing when its map and input string are the same object.
sl@0
  2800
sl@0
  2801
2004-08-27  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  2802
sl@0
  2803
	* tests/env.test: macosx fixes.
sl@0
  2804
sl@0
  2805
2004-08-19  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  2806
sl@0
  2807
	* generic/tclScan.c (Tcl_ScanObjCmd, ValidateFormat): Ensure that the
sl@0
  2808
	%ld conversion works correctly on 64-bit platforms. [Bug 1011860]
sl@0
  2809
sl@0
  2810
2004-08-16  Miguel Sofer <msofer@users.sf.net>
sl@0
  2811
sl@0
  2812
	* doc/SetVar.3:
sl@0
  2813
	* generic/tclTest.c (TestseterrorcodeCmd):
sl@0
  2814
	* generic/tclVar.c (TclPtrSetVar):
sl@0
  2815
	* tests/result.test (result-4.*, result-5.*): [Bug 1008314]
sl@0
  2816
	detected and fixed by dgp.
sl@0
  2817
sl@0
  2818
2004-08-13  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2819
sl@0
  2820
	* library/msgcat/msgcat.tcl:	Added checks to prevent [mclocale]
sl@0
  2821
	* tests/msgcat.test:	from registering filesystem paths to possibly
sl@0
  2822
	malicious code to be evaluated by a later [mcload].
sl@0
  2823
	* library/msgcat/pkgIndex.tcl:	Bump to msgcat 1.3.3
sl@0
  2824
sl@0
  2825
2004-08-10  Zoran Vasiljevic <vasiljevic@users.sf.net>
sl@0
  2826
sl@0
  2827
	* unix/tclUnixThrd.c (TclpThreadCreate): changed handling of the
sl@0
  2828
	returned thread ID since broken on 64-bit systems (Cray). Thanks to
sl@0
  2829
	Rob Ratcliff for reporting the bug.
sl@0
  2830
sl@0
  2831
2004-07-30  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2832
sl@0
  2833
	* generic/tclEvent.c (Tcl_Finalize):	Re-organized Tcl_Finalize so
sl@0
  2834
	that Tcl_ExitProc's that call Tcl_Finalize recursively do not cause
sl@0
  2835
	deadlock. [Patch 999084, fixes Tk Bug 714956]
sl@0
  2836
sl@0
  2837
2004-07-30  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  2838
sl@0
  2839
	* unix/configure:
sl@0
  2840
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS
sl@0
  2841
	to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var.
sl@0
  2842
	* unix/Makefile.in: added MAC_OSX_OBJS variable.
sl@0
  2843
sl@0
  2844
2004-07-28  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2845
sl@0
  2846
	* generic/tclMain.c (Tcl_Main, StdinProc):  Append newline only to
sl@0
  2847
	* tests/basic.test (basic-46.1):	    incomplete scripts as part
sl@0
  2848
	of multi-line script construction. Do not add an extra trailing
sl@0
  2849
	newline to the complete script. [Bug 833150]
sl@0
  2850
sl@0
  2851
2004-07-26  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2852
sl@0
  2853
	*** 8.4.7 TAGGED FOR RELEASE ***
sl@0
  2854
sl@0
  2855
	* tests/io.test (io-61.1): create file in binary mode for x-plat.
sl@0
  2856
sl@0
  2857
2004-07-25  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
  2858
sl@0
  2859
	* generic/tclThreadAlloc.c: Moved the tclInt.h include to provide
sl@0
  2860
	Tcl_Panic which is now required for non-threaded build.
sl@0
  2861
sl@0
  2862
2004-07-22  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2863
sl@0
  2864
	* tests/eofchar.data (removed):	Test io-61.1 now generates its own
sl@0
  2865
	* tests/io.test:	file of test data as needed.
sl@0
  2866
sl@0
  2867
2004-07-21  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2868
	* win/tclWinDde.c:		Bump to dde 1.2.3 to cover changes
sl@0
  2869
	* library/dde/pkgIndex.tcl:	committed on 2004-06-14.
sl@0
  2870
sl@0
  2871
	* changes:	Updated for Tcl 8.4.7 release.
sl@0
  2872
sl@0
  2873
2004-07-20  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2874
sl@0
  2875
	* generic/tclEvent.c:	    Correct threaded obj allocator to
sl@0
  2876
	* generic/tclInt.h:	    fully cleanup on exit and allow for
sl@0
  2877
	* generic/tclThreadAlloc.c: reinitialization. [Bug 736426]
sl@0
  2878
	* unix/tclUnixThrd.c:	    (mistachkin, kenny)
sl@0
  2879
	* win/tclWinThrd.c:
sl@0
  2880
sl@0
  2881
2004-07-20  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  2882
sl@0
  2883
	* unix/tcl.m4: fixed Darwin autoconf breakage caused by recent CFLAGS
sl@0
  2884
	reordering.
sl@0
  2885
	* unix/configure: regen
sl@0
  2886
sl@0
  2887
	* unix/tclConfig.sh.in: replaced EXTRA_CFLAGS with CFLAGS.
sl@0
  2888
	* unix/dltest/Makefile.in: replaced EXTRA_CFLAGS with DEFS.
sl@0
  2889
sl@0
  2890
	* macosx/tclMacOSXBundle.c: dynamically acquire address for
sl@0
  2891
	CFBundleOpenBundleResourceMap symbol, since it is only present in
sl@0
  2892
	full CoreFoundation on Mac OS X and not in CFLite on pure Darwin.
sl@0
  2893
sl@0
  2894
2004-07-19  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2895
sl@0
  2896
	* unix/Makefile.in, unix/tcl.m4:     move (C|LD)FLAGS after their
sl@0
  2897
	* unix/configure.in, unix/configure: _DEFAULT to allow for env setting
sl@0
  2898
	to override m4 switches.
sl@0
  2899
	Consolidate header checks to limit redundancy in configure.
sl@0
  2900
	(CFLAGS_WARNING): Remove -Wconversion, add -fno-strict-aliasing for
sl@0
  2901
	gcc builds (need to suppress 3.x type puning warnings).
sl@0
  2902
	(SC_ENABLE_THREADS): Set m4 to force threaded build when built against
sl@0
  2903
	a threaded Tcl core.
sl@0
  2904
	Reorder configure.in for better 64-bit build configuration, replacing
sl@0
  2905
	EXTRA_CFLAGS with CFLAGS. [Bug 874058]
sl@0
  2906
sl@0
  2907
2004-07-19  Zoran Vasiljevic <vasiljevic@users.sf.net>
sl@0
  2908
sl@0
  2909
	* win/tclwinThrd.c: redefined MASTER_LOCK to call TclpMasterLock.
sl@0
  2910
	Fixes [Bug 987967]
sl@0
  2911
sl@0
  2912
2004-07-16  Andreas Kupries  <andreask@activestate.com>
sl@0
  2913
sl@0
  2914
	* generic/tclIOCmd.c (Tcl_FcopyObjCmd): Corrected a typo in the
sl@0
  2915
	generation of error messages and simplified by reusing data in a
sl@0
  2916
	variable instead of retrieving the string again. Fixes [Bug 835289]
sl@0
  2917
sl@0
  2918
	* doc/OpenFileChnl.3: Added description of the behaviour of
sl@0
  2919
	Tcl_ReadChars when its 'charsToRead' argument is set to -1. Fixes [Bug
sl@0
  2920
	934511]
sl@0
  2921
sl@0
  2922
	* doc/CrtCommand.3: Added note that the arguments given to the command
sl@0
  2923
	proc of a Tcl_CreateCommand are in utf8 since Tcl 8.1. Closing [Patch
sl@0
  2924
	414778]
sl@0
  2925
sl@0
  2926
	* doc/ChnlStack.3: Removed the declaration that the interp argument to
sl@0
  2927
	Tcl_(un)StackChannel can be NULL. This fixes [Bug 881220], reported by
sl@0
  2928
	Marco Maggi <marcomaggi@users.sourceforge.net>.
sl@0
  2929
sl@0
  2930
	* tests/socket.test: Accepted two new testcases by Stuart Casoff
sl@0
  2931
	<stwo@users.sourceforge.net> checking that -server and -async don't go
sl@0
  2932
	together [Bug 796534]
sl@0
  2933
sl@0
  2934
	* unix/tclUnixNotfy.c (NotifierThreadProc): Accepted Joe Mistachkin's
sl@0
  2935
	patch for [Bug 990500], properly closing the notifier thread when its
sl@0
  2936
	exits.
sl@0
  2937
sl@0
  2938
2004-07-15  Andreas Kupries  <andreask@activestate.com>
sl@0
  2939
sl@0
  2940
	* unix/tclUnixThrd.c (TclpFinalizeMutex): Accepted Joe Mistachkin's
sl@0
  2941
	patch for [Bug 990453], closing leakage of mutexes. They were not
sl@0
  2942
	destroyed properly upon finalization.
sl@0
  2943
sl@0
  2944
2004-07-15  Zoran Vasiljevic <vasiljevic@users.sf.net>
sl@0
  2945
sl@0
  2946
	* generic/tclEvent.c (NewThreadProc): Backout of changes to fix [Bug
sl@0
  2947
	770053]. See SF bugreport for more info.
sl@0
  2948
sl@0
  2949
	* generic/tclNotify.c (TclFinalizeNotifier): Added conditional
sl@0
  2950
	notifier finalization based on the fact that an TclInitNotifier has
sl@0
  2951
	been called for the current thread. This fixes [Bug 770053] again.
sl@0
  2952
	Hopefully this time w/o unwanted side-effects.
sl@0
  2953
sl@0
  2954
2004-07-14  Andreas Kupries  <andreask@activestate.com>
sl@0
  2955
sl@0
  2956
	* generic/tclIO.h (CHANNEL_INCLOSE):	   New flag. Set in Tcl_Close
sl@0
  2957
	* generic/tclIO.c (Tcl_UnregisterChannel): while the close callbacks
sl@0
  2958
	* generic/tclIO.c (Tcl_Close):		   are run. Checked in
sl@0
  2959
	Tcl_Close and Tcl_Unregister to prevent recursive call of [close] in
sl@0
  2960
	the close-callbacks. This is a possible error made by implementors of
sl@0
  2961
	virtual filesystems based on 'tclvfs', thinking that they have to
sl@0
  2962
	close the channel in the close handler for the filesystem.
sl@0
  2963
sl@0
  2964
2004-07-14  Andreas Kupries  <andreask@activestate.com>
sl@0
  2965
sl@0
  2966
	* generic/tclIO.c:
sl@0
  2967
	* generic/tclIO.h:
sl@0
  2968
	Not reverting, but #ifdef'ing the changes from May 19, 2004 out of the
sl@0
  2969
	core. This removes the ***POTENTIAL INCOMPATIBILITY*** for channel
sl@0
  2970
	drivers it introduced. This has become possible due to Expect gaining
sl@0
  2971
	a BlockModeProc and now handling blockingg and non-blocking modes
sl@0
  2972
	correctly. Thus [Bug 943274] is still fixed if a recent enough version
sl@0
  2973
	of Expect is used.
sl@0
  2974
sl@0
  2975
	* doc/CrtChannel.3: Added warning about usage of a channel without a
sl@0
  2976
	BlockModeProc.
sl@0
  2977
sl@0
  2978
2004-07-15  Andreas Kupries  <andreask@pliers.activestate.com>
sl@0
  2979
sl@0
  2980
	* generic/tclIOCmd.c (Tcl_PutsObjCmd): Added length check to the old
sl@0
  2981
	depreceated newline syntax, to ensure that only "nonewline" is
sl@0
  2982
	accepted. [Bug 985869] (mistachkin)
sl@0
  2983
sl@0
  2984
2004-07-13  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2985
sl@0
  2986
	* README, generic/tcl.h, tools/tcl.wse.in:	      bumped to
sl@0
  2987
	* unix/configure, unix/configure.in, unix/tcl.spec:   patchlevel
sl@0
  2988
	* win/README.binary, win/configure, win/configure.in: 8.4.7
sl@0
  2989
sl@0
  2990
2004-07-13  Zoran Vasiljevic <vasiljevic@users.sf.net>
sl@0
  2991
sl@0
  2992
	* generic/tclEvent.c (NewThreadProc): Fixed broken build on Windows
sl@0
  2993
	caused by missing TCL_THREAD_CREATE_RETURN. This is backported from
sl@0
  2994
	HEAD. Thnx to Kevin Kenny for spotting this.
sl@0
  2995
sl@0
  2996
2004-07-03  Miguel Sofer <msofer@users.sf.net>
sl@0
  2997
sl@0
  2998
	* generic/tclExecute.c (ExprRoundFunc):
sl@0
  2999
	* tests/expr-old.test (39.1): added support for wide integers to
sl@0
  3000
	round(); [Bug 908375], reported by Hemang Lavana.
sl@0
  3001
sl@0
  3002
2004-07-02  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3003
sl@0
  3004
	* generic/regcomp.c (stid): correct minor pointer size error
sl@0
  3005
sl@0
  3006
	* generic/tclPipe.c (TclCreatePipeline): Add 2>@1 as a special
sl@0
  3007
	* tests/exec.test: case redir of stderr to the result output.
sl@0
  3008
sl@0
  3009
2004-07-02  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  3010
sl@0
  3011
	* tests/fileSystem.test: new tests backported
sl@0
  3012
	* win/tclWin32Dll.c: compilation fix for VC++5.2
sl@0
  3013
sl@0
  3014
2004-06-29  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  3015
sl@0
  3016
	* library/safe.tcl: Make sure that the temporary variable is
sl@0
  3017
	local to the namespace and not inadvertently global. [Bug 981733]
sl@0
  3018
sl@0
  3019
2004-06-22  Zoran Vasiljevic <vasiljevic@users.sf.net>
sl@0
  3020
sl@0
  3021
	* generic/tclEvent.c:
sl@0
  3022
	* generic/tclInt.h:
sl@0
  3023
	* unix/tclUnixNotfy.c:
sl@0
  3024
	* unix/tclUnixThrd.c:
sl@0
  3025
	* win/tclWinThrd.c: See bug report for more information about what it
sl@0
  3026
	does. [Bug 770053]
sl@0
  3027
sl@0
  3028
	* tests/unixNotfy.test: rewritten to use tcltest::threadReap to
sl@0
  3029
	gracefully wait for the test thread to exit. Otherwise we got a race
sl@0
  3030
	condition with main thread exiting before the test thread. This
sl@0
  3031
	exposed the long-standing Tcl lib issue with resource
sl@0
  3032
	garbage-collection on application exit.
sl@0
  3033
sl@0
  3034
2004-06-21  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  3035
sl@0
  3036
	* win/tclWin32Dll.c (DllMain, _except_dllmain_detach_handler)
sl@0
  3037
	(TclpCheckStackSpace, _except_checkstackspace_handler, TclWinCPUID)
sl@0
  3038
	(_except_TclWinCPUID_detach_handler):
sl@0
  3039
	* win/tclWinChan.c (Tcl_MakeFileChannel)
sl@0
  3040
	(_except_makefilechannel_handler):
sl@0
  3041
	* win/tclWinFCmd.c (DoRenameFile, _except_dorenamefile_handler)
sl@0
  3042
	(DoCopyFile, _except_docopyfile_handler):
sl@0
  3043
	Rework pushing of exception handler function pointer so that compiling
sl@0
  3044
	with gcc -O3 works. Remove empty function call to avoid compiler
sl@0
  3045
	warning. Mark the DllMain function as noinline to avoid compiler error
sl@0
  3046
	from duplicated asm labels in generated code.
sl@0
  3047
sl@0
  3048
2004-06-14  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
  3049
sl@0
  3050
	* tests/winDde.test: Fixed -async test
sl@0
  3051
	* win/tclWinDde.c: Backported the fix from 8.5 to avoid hanging in the
sl@0
  3052
	presence of applications that do not process Window messages.
sl@0
  3053
sl@0
  3054
2004-06-10  Andreas Kupries  <andreask@activestate.com>
sl@0
  3055
sl@0
  3056
	* generic/tclDecls.h:	     Regenerated on a unix box. The Win/DOS
sl@0
  3057
	* generic/tclIntDecls.h:     EOLs from the last regen screwed up
sl@0
  3058
	* generic/tclIntPlatDecls.h: compilation with an older gcc.
sl@0
  3059
	* generic/tclPlatDecls.h:
sl@0
  3060
	* generic/tclStubInit.c:
sl@0
  3061
sl@0
  3062
2004-06-10  Zoran Vasiljevic <vasiljevic@users.sf.net>
sl@0
  3063
sl@0
  3064
	* generic/tclIOUtil.c: partially corrected [Bug 932314]. Also,
sl@0
  3065
	corrected return values of Tcl_FSChdir() to reflect those of the
sl@0
  3066
	underlying platform-specific call. Originally, return codes were mixed
sl@0
  3067
	with those of Tcl.
sl@0
  3068
sl@0
  3069
2004-06-08  Miguel Sofer <msofer@users.sf.net>
sl@0
  3070
sl@0
  3071
	* generic/tclCompile.c: handle warning [Bug 969066]
sl@0
  3072
sl@0
  3073
2004-06-05  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  3074
sl@0
  3075
	* generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw
sl@0
  3076
	build works again.
sl@0
  3077
	* generic/tclDecls.h:			Changes to the tests for
sl@0
  3078
	* generic/tclInt.decls:			clock frequency in Tcl_WinTime
sl@0
  3079
	* generic/tclIntDecls.h:		so that any clock frequency is
sl@0
  3080
	* generic/tclIntPlatDecls.h:		accepted provided that all
sl@0
  3081
	* generic/tclPlatDecls.h:		CPU's in the system share a
sl@0
  3082
	* generic/tclStubInit.c:		common chip, and hence,
sl@0
  3083
	* tests/platform.test (platform-1.3):	presumably, a common clock.
sl@0
  3084
	* win/tclWin32Dll.c (TclWinCPUID):	This change necessitated a
sl@0
  3085
	* win/tclWinTest.c (TestwincpuidCmd)	small burst of assembly code
sl@0
  3086
	* win/tclWinTime.c (Tcl_GetTime):	to read CPU ID information,
sl@0
  3087
	which was added as TclWinCPUID in the internal Stubs. To test this
sl@0
  3088
	code in the common case of a single-processor machine, a
sl@0
  3089
	'testwincpuid' command was added to tclWinTest.c, and a test case in
sl@0
  3090
	platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for
sl@0
  3091
	reporting this bug. [Bug 976722]
sl@0
  3092
sl@0
  3093
2004-05-27  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  3094
sl@0
  3095
	* tests/clock.test: Added a single test for the presence of %G in
sl@0
  3096
	[clock format], and conditioned out the clock-10.x series if they're
sl@0
  3097
	all going to fail because of a broken strftime() call. [Bug 961714]
sl@0
  3098
sl@0
  3099
2004-05-27  Reinhard Max  <max@suse.de>
sl@0
  3100
sl@0
  3101
	* generic/tclEncoding.c:
sl@0
  3102
	* tests/encoding.test: added support and tests for translating
sl@0
  3103
	embedded null characters between real nullbytes and the internal
sl@0
  3104
	representation on input/output. [Bug 949905]
sl@0
  3105
sl@0
  3106
2004-05-26  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3107
sl@0
  3108
	* library/tcltest/tcltest.tcl:	Correction to debug prints and testing
sl@0
  3109
	* library/tcltest/pkgIndex.tcl:	if TCLTEST_OPTIONS value. Corrected
sl@0
  3110
	* tests/tcltest.test:		double increment of numTestFiles in
sl@0
  3111
	-singleproc 1 configurations. Updated tcltest-19.1 to tcltest 2.1
sl@0
  3112
	behavior. Corrected tcltest-25.3 to not falsely report a failure in
sl@0
  3113
	tcltest.test. Bumped to tcltest 2.2.6. [Bugs 960560, 960926]
sl@0
  3114
sl@0
  3115
2004-05-25  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3116
sl@0
  3117
	* doc/http.n (http::config): add -urlencoding option (default utf-8)
sl@0
  3118
	* library/http/http.tcl:     that specifies encoding conversion of
sl@0
  3119
	* library/http/pkgIndex.tcl: args for http::formatQuery.  Previously
sl@0
  3120
	* tests/http.test:	     undefined, RFC 2718 says it should be
sl@0
  3121
	utf-8. 'http::config -urlencoding {}' returns previous behavior,
sl@0
  3122
	which will throw errors processing non-latin-1 chars. Bumped http
sl@0
  3123
	package to 2.5.0.
sl@0
  3124
sl@0
  3125
2004-05-25  Kevin Kenny  <kennykb@acm.org>
sl@0
  3126
sl@0
  3127
	* tests/winFCmd.test: Correct test for the presence of a CD-ROM so
sl@0
  3128
	that it doesn't misdetect some other sort of filesystem with a
sl@0
  3129
	write-protected root as being a CD-ROM drive. [Bug 918267]
sl@0
  3130
sl@0
  3131
2004-05-24  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3132
sl@0
  3133
	* generic/tclExecute.c (VerifyExprObjType): use GET_WIDE_OR_INT to
sl@0
  3134
	properly have tclIntType used for smaller values. This corrects TclX
sl@0
  3135
	bug 896727 and any other 3rd party extension that created math
sl@0
  3136
	functions but was not yet WIDE_INT aware in them.
sl@0
  3137
sl@0
  3138
2004-05-24  Miguel Sofer  <msofer@users.sf.net>
sl@0
  3139
sl@0
  3140
	* doc/set.n: accurate description of name resolution process,
sl@0
  3141
	referring to namespace.n for details [Bug 959180]
sl@0
  3142
sl@0
  3143
2004-05-22  Miguel Sofer  <msofer@users.sf.net>
sl@0
  3144
sl@0
  3145
	* generic/tclVar.c (TclObjUnsetVar2): backported fix [Bug 735335] and
sl@0
  3146
	new (in tcl8.4) exteriorisations of [Bug 736729] due to the use of
sl@0
  3147
	tclNsVarNameType obj types. The consequences of [Bug 736729] should be
sl@0
  3148
	the same as in tcl8.3 and previous versions. The use of
sl@0
  3149
	tclNsVarNameType objs is still disabled, pending a decision by the
sl@0
  3150
	release manager.
sl@0
  3151
sl@0
  3152
2004-05-19  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  3153
sl@0
  3154
	* win/tclWinFile.c (TclpMatchInDirectory): fix for an issue where
sl@0
  3155
	there was a sneak path from Tcl_DStringFree to SetErrorCode(0). The
sl@0
  3156
	result was that the error code could be reset between a call to
sl@0
  3157
	FindFirstFile and the check of its status return, leading to a bizarre
sl@0
  3158
	error return of {POSIX unknown {No error}}. (Found in unplanned test -
sl@0
  3159
	no incident logged at SourceForge.)
sl@0
  3160
sl@0
  3161
2004-05-19  Andreas Kupries  <andreask@activestate.com>
sl@0
  3162
sl@0
  3163
	* generic/tclIO.c: Fixed [SF Tcl Bug 943274]. This is the same problem
sl@0
  3164
	* generic/tclIO.h: as [SF Tcl Bug 462317], see ChangeLog entry
sl@0
  3165
	2001-09-26. The fix done at that time is incomplete. It is possible to
sl@0
  3166
	get around it if the actual read operation is defered and not executed
sl@0
  3167
	in the event handler itself. Instead of tracking if we are in an read
sl@0
  3168
	caused by a synthesized fileevent we now track if the OS has delivered
sl@0
  3169
	a true event = actual data and bypass the driver if a read finds that
sl@0
  3170
	there is no actual data waiting. The flag is cleared by a short or
sl@0
  3171
	full read. [[this bug amended 2004-07-14]]
sl@0
  3172
sl@0
  3173
2004-05-18  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  3174
sl@0
  3175
	* compat/strftime.c (_fmt, ISO8601Week):
sl@0
  3176
	* doc/clock.n:
sl@0
  3177
	* tests/clock.test: Major rework to the handling of ISO8601 week
sl@0
  3178
	numbers. Now passes all the %G and %V test cases on Windows, Linux and
sl@0
  3179
	Solaris [Bugs 500285, 500389, and 852944]
sl@0
  3180
sl@0
  3181
2004-05-17  Kevin B. Kenny  <kennykb.@acm.org>
sl@0
  3182
sl@0
  3183
	* generic/tclInt.decls:	     Restored TclpTime_t kludge to all places
sl@0
  3184
	* generic/tclIntPlatDecls.h: where it appeared before the changes of
sl@0
  3185
	* unix/tclUnixPort.h	     14 May, because use of native time_t in
sl@0
  3186
	* unix/tclUnixTime.h	     its place requires the 8.5 header
sl@0
  3187
	* win/tclWinTime.h:	     reforms. [Bug 955146]
sl@0
  3188
sl@0
  3189
2004-05-17  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  3190
sl@0
  3191
	* doc/OpenFileChnl.3: Documented type of 'offset' argument to Tcl_Seek
sl@0
  3192
	was wrong. [Bug 953374]
sl@0
  3193
sl@0
  3194
2004-05-14  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  3195
sl@0
  3196
	* generic/tclInt.decls:	     Promoted TclpLocaltime and TclpGmtime
sl@0
  3197
	* generic/tclIntDecls.h:     from Unix-specific stubs to the generic
sl@0
  3198
	* generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs'
sl@0
  3199
	* generic/tclStubInit.c:
sl@0
  3200
	* unix/tclUnixPort.h:
sl@0
  3201
sl@0
  3202
	* generic/tclClock.c: Changed a buggy 'GMT' timezone specification to
sl@0
  3203
			      the correct 'GMT0'. [Bug 922848]
sl@0
  3204
sl@0
  3205
	* unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to
sl@0
  3206
			      unix/tclUnixTime.c where they belong.
sl@0
  3207
sl@0
  3208
	* unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone,
sl@0
  3209
	(ThreadSafeGMTime[removed], ThreadSafeLocalTime[removed],
sl@0
  3210
	(SetTZIfNecessary, CleanupMemory): Restructured to make sure that the
sl@0
  3211
	same mutex protects all calls to localtime, gmtime, and tzset. Added a
sl@0
  3212
	check in front of those calls to make sure that the TZ env var hasn't
sl@0
  3213
	changed since the last call to tzset, and repeat tzset if necessary.
sl@0
  3214
	[Bug 940278] Removed a buggy test of the Daylight Saving Time
sl@0
  3215
	information in 'gettimeofday' in favor of applying 'localtime' to a
sl@0
  3216
	known value. [Bug 922848]
sl@0
  3217
sl@0
  3218
	* tests/clock.test (clock-3.14): Added test to make sure that changes
sl@0
  3219
	to $env(TZ) take effect immediately.
sl@0
  3220
sl@0
  3221
	* win/tclWinTime.c (TclpLocaltime, TclpGmtime): Added porting layer
sl@0
  3222
	for 'localtime' and 'gmtime' calls.
sl@0
  3223
sl@0
  3224
2004-05-10  David Gravereaux <davygrvy@pobox.com>
sl@0
  3225
sl@0
  3226
	* win/tclWinPipe.c (BuildCommandLine): Append a space when the path
sl@0
  3227
	got primed.
sl@0
  3228
	(TclpCreateProcess): When under NT, with no console, and executing a
sl@0
  3229
	DOS application, the path priming does not need an ending space as
sl@0
  3230
	BuildCommandLine() will append one for us.
sl@0
  3231
sl@0
  3232
2004-05-07  Miguel Sofer <msofer@users.sf.net>
sl@0
  3233
sl@0
  3234
	* doc/unset.n: added upvar.n to the "see also" list
sl@0
  3235
sl@0
  3236
2004-05-05  David Gravereaux <davygrvy@pobox.com>
sl@0
  3237
sl@0
  3238
	* generic/tclEvent.c: TclSetLibraryPath's use of caching the stringrep
sl@0
  3239
	of the pathPtr object to TclGetLibraryPath called from another thread
sl@0
  3240
	was ineffective if the original's stringrep had been invalidated as
sl@0
  3241
	what happens when it gets muted to a list.
sl@0
  3242
sl@0
  3243
	* generic/tclEncoding.c: Added FreeEncoding(systemEncoding) in
sl@0
  3244
	TclFinalizeEncodingSubsystem because its ref count was incremented in
sl@0
  3245
	TclInitEncodingSubsystem.
sl@0
  3246
sl@0
  3247
	* win/tclWin32Dll.c: Structured Exception Handling added around
sl@0
  3248
	Tcl_Finalize called from DllMain's DLL_PROCESS_DETACH. We can't be
sl@0
  3249
	100% assured that Tcl is being unloaded by the OS in a stable
sl@0
  3250
	condition and we need to protect the exit handlers should the stack be
sl@0
  3251
	in a hosed state. AT&T style assembly for SEH under MinGW included,
sl@0
  3252
	too. [Patch 858493]
sl@0
  3253
sl@0
  3254
	Also added DisableThreadLibraryCalls() for the DLL_PROCESS_ATTACH
sl@0
  3255
	case. We're not interested in knowing about DLL_THREAD_ATTACH, so
sl@0
  3256
	disable the notices.
sl@0
  3257
sl@0
  3258
	* generic/tclInt.h:
sl@0
  3259
	* generic/tclThread.c:
sl@0
  3260
	* generic/tclEvent.c:
sl@0
  3261
	* unix/tclUnixThrd.c:
sl@0
  3262
	* win/tclWinThrd.c:  Provisions made so masterLock, initLock,
sl@0
  3263
	allocLock and joinLock mutexes can be recovered during Tcl_Finalize.
sl@0
  3264
sl@0
  3265
	* win/tclWinSock.c:
sl@0
  3266
	(SocketThreadExitHandler): Don't call TerminateThread when
sl@0
  3267
	WaitForSingleObject returns a timeout. Tcl_Finalize called from
sl@0
  3268
	DllMain will pause all threads. Trust that the thread will get the
sl@0
  3269
	close notice at a later time if it does ever wake up before being
sl@0
  3270
	cleaned up by the system anyway.
sl@0
  3271
	(SocketEventProc): connect errors should fire both the readable and
sl@0
  3272
	writable handlers because this is how it works on UNIX. [Bug 794839]
sl@0
  3273
sl@0
  3274
	* win/coffbase.txt: Added the tls extension to the list of preferred
sl@0
  3275
	load addresses.
sl@0
  3276
sl@0
  3277
2004-05-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3278
sl@0
  3279
	* tests/unixInit.test (unixInit-2.10): Test correction for Mac OSX.
sl@0
  3280
	Be sure to consistently compare normalized path names. Thanks to
sl@0
  3281
	Steven Abner (tauvan). [Bug 948177]
sl@0
  3282
sl@0
  3283
2004-05-05  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  3284
sl@0
  3285
	* doc/CrtObjCmd.3: Remove reference to Tcl_RenameCommand; there is no
sl@0
  3286
	such API. [Bug 848440]
sl@0
  3287
sl@0
  3288
2004-05-04  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3289
sl@0
  3290
	* generic/tclIOUtil.c (Tcl_FSChdir):  Work-around crash condition
sl@0
  3291
	* tests/winFCmd.test (winFCmd-16.12): triggered when $HOME is
sl@0
  3292
	volumerelative (ie 'C:').
sl@0
  3293
sl@0
  3294
	* tests/fileName.test (filename-12.9): use C:/ instead of the first
sl@0
  3295
	item in file volumes - that's usually A:/, which for most will have
sl@0
  3296
	nothing in it.
sl@0
  3297
sl@0
  3298
2004-05-04  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3299
sl@0
  3300
	* tests/tcltest.test: Test corrections for Mac OSX.  Thanks to Steven
sl@0
  3301
	Abner (tauvan). [Bug 947440]
sl@0
  3302
sl@0
  3303
2004-05-03  Andreas Kupries  <andreask@activestate.com>
sl@0
  3304
sl@0
  3305
	Applied [SF Tcl Patch 868853], fixing a mem leak in TtySetOptionProc.
sl@0
  3306
	Report and Patch provided by Stuart Cassoff <stwo@users.sf.net>.
sl@0
  3307
sl@0
  3308
2004-05-03  Kevin Kenny  <kennykb@acm.org>
sl@0
  3309
sl@0
  3310
	* win/tclWin32Dll.c (TclpCheckStackSpace):
sl@0
  3311
	* tests/stack.test (stack-3.1): Fix for undetected stack overflow in
sl@0
  3312
	TclReExec on Windows. [Bug 947070]
sl@0
  3313
sl@0
  3314
2004-05-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3315
sl@0
  3316
	* library/init.tcl:	Corrected unique prefix matching of
sl@0
  3317
	interactive command completion in [unknown]. [Bug 946952]
sl@0
  3318
sl@0
  3319
2004-05-02  Miguel Sofer <msofer@users.sf.net>
sl@0
  3320
sl@0
  3321
	* generic/tclProc.c (TclObjInvokeProc):
sl@0
  3322
	* tests/proc.test (proc-3.6): fix for bad quoting of multi-word proc
sl@0
  3323
	names in error messages [Bug 942757]
sl@0
  3324
sl@0
  3325
2004-04-23  Andreas Kupries  <andreask@activestate.com>
sl@0
  3326
sl@0
  3327
	* generic/tclIO.c (Tcl_SetChannelOption): Fixed [Bug 930851]. When
sl@0
  3328
	changing the eofchar we have to zap the related flags to prevent them
sl@0
  3329
	from prematurely aborting the next read.
sl@0
  3330
sl@0
  3331
2004-04-07  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3332
sl@0
  3333
	* win/configure:
sl@0
  3334
	* win/configure.in: define TCL_LIB_FLAG, TCL_BUILD_LIB_SPEC,
sl@0
  3335
	TCL_LIB_SPEC and TCL_PACKAGE_PATH in tclConfig.sh.
sl@0
  3336
sl@0
  3337
2004-04-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3338
sl@0
  3339
	* tests/unixInit.test (unixInit-3.1):	Default encoding on Darwin
sl@0
  3340
	systems is utf-8. Thanks to Steven Abner (tauvan). [Bug 928808]
sl@0
  3341
sl@0
  3342
2004-04-06  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  3343
sl@0
  3344
	* tests/cmdAH.test (cmdAH-18.2): Added constraint because
sl@0
  3345
	access(...,X_OK) is defined to be permitted to be meaningless when
sl@0
  3346
	running as root, and OSX exhibits this. [Bug 929892]
sl@0
  3347
sl@0
  3348
2004-04-02  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3349
sl@0
  3350
	* tests/tcltest.test: Corrected constraint typos: "nonRoot" ->
sl@0
  3351
	"notRoot". Thanks to Steven Abner (tauvan). [Bug 928353]
sl@0
  3352
sl@0
  3353
2004-03-31  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3354
sl@0
  3355
	* doc/msgcat.n: Clarified message catalog file encodings. [Bug 811457]
sl@0
  3356
	* library/msgcat/msgcat.tcl ([mcset], [ConvertLocale], [Init]):
sl@0
  3357
	Corrected [mcset] to be able to successfully set a translation to
sl@0
  3358
	the empty string. [mcset $loc $src {}] was incorrectly set the $loc
sl@0
  3359
	translation of $src back to $src. Also changed [ConvertLocale] to
sl@0
  3360
	minimally require a non-empty "language" part in the locale value. If
sl@0
  3361
	not, an error raised prompts [Init] to keep looking for a valid locale
sl@0
  3362
	value, or ultimately fall back on the "C" locale. [Bug 811461]
sl@0
  3363
	* library/msgcat/pkgIndex.tcl:	Bump to msgcat 1.3.2.
sl@0
  3364
sl@0
  3365
2004-03-31  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  3366
sl@0
  3367
	* generic/tclObj.c (HashObjKey): Make sure this hashes the whole
sl@0
  3368
	string rep of the object, instead of missing the last character.
sl@0
  3369
sl@0
  3370
2004-03-29  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3371
sl@0
  3372
	* generic/tclInt.h:
sl@0
  3373
	* generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable):
sl@0
  3374
	* mac/tclMacInit.c (TclpInitLibraryPath):   Correct handling of UTF
sl@0
  3375
	* unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually
sl@0
  3376
	* win/tclWinFile.c (TclpFindExecutable):    "clean", allowing the
sl@0
  3377
	* win/tclWinInit.c (TclpInitLibraryPath):   loading of Tcl from paths
sl@0
  3378
	that contain multi-byte chars on Windows [Bug 920667]
sl@0
  3379
sl@0
  3380
2004-03-28  Miguel Sofer <msofer@users.sf.net>
sl@0
  3381
sl@0
  3382
	* generic/tclCompile.c (TclCompileScript): corrected possible segfault
sl@0
  3383
	when a compilation returns TCL_OUTLINE_COMPILE after having grown the
sl@0
  3384
	compile environment. [Bug 925121]
sl@0
  3385
sl@0
  3386
2004-03-21  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3387
sl@0
  3388
	* win/tclWinInt.h: define VER_PLATFORM_WIN32_CE if not already set.
sl@0
  3389
	* win/tclWinInit.c (TclpSetInitialEncodings): recognize WIN32_CE
sl@0
  3390
	as a unicode (WCHAR) platform.
sl@0
  3391
sl@0
  3392
2004-03-15  Miguel Sofer <msofer@users.sf.net>
sl@0
  3393
sl@0
  3394
	* generic/tclCompile.c (TclCompileScript):
sl@0
  3395
	* tests/compile.test (compile-3.5): corrected wrong test and behaviour
sl@0
  3396
	in the earlier fix for [Bug 705406]; Don Porter reported this as [Bug
sl@0
  3397
	735055], and provided the solution. Fixed in HEAD on 2003-05-09, but
sl@0
  3398
	backport to 8-4-branch was wrongly omitted; re-reported as [Bug
sl@0
  3399
	916795] by Roy Terry, diagnosed by dgp.
sl@0
  3400
sl@0
  3401
2004-03-08  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  3402
sl@0
  3403
	* generic/tclFileName.c:  Fix to 'glob -path' near the root
sl@0
  3404
	* tests/fileName.test:	  of the filesystem. [Bug 910525]
sl@0
  3405
sl@0
  3406
2004-03-01  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3407
sl@0
  3408
	*** 8.4.6 TAGGED FOR RELEASE ***
sl@0
  3409
sl@0
  3410
	* unix/tcl.m4 (SC_CONFIG_CFLAGS):	Allow 64-bit enabling on
sl@0
  3411
	IRIX64-6.5* systems. [Bug 218561]
sl@0
  3412
	* unix/configure:	autoconf-2.13
sl@0
  3413
sl@0
  3414
	* generic/tclCmdMZ.c (TclCheckInterpTraces):	The TIP 62
sl@0
  3415
	* generic/tclTest.c (TestcmdtraceCmd):	implementation introduced a
sl@0
  3416
	* tests/basic.test (basic-39.10):	bug by testing the CallFrame
sl@0
  3417
	level instead of the iPtr->numLevels level when deciding what traces
sl@0
  3418
	created by Tcl_Create(Obj)Trace to call. Added test to expose the
sl@0
  3419
	error, and made fix. [Request 462580]
sl@0
  3420
sl@0
  3421
2004-02-26  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  3422
sl@0
  3423
	* macosx/Makefile: fixed copyright year in Tcl.framework Info.plist
sl@0
  3424
sl@0
  3425
2004-02-25  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3426
sl@0
  3427
	* tests/basic.test:	Made several tests more robust to the
sl@0
  3428
	* tests/cmdMZ.test:	list-quoting of path names that might
sl@0
  3429
	* tests/exec.test:	contain Tcl-special chars like { or [.
sl@0
  3430
	* tests/io.test:	Should help us sort out Tcl Bug 554068.
sl@0
  3431
	* tests/pid.test:
sl@0
  3432
	* tests/socket.test:
sl@0
  3433
	* tests/source.test:
sl@0
  3434
	* tests/unixInit.test:
sl@0
  3435
sl@0
  3436
2004-02-25  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  3437
sl@0
  3438
	* unix/tclUnixChan.c (TcpGetOptionProc): Stop memory leak with very
sl@0
  3439
	long hostnames. [Bug 888777]
sl@0
  3440
sl@0
  3441
2004-02-25  David Gravereaux <davygrvy@pobox.com>
sl@0
  3442
sl@0
  3443
	* tests/winPipe.test:
sl@0
  3444
	* win/tclWinPipe.c: backport of BuildCommandLine changes to mirror
sl@0
  3445
	msvcrt's parse_cmdline() rules of quoting.
sl@0
  3446
sl@0
  3447
2004-02-19  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  3448
sl@0
  3449
	* win/tclWinInit.c (AppendEnvironment): Use the tail component of the
sl@0
  3450
	passed in lib path instead of just blindly using lib+4. That worked
sl@0
  3451
	when lib was "lib/..." but fails for other values. Thanks go to
sl@0
  3452
	Patrick Samson for pointing this out.
sl@0
  3453
sl@0
  3454
2004-02-17  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3455
sl@0
  3456
	* doc/tcltest.n:
sl@0
  3457
	* library/tcltest/tcltest.tcl:	Changed -verbose default value to
sl@0
  3458
	{body error} so that detailed information on unexpected errors in
sl@0
  3459
	tests is provided by default, even after the fix for [Bug 725253]
sl@0
  3460
sl@0
  3461
2004-02-17  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3462
sl@0
  3463
	(reverted due to test failures on Solaris, but not Win/Lin :/)
sl@0
  3464
	* generic/tclIOUtil.c: backport of rewrite of generic file
sl@0
  3465
	normalization code to cope with links followed by '..'. [Bug 849514],
sl@0
  3466
	and parts of [859251]
sl@0
  3467
sl@0
  3468
	* tests/unixInit.test: unixInit-7.1
sl@0
  3469
	* unix/tclUnixInit.c (TclpInitPlatform): ensure the std fds exist to
sl@0
  3470
	prevent crash condition [Bug 772288]
sl@0
  3471
sl@0
  3472
2004-02-16  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3473
sl@0
  3474
	* generic/tclCmdMZ.c (TclTraceExecutionObjCmd)
sl@0
  3475
	(TclTraceCommandObjCmd): fix possible mem leak in trace info.
sl@0
  3476
sl@0
  3477
2004-02-12  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3478
sl@0
  3479
	* README:	    update patchlevel to 8.4.6
sl@0
  3480
	* generic/tcl.h:
sl@0
  3481
	* tools/tcl.wse.in:
sl@0
  3482
	* unix/configure, unix/configure.in, unix/tcl.spec:
sl@0
  3483
	* win/README.binary, win/configure, win/configure.in:
sl@0
  3484
sl@0
  3485
	* unix/tcl.m4: update HP-11 build libs setup
sl@0
  3486
sl@0
  3487
2004-02-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3488
sl@0
  3489
	* doc/clock.n:	Removed reference to non-existent [file ctime].
sl@0
  3490
sl@0
  3491
2004-02-04  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3492
sl@0
  3493
	* library/tcltest/tcltest.tcl:	Corrected references to
sl@0
  3494
	non-existent $name variable in [cleanupTests]. [Bug 833637]
sl@0
  3495
sl@0
  3496
2004-02-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3497
sl@0
  3498
	* library/tcltest/tcltest.tcl:	Corrected parsing of single
sl@0
  3499
	command line argument (option with missing value) [Bug 833910]
sl@0
  3500
	* library/tcltest/pkgIndex.tcl: Bump to version 2.2.5.
sl@0
  3501
sl@0
  3502
2004-02-02  David Gravereaux <davygrvy@pobox.com>
sl@0
  3503
sl@0
  3504
	* generic/tclIO.c (Tcl_Ungets): fixes improper filling of the channel
sl@0
  3505
	buffer. [Bug 405995]
sl@0
  3506
sl@0
  3507
2004-01-13  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3508
sl@0
  3509
	* generic/tclFileName.c (Tcl_GlobObjCmd):  Latest changes to
sl@0
  3510
	management of the interp result by Tcl_GetIndexFromObj() exposed
sl@0
  3511
	improper interp result management in the [glob] command procedure.
sl@0
  3512
	Corrected by adopting the Tcl_SetObjResult(Tcl_NewStringObj) pattern.
sl@0
  3513
	This stopped a segfault in test filename-11.36.
sl@0
  3514
sl@0
  3515
2004-01-13  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  3516
sl@0
  3517
	* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct, Tcl_WrongNumArgs):
sl@0
  3518
	Create fresh objects instead of using the one currently in the
sl@0
  3519
	interpreter, which isn't guaranteed to be fresh and unshared. The
sl@0
  3520
	cost for the core will be minimal because of the object cache, and
sl@0
  3521
	this fixes. [Bug 875395]
sl@0
  3522
sl@0
  3523
2004-01-09  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  3524
sl@0
  3525
	* generic/tclIOUtil.c: fix to infinite loop in TclFinalizeFilesystem.
sl@0
  3526
	[Bug 873311]
sl@0
  3527
sl@0
  3528
2003-12-17  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  3529
sl@0
  3530
	* generic/tclBinary.c (DeleteScanNumberCache): fixed crashing bug when
sl@0
  3531
	numeric scan-value cache contains NULL value.
sl@0
  3532
sl@0
  3533
2003-12-17  Zoran Vasiljevic  <zv@archiware.com>
sl@0
  3534
sl@0
  3535
	* generic/tclIOUtil.c: fixed 2 memory (object) leaks. This fixes [Bug
sl@0
  3536
	839519]
sl@0
  3537
sl@0
  3538
2003-12-12  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  3539
sl@0
  3540
	* generic/tclCmdAH.c: fix to normalization of non-existent user name
sl@0
  3541
	('file normalize ~nobody') [Bug 858937]
sl@0
  3542
sl@0
  3543
2003-12-09  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  3544
sl@0
  3545
	* unix/tclUnixPort.h:	#ifdef'd out declarations of errno which
sl@0
  3546
	* tools/man2tcl.c:	are known to cause problems with recent
sl@0
  3547
				glibc. [Bug 852369]
sl@0
  3548
sl@0
  3549
2003-12-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3550
sl@0
  3551
	* generic/tcl.h:	Bumped patch level to 8.4.5.1 to distinguish
sl@0
  3552
	* unix/configure.in:	CVS snapshots from 8.4.5 release.
sl@0
  3553
	* unix/tcl.spec:
sl@0
  3554
	* win/configure.in:
sl@0
  3555
sl@0
  3556
	* unix/configure:	autoconf (2.13)
sl@0
  3557
	* win/configure:
sl@0
  3558
sl@0
  3559
2003-12-02  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
sl@0
  3560
sl@0
  3561
	* generic/tclBinary.c (DeleteScanNumberCache, ScanNumber): Made
sl@0
  3562
	the numeric scan-value cache have proper references to the objects
sl@0
  3563
	within it so strange patterns of writes won't cause references to
sl@0
  3564
	freed objects. Thanks to Paul Obermeier for the report. [Bug 851747]
sl@0
  3565
sl@0
  3566
2003-12-01  Miguel Sofer <msofer@users.sf.net>
sl@0
  3567
sl@0
  3568
	* doc/lset.n: fix typo [Bug 852224]
sl@0
  3569
sl@0
  3570
2003-11-21  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3571
sl@0
  3572
	*** 8.4.5 TAGGED FOR RELEASE ***
sl@0
  3573
sl@0
  3574
	* tests/windFCmd.test (winFCmd-16.10):	Corrected failure to
sl@0
  3575
	initialize variable $dd that caused test suite failure.
sl@0
  3576
sl@0
  3577
2003-11-20  Miguel Sofer <msofer@users.sf.net>
sl@0
  3578
sl@0
  3579
	* generic/tclVar.c: fix flag bit collision between LOOKUP_FOR_UPVAR
sl@0
  3580
	and TCL_PARSE_PART1 (deprecated) [Bug 835020]
sl@0
  3581
sl@0
  3582
2003-11-20  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  3583
sl@0
  3584
	* generic/tclIOUtil.c:
sl@0
  3585
	* tests/winFCmd.test: fix to [Bug 845778] - Infinite recursion on [cd]
sl@0
  3586
	(Windows only bug).
sl@0
  3587
sl@0
  3588
2003-11-18  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3589
sl@0
  3590
	* changes: updated for 8.4.5 release
sl@0
  3591
sl@0
  3592
2003-11-17  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3593
sl@0
  3594
	* generic/regcomp.c:	Backported regexp bug fixes and tests. Thanks
sl@0
  3595
	* generic/tclTest.c:	to Pavel Goran and Vince Darley.
sl@0
  3596
	* tests/reg.test:	[Bugs 230589, 504785, 505048, 703709, 840258]
sl@0
  3597
sl@0
  3598
2003-11-12  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3599
sl@0
  3600
	* tests/cmdMZ.test (cmdMZ-1.4): change to nonPortable as more
sl@0
  3601
	systems are using permissions caching, and this isn't really a Tcl
sl@0
  3602
	controlled issue.
sl@0
  3603
sl@0
  3604
2003-11-11  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3605
sl@0
  3606
	* unix/configure:
sl@0
  3607
	* unix/tcl.m4: improve AIX --enable-64bit handling
sl@0
  3608
sl@0
  3609
2003-11-10  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3610
sl@0
  3611
	* tests/unixInit.test (unixInit-2.10): re-enabled.
sl@0
  3612
	* unix/tclUnixInit.c (TclpInitLibraryPath):	Alternative fix
sl@0
  3613
	* win/tclWinInit.c (TclpInitLibraryPath):	for [Bug 832657]
sl@0
  3614
	that should not run afoul of startup constraints.
sl@0
  3615
sl@0
  3616
	* library/dde/pkgIndex.tcl:	Added safeguards so that registry
sl@0
  3617
	* library/reg/pkgIndex.tcl:	and dde packages are not offered
sl@0
  3618
	* win/tclWinDde.c:	on non-Windows platforms.  Bumped to
sl@0
  3619
	* win/tclWinReg.c:	registry 1.1.3 and dde 1.2.2.
sl@0
  3620
sl@0
  3621
2003-11-06  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3622
sl@0
  3623
	* tests/unixInit.test (unixInit-2.10): mark as knownBug
sl@0
  3624
	* generic/tclEncoding.c (TclFindEncodings): revert patch from
sl@0
  3625
	2003-11-05.  It wasn't valid in the sensitive startup init phase
sl@0
  3626
	and broke Windows from working at all.
sl@0
  3627
sl@0
  3628
2003-11-07  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  3629
sl@0
  3630
	* macosx/Makefile: optimized builds define NDEBUG to turn off
sl@0
  3631
	ThreadAlloc range checking.
sl@0
  3632
sl@0
  3633
2003-11-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3634
sl@0
  3635
	* generic/tclEncoding.c (TclFindEncodings):	Normalize the path
sl@0
  3636
	of the executable before passing to TclpInitLibraryPath() to avoid
sl@0
  3637
	buggy handling of paths containing "..". [Bug 832657]
sl@0
  3638
	* tests/unixInit.test (unixInit-2.10): New test for fixed bug.
sl@0
  3639
sl@0
  3640
2003-11-04  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  3641
sl@0
  3642
	* macosx/Makefile: added 'test' target.
sl@0
  3643
sl@0
  3644
2003-10-31  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  3645
sl@0
  3646
	* generic/tclTest.c: fix test suite memory leak (backport error)
sl@0
  3647
	* unix/tclUnixFile.c: ensure translated path (required for correct
sl@0
  3648
	error messages) is freed in both code paths.
sl@0
  3649
sl@0
  3650
2003-10-23  Andreas Kupries  <andreask@activestate.com>
sl@0
  3651
sl@0
  3652
	* unix/tclUnixChan.c (Tcl_MakeFileChannel): Applied [Patch 813606]
sl@0
  3653
	fixing [Bug 813087]. Detection of sockets was off for Mac OS X which
sl@0
  3654
	implements pipes as local sockets. The new code ensures that only IP
sl@0
  3655
	sockets are detected as such.
sl@0
  3656
sl@0
  3657
2003-10-22  Andreas Kupries  <andreask@activestate.com>
sl@0
  3658
sl@0
  3659
	* win/tclWinSock.c (TcpWatchProc): Watch for FD_CLOSE too when asked
sl@0
  3660
	for writable events by the generic layer.
sl@0
  3661
	(SocketEventProc): Generate a writable event too when a close is
sl@0
  3662
	detected.
sl@0
  3663
sl@0
  3664
	Together the changes fix [Bug 599468].
sl@0
  3665
sl@0
  3666
2003-10-22  Andreas Kupries  <andreask@activestate.com>
sl@0
  3667
sl@0
  3668
	* generic/tclIOUtil.c (FsListMounts, FsAddMountsToGlobResult): New
sl@0
  3669
	functions. See below for context.
sl@0
  3670
	(Tcl_FSMatchInDirectory): Modified to call on the new functions
sl@0
  3671
	(above) to handle the mountpoints in the glob'bed directory correctly.
sl@0
  3672
	Part of the patch by Vincent Darley to solve the [Bug 800106] for the
sl@0
  3673
	8.4.x series.
sl@0
  3674
sl@0
  3675
	* generic/tcl.h (TCL_GLOB_TYPE_MOUNT): New definition. Part of the
sl@0
  3676
	patch by Vincent Darley to solve [Bug 800106] for the 8.4.x series.
sl@0
  3677
sl@0
  3678
2003-10-22  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3679
sl@0
  3680
	* generic/tclCmdAH.c (Tcl_FileObjCmd): Changed FILE_ prefix for option
sl@0
  3681
	enumeration to FCMD_ to prevent collision with symbols defined by
sl@0
  3682
	Cygwin/Mingw32 on NT. [Bug 822528]
sl@0
  3683
sl@0
  3684
2003-10-21   Daniel Steffen  <das@users.sourceforge.net>
sl@0
  3685
sl@0
  3686
	* tools/tcltk-man2html.tcl: fixed incorrect html generated for .IP/.TP
sl@0
  3687
	lists, now use <DL><DT>...<DD>...<P><DT>...<DD>...</DL> instead of
sl@0
  3688
	illegal <DL><P><DT>...<DD>...<P><DT>...<DD>...</DL>. Added skipping of
sl@0
  3689
	directives directly after .TP to avoid them being used as item
sl@0
  3690
	descriptions, e.g. .TP\n.VS in clock.n.
sl@0
  3691
sl@0
  3692
2003-10-21  Andreas Kupries  <andreask@activestate.com>
sl@0
  3693
sl@0
  3694
	* win/tclWinPipe.c (BuildCommandLine): Applied the patch coming with
sl@0
  3695
	[Bug 805605] to the code, fixing the incorrect use of ispace noted by
sl@0
  3696
	Ronald Dauster <ronaldd@users.sourceforge.net>.
sl@0
  3697
sl@0
  3698
2003-10-14  David Gravereaux <davygrvy@pobox.com>
sl@0
  3699
sl@0
  3700
	* win/tclAppInit.c (sigHandler): Punt gracefully if exitToken has
sl@0
  3701
	already been destroyed.
sl@0
  3702
sl@0
  3703
2003-10-13  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  3704
sl@0
  3705
	* generic/tclCmdMZ.c:
sl@0
  3706
	* tests/regexp.test: fix to [Bug 823524] in regsub; added three new
sl@0
  3707
	tests.
sl@0
  3708
sl@0
  3709
2003-10-12  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3710
sl@0
  3711
	* unix/tclUnixTest.c (TestalarmCmd): don't bother checking return
sl@0
  3712
	value of alarm. [Bug 664755] (english)
sl@0
  3713
sl@0
  3714
2003-10-08  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3715
sl@0
  3716
	* generic/tclBasic.c:	Save and restore the iPtr->flag bits that
sl@0
  3717
	control the state of errorCode and errorInfo management when calling
sl@0
  3718
	"leave" execution traces, so that all error information of the traced
sl@0
  3719
	command is still available whether traced or not. Thanks to Yahalom
sl@0
  3720
	Emet. [Bug 760947]
sl@0
  3721
sl@0
  3722
2003-10-08  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3723
sl@0
  3724
	* generic/tclTest.c (TestNumUtfCharsCmd): Command to allow finer
sl@0
  3725
	access to Tcl_NumUtfChars for testing.
sl@0
  3726
	* generic/tclUtf.c (Tcl_NumUtfChars): Corrected string length
sl@0
  3727
	determining when the length parameter is negative; the terminator is a
sl@0
  3728
	zero byte, not (necessarily) a \u0000 character. [Bug 769812]
sl@0
  3729
sl@0
  3730
2003-10-07  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3731
sl@0
  3732
	* tests/exec.test:		Corrected temporary file management
sl@0
  3733
	* tests/fileSystem.test:	issues uncovered by -debug 1 test
sl@0
  3734
	* tests/io.test:		operations.  Also backported some
sl@0
  3735
	* tests/ioCmd.test:		other fixes from the HEAD.
sl@0
  3736
	* tests/pid.test:		[Bugs 675605, 675655, 675659]
sl@0
  3737
	* tests/socket.test:
sl@0
  3738
	* tests/source.test:
sl@0
  3739
sl@0
  3740
	* tests/fCmd.test:	Run tests with the [temporaryDirectory] as
sl@0
  3741
	the current directory, so that tests can depend on ability to write
sl@0
  3742
	files.	[Bug 575837]
sl@0
  3743
sl@0
  3744
	* doc/OpenFileChnl.3:	Updated Tcl_Tell and Tcl_Seek documentation
sl@0
  3745
	to reflect that they now return Tcl_WideInt (TIP 72) [Bug 787537]
sl@0
  3746
sl@0
  3747
	* tests/io.test:	Corrected several tests that failed when paths
sl@0
  3748
	* tests/ioCmd.test:	included regexp-special chars. [Bug 775394]
sl@0
  3749
sl@0
  3750
2003-10-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3751
sl@0
  3752
	* tests/regexp.test:		Matched [makeFile] with [removeFile].
sl@0
  3753
	* tests/regexpComp.test:	[Bug 675652]
sl@0
  3754
sl@0
  3755
	* tests/fCmd.test (fCmd-8.2):	Test only that tilde-substitution
sl@0
  3756
	happens, not for any particular result. [Bug 685991]
sl@0
  3757
sl@0
  3758
	* unix/tcl.m4 (SC_PATH_TCLCONFIG):	Corrected search path so
sl@0
  3759
	that alpha and beta releases of Tcl are not favored. [Bug 608698]
sl@0
  3760
sl@0
  3761
	* tests/reg.test:	Corrected duplicate test names.
sl@0
  3762
	* tests/resource.test:	[Bugs 710370, 710358]
sl@0
  3763
sl@0
  3764
	* tests/cmdMZ.test:	Updated [package require tcltest] lines to
sl@0
  3765
	* tests/fileSystem.test:	indiciate that these test files
sl@0
  3766
	* tests/notify.test:	use features of tcltest 2. [Bug 706114]
sl@0
  3767
	* tests/parseExpr.test:
sl@0
  3768
	* tests/unixNotfy.test:
sl@0
  3769
sl@0
  3770
2003-10-06  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  3771
sl@0
  3772
	* generic/tclFileName.c:
sl@0
  3773
	* generic/tclIOUtil.c: backport of volumerelative file normalization
sl@0
  3774
	and 'file join' inconsistency fixes [Bug 767834, 813273].
sl@0
  3775
sl@0
  3776
2003-10-04  Chengye Mao <chengye.geo@yahoo.com>
sl@0
  3777
sl@0
  3778
	* win/tclWinPipe.c: fixed a bug in BuildCommandLine.
sl@0
  3779
	This bug built a command line with a missing space between
sl@0
  3780
	tclpipe.dll and the following arguments.  It caused error
sl@0
  3781
	in Windows 98 when exec command.com (e.g. dir) [Bug 789040]
sl@0
  3782
sl@0
  3783
2003-10-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3784
sl@0
  3785
	* generic/tclBasic.c:	Fixed error in ref count management of command
sl@0
  3786
	* generic/tclCmdMZ.c:	and execution traces that caused access to
sl@0
  3787
	freed memory in trace-32.1. [Bug 811483]
sl@0
  3788
sl@0
  3789
2003-10-03  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  3790
sl@0
  3791
	* tests/fileName.test:
sl@0
  3792
	* tests/winFCmd.test:
sl@0
  3793
	* doc/FileSystem.3: backported various test and documentation changes
sl@0
  3794
	from HEAD. Backport of actual code fixes to follow.
sl@0
  3795
sl@0
  3796
2003-10-02  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3797
sl@0
  3798
	* README:		Bumped patch level to 8.4.5 to prepare
sl@0
  3799
	* generic/tcl.h:	for next patch release.
sl@0
  3800
	* tools/tcl.wse.in:
sl@0
  3801
	* unix/configure.in:
sl@0
  3802
	* unix/tcl.spec:
sl@0
  3803
	* win/README.binary:
sl@0
  3804
	* win/configure.in:
sl@0
  3805
sl@0
  3806
	* unix/configure:	autoconf (2.13)
sl@0
  3807
	* win/configure:
sl@0
  3808
sl@0
  3809
	* library/http/http.tcl:	Bumped to http 2.4.5
sl@0
  3810
	* library/http/pkgIndex.tcl:
sl@0
  3811
sl@0
  3812
2003-10-01  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  3813
sl@0
  3814
	* macosx/Makefile: fixed redo prebinding bug when DESTDIR="".
sl@0
  3815
	* mac/tclMacResource.c: fixed possible NULL dereference (bdesgraupes).
sl@0
  3816
sl@0
  3817
2003-09-29  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3818
sl@0
  3819
	* generic/tclBasic.c (CallCommandTraces):	Added safety bit
sl@0
  3820
	* tests/trace.test:	masking to prevent any of the bit values
sl@0
  3821
	TCL_TRACE_*_EXEC from leaking into the flags field of any Command
sl@0
  3822
	struct. This does not fix [Bug 811483] but helps to contain some of
sl@0
  3823
	its worst symptoms. Also backported the corrections to test trace-28.4
sl@0
  3824
	from Vince Darley.
sl@0
  3825
sl@0
  3826
2003-09-29  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3827
sl@0
  3828
	* library/http/http.tcl (geturl): Correctly check the type of
sl@0
  3829
	boolean-valued options. [Bug 811170]
sl@0
  3830
sl@0
  3831
	* unix/tcl.m4 (SC_ENABLE_FRAMEWORK): Added note to make it clearer
sl@0
  3832
	that this is an OSX feature, not a general Unix feature. [Bug 619440]
sl@0
  3833
sl@0
  3834
2003-09-28  David Gravereaux <davygrvy@pobox.com>
sl@0
  3835
sl@0
  3836
	* win/tclWinPipe.c: The windows port of expect can call
sl@0
  3837
	TclWinAddProcess before any of the other pipe functions. Added a
sl@0
  3838
	missing PipeInit() call to make sure the initialization happens.
sl@0
  3839
sl@0
  3840
2003-09-25  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  3841
sl@0
  3842
	* macosx/Makefile: ensure SYMROOT exists if OBJROOT is overridden on
sl@0
  3843
	command line. Replaced explict use of /usr/bin by ${BINDIR}.
sl@0
  3844
sl@0
  3845
2003-09-23  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3846
sl@0
  3847
	* generic/tclCmdMZ.c:			Fixed [Bug 807243] where
sl@0
  3848
	* tests/trace.test (trace-31,32.*):	the introspection results
sl@0
  3849
	of both [trace info command] and [trace info execution] were getting
sl@0
  3850
	co-mingled.  Thanks to Mark Saye for the report.
sl@0
  3851
sl@0
  3852
	* library/init.tcl (auto_load, auto_import):  Expanded Eric Melski's
sl@0
  3853
	2000-01-28 fix for [Bug 218871] to all potentially troubled uses of
sl@0
  3854
	[info commands] on input data, where glob-special characters could
sl@0
  3855
	cause problems.
sl@0
  3856
sl@0
  3857
2003-09-19  Miguel Sofer <msofer@users.sf.net>
sl@0
  3858
sl@0
  3859
	* generic/tclExecute.c: adding (DE)CACHE_STACK_INFO() pairs to protect
sl@0
  3860
	all calls that may cause traces on ::errorInfo or ::errorCode to
sl@0
  3861
	corrupt the stack [Bug 804681]
sl@0
  3862
sl@0
  3863
2003-09-10  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3864
sl@0
  3865
	* library/opt/optparse.tcl:	Overlooked dependence of opt 0.4.4
sl@0
  3866
	* library/opt/pkgIndex.tcl:	on Tcl 8.2.  Bumped to opt 0.4.4.1.
sl@0
  3867
sl@0
  3868
2003-09-01  Zoran Vasiljevic <zoran@archiware.com>
sl@0
  3869
sl@0
  3870
	* generic/tclIOUtil.c: backported fix from HEAD [Bug 788780]
sl@0
  3871
sl@0
  3872
2003-08-27  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3873
sl@0
  3874
	* generic/tclUtil.c:	Corrected [Bug 411825] and other bugs in
sl@0
  3875
	TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped
sl@0
  3876
	spaces were handled incorrectly.
sl@0
  3877
	* tests/util.test:	Added new tests util-8.[2-6].
sl@0
  3878
sl@0
  3879
2003-08-06  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3880
sl@0
  3881
	* win/tclWinInit.c: recognize amd64 and ia32_on_win64 cpus and
sl@0
  3882
	Windows CE platform.
sl@0
  3883
sl@0
  3884
2003-08-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3885
sl@0
  3886
	* library/msgcat/msgcat.tcl:	Added escape so that non-Windows
sl@0
  3887
	* library/msgcat/pkgIndex.tcl:	platforms do not try to use the
sl@0
  3888
	registry package.  This can save a costly and pointless package
sl@0
  3889
	search. Bumped to 1.3.1. Thanks to Dave Bodenstab. [Bug 781609]
sl@0
  3890
sl@0
  3891
2003-08-05  Miguel Sofer <msofer@users.sf.net>
sl@0
  3892
sl@0
  3893
	* generic/tclExecute.c (INST_INVOKE, INST_EVAL, INST_PUSH_RESULT):
sl@0
  3894
	added a Tcl_ResetResult(interp) at each point where the interp's
sl@0
  3895
	result is pushed onto the stack, to avoid keeping an extra reference
sl@0
  3896
	that may cause costly Tcl_Obj duplication. Detected by Franco Violi,
sl@0
  3897
	analyzed by Peter Spjuth and Donal Fellows. [Bug 781585]
sl@0
  3898
sl@0
  3899
2003-07-24  Reinhard Max  <max@suse.de>
sl@0
  3900
sl@0
  3901
	* library/package.tcl: Fixed a typo that broke pkg_mkIndex -verbose.
sl@0
  3902
sl@0
  3903
	* tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].
sl@0
  3904
sl@0
  3905
2003-07-23  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  3906
sl@0
  3907
	* unix/Makefile.in: changes to html-tcl & html-tk targets for
sl@0
  3908
	compatibility with non-gnu makes.
sl@0
  3909
sl@0
  3910
	* unix/Makefile.in: added macosx/README to dist target.
sl@0
  3911
sl@0
  3912
2003-07-23  Pat Thoyts  <patthoyts@users.sourceforge.net>
sl@0
  3913
sl@0
  3914
	* win/tclWinReg.c (OpenSubKey): Backported fix for [Bug 775976] which
sl@0
  3915
	causes the registry set command to fail when built with VC7.
sl@0
  3916
	* library/reg/pkgIndex.tcl: Incremented the version to 1.1.2.
sl@0
  3917
sl@0
  3918
2003-07-21  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3919
sl@0
  3920
	*** 8.4.4 TAGGED FOR RELEASE ***
sl@0
  3921
sl@0
  3922
	* changes: updated for 8.4.4 release
sl@0
  3923
sl@0
  3924
2003-07-18  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  3925
sl@0
  3926
	* macosx/Makefile: added option to allow installing manpages in
sl@0
  3927
	addition to default html help.
sl@0
  3928
sl@0
  3929
2003-07-18  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3930
sl@0
  3931
	* doc/Utf.3: Tightened up documentation of Tcl_UtfNext and Tcl_UtfPrev
sl@0
  3932
	to better match the behaviour. [Bug 769895]
sl@0
  3933
sl@0
  3934
2003-07-18  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3935
sl@0
  3936
	* generic/tclIOUtil.c: correct MT-safety issues with filesystem
sl@0
  3937
	records. [Bug 753315] (vasiljevic)
sl@0
  3938
sl@0
  3939
	* library/http/pkgIndex.tcl: merged to v2.4.4 from head
sl@0
  3940
	* library/http/http.tcl: add support for user:pass info in URL.
sl@0
  3941
	* tests/http.test:	 [Bug 759888] (shiobara)
sl@0
  3942
sl@0
  3943
2003-07-18  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3944
sl@0
  3945
	* generic/tclBasic.c:	Corrected several instances of unsafe
sl@0
  3946
	* generic/tclCompile.c:	truncation of UTF-8 strings that might break
sl@0
  3947
	* generic/tclProc.c:	apart a multi-byte character. [Bug 760872]
sl@0
  3948
	* library/init.tcl:
sl@0
  3949
	* tests/init.test:
sl@0
  3950
sl@0
  3951
	* doc/tcltest.n:		Restored the [Eval] proc to replace
sl@0
  3952
	* library/tcltest/tcltest.tcl:	the [::puts] command when either the
sl@0
  3953
	-output or -error option for [test] is in use, in order to capture
sl@0
  3954
	data written to the output or error channels for comparison against
sl@0
  3955
	what is expected. This is easier to document and agrees better with
sl@0
  3956
	most user expectations than the previous attempt to replace [puts]
sl@0
  3957
	only in the caller's namespace. Documentation made more precise on the
sl@0
  3958
	subject. [Bug 706359]
sl@0
  3959
sl@0
  3960
	* doc/AddErrInfo.3:	Improved consistency of documentation by using
sl@0
  3961
	* doc/CrtTrace.3:	"null" everywhere to refer to the character
sl@0
  3962
	* doc/Encoding.3:	'\0', and using "NULL" everywhere to refer to
sl@0
  3963
	* doc/Eval.3:		the value of a pointer that points to nowhere.
sl@0
  3964
	* doc/GetIndex.3:	Also dropped references to ASCII that are no
sl@0
  3965
	* doc/Hash.3:		longer true, and standardized on the
sl@0
  3966
	* doc/LinkVar.3:	hyphenated spelling of "null-terminated".
sl@0
  3967
	* doc/Macintosh.3:	
sl@0
  3968
	* doc/OpenFileChnl.3:
sl@0
  3969
	* doc/SetVar.3:
sl@0
  3970
	* doc/StringObj.3:
sl@0
  3971
	* doc/Utf.3:
sl@0
  3972
sl@0
  3973
	* doc/CrtSlave.3 (Tcl_MakeSafe):  Removed warning about possible
sl@0
  3974
	deprecation (no TIP on that).
sl@0
  3975
sl@0
  3976
2003-07-17  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  3977
sl@0
  3978
	* macosx/Makefile: added var to allow overriding of tclsh used during
sl@0
  3979
	html help building (Landon Fuller).
sl@0
  3980
sl@0
  3981
2003-07-16  Mumit Khan  <khan@nanotech.wisc.edu>
sl@0
  3982
sl@0
  3983
	* generic/tclIOUtil.c (SetFsPathFromAny): Add Cygwin specific code to
sl@0
  3984
	convert POSIX filename to native format.
sl@0
  3985
	* generic/tclFileName.c (Tcl_TranslateFileName): And remove from here.
sl@0
  3986
	(TclDoGlob): Adjust for cygwin and append / for dirs instead of \
sl@0
  3987
	* win/tclWinFile.c (TclpObjChdir): Use chdir on Cygwin. [Patch 679315]
sl@0
  3988
sl@0
  3989
2003-07-16  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3990
sl@0
  3991
	* library/safe.tcl (FileInAccessPath): normalize paths before
sl@0
  3992
	comparison. [Bug 759607] (myers)
sl@0
  3993
sl@0
  3994
	* unix/tclUnixNotfy.c (NotifierThreadProc): correct size of found and
sl@0
  3995
	word vars from int to long. [Bug 767578] (hgo)
sl@0
  3996
sl@0
  3997
2003-07-16  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3998
sl@0
  3999
	* doc/CrtSlave.3 (Tcl_MakeSafe): Updated documentation to strongly
sl@0
  4000
	discourage use. IMHO code outside the core that uses this function is
sl@0
  4001
	a bug... [Bug 655300]
sl@0
  4002
sl@0
  4003
2003-07-16  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4004
sl@0
  4005
	* generic/tcl.h:       Add recognition of -DTCL_UTF_MAX=6 on the
sl@0
  4006
	* generic/regcustom.h: make line to support UCS-4 mode. No config arg
sl@0
  4007
	at this time, as it is not the recommended build mode.
sl@0
  4008
sl@0
  4009
	* generic/tclPreserve.c: In Result and Preserve'd routines, do not
sl@0
  4010
	* generic/tclUtil.c:	 assume that ckfree == free, as that is not
sl@0
  4011
	* generic/tclResult.c:	 always true. [Bug 756791] (fuller)
sl@0
  4012
sl@0
  4013
2003-07-16  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  4014
sl@0
  4015
	* win/Makefile.in: Don't define TCL_DBGX symbol for every compile.
sl@0
  4016
	Instead, define TCL_PIPE_DLL only when compiling tclWinPipe.c. This
sl@0
  4017
	will break other build systems, so they will need to remove the
sl@0
  4018
	TCL_DBGX define and replace it with a define for TCL_PIPE_DLL.
sl@0
  4019
	* win/makefile.vc: Ditto.
sl@0
  4020
	* win/tclWinPipe.c (TclpCreateProcess): Remove PREFIX_IDENT and
sl@0
  4021
	DEBUG_IDENT from top of file. Use TCL_PIPE_DLL passed in from build
sl@0
  4022
	env instead of trying to construct the dll name from already defined
sl@0
  4023
	symbols. This approach is more flexible and better in the long run.
sl@0
  4024
sl@0
  4025
2003-07-16  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4026
sl@0
  4027
	* generic/tclFileName.c (Tcl_GlobObjCmd):	[Bug 771840]
sl@0
  4028
	* generic/tclIOUtil.c (Tcl_FSConvertToPathType):[Bug 771947]
sl@0
  4029
	* unix/tclUnixFCmd.c (GetModeFromPermString):	[Bug 771949]
sl@0
  4030
	Silence compiler warnings about unreached lines.
sl@0
  4031
sl@0
  4032
	* library/tcltest/tcltest.tcl (ProcessFlags):	Corrected broken call
sl@0
  4033
	* library/tcltest/pkgIndex.tcl:			to [lrange]. Bumped to
sl@0
  4034
	version 2.2.4. [Bug 772333]
sl@0
  4035
sl@0
  4036
2003-07-15  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  4037
sl@0
  4038
	* unix/dltest/pkga.c (Pkga_EqObjCmd): Fix typo that was causing a
sl@0
  4039
	crash in load.test.
sl@0
  4040
sl@0
  4041
2003-07-15  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4042
sl@0
  4043
	* doc/array.n: Added some examples from David Welton [Patch 763312]
sl@0
  4044
sl@0
  4045
2003-07-15  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4046
sl@0
  4047
	* doc/http.n:  Updated SYNOPSIS to match actual syntax of commands.
sl@0
  4048
	[Bug 756112]
sl@0
  4049
sl@0
  4050
	* unix/dltest/pkga.c:	Updated to not use Tcl_UtfNcmp and counted
sl@0
  4051
	strings instead of strcmp (not defined in any #include'd header) and
sl@0
  4052
	presumed NULL-terminated strings.
sl@0
  4053
sl@0
  4054
	* README:		Bumped patch level to 8.4.4 in anticipation
sl@0
  4055
	* generic/tcl.h:	of another patch release.
sl@0
  4056
	* tools/tcl.wse.in:
sl@0
  4057
	* unix/configure.in:
sl@0
  4058
	* unix/tcl.spec:
sl@0
  4059
	* win/README.binary:
sl@0
  4060
	* win/configure.in:
sl@0
  4061
sl@0
  4062
	* unix/configure:	autoconf (2.13)
sl@0
  4063
	* win/configure:
sl@0
  4064
sl@0
  4065
	* generic/tclCompCmds.c (TclCompileIfCmd):  Prior fix of Bug 711371
sl@0
  4066
	on 2003-04-07 introduced a buffer overflow. Corrected. [Bug 771613]
sl@0
  4067
sl@0
  4068
2003-07-15  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4069
sl@0
  4070
	* generic/tclCmdIL.c (SortCompare): Cleared up confusing error
sl@0
  4071
	message. [Bug 771539]
sl@0
  4072
sl@0
  4073
2003-07-15  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  4074
sl@0
  4075
	* macosx/Makefile: Rewrote buildsystem for Mac OS X framework build to
sl@0
  4076
	be purely make driven; in order to become independent of Apple's
sl@0
  4077
	closed-source IDE and build tool. The changes are intended to be
sl@0
  4078
	transparent to the Makefile user, all existing make targets and cmd
sl@0
  4079
	line variable overrides should continue to work. Changed build to only
sl@0
  4080
	include tcl specific html help in Tcl.framework, the tk specific html
sl@0
  4081
	help is now included in Tk.framework.
sl@0
  4082
sl@0
  4083
	* macosx/Tcl.pbproj/project.pbxproj:
sl@0
  4084
	* macosx/Tcl.pbproj/jingham.pbxuser: Changed to purely call through to
sl@0
  4085
	the make driven buildsystem; Tcl.framework is no longer assembled by
sl@0
  4086
	ProjectBuilder. Set default SYMROOT in target options to simplify
sl@0
  4087
	setting up PB (manually setting common build folder for tcl & tk no
sl@0
  4088
	longer needed).
sl@0
  4089
sl@0
  4090
	* tools/tcltk-man2html.tcl: Added options to allow building only the
sl@0
  4091
	tcl or tk html help files; the default behaviour with none of the new
sl@0
  4092
	options is to build both, as before.
sl@0
  4093
sl@0
  4094
	* unix/Makefile.in: Added targets for building only the tcl or tk help.
sl@0
  4095
sl@0
  4096
	* macosx/README (new): Tcl specific excerpts of tk/macosx/README.
sl@0
  4097
sl@0
  4098
	* generic/tcl.h: Updated reminder comment about editing
sl@0
  4099
	macosx/Tcl.pbproj/project.pbxproj when version number changes.
sl@0
  4100
sl@0
  4101
2003-07-11  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4102
sl@0
  4103
	* tests/binary.test (binary-46.*): Tests to help enforce the current
sl@0
  4104
	behaviour.
sl@0
  4105
	* doc/binary.n: Documented that [binary format a] and [binary scan a]
sl@0
  4106
	do encoding conversion by dropping high bytes, unlike the rest of
sl@0
  4107
	the core. [Bug 735364]
sl@0
  4108
sl@0
  4109
2003-07-11  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4110
sl@0
  4111
	* library/package.tcl:	Corrected [pkg_mkIndex] bug reported on
sl@0
  4112
	comp.lang.tcl. The indexer was searching for newly indexed packages
sl@0
  4113
	instead of newly provided packages.
sl@0
  4114
sl@0
  4115
2003-07-04  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4116
sl@0
  4117
	* doc/expr.n: Tighten up the wording of some operations. [Bug 758488]
sl@0
  4118
sl@0
  4119
	* tests/cmdAH.test: Made tests of [file mtime] work better on FAT
sl@0
  4120
	filesystems. [Patch 760768]  Also a little general cleanup.
sl@0
  4121
sl@0
  4122
2003-06-25  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  4123
sl@0
  4124
	* unix/configure: Regen.
sl@0
  4125
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Add -ieee when compiling with cc and
sl@0
  4126
	add -mieee when compiling with gcc under OSF1-V5 "Tru64" systems. [Bug
sl@0
  4127
	748957]
sl@0
  4128
sl@0
  4129
2003-06-24  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4130
sl@0
  4131
	* doc/encoding.n: Corrected the docs to say that [source] uses the
sl@0
  4132
	system encoding, which it always did anyway (since 8.1) [Bug 742100]
sl@0
  4133
sl@0
  4134
2003-06-23  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  4135
sl@0
  4136
	* generic/tclFCmd.c: fix to bad error message when trying to do 'file
sl@0
  4137
	copy foo ""'. [Bug 756951]
sl@0
  4138
	* tests/fCmd.test: added two new tests for the bug.
sl@0
  4139
sl@0
  4140
	* doc/FileSystem.3: documentation fix [Bug 720634]
sl@0
  4141
sl@0
  4142
2003-06-18  Miguel Sofer <msofer@users.sf.net>
sl@0
  4143
sl@0
  4144
	* generic/tclNamesp.c (Tcl_Export): removed erroneous comments [Bug
sl@0
  4145
	756744]
sl@0
  4146
sl@0
  4147
2003-06-17  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  4148
sl@0
  4149
	* generic/tclCmdMZ.c:
sl@0
  4150
	* tests/regexp.test: fixing of bugs related to regexp and regsub
sl@0
  4151
	matching of empty strings. Addition of a number of new tests.
sl@0
  4152
sl@0
  4153
2003-06-10  Miguel Sofer <msofer@users.sf.net>
sl@0
  4154
sl@0
  4155
	* generic/tclBasic.c:
sl@0
  4156
	* generic/tclExecute.c: let TclEvalObjvInternal call TclInterpReady
sl@0
  4157
	instead of relying on its callers to do so; fix for the part of [Bug
sl@0
  4158
	495830] that is new in 8.4.
sl@0
  4159
	* tests/interp.test: Added tests 18.9 (knownbug) and 18.10
sl@0
  4160
sl@0
  4161
2003-06-09  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4162
sl@0
  4163
	* tests/string.test (string-4.15): Added test for [string first] bug
sl@0
  4164
	reported in Tcl 8.3, where test for all-single-byte-encoded strings
sl@0
  4165
	was not reliable.
sl@0
  4166
sl@0
  4167
2003-06-04  Joe Mistachkin  <joe@mistachkin.com>
sl@0
  4168
sl@0
  4169
	* tools/man2help.tcl: Added duplicate help section checking and
sl@0
  4170
	* tools/index.tcl:    corrected a comment typo for the getTopics proc
sl@0
  4171
	in index.tcl. [Bug 748700]
sl@0
  4172
sl@0
  4173
2003-05-23  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4174
sl@0
  4175
	* generic/tclObj.c (tclCmdNameType):  Converted internal rep
sl@0
  4176
	management of the cmdName Tcl_ObjType the opposite way, to always use
sl@0
  4177
	the twoPtrValue instead of always using the otherValuePtr. Previous
sl@0
  4178
	fix on 2003-05-12 broke several extensions that wanted to poke around
sl@0
  4179
	with the twoPtrValue.ptr2 value of a cmdName Tcl_Obj, like TclBlend
sl@0
  4180
	and e4graph. [Bug 726018] Thanks to George Petasis for the bug report
sl@0
  4181
	and Jacob Levy for testing assistance.
sl@0
  4182
sl@0
  4183
2003-05-22  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  4184
sl@0
  4185
	*** 8.4.3 TAGGED FOR RELEASE ***
sl@0
  4186
sl@0
  4187
	* macosx/tclMacOSXBundle.c: fixed a problem that caused only the first
sl@0
  4188
	call to Tcl_MacOSXOpenVersionedBundleResources() for a given bundle
sl@0
  4189
	identifier to succeed. This caused the tcl runtime library not to be
sl@0
  4190
	found in all interps created after the inital one.
sl@0
  4191
sl@0
  4192
2003-05-20  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4193
sl@0
  4194
	* changes: updated for 8.4.3
sl@0
  4195
sl@0
  4196
	* unix/Makefile.in: do not run autoconf during 'make dist' as the
sl@0
  4197
	configure is now a CVS-maintained file and should be up-to-date.
sl@0
  4198
sl@0
  4199
2003-05-19  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  4200
sl@0
  4201
	* macosx/Tcl.pbproj/project.pbxproj: changed tclConfig.sh location in
sl@0
  4202
	versioned framework subdirectories to be identical to location in
sl@0
  4203
	framework toplevel; fixed stub library symbolic links to be Tcl
sl@0
  4204
	version specific.
sl@0
  4205
sl@0
  4206
2003-05-16  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  4207
sl@0
  4208
	* macosx/Tcl.pbproj/project.pbxproj: updated copyright year.
sl@0
  4209
sl@0
  4210
2003-05-15  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4211
sl@0
  4212
	* win/tclWinFile.c (TclpMatchInDirectory): revert glob code to r1.44
sl@0
  4213
	as 2003-04-14 optimizations broke Windows98 glob'ing.
sl@0
  4214
sl@0
  4215
	* README:	    bumped version to 8.4.3
sl@0
  4216
	* generic/tcl.h:
sl@0
  4217
	* macosx/Tcl.pbproj/project.pbxproj:
sl@0
  4218
	* tools/tcl.wse.in:
sl@0
  4219
	* unix/configure:
sl@0
  4220
	* unix/configure.in:
sl@0
  4221
	* unix/tcl.spec:
sl@0
  4222
	* win/README.binary:
sl@0
  4223
	* win/configure:
sl@0
  4224
	* win/configure.in:
sl@0
  4225
sl@0
  4226
	* doc/socket.n: nroff font handling correction.
sl@0
  4227
sl@0
  4228
	* library/encoding/gb2312-raw.enc (new): This is the original
sl@0
  4229
	gb2312.enc renamed to allow for it to still be used. This is needed by
sl@0
  4230
	Tk (unix) because X fonts with gb2312* charsets really do want the
sl@0
  4231
	original gb2312 encoding. [Bug 557030]
sl@0
  4232
sl@0
  4233
2003-05-14  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4234
sl@0
  4235
	* generic/tclCmdAH.c (Tcl_FormatObjCmd): Values which can't be
sl@0
  4236
	anything but wide shouldn't be demoted to long. [consequence of HEAD
sl@0
  4237
	fixes for Bug 699060]
sl@0
  4238
sl@0
  4239
2003-05-14  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4240
sl@0
  4241
	* library/encoding/gb2312.enc: copy euc-cn.enc over original
sl@0
  4242
	gb2312.enc. gb2312.enc appeared to not work as expected, and most uses
sl@0
  4243
	of gb2312 really mean euc-cn (which may be the cause of the problem).
sl@0
  4244
	[Bug 557030]
sl@0
  4245
sl@0
  4246
	* generic/tclEnv.c (TclUnsetEnv): Another putenv() copy behavior
sl@0
  4247
	problem repaired when compiling on windows and using microsoft's
sl@0
  4248
	runtime. [Bug 736421] (gravereaux)
sl@0
  4249
sl@0
  4250
2003-05-13  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4251
sl@0
  4252
	* generic/tclIOUtil.c: add decl for FsThrExitProc to suppress warnings
sl@0
  4253
sl@0
  4254
2003-05-13  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4255
sl@0
  4256
	* generic/tclEvent.c (Tcl_Finalize): Removed unused variable to reduce
sl@0
  4257
	compiler warnings. [Bug 664745]
sl@0
  4258
sl@0
  4259
2003-05-13  Joe Mistachkin  <joe@mistachkin.com>
sl@0
  4260
sl@0
  4261
	* generic/tcl.decls:  Changed Tcl_JoinThread parameter name from "id"
sl@0
  4262
	* generic/tclDecls.h: to "threadId". [Bug 732477]
sl@0
  4263
	* unix/tclUnixThrd.c:
sl@0
  4264
	* win/tclWinThrd.c:
sl@0
  4265
	* mac/tclMacThrd.c:
sl@0
  4266
sl@0
  4267
2003-05-13  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  4268
sl@0
  4269
	* generic/tcl.decls:
sl@0
  4270
	* macosx/tclMacOSXBundle.c: added extended version of the
sl@0
  4271
	Tcl_MacOSXOpenBundleResources() API taking an extra version number
sl@0
  4272
	argument: Tcl_MacOSXOpenVersionedBundleResources(). This is needed to
sl@0
  4273
	be able to access bundle resources in versioned frameworks such as Tcl
sl@0
  4274
	and Tk, otherwise if multiple versions were installed, only the latest
sl@0
  4275
	version's resources could be accessed. [Bug 736774]
sl@0
  4276
sl@0
  4277
	* unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): use new versioned
sl@0
  4278
	bundle resource API to get tcl runtime library for TCL_VERSION.
sl@0
  4279
	[Bug 736774]
sl@0
  4280
sl@0
  4281
	* generic/tclPlatDecls.h:
sl@0
  4282
	* generic/tclStubInit.c: regen.
sl@0
  4283
sl@0
  4284
	* unix/tclUnixPort.h: worked around the issue of realpath() not being
sl@0
  4285
	thread-safe on Mac OS X by defining NO_REALPATH for threaded builds on
sl@0
  4286
	Mac OS X. [Bug 711232]
sl@0
  4287
sl@0
  4288
2003-05-12  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4289
sl@0
  4290
	* generic/tclInterp.c: (AliasObjCmd):	Added refCounting of the words
sl@0
  4291
	* tests/interp.test (interp-33.1):	of the target of an interp
sl@0
  4292
	alias during its execution. Also added test. [Bug 730244].
sl@0
  4293
sl@0
  4294
	* generic/tclBasic.c (TclInvokeObjectCommand):	objv[argc] is no
sl@0
  4295
	longer set to NULL (Tcl_CreateObjCommand docs already say that it
sl@0
  4296
	should not be accessed).
sl@0
  4297
sl@0
  4298
	* generic/tclObj.c (tclCmdNameType):  Corrected variable use of the
sl@0
  4299
	otherValuePtr or the twoPtrValue.ptr1 fields to store a
sl@0
  4300
	(ResolvedCmdName *) as the internal rep. [Bug 726018].
sl@0
  4301
sl@0
  4302
	* doc/Eval.3:  Corrected prototype for Tcl_GlobalEvalObj [Bug 727622].
sl@0
  4303
sl@0
  4304
2003-05-12  Miguel Sofer <msofer@users.sf.net>
sl@0
  4305
sl@0
  4306
	* generic/tclVar.c (TclObjLookupVar): [Bug 735335] temporary fix,
sl@0
  4307
	disabling usage of tclNsVarNameType.
sl@0
  4308
	* tests/var.test (var-15.1): test for [Bug 735335]
sl@0
  4309
sl@0
  4310
2003-05-10  Zoran Vasiljevic <zoran@archiware.com>
sl@0
  4311
sl@0
  4312
	* unix/tclUnixThrd.c: corrected [Bug 723502]
sl@0
  4313
sl@0
  4314
2003-05-10  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4315
sl@0
  4316
	* generic/tclIOUtil.c: ensure cd is thread-safe.
sl@0
  4317
	[Bug 710642] (vasiljevic)
sl@0
  4318
sl@0
  4319
	* win/tclWinSerial.c (SerialCloseProc): correct mem leak on closing a
sl@0
  4320
	Windows serial port [Bug 718002] (schroedter)
sl@0
  4321
sl@0
  4322
	* generic/tclCmdMZ.c (Tcl_StringObjCmd): prevent string repeat crash
sl@0
  4323
	when overflow sizes were given (throws error). [Bug 714106]
sl@0
  4324
sl@0
  4325
2003-05-09  Joe Mistachkin <joe@mistachkin.com>
sl@0
  4326
sl@0
  4327
	* generic/tclThreadAlloc.c (TclFreeAllocCache): Fixed memory leak
sl@0
  4328
	caused by treating cachePtr as a TLS index [Bug 731754].
sl@0
  4329
sl@0
  4330
	* win/tclAppInit.c (Tcl_AppInit): Fixed memory leaks caused by not
sl@0
  4331
	freeing the memory allocated by setargv and the async handler created
sl@0
  4332
	by Tcl_AppInit. An exit handler has been created that takes care of
sl@0
  4333
	both leaks. In addition, Tcl_AppInit now uses ckalloc instead of
sl@0
  4334
	Tcl_Alloc to allow for easier leak tracking and to be more consistent
sl@0
  4335
	with the rest of the Tcl core [Bugs 733156, 733221].
sl@0
  4336
sl@0
  4337
	* tools/encoding/txt2enc.c (main): Fixed memory leak caused by failing
sl@0
  4338
	to free the memory used by the toUnicode array of strings [Bug 733221]
sl@0
  4339
sl@0
  4340
2003-05-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4341
sl@0
  4342
	* library/tcltest/tcltest.tcl: The -returnCodes option to [test]
sl@0
  4343
	failed to recognize the symbolic name "ok" for return code 0.
sl@0
  4344
sl@0
  4345
2003-05-05  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4346
sl@0
  4347
	* generic/tclBasic.c (Tcl_HideCommand): Fixed error message grammar
sl@0
  4348
	and spelling.
sl@0
  4349
sl@0
  4350
2003-04-29  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  4351
sl@0
  4352
	* generic/tclFileName.c: fix to bug reported privately by Jeff where,
sl@0
  4353
	for example, 'glob -path {[tcl]} *' gets confused by the leading
sl@0
  4354
	special character (which is escaped internally), and instead lists
sl@0
  4355
	files in '/'. Bug only occurs on Windows where '\' is also a
sl@0
  4356
	directory separator. (Bug has been around at least since Tcl 8.3.)
sl@0
  4357
	* tests/fileName.test: added test for the above bug.
sl@0
  4358
sl@0
  4359
2003-04-25  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4360
sl@0
  4361
	* generic/tclBasic.c:  Tcl_EvalObjv() failed to honor the
sl@0
  4362
	TCL_EVAL_GLOBAL flag when resolving command names. Tcl_EvalEx passed a
sl@0
  4363
	string rep including leading whitespace and comments to
sl@0
  4364
	TclEvalObjvInternal().
sl@0
  4365
sl@0
  4366
2003-04-25  Andreas Kupries  <andreask@activestate.com>
sl@0
  4367
sl@0
  4368
	* win/tclWinThrd.c: Applied [Patch 727271]. This patch changes the
sl@0
  4369
	code to catch any errors returned by the windows functions handling
sl@0
  4370
	TLS ASAP instead of waiting to get some mysterious crash later on due
sl@0
  4371
	to bogus pointers. Patch provided by Joe Mistachkin.
sl@0
  4372
sl@0
  4373
	This is a stop-gap measure to deal with the low number of ?TLS slots
sl@0
  4374
	provided by some of the variants of Windows (60-80).
sl@0
  4375
sl@0
  4376
2003-04-21  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4377
sl@0
  4378
	* library/tcltest/tcltest.tcl:	When the return code of a test does
sl@0
  4379
	not meet expectations, report that as the reason for test failure,
sl@0
  4380
	and do not attempt to check the test result for correctness. [Bug
sl@0
  4381
	725253]
sl@0
  4382
sl@0
  4383
2003-04-18  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4384
sl@0
  4385
	* generic/tclExecute.c (ExprCallMathFunc): remove incorrect
sl@0
  4386
	extraneous cast from Tcl_WideAsDouble.
sl@0
  4387
sl@0
  4388
2003-04-18  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4389
sl@0
  4390
	* doc/open.n:		Moved serial port options from [fconfigure]
sl@0
  4391
	* doc/fconfigure.n:	to [open] as it is up to the creator of a
sl@0
  4392
				channel to describe the channel's special
sl@0
  4393
				config options. [Bug 679010]
sl@0
  4394
sl@0
  4395
2003-04-16  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4396
sl@0
  4397
	* generic/tcl.h		Made changes so that the "wideInt" Tcl_ObjType
sl@0
  4398
	* generic/tclObj.c	is defined on all platforms, even those where
sl@0
  4399
	* generic/tclPort.h	TCL_WIDE_INT_IS_LONG is defined.  Also made
sl@0
  4400
	the Tcl_Value struct have a wideValue field on all platforms.  This is
sl@0
  4401
	a ***POTENTIAL INCOMPATIBILITY*** for TCL_WIDE_INT_IS_LONG platforms
sl@0
  4402
	because that struct changes size.  This is the same TIP 72
sl@0
  4403
	incompatibility that was seen on other platforms at the 8.4.0 release,
sl@0
  4404
	when this change should have happened as well.	[Bug 713562]
sl@0
  4405
sl@0
  4406
	* generic/tclInt.h:  New internal macros TclGetWide() and
sl@0
  4407
	TclGetLongFromWide() to deal with both forms of the "wideInt"
sl@0
  4408
	Tcl_ObjType, so that conditional TCL_WIDE_INT_IS_LONG code
sl@0
  4409
	is confined to the header file.
sl@0
  4410
sl@0
  4411
	* generic/tclCmdAH.c:	Replaced most coding that was conditional
sl@0
  4412
	* generic/tclCmdIL.c:	on TCL_WIDE_INT_IS_LONG with code that
sl@0
  4413
	* generic/tclExecute.c: works across platforms, sometimes using
sl@0
  4414
	* generic/tclTest.c:	the new macros above to do it.
sl@0
  4415
	* generic/tclUtil.c:
sl@0
  4416
	* generic/tclVar.c:
sl@0
  4417
sl@0
  4418
2003-04-17  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4419
sl@0
  4420
	* doc/socket.n: Added a paragraph to remind people to specify
sl@0
  4421
	their encodings when using sockets. [Bug 630621]
sl@0
  4422
sl@0
  4423
2003-04-16  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4424
sl@0
  4425
	* doc/CrtMathFnc.3: Functions also have to deal with wide ints,
sl@0
  4426
	but this was not documented. [Bug 709720]
sl@0
  4427
sl@0
  4428
2003-04-15  Kevin Kenny  <kennykb@acm.org>
sl@0
  4429
sl@0
  4430
	* win/tclWinTime.c: Corrected use of types to make compilation
sl@0
  4431
	compatible with VC++5.
sl@0
  4432
sl@0
  4433
2003-04-14  Kevin Kenny  <kennykb@acm.org>
sl@0
  4434
sl@0
  4435
	* win/tclWinFile.c: added conditionals to restore compilation on
sl@0
  4436
	VC++6, which was broken by recent changes.
sl@0
  4437
sl@0
  4438
2003-04-14  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  4439
sl@0
  4440
	Merged various bug fixes from current cvs head:
sl@0
  4441
sl@0
  4442
	* tests/cmdAH.test: better fix to test suite problem if /home is a
sl@0
  4443
	symlink [Bug 703264]
sl@0
  4444
sl@0
  4445
	* generic/tclIOUtil.c: fix bad error message with 'cd ""' [Bug 704917]
sl@0
  4446
	* win/tclWinFile.c:
sl@0
  4447
	* win/tclWin32Dll.c:
sl@0
  4448
	* win/tclWinInt.h: allow Tcl to differentiate between reparse points
sl@0
  4449
	which are symlinks and mounted volumes, and correctly handle the
sl@0
  4450
	latter. This involves some elaborate code to find the actual drive
sl@0
  4451
	letter (if possible) corresponding to a mounted volume. [Bug 697862]
sl@0
  4452
	* tests/fileSystem.test: add constraints to stop tests running in
sl@0
  4453
	ordinary tcl interpreter. [Bug 705675]
sl@0
  4454
	* generic/tclIOUtil.c: Some re-arrangement of code to bring it closer
sl@0
  4455
	to CVS HEAD. No functional changes.
sl@0
  4456
sl@0
  4457
	* tests/fCmd.test:
sl@0
  4458
	* win/tclWinFile.c: added some filesystem optimisation to the
sl@0
  4459
	'glob' implementation, and some new tests.
sl@0
  4460
sl@0
  4461
	* tests/winFile.test:
sl@0
  4462
	* tests/ioUtil.test:
sl@0
  4463
	* tests/unixFCmd.test: renumbered tests with duplicate numbers. [Bug
sl@0
  4464
	710361]
sl@0
  4465
sl@0
  4466
2003-04-12  Kevin Kenny  <kennykb@acm.org>
sl@0
  4467
sl@0
  4468
	* tests/clock.test: Renumbered test cases to avoid duplicates [Bug
sl@0
  4469
	710310].
sl@0
  4470
	* tests/winTime.test:
sl@0
  4471
	* win/tclWinTest.c (TestwinclockCmd, TestwinsleepCmd):
sl@0
  4472
	* win/tclWinTime.c (Tcl_WinTime, UpdateTimeEachSecond,
sl@0
  4473
	(ResetCounterSamples, AccumulateSample, SAMPLES, TimeInfo): Made
sl@0
  4474
	substantial changes to the phase-locked loop (replaced an IIR filter
sl@0
  4475
	with an FIR one) in a quest for improved loop stability (Bug not
sl@0
  4476
	logged at SF, but cited in private communication from Jeff Hobbs).
sl@0
  4477
sl@0
  4478
2003-04-11  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4479
sl@0
  4480
	* generic/tclCmdMZ.c (Tcl_StringObjCmd,STR_IS_INT):  Corrected
sl@0
  4481
	inconsistent results of [string is integer] observed on systems
sl@0
  4482
	where sizeof(long) != sizeof(int). [Bug 718878]
sl@0
  4483
	* tests/string.test: Added tests for Bug 718878.
sl@0
  4484
	* doc/string.n: Clarified that [string is integer] accepts
sl@0
  4485
	32-bit integers.
sl@0
  4486
sl@0
  4487
2003-04-11  Andreas Kupries  <andreask@activestate.com>
sl@0
  4488
sl@0
  4489
	* generic/tclIO.c (UpdateInterest): When dropping interest in
sl@0
  4490
	TCL_READABLE now dropping interest in TCL_EXCEPTION too. This fixes a
sl@0
  4491
	bug where Expect detects eof on a file prematurely on Solaris 2.6 and
sl@0
  4492
	higher. A much more complete explanation is in the code itself (40
sl@0
  4493
	lines of comments for a one-line change :)
sl@0
  4494
sl@0
  4495
2003-04-10  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4496
sl@0
  4497
	* doc/binary.n: Fixed typo in [binary format w] desc. [Bug 718543]
sl@0
  4498
sl@0
  4499
2003-04-08  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4500
sl@0
  4501
	* generic/tclCmdAH.c (Tcl_ErrorObjCmd): Strings are only empty if they
sl@0
  4502
	have zero length, not if their first byte is zero, so fix test
sl@0
  4503
	guarding Tcl_AddObjErrorInfo to take this into account. [Bug reported
sl@0
  4504
	by Don Porter; no bug-id.]
sl@0
  4505
sl@0
  4506
2003-04-07  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4507
sl@0
  4508
	* generic/tclCompCmds.c (TclCompileIfCmd):  Corrected string limits of
sl@0
  4509
	arguments interpolated in error messages. [Bug 711371]
sl@0
  4510
sl@0
  4511
	* generic/tclCmdMZ.c (TraceExecutionProc):  Added missing
sl@0
  4512
	Tcl_DiscardResult() call to avoid memory leak.
sl@0
  4513
sl@0
  4514
2003-04-07  Donal K. Fellows  <zzcgudf@ernie.mvc.mcc.ac.uk>
sl@0
  4515
sl@0
  4516
	* generic/tclObj.c (tclWideIntType, TclInitObjSubsystem):
sl@0
  4517
	(SetBooleanFromAny): Make sure that tclWideIntType is defined and
sl@0
  4518
	somewhat sensible everywhere. [Bug 713562]
sl@0
  4519
sl@0
  4520
2003-04-02  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  4521
sl@0
  4522
	* win/configure: Regen.
sl@0
  4523
	* win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX
sl@0
  4524
	variable.
sl@0
  4525
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Set new LIBFLAGSUFFIX that works like
sl@0
  4526
	LIBSUFFIX, it is used when creating library names. The previous
sl@0
  4527
	implementation would generate -ltclstub85 instead of -ltclstub85s when
sl@0
  4528
	configured with --disable-shared.
sl@0
  4529
sl@0
  4530
2003-04-01  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4531
sl@0
  4532
	* tests/README: Direct [source] of *.test files is no longer
sl@0
  4533
	recommended. The tests/*.test files should only be evaluated under the
sl@0
  4534
	control of the [runAllTests] command in tests/all.tcl.
sl@0
  4535
sl@0
  4536
2003-03-27  Miguel Sofer <msofer@users.sf.net>
sl@0
  4537
sl@0
  4538
	* tests/encoding.test:
sl@0
  4539
	* tests/proc-old.test:
sl@0
  4540
	* tests/set-old.test: Altered test numers to eliminate duplicates,
sl@0
  4541
	[Bugs 710313, 710320, 710352]
sl@0
  4542
sl@0
  4543
2003-03-27  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4544
sl@0
  4545
	* tests/parseOld.test:	Altered test numers to eliminate duplicates.
sl@0
  4546
	* tests/parse.test:	[Bugs 710365, 710369]
sl@0
  4547
	* tests/expr-old.test:
sl@0
  4548
	* tests/expr.test:
sl@0
  4549
sl@0
  4550
	* tests/utf.test:	Altered test numers to eliminate duplicates.
sl@0
  4551
	* tests/trace.test:	[Bugs 710322, 710327, 710349, 710363]
sl@0
  4552
	* tests/lsearch.test:
sl@0
  4553
	* tests/list.test:
sl@0
  4554
	* tests/info.test:
sl@0
  4555
	* tests/incr-old.test:
sl@0
  4556
	* tests/if-old.test:
sl@0
  4557
	* tests/format.test:
sl@0
  4558
	* tests/foreach.test:
sl@0
  4559
sl@0
  4560
2003-03-26  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4561
sl@0
  4562
	* doc/tcltest.n:
sl@0
  4563
	* library/tcltest/tcltest.tcl:	Added reporting during [configure
sl@0
  4564
	-debug 1] operations to warn about multiple uses of the same test
sl@0
  4565
	name. [FR 576693]  Replaced [regexp] and [regsub] with [string map]
sl@0
  4566
	where possible. Thanks to David Welton. [Bugs 667456,667558]
sl@0
  4567
	* library/tcltest/pkgIndex.tcl: Bumped to tcltest 2.2.3
sl@0
  4568
sl@0
  4569
	* tests/msgcat.test (msgcat-2.2.1): changed test name to avoid
sl@0
  4570
	duplication. [Bug 710356]
sl@0
  4571
sl@0
  4572
	* unix/dltest/pkg?.c: Changed all Tcl_InitStubs calls to pass argument
sl@0
  4573
	exact = 0, so that rebuilds are not required when Tcl bumps to a new
sl@0
  4574
	version. [Bug 701926]
sl@0
  4575
sl@0
  4576
2003-03-24  Miguel Sofer <msofer@users.sf.net>
sl@0
  4577
sl@0
  4578
	* generic/tclVar.c:
sl@0
  4579
	* tests/var.test: fixing ObjMakeUpvar's lookup algorithm for the
sl@0
  4580
	created local variable, [Bugs 631741] (Chris Darroch) and [696893]
sl@0
  4581
	(David Hilker).
sl@0
  4582
sl@0
  4583
2003-03-22  Kevin Kenny  <kennykb@acm.org>
sl@0
  4584
sl@0
  4585
	* library/dde/pkgIndex.tcl:
sl@0
  4586
	* library/reg/pkgIndex.tcl: Fixed a bug where [package require dde] or
sl@0
  4587
	[package require registry] attempted to load the release version of
sl@0
  4588
	the DLL into a debug build. [Bug 708218] Thanks to Joe Mistachkin for
sl@0
  4589
	the patch.
sl@0
  4590
	* win/makefile.vc: Added quoting around the script name in the 'test'
sl@0
  4591
	target; Joe Mistachkin insists that he has a configuration that fails
sl@0
  4592
	to launch tcltest without it, and it appears harmless otherwise.
sl@0
  4593
sl@0
  4594
2003-03-20  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4595
sl@0
  4596
	* generic/tclInt.h (tclOriginalNotifier):
sl@0
  4597
	* generic/tclStubInit.c (tclOriginalNotifier):
sl@0
  4598
	* mac/tclMacNotify.c (Tcl_SetTimer,Tcl_WaitForEvent):
sl@0
  4599
	* unix/tclUnixNotfy.c (Tcl_SetTimer,Tcl_WaitForEvent,
sl@0
  4600
	(Tcl_CreateFileHandler,Tcl_DeleteFileHandler):
sl@0
  4601
	* win/tclWinNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): Some linkers
sl@0
  4602
	apparently use a different representation for a pointer to a function
sl@0
  4603
	within the same compilation unit and a pointer to a function in a
sl@0
  4604
	different compilation unit. This causes checks like those in the
sl@0
  4605
	original notifier procedures to fall into infinite loops. The fix is
sl@0
  4606
	to store pointers to the original notifier procedures in a struct
sl@0
  4607
	defined in the same compilation unit as the stubs tables, and compare
sl@0
  4608
	against those values. [Bug 707174]
sl@0
  4609
sl@0
  4610
	* generic/tclInt.h: Removed definition of ParseValue struct that is no
sl@0
  4611
	longer used.
sl@0
  4612
sl@0
  4613
2003-03-19  Miguel Sofer <msofer@users.sf.net>
sl@0
  4614
sl@0
  4615
	* generic/tclCompile.c:
sl@0
  4616
	* tests/compile.test: bad command count on TCL_OUT_LINE_COMPILE
sl@0
  4617
	[Bug 705406] (Don Porter).
sl@0
  4618
sl@0
  4619
2003-03-19  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4620
sl@0
  4621
	* doc/Eval.3 (Tcl_EvalObjEx):			Corrected CONST and
sl@0
  4622
	* doc/ParseCmd.3 (Tcl_EvalTokensStandard):	return type errors in
sl@0
  4623
	documentation. [Bug 683994]
sl@0
  4624
sl@0
  4625
2003-03-18  Kevin Kenny  <kennykb@users.sourceforge.net>
sl@0
  4626
sl@0
  4627
	* tests/registry.test: Changed the conditionals to avoid an abort if
sl@0
  4628
	[testlocale] is missing, as when running the test in tclsh rather than
sl@0
  4629
	tcltest. [Bug 705677]
sl@0
  4630
sl@0
  4631
2003-03-18  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  4632
sl@0
  4633
	* tools/tcltk-man2html.tcl: added support for building 'make html'
sl@0
  4634
	from inside distribution directories named with 8.x.x version numbers.
sl@0
  4635
	tcltk-man2html now uses the latest tcl8.x.x resp. tk8.x.x directories
sl@0
  4636
	found inside its --srcdir argument.
sl@0
  4637
sl@0
  4638
2003-03-18  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  4639
sl@0
  4640
	* tests/cmdAH.test: fix test suite problem if /home is a symlink
sl@0
  4641
	* generic/tclIOUtil.c: fix bad error message with 'cd ""'
sl@0
  4642
	* win/tclWinFile.c: allow Tcl to differentiate between reparse points
sl@0
  4643
	which are symlinks and mounted drives.
sl@0
  4644
sl@0
  4645
	These changes fix [Bugs 703264, 704917, 697862] respectively.
sl@0
  4646
sl@0
  4647
2003-03-17  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4648
sl@0
  4649
	* doc/lsearch.n:	Altered documentation of -ascii options so
sl@0
  4650
	* doc/lsort.n:		they don't specify that they operate on
sl@0
  4651
				ASCII strings, which they never did
sl@0
  4652
				anyway. [Bug 703807]
sl@0
  4653
sl@0
  4654
2003-03-14  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4655
sl@0
  4656
	* generic/tclCmdAH.c (Tcl_FileObjCmd): Remove assumption that file
sl@0
  4657
	times and longs are the same size. [Bug 698146]
sl@0
  4658
	(Tcl_FormatObjCmd): Stop surprising type conversions from
sl@0
  4659
	happening when working with integer and wide values. [Bug 699060]
sl@0
  4660
sl@0
  4661
	* generic/tclCmdAH.c (Tcl_FormatObjCmd): Only add the modifier that
sl@0
  4662
	indicates we've got a wide int when we're formatting in an integer
sl@0
  4663
	style. Stops some libc's from going mad. [Bug 702622]
sl@0
  4664
	Also tidied whitespace.
sl@0
  4665
sl@0
  4666
2003-03-13  Kevin Kenny  <kennykb@users.sourceforge.net>
sl@0
  4667
sl@0
  4668
	* win/makefile.vc: Backed the version to 8.4 on the 8.4 branch. (I
sl@0
  4669
	just loathe sticky tags).
sl@0
  4670
sl@0
  4671
2003-03-12  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4672
sl@0
  4673
	* generic/tcl.h:	Removed TCL_PREFIX_IDENT and TCL_DEBUG_IDENT
sl@0
  4674
	* win/tclWinPipe.c:	from tcl.h -- they are not part of Tcl's
sl@0
  4675
	public interface.  Put them in win/tclWinPipe.c where they are used.
sl@0
  4676
sl@0
  4677
	* generic/tclCmdMZ.c (Tcl_SubstObj):	Corrected and added test for
sl@0
  4678
	* tests/subst.test (subst-2.4):		Tcl_SubstObj's incorrect
sl@0
  4679
	halting of substitution at the first \x00 byte. [Bug 685106]
sl@0
  4680
sl@0
  4681
	* generic/tclInterp.c (Tcl_InterpObjCmd):	Corrected and added
sl@0
  4682
	* tests/interp.test (interp-2.13):		test for option
sl@0
  4683
	parsing beyond objc for [interp create --].  Thanks to Marco Maggi.
sl@0
  4684
	[Bug 702383]
sl@0
  4685
sl@0
  4686
2003-03-11  Kevin Kenny  <kennykb@users.sourceforge.net>
sl@0
  4687
sl@0
  4688
	* win/makefile.vc: Added two missing uses of $(DBGX) so that
sl@0
  4689
	tclpip8x.dll loads without panicking on Win9x.
sl@0
  4690
sl@0
  4691
2003-03-08  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4692
sl@0
  4693
	* doc/tcltest.n:  Added missing "-body" to example.  Thanks to
sl@0
  4694
	Helmut Giese. [Bug 700011]
sl@0
  4695
sl@0
  4696
2003-03-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4697
sl@0
  4698
	* generic/TclUtf.c (Tcl_UniCharNcasecmp):	Corrected failure to
sl@0
  4699
	* tests/utf.test (utf-25.*):	properly compare Unicode strings of
sl@0
  4700
	different case in a case insensitive manner. [Bug 699042]
sl@0
  4701
sl@0
  4702
2003-03-03  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4703
sl@0
  4704
	*** 8.4.2 TAGGED FOR RELEASE ***
sl@0
  4705
sl@0
  4706
2003-03-03  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  4707
sl@0
  4708
	Mac OS Classic specific fixes:
sl@0
  4709
	* generic/tclIOUtil.c (TclNewFSPathObj): on TCL_PLATFORM_MAC,
sl@0
  4710
	skip potential directory separator at the beginning of addStrRep.
sl@0
  4711
	* mac/tclMacChan.c (OpenFileChannel, CommonWatch): followup
sl@0
  4712
	fixes to cut and splice implementation for file channels.
sl@0
  4713
	* mac/tclMacFile.c (TclpUtime): pass native path to utime().
sl@0
  4714
	* mac/tclMacFile.c (TclpObjLink): correctly implemented creation
sl@0
  4715
	of alias files via new static proc CreateAliasFile().
sl@0
  4716
	* mac/tclMacPort.h: define S_ISLNK macro to fix stat'ing of links.
sl@0
  4717
	* mac/tclMacUtil.c (FSpLocationFromPathAlias): fix to enable
sl@0
  4718
	stat'ing of broken links.
sl@0
  4719
sl@0
  4720
2003-03-03  Kevin Kenny  <kennykb@users.sourceforge.net>
sl@0
  4721
sl@0
  4722
	* win/Makefile.vc: corrected bug introduced by 'g' for debug builds.
sl@0
  4723
sl@0
  4724
2003-03-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4725
sl@0
  4726
	* library/dde/pkgIndex.tcl:	dde bumped to version 1.2.1 for
sl@0
  4727
	* win/tclWinDde.c:		bundled release with Tcl 8.4.2
sl@0
  4728
sl@0
  4729
	* library/reg/pkgIndex.tcl:	registry bumped to version 1.1.1 for
sl@0
  4730
	* win/tclWinReg.c:		bundled release with Tcl 8.4.2
sl@0
  4731
sl@0
  4732
	* library/opt/pkgIndex.tcl:	updated package index to version 0.4.4
sl@0
  4733
sl@0
  4734
2003-02-28  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4735
sl@0
  4736
	* win/configure:
sl@0
  4737
	* win/configure.in: check for 'g' for debug build type, not 'd'.
sl@0
  4738
	* win/rules.vc (DBGX): correct to use 'g' for nmake win makefile
sl@0
  4739
	to match the cygwin makefile for debug builds. [Bug 635107]
sl@0
  4740
sl@0
  4741
2003-02-28  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  4742
sl@0
  4743
	* doc/file.n: subcommand is 'file volumes' not 'file volume'
sl@0
  4744
sl@0
  4745
2003-02-27  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4746
sl@0
  4747
	* generic/tclIOUtil.c (MakeFsPathFromRelative): removed dead code
sl@0
  4748
	check of typePtr (darley).
sl@0
  4749
sl@0
  4750
	* tests/winTime.test: added note about PCI hardware dependency
sl@0
  4751
	issues with high performance clock.
sl@0
  4752
sl@0
  4753
2003-02-27  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4754
sl@0
  4755
	* tests/lsearch.test (lsearch-10.7):
sl@0
  4756
	* generic/tclCmdIL.c (Tcl_LsearchObjCmd): Stopped -start option from
sl@0
  4757
	causing an option when used with an empty list. [Bug 694232]
sl@0
  4758
sl@0
  4759
2003-02-26  Chengye Mao <chengye.geo@yahoo.com>
sl@0
  4760
sl@0
  4761
	* win/tclWinInit.c: fixed a bug in TclpSetVariables by initializing
sl@0
  4762
	dwUserNameLen with the sizeof(szUserName) before calling GetUserName.
sl@0
  4763
	Don't know if this bug has been recorded: it caused crash in starting
sl@0
  4764
	Tcl or wish in Windows.
sl@0
  4765
sl@0
  4766
2003-02-26  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4767
sl@0
  4768
	* generic/tclCmdMZ.c (TraceCommandProc): Fix mem leak when
sl@0
  4769
	deleting a command that had trace on it. [Bug 693564] (sofer)
sl@0
  4770
sl@0
  4771
2003-02-25  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4772
sl@0
  4773
	* doc/pkgMkIndex.n:	Modified [pkg_mkIndex] to use -nocase matching
sl@0
  4774
	* library/package.tcl:	of -load patterns, to better accomodate
sl@0
  4775
	common user errors due to confusion between [package names] names
sl@0
  4776
	and [info loaded] names.
sl@0
  4777
sl@0
  4778
2003-02-25  Andreas Kupries  <andreask@activestate.com>
sl@0
  4779
sl@0
  4780
	* tests/pid.test: See below [Bug 678412].
sl@0
  4781
	* tests/io.test: Made more robust against spaces in paths [Bug 678400]
sl@0
  4782
sl@0
  4783
2003-02-25  Miguel Sofer <msofer@users.sf.net>
sl@0
  4784
sl@0
  4785
	* tests/execute.test: cleaning up testobj's at the end, to avoid leak
sl@0
  4786
	warning by valgrind.
sl@0
  4787
sl@0
  4788
2003-02-22  Zoran Vasiljevic  <zoran@archiwrae.com>
sl@0
  4789
sl@0
  4790
	* generic/tclEvent.c (Tcl_FinalizeThread): Fix [Bug 571002]
sl@0
  4791
sl@0
  4792
2003-02-21  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4793
sl@0
  4794
	* tests/binary.test (binary-44.[34]):
sl@0
  4795
	* generic/tclBinary.c (ScanNumber): Fixed problem with unwanted
sl@0
  4796
	sign-bit propagation when scanning wide ints. [Bug 690774]
sl@0
  4797
sl@0
  4798
2003-02-21  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  4799
sl@0
  4800
	* mac/tclMacChan.c (TclpCutFileChannel, TclpSpliceFileChannel):
sl@0
  4801
	Implemented missing cut and splice procs for file channels.
sl@0
  4802
sl@0
  4803
2003-02-21  Don Porter  <dgp@users.sourceforge.net>
sl@0
  4804
sl@0
  4805
	* library/package.tcl (tclPkgUnknown):	Minor performance tweaks to
sl@0
  4806
	reduce the number of [file] invocations. Meant to improve startup
sl@0
  4807
	times, at least a little bit. [Patch 687906]
sl@0
  4808
sl@0
  4809
2003-02-20  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  4810
sl@0
  4811
	* unix/tcl.m4:
sl@0
  4812
	* unix/tclUnixPipe.c: (macosx) use vfork() instead of fork() to create
sl@0
  4813
	new processes, as recommended by Apple (vfork can be up to 100 times
sl@0
  4814
	faster thank fork on macosx).
sl@0
  4815
	* unix/configure: regen.
sl@0
  4816
sl@0
  4817
2003-02-20  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4818
sl@0
  4819
	* generic/tclEncoding.c (LoadTableEncoding):
sl@0
  4820
	* library/encoding/cp932.enc:	   Correct jis round-trip encoding
sl@0
  4821
	* library/encoding/euc-jp.enc:	   by adding 'R' type to .enc files.
sl@0
  4822
	* library/encoding/iso2022-jp.enc: [Patch 689341] (koboyasi, taguchi)
sl@0
  4823
	* library/encoding/jis0208.enc:
sl@0
  4824
	* library/encoding/shiftjis.enc:
sl@0
  4825
	* tests/encoding.test:
sl@0
  4826
sl@0
  4827
	* unix/tclUnixChan.c (Tcl_MakeTcpClientChannel): add
sl@0
  4828
	MakeTcpClientChannelMode that takes actual mode flags to avoid
sl@0
  4829
	hang on OS X (may be OS X bug, but patch works x-plat).
sl@0
  4830
	[Bug 689835] (steffen)
sl@0
  4831
sl@0
  4832
2003-02-20  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  4833
sl@0
  4834
	* doc/regsub.n: Typo fix [Bug 688943]
sl@0
  4835
sl@0
  4836
2003-02-19  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4837
sl@0
  4838
	* unix/tclUnixThrd.c (TclpReaddir):
sl@0
  4839
	* unix/tclUnixPort.h: update to Bug 689100 patch to ensure that
sl@0
  4840
	there is a defined value of MAXNAMLEN (aka NAME_MAX in POSIX) and
sl@0
  4841
	that we have some buffer allocated.
sl@0
  4842
sl@0
  4843
2003-02-19  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  4844
sl@0
  4845
	* generic/tclStringObj.c: restored Tcl_SetObjLength() side-effect of
sl@0
  4846
	always invalidating unicode rep (if the obj has a string rep). Added
sl@0
  4847
	hasUnicode flag to String struct, allows decoupling of validity of
sl@0
  4848
	unicode rep from buffer size allocated to it (improves memory
sl@0
  4849
	allocation efficiency). [Bugs 686782, 671138, 635200]
sl@0
  4850
sl@0
  4851
	* macosx/Tcl.pbproj/project.pbxproj:
sl@0
  4852
	* macosx/Makefile: reworked embedded build to no longer require
sl@0
  4853
	relinking but to use install_name_tool instead to change the
sl@0
  4854
	install_names for embedded frameworks. [Bug 644510]
sl@0
  4855
sl@0
  4856
	* macosx/Tcl.pbproj/project.pbxproj: preserve mod dates when running
sl@0
  4857
	'make install' to build framework (avoids bogus rebuilds of dependent
sl@0
  4858
	frameworks because tcl headers appear changed).
sl@0
  4859
sl@0
  4860
	* tests/ioCmd.test (iocmd-1.8): fix failure when system encoding is
sl@0
  4861
	utf-8: use iso8859-1 encoding explicitly.
sl@0
  4862
sl@0
  4863
2003-02-18  Miguel Sofer <msofer@users.sf.net>
sl@0
  4864
sl@0
  4865
	* generic/tclCompile.c (TclCompileExprWords): remove unused variable
sl@0
  4866
	"range" [Bug 664743]
sl@0
  4867
	* generic/tclExecute.c (ExprSrandFunc): remove unused variable
sl@0
  4868
	"result" [Bug 664743]
sl@0
  4869
	* generic/tclStringObj.c (UpdateStringOfString): remove unused
sl@0
  4870
	variable "length" [Bug 664751]
sl@0
  4871
	* tests/execute.test (execute-7.30): fix for [Bug 664775]
sl@0
  4872
sl@0
  4873
2003-02-18  Andreas Kupries  <andreask@activestate.com>
sl@0
  4874
sl@0
  4875
	* unix/tcl.m4: [Bug 651811] Added definition of _XOPEN_SOURCE and
sl@0
  4876
	linkage of 'xnet' library to HP 11 branch. This kills a lot of
sl@0
  4877
	socket-related failures in the testsuite when Tcl was compiled in 64
sl@0
  4878
	bit mode (both PA-RISC 2.0W, and IA 64).
sl@0
  4879
sl@0
  4880
	* unix/configure: Regenerated.
sl@0
  4881
sl@0
  4882
2003-02-18  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4883
sl@0
  4884
	* generic/tclIO.c (HaveVersion): correctly decl static
sl@0
  4885
sl@0
  4886
	* unix/tclUnixThrd.c (TclpReaddir): reduce size of name string in
sl@0
  4887
	tsd to NAME_MAX instead of PATH_MAX. [Bug 689100] (waters)
sl@0
  4888
sl@0
  4889
2003-02-18  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  4890
sl@0
  4891
	* unix/configure: Regen.
sl@0
  4892
	* unix/tcl.m4 (SC_ENABLE_THREADS): Make sure -lpthread gets passed on
sl@0
  4893
	the link line when checking for the pthread_attr_setstacksize symbol.
sl@0
  4894
sl@0
  4895
2003-02-18  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  4896
sl@0
  4897
	* generic/tclTest.c: cleanup of new 'simplefs' test code, and better
sl@0
  4898
	documentation.
sl@0
  4899
sl@0
  4900
2003-02-17  Miguel Sofer <msofer@users.sf.net>
sl@0
  4901
sl@0
  4902
	* generic/tclBasic.c (TclRenameCommand): fixing error in previous
sl@0
  4903
	commit.
sl@0
  4904
sl@0
  4905
2003-02-17  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4906
sl@0
  4907
	* generic/tclExecute.c (TclExecuteByteCode INST_STR_MATCH):
sl@0
  4908
	* generic/tclCmdMZ.c (Tcl_StringObjCmd STR_MATCH):
sl@0
  4909
	* generic/tclUtf.c (TclUniCharMatch):
sl@0
  4910
	* generic/tclInt.decls:	 add private TclUniCharMatch function that
sl@0
  4911
	* generic/tclIntDecls.h: does string match on counted unicode
sl@0
  4912
	* generic/tclStubInit.c: strings.  Tcl_UniCharCaseMatch has the
sl@0
  4913
	* tests/string.test:	 failing that it can't handle strings or
sl@0
  4914
	* tests/stringComp.test: patterns with embedded NULLs.	Added
sl@0
  4915
	tests that actually try strings/pats with NULLs.  TclUniCharMatch
sl@0
  4916
	should be TIPed and made public in the next minor version rev.
sl@0
  4917
sl@0
  4918
2003-02-17  Miguel Sofer <msofer@users.sf.net>
sl@0
  4919
sl@0
  4920
	* generic/tclBasic.c (TclRenameCommand): 'oldFullName' object was not
sl@0
  4921
	being freed on all function exits, causing a memory leak. [Bug 684756]
sl@0
  4922
sl@0
  4923
2003-02-17  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  4924
sl@0
  4925
	* generic/tclIO.c (Tcl_GetsObj): Minor change so that eol is only
sl@0
  4926
	assigned at the top of the TCL_TRANSLATE_AUTO case block. The other
sl@0
  4927
	cases assign eol so this does not change any functionality.
sl@0
  4928
sl@0
  4929
2003-02-17  Kevin Kenny  <kennykb@users.sourceforge.net>
sl@0
  4930
sl@0
  4931
	* tests/notify.test: Removed Windows line terminators. [Bug 687913].
sl@0
  4932
sl@0
  4933
2003-02-15  Miguel Sofer <msofer@users.sf.net>
sl@0
  4934
sl@0
  4935
	* generic/tclBasic.c (Tcl_EvalEx):
sl@0
  4936
	* generic/tclCompExpr.c (CompileSubExpr):
sl@0
  4937
	* generic/tclCompile.c (TclCompileScript):
sl@0
  4938
	* generic/tclParse.c (Tcl_ParseCommand, ParseTokens):
sl@0
  4939
	* generic/tclParseExpr.c (ParsePrimaryExpr):
sl@0
  4940
	* tests/basic.test (47.1):
sl@0
  4941
	* tests/main.test (3.4):
sl@0
  4942
	* tests/misc.test (1.2):
sl@0
  4943
	* tests/parse.test (6.18):
sl@0
  4944
	* tests/parseExpr.test (15.35):
sl@0
  4945
	* tests/subst.test (8.6): Don Porter's fix for bad parsing of
sl@0
  4946
	nested scripts [Bug 681841].
sl@0
  4947
sl@0
  4948
2003-02-15  Kevin Kenny  <kennykb@users.sourceforge.net>
sl@0
  4949
sl@0
  4950
	* tests/notify.test (new-file):
sl@0
  4951
	* generic/tclTest.c (TclTest_Init, EventtestObjCmd, EventtestProc,
sl@0
  4952
	(EventTestDeleteProc):
sl@0
  4953
	* generic/tclNotify.c (Tcl_DeleteEvents): Fixed Tcl_DeleteEvents
sl@0
  4954
	not to get a pointer smash when deleting the last event in the
sl@0
  4955
	queue. Added test code in 'tcltest' and a new file of test cases
sl@0
  4956
	'notify.test' to exercise this functionality; several of the new
sl@0
  4957
	test cases fail for the original code and pass for the corrected
sl@0
  4958
	code. [Bug 673714]
sl@0
  4959
sl@0
  4960
	* unix/tclUnixTest.c (TestfilehandlerCmd): Corrected a couple
sl@0
  4961
	of typos in error messages. [Bug 596027]
sl@0
  4962
sl@0
  4963
2003-02-14  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  4964
sl@0
  4965
	* README:		Bumped to version 8.4.2.
sl@0
  4966
	* generic/tcl.h:
sl@0
  4967
	* tools/tcl.wse.in:
sl@0
  4968
	* unix/configure:
sl@0
  4969
	* unix/configure.in:
sl@0
  4970
	* unix/tcl.m4:
sl@0
  4971
	* unix/tcl.spec:
sl@0
  4972
	* win/README.binary:
sl@0
  4973
	* win/configure:
sl@0
  4974
	* win/configure.in:
sl@0
  4975
	* macosx/Tcl.pbproj/project.pbxproj:
sl@0
  4976
sl@0
  4977
	* generic/tclStringObj.c (Tcl_GetCharLength): perf tweak
sl@0
  4978
sl@0
  4979
	* unix/tcl.m4: correct HP-UX ia64 --enable-64bit build flags
sl@0
  4980
sl@0
  4981
2003-02-14  Kevin Kenny  <kennykb@users.sourceforge.net>
sl@0
  4982
sl@0
  4983
	* win/tclWinTime.c: Added code to test and compensate for forward
sl@0
  4984
	leaps of the performance counter. See the MSDN Knowledge Base article
sl@0
  4985
	Q274323 for the hardware problem that makes this necessary on certain
sl@0
  4986
	machines.
sl@0
  4987
	* tests/winTime.test: Revised winTime-2.1 - it had a tolerance of
sl@0
  4988
	thousands of seconds, rather than milliseconds. (What's six orders of
sl@0
  4989
	magnitude among friends?
sl@0
  4990
sl@0
  4991
	Both the above changes are triggered by a problem reported at
sl@0
  4992
	http://aspn.activestate.com/ASPN/Mail/Message/ActiveTcl/1536811
sl@0
  4993
	although the developers find it difficult to believe that it accounts
sl@0
  4994
	for the observed behavior and suspect a fault in the RTC chip.
sl@0
  4995
sl@0
  4996
2003-02-13  Kevin Kenny  <kennykb@users.sourceforge.net>
sl@0
  4997
sl@0
  4998
	* win/tclWinInit.c: Added conversion from the system encoding to
sl@0
  4999
	tcl_platform(user), so that it works with non-ASCII7 user names. [Bug
sl@0
  5000
	685926]
sl@0
  5001
sl@0
  5002
	* doc/tclsh.1: Added language to describe the handling of the
sl@0
  5003
	end-of-file character \u001a embedded in a script file. [Bug 685485]
sl@0
  5004
sl@0
  5005
2003-02-11  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5006
sl@0
  5007
	* tests/fileName.test:
sl@0
  5008
	* unix/tclUnixFile.c: fix for [Bug 685445] when using 'glob -l' on
sl@0
  5009
	broken symbolic links. Added two new tests for this bug.
sl@0
  5010
sl@0
  5011
2003-02-11  Kevin Kenny  <kennykb@users.sourceforge.net>
sl@0
  5012
sl@0
  5013
	* tests/http.test: Corrected a problem where http-4.14 would fail when
sl@0
  5014
	run in an environment with a proxy server. Replaced references to
sl@0
  5015
	scriptics.com by tcl.tk.
sl@0
  5016
sl@0
  5017
2003-02-11  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5018
sl@0
  5019
	* tests/lsearch.test:
sl@0
  5020
	* generic/tclCmdIL.c (Tcl_LsearchObjCmd): protect against the case
sl@0
  5021
	that lsearch -regepx list and pattern objects are equal.
sl@0
  5022
sl@0
  5023
	* tests/stringObj.test:
sl@0
  5024
	* generic/tclStringObj.c (Tcl_GetCharLength): correct ascii char
sl@0
  5025
	opt of 2002-11-11 to not stop early on \x00. [Bug 684699]
sl@0
  5026
sl@0
  5027
	* tests.parse.test: remove excess EOF whitespace
sl@0
  5028
sl@0
  5029
	* generic/tclParse.c (CommandComplete): more paranoid check to
sl@0
  5030
	break on (p >= end) instead of just (p == end).
sl@0
  5031
sl@0
  5032
2003-02-11  Miguel Sofer <msofer@users.sf.net>
sl@0
  5033
sl@0
  5034
	* generic/tclParse.c (CommandComplete):
sl@0
  5035
	* tests/parse.test: fix for [Bug 684744], by Don Porter.
sl@0
  5036
sl@0
  5037
2003-02-11  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5038
sl@0
  5039
	* generic/tclIOUtil.c (Tcl_FSJoinPath, Tcl_FSGetNormalizedPath):
sl@0
  5040
	(UpdateStringOfFsPath): revert the cwdLen == 0 check and instead
sl@0
  5041
	follow a different code path in Tcl_FSJoinPath.
sl@0
  5042
	(Tcl_FSConvertToPathType, Tcl_FSGetNormalizedPath):
sl@0
  5043
	(Tcl_FSGetFileSystemForPath): Update string rep of path objects
sl@0
  5044
	before freeing the internal object. (darley)
sl@0
  5045
sl@0
  5046
	* tests/fileSystem.test: added test 8.3
sl@0
  5047
	* generic/tclIOUtil.c (Tcl_FSGetNormalizedPath):
sl@0
  5048
	(UpdateStringOfFsPath): handle the cwdLen == 0 case
sl@0
  5049
sl@0
  5050
	* unix/tclUnixFile.c (TclpMatchInDirectory): simplify the hidden
sl@0
  5051
	file match check.
sl@0
  5052
sl@0
  5053
2003-02-10  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5054
sl@0
  5055
	* win/configure:
sl@0
  5056
	* win/configure.in: Generate error when attempting to build under
sl@0
  5057
	Cygwin. The Cygwin port of Tcl/Tk does not build and people are filing
sl@0
  5058
	bug reports under the mistaken impression that someone is actually
sl@0
  5059
	maintaining the Cygwin port. A post to comp.lang.tcl asking someone to
sl@0
  5060
	volunteer as an area maintainer has generated no results. Closing
sl@0
  5061
	[Bugs 680840, 630199, 634772] and marking as "Won't fix".
sl@0
  5062
sl@0
  5063
2003-02-10  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  5064
sl@0
  5065
	* doc/append.n: Return value was not documented. [Bug 683188]
sl@0
  5066
sl@0
  5067
2003-02-10  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5068
sl@0
  5069
	* doc/FileSystem.3:
sl@0
  5070
	* generic/tclIOUtil.c:
sl@0
  5071
	* generic/tclInt.h:
sl@0
  5072
	* tests/fileSystem.test:
sl@0
  5073
	* unix/tclUnixFCmd.c:
sl@0
  5074
	* unix/tclUnixFile.c:
sl@0
  5075
	* win/tclWinFile.c: further filesystem optimization, applying
sl@0
  5076
	[Patch 682500]. In particular, these code examples are faster now:
sl@0
  5077
	    foreach f $flist { if {[file exists $f]} {file stat $f arr;...}}
sl@0
  5078
	    foreach f [glob -dir $dir *] { # action and/or recursion on $f }
sl@0
  5079
	    cd $dir
sl@0
  5080
	    foreach f [glob *] { # action and/or recursion on $f }
sl@0
  5081
	    cd ..
sl@0
  5082
sl@0
  5083
	* generic/tclTest.c: Fix for [Bug 683181] where test suite left files
sl@0
  5084
	in 'tmp'.
sl@0
  5085
sl@0
  5086
2003-02-08  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5087
sl@0
  5088
	* library/safe.tcl: code cleanup of eval and string comp use.
sl@0
  5089
sl@0
  5090
2003-02-07  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5091
sl@0
  5092
	* win/tclWinFCmd.c: cleanup long lines
sl@0
  5093
	* win/tclWinFile.c: sped up pure 'glob' by a factor of 2.5 ('foreach f
sl@0
  5094
	[glob *] { file exists $f }' is still slow)
sl@0
  5095
	* tests/fileSystem.text:
sl@0
  5096
	* tests/fileName.test: added new tests to ensure correct behaviour in
sl@0
  5097
	optimized filesystem code.
sl@0
  5098
sl@0
  5099
2003-02-07  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5100
sl@0
  5101
	* generic/tclTest.c:
sl@0
  5102
	* tests/fileSystem.text: fixed test 7.2 to avoid a possible crash, and
sl@0
  5103
	not change the pwd.
sl@0
  5104
sl@0
  5105
	* tests/http.text: added comment to test 4.15, that it may fail if you
sl@0
  5106
	use a proxy server.
sl@0
  5107
sl@0
  5108
2003-02-06  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5109
sl@0
  5110
	* generic/tclCompCmds.c (TclCompileIncrCmd):
sl@0
  5111
	* tests/incr.test: Don't include the text "(increment expression)" in
sl@0
  5112
	the errorInfo generated by the compiled version of the incr command
sl@0
  5113
	since it does not match the message generated by the non-compiled
sl@0
  5114
	version of incr. It is also not possible to match this error output
sl@0
  5115
	under Jacl, which does not support a compiler.
sl@0
  5116
sl@0
  5117
2003-02-06  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5118
sl@0
  5119
	* generic/tclExecute.c (TclExecuteByteCode): When an error is
sl@0
  5120
	encountered reading the increment value during a compiled call to
sl@0
  5121
	incr, add a "(reading increment)" error string to the errorInfo
sl@0
  5122
	variable. This makes the errorInfo variable set by the compiled incr
sl@0
  5123
	command match the value set by the non-compiled version.
sl@0
  5124
	* tests/incr-old.test: Change errorInfo result for the compiled incr
sl@0
  5125
	command case to match the modified implementation.
sl@0
  5126
	* tests/incr.test: Add tests to make sure the compiled and
sl@0
  5127
	non-compiled errorInfo messages are the same.
sl@0
  5128
sl@0
  5129
2003-02-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
  5130
sl@0
  5131
	* library/tcltest/tcltest.tcl:	Filename arguments to [outputChannel]
sl@0
  5132
	and [errorChannel] (also -outfile and -errfile) were [open]ed but
sl@0
  5133
	never [closed]. Also, [cleanupTests] could remove output or error
sl@0
  5134
	files. [Bug 676978].
sl@0
  5135
	* library/tcltest/pkgIndex.tcl: Bumped to version 2.2.2.
sl@0
  5136
sl@0
  5137
2003-02-05  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5138
sl@0
  5139
	* tests/interp.test:
sl@0
  5140
	* tests/set-old.test: Run test cases that depend on hash order through
sl@0
  5141
	lsort so that the tests also pass under Jacl. Does not change test
sl@0
  5142
	results under Tcl.
sl@0
  5143
sl@0
  5144
2003-02-04  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5145
sl@0
  5146
	* generic/tclIOUtil.c:
sl@0
  5147
	* generic/tclEvent.c:
sl@0
  5148
	* generic/tclInt.h:
sl@0
  5149
	* mac/tclMacFCmd.c:
sl@0
  5150
	* unix/tclUnixFCmd.c:
sl@0
  5151
	* win/tclWin32Dll.c:
sl@0
  5152
	* win/tclWinFCmd.c:
sl@0
  5153
	* win/tclWinInit.c:
sl@0
  5154
	* win/tclWinInt.h:
sl@0
  5155
	* tests/fileSystem.test: fix to finalization/unloading/encoding issues
sl@0
  5156
	to make filesystem much less dependent on encodings for its cleanup,
sl@0
  5157
	and therefore allow it to be finalized later in the exit process. This
sl@0
  5158
	fixes fileSystem.test-7.1. Also fixed one more bug in setting of
sl@0
  5159
	modification dates of files which have undergone cross-platform
sl@0
  5160
	copies. [Patch 676271]
sl@0
  5161
sl@0
  5162
	* tests/basic.test:
sl@0
  5163
	* tests/exec.test:
sl@0
  5164
	* tests/fileName.test:
sl@0
  5165
	* tests/io.test: fixed some test failures when tests are run from a
sl@0
  5166
	directory containing spaces.
sl@0
  5167
sl@0
  5168
	* tests/fileSystem.test:
sl@0
  5169
	* generic/tclTest.c: added regression test for the modification
sl@0
  5170
	date setting of cross-platform file copies.
sl@0
  5171
sl@0
  5172
2003-02-03  Kevin Kenny  <kennykb@users.sourceforge.net>
sl@0
  5173
sl@0
  5174
	* generic/tclBasic.c: Changed [trace add command] so that 'rename'
sl@0
  5175
	callbacks get fully qualified names of the command. [Bug 651271].
sl@0
  5176
	***POTENTIAL INCOMPATIBILITY***
sl@0
  5177
	* tests/trace.test: Modified the test cases for [trace add command] to
sl@0
  5178
	expect fully qualified names on the 'rename' callbacks. Added a case
sl@0
  5179
	for renaming a proc within a namespace.
sl@0
  5180
	* doc/trace.n: Added language about use of fully qualified names in
sl@0
  5181
	trace callbacks.
sl@0
  5182
sl@0
  5183
2003-02-01  Kevin Kenny  <kennykb@users.sourceforge.net>
sl@0
  5184
sl@0
  5185
	* generic/tclCompCmds.c: Removed an unused variable that caused
sl@0
  5186
	compiler warnings on SGI. [Bug 664379]
sl@0
  5187
sl@0
  5188
	* generic/tclLoad.c: Changed the code so that if Tcl_StaticPackage is
sl@0
  5189
	called to report the same package as being loaded in two interps, it
sl@0
  5190
	shows up in [info loaded {}] in both of them (previously, it didn't
sl@0
  5191
	appear in the static package list in the second.
sl@0
  5192
sl@0
  5193
	* tests/load.test Added regression test for the above bug. [Bug
sl@0
  5194
	670042]
sl@0
  5195
sl@0
  5196
	* generic/tclClock.c: Fixed a bug that incorrectly allowed [clock
sl@0
  5197
	clicks {}] and [clock clicks -] to be accepted as if they were [clock
sl@0
  5198
	clicks -milliseconds].
sl@0
  5199
sl@0
  5200
	* tests/clock.test: Added regression tests for the above bug. [Bug
sl@0
  5201
	675356]
sl@0
  5202
sl@0
  5203
	* tests/unixNotfy.test: Added cleanup of working files [Bug 675609]
sl@0
  5204
sl@0
  5205
	* doc/Tcl.n: Added headings to the eleven paragraphs, to improve
sl@0
  5206
	formatting in the tools that attempt to extract tables of contents
sl@0
  5207
	from the manual pages. [Bug 627455]
sl@0
  5208
sl@0
  5209
	* generic/tclClock.c: Expanded mutex protection around the setting of
sl@0
  5210
	env(TZ) and the thread-unsafe call to tzset(). [Bug 656660]
sl@0
  5211
sl@0
  5212
2003-01-31  Don Porter  <dgp@users.sourceforge.net>
sl@0
  5213
sl@0
  5214
	* tests/tcltest.test: Cleaned up management of file/directory
sl@0
  5215
	creation/deletion to improve "-debug 1" output. [Bug 675614] The
sl@0
  5216
	utility [slave] command failed to properly [list]-quote a constructed
sl@0
  5217
	[open] command, causing failure when the pathname contained
sl@0
  5218
	whitespace. [Bug 678415]
sl@0
  5219
sl@0
  5220
	* tests/main.test: Stopped main.test from deleting existing file.
sl@0
  5221
	Test suite should not delete files that already exist. [Bug 675660]
sl@0
  5222
sl@0
  5223
2003-01-28  Don Porter  <dgp@users.sourceforge.net>
sl@0
  5224
sl@0
  5225
	* tests/main.test: Constrain tests that do not work on Windows. [Bug
sl@0
  5226
	674387]
sl@0
  5227
sl@0
  5228
2003-01-28  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5229
sl@0
  5230
	* generic/tclIOUtil.c: fix to setting modification date in
sl@0
  5231
	TclCrossFilesystemCopy. Also added 'panic' in
sl@0
  5232
	Tcl_FSGetFileSystemForPath under illegal calling circumstances which
sl@0
  5233
	lead to hard-to-track-down bugs.
sl@0
  5234
sl@0
  5235
	* generic/tclTest.c: added test suite code to allow exercising a
sl@0
  5236
	vfs-crash-on-exit bug in Tcl's finalization caused by the encodings
sl@0
  5237
	being cleaned up before unloading occurs.
sl@0
  5238
	* tests/fileSystem.test: added new 'knownBug' test 7.1 to demonstrate
sl@0
  5239
	the crash on exit.
sl@0
  5240
sl@0
  5241
2003-01-28  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5242
sl@0
  5243
	* generic/tcl.h: Add TCL_PREFIX_IDENT and TCL_DEBUG_IDENT, used only
sl@0
  5244
	by TclpCreateProcess.
sl@0
  5245
	* unix/Makefile.in: Define TCL_DBGX.
sl@0
  5246
	* win/Makefile.in: Define TCL_DBGX.
sl@0
  5247
	* win/tclWinPipe.c (TclpCreateProcess): Check that the Tcl pipe dll
sl@0
  5248
	actually exists in the Tcl bin directory and panic if it is not
sl@0
  5249
	found. Incorporate TCL_DBGX into the Tcl pipe dll name. This fixes a
sl@0
  5250
	really mysterious error that would show up when exec'ing a 16 bit
sl@0
  5251
	application under Win95 or Win98 when Tcl was compiled with symbols.
sl@0
  5252
	The error seemed to indicate that the executable could not be found,
sl@0
  5253
	but it was actually the Tcl pipe dll that could not be found.
sl@0
  5254
sl@0
  5255
2003-01-26  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5256
sl@0
  5257
	* win/README: Update msys+mingw URL to release 6. This version bundles
sl@0
  5258
	gcc 3.
sl@0
  5259
sl@0
  5260
2003-01-26  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5261
sl@0
  5262
	* win/configure: Regen.
sl@0
  5263
	* win/configure.in: Add test that checks to see if the compiler can
sl@0
  5264
	cast to a union type.
sl@0
  5265
	* win/tclWinTime.c: Squelch compiler warning about union initializer
sl@0
  5266
	by casting to union type when compiling with gcc.
sl@0
  5267
sl@0
  5268
2003-01-25  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5269
sl@0
  5270
	* generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel): Invoke
sl@0
  5271
	TclpCutFileChannel and TclpSpliceFileChannel.
sl@0
  5272
	* generic/tclInt.h: Declare TclpCutFileChannel and
sl@0
  5273
	TclpSpliceFileChannel.
sl@0
  5274
	* unix/tclUnixChan.c (FileCloseProc, TclpOpenFileChannel,
sl@0
  5275
	(Tcl_MakeFileChannel, TclpCutFileChannel,
sl@0
  5276
	(TclpSpliceFileChannel): Implement thread load data cut and splice for
sl@0
  5277
	file channels. This avoids an invalid memory ref when compiled with
sl@0
  5278
	-DDEPRECATED.
sl@0
  5279
	* win/tclWinChan.c (FileCloseProc, TclpCutFileChannel,
sl@0
  5280
	(TclpSpliceFileChannel): Implement thread load data cut and splice for
sl@0
  5281
	file channels. This avoids an invalid memory ref that was showing up
sl@0
  5282
	in the thread extension.
sl@0
  5283
sl@0
  5284
2003-01-25  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5285
sl@0
  5286
	* win/tclWin32Dll.c (TclpCheckStackSpace, squelch_warnings):
sl@0
  5287
	* win/tclWinChan.c (Tcl_MakeFileChannel, squelch_warnings):
sl@0
  5288
	* win/tclWinFCmd.c (DoRenameFile, DoCopyFile, squelch_warnings):
sl@0
  5289
	Re-implement inline ASM SEH handlers for gcc. The esp and ebp
sl@0
  5290
	registers are now saved on the stack instead of in global variables so
sl@0
  5291
	that the code is thread safe. Add additional checks when TCL_MEM_DEBUG
sl@0
  5292
	is defined to be sure the values were recovered from the stack
sl@0
  5293
	properly. Remove squelch_warnings functions and add a dummy call in
sl@0
  5294
	the handler methods to squelch compiler warnings.
sl@0
  5295
sl@0
  5296
2003-01-25  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5297
sl@0
  5298
	* win/configure:
sl@0
  5299
	* win/configure.in: Define HAVE_ALLOCA_GCC_INLINE when we detect that
sl@0
  5300
	no alloca function is found in malloc.h and we are compiling with
sl@0
  5301
	GCC. Remove HAVE_NO_ALLOC_DECL define.
sl@0
  5302
	* win/tclWin32Dll.c (TclpCheckStackSpace): Don't define alloca as a
sl@0
  5303
	cdecl function. Doing this caused a tricky runtime bug because the
sl@0
  5304
	_alloca function expects the size argument to be passed in a register
sl@0
  5305
	and not on the stack. To fix this problem, we use inline ASM when
sl@0
  5306
	compiling with gcc to invoke _alloca with the size argument loaded
sl@0
  5307
	into a register.
sl@0
  5308
sl@0
  5309
2003-01-24  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5310
sl@0
  5311
	* win/tclWinDde.c (Dde_Init): clarified use of tsdPtr.
sl@0
  5312
	(DdeServerProc): better refcount handling of returnPackagePtr.
sl@0
  5313
sl@0
  5314
	* generic/tclEvent.c (Tcl_Finalize): revert finalize change on
sl@0
  5315
	2002-12-04 to correct the issue with extensions that have TSD needing
sl@0
  5316
	to finalize that before they are unloaded. This issue needs further
sl@0
  5317
	clarification.
sl@0
  5318
sl@0
  5319
	* tests/unixFCmd.test: only do groups check on unix
sl@0
  5320
sl@0
  5321
2003-01-24  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5322
sl@0
  5323
	* generic/tclStringObj.c: proper fixes for Tcl_SetObjLength and
sl@0
  5324
	Tcl_AttemptSetObjectLength dealing with string objects with both
sl@0
  5325
	pure-unicode and normal internal representations. Previous fix didn't
sl@0
  5326
	handle all cases correctly.
sl@0
  5327
	* generic/tclIO.c: Add 'Tcl_GetString()' to ensure the object has a
sl@0
  5328
	valid 'objPtr->bytes' field before manipulating it directly.
sl@0
  5329
sl@0
  5330
	This fixes [Bug 635200] and [Bug 671138], but may reduce performance
sl@0
  5331
	of Unicode string handling in some cases. A further patch will be
sl@0
  5332
	applied to address this, once the code is known to be correct.
sl@0
  5333
sl@0
  5334
2003-01-24  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5335
sl@0
  5336
	* win/configure: Regen.
sl@0
  5337
	* win/configure.in: Add test to see if alloca is undefined in
sl@0
  5338
	malloc.h.
sl@0
  5339
	* win/tclWin32Dll.c (TclpCheckStackSpace): Rework the SEH exception
sl@0
  5340
	handler logic to avoid using the stack since alloca will modify the
sl@0
  5341
	stack. This was causing a nasty bug that would set the exception
sl@0
  5342
	handler to 0 because it tried to pop the previous exception handler
sl@0
  5343
	off the top of the stack.
sl@0
  5344
sl@0
  5345
2003-01-23  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  5346
sl@0
  5347
	* doc/lset.n: Fixed fault in return values from lset in documentation
sl@0
  5348
	examples [Bug 658463] and tidied up a bit at the same time.
sl@0
  5349
sl@0
  5350
2003-01-21  Joe English  <jenglish@users.sourceforge.net>
sl@0
  5351
	* doc/namespace.n (namespace inscope): Clarified documentation
sl@0
  5352
	[Patch 670110]
sl@0
  5353
sl@0
  5354
2003-01-21  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5355
sl@0
  5356
	* win/configure: Regen.
sl@0
  5357
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Set SHLIB_SUFFIX so that
sl@0
  5358
	TCL_SHLIB_SUFFIX will be set to a useful value in the generated
sl@0
  5359
	tclConfig.sh. Set SHLIB_LD_LIBS to "" or '${LIBS}' based on the
sl@0
  5360
	--enable-shared flag. This matches the UNIX implementation.
sl@0
  5361
sl@0
  5362
2003-01-18  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5363
sl@0
  5364
	* generic/tclCkalloc.c: change %ud to %u as appropriate.
sl@0
  5365
sl@0
  5366
2003-01-17  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5367
sl@0
  5368
	* win/tclWinDde.c (DdeServerProc): Deallocate the Tcl_Obj returned by
sl@0
  5369
	ExecuteRemoteObject if it was not saved in a connection object.
sl@0
  5370
sl@0
  5371
2003-01-17  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5372
sl@0
  5373
	* generic/tcl.h: Revert earlier change that defined TCL_WIDE_INT_TYPE
sl@0
  5374
	as long long and TCL_LL_MODIFIER as L when compiling with mingw. This
sl@0
  5375
	change ended up causing some test case failures when compiling with
sl@0
  5376
	mingw.
sl@0
  5377
	* generic/tclObj.c (UpdateStringOfWideInt): Describe the warning
sl@0
  5378
	generated by mingw and why it needs to be ignored so that someone is
sl@0
  5379
	not tempted to "fix" this problem again in the future.
sl@0
  5380
sl@0
  5381
2003-01-16  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5382
sl@0
  5383
	* generic/tclStringObj.c: Tcl_SetObjLength fix for when the object has
sl@0
  5384
	a unicode string rep. Fixes [Bug 635200]
sl@0
  5385
	* tests/stringObj.test: removed 'knownBug' constraint from test 14.1
sl@0
  5386
	now that this bug is fixed.
sl@0
  5387
sl@0
  5388
	* generic/tclInt.h:
sl@0
  5389
	* generic/tclBasic.c:
sl@0
  5390
	* generic/tclCmdMZ.z:
sl@0
  5391
	* tests/trace.test: execution and command tracing bug fixes and
sl@0
  5392
	cleanup. In particular fixed [Bugs 655645, 615043, 571385]
sl@0
  5393
	  - fixed some subtle cleanup problems with tracing. This required
sl@0
  5394
	    replacing Tcl_Preserve/Tcl_Release with a more robust refCount
sl@0
  5395
	    approach. Solves at least one known crash caused by memory
sl@0
  5396
	    corruption.
sl@0
  5397
	  - fixed some confusion in the code between new style traces (Tcl
sl@0
  5398
	    8.4) and the very limited 'Tcl_CreateTrace' which existed before.
sl@0
  5399
	  - made behaviour consistent with documentation (several tests even
sl@0
  5400
	    contradicted the documentation before).
sl@0
  5401
	  - fixed some minor error message details
sl@0
  5402
	  - added a number of new tests
sl@0
  5403
sl@0
  5404
2003-01-16  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5405
sl@0
  5406
	* win/tclWinSerial.c (SerialOutputProc): add casts for bytesWritten to
sl@0
  5407
	allow strict compilation (no warnings).
sl@0
  5408
sl@0
  5409
	* tests/winDde.test:
sl@0
  5410
	* win/tclWinDde.c (Tcl_DdeObjCmd): Prevent crash when empty service
sl@0
  5411
	name is passed to 'dde eval' and goto errorNoResult in request and
sl@0
  5412
	poke error cases to free up any allocated data.
sl@0
  5413
sl@0
  5414
2003-01-16  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5415
sl@0
  5416
	* win/tclWin32Dll.c (squelch_warnings): Squelch compiler warnings from
sl@0
  5417
	SEH ASM code.
sl@0
  5418
	* win/tclWinChan.c (squelch_warnings): Squelch compiler warnings from
sl@0
  5419
	SEH ASM code.
sl@0
  5420
	* win/tclWinDde.c: Add casts to avoid compiler warnings. Pass pointer
sl@0
  5421
	to DWORD instead of int to avoid compiler warnings.
sl@0
  5422
	* win/tclWinFCmd.c (squelch_warnings): Add casts and fixup decls to
sl@0
  5423
	avoid compiler warnings. Squelch compiler warnings from SEH ASM code.
sl@0
  5424
	* win/tclWinFile.c: Add casts and fixup decls to avoid compiler
sl@0
  5425
	warnings. Remove unused variable.
sl@0
  5426
	* win/tclWinNotify.c: Declare as DWORD instead of int to avoid
sl@0
  5427
	compiler warning.
sl@0
  5428
	* win/tclWinReg.c: Add casts to avoid compiler warning. Fix assignment
sl@0
  5429
	in if expression bug.
sl@0
  5430
	* win/tclWinSerial.c: Add casts to avoid compiler warnings. Remove
sl@0
  5431
	unused variable.
sl@0
  5432
	* win/tclWinSock.c: Add casts and fixup decls to avoid compiler
sl@0
  5433
	warnings.
sl@0
  5434
sl@0
  5435
2003-01-14  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5436
sl@0
  5437
	* generic/tclClock.c (FormatClock): corrected typo that incorrectly
sl@0
  5438
	conditionally defined savedTZEnv and savedTimeZone.
sl@0
  5439
sl@0
  5440
2003-01-13  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5441
sl@0
  5442
	Fix mingw build problems and compiler warnings.
sl@0
  5443
sl@0
  5444
	* generic/tcl.h: Add if defined(__MINGW32__) check to code that sets
sl@0
  5445
	the TCL_WIDE_INT_TYPE and TCL_LL_MODIFIER.
sl@0
  5446
	* generic/tclClock.c (FormatClock): Don't define savedTimeZone and
sl@0
  5447
	savedTZEnv if we are not going to use them.
sl@0
  5448
	* generic/tclEnv.c: Add cast to avoid warning.
sl@0
  5449
	* win/tclWinChan.c: Use DWORD instead of int to avoid compiler warning
sl@0
  5450
	* win/tclWinThrd.c: Only define allocLock, allocLockPtr, and dataKey
sl@0
  5451
	when TCL_THREADS is defined. This avoid a compiler warning about
sl@0
  5452
	unused variables.
sl@0
  5453
sl@0
  5454
2003-01-12  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5455
sl@0
  5456
	* win/README: Update msys + mingw URL, the new release includes the
sl@0
  5457
	released 1.0.8 version of msys which includes a number of bug fixes.
sl@0
  5458
sl@0
  5459
2003-01-12  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5460
sl@0
  5461
	* win/configure: Regen.
sl@0
  5462
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Pull in addition of shell32.lib to
sl@0
  5463
	LIBS_GUI that was added to the Tk tcl.m4 but never made it back into
sl@0
  5464
	the Tcl version.
sl@0
  5465
sl@0
  5466
2003-01-12  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5467
sl@0
  5468
	* generic/tcl.h: Skip Tcl's define of CHAR, SHORT, and LONG when
sl@0
  5469
	HAVE_WINNT_IGNORE_VOID is defined. This avoids a bunch of compiler
sl@0
  5470
	warnings when building with Cygwin or Mingw.
sl@0
  5471
	* win/configure: Regen.
sl@0
  5472
	* win/configure.in: Define HAVE_WINNT_IGNORE_VOID when we detect a
sl@0
  5473
	winnt.h that still defines CHAR, SHORT, and LONG when VOID has already
sl@0
  5474
	been defined.
sl@0
  5475
	* win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst the TCL_DEFS loaded from
sl@0
  5476
	tclConfig.sh so that Tcl defines can make it into the Tk Makefile.
sl@0
  5477
sl@0
  5478
2003-01-12  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5479
sl@0
  5480
	* win/configure: Regen.
sl@0
  5481
	* win/configure.in: Check for typedefs like LPFN_ACCEPT in winsock2.h
sl@0
  5482
	and define HAVE_NO_LPFN_DECLS if not found.
sl@0
  5483
	* win/tclWinSock.c: Define LPFN_* typedefs if HAVE_NO_LPFN_DECLS is
sl@0
  5484
	defined. This fixes the build under Mingw and Cygwin, it was broken by
sl@0
  5485
	the changes made on 2002-11-26.
sl@0
  5486
sl@0
  5487
2003-01-10  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5488
sl@0
  5489
	* generic/tclIOUtil.c:
sl@0
  5490
	* win/tclWinInt.h:
sl@0
  5491
	* win/tclWinInit.c: fix to new WinTcl crash on exit with vfs,
sl@0
  5492
	introduced on 2002-12-06. Encodings must be cleaned up after the
sl@0
  5493
	filesystem.
sl@0
  5494
sl@0
  5495
	* win/makefile.vc: fix to minor VC++ 5.2 syntax problem
sl@0
  5496
sl@0
  5497
2003-01-09  Don Porter  <dgp@users.sourceforge.net>
sl@0
  5498
sl@0
  5499
	* generic/tclCompCmds.c (TclCompilerReturnCmd): Corrected off-by-one
sl@0
  5500
	problem with recent commit. [Bug 633204]
sl@0
  5501
sl@0
  5502
2003-01-09  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5503
sl@0
  5504
	* generic/tclFileName.c: remove unused variable 'macSpecialCase' [Bug
sl@0
  5505
	664749]
sl@0
  5506
sl@0
  5507
	* generic/tclIOUtil.c:
sl@0
  5508
	* generic/tclInt.h:
sl@0
  5509
	* unix/tclUnixFile.c:
sl@0
  5510
	* mac/tclMacFile.c:
sl@0
  5511
	* win/tclWinFile.c:
sl@0
  5512
	* win/tclWinInt.h:
sl@0
  5513
	* win/tclWin32Dll.c:
sl@0
  5514
	* tests/cmdAH.test: fix to non-ascii chars in paths when setting mtime
sl@0
  5515
	and atime through 'file (a|m)time $path $time'. [Bug 634151]
sl@0
  5516
sl@0
  5517
2003-01-08  Don Porter  <dgp@users.sourceforge.net>
sl@0
  5518
sl@0
  5519
	* generic/tclExecute.c (TclExprFloatError): Use the IS_NAN macro for
sl@0
  5520
	greater clarity of code.
sl@0
  5521
sl@0
  5522
2003-01-07  Don Porter  <dgp@users.sourceforge.net>
sl@0
  5523
sl@0
  5524
	* generic/tclCompCmds.c (TclCompileReturnCmd):
sl@0
  5525
	* tests/compile.test:	Corrects failure of bytecompiled [catch
sl@0
  5526
	{return}] to have result TCL_RETURN (not TCL_OK) [Bug 633204]. This
sl@0
  5527
	patch is a workaround for 8.4.X. A new opcode INST_RETURN is a better
sl@0
  5528
	long term solution for 8.5 and later.
sl@0
  5529
sl@0
  5530
2003-01-04  David Gravereaux  <davygrvy@pobox.com>
sl@0
  5531
sl@0
  5532
	* win/makefile.vc:
sl@0
  5533
	* win/rules.vc: Fixed INSTALLDIR macro problem that blanked itself by
sl@0
  5534
	accident causing the install target to put the tree at the root of the
sl@0
  5535
	drive built on. Whoops..
sl@0
  5536
sl@0
  5537
	Renamed the 'linkexten' option to be 'staticpkg'. Added 'thrdalloc' to
sl@0
  5538
	allow the switching _on_ of the thread allocator. Under testing, I
sl@0
  5539
	found it not to be benificial under windows for the purpose of the
sl@0
  5540
	application I was using it for. It was more important for this app
sl@0
  5541
	that resources for tcl threads be returned to the system rather than
sl@0
  5542
	saved/moved to the global recycler. Be extra clean or extra fast for
sl@0
  5543
	the default threaded build? Let's move to clean and allow it to be
sl@0
  5544
	switched on for users who find it benificial for their use of threads.
sl@0
  5545
sl@0
  5546
2002-12-18  David Gravereaux  <davygrvy@pobox.com>
sl@0
  5547
sl@0
  5548
	* win/makefile.vc: some uses of xcopy swapped to the @$(CPY) macro.
sl@0
  5549
	Reported by Joe Mistachkin <joe@mistachkin.com>.
sl@0
  5550
sl@0
  5551
2002-12-17  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5552
sl@0
  5553
	* generic/tclNotify.c (TclFinalizeNotifier, Tcl_SetServiceMode):
sl@0
  5554
	(Tcl_ThreadAlert): Check that the stub functions are non-NULL before
sl@0
  5555
	calling them. They could be set to NULL by Tcl_SetNotifier.
sl@0
  5556
sl@0
  5557
2002-12-16  David Gravereaux  <davygrvy@pobox.com>
sl@0
  5558
sl@0
  5559
	* generic/tclPipe.c (TclCleanupChildren):
sl@0
  5560
	* tests/winPipe.test:
sl@0
  5561
	* win/tclWinPipe.c (Tcl_WaitPid):
sl@0
  5562
	* win/tclWinTest.c:  Gave Tcl_WaitPid the ability to return a Win32
sl@0
  5563
	exception code translated into a posix style SIG*. This allows [close]
sl@0
  5564
	to report "CHILDKILLED" without the meaning getting lost in a
sl@0
  5565
	truncated exit code. In TclCleanupChildren(), TclpGetPid() had to get
sl@0
  5566
	moved to before Tcl_WaitPid() as the the handle is removed from the
sl@0
  5567
	list taking away the ability to get the process id after the wait is
sl@0
  5568
	done. This shouldn't effect the unix implimentaion unless waitpid is
sl@0
  5569
	called with a pid of zero, meaning "any". I don't think it is..
sl@0
  5570
sl@0
  5571
2002-12-13  Don Porter  <dgp@users.sourceforge.net>
sl@0
  5572
sl@0
  5573
	* unix/configure.in:	Updated configure of CVS snapshots to reflect
sl@0
  5574
	* win/configure.in:	the 8.4.1.1 patchlevel.
sl@0
  5575
sl@0
  5576
	* unix/configure:	autoconf
sl@0
  5577
	* win/configure		autoconf
sl@0
  5578
sl@0
  5579
2002-12-11  Don Porter  <dgp@users.sourceforge.net>
sl@0
  5580
sl@0
  5581
	* generic/tclProc.c (ProcessProcResultCode): Fix failure to propagate
sl@0
  5582
	negative return codes up the call stack. [Bug 647307]
sl@0
  5583
	* tests/proc.test (proc-6.1): Test for Bug 647307
sl@0
  5584
sl@0
  5585
	* generic/tclParseExpr.c (TclParseInteger):  Return 1 for the
sl@0
  5586
	string "0x" (recognize leading "0" as an integer). [Bug 648441].
sl@0
  5587
	* tests/parseExpr.test (parseExpr-19.1): Test for Bug 648441.
sl@0
  5588
sl@0
  5589
2002-12-09  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5590
sl@0
  5591
	* win/tclWinThrd.c (TclpMasterUnlock):
sl@0
  5592
	* generic/tclThread.c (TclFinalizeThreadData): TclpMasterUnlock must
sl@0
  5593
	exist and be called unconditional of TCL_THREADS. [Bug 651139]
sl@0
  5594
sl@0
  5595
2002-12-08  David Gravereaux  <davygrvy@pobox.com>
sl@0
  5596
sl@0
  5597
	* win/tclWinSock.c (SocketThreadExitHandler, InitSockets):  Check that
sl@0
  5598
	the tsdPtr is valid before dereferencing as we call it from the exit
sl@0
  5599
	handler, too [Bug 650353]. Another WSAStartup() loaded version
sl@0
  5600
	comparison byte swap issue fixed. Although 0x0101 byte swapped is
sl@0
  5601
	still 0x0101, properly claiming which is major/minor is more correct.
sl@0
  5602
sl@0
  5603
2002-12-06  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5604
sl@0
  5605
	* generic/tclStubInit.c: regen
sl@0
  5606
	* generic/tclIntPlatDecls.h: regen
sl@0
  5607
	* generic/tclInt.decls: added TclWinResetInterface
sl@0
  5608
sl@0
  5609
	* win/tclWin32Dll.c (TclWinResetInterfaces):
sl@0
  5610
	* win/tclWinInit.c (TclpSetInitialEncodings, WinEncodingsCleanup):
sl@0
  5611
	add exit handler that resets the encoding information to a state where
sl@0
  5612
	we can reuse Tcl. Following these changes, it is possible to reuse Tcl
sl@0
  5613
	(following Tcl_FindExecutable or Tcl_CreateInterp) following a
sl@0
  5614
	Tcl_Finalize.
sl@0
  5615
sl@0
  5616
	* generic/tclIOUtil.c (TclFinalizeFilesystem): reset statics to their
sl@0
  5617
	original values on finalize to allow reuse of the library.
sl@0
  5618
sl@0
  5619
2002-12-04  David Gravereaux  <davygrvy@pobox.com>
sl@0
  5620
sl@0
  5621
	* win/tclWinPipe.c: reverted back to -r1.27 due to numerous test
sl@0
  5622
	failures that need to be resolved first. The idea was good, but the
sl@0
  5623
	details aren't.
sl@0
  5624
sl@0
  5625
2002-12-04  David Gravereaux  <davygrvy@pobox.com>
sl@0
  5626
sl@0
  5627
	* win/tclWinPipe.c (Tcl_WaitPid): When a process exits with an
sl@0
  5628
	exception, pass this notice on to the caller with a SIG* code rather
sl@0
  5629
	than truncating the exit code and missing the meaning.  This allows
sl@0
  5630
	TclCleanupChildren() to report "CHILDKILLED".
sl@0
  5631
sl@0
  5632
	This has a different behavior than unix in that closing the read pipe
sl@0
  5633
	to a process sends the SIGPIPE signal which is returned as a SIGPIPE
sl@0
  5634
	exit status.  On windows, we send the process a CTRL_BREAK_EVENT and
sl@0
  5635
	get back a CONTROL_C_EXIT which is documented to mean a SIGINT which
sl@0
  5636
	seems wrong as a system, but is the correct exit status.
sl@0
  5637
sl@0
  5638
2002-12-04  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5639
sl@0
  5640
	* generic/tclIOUtil.c: fix to redirected 'load' in virtual filesystem
sl@0
  5641
	for some Unix systems.
sl@0
  5642
sl@0
  5643
	* generic/tclEvent.c: the filesystem must be cleaned up before the
sl@0
  5644
	encoding subsystem because it needs access to encodings. Fixes crash
sl@0
  5645
	on exit observed in embedded applications.
sl@0
  5646
sl@0
  5647
	* generic/tclTestObj.c: patch omitted from previous change of
sl@0
  5648
	2002-11-13
sl@0
  5649
sl@0
  5650
2002-12-03  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5651
sl@0
  5652
	* generic/tclStubLib.c (Tcl_InitStubs): prevent the cached check of
sl@0
  5653
	tclStubsPtr to allow for repeated load/unload of the Tcl dll by
sl@0
  5654
	hosting apps. [Bug 615304]
sl@0
  5655
sl@0
  5656
2002-12-03  David Gravereaux  <davygrvy@pobox.com>
sl@0
  5657
sl@0
  5658
	* win/tclAppInit.c (sigHandler): Protect from trying to close a NULL
sl@0
  5659
	handle.
sl@0
  5660
sl@0
  5661
	* win/tclWinPipe.c (PipeClose2Proc, TclpCreateProcess): Send a real
sl@0
  5662
	Win32 signal (CTRL_C_EVENT) when the read channel is brought down to
sl@0
  5663
	alert the child to close on its side. Start the process with
sl@0
  5664
	CREATE_NEW_PROCESS_GROUP to allow the ability to send these signals.
sl@0
  5665
	The following test case now brings down the child without the use of
sl@0
  5666
	an external [kill] command.
sl@0
  5667
sl@0
  5668
		% set p [open "|[info name]" w+]
sl@0
  5669
		file8d5380
sl@0
  5670
		% pid $p
sl@0
  5671
		2876
sl@0
  5672
		% close $p     <- now doesn't block in Tcl_WaitPid()
sl@0
  5673
		%
sl@0
  5674
sl@0
  5675
	* win/tclWinPipe.c (PipeClose2Proc): Changed CTRL_C_EVENT to
sl@0
  5676
	CTRL_BREAK_EVENT as it can't be ignored by the child and proved to
sl@0
  5677
	work on [open "|netstat 1" w+] where CTRL_C_EVENT didn't.
sl@0
  5678
sl@0
  5679
2002-11-27  David Gravereaux  <davygrvy@pobox.com>
sl@0
  5680
sl@0
  5681
	* win/tclWinPort.h: Don't turn off winsock prototypes! TclX didn't
sl@0
  5682
	like it. Even though the core doesn't use the prototypes, do offer
sl@0
  5683
	them.
sl@0
  5684
sl@0
  5685
	* win/tclWinSock.c: Removed shutdown() from the function table as it
sl@0
  5686
	wasn't referenced anywhere and cleaned-up some casting that that
sl@0
  5687
	wasn't needed.
sl@0
  5688
sl@0
  5689
	* win/tclWinSock.c: WSAStartup() loaded version comparison error which
sl@0
  5690
	resulted in 2.0 looking less than 1.1.
sl@0
  5691
sl@0
  5692
	* win/tclWinChan.c (Tcl_MakeFileChannel): return of DuplicateHandle()
sl@0
  5693
	incorrectly used [Bug 618852].
sl@0
  5694
sl@0
  5695
2002-11-26  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5696
sl@0
  5697
	* generic/tclEncoding.c (TclFinalizeEncodingSubsystem): properly
sl@0
  5698
	cleanup all encodings by using Tcl_FirstHashEntry in the while loop.
sl@0
  5699
sl@0
  5700
	* unix/Makefile.in (valgrind): add simple valgrind target
sl@0
  5701
sl@0
  5702
	* tests/exec.test: unset path var to allow singleproc testing
sl@0
  5703
sl@0
  5704
	* generic/tclInterp.c (AliasCreate): preserve/release interps to
sl@0
  5705
	prevent possible FMR error in bad alias cases.
sl@0
  5706
sl@0
  5707
2002-11-26  David Gravereaux  <davygrvy@pobox.com>
sl@0
  5708
sl@0
  5709
	* win/tclWinPort.h:
sl@0
  5710
	* win/tclWinSock.c:  This patch does two things:
sl@0
  5711
sl@0
  5712
	1) Cleans-up the winsock typedefs by using the typedefs provided by
sl@0
  5713
	winsock2.h. This has no effect on how winsock is initialized; just
sl@0
  5714
	makes the source code easier to read. [Patch 561305, 561301]
sl@0
  5715
sl@0
  5716
	2) Revamps how the socket message handler thread is brought up and
sl@0
  5717
	down to allow for cleaner exits without the use of TerminateThread().
sl@0
  5718
	TerminateThread is evil. No attempt has been made to resolve [Bug
sl@0
  5719
	593810] which may need a new channel driver version for adding a
sl@0
  5720
	registering function within the transfered thread to init the handler
sl@0
  5721
	thread. IOW, initialization of the TSD structure is getting bypassed
sl@0
  5722
	through the thread extension's [thread::transfer] command.
sl@0
  5723
sl@0
  5724
2002-11-26  David Gravereaux  <davygrvy@pobox.com>
sl@0
  5725
sl@0
  5726
	* win/tclWinConsole.c:
sl@0
  5727
	* win/tclWinPipe.c:
sl@0
  5728
	* win/tclWinSerial.c:
sl@0
  5729
	* win/tclWinSock.c:
sl@0
  5730
	* win/tclWinThrd.c:
sl@0
  5731
	* win/tclWinTime.c: General cleanup of all worker threads used by the
sl@0
  5732
	channel drivers. Eliminates the normal case where the worker thread is
sl@0
  5733
	terminated ('cept the winsock one). Instead, use kernel events to
sl@0
  5734
	signal a clean exit. Only when the worker thread is blocked on an I/O
sl@0
  5735
	call is the thread terminated. Essentially, this makes all other
sl@0
  5736
	channel worker threads behave like the PipeReaderThread() function for
sl@0
  5737
	it's cleaner exit behavior. This appears to fix [Bug 597924] but needs
sl@0
  5738
	3rd party confirmation to close the issue.
sl@0
  5739
sl@0
  5740
2002-11-26  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5741
sl@0
  5742
	* win/README: Update msys build env URL. This release #4 build both
sl@0
  5743
	tcl and tk without problems.
sl@0
  5744
sl@0
  5745
2002-11-22  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5746
sl@0
  5747
	* library/init.tcl:	    code cleanup to reduce use of
sl@0
  5748
	* library/opt/optparse.tcl: string compare
sl@0
  5749
sl@0
  5750
	* tests/interp.test: interp-14.4
sl@0
  5751
	* generic/tclInterp.c (TclPreventAliasLoop): prevent seg fault when
sl@0
  5752
	creating an alias command over the interp name. [Bug 641195]
sl@0
  5753
sl@0
  5754
2002-11-18  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5755
sl@0
  5756
	* generic/tclUtil.c (SetEndOffsetFromAny): handle integer offset
sl@0
  5757
	after the "end-" prefix.
sl@0
  5758
sl@0
  5759
	* generic/get.test:
sl@0
  5760
	* generic/string.test:
sl@0
  5761
	* generic/tclObj.c (SetIntFromAny, SetWideIntFromAny):
sl@0
  5762
	* generic/tclGet.c (TclGetLong, Tcl_GetInt): simplify sign handling
sl@0
  5763
	before calling strtoul(l). [Bug 634856]
sl@0
  5764
sl@0
  5765
2002-11-18  David Gravereaux  <davygrvy@pobox.com>
sl@0
  5766
sl@0
  5767
	* win/tclWinThrd.c (Tcl_CreateThread/TclpThreadExit): Fixed improper
sl@0
  5768
	compiler macros that missed the VC++ compiler. This resulted in VC++
sl@0
  5769
	builds using CreateThread()/ExitThread() in place of the proper
sl@0
  5770
	_beginthreadex()/_endthreadex(). This was a large error and am
sl@0
  5771
	surprised I missed seeing it earlier.
sl@0
  5772
sl@0
  5773
2002-11-13  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5774
sl@0
  5775
	* generic/regexpComp.test: added tests 22.*
sl@0
  5776
	* generic/tclCompCmds.c (TclCompileRegexpCmd): add left and right
sl@0
  5777
	anchoring (^ and $) recognition and check starting or ending .* to
sl@0
  5778
	extend the number of REs that can be compiled to string match or
sl@0
  5779
	string equal.
sl@0
  5780
sl@0
  5781
2002-11-13  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5782
sl@0
  5783
	* generic/tclCmdMZ.c:
sl@0
  5784
	* tests/trace.test: applied patch from Hemang Levana to fix [Bug
sl@0
  5785
	615043] in execution traces with 'return -code error'.
sl@0
  5786
sl@0
  5787
	* generic/tclTestObj.c:
sl@0
  5788
	* tests/stringObj.test: added 'knownBug' test for [Bug 635200]
sl@0
  5789
	* generic/tclStringObj.c: corrected typos in comments
sl@0
  5790
sl@0
  5791
	* generic/tclFileName.c:
sl@0
  5792
	* tests/fileName.test: applied patch for bug reported against tclvfs
sl@0
  5793
	concerning handling of Windows serial ports like 'com1', 'lpt3' by the
sl@0
  5794
	virtual filesystem code.
sl@0
  5795
sl@0
  5796
	* doc/RegExp.3: clarification of the 'extendMatch' return values.
sl@0
  5797
sl@0
  5798
2002-11-11  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5799
sl@0
  5800
	* generic/tclUtil.c (Tcl_Backslash): use TclUtfToUniChar.
sl@0
  5801
	(Tcl_StringCaseMatch): use TclUtfToUniChar and add further
sl@0
  5802
	optimizations for the one-byte/char case.
sl@0
  5803
sl@0
  5804
	* generic/tclUtf.c: make use of TclUtfToUniChar macro throughout the
sl@0
  5805
	functions, and add extra optimization to Tcl_NumUtfChars for
sl@0
  5806
	one-byte/char case.
sl@0
  5807
sl@0
  5808
	* generic/tclVar.c (DisposeTraceResult, CallVarTraces): add proper
sl@0
  5809
	static declarations.
sl@0
  5810
sl@0
  5811
	* generic/tclStringObj.c (Tcl_GetCharLength): optimize for the ascii
sl@0
  5812
	char case.
sl@0
  5813
	(Tcl_GetUniChar): remove unnecessary use of Tcl_UtfToUniChar.
sl@0
  5814
	(FillUnicodeRep): Use TclUtfToUniChar.
sl@0
  5815
sl@0
  5816
	* generic/tclHash.c (HashStringKey): move string++ lower to save an
sl@0
  5817
	instruction.
sl@0
  5818
sl@0
  5819
	* generic/tclExecute.c (TclExecuteByteCode): improve INST_STR_CMP to
sl@0
  5820
	use memcmp in the one-byte/char case, also use direct index for
sl@0
  5821
	INST_STR_INDEX in that case.
sl@0
  5822
sl@0
  5823
	* generic/tclEncoding.c (UtfToUtfProc, UtfToUnicodeProc):
sl@0
  5824
	(TableFromUtfProc, EscapeFromUtfProc): Use TclUtfToUniChar.
sl@0
  5825
	(UnicodeToUtfProc, TableToUtfProc): add 1-byte char optimizations
sl@0
  5826
	for Tcl_UniCharToUtf call. These improve encoded channel conversion
sl@0
  5827
	speeds by up to 20%.
sl@0
  5828
sl@0
  5829
	* tests/split.test: added 1-char string split tests
sl@0
  5830
	* generic/tclCmdMZ.c (Tcl_SplitObjCmd): Use TclUtfToUniChar. Also
sl@0
  5831
	added a special case for single-ascii-char splits.
sl@0
  5832
	(Tcl_StringObjCmd): Use TclUtfToUniChar. For STR_RANGE, support
sl@0
  5833
	getting ranges of ByteArrays (reverts change from 2000-05-26).
sl@0
  5834
	(TraceExecutionProc) add proper static declaration.
sl@0
  5835
sl@0
  5836
	* generic/tclInt.h: add macro version of Tcl_UtfToUniChar
sl@0
  5837
	(TclUtfToUniChar) that does the one-byte utf-char check without
sl@0
  5838
	calling Tcl_UtfToUniChar, for use by the core. This brings notable
sl@0
  5839
	speedups for primarily ascii string handling.
sl@0
  5840
sl@0
  5841
	* generic/tcl.h (TCL_PATCH_LEVEL): bump to 8.4.1.1 for patchlevel
sl@0
  5842
	only. This interim number will only be reflected by [info patchlevel]
sl@0
  5843
sl@0
  5844
2002-11-11  Kevin Kenny  <kennykb@acm.org>
sl@0
  5845
sl@0
  5846
	* doc/Tcl.n: Corrected indentation of the new language. Oops.
sl@0
  5847
sl@0
  5848
2002-11-10  Kevin Kenny <kennykb@acm.org>
sl@0
  5849
sl@0
  5850
	* doc/Tcl.n: Added language to the Endekalogue to make it clear that
sl@0
  5851
	substitutions always take place from left to right. [Bug 635644]
sl@0
  5852
sl@0
  5853
2002-11-06  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5854
sl@0
  5855
	* changes: Note TclInExit TclInThreadExit changes.
sl@0
  5856
	* generic/tclEvent.c (TclInExit, TclInThreadExit):
sl@0
  5857
	Split out functionality of TclInExit to make it clear which one should
sl@0
  5858
	be called in each situation.
sl@0
  5859
	* generic/tclInt.decls: Declare TclInThreadExit.
sl@0
  5860
	* generic/tclIntDecls.h: Regen.
sl@0
  5861
	* generic/tclStubInit.c: Regen.
sl@0
  5862
	* mac/tclMacChan.c (StdIOClose):
sl@0
  5863
	* unix/tclUnixChan.c (FileCloseProc):
sl@0
  5864
	* win/tclWinChan.c (FileCloseProc):
sl@0
  5865
	* win/tclWinConsole.c (ConsoleCloseProc):
sl@0
  5866
	* win/tclWinPipe.c (TclpCloseFile):
sl@0
  5867
	* win/tclWinSerial.c (SerialCloseProc): Invoke the new TclInThreadExit
sl@0
  5868
	method instead of TclInExit.
sl@0
  5869
sl@0
  5870
2002-11-06  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  5871
sl@0
  5872
	* unix/configure: Regen.
sl@0
  5873
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Generate a fatal configure error if
sl@0
  5874
	no ar program can be found on the path. [Bug 582039]
sl@0
  5875
	* win/configure: Regen.
sl@0
  5876
	* win/configure.in: Check that AR, RANLIB, and RC are found on the
sl@0
  5877
	path when building with gcc.
sl@0
  5878
sl@0
  5879
2002-11-03  David Gravereaux <davygrvy@pobox.com>
sl@0
  5880
sl@0
  5881
	* win/tclAppInit.c:  Calls Registry_Init() and Dde_Init() when
sl@0
  5882
	STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set.
sl@0
  5883
sl@0
  5884
	* win/makefile.vc:
sl@0
  5885
	* win/rules.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES
sl@0
  5886
	macro which also adds the registry and dde object files to the link
sl@0
  5887
	of the shell. [Patch 479697]  Also factored some additional macros
sl@0
  5888
	that will be helpful for extension authors. Version grepping of tcl.h
sl@0
  5889
	will need to be added to complete this.
sl@0
  5890
sl@0
  5891
	* win/buildall.vc.bat: Added more descriptive commentary.
sl@0
  5892
sl@0
  5893
2002-11-01  David Gravereaux <davygrvy@pobox.com>
sl@0
  5894
sl@0
  5895
	* win/tclWinReg.c: Changed the Tcl_PkgProvide() line to declare the
sl@0
  5896
	registry extension at version 1.1 from 1.0.
sl@0
  5897
sl@0
  5898
2002-10-31  Andreas Kupries  <andreask@activestate.com>
sl@0
  5899
sl@0
  5900
	* library/word.tcl: Changed $tcl_platform to $::tcl_platform to avoid
sl@0
  5901
	possible scope trouble.
sl@0
  5902
sl@0
  5903
2002-10-29  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  5904
sl@0
  5905
	* win/tclWinInt.h:
sl@0
  5906
	* win/tclWin32Dll.c: added comments about certain NULL function
sl@0
  5907
	pointers which will be filled in when Tcl_FindExecutable is called, so
sl@0
  5908
	that users don't report invalid bugs on this topic. (No code changes
sl@0
  5909
	at all).
sl@0
  5910
sl@0
  5911
2002-10-29  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  5912
sl@0
  5913
	* unix/tclLoadDyld.c (TclpFindSymbol): pass all dyld error messages
sl@0
  5914
	upstream [Bug 627546].
sl@0
  5915
sl@0
  5916
2002-10-28  Andreas Kupries  <andreask@activestate.com>
sl@0
  5917
sl@0
  5918
	* library/dde/pkgIndex.tcl:
sl@0
  5919
	* library/reg/pkgIndex.tcl: Changed the hardwired debug suffix (d) to
sl@0
  5920
	the correct suffix (g).
sl@0
  5921
sl@0
  5922
2002-10-28  Don Porter  <dgp@users.sourceforge.net>
sl@0
  5923
sl@0
  5924
	* library/auto.tcl:	Converted the Mac-specific [package unknown]
sl@0
  5925
	* library/init.tcl:	behavior to use a chaining mechanism to extend
sl@0
  5926
	* library/package.tcl:	the default [tclPkgUnknown]. [Bug 627660]
sl@0
  5927
	* library/tclIndex:	[Patch 624509] (steffen)
sl@0
  5928
sl@0
  5929
2002-10-26  David Gravereaux <davygrvy@pobox.com>
sl@0
  5930
sl@0
  5931
	* win/makefile.vc: xcopy on NT 4.0 doesn't support the /Y switch
sl@0
  5932
	(overwrite). Added logic to handle this. [Bug 618019]
sl@0
  5933
sl@0
  5934
2002-10-23  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  5935
sl@0
  5936
	* generic/tclInt.h: Removed definitions of obsolete HistoryEvent and
sl@0
  5937
	HistoryRev structures (the history mechanism has been written in Tcl
sl@0
  5938
	for some time now).
sl@0
  5939
sl@0
  5940
2002-10-22  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5941
sl@0
  5942
	*** 8.4.1 TAGGED FOR RELEASE ***
sl@0
  5943
sl@0
  5944
	* changes: updated for 8.4.1 release
sl@0
  5945
sl@0
  5946
	* win/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst.
sl@0
  5947
	* win/configure: regen
sl@0
  5948
	* win/configure.in: removed SC_ENABLE_MEMDEBUG call
sl@0
  5949
	* win/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
sl@0
  5950
	SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
sl@0
  5951
sl@0
  5952
2002-10-22  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  5953
sl@0
  5954
	* library/auto.tcl (tcl_findLibrary):
sl@0
  5955
	* library/package.tcl (tclPkgUnknown): on macosx, search inside the
sl@0
  5956
	Resources/Scripts subdirectory of any potential package directory
sl@0
  5957
	* macosx/Tcl.pbproj/project.pbxproj: add standard Frameworks dirs to
sl@0
  5958
	TCL_PACKAGE_PATH make argument.
sl@0
  5959
	* unix/tclUnixInit.c (TclpSetVariables): on macosx, add embedded
sl@0
  5960
	framework dirs to tcl_pkgPath: @executable_path/../Frameworks and
sl@0
  5961
	@executable_path/../PrivateFrameworks (if they exist), as well as the
sl@0
  5962
	dirs in DYLD_FRAMEWORK_PATH (if set). [Patch 624509] use standard
sl@0
  5963
	MAXPATHLEN instead of literal 1024
sl@0
  5964
sl@0
  5965
2002-10-22  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  5966
sl@0
  5967
	* doc/StringObj.3, doc/Object.3: Documented that Tcl_Obj's
sl@0
  5968
	standard string form is a modified UTF-8; apparently, this was not
sl@0
  5969
	mentioned anywhere in the main docs, and lead to [Bug 624919].
sl@0
  5970
sl@0
  5971
2002-10-21  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  5972
sl@0
  5973
	* macosx/Tcl.pbproj/project.pbxproj: bumped version to 8.4.1
sl@0
  5974
	* generic/tcl.h: Added reminder comment to edit
sl@0
  5975
	macosx/Tcl.pbproj/project.pbxproj when version number changes.
sl@0
  5976
sl@0
  5977
2002-10-18  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5978
sl@0
  5979
	* library/reg/pkgIndex.tcl:
sl@0
  5980
	* win/configure:
sl@0
  5981
	* win/configure.in:
sl@0
  5982
	* win/Makefile.in:
sl@0
  5983
	* win/makefile.vc:
sl@0
  5984
	* win/makefile.bc:    Updated to reg1.1
sl@0
  5985
sl@0
  5986
	* doc/registry.n:      Added support for broadcasting changes to the
sl@0
  5987
	* tests/registry.test: registry Environment. Noted proper code in ths
sl@0
  5988
	* win/tclWinReg.c:     docs. [Patch 625453]
sl@0
  5989
sl@0
  5990
	* unix/Makefile.in (dist): add any mac/tcl*.sea.hqx files
sl@0
  5991
sl@0
  5992
2002-10-17  Don Porter  <dgp@users.sourceforge.net>
sl@0
  5993
sl@0
  5994
	* generic/tclVar.c:	Fixed code that check for proper # of args to
sl@0
  5995
	* tests/var.test:	[array names]. Added test. [Bug 624755]
sl@0
  5996
sl@0
  5997
2002-10-16  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  5998
sl@0
  5999
	* win/configure:		 add workaround for cygwin windres
sl@0
  6000
	* win/tcl.m4 (SC_CONFIG_CFLAGS): problem. [Patch 624010] (howell)
sl@0
  6001
sl@0
  6002
2002-10-15  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  6003
sl@0
  6004
	* README: added archives.tcl.tk note
sl@0
  6005
sl@0
  6006
	* unix/configure:
sl@0
  6007
	* unix/tcl.m4: Correct AIX-5 ppc build flags. Correct HP 11 64-bit gcc
sl@0
  6008
	building. [Patch 601051] (martin)
sl@0
  6009
sl@0
  6010
2002-10-15  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  6011
sl@0
  6012
	* generic/tclCmdMZ.c:
sl@0
  6013
	* tests/trace.test: applied patch from Hemang Levana to fix [Bug
sl@0
  6014
	615043] in execution traces with idle tasks firing. 
sl@0
  6015
sl@0
  6016
2002-10-14  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  6017
sl@0
  6018
	* generic/tclEnv.c (Tcl_PutEnv): correct possible mem leak.
sl@0
  6019
	[Patch 623269] (brouwers)
sl@0
  6020
sl@0
  6021
2002-10-11  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6022
sl@0
  6023
	* generic/tcl.h: Need a different strategy through the maze of
sl@0
  6024
	#defines to let people building with Cygwin build correctly.  Also
sl@0
  6025
	made some comments less misleading...
sl@0
  6026
sl@0
  6027
2002-10-10  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  6028
sl@0
  6029
	* README: fixed minor nits [Bug 607776] (virden)
sl@0
  6030
sl@0
  6031
	* win/configure:
sl@0
  6032
	* win/tcl.m4: enable USE_THREAD_ALLOC (new threaded allocator) by
sl@0
  6033
	default in cygwin configure on Windows.
sl@0
  6034
sl@0
  6035
2002-10-10  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6036
sl@0
  6037
	* doc/Tcl.n:	Clarified that namespace separators are legal in
sl@0
  6038
			the variable names during $-subtitution. [Bug 615139]
sl@0
  6039
sl@0
  6040
	* doc/regexp.n:	Typo correction.  Thanks Ronnie Brunner. [Bug 606826]
sl@0
  6041
sl@0
  6042
2002-10-10  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  6043
sl@0
  6044
	* unix/tclLoadAout.c
sl@0
  6045
	* unix/tclLoadDl.c
sl@0
  6046
	* unix/tclLoadDld.c
sl@0
  6047
	* unix/tclLoadDyld.c
sl@0
  6048
	* unix/tclLoadNext.c
sl@0
  6049
	* unix/tclLoadOSF.c
sl@0
  6050
	* unix/tclLoadShl.c
sl@0
  6051
	* win/tclWinLoad.c: allow either full paths or simply dll names to be
sl@0
  6052
	specified when loading files (the latter will be looked up by the OS
sl@0
  6053
	on your PATH/LD_LIBRARY_PATH as appropriate). Fixes [Bug 611108]
sl@0
  6054
sl@0
  6055
2002-10-09  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  6056
sl@0
  6057
	* unix/README: doc'ed --enable-symbols options.
sl@0
  6058
	* unix/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst.
sl@0
  6059
	* unix/configure: regen
sl@0
  6060
	* unix/configure.in: removed SC_ENABLE_MEMDEBUG call
sl@0
  6061
	* unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
sl@0
  6062
	SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
sl@0
  6063
sl@0
  6064
2002-10-09  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  6065
sl@0
  6066
	* win/tclWinTime.c: Added code to set an exit handler that terminates
sl@0
  6067
	the thread that calibrates the performance counter, so that the thread
sl@0
  6068
	won't outlive unloading the Tcl DLL. [Bug 620735].
sl@0
  6069
sl@0
  6070
2002-10-09  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6071
sl@0
  6072
	* doc/binary.n: More clarification of [binary scan]'s behaviour.
sl@0
  6073
sl@0
  6074
2002-10-09  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  6075
sl@0
  6076
	* generic/tclIntDecls.h: fixed botched regen.
sl@0
  6077
sl@0
  6078
2002-10-09  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  6079
sl@0
  6080
	* generic/tclInt.decls: made TclSetPreInitScript() declaration
sl@0
  6081
	generic as it is used on mac & aqua as well.
sl@0
  6082
	* generic/tclIntDecls.h:
sl@0
  6083
	* generic/tclStubInit.c: regen.
sl@0
  6084
	* generic/tclCompile.h: added prototype for TclCompileVariableCmd.
sl@0
  6085
sl@0
  6086
	* mac/tclMacPort.h: removed incorrect <fcntl.h> definitions and
sl@0
  6087
	obsolete <stat.h> definitions.
sl@0
  6088
	* mac/tclMacChan.c: removed obsolete GetOpenMode() and replaced
sl@0
  6089
	associated constants with the <fcntl.h> analogues (they existing defs
sl@0
  6090
	were inconsistent with <fcntl.h> which was causing havoc when
sl@0
  6091
	Tcl_GetOpenMode was used instead of private GetOpenMode).
sl@0
  6092
sl@0
  6093
	* mac/tclMacFCmd.c: removed GenerateUniqueName(), use equivalent (and
sl@0
  6094
	identically named) routine from MoreFiles instead.
sl@0
  6095
sl@0
  6096
	* mac/tclMacLoad.c: CONSTification, fixes to Vince's last changes.
sl@0
  6097
sl@0
  6098
	* mac/tclMacFile.c:
sl@0
  6099
	* mac/tclMacTest.c:
sl@0
  6100
	* mac/tclMacUnix.c: CONSTification.
sl@0
  6101
sl@0
  6102
	* mac/tclMacOSA.c: CONSTification, sprintf fixes, UH 3.4.x changes;
sl@0
  6103
	fix for missing autoname token from TclOSACompileCmd. (bdesgraupes)
sl@0
  6104
	* mac/AppleScript.html(AppleScript delete): doc fix. (bdesgraupes)
sl@0
  6105
sl@0
  6106
	* mac/tcltkMacBuildSupport.sea.hqx: updated MoreFiles to 1.5.3,
sl@0
  6107
	updated build instructions for 8.4.
sl@0
  6108
	* mac/tclMacProjects.sea.hqx: rebuilt archive.
sl@0
  6109
sl@0
  6110
2002-10-09  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6111
sl@0
  6112
	* doc/Alloc.3: Added a note to mention that attempting to allocate a
sl@0
  6113
	zero-length block can return NULL. [Tk Bug 619544]
sl@0
  6114
sl@0
  6115
2002-10-04  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6116
sl@0
  6117
	* doc/binary.n: Doc improvements [Patch 616480]
sl@0
  6118
sl@0
  6119
	* tests/fCmd.test, tests/winFCmd.test:
sl@0
  6120
	* tools/eolFix.tcl, tools/genStubs.tcl: [file exist] -> [file exists]
sl@0
  6121
	Thanks to David Welton.
sl@0
  6122
sl@0
  6123
2002-10-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6124
sl@0
  6125
	* doc/tcltest.n: fixed typo [Bug 618018].  Thanks to "JJM".
sl@0
  6126
sl@0
  6127
2002-10-03  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6128
sl@0
  6129
	* tools/man2help2.tcl:
sl@0
  6130
	* tests/http.test, tests/httpd, tests/httpold.test:
sl@0
  6131
	* tests/env.test, tests/binary.test, tests/autoMkindex.test:
sl@0
  6132
	* library/init.tcl, library/http/http.tcl: [info exist] should really
sl@0
  6133
	be [info exists]. [Bug 602566]
sl@0
  6134
sl@0
  6135
	* doc/lsearch.n: Better specification of what happens when -sorted is
sl@0
  6136
	mixed with other options. [Bug 617816]
sl@0
  6137
sl@0
  6138
2002-10-01  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  6139
sl@0
  6140
	* generic/tclProc.c (TclCreateProc): mask out VAR_UNDEFINED for
sl@0
  6141
	precompiled locals to support 8.3 precompiled code.
sl@0
  6142
	(Tcl_ProcObjCmd): correct 2002-09-26 fix to look for tclProcBodyType.
sl@0
  6143
sl@0
  6144
2002-10-01  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6145
sl@0
  6146
	* doc/socket.n: Mentioned that ports may be specified as serivce names
sl@0
  6147
	as well as integers. [Bug 616843]
sl@0
  6148
sl@0
  6149
2002-09-30  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  6150
sl@0
  6151
	* generic/tclCompCmds.c (TclCompileRegexpCmd): correct the checking
sl@0
  6152
	for bad re's that didn't terminate the re string.  Resultant compiles
sl@0
  6153
	were correct, but much slower than necessary.
sl@0
  6154
sl@0
  6155
2002-09-29  David Gravereaux <davygrvy@pobox.com>
sl@0
  6156
sl@0
  6157
	* win/tclAppInit.c: Added proper exiting conditions using Win32
sl@0
  6158
	console signals. This handles the existing lack of a Ctrl+C exit to
sl@0
  6159
	call exit handlers when built for thread support. Also, properly
sl@0
  6160
	handles exits from other conditions such as CTRL_CLOSE_EVENT,
sl@0
  6161
	CTRL_LOGOFF_EVENT, and CTRL_SHUTDOWN_EVENT signals. In all cases, exit
sl@0
  6162
	handlers will be called. [Bug 219355]
sl@0
  6163
sl@0
  6164
	* win/makefile.vc: Added missing tclThreadAlloc.c to the build rules
sl@0
  6165
	and defines USE_THREAD_ALLOC when TCL_THREADS is defined to get the
sl@0
  6166
	new behavior by default.
sl@0
  6167
sl@0
  6168
2002-09-27  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6169
sl@0
  6170
	* README:		Bumped to version 8.4.1 to avoid confusion
sl@0
  6171
	* generic/tcl.h:	of CVS snapshots with the actual 8.4.0
sl@0
  6172
	* tools/tcl.wse.in:	release.
sl@0
  6173
	* unix/configure.in:
sl@0
  6174
	* unix/tcl.spec:
sl@0
  6175
	* win/configure.in:
sl@0
  6176
sl@0
  6177
	* unix/configure:	autoconf
sl@0
  6178
	* win/configure:
sl@0
  6179
sl@0
  6180
2002-09-26  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  6181
sl@0
  6182
	* unix/configure: regen.
sl@0
  6183
	* unix/tcl.m4: improve AIX-4/5 64bit compilation support.
sl@0
  6184
sl@0
  6185
	* generic/tclProc.c (Tcl_ProcObjCmd): correct overeager optimization
sl@0
  6186
	of noop proc to handle the precompiled case. (sofer)
sl@0
  6187
sl@0
  6188
	* unix/ldAix (nmopts): add -X32_64 to make it work for 32 or 64bit
sl@0
  6189
	mode compilation.
sl@0
  6190
sl@0
  6191
	* library/encoding/koi8-u.enc: removed extraneous spaces that confused
sl@0
  6192
	encoding reader. [Bug 615115]
sl@0
  6193
sl@0
  6194
	* unix/Makefile.in: generate source dists with -src designator and do
sl@0
  6195
	not generate .Z anymore (just .gz and .zip).
sl@0
  6196
sl@0
  6197
2002-09-18  Mumit Khan <khan@nanotech.wisc.edu>
sl@0
  6198
sl@0
  6199
	Added basic Cygwin support.
sl@0
  6200
sl@0
  6201
	* win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build.
sl@0
  6202
	(SC_PATH_TKCONFIG): Likewise.
sl@0
  6203
	(SC_PROG_TCLSH): Likewise.
sl@0
  6204
	(SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin
sl@0
  6205
	flags.	Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e
sl@0
  6206
	_WinMain@16'' from LDFLAGS_WINDOW.
sl@0
  6207
	* win/configure.in: Allow Cygwin build.
sl@0
  6208
	(SEH test): Define to be 1 instead of empty value.
sl@0
  6209
	(EXCEPTION_DISPOSITION): Add test.
sl@0
  6210
	* win/configure: Regenerate.
sl@0
  6211
sl@0
  6212
	* generic/tcl.h: Don't explicitly define __WIN32__ for Cygwin, let the
sl@0
  6213
	user decide whether to use Windows or POSIX personality.
sl@0
  6214
	(TCL_WIDE_INT_TYPE, TCL_LL_MODIFIER, struct Tcl_StatBuf): Define for
sl@0
  6215
	Cygwin.
sl@0
  6216
	* generic/tclEnv.c (Tcl_CygwinPutenv): putenv replacement for Cygwin.
sl@0
  6217
	* generic/tclFileName.c (Tcl_TranslateFileName): Convert POSIX to
sl@0
  6218
	native format.
sl@0
  6219
	(TclDoGlob): Likewise.
sl@0
  6220
	* generic/tclPlatDecls.h (TCHAR): Define for Cygwin.
sl@0
  6221
	* win/tclWinPort.h (putenv, TclpSysAlloc, TclpSysFree)
sl@0
  6222
	(TclpSysRealloc): Define for Cygwin.
sl@0
  6223
sl@0
  6224
2002-09-26  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  6225
sl@0
  6226
	* macosx/Makefile: preserve environment value of INSTALL_ROOT. When
sl@0
  6227
	embedding only use deployment build. Force relink before embedded
sl@0
  6228
	build to ensure new linker flags are picked up.
sl@0
  6229
sl@0
  6230
	* macosx/Tcl.pbproj/project.pbxproj: add symbolic links to debug lib,
sl@0
  6231
	stub libs and tclConfig.sh in framework toplevel. Configure target
sl@0
  6232
	dependency fix. Fix to 'clean' action. Added private tcl headers to
sl@0
  6233
	framework. Install tclsh symbolic link. Html doc build works when no
sl@0
  6234
	installed tclsh available. Made html doc structure in framework more
sl@0
  6235
	like in Apple frameworks.
sl@0
  6236
sl@0
  6237
2002-09-24  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6238
sl@0
  6239
	* unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Yet more robust 64-bit value
sl@0
  6240
	detection to close [Bug 613117] on more systems.
sl@0
  6241
sl@0
  6242
	* generic/tclCompile.c (TclPrintSource): More CONSTifying.
sl@0
  6243
	* generic/tclExecute.c (EvalStatsCmd): Object-ify to reduce warnings.
sl@0
  6244
	Thanks to 'CoderX2' on the chat for bringing this to my attention...
sl@0
  6245
sl@0
  6246
	* unix/tcl.m4: Forgot to define TCL_WIDE_INT_IS_LONG at the
sl@0
  6247
	appropriate moment. I believe this is the cause of [Bug 613117]
sl@0
  6248
sl@0
  6249
	* doc/lset.n: Changed 'list' to 'varName' for consistency with lappend
sl@0
  6250
	documentation. Thanks to Glenn Jackman [Bug 611719]
sl@0
  6251
sl@0
  6252
2002-09-22  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6253
sl@0
  6254
	* library/tcltest/tcltest.tcl:	Corrected [puts -nonewline] within
sl@0
  6255
	test bodies. Thanks to Harald Kirsch. [Bug 612786, Patch 612788] Also
sl@0
  6256
	corrected reporting of body return code. Thanks to David Taback [Bug
sl@0
  6257
	611922]
sl@0
  6258
	* library/tcltest/pkgIndex.tcl: Bump to version 2.2.1.
sl@0
  6259
	* tests/tcltest.test: added tests for these bugs.
sl@0
  6260
sl@0
  6261
2002-09-15  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  6262
sl@0
  6263
	* unix/configure: Regen.
sl@0
  6264
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Add PEEK_XCLOSEIM define under
sl@0
  6265
	Linux. This is used by Tk to double check that an X input context is
sl@0
  6266
	cleaned up before it is closed.
sl@0
  6267
sl@0
  6268
2002-09-12  David Gravereaux <davygrvy@pobox.com>
sl@0
  6269
sl@0
  6270
	* win/coffbase.txt: Added BLT to the virtual base address listings
sl@0
  6271
	table should BLT's build tools decide to use it.
sl@0
  6272
sl@0
  6273
2002-09-12  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  6274
sl@0
  6275
	* generic/tcl.h:
sl@0
  6276
	* mac/tclMacApplication.r:
sl@0
  6277
	* mac/tclMacLibrary.r:
sl@0
  6278
	* mac/tclMacResource.r: unified use of the two equivalent resource
sl@0
  6279
	compiler header inclusion defines RC_INVOKED and RESOURCE_INCLUDED,
sl@0
  6280
	now use RC_INVOKED throughout.
sl@0
  6281
sl@0
  6282
2002-09-10  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  6283
sl@0
  6284
	* unix/README: Add note about building extensions with the same
sl@0
  6285
	compiler Tcl was built with. [Tk Bug 592096]
sl@0
  6286
sl@0
  6287
2002-09-10  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  6288
sl@0
  6289
	* macosx/Tcl.pbproj/project.pbxproj: disabled building html
sl@0
  6290
	documentation during embedded build.
sl@0
  6291
sl@0
  6292
2002-09-10  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  6293
sl@0
  6294
	* unix/Makefile.in: added DYLIB_INSTALL_DIR variable for macosx and
sl@0
  6295
	set it to default value ${LIB_RUNTIME_DIR}
sl@0
  6296
	* unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of
sl@0
  6297
	LIB_RUNTIME_DIR in the -install_name argument to ld.
sl@0
  6298
	* unix/configure: regen.
sl@0
  6299
sl@0
  6300
	* macosx/Tcl.pbproj/project.pbxproj:
sl@0
  6301
	* macosx/Makefile: added support for building Tcl as an embedded
sl@0
  6302
	framework, i.e. using an dyld install_name containing
sl@0
  6303
	@executable_path/../Frameworks via the new DYLIB_INSTALL_DIR
sl@0
  6304
	unix/Makefile variable.
sl@0
  6305
sl@0
  6306
2002-09-10  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  6307
sl@0
  6308
	*** 8.4.0 TAGGED FOR RELEASE ***
sl@0
  6309
sl@0
  6310
2002-09-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6311
sl@0
  6312
	* doc/file.n:  Format correction, and clarified [file normalize]
sl@0
  6313
	returns an absolute path.
sl@0
  6314
sl@0
  6315
	* doc/tcltest.n:  Added examples section, as long promised.
sl@0
  6316
sl@0
  6317
2002-09-06  Reinhard Max  <max@suse.de>
sl@0
  6318
sl@0
  6319
	* tests/tcltest.test: Added nonRoot flag to tests 8.3, 8.4, and 8.12.
sl@0
  6320
sl@0
  6321
2002-09-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6322
sl@0
  6323
	* doc/tcltest.n:  Clarified phrasing.
sl@0
  6324
sl@0
  6325
	* generic/tclBasic.c (TclRenameCommand,CallCommandTraces):
sl@0
  6326
	* tests/trace.test (trace-27.1): Corrected memory leak when a rename
sl@0
  6327
	trace deleted the command being traced. Test added. Thanks to Hemang
sl@0
  6328
	Lavana for the fix. [Bug 604609]
sl@0
  6329
sl@0
  6330
	* generic/tclVar.c (TclDeleteVars):  Corrected logic for setting the
sl@0
  6331
	TCL_INTERP_DESTROYED flag when calling variable traces. [Tk Bug 605121]
sl@0
  6332
sl@0
  6333
2002-09-04  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6334
sl@0
  6335
	* generic/tclVar.c (DeleteArray): leak plug [Bug 604239]. Thanks to
sl@0
  6336
	dkf and dgp for the long and difficult discussion in the chat.
sl@0
  6337
sl@0
  6338
2002-09-03  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  6339
sl@0
  6340
	* generic/tclVar.c (Tcl_UpVar2): code cleanup to not use goto
sl@0
  6341
sl@0
  6342
	* unix/configure: remove -pthread from LIBS on FreeBSD in thread
sl@0
  6343
	* unix/tcl.m4:	  enabled build. [Bug 602849]
sl@0
  6344
sl@0
  6345
2002-09-03  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6346
sl@0
  6347
	* generic/tclInterp.c (AliasCreate): a Tcl_Obj was leaked on error
sl@0
  6348
	return from TclPreventAliasLoop.
sl@0
  6349
sl@0
  6350
2002-09-03  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  6351
sl@0
  6352
	* macosx/Tcl.pbproj/project.pbxproj: Bumped version number to 8.4.0
sl@0
  6353
	and updated copyright info.
sl@0
  6354
sl@0
  6355
2002-09-03  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6356
sl@0
  6357
	* generic/tclVar.c (Tcl_UpVar2): a Tcl_Obj was being leaked on error
sl@0
  6358
	return from TclGetFrame.
sl@0
  6359
sl@0
  6360
2002-09-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6361
sl@0
  6362
	* changes:  Updated changes for 8.4.0 release.
sl@0
  6363
sl@0
  6364
2002-09-02  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  6365
sl@0
  6366
	* unix/tclUnixFile.c (TclpObjLink): removed unnecessary/unfreed
sl@0
  6367
	extra native char*.
sl@0
  6368
sl@0
  6369
	* unix/tclUnixChan.c (Tcl_MakeTcpClientChannel): make sure to init
sl@0
  6370
	flags field of TcpState ptr to 0.
sl@0
  6371
sl@0
  6372
	* unix/configure:
sl@0
  6373
	* unix/tcl.m4: added 64-bit gcc compilation support on HP-11.
sl@0
  6374
	[Patch 601051] (martin)
sl@0
  6375
sl@0
  6376
	* README:		Bumped version number to 8.4.0
sl@0
  6377
	* generic/tcl.h:
sl@0
  6378
	* tools/tcl.wse.in:
sl@0
  6379
	* unix/configure:
sl@0
  6380
	* unix/configure.in:
sl@0
  6381
	* unix/tcl.spec:
sl@0
  6382
	* win/README.binary:
sl@0
  6383
	* win/configure:
sl@0
  6384
	* win/configure.in:
sl@0
  6385
sl@0
  6386
	* generic/tclInterp.c (SlaveCreate): make sure that the memory and
sl@0
  6387
	checkmem commands are initialized in non-safe slave interpreters when
sl@0
  6388
	TCL_MEM_DEBUG is used. [Bug 583445]
sl@0
  6389
sl@0
  6390
	* win/tclWinConsole.c (ConsoleCloseProc): only wait on writable pipe
sl@0
  6391
	if there was something to write. This may prevent infinite wait on
sl@0
  6392
	exit.
sl@0
  6393
sl@0
  6394
	* tests/exec.test: marked exec-18.1 unixOnly until the Windows
sl@0
  6395
	incompatability (in the test, not the core) can be resolved.
sl@0
  6396
sl@0
  6397
	* tests/http.test (http-3.11): added close $fp that was causing an
sl@0
  6398
	error on Windows because the file was not closed before deleting.
sl@0
  6399
sl@0
  6400
	* unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): made this static
sl@0
  6401
	function only appear when HAVE_CFBUNDLE is defined.
sl@0
  6402
sl@0
  6403
2002-08-31  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  6404
sl@0
  6405
	* unix/tcl.m4: added TK_SHLIB_LD_EXTRAS analogue of existing
sl@0
  6406
	TCL_SHLIB_LD_EXTRAS for linker settings only used when linking Tk.
sl@0
  6407
sl@0
  6408
	* unix/configure: regen
sl@0
  6409
sl@0
  6410
2002-08-31  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  6411
sl@0
  6412
	*** macosx-8-4-branch merged into the mainline [Patch 602770] ***
sl@0
  6413
sl@0
  6414
	* generic/tcl.decls: added new macosx specific entry to stubs table.
sl@0
  6415
sl@0
  6416
	* tools/genStubs.tcl: added generation of platform guards for macosx.
sl@0
  6417
	This is a little more complex than it seems, because MacOS X IS "unix"
sl@0
  6418
	plus a little bit, for the purposes of Tcl. BUT unfortunately, Tk uses
sl@0
  6419
	"unix" to mean X11. So added platform keys for macosx (the little
sl@0
  6420
	added to "unix"), "aqua" and "x11" to distinguish these for Tk.
sl@0
  6421
sl@0
  6422
	* generic/tcl.h: added a #ifnded RESOURCE_INCLUDED so that tcl.h can
sl@0
  6423
	be passed to the resource compiler.
sl@0
  6424
sl@0
  6425
	* generic/tcl.h:
sl@0
  6426
	* generic/tclNotify.c: added a few Notifier procs, to be able to
sl@0
  6427
	modify more bits of the Tcl notifier dynamically. Required to get Mac
sl@0
  6428
	OS X Tk to live on top of the Tcl Unix threaded notifier.  Changes the
sl@0
  6429
	size of the Tcl_NotifierProcs structure, but doesn't move any elements
sl@0
  6430
	around.
sl@0
  6431
sl@0
  6432
	* unix/tclUnixNotfy.c: moved the call to Tcl_ConditionNotify till
sl@0
  6433
	AFTER we are done mucking with the pointer swap. Fixes cases where the
sl@0
  6434
	thread waiting on the condition wakes & accesses the waitingListPtr
sl@0
  6435
	before it gets reset, causing a hang.
sl@0
  6436
sl@0
  6437
	* library/auto.tcl (tcl_findLibrary): added checking the directories
sl@0
  6438
	in the tcl_pkgPath for library files on macosx to enable support of
sl@0
  6439
	the standard Mac OSX library locations
sl@0
  6440
sl@0
  6441
	* unix/Makefile.in:
sl@0
  6442
	* unix/configure.in:
sl@0
  6443
	* unix/tcl.m4: added MAC_OSX_DIR. Added PLAT_OBJS to the OBJS: there
sl@0
  6444
	are some MacOS X specific files now for Tcl, and when I get he
sl@0
  6445
	resource & applescript stuff ported over, and restore support for
sl@0
  6446
	FindFiles, etc, there will be a few more. Added LD_LIBRARY_PATH_VAR
sl@0
  6447
	configure variable to avoid having to set all possible LD_LIBRARY_PATH
sl@0
  6448
	analogues on all platforms. LD_LIBRARY_PATH_VAR is "LD_LIBRARY_PATH"
sl@0
  6449
	by default, "LIBPATH" on AIX, "SHLIB_PATH" on HPUX and
sl@0
  6450
	"DYLD_LIBRARY_PATH" on Mac OSX. Added configure option to package Tcl
sl@0
  6451
	as a framework on Mac OSX.
sl@0
  6452
sl@0
  6453
	* macosx/tclMacOSXBundle.c (new): support for finding Tcl extension
sl@0
  6454
	packaged as 'bundles' in the standard Mac OSX library locations.
sl@0
  6455
sl@0
  6456
	* unix/tclUnixInit.c: added support for findig the tcl script library
sl@0
  6457
	inside Tcl packaged as a framework on Mac OSX.
sl@0
  6458
sl@0
  6459
	* macosx/Tcl.pbproj/jingham.pbxuser (new):
sl@0
  6460
	* macosx/Tcl.pbproj/project.pbxproj (new): project for Apple's
sl@0
  6461
	ProjectBuilder IDE.
sl@0
  6462
sl@0
  6463
	* macosx/Makefile (new): simple makefile for building the project from
sl@0
  6464
	the command line via the ProjectBuilder tool 'pbxbuild'.
sl@0
  6465
sl@0
  6466
	* unix/configure:
sl@0
  6467
	* generic/tclStubInit.c:
sl@0
  6468
	* generic/tclPlatDecls.h: regen
sl@0
  6469
sl@0
  6470
2002-08-29  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  6471
sl@0
  6472
	* win/tclWinThrd.c (TclpFinalizeThreadData, TclWinFreeAllocCache):
sl@0
  6473
	Applied patch for [Bug 599428] (sofer)
sl@0
  6474
sl@0
  6475
2002-08-28  David Gravereaux <davygrvy@pobox.com>
sl@0
  6476
sl@0
  6477
	* generic/tclEnv.c:
sl@0
  6478
	* unix/configure.in:
sl@0
  6479
	* win/tclWinPort.h:  putenv() on some systems copies the buffer rather
sl@0
  6480
	than taking reference to it. This causes memory leaks and is know to
sl@0
  6481
	effect mswindows (msvcrt) and NetBSD 1.5.2. This patch tests for this
sl@0
  6482
	behavior and turns on -DHAVE_PUTENV_THAT_COPIES=1 when approriate.
sl@0
  6483
	Thanks to David Welton for assistance. [Bug 414910]
sl@0
  6484
sl@0
  6485
	* unix/configure: regen'd
sl@0
  6486
sl@0
  6487
2002-08-28  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6488
sl@0
  6489
	* doc/eval.n: Added mention of list command and corrected "SEE ALSO".
sl@0
  6490
sl@0
  6491
	* unix/configure.in: Cache handling of ac_cv_type_socklen_t was wrong.
sl@0
  6492
	[Bug 600931] reported by John Ellson. Fixed by putting the brackets
sl@0
  6493
	where they belong.
sl@0
  6494
sl@0
  6495
2002-08-26  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6496
sl@0
  6497
	* generic/tclCompCmds.c: fix for [Bug 599788] (error in element name
sl@0
  6498
	causing segfault), reported by Tom Wilkason. Fixed by copying the
sl@0
  6499
	tokens instead of the source string.
sl@0
  6500
sl@0
  6501
2002-08-26  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6502
sl@0
  6503
	* generic/tclThreadAlloc.c: small optimisation, reducing the new
sl@0
  6504
	allocator's overhead.
sl@0
  6505
sl@0
  6506
2002-08-23  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6507
sl@0
  6508
	* generic/tclObj.c (USE_THREAD_ALLOC): fixed leak [Bug 597936]. Thanks
sl@0
  6509
	to Zoran Vasiljevic.
sl@0
  6510
sl@0
  6511
2002-08-23  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6512
sl@0
  6513
	* generic/tclThreadAlloc.c (USE_THREAD_ALLOC): moving objects between
sl@0
  6514
	caches as a block, instead of one-by-one.
sl@0
  6515
sl@0
  6516
2002-08-22  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6517
sl@0
  6518
	* generic/tclBasic.c:
sl@0
  6519
	* generic/tclCmdMZ.c: fix for freed memory r/w in delete traces [Bug
sl@0
  6520
	589863], patch by Hemang Lavana.
sl@0
  6521
sl@0
  6522
2002-08-20  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  6523
sl@0
  6524
	* win/Makefile.in (CFLAGS):
sl@0
  6525
	* unix/Makefile.in (MEM_DEBUG_FLAGS): Added usage of @MEM_DEBUG_FLAGS@.
sl@0
  6526
	* win/configure.in:
sl@0
  6527
	* unix/configure.in: Added usage of SC_ENABLE_MEMDEBUG.
sl@0
  6528
	* win/tcl.m4:
sl@0
  6529
	* unix/tcl.m4: Added macro SC_ENABLE_MEMDEBUG. Allows a user of
sl@0
  6530
	configure to (de)activate memory validation and debugging
sl@0
  6531
	(TCL_MEM_DEBUG). No need to modify the makefile anymore.
sl@0
  6532
sl@0
  6533
2002-08-20  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6534
sl@0
  6535
	* generic/tclCkalloc.c:	CONSTified MemoryCmd and CheckmemCmd.
sl@0
  6536
sl@0
  6537
	* README:		Bumped version number to 8.4b3 to distinguish
sl@0
  6538
	* generic/tcl.h:	HEAD from the 8.4b2 release.
sl@0
  6539
	* tools/tcl.wse.in:
sl@0
  6540
	* unix/configure.in:
sl@0
  6541
	* unix/tcl.spec:
sl@0
  6542
	* win/README.binary:
sl@0
  6543
	* win/configure.in:
sl@0
  6544
sl@0
  6545
	* unix/configure:	autoconf
sl@0
  6546
	* win/configure:
sl@0
  6547
sl@0
  6548
	* library/http/http.tcl:	Corrected installation directory of
sl@0
  6549
	* library/msgcat/msgcat.tcl:	the package tcltest 2.2.  Added
sl@0
  6550
	* library/opt/optparse.tcl:	comments in other packages to remind
sl@0
  6551
	* library/tcltest/tcltest.tcl:	that installation directories need
sl@0
  6552
	* unix/Makefile.in:		updates to match increasing version
sl@0
  6553
	* win/Makefile.in:		numbers. [Bug 597450]
sl@0
  6554
	* win/makefile.bc:
sl@0
  6555
	* win/makefile.vc:
sl@0
  6556
sl@0
  6557
2002-08-19  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  6558
sl@0
  6559
	* unix/tclUnixTest.c (TestfilehandlerCmd): Changed
sl@0
  6560
	readable/writable to the more common readable|writable.
sl@0
  6561
	Fixes [Bug 596034] (lvirden)
sl@0
  6562
sl@0
  6563
2002-08-16  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6564
sl@0
  6565
	* tests/fCmd.test: Added test to make sure that the cause of the
sl@0
  6566
	problem is detectable with an unpatched Tcl.
sl@0
  6567
	* doc/ObjectType.3: Added note on the root cause of this problem to
sl@0
  6568
	the documentation, since it is possible for user code to trigger this
sl@0
  6569
	sort of behaviour too.
sl@0
  6570
	* generic/tclIOUtil.c (SetFsPathFromAny): Objects should only have
sl@0
  6571
	their old representation deleted when we know that we are about to
sl@0
  6572
	install a new one.  This stops a weird TclX bug under Linux with
sl@0
  6573
	certain kinds of memory debugging enabled which essentally came down
sl@0
  6574
	to a double-free of a string.
sl@0
  6575
sl@0
  6576
2002-08-14  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6577
sl@0
  6578
	* generic/tclInt.h:
sl@0
  6579
	* generic/tclObj.c: (code cleanup) factored the parts in the macros
sl@0
  6580
	TclNewObj() / TclDecrRefCount() into a common part for all memory
sl@0
  6581
	allocators and two new macros TclAllocObjStorage() /
sl@0
  6582
	TclFreeObjStorage() that are specific to each allocator and fully
sl@0
  6583
	describe the differences. Removed allocator-specific code from
sl@0
  6584
	tclObj.c by using the macros.
sl@0
  6585
sl@0
  6586
2002-08-12  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6587
sl@0
  6588
	* generic/tclCmdMZ.c: fixing UMR in delete traces, [Bug 589863].
sl@0
  6589
sl@0
  6590
2002-08-08  David Gravereaux <davygrvy@pobox.com>
sl@0
  6591
sl@0
  6592
	* tools/man2help.tcl: Fixed $argv handling bug where if -bitmap wasn't
sl@0
  6593
	specified $argc was off by one.
sl@0
  6594
sl@0
  6595
2002-08-08  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6596
sl@0
  6597
	* tests/uplevel.test: added 6.1 to test [uplevel] with shadowed
sl@0
  6598
	commands [Bug 524383]
sl@0
  6599
sl@0
  6600
	* tests/subst.test: added 5.8-10 as further tests for [Bug 495207]
sl@0
  6601
sl@0
  6602
2002-08-08  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6603
sl@0
  6604
	* tests/README: Noted removal of defs.tcl.
sl@0
  6605
sl@0
  6606
2002-08-08  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  6607
sl@0
  6608
	* doc/lsearch.n: corrected lsearch docs to use -inline in examples.
sl@0
  6609
sl@0
  6610
	*** 8.4b2 TAGGED FOR RELEASE ***
sl@0
  6611
sl@0
  6612
	* tests/fCmd.test:
sl@0
  6613
	* tests/unixFCmd.test: updated tests for new link copy behavior.
sl@0
  6614
	* generic/tclFCmd.c (CopyRenameOneFile): changed the behavior to
sl@0
  6615
	follow links to endpoints and copy that file/directory instead of just
sl@0
  6616
	copying the surface link. This means that trying to copy a link that
sl@0
  6617
	has no endpoint (danling link) is an error. [Patch 591647] (darley)
sl@0
  6618
	(CopyRenameOneFile): this is currently disabled by default until
sl@0
  6619
	further issues with such behavior (like relative links) can be handled
sl@0
  6620
	correctly.
sl@0
  6621
sl@0
  6622
	* tests/README: slight wording improvements
sl@0
  6623
sl@0
  6624
2002-08-07  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6625
sl@0
  6626
	* docs/BoolObj.3: added description of valid string reps for a boolean
sl@0
  6627
	object [Bug 584794]
sl@0
  6628
	* generic/tclObj.c: optimised Tcl_GetBooleanFromObj and
sl@0
  6629
	SetBooleanFromAny to avoid parsing the string rep when it can be
sl@0
  6630
	avoided [Bugs 584650, 472576]
sl@0
  6631
sl@0
  6632
2002-08-07  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6633
sl@0
  6634
	* generic/tclCompile.h:
sl@0
  6635
	* generic/tclObj.c: making tclCmdNameType static [Bug 584567] (dgp)
sl@0
  6636
sl@0
  6637
2002-08-07  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6638
sl@0
  6639
	* generic/tclObj.c (Tcl_NewObj): added conditional code for
sl@0
  6640
	USE_THREAD_ALLOC; objects allocated through Tcl_NewObj() were
sl@0
  6641
	otherwise being leaked. [Bug 587488] reported by Sven Sass.
sl@0
  6642
sl@0
  6643
2002-08-06  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  6644
sl@0
  6645
	* generic/tclInt.decls:
sl@0
  6646
	* unix/tclUnixThrd.c: Added stubs and implementations for non-threaded
sl@0
  6647
	build for the tclUnixThrd.c procs TclpReaddir, TclpLocaltime,
sl@0
  6648
	TclpGmtime and TclpInetNtoa. Fixes link errors in stubbed & threaded
sl@0
  6649
	extensions that include tclUnixPort.h and use any of the procs
sl@0
  6650
	readdir, localtime, gmtime or inet_ntoa (e.g. TclX 8.4) [Bug 589526]
sl@0
  6651
	* generic/tclIntPlatDecls.h:
sl@0
  6652
	* generic/tclStubInit.c: Regen.
sl@0
  6653
sl@0
  6654
2002-08-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6655
sl@0
  6656
	* library/tcltest/tcltest.tcl:	The setup and cleanup scripts are now
sl@0
  6657
	* library/tcltest/pkgIndex.tcl:	skipped when a test is skipped, fixing
sl@0
  6658
	* tests/tcltest.test:		[Bug 589859]. Test for bug added, and
sl@0
  6659
	corrected tcltest package bumped to version 2.2.
sl@0
  6660
sl@0
  6661
	* generic/tcl.decls:	Restored Tcl_Concat to return (char *). Like
sl@0
  6662
	* generic/tclDecls.h:	Tcl_Merge, it transfers ownership of a dynamic
sl@0
  6663
	* generic/tclUtil.c:	allocated string to the caller.
sl@0
  6664
sl@0
  6665
2002-08-04  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6666
sl@0
  6667
	* doc/CmdCmplt.3:	Applied Patch 585105 to fully CONST-ify
sl@0
  6668
	* doc/Concat.3:		all remaining public interfaces of Tcl.
sl@0
  6669
	* doc/CrtCommand.3:	Notably, the parser no longer writes on
sl@0
  6670
	* doc/CrtSlave.3:	the string it is parsing, so it is no
sl@0
  6671
	* doc/CrtTrace.3:	longer necessary for Tcl_Eval() to be
sl@0
  6672
	* doc/Eval.3:		given a writable string.  Also, the
sl@0
  6673
	* doc/ExprLong.3:	refactoring of the Tcl_*Var* routines
sl@0
  6674
	* doc/LinkVar.3:	by Miguel Sofer is included, so that the
sl@0
  6675
	* doc/ParseCmd.3:	"part1" argument for them no longer needs
sl@0
  6676
	* doc/SetVar.3:		to be writable either.
sl@0
  6677
	* doc/TraceVar.3:
sl@0
  6678
	* doc/UpVar.3:		Compatibility support has been enhanced so
sl@0
  6679
	* generic/tcl.decls:	that a #define of USE_NON_CONST will remove
sl@0
  6680
	* generic/tcl.h:	all possible source incompatibilities with
sl@0
  6681
	* generic/tclBasic.c:	the 8.3 version of the header file(s).
sl@0
  6682
	* generic/tclCmdMZ.c:	The new #define of USE_COMPAT_CONST now does
sl@0
  6683
	* generic/tclCompCmds.c:what USE_NON_CONST used to do -- disable
sl@0
  6684
	* generic/tclCompExpr.c:only those new CONST's that introduce
sl@0
  6685
	* generic/tclCompile.c:	irreconcilable incompatibilities.
sl@0
  6686
	* generic/tclCompile.h:
sl@0
  6687
	* generic/tclDecls.h:	Several bugs are also fixed by this patch.
sl@0
  6688
	* generic/tclEnv.c:	[Bugs 584051,580433] [Patches 585105,582429]
sl@0
  6689
	* generic/tclEvent.c:
sl@0
  6690
	* generic/tclInt.decls:
sl@0
  6691
	* generic/tclInt.h:
sl@0
  6692
	* generic/tclIntDecls.h:
sl@0
  6693
	* generic/tclInterp.c:
sl@0
  6694
	* generic/tclLink.c:
sl@0
  6695
	* generic/tclObj.c:
sl@0
  6696
	* generic/tclParse.c:
sl@0
  6697
	* generic/tclParseExpr.c:
sl@0
  6698
	* generic/tclProc.c:
sl@0
  6699
	* generic/tclTest.c:
sl@0
  6700
	* generic/tclUtf.c:
sl@0
  6701
	* generic/tclUtil.c:
sl@0
  6702
	* generic/tclVar.c:
sl@0
  6703
	* mac/tclMacTest.c:
sl@0
  6704
	* tests/expr-old.test:
sl@0
  6705
	* tests/parseExpr.test:
sl@0
  6706
	* unix/tclUnixTest.c:
sl@0
  6707
	* unix/tclXtTest.c:
sl@0
  6708
	* win/tclWinTest.c:
sl@0
  6709
sl@0
  6710
2002-08-01  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6711
sl@0
  6712
	* generic/tclExecute.c: bugfix (reading freed memory). Testsuite
sl@0
  6713
	passed on linux/i386, compile-13.1 hung on linux/alpha.
sl@0
  6714
sl@0
  6715
2002-08-01  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6716
sl@0
  6717
	* generic/tclExecute.c: added a reference count for the complete
sl@0
  6718
	execution stack, instead of Tcl_Preserve/Tcl_Release.
sl@0
  6719
sl@0
  6720
2002-08-01  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  6721
sl@0
  6722
	* generic/tclCkalloc.c (TclFinalizeMemorySubsystem): Don't lock the
sl@0
  6723
	ckalloc mutex before invoking the Tcl_DumpActiveMemory function since
sl@0
  6724
	it also locks the same mutex. This code is only executed when "memory
sl@0
  6725
	onexit filename" has been executed and Tcl is compiled with
sl@0
  6726
	-DTCL_MEM_DEBUG.
sl@0
  6727
sl@0
  6728
2002-08-01  Reinhard Max  <max@suse.de>
sl@0
  6729
sl@0
  6730
	* win/tclWinPort.h: The windows headers don't provide socklen_t, so we
sl@0
  6731
	have to do it.
sl@0
  6732
sl@0
  6733
2002-07-31  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6734
sl@0
  6735
	* generic/tclInt.h (USE_THREAD_ALLOC): for unshared objects,
sl@0
  6736
	TclDecrRefCount now frees the internal rep before the string rep -
sl@0
  6737
	just like the non-macro Tcl_DecrRefCount/TclFreeObj [Bug 524802]. For
sl@0
  6738
	the other allocators the fix was done on 2002-03-06.
sl@0
  6739
sl@0
  6740
2002-07-31  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6741
sl@0
  6742
	* generic/tclInterp.c: signed/unsigned comparison warning fixed
sl@0
  6743
	(Vince Darley).
sl@0
  6744
sl@0
  6745
2002-07-31  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6746
sl@0
  6747
	* unix/tcl.m4 (SC_BUGGY_STRTOD): Enabled caching of test results.
sl@0
  6748
sl@0
  6749
	* unix/tcl.m4 (SC_BUGGY_STRTOD): Solaris 2.8 still has a buggy
sl@0
  6750
	strtod() implementation; make sure we detect it.
sl@0
  6751
sl@0
  6752
	* tests/expr.test (expr-22.*): Marked as non-portable because it seems
sl@0
  6753
	that these tests have an annoying tendency to fail in unexpected ways.
sl@0
  6754
	[Bugs 584825, 584950, 585986]
sl@0
  6755
sl@0
  6756
2002-07-30  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  6757
sl@0
  6758
	* tests/io.test:
sl@0
  6759
	* generic/tclIO.c (WriteChars): Added flag to break out of loop if
sl@0
  6760
	nothing of the input is consumed at all, to prevent infinite looping
sl@0
  6761
	of called with a non-UTF-8 string. Fixes [Bug 584603] partially.
sl@0
  6762
	Added new test "io-60.1". Might need additional changes to Tcl_Main so
sl@0
  6763
	that unprintable results are printed as binary data.
sl@0
  6764
sl@0
  6765
2002-07-29  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  6766
sl@0
  6767
	* unix/Makefile.in: Use CC_SEARCH_FLAGS instead of LD_SEARCH_FLAGS
sl@0
  6768
	when linking with ${CC}.
sl@0
  6769
	* unix/configure: Regen.
sl@0
  6770
	* unix/configure.in: Don't subst CC_SEARCH_FLAGS or LD_SEARCH_FLAGS
sl@0
  6771
	since this is now done in tcl.m4.
sl@0
  6772
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Document and set CC_SEARCH_FLAGS
sl@0
  6773
	whenever LD_SEARCH_FLAGS is set. [Patch 588290]
sl@0
  6774
sl@0
  6775
2002-07-29  Reinhard Max  <max@suse.de>
sl@0
  6776
sl@0
  6777
	* unix/tcl.m4 (SC_SERIAL_PORT): Fixed detection for cases when
sl@0
  6778
					configure's stdin is not a tty.
sl@0
  6779
sl@0
  6780
	* unix/tclUnixPort.h:
sl@0
  6781
	* generic/tclIOSock.c:		Changed size_t to socklen_t in
sl@0
  6782
					socket-related function calls.
sl@0
  6783
sl@0
  6784
	* unix/configure.in:		Added test and fallback definition
sl@0
  6785
					for socklen_t.
sl@0
  6786
sl@0
  6787
	* unix/configure:		generated.
sl@0
  6788
sl@0
  6789
2002-07-29  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6790
sl@0
  6791
	* generic/tclObj.c: fixed a comment
sl@0
  6792
sl@0
  6793
	* generic/tcl.h:
sl@0
  6794
	* generic/tclBasic.c:
sl@0
  6795
	* generic/tclInterp.c: added the new flag TCL_EVAL_INVOKE to the
sl@0
  6796
	interface of the Tcl_Eval* functions, removing the
sl@0
  6797
	TCL_EVAL_NO_TRACEBACK added yesterday: alias invocations not only
sl@0
  6798
	require no tracebacks, but also look up the command name in the global
sl@0
  6799
	scope - see new test interp-9.4
sl@0
  6800
	* tests/interp.test: added 9.3 to test for safety of aliases to hidden
sl@0
  6801
	commands, 9.4 to test for correct command lookup scope.
sl@0
  6802
sl@0
  6803
2002-07-29  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6804
sl@0
  6805
	* generic/regc_locale.c (cclass): [[:xdigit:]] is only a defined
sl@0
  6806
	concept on western characters, so should not allow any unicode digit,
sl@0
  6807
	and hence number of ranges in [[:xdigit:]] is fixed.
sl@0
  6808
	* tests/reg.test: Added test to detect the bug.
sl@0
  6809
	* generic/regc_cvec.c (newcvec): Corrected initial size value in
sl@0
  6810
	character vector structure. [Bug 578363] Many thanks to
sl@0
  6811
	pvgoran@users.sf.net for tracking this down.
sl@0
  6812
sl@0
  6813
2002-07-28  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6814
sl@0
  6815
	* generic/tcl.h:
sl@0
  6816
	* generic/tclBasic.c: added the new flag TCL_EVAL_NO_TRACEBACK to the
sl@0
  6817
	interface of the Tcl_Eval* functions. Modified the error message for
sl@0
  6818
	too many nested evaluations.
sl@0
  6819
	* generic/tclInterp.h: changed the Alias struct to be of variable
sl@0
  6820
	length and store the prefix arguments directly (instead of a pointer
sl@0
  6821
	to a Tcl_Obj list). Made AliasObjCmd call Tcl_EvalObjv instead of
sl@0
  6822
	TclObjInvoke - thus making aliases trigger execution traces. [Bug
sl@0
  6823
	582522]
sl@0
  6824
	* tests/interp.test:
sl@0
  6825
	* tests/stack.test: adapted to the new error message.
sl@0
  6826
	* tests/trace.test: added tests for aliases firing the exec traces.
sl@0
  6827
sl@0
  6828
2002-07-27  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  6829
sl@0
  6830
	* unix/Makefile.in: Revert fix for Tcl bug 529801 since it was
sl@0
  6831
	incorrect and broke the build on other systems. Fix [Bug 587299]. Add
sl@0
  6832
	MAJOR_VERSION, MINOR_VERSION, PATCH_LEVEL, SHLIB_LD_FLAGS,
sl@0
  6833
	SHLIB_LD_LIBS, CC_SEARCH_FLAGS, LD_SEARCH_FLAGS, and LIB_FILE
sl@0
  6834
	variables to support more generic library build/install rules.
sl@0
  6835
	* unix/configure: Regen.
sl@0
  6836
	* unix/configure.in: Move AC_PROG_RANLIB into tcl.m4. Move shared
sl@0
  6837
	build test and setting of MAKE_LIB and MAKE_STUB_LIB into tcl.m4. Move
sl@0
  6838
	subst of a number of variables into tcl.m4 where they are defined.
sl@0
  6839
	* unix/tcl.m4 (SC_ENABLE_SYMBOLS, SC_CONFIG_CFLAGS):
sl@0
  6840
	Subst vars where they are defined. Add MAKE_LIB, MAKE_STUB_LIB,
sl@0
  6841
	INSTALL_LIB, and INSTALL_STUB_LIB rules to deal with the ugly details
sl@0
  6842
	of running ranlib on static libs at build and install time. Replace
sl@0
  6843
	TCL_SHLIB_LD_EXTRAS with SHLIB_LD_FLAGS and use it when building a
sl@0
  6844
	shared library.
sl@0
  6845
	* unix/tclConfig.sh.in: Add TCL_CC_SEARCH_FLAGS.
sl@0
  6846
sl@0
  6847
2002-07-26  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6848
sl@0
  6849
	* generic/tclExecute.c: fixed Tcl_Obj leak in code corresponding to
sl@0
  6850
	the macro NEXT_INST_V(x, 0, 1). [Bug 587495]
sl@0
  6851
sl@0
  6852
2002-07-26  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6853
sl@0
  6854
	* generic/tclVar.c (TclObjLookupVar): leak fix and improved comments.
sl@0
  6855
sl@0
  6856
2002-07-26  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  6857
sl@0
  6858
	* generic/tclVar.c (TclLookupVar): removed early returns that
sl@0
  6859
	prevented the parens from being restored. also removed goto label as
sl@0
  6860
	it was not necessary.
sl@0
  6861
sl@0
  6862
2002-07-24  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6863
sl@0
  6864
	* generic/tclExecute.c:
sl@0
  6865
	* tests/expr-old.test: fix for erroneous error messages in [expr],
sl@0
  6866
	[Bug 587140] reported by Martin Lemburg.
sl@0
  6867
sl@0
  6868
2002-07-25  Joe English  <jenglish@users.sourceforge.net>
sl@0
  6869
sl@0
  6870
	* generic/tclProc.c: fix for [Tk Bug 219218] "error handling with
sl@0
  6871
	bgerror in Tk"
sl@0
  6872
sl@0
  6873
2002-07-24  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6874
sl@0
  6875
	* generic/tclExecute.c: restoring full TCL_COMPILE_DEBUG
sl@0
  6876
	functionality.
sl@0
  6877
sl@0
  6878
2002-07-24  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6879
sl@0
  6880
	* tests/unixInit.test: relaxed unixInit-3.1 to accept iso8859-15 as a
sl@0
  6881
	valid C encoding. [Bug 575336]
sl@0
  6882
sl@0
  6883
2002-07-24  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  6884
sl@0
  6885
	* generic/tclExecute.c: restoring the tcl_traceCompile functionality
sl@0
  6886
	while I repair tcl_traceExec. The core now compiles and runs also
sl@0
  6887
	under TCL_COMPILE_DEBUG, but execution in the bytecode engine can
sl@0
  6888
	still not be traced.
sl@0
  6889
sl@0
  6890
2002-07-24  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  6891
sl@0
  6892
	* unix/Makefile.in:
sl@0
  6893
	* unix/configure.in: corrected fix for [Bug 529801]: ranlib only
sl@0
  6894
	needed for static builds on Mac OS X.
sl@0
  6895
	* unix/configure: Regen.
sl@0
  6896
	* unix/tclLoadDyld.c: fixed small bugs introduced by Vince,
sl@0
  6897
	implemented library unloading correctly (needs OS X 10.2).
sl@0
  6898
sl@0
  6899
2002-07-23  Joe English  <jenglish@users.sourceforge.net>
sl@0
  6900
sl@0
  6901
	* doc/OpenFileChnl.3: (Updates from Larry Virden)
sl@0
  6902
	* doc/open.n:
sl@0
  6903
	* doc/tclsh.1: Fix section numbers in Unix man page references.
sl@0
  6904
	* doc/lset.n:  In EXAMPLES section, include command to set the initial
sl@0
  6905
	value used in subsequent examples.
sl@0
  6906
	* doc/http.n: Package version updated to 2.4.
sl@0
  6907
sl@0
  6908
2002-07-23  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  6909
sl@0
  6910
	* unix/configure: Regen.
sl@0
  6911
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Enable 64 bit compilation when using
sl@0
  6912
	the native compiler on a 64 bit version of IRIX. [Bug 219220]
sl@0
  6913
sl@0
  6914
2002-07-23  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  6915
sl@0
  6916
	* unix/Makefile.in: Combine ranlib tests and avoid printing unless
sl@0
  6917
	ranlib is actually run.
sl@0
  6918
sl@0
  6919
2002-07-23  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  6920
sl@0
  6921
	* unix/tcl.m4 (SC_PATH_X): Set XINCLUDES to "" instead of "# no
sl@0
  6922
	special path needed" or "# no include files found" when x headers
sl@0
  6923
	cannot be located.
sl@0
  6924
sl@0
  6925
2002-07-22  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  6926
sl@0
  6927
	* generic/tclIOUtil.c: made tclNativeFilesystem static (since 07-19
sl@0
  6928
	changes removed its usage elsewhere), and added comments about its
sl@0
  6929
	usage.
sl@0
  6930
	* generic/tclLoad.c:
sl@0
  6931
	* generic/tcl.h:
sl@0
  6932
	* generic/tcl.decls:
sl@0
  6933
	* doc/FileSystem.3: converted last load-related ClientData parameter
sl@0
  6934
	to Tcl_LoadHandle opaque structure, removing a couple of casts in the
sl@0
  6935
	process.
sl@0
  6936
sl@0
  6937
	* generic/tclInt.h: removed tclNativeFilesystem declaration since it
sl@0
  6938
	is now static again.
sl@0
  6939
sl@0
  6940
2002-07-22  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6941
sl@0
  6942
	* tests/expr.test (expr-22.*): Added tests to help detect the
sl@0
  6943
	corrected handling.
sl@0
  6944
	* generic/tclExecute.c (IllegalExprOperandType): Improved error
sl@0
  6945
	message generated when attempting to manipulate Inf and NaN values.
sl@0
  6946
	* generic/tclParseExpr.c (GetLexeme): Allowed parser to recognise
sl@0
  6947
	'Inf' as a floating-point number. [Bug 218000]
sl@0
  6948
sl@0
  6949
2002-07-21  Don Porter  <dgp@users.sourceforge.net>
sl@0
  6950
sl@0
  6951
	* tclIOUtil.c: Silence compiler warning. [Bug 584408].
sl@0
  6952
sl@0
  6953
2002-07-19  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  6954
sl@0
  6955
	* generic/tclIOUtil.c: fix to GetFilesystemRecord
sl@0
  6956
	* win/tclWinFile.c:
sl@0
  6957
	* unix/tclUnixFile.c: fix to subtle problem with links shown up by
sl@0
  6958
	latest tclkit builds.
sl@0
  6959
sl@0
  6960
2002-07-19  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  6961
sl@0
  6962
	* unix/configure:
sl@0
  6963
	* unix/configure.in:
sl@0
  6964
	* win/configure:
sl@0
  6965
	* win/configure.in: Add AC_PREREQ(2.13) in an attempt to make it more
sl@0
  6966
	clear that the configure scripts must be generated with autoconf
sl@0
  6967
	version 2.13. [Bug 583573]
sl@0
  6968
sl@0
  6969
2002-07-19  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  6970
sl@0
  6971
	* unix/Makefile.in: fix to build on MacOS X [Bug 529801], bug report
sl@0
  6972
	and fix from jcw.
sl@0
  6973
sl@0
  6974
2002-07-19  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  6975
sl@0
  6976
	* win/tclWinSerial.c (no_timeout): Made this variable static.
sl@0
  6977
sl@0
  6978
	* generic/tclExecute.c, generic/tclCompile.c, generic/tclBasic.c:
sl@0
  6979
	* generic/tclCompile.h (builtinFuncTable, instructionTable): Added
sl@0
  6980
	prefix to these symbols because they are visible outside the Tcl
sl@0
  6981
	library.
sl@0
  6982
sl@0
  6983
	* generic/tclCompExpr.c (operatorTable):
sl@0
  6984
	* unix/tclUnixTime.c (tmKey):
sl@0
  6985
	* generic/tclIOUtil.c (theFilesystemEpoch, filesystemWantToModify,
sl@0
  6986
	(filesystemIteratorsInProgress, filesystemOkToModify): Made these
sl@0
  6987
	variables static.
sl@0
  6988
sl@0
  6989
	* unix/tclUnixFile.c:		Renamed nativeFilesystem to
sl@0
  6990
	* win/tclWinFile.c:		tclNativeFilesystem and declared
sl@0
  6991
	* generic/tclIOUtil.c:		it properly in tclInt.h
sl@0
  6992
	* generic/tclInt.h:
sl@0
  6993
sl@0
  6994
	* generic/tclUtf.c (totalBytes): Made this array static and const.
sl@0
  6995
sl@0
  6996
	* generic/tclParse.c (typeTable): Made this array static and const.
sl@0
  6997
	(Tcl_ParseBraces): Simplified error handling case so that scans are
sl@0
  6998
	only performed when needed, and flags are simpler too.
sl@0
  6999
sl@0
  7000
	* license.terms: Added AS to list of copyright holders; it's only fair
sl@0
  7001
	for the current gatekeepers to be listed here!
sl@0
  7002
sl@0
  7003
	* tests/cmdMZ.test: Renamed constraint for clarity. [Bug 583427]
sl@0
  7004
	Added tests for the [time] command, which was previously only
sl@0
  7005
	indirectly tested!
sl@0
  7006
sl@0
  7007
2002-07-18  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  7008
sl@0
  7009
	* generic/tclInt.h:
sl@0
  7010
	* generic/tcl.h:
sl@0
  7011
	* */*Load*.c: added comments on changes of 07/17 and replaced
sl@0
  7012
	clientData with Tcl_LoadHandle in all locations.
sl@0
  7013
sl@0
  7014
	* generic/tclFCmd.c:
sl@0
  7015
	* tests/fileSystem.test: fixed a 'knownBug' with 'file
sl@0
  7016
	attributes ""'
sl@0
  7017
	* tests/winFCmd.test:
sl@0
  7018
	* tests/winPipe.test:
sl@0
  7019
	* tests/fCmd.test:
sl@0
  7020
	* tessts/winFile.test: added 'pcOnly' constraint to some tests to make
sl@0
  7021
	for more useful 'tests skipped' log from running all tests on
sl@0
  7022
	non-Windows platforms.
sl@0
  7023
sl@0
  7024
2002-07-17  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7025
sl@0
  7026
	* generic/tclBasic.c (CallCommandTraces): delete traces now receive
sl@0
  7027
	the FQ old name of the command. [Bug 582532] (Don Porter)
sl@0
  7028
sl@0
  7029
2002-07-18  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  7030
sl@0
  7031
	* tests/ioUtil.test: added constraints to 1.4,2.4 so they don't run
sl@0
  7032
	outside of tcltest. [Bugs 583276,583277]
sl@0
  7033
sl@0
  7034
2002-07-17  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7035
sl@0
  7036
	* generic/tclVar.c (DupParsedVarName): nasty bug fixed, reported by
sl@0
  7037
	Vince Darley.
sl@0
  7038
sl@0
  7039
2002-07-17  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7040
sl@0
  7041
	* generic/tclVar.c (TclPtrIncrVar): missing CONST in declarations,
sl@0
  7042
	inconsistent with tclInt.h. Thanks to Vince Darley for reporting, boo
sl@0
  7043
	to gcc for not complaining.
sl@0
  7044
sl@0
  7045
2002-07-17  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  7046
sl@0
  7047
	* generic/tclInt.h:
sl@0
  7048
	* generic/tclIOUtil.c:
sl@0
  7049
	* generic/tclLoadNone.c:
sl@0
  7050
	* unix/tclLoadAout.c:
sl@0
  7051
	* unix/tclLoadDl.c:
sl@0
  7052
	* unix/tclLoadDld.c:
sl@0
  7053
	* unix/tclLoadDyld.c:
sl@0
  7054
	* unix/tclLoadNext.c:
sl@0
  7055
	* unix/tclLoadOSF.c:
sl@0
  7056
	* unix/tclLoadShl.c:
sl@0
  7057
	* mac/tclMacLoad.c:
sl@0
  7058
	* win/tclWinLoad.c: modified to move more functionality to the generic
sl@0
  7059
	code and avoid duplication. Partial replacement of internal uses of
sl@0
  7060
	clientData with opaque Tcl_LoadHandle. A little further work still
sl@0
  7061
	needed, but significant changes are done.
sl@0
  7062
sl@0
  7063
2002-07-17  D. Richard Hipp    <drh@hwaci.com>
sl@0
  7064
sl@0
  7065
	* library/msgcat/msgcat.tcl: fix a comment that was causing problems
sl@0
  7066
	for programs (ex: mktclapp) that embed the initialization scripts in
sl@0
  7067
	strings.
sl@0
  7068
sl@0
  7069
2002-07-17  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7070
sl@0
  7071
	* generic/tclInt.decls:
sl@0
  7072
	* generic/tclIntDecls.h:
sl@0
  7073
	* generic/tclStubInit.c:
sl@0
  7074
	* generic/tclVar.c: removing the now redundant functions to access
sl@0
  7075
	indexed variables: Tcl(Get|Set|Incr)IndexedScalar() and
sl@0
  7076
	Tcl(Get|Set|Incr)ElementOfIndexedArray().
sl@0
  7077
sl@0
  7078
2002-07-17  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7079
sl@0
  7080
	* generic/tclExecute.c (TclExecuteByteCode): Minor fixes to make this
sl@0
  7081
	file compile with SunPro CC...
sl@0
  7082
sl@0
  7083
2002-07-17  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7084
sl@0
  7085
	* generic/tclExecute.c: modified to do variable lookup explicitly, and
sl@0
  7086
	then either inlining the variable access or else calling the new
sl@0
  7087
	TclPtr(Set|Get|Incr)Var functions in tclVar.c
sl@0
  7088
	* generic/tclInt.h: declare some functions previously local to
sl@0
  7089
	tclVar.c for usage by TEBC.
sl@0
  7090
	* generic/tclVar.c: removed local declarations; moved all special
sl@0
  7091
	accessor functions for indexed variables to the end of the file - they
sl@0
  7092
	are unused and ready for removal, but left there for the time being as
sl@0
  7093
	they are in the internal stubs table.
sl@0
  7094
sl@0
  7095
	** WARNING FOR BYTECODE MAINTAINERS **
sl@0
  7096
	TCL_COMPILE_DEBUG is currently not functional; will be fixed ASAP.
sl@0
  7097
sl@0
  7098
2002-07-16  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  7099
sl@0
  7100
	* unix/Makefile.in:
sl@0
  7101
	* win/Makefile.in: Add a more descriptive warning in the event `make
sl@0
  7102
	genstubs` needs to be rerun.
sl@0
  7103
sl@0
  7104
2002-07-16  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  7105
sl@0
  7106
	* unix/Makefile.in: Use dltest.marker file to keep track of when the
sl@0
  7107
	dltest package is up to date. This fixes [Bug 575768] since tcltest is
sl@0
  7108
	no longer linked every time.
sl@0
  7109
	* unix/dltest/Makefile.in: Create ../dltest.marker after a successful
sl@0
  7110
	`make all` run in dltest.
sl@0
  7111
sl@0
  7112
2002-07-16  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  7113
sl@0
  7114
	* unix/configure: Regen.
sl@0
  7115
	* unix/configure.in: Remove useless subst of TCL_BIN_DIR.
sl@0
  7116
sl@0
  7117
2002-07-15  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7118
sl@0
  7119
	* generic/tclVar.c: inaccurate comment fixed
sl@0
  7120
sl@0
  7121
2002-07-15  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7122
sl@0
  7123
	* generic/tclBasic.c (Tcl_AddObjErrorInfo):
sl@0
  7124
	* generic/tclExecute.c (TclUpdateReturnInfo):
sl@0
  7125
	* generic/tclInt.h:
sl@0
  7126
	* generic/tclProc.c:
sl@0
  7127
	Added two Tcl_Obj to the ExecEnv structure to hold the fully qualified
sl@0
  7128
	names "::errorInfo" and "::errorCode" to cache the addresses of the
sl@0
  7129
	corresponding variables. The two most frequent setters of these
sl@0
  7130
	variables now profit from the new variable name caching.
sl@0
  7131
sl@0
  7132
2002-07-15  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7133
sl@0
  7134
	* generic/tclVar.c: refactorisation to reuse already looked-up Var
sl@0
  7135
	pointers; definition of three new Tcl_Obj types to cache variable name
sl@0
  7136
	parsing and lookup for later reuse; modification of internal functions
sl@0
  7137
	to profit from the caching.
sl@0
  7138
sl@0
  7139
	* generic/tclInt.decls:
sl@0
  7140
	* generic/tclInt.h:
sl@0
  7141
	* generic/tclIntDecls.h:
sl@0
  7142
	* generic/tclNamesp.c: adding CONST qualifiers to variable names
sl@0
  7143
	passed to Tcl_FindNamespaceVar and to variable resolvers; adding CONST
sl@0
  7144
	qualifier to the 'msg' argument to TclLookupVar. Needed to avoid code
sl@0
  7145
	duplication in the new tclVar.c code.
sl@0
  7146
sl@0
  7147
	* tests/set-old.test:
sl@0
  7148
	* tests/var.test: slight modification of error messages due to the
sl@0
  7149
	modifications in the tclVar.c code.
sl@0
  7150
sl@0
  7151
2002-07-15  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7152
sl@0
  7153
	* tests/unixInit.test:	Improved constraints to protect /tmp. [Bug
sl@0
  7154
	581403]
sl@0
  7155
sl@0
  7156
2002-07-15  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  7157
sl@0
  7158
	* tests/winFCmd.test: renamed 'win2000' and 'notWin2000' to more
sl@0
  7159
	appropriate constraint names.
sl@0
  7160
	* win/tclWinFile.c: updated comments to reflect 07-11 changes.
sl@0
  7161
	* win/tclWinFCmd.c: made ConvertFileNameFormat static again, since no
sl@0
  7162
	longer used in tclWinFile.c
sl@0
  7163
	* mac/tclMacFile.c: completed TclpObjLink implementation which was
sl@0
  7164
	previously lacking.
sl@0
  7165
	* generic/tclIOUtil.c: comment cleanup and code speedup.
sl@0
  7166
sl@0
  7167
2002-07-14  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7168
sl@0
  7169
	* generic/tclInt.h:	Removed declarations that duplicated entries
sl@0
  7170
	in the (internal) stub table.
sl@0
  7171
sl@0
  7172
	* library/tcltest/tcltest.tcl:	Corrected errors in handling of
sl@0
  7173
	configuration options -constraints and -limitconstraints.
sl@0
  7174
sl@0
  7175
	* README:		Bumped HEAD to version 8.4b2 so we can
sl@0
  7176
	* generic/tcl.h:	distinguish it from the 8.4b1 release.
sl@0
  7177
	* tools/tcl.wse.in:
sl@0
  7178
	* unix/configure*:
sl@0
  7179
	* unix/tcl.spec:
sl@0
  7180
	* win/README.binary:
sl@0
  7181
	* win/configure*:
sl@0
  7182
sl@0
  7183
2002-07-11  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  7184
sl@0
  7185
	* doc/file.n:
sl@0
  7186
	* win/tclWinFile.c: on Win 95/98/ME the long form of the path is used
sl@0
  7187
	as a normalized form. This is required because short forms are not a
sl@0
  7188
	robust representation. The file normalization function has been sped
sl@0
  7189
	up, but more performance gains might be possible, if speed is still an
sl@0
  7190
	issue on these platforms.
sl@0
  7191
sl@0
  7192
2002-07-11  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7193
sl@0
  7194
	* library/tcltest/tcltest.tcl: Corrected reaction to existing but
sl@0
  7195
	false ::tcl_interactive.
sl@0
  7196
sl@0
  7197
	* doc/Hash.3: Overlooked CONST documentation update.
sl@0
  7198
sl@0
  7199
2002-07-11  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7200
sl@0
  7201
	* generic/tclCkalloc.c: ckalloc() and friends take the block size as
sl@0
  7202
	an unsigned, so we should use %ud when reporting it in fprintf() and
sl@0
  7203
	panic().
sl@0
  7204
sl@0
  7205
2002-07-11  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7206
sl@0
  7207
	* generic/tclCompile.c: now setting local vars undefined at compile
sl@0
  7208
	time, instead of waiting until the proc is initialized.
sl@0
  7209
	* generic/tclProc.c: use macro TclSetVarUndefined instead of directly
sl@0
  7210
	setting the flag.
sl@0
  7211
sl@0
  7212
2002-07-11  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7213
sl@0
  7214
	* tests/cmdAH.test: [file attr -perm] is Unix-only, so add [catch]
sl@0
  7215
	when not inside a suitably-protected test.
sl@0
  7216
sl@0
  7217
2002-07-10  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7218
sl@0
  7219
	* tests/unixFCmd.test, tests/fileName.test:
sl@0
  7220
	* tests/fCmd.test: Removed [exec] of Unix utilities that have
sl@0
  7221
	equivalents in standard Tcl. [Bug 579268] Also simplified some of
sl@0
  7222
	unixFCmd.test while I was at it.
sl@0
  7223
sl@0
  7224
2002-07-10  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7225
sl@0
  7226
	* tests/tcltest.test:  Greatly reduced the number of [exec]s, using
sl@0
  7227
	slave interps instead.
sl@0
  7228
	* library/tcltest/tcltest.tcl:	Fixed bug uncovered in the conversion
sl@0
  7229
	where a message was written to stdout instead of [outputChannel].
sl@0
  7230
sl@0
  7231
	* tests/basic.test:	Cleaned up, constrained, and reduced the
sl@0
  7232
	* tests/compile.test:	amount of [exec] usage in the test suite.
sl@0
  7233
	* tests/encoding.test:
sl@0
  7234
	* tests/env.test:
sl@0
  7235
	* tests/event.test:
sl@0
  7236
	* tests/exec.test:
sl@0
  7237
	* tests/io.test:
sl@0
  7238
	* tests/ioCmd.test:
sl@0
  7239
	* tests/regexp.test:
sl@0
  7240
	* tests/regexpComp.test:
sl@0
  7241
	* tests/socket.test:
sl@0
  7242
	* tests/tcltest.test:
sl@0
  7243
	* tests/unixInit.test:
sl@0
  7244
	* tests/winDde.test:
sl@0
  7245
	* tests/winPipe.test:
sl@0
  7246
sl@0
  7247
2002-07-10  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7248
sl@0
  7249
	* tests/cmdAH.test: Removed [exec] of Unix utilities. [Bug 579211]
sl@0
  7250
sl@0
  7251
	* tests/expr.test: Added tests to make sure that this works.
sl@0
  7252
	* generic/tclExecute.c (ExprCallMathFunc): Functions should also be
sl@0
  7253
	able to return wide-ints. [Bug 579284]
sl@0
  7254
sl@0
  7255
2002-07-08  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  7256
sl@0
  7257
	* tests/socket.test: Fixed [Bug 578164]. The original reason for the
sl@0
  7258
	was a DNS outage while running the testsuite. Changed [info hostname]
sl@0
  7259
	to 127.0.0.1 to bypass DNS, knowing that we operate on the local
sl@0
  7260
	host.
sl@0
  7261
sl@0
  7262
2002-07-08  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7263
sl@0
  7264
	* doc/tcltest.n:		Fixed incompatibility in [viewFile].
sl@0
  7265
	* library/tcltest/tcltest.tcl:	Corrected docs. Bumped to 2.2.1.
sl@0
  7266
	* library/tcltest/pkgIndex.tcl: [Bug 578163]
sl@0
  7267
sl@0
  7268
2002-07-08  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  7269
sl@0
  7270
	* tests/cmdAH.test:
sl@0
  7271
	* tests/fCmd.test:
sl@0
  7272
	* tests/fileName.test: tests which rely on 'file link' need a
sl@0
  7273
	constraint so they don't run on older Windows OS. [Bug 578158]
sl@0
  7274
	* generic/tclIOUtil.c:
sl@0
  7275
	* generic/tcl.h:
sl@0
  7276
	* generic/tclInt.h:
sl@0
  7277
	* generic/tclTest.c:
sl@0
  7278
	* mac/tclMacChan.c:
sl@0
  7279
	* unix/tclUnixChan.c:
sl@0
  7280
	* win/tclWinChan.c:
sl@0
  7281
	* doc/FileSystem.3: cleaned up internal handling of
sl@0
  7282
	Tcl_FSOpenFileChannel to remove duplicate code, and make writing
sl@0
  7283
	external vfs's clearer and easier. No functionality change. Also
sl@0
  7284
	clarify that objects with refCount zero should not be passed in to the
sl@0
  7285
	Tcl_FS API, and prevent segfaults from occuring on such user errors.
sl@0
  7286
	[Bug 578617]
sl@0
  7287
sl@0
  7288
2002-07-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7289
sl@0
  7290
	* tests/pkgMkIndex.test:  Constrained tests of [load] package indexing
sl@0
  7291
	to those platforms where the testing shared libraries have been built.
sl@0
  7292
	[Bug 578166].
sl@0
  7293
sl@0
  7294
2002-07-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7295
sl@0
  7296
	* changes: added recent changes
sl@0
  7297
sl@0
  7298
2002-07-05  Reinhard Max  <max@suse.de>
sl@0
  7299
sl@0
  7300
	* generic/tclClock.c (FormatClock): Convert the format string to
sl@0
  7301
	UTF8 before calling TclpStrftime, so that non-ASCII characters don't
sl@0
  7302
	get mangled when the result string is being converted back.
sl@0
  7303
	* tests/clock.test: Added a test for that.
sl@0
  7304
sl@0
  7305
2002-07-05  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7306
sl@0
  7307
	* unix/Makefile.in (ro-test,ddd,GDB,DDD): Created new targets to allow
sl@0
  7308
	running the test suite with a read-only current directory, running
sl@0
  7309
	under ddd instead of gdb, and factored out some executable names for
sl@0
  7310
	broken sites (like mine) where gdb and ddd are installed with
sl@0
  7311
	non-standard names...
sl@0
  7312
sl@0
  7313
	* tests/httpold.test: Altered test names to httpold-* to avoid clashes
sl@0
  7314
	with http.test, and stopped tests from failing when the current
sl@0
  7315
	directory is not writable...
sl@0
  7316
sl@0
  7317
	* tests/event.test:		Stop these tests from failing
sl@0
  7318
	* tests/ioUtil.test:		when the current directory is
sl@0
  7319
	* tests/regexp.test:		not writable...
sl@0
  7320
	* tests/regexpComp.test:
sl@0
  7321
	* tests/source.test:
sl@0
  7322
	* tests/unixFile.test:
sl@0
  7323
	* tests/unixNotfy.test:
sl@0
  7324
sl@0
  7325
	* tests/unixFCmd.test:		Trying to make these test-files
sl@0
  7326
	* tests/macFCmd.test:		not bomb out with an error when
sl@0
  7327
	* tests/http.test:		the current directory is not
sl@0
  7328
	* tests/fileName.test:		writable...
sl@0
  7329
	* tests/env.test:
sl@0
  7330
sl@0
  7331
2002-07-05  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  7332
sl@0
  7333
	*** 8.4b1 TAGGED FOR RELEASE ***
sl@0
  7334
sl@0
  7335
2002-07-04  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7336
sl@0
  7337
	* tests/cmdMZ.test (cmdMZ-1.4):
sl@0
  7338
	* tests/cmdAH.test: More fixing of writable-current-dir assumption.
sl@0
  7339
	[Bug 575824]
sl@0
  7340
sl@0
  7341
2002-07-04  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7342
sl@0
  7343
	* tests/basic.test: Same issue as below; fixed [Bug 575817]
sl@0
  7344
sl@0
  7345
2002-07-04  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  7346
sl@0
  7347
	* tests/socket.test:
sl@0
  7348
	* tests/winPipe.test:
sl@0
  7349
	* tests/pid.test: Fixed [Bug 575848]. See below for a description the
sl@0
  7350
	general problem.
sl@0
  7351
sl@0
  7352
	All the bugs below are instances of the same problem: The testsuite
sl@0
  7353
	assumes [pwd] = [temporaryDirectory] and writable.
sl@0
  7354
sl@0
  7355
	* tests/iogt.test: Fixed [Bug 575860]
sl@0
  7356
	* tests/io.test:   Fixed [Bug 575862]
sl@0
  7357
	* tests/exec.test:
sl@0
  7358
	* tests/ioCmd.test: Fixed [Bug 575836]
sl@0
  7359
sl@0
  7360
2002-07-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7361
sl@0
  7362
	* tests/pkg1/direct1.tcl: removed
sl@0
  7363
	* tests/pkg1/pkgIndex.tcl: removed
sl@0
  7364
	* tests/pkgMkIndex.test: Imported auxilliary files from tests/pkg1
sl@0
  7365
	into the test file pkgMkIndex.test itself. Formatting fixes.
sl@0
  7366
sl@0
  7367
	* unix/Makefile.in: removed tests/pkg/* from `make dist`
sl@0
  7368
sl@0
  7369
	* tests/pkg/circ1.tcl: removed
sl@0
  7370
	* tests/pkg/circ2.tcl: removed
sl@0
  7371
	* tests/pkg/circ3.tcl: removed
sl@0
  7372
	* tests/pkg/global.tcl: removed
sl@0
  7373
	* tests/pkg/import.tcl: removed
sl@0
  7374
	* tests/pkg/pkg1.tcl: removed
sl@0
  7375
	* tests/pkg/pkg2_a.tcl: removed
sl@0
  7376
	* tests/pkg/pkg2_b.tcl: removed
sl@0
  7377
	* tests/pkg/pkg3.tcl: removed
sl@0
  7378
	* tests/pkg/pkg4.tcl: removed
sl@0
  7379
	* tests/pkg/pkg5.tcl: removed
sl@0
  7380
	* tests/pkg/pkga.tcl: removed
sl@0
  7381
	* tests/pkg/samename.tcl: removed
sl@0
  7382
	* tests/pkg/simple.tcl: removed
sl@0
  7383
	* tests/pkg/spacename.tcl: removed
sl@0
  7384
	* tests/pkg/std.tcl: removed
sl@0
  7385
	* tests/pkgMkIndex.test: Fixed [Bug 575857] where this test file
sl@0
  7386
	expected to be able to write to [file join [testsDirectory] pkg]. Part
sl@0
  7387
	of the fix was to import several auxilliary files into the test file
sl@0
  7388
	itself.
sl@0
  7389
sl@0
  7390
	* tests/main.test:	Cheap fix for [Bugs 575851, 575858]. Avoid
sl@0
  7391
	* tests/tcltest.test:	non-writable . by [cd [temporaryDirectory]].
sl@0
  7392
sl@0
  7393
	* library/auto.tcl: Fix [tcl_findLibrary] to be sure it sets $varName
sl@0
  7394
	only if a successful library script is found. [Bug 577033]
sl@0
  7395
sl@0
  7396
2002-07-03  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7397
sl@0
  7398
	* generic/tclCompCmds.c (TclCompileCatchCmd): return
sl@0
  7399
	TCL_OUT_LINE_COMPILE instead of TCL_ERROR: let the failure happen at
sl@0
  7400
	runtime so that it can be caught [Bug 577015].
sl@0
  7401
sl@0
  7402
2002-07-02  Joe English  <jenglish@users.sourceforge.net>
sl@0
  7403
sl@0
  7404
	* doc/tcltest.n: Markup fixes, spellcheck.
sl@0
  7405
sl@0
  7406
2002-07-02  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7407
sl@0
  7408
	* doc/tcltest.n: more refinements of the documentation.
sl@0
  7409
sl@0
  7410
	* library/tcltest/tcltest.tcl: Added trace to be sure the stdio
sl@0
  7411
	constraint is updated whenever the [interpreter] changes.
sl@0
  7412
sl@0
  7413
	* doc/tcltest.n:		Reverted [makeFile] and [viewFile] to
sl@0
  7414
	* library/tcltest/tcltest.tcl:	their former behavior, and documented
sl@0
  7415
	* tests/cmdAH.test:		it. Corrected misspelling of hook
sl@0
  7416
	* tests/event.test:		procedure. Restored tests.
sl@0
  7417
	* tests/http.test:
sl@0
  7418
	* tests/io.test:
sl@0
  7419
sl@0
  7420
	* library/tcltest/tcltest.tcl: Simplified logic of [GetMatchingFiles]
sl@0
  7421
	and [GetMatchingDirectories], removing special case processing.
sl@0
  7422
sl@0
  7423
	* doc/tcltest.n: More documentation updates. Reference sections are
sl@0
  7424
	complete. Only examples need adding.
sl@0
  7425
sl@0
  7426
2002-07-02  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  7427
sl@0
  7428
	* tests/fCmd.test:
sl@0
  7429
	* generic/tclCmdAH.c: clearer error msgs for 'file link', as per the
sl@0
  7430
	man page.
sl@0
  7431
sl@0
  7432
2002-07-01  Joe English  <jenglish@users.sourceforge.net>
sl@0
  7433
sl@0
  7434
	* doc/Access.3:
sl@0
  7435
	* doc/AddErrInfo.3:
sl@0
  7436
	* doc/Alloc.3:
sl@0
  7437
	* doc/Backslash.3:
sl@0
  7438
	* doc/CrtChannel.3:
sl@0
  7439
	* doc/CrtSlave.3:
sl@0
  7440
	* doc/Encoding.3:
sl@0
  7441
	* doc/Eval.3:
sl@0
  7442
	* doc/FileSystem.3:
sl@0
  7443
	* doc/Notifier.3:
sl@0
  7444
	* doc/OpenFileChnl.3:
sl@0
  7445
	* doc/ParseCmd.3:
sl@0
  7446
	* doc/RegExp.3:
sl@0
  7447
	* doc/Tcl_Main.3:
sl@0
  7448
	* doc/Thread.3:
sl@0
  7449
	* doc/TraceCmd.3:
sl@0
  7450
	* doc/Utf.3:
sl@0
  7451
	* doc/WrongNumArgs.3:
sl@0
  7452
	* doc/binary.n:
sl@0
  7453
	* doc/clock.n:
sl@0
  7454
	* doc/expr.n:
sl@0
  7455
	* doc/fconfigure.n:
sl@0
  7456
	* doc/glob.n:
sl@0
  7457
	* doc/http.n:
sl@0
  7458
	* doc/interp.n:
sl@0
  7459
	* doc/lsearch.n:
sl@0
  7460
	* doc/lset.n:
sl@0
  7461
	* doc/msgcat.n:
sl@0
  7462
	* doc/packagens.n:
sl@0
  7463
	* doc/pkgMkIndex.n:
sl@0
  7464
	* doc/registry.n:
sl@0
  7465
	* doc/resource.n:
sl@0
  7466
	* doc/safe.n:
sl@0
  7467
	* doc/scan.n:
sl@0
  7468
	* doc/tclvars.n:  Spell-check, fixed typos (Updates from Larry Virden)
sl@0
  7469
sl@0
  7470
2002-07-01  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7471
sl@0
  7472
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Made Solaris use gcc for linking
sl@0
  7473
	when building with gcc to resolve problems with undefined symbols
sl@0
  7474
	being present when tcl library used with non-gcc linker at later
sl@0
  7475
	stage. Symbols were compiler-generated, so it is the compiler's
sl@0
  7476
	business to define them. [Bug 541181]
sl@0
  7477
sl@0
  7478
2002-07-01  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7479
sl@0
  7480
	* doc/tcltest.n: more work in progress updating tcltest docs.
sl@0
  7481
sl@0
  7482
	* library/tcltest/tcltest.tcl: Change [configure -match] to stop
sl@0
  7483
	treating an empty list as a list of the single pattern "*". Changed
sl@0
  7484
	the default value to [list *] so default operation remains the same.
sl@0
  7485
sl@0
  7486
	* tests/pkg/samename.tcl: restored. Needed by pkgMkIndex.test.
sl@0
  7487
sl@0
  7488
	* library/tcltest/tcltest.tcl: restored writeability testing of
sl@0
  7489
	-tmpdir, augmented by a special exception for the deafault value.
sl@0
  7490
sl@0
  7491
2002-07-01  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7492
sl@0
  7493
	* doc/concat.n: Documented the *real* behaviour of [concat]!
sl@0
  7494
sl@0
  7495
2002-06-30  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7496
sl@0
  7497
	* doc/tcltest.n: more work in progress updating tcltest docs.
sl@0
  7498
sl@0
  7499
	* tests/README:		Updated the instructions on running and
sl@0
  7500
	* tests/cmdMZ.test:	adding to the test suite.  Also updated
sl@0
  7501
	* tests/encoding.test:	several tests, mostly to correctly create
sl@0
  7502
	* tests/fCmd.test:	and destroy any temporary files in the
sl@0
  7503
	* tests/info.test:	[temporaryDirectory] of tcltest.
sl@0
  7504
	* tests/interp.test:
sl@0
  7505
sl@0
  7506
	* library/tcltest/tcltest.tcl:	Stopped checking for writeability of
sl@0
  7507
	-tmpdir value because no default directory can be guaranteed to be
sl@0
  7508
	writeable.
sl@0
  7509
sl@0
  7510
	* tests/autoMkindex.tcl: removed.
sl@0
  7511
	* tests/pkg/samename.tcl: removed.
sl@0
  7512
	* tests/pkg/magicchar.tcl: removed.
sl@0
  7513
	* tests/pkg/magicchar2.tcl: removed.
sl@0
  7514
	* tests/autoMkindex.test: Updated auto_mkIndex tests to use [makeFile]
sl@0
  7515
	and [removeFile] so tests are done in [temporaryDirecotry] where write
sl@0
  7516
	access is guaranteed.
sl@0
  7517
sl@0
  7518
	* library/tcltest/tcltest.tcl:	Fixed [makeFile] and [viewFile] to
sl@0
  7519
	* tests/cmdAH.test:		accurately reflect a file's contents.
sl@0
  7520
	* tests/event.test:		Updated tests that depended on buggy
sl@0
  7521
	* tests/http.test:		behavior.  Also added warning messages
sl@0
  7522
	* tests/io.test:		to "-debug 1" operations to debug test
sl@0
  7523
	* tests/iogt.test:		calls to (make|remove)(File|Directory).
sl@0
  7524
sl@0
  7525
	* unix/mkLinks: `make mklinks` on 6-27 commits.
sl@0
  7526
sl@0
  7527
2002-06-28  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7528
sl@0
  7529
	* generic/tclCompile.h: modified the macro TclEmitPush to not call its
sl@0
  7530
	first argument repeatedly or pass it to other macros, [Bug 575194]
sl@0
  7531
	reported by Peter Spjuth.
sl@0
  7532
sl@0
  7533
2002-06-28  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7534
sl@0
  7535
	* docs/tcltest.n:	Doc revisions in progress.
sl@0
  7536
	* library/tcltest/tcltest.tcl: Corrected -testdir default value. Was
sl@0
  7537
	not reliable, and disagreed with docs! Thanks to Hemang Lavana. [Bug
sl@0
  7538
	575150]
sl@0
  7539
sl@0
  7540
2002-06-28  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7541
sl@0
  7542
	* unix/tclUnixThrd.c:	Renamed the Tcl_Platform* #defines to
sl@0
  7543
	* unix/tclUnixPipe.c:	TclOS* because they are only used
sl@0
  7544
	* unix/tclUnixFile.c:	internally.  Also stopped double-#def
sl@0
  7545
	* unix/tclUnixFCmd.c:	of TclOSlstat [Bug 566099, post-rename]
sl@0
  7546
	* unix/tclUnixChan.c:
sl@0
  7547
	* unix/tclUnixPort.h:
sl@0
  7548
sl@0
  7549
	* doc/string.n: Improved documentation for [string last] along lines
sl@0
  7550
	described in [Bug 574799] so it indicates that the supplied index
sl@0
  7551
	marks the end of the search space.
sl@0
  7552
sl@0
  7553
2002-06-27  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7554
sl@0
  7555
	* doc/dde.n:		Work in progress updating the documentation
sl@0
  7556
	* doc/http.n:		of the packages that come bundled with
sl@0
  7557
	* doc/msgcat.n:		the Tcl source distribution, notably tcltest.
sl@0
  7558
	* doc/registry.n:
sl@0
  7559
	* doc/tcltest.n:
sl@0
  7560
sl@0
  7561
	* library/tcltest/tcltest.tcl:	Made sure that the TCLTEST_OPTIONS
sl@0
  7562
	environment variablle configures tcltest at package load time.
sl@0
  7563
sl@0
  7564
2002-06-26  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  7565
sl@0
  7566
	* tests/fileSystem.test:
sl@0
  7567
	* generic/tclIOUtil.c: fix to handling of empty paths "" which are not
sl@0
  7568
	claimed by any filesystem [Bug 573758]. Ensure good error messages are
sl@0
  7569
	given in all cases.
sl@0
  7570
	* tests/cmdAH.test:
sl@0
  7571
	* unix/tclUnixFCmd.c: fix to bug reported as part of [Patch 566669].
sl@0
  7572
	Thanks to Taguchi, Takeshi for the report.
sl@0
  7573
sl@0
  7574
2002-06-26  Reinhard Max  <max@suse.de>
sl@0
  7575
sl@0
  7576
	* unix/tclUnixTime.c: Make [clock format] respect locale settings.
sl@0
  7577
	* tests/clock.test:   [Bug 565880]. ***POTENTIAL INCOMPATIBILITY***
sl@0
  7578
sl@0
  7579
2002-06-26  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7580
sl@0
  7581
	* doc/CrtInterp.3:
sl@0
  7582
	* doc/StringObj.3: clarifications by Don Porter, [Bugs 493995, 500930]
sl@0
  7583
sl@0
  7584
2002-06-24  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7585
sl@0
  7586
	* library/tcltest/tcltest.tcl:	Corrected suppression of -verbose skip
sl@0
  7587
	* tests/tcltest.test:		and start by [test -output]. Also
sl@0
  7588
	corrected test suite errors exposed by corrected code. [Bug 564656]
sl@0
  7589
sl@0
  7590
2002-06-25  Reinhard Max  <max@suse.de>
sl@0
  7591
sl@0
  7592
	* unix/tcl.m4:	     New macro SC_CONFIG_MANPAGES.
sl@0
  7593
	* unix/configure.in: Added support for symlinks and compression
sl@0
  7594
	* unix/Makefile.in:  when installing the manpages. [Patch 518052]
sl@0
  7595
	* unix/mkLinks.tcl:  Default is still hardlinks and no compression.
sl@0
  7596
sl@0
  7597
	* unix/mkLinks:	     generated
sl@0
  7598
	* unix/configure:
sl@0
  7599
sl@0
  7600
	* unix/README:	     Added documentation for the new features.
sl@0
  7601
sl@0
  7602
	* unix/tcl.m4 (SC_PATH_TCLCONFIG): Replaced ${exec_prefix}/lib by
sl@0
  7603
	${libdir}.
sl@0
  7604
sl@0
  7605
2002-06-25  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7606
sl@0
  7607
	* generic/tclUtil.c (TclGetIntForIndex): Fix of critical [Bug 533364]
sl@0
  7608
	generated when the index is bad and the result is a shared object. The
sl@0
  7609
	T_ASTO(T_GOR, ...) idiom likely exists elsewhere though. Also removed
sl@0
  7610
	some cruft that just complicated things to no advantage.
sl@0
  7611
	(SetEndOffsetFromAny): Same fix, though this wasn't on the path
sl@0
  7612
	excited by the bug.
sl@0
  7613
sl@0
  7614
2002-06-24  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7615
sl@0
  7616
	* library/tcltest/tcltest.tcl:	Implementation of TIP 101.  Adds
sl@0
  7617
	* tests/parseOld.test:		and exports a [configure] command
sl@0
  7618
	* tests/tcltest.test:		from tcltest.
sl@0
  7619
sl@0
  7620
2002-06-22  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7621
sl@0
  7622
	* changes: updated changes file for 8.4b1 release.
sl@0
  7623
sl@0
  7624
	* library/tcltest/tcltest.tcl:	Corrections to tcltest and the
sl@0
  7625
	* tests/basic.test:		Tcl test suite so that a test
sl@0
  7626
	* tests/cmdInfo.test:		with options -constraints knownBug
sl@0
  7627
	* tests/compile.test:		-limitConstraints 1 only tests the
sl@0
  7628
	* tests/encoding.test:		knownBug tests. Mostly involves
sl@0
  7629
	* tests/env.test:		replacing direct access to the
sl@0
  7630
	* tests/event.test:		testConstraints array with calls
sl@0
  7631
	* tests/exec.test:		to the testConstraint command
sl@0
  7632
	* tests/execute.test:		(which requires tcltest version 2)
sl@0
  7633
	* tests/fCmd.test:
sl@0
  7634
	* tests/format.test:
sl@0
  7635
	* tests/http.test:
sl@0
  7636
	* tests/httpold.test:
sl@0
  7637
	* tests/ioUtil.test:
sl@0
  7638
	* tests/link.test:
sl@0
  7639
	* tests/load.test:
sl@0
  7640
	* tests/namespace.test:
sl@0
  7641
	* tests/pkgMkIndex.test:
sl@0
  7642
	* tests/reg.test:
sl@0
  7643
	* tests/result.test:
sl@0
  7644
	* tests/scan.test:
sl@0
  7645
	* tests/stack.test:
sl@0
  7646
sl@0
  7647
2002-06-22  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7648
sl@0
  7649
	* tools/tcl.wse.in (Disk Label), unix/tcl.spec (version):
sl@0
  7650
	* win/README.binary, README, win/configure.in, unix/configure.in:
sl@0
  7651
	* generic/tcl.h (TCL_RELEASE_*, TCL_PATCH_LEVEL): Bump to beta1.
sl@0
  7652
sl@0
  7653
2002-06-21  Joe English  <jenglish@users.sourceforge.net>
sl@0
  7654
sl@0
  7655
	* generic/tclCompExpr.c:
sl@0
  7656
	* generic/tclParseExpr.c: LogSyntaxError() should reset the
sl@0
  7657
	interpreter result [Bug 550142 "Tcl_ExprObj -> abort"]
sl@0
  7658
sl@0
  7659
2002-06-21  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7660
sl@0
  7661
	* unix/Makefile.in:	Updated all package install directories to
sl@0
  7662
	* win/Makefile.in:	match current Major.minor versions of the
sl@0
  7663
	* win/makefile.bc:	packages. Added tcltest package to
sl@0
  7664
	* win/makefile.vc:	installation on Windows.
sl@0
  7665
sl@0
  7666
	* library/init.tcl:  Corrected comments and namespace style issues.
sl@0
  7667
	Thanks to Bruce Stephens. [Bug 572025]
sl@0
  7668
sl@0
  7669
2002-06-21  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  7670
sl@0
  7671
	* tests/cmdAH.test:	     Added TIP#99 implementation of 'file
sl@0
  7672
	* tests/fCmd.test:	     link'. Supports creation of symbolic and
sl@0
  7673
	* tests/fileName.test:	     hard links in the native filesystems and
sl@0
  7674
	* tests/fileSystem.test:     in vfs's, when the individual filesystem
sl@0
  7675
	* generic/tclTest.c:	     supports the concept.
sl@0
  7676
	* generic/tclCmdAH.c:
sl@0
  7677
	* generic/tclIOUtil.c:
sl@0
  7678
	* generic/tcl.h:
sl@0
  7679
	* generic/tcl.decls:
sl@0
  7680
	* doc/FileSystem.3:
sl@0
  7681
	* doc/file.n:
sl@0
  7682
	* mac/tclMacFile.c:
sl@0
  7683
	* unix/tclUnixFile.c:
sl@0
  7684
	* win/tclWinFile.c: Also enhanced speed of 'file normalize' on Windows
sl@0
  7685
sl@0
  7686
2002-06-20  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7687
sl@0
  7688
	* generic/tclBasic.c (TclEvalObjvInternal): fix for [Bug 571385] in
sl@0
  7689
	the implementation of TIP#62 (command tracing). Vince Darley, Hemang
sl@0
  7690
	Lavana & Don Porter: thanks.
sl@0
  7691
sl@0
  7692
2002-06-20  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7693
sl@0
  7694
	* generic/tclExecute.c (TclCompEvalObj): clarified and simplified the
sl@0
  7695
	logic for compilation/recompilation.
sl@0
  7696
sl@0
  7697
2002-06-19  Joe English  <jenglish@users.sourceforge.net>
sl@0
  7698
sl@0
  7699
	* doc/file.n: Fixed indentation.  No substantive changes.
sl@0
  7700
sl@0
  7701
2002-06-19  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  7702
sl@0
  7703
	* generic/tclCmdMZ.c (Tcl_RegexpObjCmd): get the resultPtr again as
sl@0
  7704
	the Tcl_ObjSetVar2 may cause the result to change.
sl@0
  7705
	[Patch 558324] (watson)
sl@0
  7706
sl@0
  7707
2002-06-19  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7708
sl@0
  7709
	* generic/tclExecute.c (TEBC): removing unused "for(;;)" loop;
sl@0
  7710
	improved comments; re-indentation.
sl@0
  7711
sl@0
  7712
2002-06-18  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7713
sl@0
  7714
	* generic/tclExecute.c (TEBC):
sl@0
  7715
	- elimination of duplicated code in the non-immediate INST_INCR
sl@0
  7716
	  instructions.
sl@0
  7717
	- elimination of 103 (!) TclDecrRefCount macros. The different
sl@0
  7718
	  instructions now jump back to a common "DecrRefCount zone" at the
sl@0
  7719
	  top of the loop. The macro "ADJUST_PC" was replaced by two macros
sl@0
  7720
	  "NEXT_INST_F" and "NEXT_INST_V" that take three params
sl@0
  7721
	  (pcAdjustment, # of stack objects to discard, resultObjPtr handling
sl@0
  7722
	  flag). The only instructions that retain a TclDecrRefCount are
sl@0
  7723
	  INST_POP (for speed), the common code for the non-immediate
sl@0
  7724
	  INST_INCR, INST_FOREACH_STEP and the two INST_LSET.
sl@0
  7725
sl@0
  7726
	The object size of tclExecute.o was reduced by approx 20% since the
sl@0
  7727
	start of the consolidation drive, while making room for some peep-hole
sl@0
  7728
	optimisation at runtime.
sl@0
  7729
sl@0
  7730
2002-06-18  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7731
sl@0
  7732
	* generic/tclExecute.c (TEBC, INST_DONE): small bug in the panic code
sl@0
  7733
	for tcl-stack corruption.
sl@0
  7734
sl@0
  7735
2002-06-17  David Gravereaux <davygrvy@pobox.com>
sl@0
  7736
sl@0
  7737
	Trims to support the removal of RESOURCE_INCLUDED from rc scripts from
sl@0
  7738
	[FRQ 565088].
sl@0
  7739
sl@0
  7740
	* generic/tcl.h: moved the #ifndef RC_INVOKED start block up in the
sl@0
  7741
	file. rc scripts don't need to know thread mutexes.
sl@0
  7742
sl@0
  7743
	* win/tcl.rc:
sl@0
  7744
	* win/tclsh.rc: removed the #define RESOURCE_INCLUDED to let the
sl@0
  7745
	built-in -DRC_INVOKED to the work.
sl@0
  7746
sl@0
  7747
2002-06-17  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  7748
sl@0
  7749
	* doc/CrtTrace.3:	 Added TIP#62 implementation of command
sl@0
  7750
	* doc/trace.n:		 execution tracing [FRQ 462580] (lavana).
sl@0
  7751
	* generic/tcl.h:	 This includes enter/leave tracing as well
sl@0
  7752
	* generic/tclBasic.c:	 as inter-procedure stepping.
sl@0
  7753
	* generic/tclCmdMZ.c:
sl@0
  7754
	* generic/tclCompile.c:
sl@0
  7755
	* generic/tclExecute.c:
sl@0
  7756
	* generic/tclInt.decls:
sl@0
  7757
	* generic/tclInt.h:
sl@0
  7758
	* generic/tclIntDecls.h:
sl@0
  7759
	* generic/tclStubInit.c:
sl@0
  7760
	* generic/tclVar.c:
sl@0
  7761
	* tests/trace.test:
sl@0
  7762
sl@0
  7763
2002-06-17  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  7764
sl@0
  7765
	* win/tclWinPipe.c (BuildCommandLine): Fixed [bug 554068] ([exec] on
sl@0
  7766
	windows did not treat { in filenames well.). Bug reported by Vince
sl@0
  7767
	Darley <vincentdarley@users.sourceforge.net>, patch provided by Vince
sl@0
  7768
	too.
sl@0
  7769
sl@0
  7770
2002-06-17  Joe English  <jenglish@users.sourceforge.net>
sl@0
  7771
sl@0
  7772
	* generic/tcl.h: #ifdef logic for K&R C backwards compatibility
sl@0
  7773
	changed to assume modern C by default. See [FRQ 565088] for full
sl@0
  7774
	details.
sl@0
  7775
sl@0
  7776
2002-06-17  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7777
sl@0
  7778
	* doc/msgcat.n: Corrected en_UK references to en_GB. UK is not a
sl@0
  7779
	country designation recognized in ISO 3166.
sl@0
  7780
sl@0
  7781
	* library/msgcat/msgcat.tcl:  More Windows Registry locale codes from
sl@0
  7782
	Bruno Haible.
sl@0
  7783
sl@0
  7784
	* doc/msgcat.n:
sl@0
  7785
	* library/msgcat/msgcat.tcl:
sl@0
  7786
	* library/msgcat/pkgIndex.tcl:
sl@0
  7787
	* tests/msgcat.test:  Revised locale initialization to interpret
sl@0
  7788
	environment variable locale values according to XPG4, and to recognize
sl@0
  7789
	the LC_ALL and LC_MESSAGES values over that of LANG. Also added many
sl@0
  7790
	Windows Registry locale values to those recognized by msgcat. Revised
sl@0
  7791
	tests and docs. Bumped to version 1.3. Thanks to Bruno Haible for the
sl@0
  7792
	report and assistance crafting the solution. [Bug 525522, 525525]
sl@0
  7793
sl@0
  7794
2002-06-16  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7795
sl@0
  7796
	* generic/tclCompile.c (TclCompileTokens): a better algorithm for the
sl@0
  7797
	previous bug fix.
sl@0
  7798
sl@0
  7799
2002-06-16  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7800
sl@0
  7801
	* generic/tclCompile.c (TclCompileTokens):
sl@0
  7802
	* tests/compile.test: [Bug 569438] in the processing of dollar
sl@0
  7803
	variables; report by Georgios Petasis.
sl@0
  7804
sl@0
  7805
2002-06-16  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7806
sl@0
  7807
	* generic/tclExecute.c: bug in the consolidation of the INCR_..._STK
sl@0
  7808
	instructions; the bug could not be exercised as the (faulty)
sl@0
  7809
	instruction INST_INCR_ARRAY_STK was never compiled-in (related to [Bug
sl@0
  7810
	569438]).
sl@0
  7811
sl@0
  7812
2002-06-14  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7813
sl@0
  7814
	* generic/tclExecute.c (TclExecuteByteCode): runtime peep-hole
sl@0
  7815
	optimisation of variables (INST_STORE, INST_INCR) and commands
sl@0
  7816
	(INST_INVOKE); faster check for the existence of a catch.
sl@0
  7817
	(TclExecuteByteCode): runtime peep-hole optimisation of comparisons.
sl@0
  7818
	(TclExecuteByteCode): runtime peep-hole optimisation of INST_FOREACH -
sl@0
  7819
	relies on peculiarities of the code produced by the bytecode compiler.
sl@0
  7820
sl@0
  7821
2002-06-14  David Gravereaux <davygrvy@pobox.com>
sl@0
  7822
sl@0
  7823
	* win/rules.vc: The test for compiler optimizations was in error.
sl@0
  7824
	Thanks goes to Roy Terry <royterry@earthlink.net> for his assistance
sl@0
  7825
	with this.
sl@0
  7826
sl@0
  7827
2002-06-14  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7828
sl@0
  7829
	* doc/trace.n, tests/trace.test:
sl@0
  7830
	* generic/tclCmdMZ.c (Tcl_TraceObjCmd,TclTraceCommandObjCmd)
sl@0
  7831
	(TclTraceVariableObjCmd): Changed references to "trace list" to "trace
sl@0
  7832
	info" as mandated by TIP#102.
sl@0
  7833
sl@0
  7834
2002-06-13  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7835
sl@0
  7836
	* generic/tclExecute.c (TclExecuteByteCode): consolidated code for the
sl@0
  7837
	conditional branch instructions.
sl@0
  7838
sl@0
  7839
2002-06-13  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7840
sl@0
  7841
	* generic/tclExecute.c (TclExecuteByteCode): fixed the previous
sl@0
  7842
	patch - wouldn't compile with TCL_COMPILE_DEBUG set.
sl@0
  7843
sl@0
  7844
2002-06-13  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7845
sl@0
  7846
	* generic/tclExecute.c (TclExecuteByteCode): consolidated the handling
sl@0
  7847
	of exception returns to INST_INVOKE and INST_EVAL, as well as most of
sl@0
  7848
	the code for INST_CONTINUE and INST_BREAK, in the new jump target
sl@0
  7849
	"processExceptionReturn".
sl@0
  7850
sl@0
  7851
2002-06-13  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7852
sl@0
  7853
	* generic/tclExecute.c (TclExecuteByteCode): consolidated variable
sl@0
  7854
	handling opcodes, replaced redundant code with some 'goto'. All
sl@0
  7855
	store/append/lappend opcodes on the same data type now share the main
sl@0
  7856
	code; same with incr opcodes.
sl@0
  7857
	* generic/tclVar.c: added the bit TCL_TRACE_READS to the possible
sl@0
  7858
	flags to Tcl_SetVar2Ex - it causes read traces to be fired prior to
sl@0
  7859
	setting the variable. This is used in the core for [lappend].
sl@0
  7860
sl@0
  7861
	***NOTE*** the usage of TCL_TRACE_READS in Tcl_(Obj)?GetVar.* is not
sl@0
  7862
	documented; there, it causes the call to create the variable if it
sl@0
  7863
	does not exist. The new usage in Tcl_(Obj)?SetVar.* remains
sl@0
  7864
	undocumented too ...
sl@0
  7865
sl@0
  7866
2002-06-13  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  7867
sl@0
  7868
	* tests/fCmd.test:
sl@0
  7869
	* tests/winFile.test:
sl@0
  7870
	* tests/fileSystem.test:
sl@0
  7871
	* generic/tclTest.c:
sl@0
  7872
	* generic/tclCmdAH.c:
sl@0
  7873
	* generic/tclIOUtil.c:
sl@0
  7874
	* doc/FileSystem.3:
sl@0
  7875
	* mac/tclMacFile.c:
sl@0
  7876
	* unix/tclUnixFile.c:
sl@0
  7877
	* win/tclWinFile.c: fixed up further so both compiles and actually
sl@0
  7878
	works with VC++ 5 or 6.
sl@0
  7879
	* win/tclWinInt.h:
sl@0
  7880
	* win/tclWin32Dll.c: cleaned up code and vfs tests and added tests for
sl@0
  7881
	the internal changes of 2002-06-12, to see whether WinTcl on NTFS can
sl@0
  7882
	coexist peacefully with links in the filesystem. Added new test
sl@0
  7883
	command 'testfilelink' to enable the newer code to be tested.
sl@0
  7884
	* tests/fCmd.test: (made certain tests of 'testfilelink' not run on
sl@0
  7885
	unix).
sl@0
  7886
sl@0
  7887
2002-06-12  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7888
sl@0
  7889
	* tclBasic.c (Tcl_DeleteTrace): fixed [Bug 568123] (thanks to
sl@0
  7890
	Hemang Lavana)
sl@0
  7891
sl@0
  7892
2002-06-12  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  7893
sl@0
  7894
	* win/tclWinFile.c: corrected the symbolic link handling code to
sl@0
  7895
	allow it to compile. Added real definition of REPARSE_DATA_BUFFER
sl@0
  7896
	(found in winnt.h). Most of the added definitions appear to have
sl@0
  7897
	correct, cross-Win-version equivalents in winnt.h and should be
sl@0
  7898
	removed, but just making things "work" for now.
sl@0
  7899
sl@0
  7900
2002-06-12  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  7901
sl@0
  7902
	* generic/tclIOUtil.c:
sl@0
  7903
	* generic/tcl.decls:
sl@0
  7904
	* generic/tclDecls.h: made code for Tcl_FSNewNativePath agree with man
sl@0
  7905
	pages.
sl@0
  7906
sl@0
  7907
	* doc/FileSystem.3: clarified the circumstances under which certain
sl@0
  7908
	functions are called in the presence of symlinks.
sl@0
  7909
sl@0
  7910
	* win/tclWinFile.c:
sl@0
  7911
	* win/tclWinPort.h:
sl@0
  7912
	* win/tclWinInt.h:
sl@0
  7913
	* win/tclWinFCmd.c:  Fix for Windows to allow 'file lstat', 'file
sl@0
  7914
	type', 'glob -type l', 'file copy', 'file delete', 'file normalize',
sl@0
  7915
	and all VFS code to work correctly in the presence of symlinks
sl@0
  7916
	(previously Tcl's behaviour was not very well defined). This also
sl@0
  7917
	fixes possible serious problems in all versions of WinTcl where 'file
sl@0
  7918
	delete' on a NTFS symlink could delete the original, not the symlink.
sl@0
  7919
	Note: symlinks cannot yet be created in pure Tcl.
sl@0
  7920
sl@0
  7921
2002-06-11  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7922
sl@0
  7923
	* generic/tclBasic.c:
sl@0
  7924
	* generic/tclCompCmds.c:
sl@0
  7925
	* generic/tclInt.h: reverted the new compilation functions; replaced
sl@0
  7926
	by a more general approach described below.
sl@0
  7927
sl@0
  7928
	* generic/tclCompCmds.c:
sl@0
  7929
	* generic/tclCompile.c: made *all* compiled variable access attempts
sl@0
  7930
	create an indexed variable - even get or incr without previous set.
sl@0
  7931
	This allows indexed access to local variables that are created and set
sl@0
  7932
	at runtime, for example by [global], [upvar], [variable], [regexp],
sl@0
  7933
	[regsub].
sl@0
  7934
sl@0
  7935
2002-06-11  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7936
sl@0
  7937
	* doc/global.n:
sl@0
  7938
	* doc/info.n:
sl@0
  7939
	* test/info.test:
sl@0
  7940
	* generic/tclCmdIL.c: fix for [Bug 567386], [info locals] was
sl@0
  7941
	reporting some linked variables.
sl@0
  7942
sl@0
  7943
	* generic/tclBasic.c:
sl@0
  7944
	* generic/tclCompCmds.c:
sl@0
  7945
	* generic/tclInt.h: added compile functions for [global], [variable]
sl@0
  7946
	and [upvar]. They just declare the new local variables, the commands
sl@0
  7947
	themselves are not compiled-in. This gives a notably faster read
sl@0
  7948
	access to these linked variables.
sl@0
  7949
sl@0
  7950
2002-06-11  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  7951
sl@0
  7952
	* generic/tclExecute.c: optimised algorithm for exception range
sl@0
  7953
	lookup; part of [Patch 453709].
sl@0
  7954
sl@0
  7955
2002-06-10  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  7956
sl@0
  7957
	* unix/tclUnixFCmd.c: fixed [Bug 566669]
sl@0
  7958
	* generic/tclIOUtil.c: improved and sped up handling of native paths
sl@0
  7959
	(duplication and conversion to normalized paths), particularly on
sl@0
  7960
	Windows.
sl@0
  7961
	* modified part of above commit, due to problems on Linux. Will
sl@0
  7962
	re-examine bug report and evaluate more closely.
sl@0
  7963
sl@0
  7964
2002-06-07  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7965
sl@0
  7966
	* tests/tcltest.test:  More corrections to test suite so that tests of
sl@0
  7967
	failing [test]s don't show up themselves as failing tests.
sl@0
  7968
sl@0
  7969
2002-06-07  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  7970
sl@0
  7971
	* generic/tclExecute.c: Tidied up headers in relation to float.h to
sl@0
  7972
	cut the cruft and ensure DBL_MAX is defined since doubles seem to be
sl@0
  7973
	the same size everywhere; if the assumption isn't true, the variant
sl@0
  7974
	platforms had better have run configure...
sl@0
  7975
sl@0
  7976
	* unix/tclUnixPort.h (EOVERFLOW): Added code to define it if it wasn't
sl@0
  7977
	previously defined. Also some other general tidying and adding of
sl@0
  7978
	comments. [Bugs 563122, 564595]
sl@0
  7979
	* compat/tclErrno.h: Added definition for EOVERFLOW copied from
sl@0
  7980
	Solaris headers; I've been unable to find any uses of EFTYPE, which
sl@0
  7981
	was the error code previously occupying the slot, in Tcl, or any
sl@0
  7982
	definition of it in the Solaris headers.
sl@0
  7983
sl@0
  7984
2002-06-06  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  7985
sl@0
  7986
	* unix/dltest/Makefile.in: Remove hard coded CFLAGS=-g and add
sl@0
  7987
	CFLAGS_DEBUG, CFLAGS_OPTIMIZE, and CFLAGS_DEFAULT varaibles. [Bug
sl@0
  7988
	565488] 
sl@0
  7989
sl@0
  7990
2002-06-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
  7991
sl@0
  7992
	* tests/tcltest.test:  Corrections to test suite so that tests of
sl@0
  7993
	failing [test]s don't show up themselves as failing tests.
sl@0
  7994
sl@0
  7995
	* tests/io.test: Fixed up namespace variable resolution issues
sl@0
  7996
	revealed by running test suite with "-singleproc 1".
sl@0
  7997
sl@0
  7998
	* doc/tcltest.n:
sl@0
  7999
	* library/tcltest/tcltest.tcl:
sl@0
  8000
	* tests/tcltest.test: Several updates to tcltest.
sl@0
  8001
	  1) changed to lazy initialization of test constraints
sl@0
  8002
	  2) deprecated [initConstraintsHook]
sl@0
  8003
	  3) repaired badly broken [limitConstraints].
sl@0
  8004
	  4) deprecated [threadReap] and [mainThread]
sl@0
  8005
	[Patch 512214, Bug 558742, Bug 461000, Bug 534903]
sl@0
  8006
sl@0
  8007
2002-06-06  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  8008
sl@0
  8009
	* unix/tclUnixThrd.c (TclpReaddir, TclpLocaltime, TclpGmtime):
sl@0
  8010
	added mutex wrapped calls to readdir, localtime & gmtime in case their
sl@0
  8011
	thread-safe *_r counterparts are not available.
sl@0
  8012
	* unix/tcl.m4: added configure check for readdir_r
sl@0
  8013
	* unix/tcl.m4 (Darwin): set TCL_DEFAULT_ENCODING to utf-8 on MacOSX
sl@0
  8014
	(where posix file apis expect utf-8, not iso8859-1).
sl@0
  8015
	* unix/configure: regen
sl@0
  8016
	* unix/Makefile.in: set DYLD_LIBRARY_PATH in parallel to
sl@0
  8017
	LD_LIBRARY_PATH for MacOSX dynamic linker.
sl@0
  8018
	* generic/tclEnv.c (TclSetEnv): fix env var setting on MacOSX. Adapted
sl@0
  8019
	from [Patch 524352] (jkbonfield).
sl@0
  8020
sl@0
  8021
2002-06-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8022
sl@0
  8023
	* doc/Tcl_Main.3: Documented $tcl_rcFileName and added more
sl@0
  8024
	clarifications about the intended use of Tcl_Main(). [Bug 505651]
sl@0
  8025
sl@0
  8026
2002-06-05  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  8027
sl@0
  8028
	* generic/tclFileName.c (TclGlob): mac specific fix to recent changes
sl@0
  8029
	in 'glob -tails' handling.
sl@0
  8030
	* mac/tclMacPort.h:
sl@0
  8031
	* mac/tclMacChan.c: fixed TIP#91 bustage.
sl@0
  8032
	* mac/tclMacResource.c (Tcl_MacConvertTextResource): added utf
sl@0
  8033
	conversion of text resource contents.
sl@0
  8034
	* tests/macFCmd.test (macFCmd-1.2): allow CWIE creator.
sl@0
  8035
sl@0
  8036
2002-06-04  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8037
sl@0
  8038
	* library/tcltest/tcltest.tcl:
sl@0
  8039
	* tests/init.test:
sl@0
  8040
	* tests/tcltest.test:	Added more TIP 85 tests from Arjen Markus.
sl@0
  8041
	Converted tcltest.test to use a private namespace. Fixed bugs in
sl@0
  8042
	[tcltest::Eval] revealed by calling [tcltest::test] from a non-global
sl@0
  8043
	namespace, and namespace errors in init.test.
sl@0
  8044
sl@0
  8045
2002-06-04  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  8046
sl@0
  8047
	* win/README: Update msys+mingw URL.
sl@0
  8048
sl@0
  8049
2002-06-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8050
sl@0
  8051
	* doc/tcltest.n:
sl@0
  8052
	* library/tcltest/tcltest.tcl:
sl@0
  8053
	* library/tcltest/pkgIndex.tcl:
sl@0
  8054
	* tests/tcltest.test:  Implementation of TIP 85. Allows tcltest users
sl@0
  8055
	to add new legal values of the -match option to [test], associating
sl@0
  8056
	each with a Tcl command that does the matching of expected results
sl@0
  8057
	with actual results of tests. Thanks to Arjen Markus. => tcltest 2.1
sl@0
  8058
	[Patch 521362]
sl@0
  8059
sl@0
  8060
2002-06-03  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8061
sl@0
  8062
	* doc/namespace.n: added description of [namepace forget] behaviour
sl@0
  8063
	for unqualified patterns [Bug 559268]
sl@0
  8064
sl@0
  8065
2002-06-03  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8066
sl@0
  8067
	* generic/tclExecute.c: reverting an accidental modification in the
sl@0
  8068
	last commit.
sl@0
  8069
sl@0
  8070
2002-06-03  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8071
sl@0
  8072
	* doc/Tcl.n: clarify the empty variable name issue ([Bug 549285]
sl@0
  8073
	reported by Tom Krehbiel, patch by Don Porter).
sl@0
  8074
sl@0
  8075
2002-05-31  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8076
sl@0
  8077
	* library/package.tcl:	Fixed leak of slave interp in [pkg_mkIndex].
sl@0
  8078
	Thanks to Helmut for report. [Bug 550534]
sl@0
  8079
sl@0
  8080
	* tests/io.test:
sl@0
  8081
	* tests/main.test:  Use the "stdio" constraint to control whether an
sl@0
  8082
	[open "|[interpreter]"] is attempted.
sl@0
  8083
sl@0
  8084
	* generic/tclExecute.c (TclMathInProgress,TclExecuteByteCode
sl@0
  8085
	(ExprCallMathFunc):
sl@0
  8086
	* generic/tclInt.h (TclMathInProgress):
sl@0
  8087
	* unix/Makefile.in (tclMtherr.*):
sl@0
  8088
	* unix/configure.in (NEED_MATHERR):
sl@0
  8089
	* unix/tclAppInit.c (matherr):
sl@0
  8090
	* unix/tclMtherr.c (removed file):
sl@0
  8091
	* win/tclWinMtherr.c (_matherr): Removed internal routine
sl@0
  8092
	TclMathInProgress and Unix implementation of matherr(). These are now
sl@0
  8093
	obsolete, dealing with very old versions of the C math library.
sl@0
  8094
	Windows version is retained in case Borland compilers require it, but
sl@0
  8095
	it is inactive. Thanks to Joe English. [Bug 474335, Patch 555635]
sl@0
  8096
	* unix/configure: regen
sl@0
  8097
sl@0
  8098
2002-05-30  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8099
sl@0
  8100
	* generic/tclCompExpr.c:
sl@0
  8101
	* generic/tclCompile.c:
sl@0
  8102
	* generic/tclCompile.h: removed exprIsJustVarRef and
sl@0
  8103
	exprIsComparison from the ExprInfo and CompileEnv structs. These were
sl@0
  8104
	set, but not used since dec 1999 [Bug 562383].
sl@0
  8105
sl@0
  8106
2002-05-30  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  8107
sl@0
  8108
	* generic/tclFileName.c (TclGlob): fix to longstanding 'knownBug' in
sl@0
  8109
	fileName tests 15.2-15.4, and fix to a new Tcl 8.4 bug in certain uses
sl@0
  8110
	of 'glob -tails'.
sl@0
  8111
	* tests/fileName.test: removed 'knownBug' flag from some tests, added
sl@0
  8112
	some new tests for above bugs.
sl@0
  8113
sl@0
  8114
2002-05-29  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8115
sl@0
  8116
	* unix/configure: regen'ed
sl@0
  8117
	* unix/configure.in: replaced bigendian check with autoconf standard
sl@0
  8118
	AC_C_BIG_ENDIAN, which defined WORDS_BIGENDIAN on bigendian systems.
sl@0
  8119
	* generic/tclUtf.c (Tcl_UniCharNcmp):
sl@0
  8120
	* generic/tclInt.h (TclUniCharNcmp): use WORDS_BIGENDIAN instead of
sl@0
  8121
	TCL_OPTIMIZE_UNICODE_COMPARE to enable memcmp alternative.
sl@0
  8122
sl@0
  8123
	* generic/tclExecute.c (TclExecuteByteCode INST_STR_CMP):
sl@0
  8124
	* generic/tclCmdMZ.c (Tcl_StringObjCmd): changed the case for choosing
sl@0
  8125
	the Tcl_UniCharNcmp compare to when both objs are of StringType, as
sl@0
  8126
	benchmarks show that is the optimal check (both bigendian and
sl@0
  8127
	littleendian systems).
sl@0
  8128
sl@0
  8129
2002-05-29  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8130
sl@0
  8131
	* generic/tclMain.c: Removed "dummy" reference to Tcl_LinkVar. It is
sl@0
  8132
	no longer needed since Tcl_Main() now actually calls Tcl_LinkVar().
sl@0
  8133
	Thanks to Joe English for pointing that out.
sl@0
  8134
sl@0
  8135
2002-05-29  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8136
sl@0
  8137
	* generic/tclExecute.c (TclExecuteByteCode):
sl@0
  8138
	* generic/tclCmdMZ.c (Tcl_StringObjCmd): Use the macro version.
sl@0
  8139
	* generic/tclInt.h (TclUniCharNcmp): Optimised still further with a
sl@0
  8140
	macro for use in sensitive places like tclExecute.c
sl@0
  8141
sl@0
  8142
	* generic/tclUtf.c (Tcl_UniCharNcmp): Use new flag to figure out when
sl@0
  8143
	we can use an optimal comparison scheme, and default to the old scheme
sl@0
  8144
	in other cases which is at least safe.
sl@0
  8145
	* unix/configure.in (TCL_OPTIMIZE_UNICODE_COMPARE): New optional flag
sl@0
  8146
	that indicates when we can use memcmp() to compare Unicode strings
sl@0
  8147
	(i.e. when the high-byte of a Tcl_UniChar precedes the low-byte.)
sl@0
  8148
sl@0
  8149
2002-05-29  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8150
sl@0
  8151
	* generic/tclInt.decls:
sl@0
  8152
	* generic/tclIntDecls.h:
sl@0
  8153
	* generic/tclStubInit.c:
sl@0
  8154
	* generic/tclUtf.c: added TclpUtfNcmp2 private command that mirrors
sl@0
  8155
	Tcl_UtfNcmp, but takes n in bytes, not utf-8 chars. This provides a
sl@0
  8156
	faster alternative for comparing utf strings internally.
sl@0
  8157
	(Tcl_UniCharNcmp, Tcl_UniCharNcasecmp): removed the explicit end of
sl@0
  8158
	string check as it wasn't correct for the function (by doc and logic).
sl@0
  8159
sl@0
  8160
	* generic/tclCmdMZ.c (Tcl_StringObjCmd): reworked the string equal
sl@0
  8161
	comparison code to use TclpUtfNcmp2 as well as short-circuit for equal
sl@0
  8162
	objects or unequal length strings in the equal case. Removed the use
sl@0
  8163
	of goto and streamlined the other parts.
sl@0
  8164
sl@0
  8165
	* generic/tclExecute.c (TclExecuteByteCode): added check for object
sl@0
  8166
	equality in the comparison instructions. Added short-circuit for !=
sl@0
  8167
	length strings in INST_EQ, INST_NEQ and INST_STR_CMP. Reworked
sl@0
  8168
	INST_STR_CMP to use TclpUtfNcmp2 where appropriate, and only use
sl@0
  8169
	Tcl_UniCharNcmp when at least one of the objects is a Unicode obj with
sl@0
  8170
	no utf bytes.
sl@0
  8171
sl@0
  8172
	* generic/tclCompCmds.c (TclCompileStringCmd): removed error creation
sl@0
  8173
	in code that no longer throws an error.
sl@0
  8174
sl@0
  8175
	* tests/string.test:
sl@0
  8176
	* tests/stringComp.test: added more string comparison checks.
sl@0
  8177
sl@0
  8178
	* tests/clock.test: better qualified 9.1 constraint check for %s.
sl@0
  8179
sl@0
  8180
2002-05-28  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8181
sl@0
  8182
	* generic/tclThreadAlloc.c (TclpRealloc, TclpFree): protect against
sl@0
  8183
	the case when NULL is based.
sl@0
  8184
sl@0
  8185
	* tests/clock.test: added clock-9.1
sl@0
  8186
	* compat/strftime.c:
sl@0
  8187
	* generic/tclClock.c:
sl@0
  8188
	* generic/tclInt.decls:
sl@0
  8189
	* generic/tclIntDecls.h:
sl@0
  8190
	* unix/tclUnixTime.c: fix for Windows msvcrt mem leak caused by using
sl@0
  8191
	an env(TZ) setting trick for in clock format -gmt 1. This also makes
sl@0
  8192
	%s seem to work correctly with -gmt 1 as well as making it a lot
sl@0
  8193
	faster by avoid the env(TZ) hack. TclpStrftime now takes useGMT as an
sl@0
  8194
	arg. [Bug 559376]
sl@0
  8195
sl@0
  8196
2002-05-28  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  8197
sl@0
  8198
	* generic/tclIOUtil.c: fixes to Tcl_FSLoadFile when called on a file
sl@0
  8199
	inside a vfs. This should avoid leaving temporary files sitting around
sl@0
  8200
	on exit. [Bug 545579]
sl@0
  8201
sl@0
  8202
2002-05-27  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8203
sl@0
  8204
	* win/tclWinError.c: Added comment on conversion of
sl@0
  8205
	ERROR_NEGATIVE_SEEK because that is a mapping that really belongs, and
sl@0
  8206
	not a catch-all case.
sl@0
  8207
	* win/tclWinPort.h (EOVERFLOW): Should be either EFBIG or EINVAL
sl@0
  8208
	* generic/tclPosixStr.c (Tcl_ErrnoId, Tcl_ErrnoMsg): EOVERFLOW can
sl@0
  8209
	potentially be a synonym for EINVAL.
sl@0
  8210
sl@0
  8211
2002-05-24  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8212
sl@0
  8213
	=== Changes due to TIP#91 ===
sl@0
  8214
sl@0
  8215
	* win/tclWinPort.h: Added declaration of EOVERFLOW.
sl@0
  8216
	* doc/CrtChannel.3: Added documentation of wideSeekProc.
sl@0
  8217
	* generic/tclIOGT.c (TransformSeekProc, TransformWideSeekProc):
sl@0
  8218
	Adapted to use the new channel mechanism.
sl@0
  8219
	* unix/tclUnixChan.c (FileSeekProc, FileWideSeekProc): Renamed
sl@0
  8220
	FileSeekProc to FileWideSeekProc and created new FileSeekProc which
sl@0
  8221
	has the old-style interface and which errors out with EOVERFLOW when
sl@0
  8222
	the returned file position can't fit into the return type (int for
sl@0
  8223
	historical reasons.)
sl@0
  8224
	* win/tclWinChan.c (FileSeekProc, FileWideSeekProc): Renamed
sl@0
  8225
	FileSeekProc to FileWideSeekProc and created new FileSeekProc which
sl@0
  8226
	has the old-style interface and which errors out with EOVERFLOW when
sl@0
  8227
	the returned file position can't fit into the return type (int for
sl@0
  8228
	historical reasons.)
sl@0
  8229
	* mac/tclMacChan.c (FileSeek): Reverted to old interface; Macs lack
sl@0
  8230
	large-file support because I can't see how to add it.
sl@0
  8231
	* generic/tclIO.c (Tcl_Seek, Tcl_Tell): Given these functions
sl@0
  8232
	knowledge of the new arrangement of channel types.
sl@0
  8233
	(Tcl_ChannelVersion): Added recognition of new version code.
sl@0
  8234
	(HaveVersion): New function to do version checking.
sl@0
  8235
	(Tcl_ChannelBlockModeProc, Tcl_ChannelFlushProc)
sl@0
  8236
	(Tcl_ChannelHandlerProc): Made these functions use HaveVersion for
sl@0
  8237
	ease of future maintainability.
sl@0
  8238
	(Tcl_ChannelBlockModeProc): Obvious lookup function.
sl@0
  8239
	* generic/tcl.h (Tcl_ChannelType): New wideSeekProc field, and
sl@0
  8240
	seekProc type restored to old interpretation.
sl@0
  8241
	(TCL_CHANNEL_VERSION_3): New channel version.
sl@0
  8242
sl@0
  8243
2002-05-24  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  8244
sl@0
  8245
	* tests/winPipe.test: Applied patch for [Bug 549617]. Patch and bug
sl@0
  8246
	report by Kevin Kenny <kennykb@users.sourceforge.net>.
sl@0
  8247
sl@0
  8248
	* win/tclWinSock.c (TcpWatchProc): Fixed [Bug 557878]. We are not
sl@0
  8249
	allowed to mess with the watch mask if the socket is a server socket.
sl@0
  8250
	I believe that the original reporter is George Peter Staplin.
sl@0
  8251
sl@0
  8252
2002-05-21  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  8253
sl@0
  8254
	* unix/configure: Regen.
sl@0
  8255
	* unix/configure.in: Invoke SC_ENABLE_SHARED before calling
sl@0
  8256
	SC_CONFIG_CFLAGS so that the SHARED_BUILD variable can be checked
sl@0
  8257
	inside SC_CONFIG_CFLAGS.
sl@0
  8258
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Pass -non_shared instead of -shared
sl@0
  8259
	to ld when configured with --disable-shared under OSF. [Bug 540390]
sl@0
  8260
sl@0
  8261
2002-05-20  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  8262
sl@0
  8263
	* generic/tclInt.h: added prototype for TclpFilesystemPathType().
sl@0
  8264
	* mac/tclMacChan.c: use MSL provided creator type if available instead
sl@0
  8265
	of the default 'MPW '.
sl@0
  8266
sl@0
  8267
2002-05-16  Joe English  <jenglish@users.sf.net>
sl@0
  8268
sl@0
  8269
	* doc/CrtObjCmd.3: Added Tcl_GetCommandFromObj, Tcl_GetCommandFullName
sl@0
  8270
	[Bugs 547987, 414921]
sl@0
  8271
sl@0
  8272
2002-05-14  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8273
sl@0
  8274
	* unix/tclUnixChan.c (TtyOutputProc): #if/#endif-ed this function out
sl@0
  8275
	to stop compiler warnings. Also much general tidying of comments in
sl@0
  8276
	this file and removal of whitespace from blank lines.
sl@0
  8277
sl@0
  8278
2002-05-13  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8279
sl@0
  8280
	* unix/tclUnixChan.c (SETBREAK): Solaris thinks ioctl() takes a signed
sl@0
  8281
	second argument, and Linux thinks ioctl() takes an unsigned second
sl@0
  8282
	argument. So need a longer definition of this macro to get neither to
sl@0
  8283
	spew warnings...
sl@0
  8284
sl@0
  8285
2002-05-13  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  8286
sl@0
  8287
	* generic/tclEvent.c:
sl@0
  8288
	* generic/tclIOUtil.c:
sl@0
  8289
	* generic/tclInt.h: clean up all memory allocated by the filesystem,
sl@0
  8290
	via introduction of 'TclFinalizeFilesystem'. Move TclFinalizeLoad into
sl@0
  8291
	TclFinalizeFilesystem so we can be sure it is called at just the right
sl@0
  8292
	time. Fix bad comment also. [Bug 555078 and 'fs' part of 543549]
sl@0
  8293
	* win/tclWinChan.c: fix comment referring to wrong function.
sl@0
  8294
sl@0
  8295
2002-05-10  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8296
sl@0
  8297
	* tests/load.test:
sl@0
  8298
	* tests/safe.test:
sl@0
  8299
	* tests/tcltest.test: Corrected some list-quoting issues and other
sl@0
  8300
	matters that cause tests to fail when the patch includes special
sl@0
  8301
	characters. Report from Vince Darley. [Bug 554068]. 
sl@0
  8302
sl@0
  8303
2002-05-08    David Gravereaux <davygrvy@pobox.com>
sl@0
  8304
sl@0
  8305
	* doc/file.n:
sl@0
  8306
	* tools/man2tcl.c:
sl@0
  8307
	* tools/man2help2.tcl: Thanks to Peter Spjuth <peter.spjuth@space.se>,
sl@0
  8308
	again. My prior fix for single-quote macro mis-understanding was
sl@0
  8309
	wrong. Reverted to reimpliment the 'macro2' proc which handles
sl@0
  8310
	single-quote macros and restored file.n text arrangement to avoid
sl@0
  8311
	single-quotes on the first line. Sorry for all the confusion.
sl@0
  8312
sl@0
  8313
2002-05-08  David Gravereaux <davygrvy@pobox.com>
sl@0
  8314
sl@0
  8315
	* tools/man2tcl.c:
sl@0
  8316
	* tools/man2help2.tcl: Proper source of macro error mis-understanding
sl@0
  8317
	single-quote as the leading macro command found and repaired.
sl@0
  8318
sl@0
  8319
	* doc/file.n: Reverted to prior state before I messed with it.
sl@0
  8320
sl@0
  8321
2002-05-08  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8322
sl@0
  8323
	* library/tcltest/tcltest.tcl: Corrected [uplevel] quoting when
sl@0
  8324
	[source]-ing test script in subdirectories.
sl@0
  8325
	* tests/fileName.test:
sl@0
  8326
	* tests/load.test:
sl@0
  8327
	* tests/main.test:
sl@0
  8328
	* tests/tcltest.test:
sl@0
  8329
	* tests/unixInit.test: Fixes to test suite when there's a space in the
sl@0
  8330
	working path. Thanks to Kevin Kenny.
sl@0
  8331
sl@0
  8332
2002-05-07  David Gravereaux <davygrvy@pobox.com>
sl@0
  8333
sl@0
  8334
	-- Changes from Peter Spjuth <peter.spjuth@space.se>
sl@0
  8335
	* tools/man2tcl.c: Increased line buffer size and a bail-out if that
sl@0
  8336
	should ever be over-run.
sl@0
  8337
	* tools/man2help.tcl: Include Courier New font in rtf header.
sl@0
  8338
	* tools/man2help2.tcl: Improved handling of CS/CE fields. Use Courier
sl@0
  8339
	New for code samples and indent better.
sl@0
  8340
sl@0
  8341
	* doc/file.n:
sl@0
  8342
	* doc/TraceCmd.3:  winhelp conversion tools where understanding a ' as
sl@0
  8343
	the first character on a line to be an unknown macro. Not knowing how
sl@0
  8344
	to repair tools/man2tcl.c, I decided to rearrange the text in the docs
sl@0
  8345
	instead.
sl@0
  8346
sl@0
  8347
2002-05-07  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  8348
sl@0
  8349
	* generic/tclFileName.c: fix to similar segfault when using
sl@0
  8350
	'glob -types nonsense -dir dirname -join * *'. [Bug 553320]
sl@0
  8351
sl@0
  8352
	* doc/FileSystem.3: further documentation on vfs.
sl@0
  8353
	* tests/cmdAH.test:
sl@0
  8354
	* tests/fileSystem.test:
sl@0
  8355
	* tests/pkgMkindex.test: Fix to testsuite bugs when running out of
sl@0
  8356
	directory whose name contains '{' or '['.
sl@0
  8357
sl@0
  8358
2002-05-07  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8359
sl@0
  8360
	* tests/basic.test: Fix for [Bug 549607]
sl@0
  8361
	* tests/encoding.test: Fix for [Bug 549610]
sl@0
  8362
	These are testsuite bugs that caused failures when the filename
sl@0
  8363
	contained spaces. Report & fix by Kevin Kenny.
sl@0
  8364
sl@0
  8365
2002-05-02  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  8366
sl@0
  8367
	* generic/tclFileName.c: fix to freeing a bad object (i.e. segfault)
sl@0
  8368
	when using 'glob -types nonsense -dir dirname'.
sl@0
  8369
	* generic/tclWinFile.c: fix to [Bug 551306], also wrapped some long
sl@0
  8370
	lines.
sl@0
  8371
	* tests/fileName.test: added several tests for the above bugs.
sl@0
  8372
	* doc/FileSystem.3: clarified documentation on refCount requirements
sl@0
  8373
	of the object returned by the path type function.
sl@0
  8374
	* generic/tclIOUtil.c:
sl@0
  8375
	* win/tclWinFile.c:
sl@0
  8376
	* unix/tclUnixFile.c:
sl@0
  8377
	* mac/tclMacFile.c: moved TclpFilesystemPathType to the platform
sl@0
  8378
	specific directories, so we can add missing platform-specific
sl@0
  8379
	implementations. On Windows, 'file system' now returns useful results
sl@0
  8380
	like "native NTFS", "native FAT" for that system. Unix and MacOS still
sl@0
  8381
	only return "native".
sl@0
  8382
	* doc/file.n: clarified documentation.
sl@0
  8383
	* tests/winFile.test: test for 'file system' returning correct values.
sl@0
  8384
	* tests/fileSystem.test: test for 'file system' returning correct
sl@0
  8385
	values. Clean up after failed previous test run.
sl@0
  8386
sl@0
  8387
2002-04-26  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8388
sl@0
  8389
	* unix/configure:
sl@0
  8390
	* unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so that
sl@0
  8391
	the .sl knows its dependent libs.
sl@0
  8392
sl@0
  8393
2002-04-26  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8394
sl@0
  8395
	* tests/obj.test (obj-11.[56]): Test conversion to boolean more
sl@0
  8396
	thoroughly.
sl@0
  8397
	* generic/tclObj.c (SetBooleanFromAny): Was not calling an integer
sl@0
  8398
	parsing function on native 64-bit platforms! [Bug 548686]
sl@0
  8399
sl@0
  8400
2002-04-24  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8401
sl@0
  8402
	* generic/tclInt.h: corrected TclRememberJoinableThread decl to use
sl@0
  8403
	VOID instead of void.
sl@0
  8404
	* generic/tclThreadJoin.c: noted that this code isn't needed on Unix.
sl@0
  8405
sl@0
  8406
2002-04-23  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8407
sl@0
  8408
	* doc/exec.n:
sl@0
  8409
	* doc/tclvars.n: doc updates [Patch 509426] (gravereaux)
sl@0
  8410
sl@0
  8411
2002-04-24  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  8412
sl@0
  8413
	* mac/tclMacResource.r: added check of TCLTK_NO_LIBRARY_TEXT_RESOURCES
sl@0
  8414
	#define to allow disabling the inclusion of the tcl library code in
sl@0
  8415
	the resource fork of Tcl executables and shared libraries.
sl@0
  8416
sl@0
  8417
2002-04-23  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8418
sl@0
  8419
	* doc/TraceCmd.3: New file that documents Tcl_CommandTraceInfo,
sl@0
  8420
	Tcl_TraceCommand and Tcl_UntraceCommand [Bug 414927]
sl@0
  8421
sl@0
  8422
2002-04-22  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8423
sl@0
  8424
	* generic/tclAlloc.c:
sl@0
  8425
	* generic/tclInt.h:
sl@0
  8426
	* generic/tclThreadAlloc.c (new):
sl@0
  8427
	* unix/Makefile.in:
sl@0
  8428
	* unix/tclUnixThrd.c:
sl@0
  8429
	* win/Makefile.in:
sl@0
  8430
	* win/tclWinInt.h:
sl@0
  8431
	* win/tclWinThrd.c: added new threaded allocator contributed by AOL
sl@0
  8432
	that significantly reduces lock contention when multiple threads are
sl@0
  8433
	in use. Only Windows and Unix implementations are ready, and the
sl@0
  8434
	Windows one may need work. It is only used by default on Unix for now,
sl@0
  8435
	and requires that USE_THREAD_ALLOC be defined (--enable-threads on
sl@0
  8436
	Unix will define this).
sl@0
  8437
sl@0
  8438
	* generic/tclIOUtil.c (Tcl_FSRegister, Tcl_FSUnregister): corrected
sl@0
  8439
	calling of Tcl_ConditionWait to ensure that there would be a condition
sl@0
  8440
	to wait upon.
sl@0
  8441
sl@0
  8442
	* generic/tclCmdAH.c (Tcl_FileObjCmd): added cast in FILE_SIZE.
sl@0
  8443
sl@0
  8444
	* win/tclWinFCmd.c (DoDeleteFile): check return of setattr API calls
sl@0
  8445
	in file deletion for correct Win32 API handling.
sl@0
  8446
sl@0
  8447
	* win/Makefile.in: correct dependencies for shell, gdb, runtest
sl@0
  8448
	targets.
sl@0
  8449
sl@0
  8450
	* doc/clock.n:
sl@0
  8451
	* compat/strftime.c (_fmt): change strftime to correctly handle
sl@0
  8452
	localized %c, %x and %X on Windows. Added some notes about how the
sl@0
  8453
	other values could be further localized.
sl@0
  8454
sl@0
  8455
2002-04-19  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8456
sl@0
  8457
	* generic/tclMain.c (Tcl_Main): Free the memory allocated for the
sl@0
  8458
	startup script path. [Bug 543549]
sl@0
  8459
sl@0
  8460
	* library/msgcat/msgcat.tcl: [mcmax] wasn't using the caller's
sl@0
  8461
	namespace when determining the max translated length. Also made
sl@0
  8462
	revisions for better use of namespace variables and more efficient
sl@0
  8463
	[uplevel]s.
sl@0
  8464
sl@0
  8465
	* doc/msgcat.n:
sl@0
  8466
	* library/msgcat/msgcat.tcl:
sl@0
  8467
	* library/msgcat/pkgIndex.tcl:	Added [mcload] to the export list of
sl@0
  8468
	msgcat; bumped to 1.2.3. [Bug 544727]
sl@0
  8469
sl@0
  8470
2002-04-20  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  8471
sl@0
  8472
	* generic/tclInt.decls:
sl@0
  8473
	* generic/tclIntPlatDecls.h:
sl@0
  8474
	* generic/tclStubInit.c:
sl@0
  8475
	* mac/tclMacFCmd.c:
sl@0
  8476
	* mac/tclMacFile.c:
sl@0
  8477
	* mac/tclMacUtil.c: Modified TclpObjNormalizePath to be alias file
sl@0
  8478
	aware, and replaced various calls to FSpLocationFrom*Path by calls to
sl@0
  8479
	new alias file aware versions FSpLLocationFrom*Path. The alias file
sl@0
  8480
	aware routines don't resolve the last component of a path if it is an
sl@0
  8481
	alias. This allows [file copy/delete] etc. to act correctly on alias
sl@0
  8482
	files. (c.f. discussion in [Bug 511666])
sl@0
  8483
sl@0
  8484
2002-04-19  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8485
sl@0
  8486
	* tests/lindex.test (lindex-3.7):
sl@0
  8487
	* generic/tclUtil.c (TclGetIntForIndex): Stopped indexes from hitting
sl@0
  8488
	wide ints. [Bug 526717]
sl@0
  8489
sl@0
  8490
2002-04-18  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8491
sl@0
  8492
	* generic/tclNamesp.c:
sl@0
  8493
	* tests/info.test: [Bug 545325] info level didn't report namespace
sl@0
  8494
	eval, bug report by Richard Suchenwirth.
sl@0
  8495
sl@0
  8496
2002-04-18  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8497
sl@0
  8498
	* doc/subst.n:	Clarified documentation on handling unusual return
sl@0
  8499
	codes during substitution, and on variable substitutions implied by
sl@0
  8500
	command substitution, and vice versa. [Bug 536838]
sl@0
  8501
sl@0
  8502
2002-04-18  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8503
sl@0
  8504
	* generic/tclCmdIL.c (InfoBodyCmd):
sl@0
  8505
	* tests/info.test (info-2.6): Proc bodies without string reps would
sl@0
  8506
	report as empty [Bug 545644]
sl@0
  8507
sl@0
  8508
	* generic/tclCmdMZ.c (Tcl_SubstObj): More clarification for comment on
sl@0
  8509
	behaviour when substitutions are not well-formed, prompted by [Bug
sl@0
  8510
	536831]; alas, removing the ill-defined behaviour is a lot of work.
sl@0
  8511
sl@0
  8512
2002-04-18  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8513
sl@0
  8514
	* generic/tclExecute.c:
sl@0
  8515
	* tests/expr-old.test: fix for [Bug 542588] (Phil Ehrens), where "too
sl@0
  8516
	large integers" were reported as "floating-point value" in [expr]
sl@0
  8517
	error messages.
sl@0
  8518
sl@0
  8519
2002-04-17  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8520
sl@0
  8521
	* generic/tclEncoding.c (EscapeFromUtfProc):
sl@0
  8522
	* generic/tclIO.c (WriteChars, Tcl_Close): corrected the handling of
sl@0
  8523
	outputting end escapes for escape-based encodings.
sl@0
  8524
	[Bug 526524] (yamamoto)
sl@0
  8525
sl@0
  8526
2002-04-17  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8527
sl@0
  8528
	* doc/tcltest.n:  Removed [saveState] and [restoreState] from tcltest
sl@0
  8529
	2 documentation, effectively deprecating them. [Bug 495660]
sl@0
  8530
	* library/tcltest/tcltest.tcl: Made separate export for commands kept
sl@0
  8531
	only for tcltest 1 compatibility.
sl@0
  8532
sl@0
  8533
	* tests/iogt.test: Revised to run tests in a namespace, rather than
sl@0
  8534
	use the useless and buggy [saveState] and [restoreState] commands of
sl@0
  8535
	tcltest. Updated to use tcltest 2 as well. [Patch 544911] 
sl@0
  8536
sl@0
  8537
2002-04-16  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8538
sl@0
  8539
	* tests/io.test: Revised to run tests in a namespace, rather than use
sl@0
  8540
	the useless and buggy [saveState] and [restoreState] commands of
sl@0
  8541
	tcltest. Updated to use tcltest 2 as well. [Patch 544546]
sl@0
  8542
sl@0
  8543
2002-04-15  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8544
sl@0
  8545
	* generic/tclProc.c:
sl@0
  8546
	* tests/proc-old.test: Improved stack trace for TCL_BREAK and
sl@0
  8547
	TCL_CONTINUE returns from procs. [Bug 536955] (dgp)
sl@0
  8548
sl@0
  8549
	* generic/tclExecute.c:
sl@0
  8550
	* tests/compile.test: made bytecodes check for a catch before
sl@0
  8551
	returning; the compiled [return] is otherwise non-catchable. [Bug
sl@0
  8552
	542142] reported by Andreas Kupries.
sl@0
  8553
sl@0
  8554
2002-04-15  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8555
sl@0
  8556
	* tests/socket.test:  Increased timeout values so that tests have time
sl@0
  8557
	to successfully complete even on slow/busy machines. [Bug 523470]
sl@0
  8558
sl@0
  8559
	* doc/tcltest.n:
sl@0
  8560
	* library/tcltest/tcltest.tcl:
sl@0
  8561
	* tests/tcltest.test:  Revised [tcltest::test] to return errors when
sl@0
  8562
	called with invalid syntax and to accept exactly two arguments as
sl@0
  8563
	documented. Improved error messages. [Bug 497446, Patch 513983]
sl@0
  8564
	***POTENTIAL INCOMPATIBILITY***: Incompatible with previous
sl@0
  8565
	tcltest 2.* releases, found only in alpha releases of Tcl 8.4.
sl@0
  8566
sl@0
  8567
2002-04-11  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8568
sl@0
  8569
	* generic/tclNotify.c (TclFinalizeNotifier): remove remaining
sl@0
  8570
	unserviced events on finalization.
sl@0
  8571
sl@0
  8572
	* win/tcl.m4: Enabled COFF as well as CV style debug info with
sl@0
  8573
	--enable-symbols to allow Dr. Watson users to see function info. More
sl@0
  8574
	info on debugging levels can be obtained at:
sl@0
  8575
	http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
sl@0
  8576
sl@0
  8577
	* tests/ioCmd.test: fixed iocmd-8.15 to have mac and unixPc variants.
sl@0
  8578
sl@0
  8579
	* generic/tclParse.c (Tcl_ParseVar): conditionally incr obj refcount
sl@0
  8580
	to prevent possible mem leak.
sl@0
  8581
sl@0
  8582
2002-04-08  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  8583
sl@0
  8584
	* generic/tcl.h: no <sys/types.h> on mac.
sl@0
  8585
	* mac/tclMacFile.c: minor fixes to Vince's changes from 03-24.
sl@0
  8586
	* mac/tclMacOSA.c:
sl@0
  8587
	* mac/tclMacResource.c: added missing Tcl_UtfToExternalDString
sl@0
  8588
	conversions of resource file names.
sl@0
  8589
	* mac/tclMacSock.c (TcpGetOptionProc): fixed bug introduced by Andreas
sl@0
  8590
	on 02-25; changed strcmp's to strncmp's so that option comparison
sl@0
  8591
	behaves like on other platforms.
sl@0
  8592
	* mac/tcltkMacBuildSupport.sea.hqx (CW Pro6 changes): added support to
sl@0
  8593
	allow Tk to hookup C library stderr/stdout to TkConsole.
sl@0
  8594
	* tests/basic.test:
sl@0
  8595
	* tests/cmdAH.test:
sl@0
  8596
	* tests/encoding.test:
sl@0
  8597
	* tests/fileSystem.test:
sl@0
  8598
	* tests/ioCmd.test: fixed tests failing on mac: check for existence of
sl@0
  8599
	[exec], changed some result strings.
sl@0
  8600
sl@0
  8601
2002-04-06  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8602
sl@0
  8603
	* unix/tclUnixFCmd.c (Realpath): added a little extra code to
sl@0
  8604
	initialize a realpath arg when compiling in PURIFY mode in order to
sl@0
  8605
	prevent spurious purify warnings. We should really create our own
sl@0
  8606
	realpath implementation, but this will at least quiet purify for now.
sl@0
  8607
sl@0
  8608
2002-04-05  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8609
sl@0
  8610
	* generic/tclCmdMZ.c (Tcl_SubstObj):
sl@0
  8611
	* tests/subst.test:  Corrected [subst] so that return codes TCL_BREAK
sl@0
  8612
	and TCL_CONTINUE returned by variable substitution have the same
sl@0
  8613
	effect as when those codes are returned by command substitution. [Bug
sl@0
  8614
	536879]
sl@0
  8615
sl@0
  8616
2002-04-03  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8617
sl@0
  8618
	* library/tcltest/tcltest.tcl: added getMatchingFiles back (alias
sl@0
  8619
	to GetMatchingFiles), which was a public function in tcltest 1.0.
sl@0
  8620
sl@0
  8621
2002-04-01  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  8622
sl@0
  8623
	* generic/tclEnv.c:
sl@0
  8624
	* generic/tclIOUtil.c: invalidate filesystem cache when the user
sl@0
  8625
	changes env(HOME). Fixes [Bug 535621]. Also cleaned up some of the
sl@0
  8626
	documentation.
sl@0
  8627
	* tests/fileSystem.test: added test for bug just fixed.
sl@0
  8628
sl@0
  8629
2002-04-01  Kevin Kenny  <kennykb@acm.org>
sl@0
  8630
sl@0
  8631
	* win/tclWinTime.c (Tcl_GetTime): made the checks of clock frequency
sl@0
  8632
	more permissive to cope with the fact that Win98SE is observed to
sl@0
  8633
	return 1.19318 in place of 1.193182 for the performance counter
sl@0
  8634
	frequency.
sl@0
  8635
sl@0
  8636
2002-03-29  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8637
sl@0
  8638
	* generic/tclCmdMZ.c (Tcl_TraceObjCmd, TraceVarProc)
sl@0
  8639
	(TraceCommandProc, TclTraceCommandObjCmd):  corrected potential
sl@0
  8640
	double-free of traces on variables by flagging in Trace*Proc that it
sl@0
  8641
	will free the var in case the eval wants to delete the var trace as
sl@0
  8642
	well. [Bug 536937]
sl@0
  8643
	Also converted Tcl_UntraceVar -> Tcl_UntraceVar2 and Tcl_Eval to
sl@0
  8644
	Tcl_EvalEx in Trace*Proc for slight efficiency improvement.
sl@0
  8645
sl@0
  8646
2002-03-29  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8647
sl@0
  8648
	* doc/AllowExc.3:
sl@0
  8649
	* generic/tclBasic.c (Tcl_EvalObjv,Tcl_EvalEx,Tcl_EvalObjEx):
sl@0
  8650
	* generic/tclCompile.h (TclCompEvalObj):
sl@0
  8651
	* generic/tclExecute.c (TclCompEvalObj,TclExecuteByteCode):
sl@0
  8652
	* tests/basic.test: Corrected problems with Tcl_AllowExceptions having
sl@0
  8653
	influence over the wrong scope of Tcl_*Eval* calls. Patch from Miguel
sl@0
  8654
	Sofer. Report from Jean-Claude Wippler. [Bug 219181]
sl@0
  8655
sl@0
  8656
2002-03-28  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8657
sl@0
  8658
	* generic/tclVar.c: Refactored CallTraces to collect repeated handling
sl@0
  8659
	of its returned value into CallTraces itself.
sl@0
  8660
sl@0
  8661
2002-03-28  David Gravereaux <davygrvy@pobox.com>
sl@0
  8662
sl@0
  8663
	* tools/feather.bmp:
sl@0
  8664
	* tools/man2help.tcl:
sl@0
  8665
	* tools/man2help2.tcl:
sl@0
  8666
	* win/makefile.vc: More winhelp target fixups. Added a feather bitmap
sl@0
  8667
	to the non-scrollable area and changed the color to be yellow from a
sl@0
  8668
	plain white. The colors can be whatever we want them to be, but
sl@0
  8669
	thought I would start with something bold. [Bug 527941]
sl@0
  8670
sl@0
  8671
	* doc/SetVar.3:
sl@0
  8672
	* doc/TraceVar.3:
sl@0
  8673
	* doc/UpVar.3: .AP macro syntax repair.
sl@0
  8674
sl@0
  8675
2002-03-27  David Gravereaux <davygrvy@pobox.com>
sl@0
  8676
sl@0
  8677
	* tools/man2help.tcl:
sl@0
  8678
	* win/makefile.vc:  winhelp target now copies all needed files from
sl@0
  8679
	tools/ to a workarea under $(OUT_DIR) and builds it from there.	No
sl@0
  8680
	build cruft is left in tools/ anymore. All paths used in man2help.tcl
sl@0
  8681
	are now relative to where the script is. [Bug 527941] 
sl@0
  8682
sl@0
  8683
2002-03-27  David Gravereaux <davygrvy@pobox.com>
sl@0
  8684
sl@0
  8685
	* win/.cvsignore:
sl@0
  8686
	* win/buildall.vc.bat:
sl@0
  8687
	* win/coffbase.txt:
sl@0
  8688
	* win/makefile.vc:
sl@0
  8689
	* win/nmakehlp.c (new):
sl@0
  8690
	* win/rules.vc: First draft fix for [Bug 527941]. More changes need to
sl@0
  8691
	done to the makehelp target to get to stop leaving build files in the
sl@0
  8692
	tools/ directory. This does not address the syntax errors in the man
sl@0
  8693
	files. Having the contents of tcl.hpj(.in) inside makefile.vc allows
sl@0
  8694
	for version numbers to be replaced with macros.
sl@0
  8695
sl@0
  8696
	The new nmakehlp.c is built by rules.vc in preprocessing and removes
sl@0
  8697
	the need to use tricky shell syntax that wasn't compatible on Win9x
sl@0
  8698
	systems.  Clean targets made Win9x complient.  This is a first draft
sl@0
  8699
	repair for [Bug 533862].
sl@0
  8700
sl@0
  8701
2002-03-28  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8702
sl@0
  8703
	* generic/tclBasic.c (Tcl_EvalEx): passing the correct commandSize
sl@0
  8704
	to TclEvalObjvInternal. [Bug 219362], fix by David Knoll.
sl@0
  8705
sl@0
  8706
2002-03-28  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8707
sl@0
  8708
	* generic/tclBasic.c (Tcl_EvalEx):
sl@0
  8709
	* tests/basic.test: avoid exceptional returns at level 0
sl@0
  8710
	[Bug 219181]
sl@0
  8711
sl@0
  8712
2002-03-27  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8713
sl@0
  8714
	* doc/tcltest.n ([mainThread]):
sl@0
  8715
	* library/tcltest/tcltest.tcl:
sl@0
  8716
	* tests/tcltest.test:  Major code cleanup to deal with whitespace,
sl@0
  8717
	coding conventions, and namespace issues, with several minor bugs
sl@0
  8718
	fixed in the process.
sl@0
  8719
sl@0
  8720
	* tests/main.test: Added missing [after cancel]s.
sl@0
  8721
sl@0
  8722
2002-03-25  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8723
sl@0
  8724
	* tests/main.test: Removed workarounds for Bug 495977.
sl@0
  8725
sl@0
  8726
	* library/tcltest/tcltest.tcl:	Keep the value of $::auto_path
sl@0
  8727
	unchanged, so that the tcltest package can test code that depends
sl@0
  8728
	on auto-loading. If a testing application needs $::auto_path pruned,
sl@0
  8729
	it should do that itself. [Bug 495726]
sl@0
  8730
	Improve the processing of the -constraints option to [test] so that
sl@0
  8731
	constraint lists can have arbitrary whitespace, and non-lists don't
sl@0
  8732
	blow things up. [Bug 495977]
sl@0
  8733
	Corrected faulty variable initialization. [Bug 534845]
sl@0
  8734
sl@0
  8735
2002-03-25  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8736
sl@0
  8737
	* doc/CrtTrace.3: small doc correction
sl@0
  8738
	* generic/tclBasic.c (Tcl_DeleteTrace): Allow NULL callback on
sl@0
  8739
	trace deletions [Bug 534728] (Hemang Lavana).
sl@0
  8740
sl@0
  8741
2002-03-24  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8742
sl@0
  8743
	* generic/tclBasic.c (Tcl_EvalObjv): replaced obscure, incorrect
sl@0
  8744
	code as described in [Bug 533907] (Don Porter).
sl@0
  8745
sl@0
  8746
2002-03-24  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8747
sl@0
  8748
	* library/tcltest/tcltest.tcl:	Use [interpreter] to set/query the
sl@0
  8749
	executable currently running the tcltest package. [Bug 454050]
sl@0
  8750
sl@0
  8751
	* library/tcltest/tcltest.tcl:	Allow non-proc commands to be used
sl@0
  8752
	as the customization hooks. [Bug 495662]
sl@0
  8753
sl@0
  8754
2002-03-24  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  8755
sl@0
  8756
	* generic/tclFilename.c:
sl@0
  8757
	* generic/tclFCmd.c:
sl@0
  8758
	* generic/tclTest.c:
sl@0
  8759
	* generic/tcl.h:
sl@0
  8760
	* generic/tclIOUtil.c:
sl@0
  8761
	* win/tclWinFile.c:
sl@0
  8762
	* win/tclWinFCmd.c:
sl@0
  8763
	* win/tclWinPipe.c:
sl@0
  8764
	* unix/tclUnixFile.c:
sl@0
  8765
	* unix/tclUnixFCmd.c:
sl@0
  8766
	* mac/tclMacFile.c:
sl@0
  8767
	* doc/FileSystem.3:
sl@0
  8768
	* doc/file.n:
sl@0
  8769
	* tests/cmdAH.test:
sl@0
  8770
	* tests/fileName.test:
sl@0
  8771
	* tests/fileSystem.test: (new file)
sl@0
  8772
	* tests/winFCmd.test: fix [Bug 511666] and [Bug 511658], and improved
sl@0
  8773
	documentation of some aspects of the filesystem, particularly
sl@0
  8774
	'Tcl_FSMatchInDirectory' which now might match a single file/directory
sl@0
  8775
	only, and 'file normalize' which wasn't very clear before. Removed
sl@0
  8776
	inconsistency betweens docs and the Tcl_Filesystem structure. Also
sl@0
  8777
	fixed [Bug 523217] and corrected file normalization on Unix so that it
sl@0
  8778
	expands symbolic links. Added some new tests of the filesystem code
sl@0
  8779
	(in the new file 'fileSystem.test'), and some extra tests for correct
sl@0
  8780
	handling of symbolic links. Fix to [Bug 530960] which shows up on
sl@0
  8781
	Win98. Made comparison with ".com" case insensitive in tclWinPipe.c
sl@0
  8782
sl@0
  8783
	***POTENTIAL INCOMPATIBILITY***: But only between alpha releases
sl@0
  8784
	(users of the new Tcl_Filesystem lookup table in Tcl 8.4a4 need to
sl@0
  8785
	handle the new way in which Tcl may call Tcl_FSMatchInDirectory, and
sl@0
  8786
	'file normalize' on unix now behaves correctly). Only known impact is
sl@0
  8787
	with the 'tclvfs' extension.
sl@0
  8788
sl@0
  8789
2002-03-22  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8790
sl@0
  8791
	* tests/basic.test (basic-46.1): adding test for [Bug 533758], fixed
sl@0
  8792
	earlier today.
sl@0
  8793
sl@0
  8794
2002-03-22  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8795
sl@0
  8796
	* win/tclWinInt.h: moved undef of TCL_STORAGE_CLASS. [Bug 478579]
sl@0
  8797
sl@0
  8798
2002-03-22  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8799
sl@0
  8800
	* generic/tclBasic.c (Tcl_EvalObjEx):
sl@0
  8801
	* generic/tclExecute.c (TclCompEvalObj): fixed the errorInfo for
sl@0
  8802
	return codes other than (TCL_OK, TCL_ERROR) to runLevel 0 [Bug
sl@0
  8803
	533758]. Removed the static RecordTracebackInfo(), as its 
sl@0
  8804
	functionality is easily replicated by Tcl_LogCommandInfo. Bug and
sl@0
  8805
	redundancy noted by Don Porter.
sl@0
  8806
sl@0
  8807
2002-03-21  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8808
sl@0
  8809
	* doc/expr.n: Improved documentation for ceil and floor [Bug 530535]
sl@0
  8810
sl@0
  8811
2002-03-20  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8812
sl@0
  8813
	* doc/SetVar.3:
sl@0
  8814
	* doc/TraceVar.3:
sl@0
  8815
	* doc/UpVar.3:
sl@0
  8816
	* generic/tcl.h (Tcl_VarTraceProc):
sl@0
  8817
	* generic/tcl.decls (Tcl_GetVar2, Tcl_SetVar2, Tcl_TraceVar2)
sl@0
  8818
	(Tcl_UnsetVar2, Tcl_UntraceVar2, Tcl_UpVar2, Tcl_VarTraceInfo2)
sl@0
  8819
	(Tcl_GetVar2Ex, TclSetVar2Ex):
sl@0
  8820
	* generic/tclCmdMZ.c (TraceVarProc):
sl@0
  8821
	* generic/tclEnv.c (EnvTraceProc):
sl@0
  8822
	* generic/tclEvent.c (VwaitVarProc):
sl@0
  8823
	* generic/tclInt.decls (TclLookupVar,TclPrecTraceProc):
sl@0
  8824
	* generic/tclLink.c (LinkTraceProc):
sl@0
  8825
	* generic/tclUtil.c (TclPrecTraceProc):
sl@0
  8826
	* generic/tclVar.c (CallTraces, MakeUpvar, VarErrMsg, TclLookupVar,
sl@0
  8827
	(Tcl_GetVar2, Tcl_SetVar2, Tcl_TraceVar2, Tcl_UnsetVar2)
sl@0
  8828
	(Tcl_UntraceVar2, Tcl_UpVar2, Tcl_VarTraceInfo2, Tcl_GetVar2Ex)
sl@0
  8829
	(TclSetVar2Ex): Updated interfaces of generic/tclVar.c according to
sl@0
  8830
	TIP 27. In particular, the "part2" arguments were CONSTified. 
sl@0
  8831
	[Patch 532642]
sl@0
  8832
	* generic/tclDecls.h:
sl@0
  8833
	* generic/tclIntDecls.h: make genstubs
sl@0
  8834
sl@0
  8835
2002-03-15  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8836
sl@0
  8837
	* tests/compile.test (compile-12.3): Test to detect bug 530320.
sl@0
  8838
	* generic/tclCompile.c (TclCompileTokens): Fixed buffer overrun
sl@0
  8839
	reported in bug 530320.
sl@0
  8840
sl@0
  8841
2002-03-14  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  8842
sl@0
  8843
	* win/configure: Regen.
sl@0
  8844
	* win/configure.in: Add configure time test for SEH support in the
sl@0
  8845
	compiler.
sl@0
  8846
	* win/tclWin32Dll.c (ESP, EBP, TclpCheckStackSpace,
sl@0
  8847
	(_except_checkstackspace_handler):
sl@0
  8848
	* win/tclWinChan.c (ESP, EBP, Tcl_MakeFileChannel,
sl@0
  8849
	(_except_makefilechannel_handler):
sl@0
  8850
	* win/tclWinFCmd.c (ESP, EBP, DoRenameFile, DoCopyFile,
sl@0
  8851
	(_except_dorenamefile_handler, _except_docopyfile_handler): Implement
sl@0
  8852
	SEH support under gcc using inline asm. Tcl and Tk should now compile
sl@0
  8853
	with Mingw 1.1. [Patch 525746]
sl@0
  8854
sl@0
  8855
2002-03-14  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  8856
sl@0
  8857
	* win/tclWinFCmd.c (DoRenameFile, DoCopyFile): Handle an SEH exception
sl@0
  8858
	with EXCEPTION_EXECUTE_HANDLER instead of restarting the faulting
sl@0
  8859
	instruction with EXCEPTION_CONTINUE_EXECUTION. Bug 466102 provides an
sl@0
  8860
	example of how restarting could send Tcl into an infinite loop. [Patch
sl@0
  8861
	525746]
sl@0
  8862
sl@0
  8863
2002-03-11  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  8864
sl@0
  8865
	* win/tclWinFCmd.c (DoRenameFile, DoCopyFile, DoDeleteFile,
sl@0
  8866
	(DoRemoveJustDirectory): Make sure we don't pass NULL or "" as a path
sl@0
  8867
	name to Win32 API functions since this was crashing under Windows 98.
sl@0
  8868
sl@0
  8869
2002-03-11  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8870
sl@0
  8871
	* library/tcltest/tcltest.tcl:
sl@0
  8872
	* library/tcltest/pkgIndex.tcl: Bumped tcltest package to 2.0.2.
sl@0
  8873
sl@0
  8874
2002-03-11  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  8875
sl@0
  8876
	* library/tcltest/tcltest.tcl (getMatchingFiles): Pass a proper list
sl@0
  8877
	to foreach to avoid munging a Windows patch like D:\Foo\Bar into
sl@0
  8878
	D:FooBar before the glob.
sl@0
  8879
sl@0
  8880
2002-03-11  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  8881
sl@0
  8882
	* generic/tclEncoding.c: Fix typo in comment.
sl@0
  8883
	* generic/tclIO.c (DoReadChars, ReadBytes, ReadChars): Use NULL value
sl@0
  8884
	instead of pointer set to NULL to make things more clear. Reorder
sl@0
  8885
	arguments so that they match the function signatures. Cleanup little
sl@0
  8886
	typos and add more descriptive comment.
sl@0
  8887
sl@0
  8888
2002-03-08  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  8889
sl@0
  8890
	* win/README: Update to indicate that Mingw 1.1 is required to build
sl@0
  8891
	Tcl. Add section describing new msys based build process. Update
sl@0
  8892
	Cygwin build instructions so users know where to find Mingw 1.1.
sl@0
  8893
sl@0
  8894
2002-03-08  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8895
sl@0
  8896
	* win/tclWinFCmd.c (DoCopyFile): correctly set retval to TCL_OK.
sl@0
  8897
sl@0
  8898
2002-03-07  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  8899
sl@0
  8900
	* win/tclWin32Dll.c (TclpCheckStackSpace):
sl@0
  8901
	* win/tclWinFCmd.c (DoRenameFile, DoCopyFile): Replace hard coded
sl@0
  8902
	constants with Win32 symbolic names. Move control flow statements out
sl@0
  8903
	of __try blocks since the documentation indicates it is frowned upon.
sl@0
  8904
sl@0
  8905
2002-03-07  Don Porter  <dgp@users.sourceforge.net>
sl@0
  8906
sl@0
  8907
	* doc/interp.n:
sl@0
  8908
	* generic/tclInterp.c (Tcl_InterpObjCmd,SlaveObjCmd,
sl@0
  8909
	(SlaveRecursionLimit):
sl@0
  8910
	* generic/tclTest.c:
sl@0
  8911
	* tests/interp.test: Added the [interp recursionlimit] command to
sl@0
  8912
	set/query the recursion limit of an interpreter.  Proposal and
sl@0
  8913
	implementation from Stephen Trier. [TIP 87, Patch 522849]
sl@0
  8914
sl@0
  8915
2002-03-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8916
sl@0
  8917
	* generic/tcl.h, tools/tcl.wse.in, unix/configure.in,
sl@0
  8918
	* unix/tcl.spec, win/README.binary, win/configure.in, README:
sl@0
  8919
	Bumped patchlevel; this might need to change in the future, but it
sl@0
  8920
	will help us distinguish between the CVS version and the most
sl@0
  8921
	recent released version.
sl@0
  8922
sl@0
  8923
2002-03-06  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8924
sl@0
  8925
	* generic/tclInt.h: for unshared objects, TclDecrRefCount now frees
sl@0
  8926
	the internal rep before the string rep - just like the non-macro
sl@0
  8927
	Tcl_DecrRefCount/TclFreeObj [Bug 524802].
sl@0
  8928
sl@0
  8929
2002-03-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  8930
sl@0
  8931
	* doc/lsearch.n: Documentation of new features, plus examples.
sl@0
  8932
	* tests/lsearch.test: Tests of new features.
sl@0
  8933
	* generic/tclCmdIL.c (Tcl_LsearchObjCmd): TIP#80 support.  See
sl@0
  8934
	http://purl.org/tcl/tip/80 for details.
sl@0
  8935
sl@0
  8936
2002-03-05  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8937
sl@0
  8938
	*** 8.4a4 TAGGED FOR RELEASE ***
sl@0
  8939
sl@0
  8940
	* unix/tclUnixChan.c: initial remedy for [Bug 525783] flush problem
sl@0
  8941
	introduced by TIP #35. This may not satisfy true serial channels, but
sl@0
  8942
	it restores the correct flushing of std* channels on exit.
sl@0
  8943
sl@0
  8944
	* unix/README: added --enable-langinfo doc.
sl@0
  8945
sl@0
  8946
	* unix/tcl.spec:
sl@0
  8947
	* tools/tcl.wse.in: fixed URL refs to use www.tcl.tk or SF.
sl@0
  8948
sl@0
  8949
2002-03-04  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8950
sl@0
  8951
	* README:
sl@0
  8952
	* mac/README:
sl@0
  8953
	* unix/Makefile.in:
sl@0
  8954
	* unix/README:
sl@0
  8955
	* win/README:
sl@0
  8956
	* win/README.binary: updated to use www.tcl.tk URL.
sl@0
  8957
sl@0
  8958
	* unix/Makefile.in: added older ChangeLogs to dist target.
sl@0
  8959
sl@0
  8960
	* tests/io.test:
sl@0
  8961
	* tests/encoding.test: corrected iso2022 encoding results.
sl@0
  8962
	added encoding-24.*
sl@0
  8963
	* generic/tclEncoding.c (EscapeFromUtfProc): corrected output of
sl@0
  8964
	escape codes as per RFC 1468. [Patch 474358] (taguchi)
sl@0
  8965
	(TclFinalizeEncodingSubsystem): corrected potential double-free
sl@0
  8966
	when encodings were finalized on exit. [Bug 219314, 524674]
sl@0
  8967
sl@0
  8968
2002-03-01  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8969
sl@0
  8970
	* library/encoding/iso2022-jp.enc:
sl@0
  8971
	* library/encoding/iso2022.enc:
sl@0
  8972
	* tools/encoding/iso2022-jp.esc:
sl@0
  8973
	* tools/encoding/iso2022.esc: gave <ESC>$B precedence over <ESC>$@,
sl@0
  8974
	based on comments (point 1) in [Bug 219283] (RFC 1468)
sl@0
  8975
sl@0
  8976
	* tests/encoding.test: added encoding-23.* tests
sl@0
  8977
	* generic/tclIO.c (FilterInputBytes): reset the TCL_ENCODING_START
sl@0
  8978
	flags in the ChannelState when using 'gets'. [Bug 523988]
sl@0
  8979
	Also reduced the value of ENCODING_LINESIZE from 30 to 20 as this
sl@0
  8980
	seems to improve the performance of 'gets' according to tclbench.
sl@0
  8981
sl@0
  8982
2002-02-28  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  8983
sl@0
  8984
	* generic/tclCmdMZ.c (TraceCommandProc): ensure that TraceCommandInfo
sl@0
  8985
	structure was also deleted when a command was deleted to prevent a
sl@0
  8986
	mem leak.
sl@0
  8987
sl@0
  8988
	* generic/tclBasic.c (Tcl_CreateObjTrace): set tracePtr->flags
sl@0
  8989
	correctly.
sl@0
  8990
sl@0
  8991
	* generic/tclTimer.c (TimerExitProc): remove remaining events in
sl@0
  8992
	tls on thread exit.
sl@0
  8993
sl@0
  8994
2002-02-28  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  8995
sl@0
  8996
	* generic/tclNamesp.c: allow cached fully-qualified namespace names to
sl@0
  8997
	be usable from different namespaces within the same interpreter
sl@0
  8998
	without forcing a new lookup [Patch 458872].
sl@0
  8999
sl@0
  9000
2002-02-28  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  9001
sl@0
  9002
	* generic/tclExecute.c: Replaced a few direct stack accesses with the
sl@0
  9003
	POP_OBJECT() macro [Bug 507181] (Don Porter).
sl@0
  9004
sl@0
  9005
2002-02-27  Don Porter  <dgp@users.sourceforge.net>
sl@0
  9006
sl@0
  9007
	* doc/GetIndex.3:
sl@0
  9008
	* generic/tcl.decls (Tcl_GetIndexFromObjStruct):
sl@0
  9009
	* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct):  Revised the
sl@0
  9010
	prototype of the Tcl_GetIndexFromObjStruct to take its struct
sl@0
  9011
	table as a (CONST VOID *) argument, better describing what it is,
sl@0
  9012
	maintaining source compatibility, and adding CONST correctness
sl@0
  9013
	according to TIP 27.  Thanks to Joe English for an elegant
sl@0
  9014
	solution. [Bug 520304]
sl@0
  9015
sl@0
  9016
	* generic/tclDecls.h: make genstubs
sl@0
  9017
sl@0
  9018
	* generic/tclMain.c (Tcl_Main,StdinProc):  Corrected some reference
sl@0
  9019
	count management errors on the interactive command Tcl_Obj found by
sl@0
  9020
	Purify. Thanks to Jeff Hobbs for the report and assistance.
sl@0
  9021
sl@0
  9022
2002-02-27  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  9023
sl@0
  9024
	* generic/tclBasic.c (Tcl_EvalTokensStandard): corrected mem leak
sl@0
  9025
	in error case.
sl@0
  9026
sl@0
  9027
	* generic/tclTest.c (TestStatProc[123]): correct harmless UMRs.
sl@0
  9028
sl@0
  9029
	* generic/tclLink.c (Tcl_LinkVar): correct mem leak in error case.
sl@0
  9030
sl@0
  9031
2002-02-27  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  9032
sl@0
  9033
	* tests/socket.test (2.7): Accepted and applied patch for [Bug 523470]
sl@0
  9034
	provided by Don Porter <dgp@users.sourceforge.net> to avoid timing
sl@0
  9035
	problems in that test.
sl@0
  9036
sl@0
  9037
	* unix/tclUnixChan.c (TclpOpenFileChannel): Added code to regonize
sl@0
  9038
	"/dev/tty" (by name) and to not handle it as tty / serial line. This
sl@0
  9039
	is the controlling terminal and is special. Setting it into raw mode
sl@0
  9040
	as is done for other tty's is a bad idea. This is a hackish fix for
sl@0
  9041
	expect [Bug 520624]. The fix has limitation: Tcl_MakeFileChannel
sl@0
  9042
	handles tty's specially too, but is unable to recognize /dev/tty as it
sl@0
  9043
	only gets a file descriptor, and no name for it.
sl@0
  9044
sl@0
  9045
2002-02-26  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  9046
sl@0
  9047
	* generic/tclCmdAH.c (StoreStatData): corrected mem leak.
sl@0
  9048
sl@0
  9049
	* generic/tclCmdMZ.c (Tcl_RegsubObjCmd): prevent obj leak in remedial
sl@0
  9050
	regsub case.
sl@0
  9051
sl@0
  9052
	* generic/tclFileName.c (Tcl_TranslateFileName): decr refcount for
sl@0
  9053
	error case to prevent mem leak.
sl@0
  9054
sl@0
  9055
	* generic/tclVar.c (Tcl_ArrayObjCmd): removed extra obj allocation.
sl@0
  9056
sl@0
  9057
	* unix/tclUnixSock.c (Tcl_GetHostName): added an extra gethostbyname
sl@0
  9058
	check to guard against failure with truncated names returned by uname.
sl@0
  9059
sl@0
  9060
	* unix/configure:
sl@0
  9061
	* unix/tcl.m4 (SC_SERIAL_PORT): added sys/modem.h check and defined
sl@0
  9062
	_XOPEN_SOURCE_EXTENDED for HP-11 to get updated header decls.
sl@0
  9063
sl@0
  9064
	* unix/tclUnixChan.c: added Unix implementation of TIP #35, serial
sl@0
  9065
	port support. [Patch 438509] (schroedter)
sl@0
  9066
sl@0
  9067
2002-02-26  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  9068
sl@0
  9069
	* generic/tclCmpCmds.c: (bugfix to the bugfix, hopefully the last)
sl@0
  9070
	Bugfix to the new [for] compiling code: was setting a exceptArray
sl@0
  9071
	parameter using another param which wasn't yet initialised, thus
sl@0
  9072
	filling it with noise.
sl@0
  9073
sl@0
  9074
2002-02-25  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  9075
sl@0
  9076
	* mac/tclMacSock.c (TcpGetOptionProc): Changed to recognize the option
sl@0
  9077
	"-error". Essentially ignores the option, always returning an empty
sl@0
  9078
	string.
sl@0
  9079
sl@0
  9080
2002-02-25  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  9081
sl@0
  9082
	* doc/Alloc.3:
sl@0
  9083
	* doc/LinkVar.3:
sl@0
  9084
	* doc/ObjectType.3:
sl@0
  9085
	* doc/PkgRequire.3:
sl@0
  9086
	* doc/Preserve.3:
sl@0
  9087
	* doc/TCL_MEM_DEBUG.3: Updated documentation to describe the ckalloc,
sl@0
  9088
	ckfree, ckrealloc, attemptckalloc, and attemptckrealloc macros, and
sl@0
  9089
	to accurately describe when and how they are used. [Bug 497459] (dgp)
sl@0
  9090
sl@0
  9091
	* generic/tclHash.c (AllocArrayEntry, AllocStringEntry): Before
sl@0
  9092
	invoking ckalloc when creating a Tcl_HashEntry, check that the amount
sl@0
  9093
	of memory being allocated is at least as large as
sl@0
  9094
	sizeof(Tcl_HashEntry). The previous code was allocating memory regions
sl@0
  9095
	that were one or two bytes short. [Bug 521950] (dejong)
sl@0
  9096
sl@0
  9097
2002-02-25  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  9098
sl@0
  9099
	* generic/tclBasic.c (Tcl_EvalEx): avoiding a buffer overrun reported
sl@0
  9100
	by Joe English, and restoring tcl7.6 behaviour for [subst]: badly
sl@0
  9101
	terminated nested scripts will raise an error and not be evaluated.
sl@0
  9102
	[Bug 495207]
sl@0
  9103
sl@0
  9104
2002-02-25  Don Porter  <dgp@users.sourceforge.net>
sl@0
  9105
sl@0
  9106
	* unix/tclUnixPort.h: corrected strtoll prototype mismatch on Tru64.
sl@0
  9107
	* compat/strtod.c (strtod): simplified #includes
sl@0
  9108
	* compat/strtol.c (strtol): gather result in a long before returning
sl@0
  9109
	as a long: necessary on platforms where sizeof(int) != sizeof(long).
sl@0
  9110
sl@0
  9111
2002-02-25  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  9112
sl@0
  9113
	* unix/tclLoadDyld.c: updated to use Mac OS X 10.1 dyld APIs that have
sl@0
  9114
	more libdl-like semantics. [Bug 514392]
sl@0
  9115
sl@0
  9116
2002-02-25  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  9117
sl@0
  9118
	* generic/tclCompCmds: fixing a bug in patch dated 2002-02-22, in the
sl@0
  9119
	code for [for] and [while]. Under certain conditions, for long bodies,
sl@0
  9120
	the exception range parameters were badly computed. Tests forthcoming:
sl@0
  9121
	I still can't reproduce the conditions in the testsuite (!), although
sl@0
  9122
	the bug (with assorted segfault or panic!) can be triggered from the
sl@0
  9123
	console or with the new parse.bench in tclbench.
sl@0
  9124
sl@0
  9125
2002-02-25  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  9126
sl@0
  9127
	* compat/strtoul.c, compat/strtol.c, compat/strtod.c: Added UCHAR,
sl@0
  9128
	CONST and #includes to clean up GCC output.
sl@0
  9129
sl@0
  9130
2002-02-23  Don Porter  <dgp@users.sourceforge.net>
sl@0
  9131
sl@0
  9132
	* compat/strtoull.c (strtoull):
sl@0
  9133
	* compat/strtoll.c (strtoll):
sl@0
  9134
	* compat/strtoul.c (strtoul): Fixed failure to handle leading sign
sl@0
  9135
	symbols '+' and '-' and '0X' and raise overflow errors. [Bug 440916]
sl@0
  9136
	Also corrects prototype and errno problems.
sl@0
  9137
sl@0
  9138
2002-02-23  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  9139
sl@0
  9140
	* configure: Regen.
sl@0
  9141
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Link with -n32 instead of -32 when
sl@0
  9142
	building on IRIX64-6.* system. [Bug 521707]
sl@0
  9143
sl@0
  9144
2002-02-22  Don Porter <dgp@users.sourceforge.net>
sl@0
  9145
sl@0
  9146
	* generic/tclInt.h:
sl@0
  9147
	* generic/tclObj.c: renamed global variable emptyString ->
sl@0
  9148
	tclEmptyString because it is no longer static.
sl@0
  9149
	* generic/tclPkg.c: Fix for panic when library is loaded on a
sl@0
  9150
	platform without backlinking without proper use of stubs. [Bug 476537]
sl@0
  9151
sl@0
  9152
2002-02-22  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  9153
sl@0
  9154
	* tests/regexpComp.test: updated regexp-11.[1-4] to match changes
sl@0
  9155
	in regexp.test for new regsub syntax
sl@0
  9156
sl@0
  9157
	* unix/configure:
sl@0
  9158
	* unix/tcl.m4: added --enable-64bit support for AIX-4 (using -q64
sl@0
  9159
	flag) when using IBM's xlc compiler.
sl@0
  9160
sl@0
  9161
	* tests/safe.test: updated safe-8.5 and safe-8.7
sl@0
  9162
	* library/safe.tcl (CheckFileName): removed the limit on
sl@0
  9163
	sourceable file names (was only *.tcl or tclIndex files with no
sl@0
  9164
	more than one dot and 14 chars).  There is enough internal
sl@0
  9165
	protection in a safe interpreter already.  Fixes [Tk Bug 521560].
sl@0
  9166
sl@0
  9167
2002-02-22  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  9168
sl@0
  9169
	* generic/tclCompCmds: [FR 465811]. Optimising [if], [for] and
sl@0
  9170
	[while] for constant conditions; in addition, [for] and [while] are
sl@0
  9171
	now compiled with the "loop rotation" optimisation (thanks to Kevin
sl@0
  9172
	Kenny).
sl@0
  9173
sl@0
  9174
2002-02-22  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  9175
sl@0
  9176
	--- TIP#76 CHANGES ---
sl@0
  9177
	* generic/tclCmdMZ.c (Tcl_RegsubObjCmd): Final-argument-less
sl@0
  9178
	[regsub] returns the modified string.
sl@0
  9179
	* doc/regsub.n: Updated docs.
sl@0
  9180
	* tests/regexp.test: Updated and added tests.
sl@0
  9181
sl@0
  9182
	* compat/strtoll.c (strtoll):
sl@0
  9183
	* compat/strtoull.c (strtoull):
sl@0
  9184
	* unix/tclUnixPort.h:
sl@0
  9185
	* win/tclWinPort.h: Const-ing 64-bit compatability declarations.
sl@0
  9186
	Note that the return pointer is non-const because it is entirely
sl@0
  9187
	legal for the functions to be called from somewhere that owns the
sl@0
  9188
	string being passed.  Fixes problem reported by Larry Virden.
sl@0
  9189
sl@0
  9190
2002-02-21  David Gravereaux <davygrvy@pobox.com>
sl@0
  9191
sl@0
  9192
	* win/mkd.bat (removed):
sl@0
  9193
	* win/coffbase.txt (new):
sl@0
  9194
	* win/makefile.bc:
sl@0
  9195
	* win/makefile.vc:  Changed the 'setup' target to stop using the
sl@0
  9196
	mkd.bat file and just make the directory right in the rule. Same
sl@0
  9197
	change to makefile.bc. configure.in nor Makefile.in use it.
sl@0
  9198
sl@0
  9199
	coffbase.txt will be the master list for our "prefered base addresses"
sl@0
  9200
	set by the linker. This should improve load-time (NT only) by avoiding
sl@0
  9201
	relocations. Submissions to the list by extension authors are
sl@0
  9202
	encouraged.
sl@0
  9203
sl@0
  9204
	Added a 'tidy' target to compliment 'clean' and 'hose' to remove just
sl@0
  9205
	the outputs. Also removed the $(winlibs) macro as it wasn't being
sl@0
  9206
	used.
sl@0
  9207
sl@0
  9208
	Stuff left to do:
sl@0
  9209
	1) get the winhelp target to stop building in the tools/ directory.
sl@0
  9210
	2) stop using rmd.bat
sl@0
  9211
	3) add more dependacy rules.
sl@0
  9212
sl@0
  9213
	* win/tclAppInit.c: Reverted back to -r1.6, as the header file change
sl@0
  9214
	to tclPort.h won't allow for easy embedded support outside of the
sl@0
  9215
	source dist. Thanks to Don Porter for pointing this out to me.
sl@0
  9216
sl@0
  9217
2002-02-21  David Gravereaux <davygrvy@pobox.com>
sl@0
  9218
sl@0
  9219
	* win/makefile.vc:
sl@0
  9220
	* win/rules.vc: Added a new "loimpact" option that sets the
sl@0
  9221
	-ws:aggressive linker option. Off by default. It's said to keep the
sl@0
  9222
	heap use low at the expense of alloc speed.
sl@0
  9223
sl@0
  9224
	* win/tclAppInit.c: Changed #include "tcl.h" to be tclPort.h to remove
sl@0
  9225
	the raw windows.h include. tclPort.h brings in windows.h already and
sl@0
  9226
	lessens the pre-compiled-header mush and the randomly useless #pragma
sl@0
  9227
	comment (lib,...) references throughout the big windows.h tree (as
sl@0
  9228
	observed at high linker warning levels).
sl@0
  9229
sl@0
  9230
2002-02-21  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  9231
sl@0
  9232
	* generic/tcl.h: Better guessing of LP64/ILP32 architecture, but
sl@0
  9233
	now sensitive to presence of (suitable) <limits.h>
sl@0
  9234
sl@0
  9235
2002-02-20  Don Porter <dgp@users.sourceforge.net>
sl@0
  9236
sl@0
  9237
	* generic/tcl.decls (Tcl_RegExpRange,Tcl_GetIndexFromObjStruct):
sl@0
  9238
	Overlooked a few source incompatibilities.  Now using CONST84.
sl@0
  9239
	* generic/tclDecls.h: make genstubs
sl@0
  9240
	* generic/tcl.h (Tcl_CmdObjTraceProc): silence warning from Sun
sl@0
  9241
	Workshop compiler.
sl@0
  9242
sl@0
  9243
2002-02-20  David Gravereaux <davygrvy@pobox.com>
sl@0
  9244
sl@0
  9245
	* win/buildall.vc.bat:
sl@0
  9246
	* win/makefile.vc:
sl@0
  9247
	* win/rules.vc: General clean-ups. Added compiler and linker tests for
sl@0
  9248
	a) the pentium 0x0F errata, b) optimizing (not all have this), and c)
sl@0
  9249
	linker v6 section alignment confusion. All these are tested first to
sl@0
  9250
	make sure any D4002 or LNK1117 warnings aren't displayed. The pentium
sl@0
  9251
	0x0F errata is a recommended switch. The v5 linker's section alignment
sl@0
  9252
	default is 512, but the v6 linker was changed to 4096 in an attempt to
sl@0
  9253
	speed loading on Win98. I changed the default to always be 512 across
sl@0
  9254
	both linkers, unless linking statically, then 4096 is used for the
sl@0
  9255
	claimed speed effect. Using a 512 alignment saves 12k bytes of dead
sl@0
  9256
	space in the DLL.
sl@0
  9257
sl@0
  9258
	Added IA64 B-stepping errata switch when the compiler supports it.
sl@0
  9259
sl@0
  9260
	Added profiling to $(lflags) when requested and also removed the
sl@0
  9261
	explict -entry option as the default works fine as is.
sl@0
  9262
sl@0
  9263
	Removed win/tclWinInit.c from the special case section to let it use
sl@0
  9264
	the common implicit rule as the $(EXTFLAGS) macro it had was never
sl@0
  9265
	referenced anywhere.
sl@0
  9266
sl@0
  9267
2002-02-20  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  9268
sl@0
  9269
	* generic/tcl.h: Added code to guess the correct settings for
sl@0
  9270
	TCL_WIDE_INT_IS_LONG and TCL_WIDE_INT_TYPE when configure doesn't tell
sl@0
  9271
	us them, as can happen with extensions.
sl@0
  9272
sl@0
  9273
2002-02-19  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  9274
sl@0
  9275
	* doc/format.n: Updated docs to list the specification.
sl@0
  9276
	* generic/tclCmdAH.c (Tcl_FormatObjCmd): Made behaviour on 64-bit
sl@0
  9277
	platforms correctly meet the specification, that %d works with the
sl@0
  9278
	native word-sized integer, instead of trying to guess (wrongly) from
sl@0
  9279
	the value being passed.
sl@0
  9280
sl@0
  9281
2002-02-19  Don Porter <dgp@users.sourceforge.net>
sl@0
  9282
sl@0
  9283
	* changes: First draft of updated changes for 8.4a4 release.
sl@0
  9284
sl@0
  9285
2002-02-15  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  9286
sl@0
  9287
	* unix/tclUnixPort.h: add strtoll/strtoull declarations for platforms
sl@0
  9288
	that do not define them.
sl@0
  9289
sl@0
  9290
	* generic/tclIndexObj.c (STRING_AT): removed ptrdiff_t cast and use of
sl@0
  9291
	VOID* in default case (GNU-ism).
sl@0
  9292
sl@0
  9293
2002-02-15  Kevin Kenny  <kennykb@acm.org>
sl@0
  9294
sl@0
  9295
	* compat/strtoll.c:
sl@0
  9296
	* compat/strtoul.c:
sl@0
  9297
	* compat/strtoull.c:
sl@0
  9298
	* generic/tclIOUtil.c:
sl@0
  9299
	* generic/tclPosixStr.c:
sl@0
  9300
	* generic/tclTest.c:
sl@0
  9301
	* generic/tclTestObj.c:
sl@0
  9302
	* tests/get.test:
sl@0
  9303
	* win/Makefile.vc: Further tweaks to the TIP 72 patch to make it
sl@0
  9304
	compile under VC++.
sl@0
  9305
sl@0
  9306
2002-02-15  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  9307
sl@0
  9308
	* tclExecute.c:
sl@0
  9309
	* tclIOGT.c:
sl@0
  9310
	* tclIndexObj.c: Touchups to the TIP 72 patch to make it compileable
sl@0
  9311
	under Windows again. The changes are not complete, there is one nasty
sl@0
  9312
	regarding _stati64
sl@0
  9313
sl@0
  9314
2002-02-15  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  9315
sl@0
  9316
	+----------------------+
sl@0
  9317
	| TIP #72 IMPLEMENTED. |
sl@0
  9318
	+----------------------+
sl@0
  9319
sl@0
  9320
	There are a lot of changes from this TIP, so please see
sl@0
  9321
	http://tip.tcl.tk/72.html for discussion of backward-compatability
sl@0
  9322
	issues, but the main ones modifications are in:
sl@0
  9323
sl@0
  9324
	* generic/tcl.h: New types.
sl@0
  9325
	* generic/tcl.decls: New public functions.
sl@0
  9326
	* generic/tclExecute.c: 64-bit aware bytecode engine.
sl@0
  9327
	* generic/tclBinary.c: 64-bit handling in [binary] command.
sl@0
  9328
	* generic/tclScan.c: 64-bit handling in [scan] command.
sl@0
  9329
	* generic/tclCmdAH.c: 64-bit handling in [file] and [format]
sl@0
  9330
	commands.
sl@0
  9331
	* generic/tclBasic.c: New "wordSize" entry in ::tcl_platform.
sl@0
  9332
	* generic/tclFCmd.c: Large-file support (with many consequences.)
sl@0
  9333
	* generic/tclIO.c: Large-file support (with many consequences.)
sl@0
  9334
	* compat/strtoll.c, compat/strtoull.c: New support functions.
sl@0
  9335
	* unix/tcl.m4, unix/configure: 64-bit support and greatly enhanced
sl@0
  9336
	cacheing.
sl@0
  9337
sl@0
  9338
	Most other changes, including all those in doc/* and test/* as well as
sl@0
  9339
	the majority in the platform directories, follow on from these.
sl@0
  9340
sl@0
  9341
	Also coming out of the woodwork:
sl@0
  9342
	* generic/tclIndex.c: Better support for Cray PVP.
sl@0
  9343
	* win/tclWinMtherr.c: Better Borland support.
sl@0
  9344
sl@0
  9345
	Note that, in a number of places through the Unix part of the platform
sl@0
  9346
	support, there are Tcl_Platform* references. These are expanded into
sl@0
  9347
	the correct way to call that particular underlying function, i.e. with
sl@0
  9348
	or without a '64' suffix, and should be used by people working on the
sl@0
  9349
	core in preference to the API functions they overlay so that the code
sl@0
  9350
	remains portable depending on the presence or absence of 64-bit
sl@0
  9351
	support on the underlying platform.
sl@0
  9352
sl@0
  9353
	***POTENTIAL INCOMPATIBILITY***: Extracted from the TIP
sl@0
  9354
sl@0
  9355
	SUMMARY OF INCOMPATIBILITIES AND FIXES
sl@0
  9356
	======================================
sl@0
  9357
sl@0
  9358
	The behaviour of expressions containing constants that appear positive
sl@0
  9359
	but which have a negative internal representation will change, as
sl@0
  9360
	these will now usually be interpreted as wide integers. This is always
sl@0
  9361
	fixable by replacing the constant with int(constant).
sl@0
  9362
sl@0
  9363
	Extensions creating new channel types will need to be altered as
sl@0
  9364
	different types are now in use in those areas. The change to the
sl@0
  9365
	declaration of Tcl_FSStat and Tcl_FSLstat (which are the new preferred
sl@0
  9366
	API in any case) are less serious as no non-alpha releases have been
sl@0
  9367
	made yet with those API functions.
sl@0
  9368
sl@0
  9369
	Scripts that are lax about the use of the l modifier in format and
sl@0
  9370
	scan will probably need to be rewritten. This should be very uncommon
sl@0
  9371
	though as previously it had absolutely no effect.
sl@0
  9372
sl@0
  9373
	Extensions that create new math functions that take more than one
sl@0
  9374
	argument will need to be recompiled (the size of Tcl_Value changes),
sl@0
  9375
	and functions that accept arguments of any type (TCL_EITHER) will need
sl@0
  9376
	to be rewritten to handle wide integer values. (I do not expect this
sl@0
  9377
	to affect many extensions at all.)
sl@0
  9378
sl@0
  9379
2002-02-14  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  9380
sl@0
  9381
	* generic/tclIOCmd.c (Tcl_GetsObjCmd): Trivial fix for [Bug 517503], a
sl@0
  9382
	memory leak reported by Miguel Sofer <msofer@users.sourceforge.net>.
sl@0
  9383
	The leak happens if an error occurs for "set var [gets $chan]" and
sl@0
  9384
	leak one empty object.
sl@0
  9385
sl@0
  9386
2002-02-12  David Gravereaux <davygrvy@pobox.com>
sl@0
  9387
sl@0
  9388
	* djgpp/ (new directory)
sl@0
  9389
	* djgpp/Makefile (new):
sl@0
  9390
	* unix/tclAppInit.c:
sl@0
  9391
	* unix/tclMtherr.c:
sl@0
  9392
	* unix/tclUnixFCmd.c:
sl@0
  9393
	* unix/tclUnixFile.c:
sl@0
  9394
	* unix/tclUnixInit.c:
sl@0
  9395
	* unix/tclUnixPort.h:  Early stage of DJGPP support for building Tcl
sl@0
  9396
	on DOS. Dynamic loading isn't working, yet. Requires watt32 for the
sl@0
  9397
	TCP/IP stack. No autoconf, yet. Barely tested, but makes a working exe
sl@0
  9398
	that runs Tcl in protected-mode, flat memory. [exec] and pipes will
sl@0
  9399
	need the most work as multi-tasking on DOS has to be carefully.
sl@0
  9400
sl@0
  9401
2002-02-10  Kevin Kenny  <kennykb@acm.org>
sl@0
  9402
sl@0
  9403
	* doc/CrtObjCmd.3:
sl@0
  9404
	* doc/CrtTrace.3:
sl@0
  9405
	* generic/tcl.decls:
sl@0
  9406
	* generic/tcl.h:
sl@0
  9407
	* generic/tclBasic.c:
sl@0
  9408
	* generic/tclInt.h:
sl@0
  9409
	* generic/tclTest.c:
sl@0
  9410
	* tests/basic.test: Added Tcl_CreateObjTrace,
sl@0
  9411
	Tcl_GetCommandInfoFromToken and Tcl_SetCommandInfoFromToken.
sl@0
  9412
	(TIPs #32 and #79.)
sl@0
  9413
sl@0
  9414
	* generic/tclDecls.h:
sl@0
  9415
	* generic/tclStubInit.c: Regenerated Stubs tables.
sl@0
  9416
sl@0
  9417
2002-02-08  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  9418
sl@0
  9419
	* unix/configure:
sl@0
  9420
	* unix/tcl.m4: added -pthread for FreeBSD to EXTRA_CFLAGS and
sl@0
  9421
	LDFLAGS.  Also triggered nodots only for FreeBSD-3.
sl@0
  9422
	Added AC_DEFINE(_POSIX_PTHREAD_SEMANTICS) for Solaris.
sl@0
  9423
sl@0
  9424
	* unix/tclUnixPort.h:
sl@0
  9425
	* unix/tclUnixThrd.c: added thread-safe versions of readdir,
sl@0
  9426
	localtime, gmtime and inet_ntoa for threaded build. (jgdavidson)
sl@0
  9427
sl@0
  9428
	* generic/tclScan.c (Tcl_ScanObjCmd): prevented ckfree being
sl@0
  9429
	called on a pointer to NULL.
sl@0
  9430
sl@0
  9431
2002-02-07  Don Porter <dgp@users.sourceforge.net>
sl@0
  9432
sl@0
  9433
	* doc/DString.3:
sl@0
  9434
	* doc/Encoding.3:
sl@0
  9435
	* doc/GetCwd.3:
sl@0
  9436
	* doc/SplitPath.3:
sl@0
  9437
	* doc/Translate.3:
sl@0
  9438
	* doc/Utf.3:
sl@0
  9439
	* generic/tcl.decls:
sl@0
  9440
	* generic/tcl.h:
sl@0
  9441
	* generic/tclEncoding.c:
sl@0
  9442
	* generic/tclEnv.c:
sl@0
  9443
	* generic/tclFileName.c:
sl@0
  9444
	* generic/tclIOUtil.c:
sl@0
  9445
	* generic/tclUtf.c:
sl@0
  9446
	* generic/tclUtil.c:
sl@0
  9447
	* mac/tclMacInit.c:
sl@0
  9448
	* unix/tclUnixFile.c:
sl@0
  9449
	* unix/tclUnixInit.c:
sl@0
  9450
	* unix/tclUnixPipe.c:
sl@0
  9451
	* win/tclWin32Dll.c:
sl@0
  9452
	* win/tclWinFCmd.c:
sl@0
  9453
	* win/tclWinFile.c:
sl@0
  9454
	* win/tclWinInit.c: Partial TIP 27 rollback.  Following routines
sl@0
  9455
	restored to return (char *): Tcl_DStringAppend,
sl@0
  9456
	Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName,
sl@0
  9457
	Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString,
sl@0
  9458
	Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also
sl@0
  9459
	restored Tcl_WinUtfToTChar to return (TCHAR *) and
sl@0
  9460
	Tcl_UtfToUniCharDString to return (Tcl_UniChar *).  Modified
sl@0
  9461
	some callers.  This change recognizes that Tcl_DStrings are
sl@0
  9462
	de-facto white-box objects.
sl@0
  9463
sl@0
  9464
	* generic/tclDecls.h:
sl@0
  9465
	* generic/tclPlatDecls.h: make genstubs
sl@0
  9466
sl@0
  9467
	* generic/tclCmdMZ.c: corrected use of C++-style comment.
sl@0
  9468
sl@0
  9469
2002-02-06  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  9470
sl@0
  9471
	* tests/scan.test:
sl@0
  9472
	* generic/tclScan.c (Tcl_ScanObjCmd): corrected scan 0x... %x handling
sl@0
  9473
	that didn't accept the 0x as a prelude to a base 16 number. [Bug
sl@0
  9474
	495213]
sl@0
  9475
sl@0
  9476
	* generic/tclCompCmds.c (TclCompileRegexpCmd): made early check
sl@0
  9477
	for bad RE to stop checking further.
sl@0
  9478
sl@0
  9479
	* generic/tclCmdMZ.c (Tcl_RegsubObjCmd): added special case to
sl@0
  9480
	search for simple 'string map' style regsub calls.
sl@0
  9481
	Delayed creation of resultPtr object until an initial match is
sl@0
  9482
	made, as the input string object can then be reused for no matches.
sl@0
  9483
	(Tcl_StringObjCmd): optimization improvements to the STR_MAP
sl@0
  9484
	algorithm for zero-length and nocase cases.
sl@0
  9485
sl@0
  9486
	* tests/regexp.test:
sl@0
  9487
	* tests/regexpComp.test: extra code coverage tests.
sl@0
  9488
sl@0
  9489
	* tests/string.test: added 10.18 and 10.19 extra tests.
sl@0
  9490
sl@0
  9491
	* generic/regc_locale.c (casecmp): slight performance improvement.
sl@0
  9492
sl@0
  9493
2002-02-05  Don Porter <dgp@users.sourceforge.net>
sl@0
  9494
sl@0
  9495
	* library/http/http.tcl:
sl@0
  9496
	* library/http/pkgIndex.tcl:  Corrected use of http::error when
sl@0
  9497
	::error was intended.  Bump to http 2.4.2.
sl@0
  9498
sl@0
  9499
2002-02-04  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  9500
sl@0
  9501
	* unix/tclUnixChan.c (FileOutputProc): Fixed [bug 465765] reported by
sl@0
  9502
	Dale Talcott <daletalcott@users.sourceforge.net>. Avoid writing
sl@0
  9503
	nothing into a file as STREAM based implementations will consider this
sl@0
  9504
	a EOF (if the file is a pipe). Not done in the generic layer as this
sl@0
  9505
	type of writing is actually useful to check the state of a socket.
sl@0
  9506
sl@0
  9507
	* doc/open.n: Fixed [Bug 511540], added cross-reference to 'pid' as
sl@0
  9508
	the command to use to retrieve the pid of a command pipeline created
sl@0
  9509
	via 'open'.
sl@0
  9510
sl@0
  9511
2002-02-01  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  9512
sl@0
  9513
	* generic/tclCmdMZ.c (Tcl_RegexpObjCmd): handle quirky about case
sl@0
  9514
	earlier to avoid shimmering problem.
sl@0
  9515
sl@0
  9516
2002-02-01  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  9517
sl@0
  9518
	* tests/io.test: io-39.22 split into two tests, one platform
sl@0
  9519
	dependent, the other not. -eofchar is not empty on the windows
sl@0
  9520
	platform.
sl@0
  9521
sl@0
  9522
2002-02-01  Vince Darley <vincentdarley@users.sourceforge.net>
sl@0
  9523
sl@0
  9524
	* generic/tclTest.c: fix to picky windows compiler problem with the
sl@0
  9525
	'MainLoop' function declaration.
sl@0
  9526
sl@0
  9527
2002-01-31  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  9528
sl@0
  9529
	* win/tclWinFCmd.c: TIP 27: Applied patch fixing CONST warnings on
sl@0
  9530
	behalf of Don Porter <dgp@users.sourceforge.net>.
sl@0
  9531
sl@0
  9532
2002-01-30  Don Porter <dgp@users.sourceforge.net>
sl@0
  9533
sl@0
  9534
	* generic/tcl.decls:
sl@0
  9535
	* generic/tcl.h:
sl@0
  9536
	* generic/tclInt.h: For each interface identified in the TIP 27
sl@0
  9537
	changes below as a POTENTIAL INCOMPATIBILITY, the source of the
sl@0
  9538
	incompatibility has been parameterized so that it can be removed. When
sl@0
  9539
	compiling extension code against the Tcl header files, use the
sl@0
  9540
	compiler flag -DUSE_NON_CONST to remove the irresolvable source
sl@0
  9541
	incompatibilities introduced by the TIP 27 changes. Resolvable changes
sl@0
  9542
	are left for extension authors to resolve.
sl@0
  9543
	* generic/tclDecls.h: make genstubs
sl@0
  9544
sl@0
  9545
2002-01-30  Vince Darley <vincentdarley@users.sourceforge.net>
sl@0
  9546
sl@0
  9547
	* doc/FileSystem.3: added documentation for 3 public functions which
sl@0
  9548
	had been overlooked. Fixes [Bug 507701]
sl@0
  9549
	* unix/mkLinks: make mklinks
sl@0
  9550
sl@0
  9551
2002-01-29  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  9552
sl@0
  9553
	* tests/regexpComp.test:
sl@0
  9554
	* generic/tclCompCmds.c (TclCompileRegexpCmd): enhanced to support
sl@0
  9555
	-nocase and -- options.
sl@0
  9556
sl@0
  9557
2002-01-28  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  9558
sl@0
  9559
	* unix/tcl.m4 (SC_LOAD_TCLCONFIG):
sl@0
  9560
	* win/tcl.m4 (SC_LOAD_TCLCONFIG): Set TCL_LIB_SPEC, TCL_STUB_LIB_SPEC,
sl@0
  9561
	and TCL_STUB_LIB_PATH to the values of TCL_BUILD_LIB_SPEC,
sl@0
  9562
	TCL_BUILD_STUB_LIB_SPEC, and TCL_BUILD_STUB_LIB_PATH when tclConfig.sh
sl@0
  9563
	is loaded from the build directory. A Tcl extension should make use of
sl@0
  9564
	the non-build versions of these variables since they will work in both
sl@0
  9565
	cases. This modification was described in TIP #34.
sl@0
  9566
sl@0
  9567
2002-01-28  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  9568
sl@0
  9569
	* win/tclWinReg.c (regConnectRegistryProc,RecursiveDeleteKey)
sl@0
  9570
	(DeleteKey,GetKeyNames,GetType,GetValue,OpenSubKey,SetValue):
sl@0
  9571
	redid the CONSTification as previous changes caused failing tests.
sl@0
  9572
sl@0
  9573
	* tests/regexpComp.test (new):
sl@0
  9574
	* generic/tclInt.h:
sl@0
  9575
	* generic/tclBasic.c: added TclCompileRegexpCmd entry
sl@0
  9576
	* generic/tclCompCmds.c (TclCompileStringCmd): corrected to return
sl@0
  9577
	TCL_OUT_LINE_COMPILE instead of TCL_ERROR for parsing errors, so
sl@0
  9578
	it only throws the error for runtime compile, in case the user
sl@0
  9579
	modifies 'string'.
sl@0
  9580
	(TclCompileRegexpCmd): first try at a byte-compiled regexp
sl@0
  9581
	command.  It handles static strings and ^$ bounded static strings.
sl@0
  9582
	(TclCompileAppendCmd): made TclPushVarName call always use
sl@0
  9583
	TCL_CREATE_VAR as numWords is always > 2 at that point.
sl@0
  9584
sl@0
  9585
	* generic/tclExecute.c (TclExecuteByteCode:INST_LIST): correct
sl@0
  9586
	possibly dangerous decr in macro call.
sl@0
  9587
sl@0
  9588
	* win/tclWinInit.c (TclpFindVariable): CONSTification touch-up
sl@0
  9589
sl@0
  9590
	* win/tclWinReg.c (OpenSubKey): corrected bug introduced in
sl@0
  9591
	CONSTification that dropped pointer reference.
sl@0
  9592
sl@0
  9593
	* ChangeLog.2000 (new file):
sl@0
  9594
	* ChangeLog: broke changes from 2000 into ChangeLog.2000 to reduce
sl@0
  9595
	size of the main ChangeLog.
sl@0
  9596
sl@0
  9597
2002-01-28  David Gravereaux <davygrvy@pobox.com>
sl@0
  9598
sl@0
  9599
	* generic/tclPlatDecls.h: Added preprocessor logic to force a typedef
sl@0
  9600
	of TCHAR when __STDC__ is defined when using the uncommon -Za compiler
sl@0
  9601
	switch with the microsoft compiler.
sl@0
  9602
sl@0
  9603
2002-01-27  Don Porter <dgp@users.sourceforge.net>
sl@0
  9604
sl@0
  9605
	* doc/package.n: Documented global namespace context for script
sl@0
  9606
	evaluation by [package require].
sl@0
  9607
sl@0
  9608
2002-01-27  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  9609
sl@0
  9610
	* generic/tclInt.decls:
sl@0
  9611
	* generic/tclIntPlatDecls.h:
sl@0
  9612
	* mac/tclMacChan.c:
sl@0
  9613
	* mac/tclMacFCmd.c:
sl@0
  9614
	* mac/tclMacFile.c:
sl@0
  9615
	* mac/tclMacInit.c:
sl@0
  9616
	* mac/tclMacLoad.c:
sl@0
  9617
	* mac/tclMacResource.c:
sl@0
  9618
	* mac/tclMacSock.c: TIP 27 CONSTification induced changes
sl@0
  9619
sl@0
  9620
	* tests/event.test:
sl@0
  9621
	* tests/main.test: added catches/constraints to test that use features
sl@0
  9622
	that don't exist on the mac.
sl@0
  9623
sl@0
  9624
2002-01-25  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  9625
sl@0
  9626
	Make -eofchar and -translation options read only for server sockets.
sl@0
  9627
	[Bug 496733]
sl@0
  9628
sl@0
  9629
	* generic/tclIO.c (Tcl_GetChannelOption, Tcl_SetChannelOption):
sl@0
  9630
	Instead of returning nothing for the -translation option on a server
sl@0
  9631
	socket, always return "auto". Return the empty string enclosed in
sl@0
  9632
	quotes for the -eofchar option on a server socket. Fixup -eofchar
sl@0
  9633
	usage message so that it matches the implementation.
sl@0
  9634
	* tests/io.test: Add -eofchar tests and -translation tests to ensure
sl@0
  9635
	options are read only on server sockets.
sl@0
  9636
	* tests/socket.test: Update tests to account for -eofchar and
sl@0
  9637
	-translation option changes.
sl@0
  9638
sl@0
  9639
2002-01-25  Don Porter <dgp@users.sourceforge.net>
sl@0
  9640
sl@0
  9641
	* compat/strstr.c (strstr):
sl@0
  9642
	* generic/tclCmdAH.c (Tcl_FormatObjCmd):
sl@0
  9643
	* generic/tclCmdIL.c (InfoNameOfExecutableCmd):
sl@0
  9644
	* generic/tclEnv.c (ReplaceString):
sl@0
  9645
	* generic/tclFileName.c (ExtractWinRoot):
sl@0
  9646
	* generic/tclIO.c (FlushChannel,Tcl_BadChannelOption):
sl@0
  9647
	* generic/tclStringObj.c (AppendUnicodeToUtfRep):
sl@0
  9648
	* generic/tclThreadTest.c (TclCreateThread):
sl@0
  9649
	* generic/tclUtf.c (Tcl_UtfPrev):
sl@0
  9650
	* mac/tclMacFCmd.c (TclpObjListVolumes):
sl@0
  9651
	* mac/tclMacResource.c (TclMacRegisterResourceFork)
sl@0
  9652
	(BuildResourceForkList):
sl@0
  9653
	* win/tclWinInit.c (AppendEnvironment): Sought out and eliminated
sl@0
  9654
	instances of CONST-casting that are no longer needed after the
sl@0
  9655
	TIP 27 effort.
sl@0
  9656
sl@0
  9657
	* Following is [Patch 501006]
sl@0
  9658
	* generic/tclInt.decls (Tcl_AddInterpResolvers, Tcl_Export)
sl@0
  9659
	(Tcl_FindNamespace, Tcl_GetInterpResolvers, Tcl_ForgetImport)
sl@0
  9660
	(Tcl_Import, Tcl_RemoveInterpResolvers):
sl@0
  9661
	* generic/tclNamesp.c (Tcl_Export, Tcl_Import, Tcl_ForgetImport)
sl@0
  9662
	(Tcl_FindNamespace):
sl@0
  9663
	* generic/tclResolve.c (Tcl_AddInterpResolvers,Tcl_GetInterpResolvers,
sl@0
  9664
	(Tcl_RemoveInterpResolvers): Updated APIs in generic/tclResolve.c and
sl@0
  9665
	generic/tclNamesp.c according to the guidelines of TIP 27.
sl@0
  9666
	* generic/tclIntDecls.h: make genstubs
sl@0
  9667
sl@0
  9668
	* Following is [Patch 505630]
sl@0
  9669
	* doc/AddErrorInfo.3:
sl@0
  9670
	* generic/tcl.decls (Tcl_LogCommandInfo):
sl@0
  9671
	* generic/tclBasic.c (Tcl_LogCommandInfo): Updated interfaces
sl@0
  9672
	of generic/tclBasic.cc according to TIP 27.
sl@0
  9673
	* generic/tclDecls.h: make genstubs
sl@0
  9674
sl@0
  9675
	* Following is [Patch 506818]
sl@0
  9676
	* doc/Hash.3:
sl@0
  9677
	* generic/tcl.decls (Tcl_HashStats):
sl@0
  9678
	* generic/tclHash.c (Tcl_HashStats):  Updated APIs of generic/tclHash.c
sl@0
  9679
	according to guidelines of TIP 27.
sl@0
  9680
	* generic/tclDecls.h: make genstubs
sl@0
  9681
	* generic/tclVar.c (Tcl_ArrayObjCmd): Updated callers.
sl@0
  9682
sl@0
  9683
	* Following is [Patch 506807]
sl@0
  9684
	* doc/ObjectType.3:
sl@0
  9685
	* generic/tcl.decls (Tcl_GetObjType):
sl@0
  9686
	* generic/tclObj.c (Tcl_GetObjType): Updated APIs of generic/tclObj.c
sl@0
  9687
	according to guidelines of TIP 27.
sl@0
  9688
	* generic/tclDecls.h: make genstubs
sl@0
  9689
sl@0
  9690
	* Following is [Patch 507304]
sl@0
  9691
	* doc/Encoding.3:
sl@0
  9692
	* generic/tcl.decls (Tcl_WinUtfToTChar,Tcl_WinTCharToUtf):
sl@0
  9693
	* win/tclWin32Dll.c (Tcl_WinUtfToTChar,Tcl_WinTCharToUtf):
sl@0
  9694
	Updated interfaces in win/tclWin32Dll.c according to TIP 27.
sl@0
  9695
	* generic/tclPlatDecls.h: make genstubs
sl@0
  9696
	* generic/tclIOUtil.c (TclpNativeToNormalized):
sl@0
  9697
	* win/tclWinFCmd.c (TclpObjNormalizePath):
sl@0
  9698
	* win/tclWinFile.c (TclpFindExecutable,TclpMatchInDirectory)
sl@0
  9699
	(NativeIsExec,NativeStat):
sl@0
  9700
	* win/tclWinLoad.c (TclpLoadFile):
sl@0
  9701
	* win/tclWinPipe.c (TclpOpenFile,ApplicationType):
sl@0
  9702
	* win/tclWinReg.c (regConnectRegistryProc,RecursiveDeleteKey,DeleteKey)
sl@0
  9703
	(GetKeyNames,GetType,GetValue,OpenSubKey,SetValue):
sl@0
  9704
	* win/tclWinSerial.c (SerialSetOptionProc): Update callers.
sl@0
  9705
sl@0
  9706
	* Following is [Patch 505072]
sl@0
  9707
	* doc/Concat.3:
sl@0
  9708
	* doc/Encoding.3:
sl@0
  9709
	* doc/Filesystem.3:
sl@0
  9710
	* doc/Macintosh.3:
sl@0
  9711
	* doc/OpenFileChnl.3
sl@0
  9712
	* doc/SetResult.3:
sl@0
  9713
	* doc/SetVar.3:
sl@0
  9714
	* doc/SplitList.3:
sl@0
  9715
	* doc/SplitPath.3:
sl@0
  9716
	* doc/Translate.3:
sl@0
  9717
	* generic/tcl.h (Tcl_FSMatchInDirectoryProc):
sl@0
  9718
	* generic/tclInt.h (TclpMatchInDirectory):
sl@0
  9719
	* generic/tcl.decls (Tcl_Concat,Tcl_GetStringResult,Tcl_GetVar,
sl@0
  9720
	(Tcl_GetVar2,Tcl_JoinPath,Tcl_Merge,Tcl_OpenCommandChannel,Tcl_SetVar)
sl@0
  9721
	(Tcl_SetVar2,Tcl_SplitList,Tcl_SplitPath,Tcl_TranslateFileName)
sl@0
  9722
	(Tcl_ExternalToUtfDString,Tcl_GetEncodingName,Tcl_UtfToExternalDString)
sl@0
  9723
	(Tcl_GetDefaultEncodingDir,Tcl_SetDefaultEncodingDir)
sl@0
  9724
	(Tcl_FSMatchInDirectory,Tcl_MacEvalResource,Tcl_MacFindResource):
sl@0
  9725
	* generic/tclInt.decls (TclCreatePipeline,TclGetEnv,TclpGetCwd,
sl@0
  9726
	(TclpCreateProcess):
sl@0
  9727
	* mac/tclMacFile.c (TclpGetCwd):
sl@0
  9728
	* generic/tclEncoding.c (Tcl_GetDefaultEncodingDir)
sl@0
  9729
	(Tcl_SetDefaultEncodingDir,Tcl_GetEncodingName)
sl@0
  9730
	(Tcl_ExternalToUtfDString,Tcl_UtfToExternalDString, OpenEncodingFile)
sl@0
  9731
	(LoadEscapeEncoding):
sl@0
  9732
	* generic/tclFileName.c (DoTildeSubst,Tcl_JoinPath,Tcl_SplitPath,
sl@0
  9733
	(Tcl_TranslateFileName):
sl@0
  9734
	* generic/tclIOUtil.c (Tcl_FSMatchInDirectory):
sl@0
  9735
	* generic/tclPipe.c (FileForRedirect,TclCreatePipeline)
sl@0
  9736
	(Tcl_OpenCommandChannel):
sl@0
  9737
	* generic/tclResult.c (Tcl_GetStringResult):
sl@0
  9738
	* generic/tclUtil.c (Tcl_Concat,Tcl_SplitList,Tcl_Merge):
sl@0
  9739
	* generic/tclVar.c (Tcl_GetVar,Tcl_GetVar2,Tcl_SetVar,Tcl_SetVar2):
sl@0
  9740
	* mac/tclMacResource.c (Tcl_MacEvalResource,Tcl_MacFindResource):
sl@0
  9741
	Updated interfaces of generic/tclEncoding, generic/tclFilename.c,
sl@0
  9742
	generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c,
sl@0
  9743
	generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according
sl@0
  9744
	to TIP 27.  Tcl_TranslateFileName rewritten as wrapper around
sl@0
  9745
	VFS-aware version.
sl@0
  9746
	***POTENTIAL INCOMPATIBILITY***
sl@0
  9747
	Includes source incompatibilities: argv arguments of Tcl_Concat,
sl@0
  9748
	Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of
sl@0
  9749
	Tcl_SplitList and Tcl_SplitPath.
sl@0
  9750
	* generic/tclDecls.h:
sl@0
  9751
	* generic/tclIntDecls.h: make genstubs
sl@0
  9752
sl@0
  9753
	* generic/tclCkalloc.c (MemoryCmd):
sl@0
  9754
	* generic/tclClock.c (FormatClock):
sl@0
  9755
	* generic/tclCmdAH.c (Tcl_CaseObjCmd,Tcl_EncodingObjCmd,Tcl_FileObjCmd):
sl@0
  9756
	* generic/tclCmdIL.c (InfoLibraryCmd,InfoPatchLevelCmd,
sl@0
  9757
	(InfoTclVersionCmd):
sl@0
  9758
	* generic/tclCompCmds.c (TclCompileForeachCmd):
sl@0
  9759
	* generic/tclCompCmds.h (TclCompileForeachCmd):
sl@0
  9760
	* generic/tclCompile.c (TclFindCompiledLocal):
sl@0
  9761
	* generic/tclEnv.c (TclSetupEnv,TclSetEnv,Tcl_PutEnv,TclGetEnv,
sl@0
  9762
	(EnvTraceProc):
sl@0
  9763
	* generic/tclEvent.c (Tcl_BackgroundError):
sl@0
  9764
	* generic/tclIO.c (Tcl_BadChannelOption,Tcl_SetChannelOption):
sl@0
  9765
	* generic/tclIOCmd.c (Tcl_ExecObjCmd,Tcl_OpenObjCmd):
sl@0
  9766
	* generic/tclIOSock.c (TclSockGetPort):
sl@0
  9767
	* generic/tclIOUtil.c (SetFsPathFromAny):
sl@0
  9768
	* generic/tclLink.c (LinkTraceProc):
sl@0
  9769
	* generic/tclMain.c (Tcl_Main):
sl@0
  9770
	* generic/tclNamesp.c (TclTeardownNamespace):
sl@0
  9771
	* generic/tclProc.c (TclCreateProc):
sl@0
  9772
	* generic/tclTest.c (TestregexpObjCmd,TesttranslatefilenameCmd,
sl@0
  9773
	(TestchmodCmd,GetTimesCmd,TestsetCmd,TestOpenFileChannelProc1,
sl@0
  9774
	(TestOpenFileChannelProc2,TestOpenFileChannelProc3,AsyncHandlerProc,
sl@0
  9775
	(TestpanicCmd):
sl@0
  9776
	* generic/tclThreadTest.c (ThreadErrorProc,ThreadEventProc):
sl@0
  9777
	* generic/tclUtil.c (TclPrecTraceProc):
sl@0
  9778
	* mac/tclMacFCmd.c (GetFileSpecs):
sl@0
  9779
	* mac/tclMacFile.c (TclpMatchInDirectory):
sl@0
  9780
	* mac/tclMacInit.c (TclpInitLibraryPath,Tcl_SourceRCFile):
sl@0
  9781
	* mac/tclMacOSA.c (tclOSAStore,tclOSALoad):
sl@0
  9782
	* mac/tclMacResource.c (Tcl_MacEvalResource):
sl@0
  9783
	* unix/tclUnixFCmd.c (TclpObjNormalizePath):
sl@0
  9784
	* unix/tclUnixFile.c (TclpMatchInDirectory,TclpGetUserHome,TclpGetCwd,
sl@0
  9785
	(TclpReadLink):
sl@0
  9786
	* unix/tclUnixInit.c (TclpInitLibraryPath,TclpSetVariables,
sl@0
  9787
	(Tcl_SourceRCFile):
sl@0
  9788
	* unix/tclUnixPipe.c (TclpOpenFile,TclpCreateTempFile,
sl@0
  9789
	(TclpCreateProcess):
sl@0
  9790
	* win/tclWinFile.c (TclpGetCwd,TclpMatchInDirectory):
sl@0
  9791
	* win/tclWinInit.c (TclpInitLibraryPath,Tcl_SourceRCFile,
sl@0
  9792
	(TclpSetVariables):
sl@0
  9793
	* win/tclWinPipe.c (TclpCreateProcess): Updated callers.
sl@0
  9794
sl@0
  9795
2002-01-24  Don Porter <dgp@users.sourceforge.net>
sl@0
  9796
sl@0
  9797
	* generic/tclIOUtil.c (SetFsPathFromAny):  Corrected tilde-substitution
sl@0
  9798
	of pathnames where > 1 separator follows the ~. [Bug 504950]
sl@0
  9799
sl@0
  9800
2002-01-24  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  9801
sl@0
  9802
	* library/http/pkgIndex.tcl:
sl@0
  9803
	* library/http/http.tcl: don't add port in default case to handle
sl@0
  9804
	broken servers. http bumped to 2.4.1 [Bug 504508]
sl@0
  9805
sl@0
  9806
2002-01-23  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  9807
sl@0
  9808
	* unix/mkLinks: Regenerated.
sl@0
  9809
	* doc/CrtChannel.3:
sl@0
  9810
	* doc/ChnlStack.3: Moved documentation for 'Tcl_GetTopChannel' from
sl@0
  9811
	'CrtChannel' to 'ChnlStack'. Added documentation of
sl@0
  9812
	'Tcl_GetStackedChannel'. [Bug 506147] reported by Mark Patton
sl@0
  9813
	<msp@users.sourceforge.net>
sl@0
  9814
sl@0
  9815
2002-01-23  Don Porter <dgp@users.sourceforge.net>
sl@0
  9816
sl@0
  9817
	* win/tclWinFile.c (NativeAccess,NativeStat,NativeIsExec,
sl@0
  9818
	(TclpGetUserHome):
sl@0
  9819
	* win/tclWinPort.h (TclWinSerialReopen):
sl@0
  9820
	* win/tclWinSerial.c (TclWinSerialReopen):
sl@0
  9821
	* win/tclWinSock.c (Tcl_OpenTcpServer): Corrections to earlier TIP
sl@0
  9822
	#27 changes. Thanks to Andreas Kupries for the feedback.
sl@0
  9823
	* generic/tclPlatDecls.h: make genstubs
sl@0
  9824
sl@0
  9825
	* doc/GetHostName.3:
sl@0
  9826
	* doc/GetOpnFl.3:
sl@0
  9827
	* doc/OpenTcp.3:
sl@0
  9828
	* tcl.decls (Tcl_GetHostName,Tcl_GetOpenFile,Tcl_OpenTcpClient,
sl@0
  9829
	(Tcl_OpenTclServer):
sl@0
  9830
	* mac/tclMacSock.c (CreateSocket,Tcl_OpenTcpClient,Tcl_OpenTcpServer,
sl@0
  9831
	(Tcl_GetHostName,GetHostFromString):
sl@0
  9832
	* unix/tclUnixChan.c (CreateSocket,CreateSocketAddress,
sl@0
  9833
	(Tcl_OpenTcpClient,Tcl_OpenTcpServer,Tcl_GetOpenFile):
sl@0
  9834
	* unix/tclUnixSock.c (Tcl_GetHostName):
sl@0
  9835
	* win/tclWinSock.c (CreateSocket,CreateSocketAddress,
sl@0
  9836
	(Tcl_OpenTcpClient,Tcl_OpenTcpServer,Tcl_GetHostName):
sl@0
  9837
	Updated socket interfaces according to TIP 27.
sl@0
  9838
	* generic/tclCmdIL.c (InfoHostnameCmd): Updated callers.
sl@0
  9839
	* generic/tclDecls.h: make genstubs
sl@0
  9840
sl@0
  9841
2002-01-21  David Gravereaux <davygrvy@pobox.com>
sl@0
  9842
sl@0
  9843
	* generic/tclLoadNone.c: TclpLoadFile() didn't match proto of typedef
sl@0
  9844
	Tcl_FSLoadFileProc. OK'd by vincentdarley. [Patch 502488]
sl@0
  9845
sl@0
  9846
2002-01-21  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  9847
sl@0
  9848
	* generic/tclIO.c (WriteChars): Fix for [Bug 506297], reported by
sl@0
  9849
	Martin Forssen <ruric@users.sourceforge.net>. The encoding chosen in
sl@0
  9850
	the script exposing the bug writes out three intro characters when
sl@0
  9851
	TCL_ENCODING_START is set, but does not consume any input as
sl@0
  9852
	TCL_ENCODING_END is cleared. As some output was generated the
sl@0
  9853
	enclosing loop calls UtfToExternal again, again with START set. Three
sl@0
  9854
	more characters in the out and still no use of input ... To break this
sl@0
  9855
	infinite loop we remove TCL_ENCODING_START from the set of flags after
sl@0
  9856
	the first call (no condition is required, the later calls remove an
sl@0
  9857
	unset flag, which is a no-op). This causes the subsequent calls to
sl@0
  9858
	UtfToExternal to consume and convert the actual input.
sl@0
  9859
sl@0
  9860
2002-01-21  Don Porter <dgp@users.sourceforge.net>
sl@0
  9861
sl@0
  9862
	* generic/tclTest.c: Converted declarations of TestReport file system
sl@0
  9863
	to more portable form. [Bug 501417].
sl@0
  9864
sl@0
  9865
	* generic/tcl.decls (Tcl_TraceCommand,Tcl_UntraceCommand,
sl@0
  9866
	(Tcl_CommandTraceInfo):
sl@0
  9867
	* generic/tclCmdMZ.c (Tcl_TraceCommand,Tcl_UntraceCommand,
sl@0
  9868
	(Tcl_CommandTraceInfo): Updated APIs in generic/tclCmdMZ.c
sl@0
  9869
	according to the guidelines of TIP 27.
sl@0
  9870
	* generic/tclDecls.h: make genstubs
sl@0
  9871
sl@0
  9872
2002-01-18  Don Porter <dgp@users.sourceforge.net>
sl@0
  9873
sl@0
  9874
	* win/tclWinChan.c:
sl@0
  9875
	* win/tclWinFCmd.c:
sl@0
  9876
	* win/tclWinFile.c: Overlooked callers of Tcl_FSGetNativePath
sl@0
  9877
sl@0
  9878
	* win/tclWinDde.c:
sl@0
  9879
	* win/tclWinReg.c: Overlooked callers of Tcl_GetIndexFromObj
sl@0
  9880
sl@0
  9881
2002-01-18  Daniel Steffen  <das@users.sourceforge.net>
sl@0
  9882
sl@0
  9883
	* generic/tclThreadTest.c:
sl@0
  9884
	* mac/tclMacChan.c:
sl@0
  9885
	* mac/tclMacFCmd.c:
sl@0
  9886
	* mac/tclMacFile.c:
sl@0
  9887
	* mac/tclMacLoad.c:
sl@0
  9888
	* mac/tclMacResource.c: TIP 27 CONSTification broke the mac build in a
sl@0
  9889
	number of places.
sl@0
  9890
sl@0
  9891
2002-01-17  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  9892
sl@0
  9893
	* generic/tclIOCmd.c (Tcl_GetsObjCmd): Fixed [Bug 504642] as reported
sl@0
  9894
	by Brian Griffin <bgriffin@users.sourceforge.net>, using his patch.
sl@0
  9895
	Before the patch the generic I/O layer held an unannounced reference
sl@0
  9896
	to the interp result to store the read line into. This unfortunately
sl@0
  9897
	has disastrous results if the channel driver executes a Tcl script to
sl@0
  9898
	perform its operation, this freeing the interp result. In that case we
sl@0
  9899
	are dereferencing essentially a dangling reference. It is not truly
sl@0
  9900
	dangling because the object is in the free list, but this only causes
sl@0
  9901
	us to smash the free list and have the error occur later somewhere
sl@0
  9902
	else. The patch simply creates a new object for the line and later
sl@0
  9903
	sets it into the interp result when we are done with reading.
sl@0
  9904
sl@0
  9905
2002-01-16  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  9906
sl@0
  9907
	* unix/tcl.m4 (SC_LOAD_TCLCONFIG):
sl@0
  9908
	* win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst TCL_DBGX into
sl@0
  9909
	TCL_STUB_LIB_FILE and TCL_STUB_LIB_FLAG variables so that an extension
sl@0
  9910
	does not need to subst TCL_DBGX into its makefile. [Tk Bug 504356]
sl@0
  9911
sl@0
  9912
2002-01-16  Don Porter <dgp@users.sourceforge.net>
sl@0
  9913
sl@0
  9914
	* doc/FileSystem.3:
sl@0
  9915
	* doc/GetCwd.3:
sl@0
  9916
	* doc/GetIndex.3:
sl@0
  9917
	* generic/tcl.decls (Tcl_GetIndexFromObj, Tcl_GetIndexFromObjStruct,
sl@0
  9918
	(Tcl_GetCwd, Tcl_FSFileAttrStrings, Tcl_FSGetNativePath,
sl@0
  9919
	(Tcl_FSGetTranslatedStringPath):
sl@0
  9920
	* generic/tcl.h (Tcl_FSFileAttrStringsProc):
sl@0
  9921
	* generic/tclFCmd.c (TclFileAttrsCmd):
sl@0
  9922
	* generic/tclIOUtil.c (Tcl_GetCwd,NativeFileAttrStrings,
sl@0
  9923
	(Tcl_FSFileAttrStrings,Tcl_FSGetTranslatedStringPath,
sl@0
  9924
	(Tcl_FSGetNativePath):
sl@0
  9925
	* generic/tclIndexObj.c (Tcl_GetIndexFromObj,Tcl_GetIndexFromObjStruct):
sl@0
  9926
	More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that were
sl@0
  9927
	overlooked before. [Patch 504671]
sl@0
  9928
	***POTENTIAL INCOMPATIBILITY***
sl@0
  9929
	Includes a source incompatibility in the tablePtr arguments of the
sl@0
  9930
	Tcl_GetIndexFromObj* routines.
sl@0
  9931
	* generic/tclDecls.h: make genstubs
sl@0
  9932
sl@0
  9933
	* generic/tclBinary.c (Tcl_BinaryObjCmd):
sl@0
  9934
	* generic/tclClock.c (Tcl_ClockObjCmd):
sl@0
  9935
	* generic/tclCmdAH.c (Tcl_EncodingObjCmd, Tcl_FileObjCmd):
sl@0
  9936
	* generic/tclCmdIL.c (Tcl_InfoObjCmd,Tcl_LsearchObjCmd,Tcl_LsortObjCmd):
sl@0
  9937
	* generic/tclCmdMZ.c (Tcl_TraceObjCmd,Tcl_RegexpObjCmd,Tcl_RegsubObjCmd,
sl@0
  9938
	(Tcl_StringObjCmd,Tcl_SubstObjCmd,Tcl_SwitchObjCmd,
sl@0
  9939
	(TclTraceCommandObjCmd,TclTraceVariableObjCmd):
sl@0
  9940
	* generic/tclCompCmds.c (TclCompileStringCmd):
sl@0
  9941
	* generic/tclEvent.c (Tcl_UpdateObjCmd):
sl@0
  9942
	* generic/tclFileName.c (Tcl_GlobObjCmd):
sl@0
  9943
	* generic/tclIO.c (Tcl_FileEventObjCmd):
sl@0
  9944
	* generic/tclIOCmd.c (Tcl_SeekObjCmd,Tcl_ExecObjCmd,Tcl_SocketObjCmd,
sl@0
  9945
	(Tcl_FcopyObjCmd):
sl@0
  9946
	* generic/tclInterp.c (Tcl_InterpObjCmd,SlaveObjCmd):
sl@0
  9947
	* generic/tclNamesp.c (Tcl_NamespaceObjCmd):
sl@0
  9948
	* generic/tclPkg.c (Tcl_PackageObjCmd):
sl@0
  9949
	* generic/tclTest.c (Tcltest_Init,TestencodingObjCmd,TestgetplatformCmd,
sl@0
  9950
	(TestlocaleCmd,TestregexpObjCmd,TestsaveresultCmd,
sl@0
  9951
	(TestGetIndexFromObjStructObjCmd,TestReportFileAttrStrings):
sl@0
  9952
	* generic/tclTestObj.c (TestindexObjCmd,TeststringObjCmd):
sl@0
  9953
	* generic/tclTimer.c (Tcl_AfterObjCmd):
sl@0
  9954
	* generic/tclVar.c (Tcl_ArrayObjCmd):
sl@0
  9955
	* mac/tclMacFCmd.c (SetFileFinderAttributes):
sl@0
  9956
	* unix/tclUnixChan.c (TclpOpenFileChannel):
sl@0
  9957
	* unix/tclUnixFCmd.c (tclpFileAttrStrings):
sl@0
  9958
	* unix/tclUnixFile.c (TclpObjAccess,TclpObjChdir,TclpObjStat,
sl@0
  9959
	(TclpObjLstat):
sl@0
  9960
	* win/tclWinFCmd.c (tclpFileAttrStrings): Updated callers.
sl@0
  9961
sl@0
  9962
	* doc/RegExp.3:
sl@0
  9963
	* doc/Utf.3:
sl@0
  9964
	* generic/tcl.decls:
sl@0
  9965
	* generic/tclInt.decls:
sl@0
  9966
	* generic/tclRegexp.c:
sl@0
  9967
	* generic/tclUtf.c:  Updated APIs in generic/tclUtf.c and
sl@0
  9968
	generic/tclRegexp.c according to the guidelines of TIP 27.
sl@0
  9969
	[Patch 471509]
sl@0
  9970
sl@0
  9971
	* generic/regc_locale.c (element,cclass):
sl@0
  9972
	* generic/tclCmdMZ.c (Tcl_StringObjCmd):
sl@0
  9973
	* generic/tclFileName.c (TclpGetNativePathType,SplitMacPath):
sl@0
  9974
	* generic/tclIO.c (ReadChars):
sl@0
  9975
	* mac/tclMacLoad.c (TclpLoadFile):
sl@0
  9976
	* win/tclWinFile.c (TclpGetUserHome): Updated callers.
sl@0
  9977
sl@0
  9978
	* generic/tclDecls.h:
sl@0
  9979
	* generic/tclIntDecls.h: make genstubs
sl@0
  9980
sl@0
  9981
	* doc/ParseCmd.3 (Tcl_ParseVar):
sl@0
  9982
	* generic/tcl.decls (Tcl_ParseVar):
sl@0
  9983
	* generic/tclParse.c (Tcl_ParseVar):
sl@0
  9984
	* generic/tclTest.c (TestparsevarObjCmd): Updated APIs in
sl@0
  9985
	generic/tclParse.c according to the guidelines of TIP 27. Updated
sl@0
  9986
	callers. [Patch 501046]
sl@0
  9987
	* generic/tclDecls.h: make genstubs
sl@0
  9988
sl@0
  9989
	* generic/tcl.decls (Tcl_RecordAndEval):
sl@0
  9990
	* generic/tclDecls.h: make genstubs
sl@0
  9991
	* generic/tclHistory.c (Tcl_RecordAndEval): Updated APIs in
sl@0
  9992
	generic/tclHistory.c according to the guidelines of TIP 27.
sl@0
  9993
	[Patch 504091]
sl@0
  9994
sl@0
  9995
	* doc/CrtSlave.3:
sl@0
  9996
	* generic/tcl.decls (Tcl_CreateAlias, Tcl_CreateAliasObj,
sl@0
  9997
	(Tcl_CreateSlave, Tcl_GetAlias, Tcl_GetAliasObj, Tcl_GetSlave):
sl@0
  9998
	* generic/tclInterp.c (Tcl_CreateAlias, Tcl_CreateAliasObj,
sl@0
  9999
	(Tcl_CreateSlave, Tcl_GetAlias, Tcl_GetAliasObj, Tcl_GetSlave):
sl@0
 10000
	Updated APIs in the file generic/tclInterp.c according to the
sl@0
 10001
	guidelines of TIP 27. [Patch 501371]
sl@0
 10002
	***POTENTIAL INCOMPATIBILITY***
sl@0
 10003
	Includes a source incompatibility in the targetCmdPtr arguments of
sl@0
 10004
	the Tcl_GetAlias* routines.
sl@0
 10005
sl@0
 10006
	* generic/tclDecls.h: make genstubs
sl@0
 10007
sl@0
 10008
2002-01-15  Don Porter <dgp@users.sourceforge.net>
sl@0
 10009
sl@0
 10010
	* doc/SetErrno.3 (Tcl_ErrnoMsg): Corrected documentation for
sl@0
 10011
	Tcl_ErrnoMsg; it takes an integer argument. Thanks to Georgios
sl@0
 10012
	Petasis. [Bug 468183]
sl@0
 10013
sl@0
 10014
	* doc/AddErrInfo.3 (Tcl_PosixError):
sl@0
 10015
	* doc/Eval.3 (Tcl_EvalFile):
sl@0
 10016
	* doc/FileSystem.c (Tcl_FSOpenFileChannel,Tcl_FSOpenFileChannelProc):
sl@0
 10017
	* doc/OpenFileChnl.3 (Tcl_OpenFileChannel):
sl@0
 10018
	* doc/SetErrno.3 (Tcl_ErrnoId,Tcl_ErrnoMsg):
sl@0
 10019
	* doc/Signal.3 (Tcl_SignalId,Tcl_SignalMsg):
sl@0
 10020
	* generic/tcl.decls (Tcl_ErrnoId,TclErrnoMsg,Tcl_EvalFile,
sl@0
 10021
	(Tcl_OpenFileChannel,Tcl_PosixError,Tcl_SignalId,Tcl_SignalMsg,
sl@0
 10022
	(Tcl_FSOpenFileChannel):
sl@0
 10023
	* generic/tcl.h (Tcl_FSOpenFileChannelProc):
sl@0
 10024
	* generic/tclIO.c (FlushChannel):
sl@0
 10025
	* generic/tclIOUtil.c (Tcl_OpenFileChannel,Tcl_EvalFile,TclGetOpenMode,
sl@0
 10026
	(Tcl_PosixError,Tcl_FSOpenFileChannel):
sl@0
 10027
	* generic/tclInt.decls (TclGetOpenMode):
sl@0
 10028
	* generic/tclInt.h (TclOpenFileChannelProc_,TclGetOpenMode,
sl@0
 10029
	(TclpOpenFileChannel):
sl@0
 10030
	* generic/tclPipe.c (TclCleanupChildren):
sl@0
 10031
	* generic/tclPosixStr.c (Tcl_ErrnoId,Tcl_ErrnoMsg,Tcl_SignalId,
sl@0
 10032
	(Tcl_SignalMsg):
sl@0
 10033
	* generic.tclTest.c (PretendTclpOpenFileChannel,
sl@0
 10034
	(TestOpenFileChannelProc1,TestOpenFileChannelProc2,
sl@0
 10035
	(TestOpenFileChannelProc3,TestReportOpenFileChannel):
sl@0
 10036
	* mac/tclMacChan.c (TclpOpenFileChannel):
sl@0
 10037
	* unix/tclUnixChan.c (TclpOpenFileChannel):
sl@0
 10038
	* win/tclWinChan.c (TclpOpenFileChannel): Updated APIs in
sl@0
 10039
	generic/tclIOUtil.c and generic/tclPosixStr.c according to the
sl@0
 10040
	guidelines of TIP 27. Updated callers. [Patch 499196] 
sl@0
 10041
sl@0
 10042
	* generic/tclDecls.h:
sl@0
 10043
	* generic/tclIntDecls.h: make genstubs
sl@0
 10044
sl@0
 10045
	* doc/CrtChannel.3:
sl@0
 10046
	* doc/OpenFileChnl.3:
sl@0
 10047
	* generic/tcl.decls:
sl@0
 10048
	* generic/tclIO.h:
sl@0
 10049
	* generic/tclIO.c (DoWrite, Tcl_RegisterChannel, Tcl_GetChannel,
sl@0
 10050
	(Tcl_CreateChannel, Tcl_GetChannelName, CloseChannel, Tcl_Write,
sl@0
 10051
	(Tcl_WriteRaw, Tcl_Ungets, Tcl_BadChannelOption, Tcl_GetChannelOption,
sl@0
 10052
	(Tcl_SetChannelOption, Tcl_GetChannelNamesEx, Tcl_ChannelName):
sl@0
 10053
	Updated APIs in the file generic/tclIO.c according to the guidelines
sl@0
 10054
	of TIP 27. Several minor documentation corrections as well. [Patch
sl@0
 10055
	503565]
sl@0
 10056
	* generic/tclDecls.h: make genstubs
sl@0
 10057
sl@0
 10058
	* generic/tcl.h (Tcl_DriverOutputProc, Tcl_DriverGetOptionProc,
sl@0
 10059
	(Tcl_DriverSetOptionProc):
sl@0
 10060
	* generic/tclIOGT.c (TransformOutputProc, TransformGetOptionProc,
sl@0
 10061
	(TransformSetOptionProc):
sl@0
 10062
	* mac/tclMacChan.c (FileOutput, StdIOOutput):
sl@0
 10063
	* man/tclMacSock.c (TcpGetOptionProc, TcpOutput):
sl@0
 10064
	* unix/tclUnixChan.c (FileOutputProc, TcpGetOptionProc, TcpOutputProc,
sl@0
 10065
	(TtyGetOptionProc, TtySetOptionProc):
sl@0
 10066
	* unix/tclUnixPipe.c (PipeOuputProc):
sl@0
 10067
	* win/tclWinChan.c (FileOutputProc):
sl@0
 10068
	* win/tclWinConsole.c (ConsleOutputProc):
sl@0
 10069
	* win/tclWinPipe.c (PipeOuputProc):
sl@0
 10070
	* win/tclWinSerial.c (SerialOutputProc, SerialGetOptionProc,
sl@0
 10071
	(SerialSetOptionProc):
sl@0
 10072
	* win/tclWinSock.c (TcpGetOptionProc, TcpOutput): Updated channel
sl@0
 10073
	driver interface according to the guidelines of TIP 27. See also [Bug
sl@0
 10074
	500348].
sl@0
 10075
sl@0
 10076
	* doc/CrtChannel.3:
sl@0
 10077
	* generic/tcl.h:
sl@0
 10078
	* generic/tclIO.c:
sl@0
 10079
	* generic/tclIO.h:
sl@0
 10080
	* generic/tclInt.h:
sl@0
 10081
	* tools/checkLibraryDoc.tcl:
sl@0
 10082
	Moved Tcl_EolTranslation enum declaration from generic/tcl.h to
sl@0
 10083
	generic/tclInt.h (renamed to TclEolTranslation). It is not used
sl@0
 10084
	anywhere in Tcl's public interface.
sl@0
 10085
sl@0
 10086
2002-01-14  Don Porter <dgp@users.sourceforge.net>
sl@0
 10087
sl@0
 10088
	* doc/GetIndex.3:
sl@0
 10089
	* doc/WrongNumArgs.3:
sl@0
 10090
	* generic/tcl.decls (Tcl_GetIndexFromObj, Tcl_GetIndexFromObjStruct,
sl@0
 10091
	(Tcl_WrongNumArgs):
sl@0
 10092
	* generic/tclIndexObj.c (Tcl_GetIndexFromObj, Tcl_GetIndexFromObjStruct,
sl@0
 10093
	(Tcl_WrongNumArgs): Updated APIs in the file generic/tclIndexObj.c
sl@0
 10094
	according to the guidelines of TIP 27. [Patch 501491]
sl@0
 10095
	* generic/tclDecls.h: make genstubs
sl@0
 10096
sl@0
 10097
2002-01-11  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
 10098
sl@0
 10099
	* unix/configure: Regen.
sl@0
 10100
	* unix/configure.in:
sl@0
 10101
	* win/configure: Regen.
sl@0
 10102
	* win/configure.in: Use ${libdir} instead of ${exec_prefix}/lib
sl@0
 10103
	to properly support the --libdir option to configure. [Bug 489370]
sl@0
 10104
sl@0
 10105
2002-01-11  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
 10106
sl@0
 10107
	* win/tclWinSerial.c (SerialSetOptionProc): Applied patch for [Bug
sl@0
 10108
	500348] supplied by Rolf Schroedter <schroedter@users.sf.net>. The
sl@0
 10109
	function modified the contents of the the 'value' string and now does
sl@0
 10110
	not do this anymore. This is a followup to the change made on
sl@0
 10111
	2001-12-17.
sl@0
 10112
sl@0
 10113
2002-01-11  David Gravereaux <davygrvy@pobox.com>
sl@0
 10114
sl@0
 10115
	* win/makefile.vc: Removed -GD compiler option. It was intended for
sl@0
 10116
	future use, but MS is again changing the future at their whim. The
sl@0
 10117
	D4002 warning was harmless though, but someone using VC .NET logged it
sl@0
 10118
	as a concern. [Bug 501565]
sl@0
 10119
sl@0
 10120
2002-01-11  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
 10121
sl@0
 10122
	* unix/Makefile.in: Burn Tcl build directory into tcltest executable
sl@0
 10123
	to avoid crashes caused by ld loading a previously installed version
sl@0
 10124
	of the tcl shared library. [Bug 218110]
sl@0
 10125
sl@0
 10126
2002-01-10  Don Porter <dgp@users.sourceforge.net>,
sl@0
 10127
	Kevin Kenny <kennykb@users.sourceforge.net>
sl@0
 10128
sl@0
 10129
	* unix/tclLoadDld.c (TclpLoadFile):  syntax error: unbalanced parens.
sl@0
 10130
	Kevin notes that it's far from clear that this file is ever included
sl@0
 10131
	in an actual build; Linux without dlopen appears to be a nonexistent
sl@0
 10132
	configuration.
sl@0
 10133
sl@0
 10134
2002-01-08  Don Porter <dgp@users.sourceforge.net>,
sl@0
 10135
	Kevin Kenny <kennykb@users.sourceforge.net>
sl@0
 10136
sl@0
 10137
	* doc/StaticPkg.3 (Tcl_StaticPackage):
sl@0
 10138
	* generic/tcl.decls (Tcl_StaticPackage):
sl@0
 10139
	* generic/tclDecls.h (Tcl_StaticPackage):
sl@0
 10140
	* generic/tclInt.decls (TclGuessPackageName):
sl@0
 10141
	* generic/tclInt.h (TclGuessPackageName):
sl@0
 10142
	* generic/tclLoad.c (Tcl_StaticPackage):
sl@0
 10143
	* generic/tclLoadNone.c (TclGuessPackageName):
sl@0
 10144
	* mac/tclMacLoad.c (TclGuessPackageName):
sl@0
 10145
	* unix/tclLoadAout.c (TclGuessPackageName):
sl@0
 10146
	* unix/tclLoadDl.c (TclGuessPackageName):
sl@0
 10147
	* unix/tclLoadDld.c (TclGuessPackageName):
sl@0
 10148
	* unix/tclLoadDyld.c (TclGuessPackageName):
sl@0
 10149
	* unix/tclLoadNext.c (TclGuessPackageName):
sl@0
 10150
	* unix/tclLoadOSF.c (TclGuessPackageName):
sl@0
 10151
	* unix/tclLoadShl.c (TclGuessPackageName):
sl@0
 10152
	* win/tclWinLoad.c (TclGuessPackageName):  Updated APIs in the files
sl@0
 10153
	*/tcl*Load*.c according to the guidelines of TIP 27. [Patch 501096]
sl@0
 10154
sl@0
 10155
2002-01-09  Don Porter <dgp@users.sourceforge.net>
sl@0
 10156
sl@0
 10157
	* generic/tclTest.c (MainLoop):
sl@0
 10158
	* tests/main.test (Tcl_Main-1.{3,4,5,6}):  Corrected some non-portable
sl@0
 10159
	tests from the new Tcl_Main changes.  Thanks to Kevin Kenny.
sl@0
 10160
sl@0
 10161
2002-01-07  Don Porter <dgp@users.sourceforge.net>
sl@0
 10162
sl@0
 10163
	* generic/tclEvent.c (TclInExit):
sl@0
 10164
	* generic/tclIOUtil.c (SetFsPathFromAbsoluteNormalized,
sl@0
 10165
	(SetFsPathFromAny,Tcl_FSNewNativePath,DupFsPathInternalRep):
sl@0
 10166
	* generic/tclListObj.c (TclLsetList,TclLsetFlat):  Added some type
sl@0
 10167
	casts to satisfy picky compilers.
sl@0
 10168
sl@0
 10169
	* generic/tclMain.c:  Bug fix: neglected the NULL case in
sl@0
 10170
	TclGetStartupScriptFileName().	Broke Tk/wish.
sl@0
 10171
sl@0
 10172
2002-01-05  Don Porter <dgp@users.sourceforge.net>
sl@0
 10173
sl@0
 10174
	* doc/Tcl_Main.3:
sl@0
 10175
	* generic/tclMain.c:  Substantial rewrite and expanded documentation
sl@0
 10176
	of Tcl_Main to correct a number of bugs and flaws:
sl@0
 10177
sl@0
 10178
		* Interactive Tcl_Main can now enter a main loop, exit that
sl@0
 10179
		  loop and continue interactive operations. The loop may even
sl@0
 10180
		  exit in the midst of interactive command typing without loss
sl@0
 10181
		  of the partial command. [Bugs 486453, 474131]
sl@0
 10182
		* Tcl_Main now gracefully handles deletion of its master
sl@0
 10183
		  interpreter.
sl@0
 10184
		* Interactive Tcl_Main can now operate with non-blocking stdin
sl@0
 10185
		* Interactive Tcl_Main can now detect EOF on stdin even in
sl@0
 10186
		  mid-command.	[Bug 491341]
sl@0
 10187
		* Added VFS-aware internal routines for managing the startup
sl@0
 10188
		  script selection.
sl@0
 10189
		* Tcl variable 'tcl_interactive' is now linked to C variable
sl@0
 10190
		  'tty' so that one can disable/enable interactive prompts at
sl@0
 10191
		  the script level when there is no startup script. This is
sl@0
 10192
		  meant for use by the test suite.
sl@0
 10193
		* Consistent use of the Tcl libraries standard channels as
sl@0
 10194
		  returned by Tcl_GetStdChannel(); as opposed to the channels
sl@0
 10195
		  named 'stdin', 'stdout', and 'stderr' in the master interp,
sl@0
 10196
		  which can be different or unavailable.
sl@0
 10197
		* Tcl_Main now calls Tcl_Exit() if evaluation of [exit] in the
sl@0
 10198
		  master interpreter returns, assuring Tcl_Main does not
sl@0
 10199
		  return.
sl@0
 10200
		* Documented Tcl_Main's absence from public stub table
sl@0
 10201
		* Documented that Tcl_Main does not return.
sl@0
 10202
		* Documented Tcl variables set by Tcl_Main.
sl@0
 10203
		* All prompts are done from a single procedure, Prompt.
sl@0
 10204
		* Use of Tcl_Obj-enabled interfaces everywhere.
sl@0
 10205
sl@0
 10206
	* generic/tclInt.decls (TclGetStartupScriptPath,
sl@0
 10207
	(TclSetStartupScriptPath): New internal VFS-aware routines for
sl@0
 10208
	managing the startup script of Tcl_Main.
sl@0
 10209
	* generic/tclIntDecls.h:
sl@0
 10210
	* generic/tclStubInit.c: make genstubs
sl@0
 10211
sl@0
 10212
	* generic/tclTest.c (TestsetmainloopCmd,TestexitmainloopCmd,
sl@0
 10213
	(Tcltest_Init,TestinterpdeleteCmd):
sl@0
 10214
	* tests/main.test (new):  Added new file to test suite that thoroughly
sl@0
 10215
	tests generic/tclMain.c; added some new test commands for testing
sl@0
 10216
	Tcl_SetMainLoop().
sl@0
 10217
sl@0
 10218
2002-01-04  Don Porter <dgp@users.sourceforge.net>
sl@0
 10219
sl@0
 10220
	* doc/Alloc.3:
sl@0
 10221
	* doc/Concat.3:
sl@0
 10222
	* doc/CrtMathFnc.3:
sl@0
 10223
	* doc/Hash.3:
sl@0
 10224
	* doc/Interp.3:
sl@0
 10225
	* doc/LinkVar.3:
sl@0
 10226
	* doc/ObjectType.3:
sl@0
 10227
	* doc/PkgRequire.3:
sl@0
 10228
	* doc/Preserve.3:
sl@0
 10229
	* doc/SetResult.3:
sl@0
 10230
	* doc/SplitList.3:
sl@0
 10231
	* doc/SplitPath.3:
sl@0
 10232
	* doc/TCL_MEM_DEBUG.3: Updated documentation to describe the ckalloc,
sl@0
 10233
	ckfree, ckrealloc, attemptckalloc, and attemptckrealloc macros, and to
sl@0
 10234
	accurately describe when and how they are used. [Bug 497459]
sl@0
 10235
sl@0
 10236
	* generic/tclThreadJoin.c (TclRememberJoinableThread,TclJoinThread):
sl@0
 10237
	Replaced Tcl_Alloc and Tcl_Free calls with ckalloc and ckfree so that
sl@0
 10238
	memory debugging is supported.
sl@0
 10239
sl@0
 10240
2002-01-04  Daniel Steffen <das@users.sourceforge.net>
sl@0
 10241
sl@0
 10242
	* mac/tclMacTime.c (TclpGetTZName): fix for daylight savings TZName
sl@0
 10243
	bug
sl@0
 10244
sl@0
 10245
2002-01-03  Don Porter <dgp@users.sourceforge.net>
sl@0
 10246
sl@0
 10247
	* doc/FileSystem.3:
sl@0
 10248
	* generic/tclIOUtil.c: Updated some old uses of "fileName" to new VFS
sl@0
 10249
	terminology, "pathPtr".
sl@0
 10250
sl@0
 10251
2002-01-03  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
 10252
sl@0
 10253
	* tests/basic.test (basic-39.4): Greatly simplified test while still
sl@0
 10254
	leaving it so that it crashes when run without the fix to the
sl@0
 10255
	[foreach] implementation.
sl@0
 10256
	* generic/tclCmdAH.c (Tcl_ForeachObjCmd): Stopped [Bug 494348] from
sl@0
 10257
	happening by not trying to be so clever with cacheing; if nothing
sl@0
 10258
	untoward is happening anyway, the less efficient technique will only
sl@0
 10259
	add a few instruction cycles (one function call and a few
sl@0
 10260
	derefs/assigns per list per iteration, with no change in the number of
sl@0
 10261
	tests) and if something odd *is* going on, the code is now far more
sl@0
 10262
	robust.
sl@0
 10263
sl@0
 10264
	* tests/basic.test (basic-39.4): Reproducable script from [Bug 494348]
sl@0
 10265
sl@0
 10266
2002-01-02  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
 10267
sl@0
 10268
	* tests/util.test (Wrapper_Tcl_StringMatch,util-5.*): Rewrote so the
sl@0
 10269
	test is performed with the right internal function since [string
sl@0
 10270
	match] no longer uses Tcl_StringCaseMatch internally.
sl@0
 10271
sl@0
 10272
	* tests/string.test (string-11.51):
sl@0
 10273
	* generic/tclUtf.c (Tcl_UniCharCaseMatch):
sl@0
 10274
	* generic/tclUtil.c (Tcl_StringCaseMatch): Fault with matching
sl@0
 10275
	case-insensitive non-ASCII patterns containing upper case characters.
sl@0
 10276
	[Bug 233257]
sl@0
 10277
sl@0
 10278
	******************************************************************
sl@0
 10279
	*** CHANGELOG ENTRIES FOR 2001 IN "ChangeLog.2001"	       ***
sl@0
 10280
	*** CHANGELOG ENTRIES FOR 2000 IN "ChangeLog.2000"	       ***
sl@0
 10281
	*** CHANGELOG ENTRIES FOR 1999 AND EARLIER IN "ChangeLog.1999" ***
sl@0
 10282
	******************************************************************