os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/ChangeLog.2001
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
2001-12-28  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
     2
sl@0
     3
	* library/init.tcl: make sure env(COMSPEC) on Windows is executed
sl@0
     4
	with the right case, as it may otherwise fail inexplicably.
sl@0
     5
sl@0
     6
2001-12-28  Don Porter <dgp@users.sourceforge.net>
sl@0
     7
sl@0
     8
	* generic/tclCkalloc.c (MemoryCmd, TclFinalizeMemorySubsystem):
sl@0
     9
	Added the [memory onexit] command, intended to replace [checkmem].
sl@0
    10
sl@0
    11
	* doc/DumpActiveMemory.3: 
sl@0
    12
	* doc/memory.n: Updated documentation for [memory] and related
sl@0
    13
	matters.  [Bug 487677]
sl@0
    14
sl@0
    15
	* mac/tclMacBOAMain.c (Tcl_Main, CheckmemCmd): Removed all the
sl@0
    16
	machinery for the [checkmem] command that is completely duplicated
sl@0
    17
	by code in generic/tclCkalloc.c.
sl@0
    18
sl@0
    19
	* generic/tclBinary.c:
sl@0
    20
	* generic/tclListObj.c:
sl@0
    21
	* generic/tclObj.c:
sl@0
    22
	* generic/tclStringObj.c: Removed references to [checkmem] in
sl@0
    23
	comments, referencing [memory active] instead, since it is
sl@0
    24
	documented.
sl@0
    25
sl@0
    26
2001-12-28  Daniel Steffen <das@users.sourceforge.net>
sl@0
    27
sl@0
    28
	* mac/tclMacInit.c:
sl@0
    29
	* mac/tclMacTclCode.r: synced up tclInit features to unix/win:
sl@0
    30
	implemented TclSetPreInitScript support, use of existing tclInit 
sl@0
    31
	proc if defined, check of default encoding dir if set. Changed
sl@0
    32
	script library resource names to lowercase (i.e. same as
sl@0
    33
	corresponding files). Used Tcl_JoinPath instead of string append.
sl@0
    34
	Check that system encoding could be loaded before utf translating
sl@0
    35
	the LibraryPath.
sl@0
    36
	* mac/tclMacApplication.r:
sl@0
    37
	* mac/tclMacLibrary.r:
sl@0
    38
	* mac/tclMacOSA.r:
sl@0
    39
	* mac/tclMacResource.r: minor version resources cleanup
sl@0
    40
sl@0
    41
2001-12-21  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
    42
sl@0
    43
	* unix/tcl.m4 (SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG):
sl@0
    44
	Search for config file using exec_prefix instead of
sl@0
    45
	prefix when no --with-tcl or --with-tk argument is used. [Bug 492418]
sl@0
    46
sl@0
    47
2001-12-21  Daniel Steffen <das@users.sourceforge.net>
sl@0
    48
sl@0
    49
	* unix/tcl.m4: fixed incorrect SHLIB_LD_LIBS
sl@0
    50
	setting for MacOSX / Darwin.
sl@0
    51
	* unix/configure: Regen.
sl@0
    52
	* unix/mkLinks.tcl: improved case-insensitive
sl@0
    53
	filesystem support.
sl@0
    54
	* unix/mkLinks: Regen.
sl@0
    55
sl@0
    56
2001-12-19  Don Porter <dgp@users.sourceforge.net>
sl@0
    57
sl@0
    58
	* unix/Makefile.in (dist): corrected use of eolFix.tcl on
sl@0
    59
	working files.  It should operate on distributed files.  [Bug 495120]
sl@0
    60
sl@0
    61
2001-12-19  David Gravereaux <davygrvy@pobox.com>
sl@0
    62
sl@0
    63
	* tools/tcl.wse.in: Fix for #495120.  tcl.wse.in was
sl@0
    64
	stored in cvs with improper <eol>.  This resulted in
sl@0
    65
	corrupted <eol> when checked-out on translating CVS
sl@0
    66
	clients such as windows (CRCRLF) and mac (CRCR).
sl@0
    67
sl@0
    68
2001-12-19  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
    69
sl@0
    70
	* unix/configure:
sl@0
    71
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Update
sl@0
    72
	SunOS 5.[0-6] target so that correct linker
sl@0
    73
	options are passed to gcc or ld. [Tk Bug 220863]
sl@0
    74
sl@0
    75
2001-12-19  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
    76
sl@0
    77
	* unix/README: Update to account for changes
sl@0
    78
	in the unix/dltest directory, the way autoconf
sl@0
    79
	is run, and the new "make shell" target.
sl@0
    80
sl@0
    81
2001-12-19  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
    82
sl@0
    83
	* unix/Makefile.in: Rename dltest to dlpkgs to
sl@0
    84
	fix problem where lib files were not getting
sl@0
    85
	built because dltest/ directory already existed.
sl@0
    86
sl@0
    87
2001-12-19  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
    88
sl@0
    89
	* win/tclWinSerial.c (SerialCheckProc): corrected time
sl@0
    90
	calculations to be unsigned. (schroedter)
sl@0
    91
sl@0
    92
2001-12-18  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
    93
sl@0
    94
	* unix/Makefile.in: Define new dltest target that
sl@0
    95
	simply does a cd to dltest/ before running make.
sl@0
    96
	There is no need for the separate configure
sl@0
    97
	script that was previously being used.
sl@0
    98
	* unix/configure: Regen.
sl@0
    99
	* unix/configure.in: Subst into dltest/Makefile.
sl@0
   100
	* unix/dltest/Makefile.in: Define LIBS using
sl@0
   101
	DL_LIBS, LIBS, and MATH_LIBS variables instead
sl@0
   102
	of TCL_LIBS variable from tclConfig.sh.
sl@0
   103
	* unix/dltest/README: Update readme to account for new
sl@0
   104
	configure free implementation.
sl@0
   105
	* unix/dltest/configure: Removed.
sl@0
   106
	* unix/dltest/configure.in: Removed.
sl@0
   107
sl@0
   108
2001-12-18  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
   109
sl@0
   110
	* generic/tcl.h (TCL_STUB_MAGIC): Added cast to force type to be
sl@0
   111
	an int and get rid of a persistent and pointless warning with
sl@0
   112
	SunPro compiler.
sl@0
   113
sl@0
   114
	* generic/tclCkalloc.c (Tcl_AttemptDbCkalloc,Tcl_AttemptDbCkrealloc): 
sl@0
   115
	* generic/tcl.decls (Tcl_AttemptDbCkalloc,Tcl_AttemptDbCkrealloc):
sl@0
   116
	Made the file parameters to these functions into CONST char *,
sl@0
   117
	like they always should have been to match the other Tcl*Db* API
sl@0
   118
	functions.
sl@0
   119
sl@0
   120
2001-12-17  Andreas Kupries  <andreas_kupries@users.sourceforge.net> 
sl@0
   121
sl@0
   122
	* Applied #219311 on behalf of Rolf Schroedter
sl@0
   123
	  <schroedter@users.sourceforge.net> to prevent fcopy on serial
sl@0
   124
	  ports from flooding the event queue.
sl@0
   125
sl@0
   126
2001-12-11  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   127
sl@0
   128
	* doc/CrtInterp.3:
sl@0
   129
	* generic/tclBasic.c: docs and comments corrections [Bug 493412]
sl@0
   130
	Bug & patch by Don Porter.  
sl@0
   131
sl@0
   132
2001-12-14  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
   133
sl@0
   134
	* win/tclWinNotify.c (Tcl_FinalizeNotifier): Stop Tcl on Windows
sl@0
   135
	from crashing when shutdown from a non-Tcl thread. Fixes Bug
sl@0
   136
	#217982 [orig. 5804] reported by Hugh Vu and Gene Leache.   I'm
sl@0
   137
	not convinced that the shutdown process is right even with this,
sl@0
   138
	but it was definitely wrong without...
sl@0
   139
sl@0
   140
2001-12-13  Andreas Kupries  <andreas_kupries@users.sourceforge.net> 
sl@0
   141
sl@0
   142
	* win/tclWinSock.c (TcpGetOptionProc): Fix for tcl bug item
sl@0
   143
	  #478565 reported by an unknown person. Bypasses all calls to
sl@0
   144
	  "gethostbyaddr" for address "0.0.0.0" to prevent delays on
sl@0
   145
	  Win/NT.
sl@0
   146
sl@0
   147
2001-12-12  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   148
sl@0
   149
	* doc/Preserve.3: doc'd TCL_DYNAMIC use. [Patch #483989] (porter)
sl@0
   150
sl@0
   151
2001-12-12  Andreas Kupries  <andreas_kupries@users.sourceforge.net> 
sl@0
   152
sl@0
   153
	* generic/tclIO.c (Tcl_GetsObj): Applied patch for bug #491341 as
sl@0
   154
	  provided by Don Porter <dgp@users.sourceforge.net>. Fixes the
sl@0
   155
	  assumption of having an empty Tcl_Obj to work with.
sl@0
   156
sl@0
   157
2001-12-11  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   158
sl@0
   159
	* generic/tclCompCmds.c:
sl@0
   160
	* generic/tclCompile.c:
sl@0
   161
	* generic/tclExecute.c: consistency patch, to make all
sl@0
   162
	  instructions that pop a variable number of Tcl_Obj's off the
sl@0
   163
	  execution stack take the number of popped objects as first
sl@0
   164
	  operand. Modified *only* the new instructions
sl@0
   165
	  INST_LIST_INDEX_MULTI and INST_LSET_FLAT, so this has no effect
sl@0
   166
	  on bytecodes generated up to tcl8.4a3 inclusive.
sl@0
   167
sl@0
   168
	* generic/tclExecute.c: fix debug messages in INST_LSET_LIST. 
sl@0
   169
sl@0
   170
	* generic/tclCompCmds.c (TclCompileLindexCmd):
sl@0
   171
	* generic/tclCompExpr.c (CompileMathFuncCall): removed the last
sl@0
   172
	  two overestimates of the necessary stack depth for bytecodes in
sl@0
   173
	  the fix of [Bug 483611].
sl@0
   174
sl@0
   175
2001-12-10  Andreas Kupries  <andreas_kupries@users.sourceforge.net> 
sl@0
   176
sl@0
   177
	* unix/tclUnixPipe.c (TclpCreateProcess): Applied Don Porter's
sl@0
   178
	  patch fixing bug #437489.
sl@0
   179
sl@0
   180
2001-12-10  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   181
sl@0
   182
	* generic/tclEvent.c:
sl@0
   183
	* tests/event.test: fix background error reporting in the absence
sl@0
   184
	of a bgerror proc [Bug 219142].
sl@0
   185
sl@0
   186
2001-12-10  Don Porter <dgp@users.sourceforge.net>
sl@0
   187
sl@0
   188
	* doc/Access.3:
sl@0
   189
	* doc/CrtChannel.3:
sl@0
   190
	* doc/DString.3:
sl@0
   191
	* doc/ExprLong.3:
sl@0
   192
	* doc/FileSystem.3:
sl@0
   193
	* doc/GetStdChan.3:
sl@0
   194
	* doc/OpenFileChnl.3:
sl@0
   195
	* doc/StdChannels.3:
sl@0
   196
	* doc/TCL_MEM_DEBUG.3:
sl@0
   197
	* doc/Tcl_Main.3:
sl@0
   198
	* doc/Utf.3:
sl@0
   199
	* doc/file.n:
sl@0
   200
	* doc/tclsh.1:  Several typo and formatting corrections discovered
sl@0
   201
	during conversion to TMML.  Thanks to Joe English.  [Patch 490514]
sl@0
   202
	* unix/mkLinks: 'make mklinks'
sl@0
   203
sl@0
   204
2001-12-10  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   205
sl@0
   206
	* generic/tclCompCmds.c:
sl@0
   207
	* generic/tclCompExpr.c:
sl@0
   208
	* generic/tclCompile.c:
sl@0
   209
	* generic/tclCompile.h:
sl@0
   210
	* generic/tclExecute.c:
sl@0
   211
	* generic/tclProc.c: fixed the calculation of the maximal stack
sl@0
   212
	depth required by bytecodes [Bug 483611].
sl@0
   213
sl@0
   214
2001-12-07  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   215
sl@0
   216
	* generic/tclVar.c: 
sl@0
   217
	* tests/trace.test: restored consistency in refCount accounting by
sl@0
   218
	array traces [Bug #4484339], submitted by Don Porter. 
sl@0
   219
sl@0
   220
2001-12-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
   221
sl@0
   222
	* tests/parseExpr.test, tests/for.test, tests/expr.test:
sl@0
   223
	* tests/expr-old.test, tests/compile.test, tests/compExpr.test
sl@0
   224
	* tests/compExpr-old.test: Kept up to date with syntax errors.
sl@0
   225
	* generic/tclParseExpr.c (ParsePrimaryExpr): Rewrote to give even
sl@0
   226
	better syntax errors in the fairly common case of an identifier
sl@0
   227
	without decorations by guessing based on the currently available
sl@0
   228
	functions.  Also made messages consistent between memdebug and
sl@0
   229
	ordinary builds.
sl@0
   230
sl@0
   231
2001-12-05  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   232
sl@0
   233
	* generic/tclVar.c: 
sl@0
   234
	* tests/trace.test: new algorithm for [array get], safe when there
sl@0
   235
	are traces that modify the array [Bug #449893]. 
sl@0
   236
sl@0
   237
2001-12-04  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
   238
sl@0
   239
	* tests/compExpr-old.test, tests/compExpr.test, tests/compile.test: 
sl@0
   240
	* tests/expr-old.test, tests/expr.test, tests/for.test: 
sl@0
   241
	* tests/while.test, tests/if.test: Rewrite to handle more specific
sl@0
   242
	syntax errors.
sl@0
   243
	* tests/parseExpr.test: Rewrite to get rid of dup test numbers and
sl@0
   244
	handle more specific syntax errors.
sl@0
   245
	* generic/tclParseExpr.c (LogSyntaxError): Added a detail message
sl@0
   246
	argument to help explain what the syntax error is.
sl@0
   247
	(Tcl_ParseExpr, ParseCondExpr, ParsePrimaryExpr): Added detail
sl@0
   248
	messages.
sl@0
   249
	(UNKNOWN_CHAR): New lexeme for characters that are always illegal
sl@0
   250
	in expressions outside strings.
sl@0
   251
sl@0
   252
2001-12-03  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
   253
sl@0
   254
	* doc/expr.n: Various documentation improvements in relation to
sl@0
   255
	the function calls.  Includes fix for Bug #487704 submitted by
sl@0
   256
	Devin Eyre.
sl@0
   257
sl@0
   258
2001-12-03  David Gravereaux <davygrvy@pobox.com>
sl@0
   259
sl@0
   260
	* win/makefile.vc: Some install target bugs repaired along with
sl@0
   261
	$(TCLSTUBLIB) added to the dependencies rather than implicit through
sl@0
   262
	the dde and reg extensions which don't happen to always require it
sl@0
   263
	for some build types.
sl@0
   264
sl@0
   265
2001-11-30  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   266
sl@0
   267
	* generic/tclVar.c: Tcl_Preserve'ing VarTrace structures to avoid 
sl@0
   268
	memory corruption. Patch for [Bug: 484334] provided by Don Porter 
sl@0
   269
sl@0
   270
2001-11-29  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   271
sl@0
   272
	* tests/namespace.test: modified namespace-41.2, added 41.3
sl@0
   273
	{knownbug} after discussion with Don Porter and Kevin Kenny.
sl@0
   274
sl@0
   275
2001-11-29  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   276
sl@0
   277
	* tests/namespace.test: added namespace-41.2, a simpler test for
sl@0
   278
	[Bug: 231259]
sl@0
   279
sl@0
   280
2001-11-29  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
   281
sl@0
   282
	* generic/tclBinary.c (BINARY_SCAN_MAX_CACHE, Tcl_BinaryObjCmd,
sl@0
   283
	ScanNumber): Added caching scheme to reduce number of object
sl@0
   284
	allocations when doing scans of large repetitive binary strings.
sl@0
   285
	See comments in file for reasoning behind implementation.
sl@0
   286
	Suggested by Miguel Sofer in Patch #429916, but independently
sl@0
   287
	implemented.
sl@0
   288
sl@0
   289
2001-11-28  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
   290
sl@0
   291
	* doc/regsub.n, doc/regexp.n: Converted dangling references to
sl@0
   292
	METASYNTAX section into references to the re_syntax manual page.
sl@0
   293
sl@0
   294
2001-11-27  D. Richard Hipp   <drh@hwaci.com>
sl@0
   295
sl@0
   296
	* win/tclWinFCmd.c: Fix a coredump in the filename normalizer
sl@0
   297
	code for Win95/98.
sl@0
   298
sl@0
   299
2001-11-27  David Gravereaux <davygrvy@pobox.com>
sl@0
   300
sl@0
   301
	* win/makefile.vc: Removed the Tk reference for the 'winhelp' target.
sl@0
   302
	Converge at install will need to be the solution for Tk and all other
sl@0
   303
	extensions.
sl@0
   304
sl@0
   305
2001-11-27  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
   306
sl@0
   307
	* tests/cmdAH.test (cmdAH-24.2): Made test less sensitive to OS
sl@0
   308
	preemption, but perfection isn't practical [Bug 463189, reported
sl@0
   309
	by Don Porter.]
sl@0
   310
sl@0
   311
	* tests/switch.test (switch-9.*): Added tests to exercise more of
sl@0
   312
	the argument checking.  (switch-7.2,switch-7.3): Test changed
sl@0
   313
	behaviour slightly.
sl@0
   314
	* generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Reworked argument parsing
sl@0
   315
	to be stricter about what it accepts.  This should make uses of
sl@0
   316
	the [switch] command be more maintainable.  [Bug 475397, reported
sl@0
   317
	by Don Porter.]
sl@0
   318
sl@0
   319
2001-11-26  Don Porter <dgp@users.sourceforge.net>
sl@0
   320
sl@0
   321
	* generic/tclIntPlatDecls.h: 'make genstubs' after changes
sl@0
   322
	in 2001-11-23 commit from Daniel Steffen.
sl@0
   323
sl@0
   324
2001-11-24  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
   325
sl@0
   326
	* unix/Makefile.in: Add comments to better describe
sl@0
   327
	TCL_EXE and when it should be available.
sl@0
   328
	* win/Makefile.in: Add TCL_EXE variable to be used
sl@0
   329
	by rules like `make genstubs`. Don't set TCL_LIBRARY
sl@0
   330
	before running `make genstubs` since we will be running
sl@0
   331
	with a tclsh from the PATH not the one we build.
sl@0
   332
sl@0
   333
2001-11-24  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
   334
sl@0
   335
	* win/configure: Regen.
sl@0
   336
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Add comctl32.lib
sl@0
   337
	to wish link libs. This change was originally added
sl@0
   338
	to Tk on 2001-11-09 but was not committed to Tcl.
sl@0
   339
sl@0
   340
2001-11-23  Daniel Steffen <das@users.sourceforge.net>
sl@0
   341
sl@0
   342
	* unix/Makefile.in:
sl@0
   343
	* unix/configure.in:
sl@0
   344
	* unix/install-sh:
sl@0
   345
	* unix/mkLinks:
sl@0
   346
	* unix/mkLinks.tcl:
sl@0
   347
	* unix/tclLoadDyld.c:
sl@0
   348
	* unix/tclMtherr.c: Mac OSX support: build system, dynamic code loading
sl@0
   349
	and support for case-insensitive filesystems in mkLinks (patch #435258)
sl@0
   350
sl@0
   351
2001-11-23  Daniel Steffen <das@users.sourceforge.net>
sl@0
   352
sl@0
   353
	Up-port to 8.4 of mac code changes for 8.3.3 & various new
sl@0
   354
	changes for 8.4, some already backported to 8.3.4 (patch #435658)
sl@0
   355
sl@0
   356
	* generic/tclObj.c: added #include to fix missing prototype errors
sl@0
   357
sl@0
   358
	* generic/tcl.h: MAC_TCL: addition of ConditionalMacros.h and use of
sl@0
   359
	DLLIMPORT and DLLEXPORT like on other platforms.  ( => no longer need
sl@0
   360
	the .exp files and can remove use of #pragma export that never worked
sl@0
   361
	well)
sl@0
   362
	removed line continuation in #if clause as this breaks the mac
sl@0
   363
	resource compiler (note that *.r files include tcl.h)
sl@0
   364
sl@0
   365
	* mac/tclMacFile.c: fixed bug in permission checking code
sl@0
   366
sl@0
   367
	* mac/tclMacLoad.c: corrected utf8 handling, comparison of
sl@0
   368
	package names to code fragment names changed to only match on the
sl@0
   369
	length of package name, this allows for fragment names with version
sl@0
   370
	numbers appended
sl@0
   371
sl@0
   372
	* mac/tclMacInt.h:
sl@0
   373
	* generic/tclInt.h:
sl@0
   374
	* mac/tclMacTime.c:
sl@0
   375
	* generic/tclIOUtil.c: moved declaration of TclpGetGMTOffset()
sl@0
   376
sl@0
   377
	* mac/tclMacShLib.exp:
sl@0
   378
	* mac/tclMacOSA.exp:
sl@0
   379
	* mac/tclMacMSLPrefix.h: removed files
sl@0
   380
sl@0
   381
	* unix/Makefile.in: removed reference to .exp files
sl@0
   382
sl@0
   383
	* mac/MW_TclBuildLibHeader.h:
sl@0
   384
	* mac/MW_TclBuildLibHeader.pch:
sl@0
   385
	* mac/MW_TclHeaderCommon.h:
sl@0
   386
	* mac/MW_TclStaticHeader.h:
sl@0
   387
	* mac/MW_TclStaticHeader.pch: new precompiled header files
sl@0
   388
sl@0
   389
	* mac/MW_TclAppleScriptHeader.pch:
sl@0
   390
	* mac/MW_TclHeader.pch:
sl@0
   391
	* mac/MW_TclTestHeader.pch:
sl@0
   392
	* mac/tclMacCommonPch.h: revised precompiled header handling: now
sl@0
   393
	include a common header file 'MW_TclHeaderCommon.h' from all .pch
sl@0
   394
	files, the .pch files themselves now only setup #defines (e.g.
sl@0
   395
	BUILD_tcl, STATIC_BUILD, TCL_DEBUG, TCL_THREADS) like in makefiles on
sl@0
   396
	other platforms.
sl@0
   397
sl@0
   398
	* mac/tclMac.h:
sl@0
   399
	* mac/tclMacPort.h:
sl@0
   400
	* mac/tclMacInt.h: use of BUILD_tcl and TCL_STORAGE_CLASS like on other
sl@0
   401
	platforms, standardize #include'd files to what's done on other
sl@0
   402
	platforms, removed use of #pragma export.
sl@0
   403
sl@0
   404
	* mac/tcltkMacBuildSupport.sea.hqx: new archive of mac build support
sl@0
   405
	files & suggested build environment directory hierarchy: 
sl@0
   406
	'Building MacTclTk' & 'CW Pro6 changes' readme's.
sl@0
   407
	projects for MoreFiles 1.5.2 static & shared libraries.
sl@0
   408
	project & sources for 'pseudoCarbonSupport', see below.
sl@0
   409
	included XML versions of the projects for CW Pro5 or Pro7 users.
sl@0
   410
sl@0
   411
	* mac/tclMacProjects.sea.hqx: updated mac build project files:
sl@0
   412
	build support for CodeWarrior Pro6, UnivIntf 3.4 & shared runtime
sl@0
   413
	libraries: the MSL libraries and MoreFiles are no longer compiled into
sl@0
   414
	Tcl.shlb, all non-static binaries now use the Pro6 shared runtime
sl@0
   415
	libraries and MoreFiles.shlb.  These shlbs are merged into the standard
sl@0
   416
	Wish and TclShell, but 3rd party applications linking with Tcl.shlb or
sl@0
   417
	Tk.shlb need to setup access to them.  (see the "(sh-ppc)" targets
sl@0
   418
	for how to do this.)
sl@0
   419
	included XML versions of the projects for CW Pro5 or Pro7 users.
sl@0
   420
	use compat/strtod.c instead of MSL's strtod()
sl@0
   421
	use WASTE versions of MSL for tcl test target to avoid text buffer
sl@0
   422
	cutoff at 32k.
sl@0
   423
	Merging the full MSL.shlb and the other shlbs into Wish & TclShell
sl@0
   424
	makes them a bit larger than before, use unmerged binaries to avoid
sl@0
   425
	copying the shared code with every application, e.g. when deploying
sl@0
   426
	numerous Wish based droplets.
sl@0
   427
	Note that using CW Pro5 to compile extensions is in principle still
sl@0
   428
	possible, but need to link with Pro6 runtime libraries.
sl@0
   429
	Tclapplescript now loads and runs on CFM68k.
sl@0
   430
	Highly experimental "pseudoCarbon" support for Tcl only on OS 8/9:
sl@0
   431
	binaries in "Build:(Carbon):" link against CarbonLib instead of
sl@0
   432
	InterfaceLib, however the actual code has not been carbonized! i.e. it
sl@0
   433
	will not run on OSX and may not even run properly with CarbonLib. 
sl@0
   434
	This should in principle allow you to build & test OS9 CFM Carbon
sl@0
   435
	binaries that need to link with Tcl.shlb.  On OSX you can use the
sl@0
   436
	native Tcl.framework, but you have to build a MachO binary as there
sl@0
   437
	is no CFM glue lib for Tcl.framework.
sl@0
   438
	the library pseudoCarbonSupport.shlb manually loads the symbols
sl@0
   439
	from InterfaceLib that are not in CarbonLib but are needed by the
sl@0
   440
	uncarbonized code in Tcl.shlb and TclShell.
sl@0
   441
sl@0
   442
	* generic/tclMain.c: MAC_TCL: workaround for broken/non-standard isatty
sl@0
   443
	on MW Pro6, #include <unistd.h> instead of defining isatty
sl@0
   444
sl@0
   445
	* mac/tclMacPort.h: MW Pro6 changes for MSL fcntl.h, stat.h & isatty
sl@0
   446
sl@0
   447
	* mac/tclMacAppInit.c: add EXTERN to InstallConsole to enable DLL
sl@0
   448
	export via the TCL_STORAGE_CLASS mechanism.
sl@0
   449
sl@0
   450
	* mac/tclMacFCmd.c: fix for FSpDirectoryCopy API change
sl@0
   451
sl@0
   452
	* mac/tclMacLibrary.c: emit compile time error when
sl@0
   453
	TCL_REGISTER_LIBRARY and USE_TCL_STUBS are both defined at the same
sl@0
   454
	time in an extension, this use is not currently supported and will
sl@0
   455
	result in a crash when dynamically loading the extension.
sl@0
   456
sl@0
   457
	* mac/tclMacApplication.r:
sl@0
   458
	* mac/tclMacLibrary.r:
sl@0
   459
	* mac/tclMacOSA.r:
sl@0
   460
	* mac/tclMacResource.r: fixed obsolete copyrights/dates in version
sl@0
   461
	strings; updated version strings to standard usage; added support for
sl@0
   462
	'(Support Libraries)' subfolder for shared runtime libraries in
sl@0
   463
	unmerged binaries; commented out demo setting of "Tcl Environment
sl@0
   464
	Variables"; reorganized resources among these files to avoid 
sl@0
   465
	multiple copies in applications and shared libraries, the script
sl@0
   466
	libraries are now no longer duplicated in Tclsh but are only included 
sl@0
   467
	in the resources of Tcl.shlb.
sl@0
   468
sl@0
   469
	* mac/tclMacChan.c:
sl@0
   470
	* mac/tclMacSock.c: cast for *BlockMode
sl@0
   471
sl@0
   472
	* mac/tclMacUtil.c:
sl@0
   473
	* mac/tclMacMath.h: removed obsolete hypot() definition
sl@0
   474
sl@0
   475
	* generic/tclIntPlatDecls.h:
sl@0
   476
	* generic/tclInt.decls:
sl@0
   477
	* generic/tclStubInit.c:
sl@0
   478
	* mac/tclMacNotify.c:
sl@0
   479
	* mac/tclMacOSA.c:
sl@0
   480
	* mac/tclMacUtil.c:
sl@0
   481
	* generic/tclThreadTest.c: renamed routines conflicting with standard
sl@0
   482
	Apple or MoreFiles headers (at compile or link time):
sl@0
   483
	GetGlobalMouse         -> GetGlobalMouseTcl
sl@0
   484
	FSpGetDirectoryID      -> FSpGetDirectoryIDTcl
sl@0
   485
	FSpOpenResFileCompat   -> FSpOpenResFileCompatTcl
sl@0
   486
	FSpCreateResFileCompat -> FSpCreateResFileCompatTcl
sl@0
   487
	NewThread              -> NewTestThread
sl@0
   488
	the renamed MoreFiles *Tcl routines are just wrappers calling into the
sl@0
   489
	MoreFiles DLL.
sl@0
   490
sl@0
   491
	* mac/tclMacCommonPch.h:
sl@0
   492
	* mac/tclMacThrd.c:
sl@0
   493
	* mac/tclMacPanic.c: removed OLDROUTINENAMES define, renamed obsolete
sl@0
   494
	apple API names to modern equivalents; UH3.4 support: added #include
sl@0
   495
	<ControlDefinitions.h>, updated New*Proc() calls to New*UPP().
sl@0
   496
sl@0
   497
	* mac/tclMacUnix.c: added missing (Tcl_Obj ***) cast to
sl@0
   498
	Tcl_ListObjGetElements call
sl@0
   499
sl@0
   500
	* mac/tclMacAlloc.c: modernized TclpSysAlloc() to use temporary
sl@0
   501
	memory instead of system heap memory when available (MacOS
sl@0
   502
	>= 7.5 and possibly earlier, use of system heap has been
sl@0
   503
	discouraged for a long time and has many disadvantages, e.g. memory
sl@0
   504
	isn't paged out, and errors can very easily bring the system down);
sl@0
   505
	fixed crashing bug in TclpSysRealloc() and CleanUpExitProc() where
sl@0
   506
	memory was being accessed after having been deallocated; fixed
sl@0
   507
	memory leak in (de)allocation code (for every block ever allocated
sl@0
   508
	with TclpSysAlloc, a Ptr was leaked), if temporary memory is
sl@0
   509
	available, don't track allocated memory, instead use
sl@0
   510
	RecoverHandle() to get Handle from Ptr, otherwise use doubly linked
sl@0
   511
	list to correctly track memory and free all allocated memory; added
sl@0
   512
	new option for ConfigureMemory: MEMORY_DONT_USE_TEMPMEM, disables
sl@0
   513
	use of temporary memory even when it would be available, only
sl@0
   514
	necessary when writing e.g. a driver (using tcl??); increased
sl@0
   515
	fraction of application heap reserved for OS routines to 512K
sl@0
   516
sl@0
   517
	* compat/strftime.c: 
sl@0
   518
	* mac/tclMacTime.c:
sl@0
   519
	* mac/tclMacPort.h:
sl@0
   520
	* generic/tclInt.decls: 
sl@0
   521
	* generic/tclIntPlatDecls.h:
sl@0
   522
	* generic/tclStubInit.c: timezone support for mac via 
sl@0
   523
	TclpGetTZName() like on windows, using an inverse timezone table
sl@0
   524
	adapted from tclDate.c to map gmtoffset in seconds gotten from
sl@0
   525
	the MacOS APIs to a  timezone string, as there is no good way to get
sl@0
   526
	this info from MacOS. I had to make up some unusual timezones and
sl@0
   527
	arbitrarily decide on the most standard of the multiple choices
sl@0
   528
	available for every timezone.
sl@0
   529
sl@0
   530
	* generic/tclExecute.c: workaround for a MSL bug/misfeature: for
sl@0
   531
	very small floats, MSL can return errno ERANGE but a
sl@0
   532
	non-zero value ( < LDBL_MIN however)
sl@0
   533
	
sl@0
   534
	* mac/tclMacAppInit.c: support for WASTE text library using
sl@0
   535
	temporary memory, setting has no effect if WASTE is not used.
sl@0
   536
	
sl@0
   537
	* mac/tclMacPanic.c: removed duplicate code from generic/tclPanic.c
sl@0
   538
	and added that file to projects instead.
sl@0
   539
sl@0
   540
	* tests/all.tcl: set tcltest::singleProcess 1 as multiple processes
sl@0
   541
	are not available on the mac.
sl@0
   542
	
sl@0
   543
	* tests/cmdAH.test: access time not available on the mac, skip the 
sl@0
   544
	atime touch test
sl@0
   545
	
sl@0
   546
	* tests/appendComp.test:
sl@0
   547
	* tests/cmdMZ.test:
sl@0
   548
	* tests/compile.test:
sl@0
   549
	* tests/exec.test:
sl@0
   550
	* tests/fileName.test:
sl@0
   551
	* tests/lset.test:
sl@0
   552
	* tests/namespace.test:
sl@0
   553
	* tests/tcltest.test: added missing cleanups/tests/catches that
sl@0
   554
	caused tests to fail on the mac.
sl@0
   555
sl@0
   556
	* doc/tclvars.n: doc bug, env(PWD) should be env(HOME) [Bug 463834]
sl@0
   557
	
sl@0
   558
2001-11-21  Don Porter	<dgp@users.sourceforge.net>
sl@0
   559
sl@0
   560
	* tests/trace.test (trace-8.8): Corrected test for Bug 219393.
sl@0
   561
sl@0
   562
	* generic/tclBasic.c (Tcl_DeleteCommandFromToken,CallCommandTraces):
sl@0
   563
	* generic/tclCmdMZ>c (Tcl_UntraceCommand):  Added Tcl_Preserve and
sl@0
   564
	Tcl_Release calls to prevent deletion of CommandTrace structures
sl@0
   565
	until all callers are done using them, preventing memory corruption.
sl@0
   566
	[Bug 453805]
sl@0
   567
sl@0
   568
2001-11-20  Kevin B. Kenny  <kennykb@users.sourceforge.net>
sl@0
   569
sl@0
   570
	* doc/GetTime.3 (Tcl_GetTime):
sl@0
   571
	* generic/tcl.decls (Tcl_GetTime):
sl@0
   572
	* generic/tclClock.c (Tcl_ClockObjCmd):
sl@0
   573
	* generic/tclCompile.c (TclCleanupByteCode, TclInitByteCodeObj):
sl@0
   574
	* generic/tclCmdMZ.c (Tcl_TimeObjCmd):
sl@0
   575
	* generic/tclUtil.c (TclpGetTime):
sl@0
   576
	* generic/tclTest.c (GetTimesCmd):
sl@0
   577
	* generic/tclTimer.c (Tcl_CreateTimerHandler, TimerSetupProc,
sl@0
   578
	TimerCheckProc, TimerHandlerEventProc):
sl@0
   579
	* mac/tclMacNotify.c (Tcl_SetTimer):
sl@0
   580
	* mac/tclMacShLib.exp (Tcl_GetTime):
sl@0
   581
	* mac/tclMacTime.c (Tcl_GetTime):
sl@0
   582
	* unix/tclUnixChan.c (TclUnixWaitForFile):
sl@0
   583
	* unix/tclUnixEvent.c (Tcl_Sleep):
sl@0
   584
	* unix/tclUnixThrd.c (Tcl_ConditionWait):
sl@0
   585
	* unix/tclUnixTime.c (Tcl_GetTime):
sl@0
   586
	* win/tclWinNotify.c (Tcl_Sleep):
sl@0
   587
	* win/tclWinTest.c (TestwinclockCmd):
sl@0
   588
	* win/tclWinTime.c (TclpGetSeconds, TclpGetClicks, Tcl_GetTime):
sl@0
   589
	Changed all uses of TclpGetTime to Tcl_GetTime.  Added Tcl_GetTime
sl@0
   590
	to the Stubs table and the library documentation.  Added a
sl@0
   591
	TclpGetTime in tclUtil.c for backward compatibility of
sl@0
   592
	extensions. [Patch #483500, TIP#73]
sl@0
   593
sl@0
   594
	* generic/tclCmdMZ.c (Tcl_TimeObjCmd): Corrected an error in the
sl@0
   595
	[time] command that caused incorrect results to be returned if the
sl@0
   596
	total duration of all iterations exceeded 2**31 microseconds.
sl@0
   597
	[Bug #478847]
sl@0
   598
sl@0
   599
	* generic/tclInt.decls:
sl@0
   600
	* generic/tclInt.h:
sl@0
   601
	* generic/tclStubInit.h: Reran 'make genstubs'
sl@0
   602
	
sl@0
   603
2001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   604
sl@0
   605
	* generic/tclBasic.c
sl@0
   606
	* generic/tclCompile.h: 
sl@0
   607
	* generic/tclExecute.c: moving all code relative to bytecodes from
sl@0
   608
	tclBasic.c to tclExecute.c - the functions RecordTracebackInfo and
sl@0
   609
	Tcl_ExprObj went to tclExecute.c, and new interface function was
sl@0
   610
	defined (TclCompEvalObj).
sl@0
   611
	The final objective of this sequence of moves is to provide a
sl@0
   612
	clean, clear-cut interface between Tcl's core and the
sl@0
   613
	compiler/engine subsystem.  
sl@0
   614
sl@0
   615
2001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   616
sl@0
   617
	* generic/tclBasic.c
sl@0
   618
	* generic/tclCompile.h: 
sl@0
   619
	* generic/tclExecute.c: factoring out of common code in tclBasic.c
sl@0
   620
	(new function TclInterpReady defined: it resets the interp's
sl@0
   621
	result, then checks that it hasn't been deleted and that the
sl@0
   622
	nesting level is acceptable). Passed the responsibility of calling
sl@0
   623
	it to the *callers* of TclEvalObjvInternal.
sl@0
   624
sl@0
   625
2001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   626
sl@0
   627
	* generic/tclBasic.c
sl@0
   628
	* generic/tclExecute.c: a better variant of the previous-to-last
sl@0
   629
	commit (restoring numLevels computations). The managing of the
sl@0
   630
	levels now has to be done by the *callers* of TclEvalObjvInternal  
sl@0
   631
sl@0
   632
2001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   633
sl@0
   634
	* generic/tclExecute.c: missing variable declaration under
sl@0
   635
	TCL_COMPILE_DEBUG. 
sl@0
   636
sl@0
   637
2001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   638
sl@0
   639
	* generic/tclExecute.c:
sl@0
   640
	* generic/tclProc.c: restoring the computations of iPtr->numLevels
sl@0
   641
	to the original logic (previous to buggy modifs on 2001-11-16).
sl@0
   642
sl@0
   643
2001-11-20  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   644
sl@0
   645
	* tools/eolFix.tcl (new-file):
sl@0
   646
	* unix/Makefile.in: added EOL correction for Windows bat files to
sl@0
   647
	dist target. [Bug #219409] (davygrvy)
sl@0
   648
sl@0
   649
	* unix/tclUnixInit.c (TclpSetInitialEncodings): update of patch
sl@0
   650
	from 2001-11-16 that uses the old Tcl encoding check mechanism as
sl@0
   651
	a fallback to the original.  Also added a TCL_DEFAULT_ENCODING
sl@0
   652
	#define (defaults to iso8859-1).  Tcl will first try setlocale and
sl@0
   653
	nl_langinfo, and if that fails, guess based on certain LANG|LC_*
sl@0
   654
	env vars. [Patch #418645]
sl@0
   655
sl@0
   656
2001-11-19  David Gravereaux <davygrvy@pobox.com>
sl@0
   657
sl@0
   658
	* win/buildall.vc.bat:  Added useful comments.
sl@0
   659
sl@0
   660
2001-11-19  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   661
sl@0
   662
	* tests/compile.test: added a test for bug [Bug 483309]
sl@0
   663
sl@0
   664
2001-11-19  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
   665
sl@0
   666
	* win/tclWinFile.c:
sl@0
   667
	* win/tclWinFCmd.c:
sl@0
   668
	* win/tclWin32Dll.c:
sl@0
   669
	* doc/file.n:
sl@0
   670
	* tests/winFCmd.test: improved speed of file normalization
sl@0
   671
	for Win95/98, and clarified docs on differences in file
sl@0
   672
	normalization between NT/2000 and the older operating systems.
sl@0
   673
	Added test to ensure normalization is correct.
sl@0
   674
	
sl@0
   675
2001-11-19  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   676
sl@0
   677
	* generic/tclBasic.c:
sl@0
   678
	* generic/tclParse.c: Code reorganisation. Moved all evaluation
sl@0
   679
	functions from tclParse.c to tclBasic.c, so that now tclParse.c
sl@0
   680
	deals exclusively with parsing and all evaluations are done by
sl@0
   681
	code in tclBasic.c. The functions moved are: TclEvalObjvInternal,
sl@0
   682
	Tcl_EvalObjv, Tcl_LogCommandInfo, Tcl_EvalTokensStandard,
sl@0
   683
	Tcl_EvalTokens, Tcl_EvalEx, Tcl_Eval, Tcl_EvalObj and
sl@0
   684
	Tcl_GlobalEvalObj. 
sl@0
   685
sl@0
   686
2001-11-19  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
   687
sl@0
   688
	* tests/trace.test (trace-8.8): Added adapted version of Bug
sl@0
   689
	#219393 as new test; the test won't reliably show up the old
sl@0
   690
	problem unless it is being run under something like Purify, but
sl@0
   691
	something is better than nothing...
sl@0
   692
sl@0
   693
	* generic/tclVar.c (Tcl_TraceVar2, Tcl_UntraceVar2): Added missing
sl@0
   694
	mask bits for trace result type and a check for a nonsense flag
sl@0
   695
	combination.
sl@0
   696
	* generic/tclCmdMZ.c (TraceVarProc): Added missing test for NULL
sl@0
   697
	when deleting a trace that doesn't cause an error.
sl@0
   698
sl@0
   699
	* doc/TraceVar.3: Added documentation for change due to TIP#68.
sl@0
   700
sl@0
   701
	* generic/tclCmdMZ.c (TraceVarInfo): Removed problematic errMsg
sl@0
   702
	field from structure.
sl@0
   703
	(TraceVarProc): Removed references to errMsg field and changed
sl@0
   704
	handling of errors so that they returned a Tcl_Obj* containing the
sl@0
   705
	error string.  This minimizes the number of calls to the memory
sl@0
   706
	management subsystem.
sl@0
   707
	(TclTraceCommandObjCmd, TraceCommandProc): Removed references to
sl@0
   708
	errMsg field which was never used in command traces in any case.
sl@0
   709
	(Tcl_TraceObjCmd, TclTraceVariableObjCmd): Removed references to
sl@0
   710
	errMsg field and made variable traces register with
sl@0
   711
	TCL_TRACE_RESULT_OBJECT bit set.
sl@0
   712
sl@0
   713
	* generic/tcl.h (TCL_TRACE_RESULT_DYNAMIC,TCL_TRACE_RESULT_OBJECT): 
sl@0
   714
	New constants to define how to handle the strings returned from
sl@0
   715
	trace callbacks [TIP#68]
sl@0
   716
	* generic/tclVar.c (CallTraces, Tcl_GetVar2Ex, TclGetIndexedScalar,
sl@0
   717
	TclGetElementOfIndexedArray, Tcl_SetVar2Ex, TclSetIndexedScalar,
sl@0
   718
	TclSetElementOfIndexedArray, Tcl_UnsetVar2, Tcl_ArrayObjCmd,
sl@0
   719
	TclDeleteVars, TclDeleteCompiledLocalVars, DeleteArray,
sl@0
   720
	TclVarTraceExists): Support for those new trace flags.
sl@0
   721
sl@0
   722
2001-11-19  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   723
sl@0
   724
	* generic/tclCompCmds.c: patch for [Bug 483309] (petasis).
sl@0
   725
sl@0
   726
2001-11-16  Kevin B. Kenny  <kennykb@users.sourceforge.net>
sl@0
   727
sl@0
   728
	* generic/tclListObj.c: removed a C++-style comment that
sl@0
   729
	  was inadvertently left in the source code.
sl@0
   730
sl@0
   731
2001-11-16  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   732
sl@0
   733
	* tests/interp.test: 
sl@0
   734
	* generic/tclInterp.c (SlaveObjCmd): Corrected argument checking
sl@0
   735
	for '$interp alias|aliases|issafe'. [Patch #479560] (thoyts, hobbs)
sl@0
   736
sl@0
   737
	* unix/tclUnixInit.c: added HAVE_LANGINFO code block.
sl@0
   738
	* unix/configure: regened
sl@0
   739
	* unix/configure.in: added SC_ENABLE_LANGINFO call
sl@0
   740
	* unix/tcl.m4: made SHLIB_LD_LIBS='${LIBS}' for FreeBSD* (meyer)
sl@0
   741
	Added modified version of Wagner patch to make use of nl_langinfo
sl@0
   742
	where possible to determine Unix platform encoding, instead of the
sl@0
   743
	inflexible built-in system.  This is used by default when
sl@0
   744
	possible, and can be disabled with --enable-langinfo=no.
sl@0
   745
	[Patch #418645] (hobbs, wagner)
sl@0
   746
sl@0
   747
2001-11-16  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   748
sl@0
   749
	* generic/tclCompile.h:
sl@0
   750
	* generic/tclExecute.c:
sl@0
   751
	* generic/tclObj.c: moved Tcl_GetCommandFromObj and all defining
sl@0
   752
	code for tclCmdNameType objects to tclObj.c (from tclExecute.c). 
sl@0
   753
	This code has nothing to do with bytecodes.
sl@0
   754
sl@0
   755
2001-11-16  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
   756
sl@0
   757
	* generic/tclBasic.c:
sl@0
   758
	* generic/tclCompile.h:
sl@0
   759
	* generic/tclExecute.c:
sl@0
   760
	* generic/tclParse.c:
sl@0
   761
	* generic/tclProc.c:
sl@0
   762
	* tests/stack.test: consolidation of duplicated code (in
sl@0
   763
	TclExecuteByteCode and EvalObjv); renaming of EvalObjv to
sl@0
   764
	TclEvalObjv as it is not static anymore; restored consistency of
sl@0
   765
	level counts between compiled and directly evaled code.
sl@0
   766
	[Bug 480896]
sl@0
   767
sl@0
   768
2001-11-12  David Gravereaux <davygrvy@pobox.com>
sl@0
   769
sl@0
   770
	* win/makefile.vc:
sl@0
   771
	* win/rules.vc:  Small bug fixes.
sl@0
   772
sl@0
   773
	* win/README: added some docs pointing to the docs in makefile.vc
sl@0
   774
	for it's use.
sl@0
   775
sl@0
   776
2001-10-17  Kevin B. Kenny  <kennykb@users.sourceforge.net>
sl@0
   777
sl@0
   778
	* doc/lappend.n:
sl@0
   779
	* doc/lindex.n:
sl@0
   780
	* doc/linsert.n:
sl@0
   781
	* doc/list.n:
sl@0
   782
	* doc/llength.n:
sl@0
   783
	* doc/lrange.n:
sl@0
   784
	* doc/lsearch.n:
sl@0
   785
	* doc/lset.n (new-file):
sl@0
   786
	* doc/lsort.n:
sl@0
   787
	* generic/tclBasic.c (builtInCmds, Tcl_EvalObjEx):
sl@0
   788
	* generic/tclCmdIL.c (Tcl_LindexObjCmd, Tcl_LindexList):
sl@0
   789
	(Tcl_LindexFlat, Tcl_LsetObjCmd):
sl@0
   790
	* generic/tclCompCmds.c (Tcl_CompileLindexCmd, Tcl_CompileLsetCmd):
sl@0
   791
	* generic/tclCompile.c:
sl@0
   792
	* generic/tclCompile.h:
sl@0
   793
	* generic/tclExecute.c (TclExecuteByteCode):
sl@0
   794
	* generic/tclInt.decls:
sl@0
   795
	* generic/tclInt.h:
sl@0
   796
	* generic/tclIntDecls.h:
sl@0
   797
	* generic/tclListObj.c (TclLsetList, TclLsetFlat, TclSetListElement):
sl@0
   798
	* generic/tclObj.c (TclInitObjSubsystem):
sl@0
   799
	* generic/tclStubInit.c:
sl@0
   800
	* generic/tclTestObj.c (TestobjCmd):
sl@0
   801
	* generic/tclUtil.c (TclGetIntForIndex, SetEndOffsetFromAny):
sl@0
   802
	* generic/tclVar.c (Tcl_LappendObjCmd):
sl@0
   803
	* tests/lindex.test:
sl@0
   804
	* tests/lset.test (new-file):
sl@0
   805
	* tests/lsetComp.test (new-file):
sl@0
   806
	* tests/obj.test:
sl@0
   807
	* tests/string.test:
sl@0
   808
	* tests/stringComp.test:
sl@0
   809
	Reference implementation of TIP's #22, #33 and #45.  Adds the
sl@0
   810
	ability of the [lindex] command to have multiple index arguments,
sl@0
   811
	and adds the [lset] command.  Both commands are byte-code compiled.
sl@0
   812
	[Patch #471874] (work by Kenny, commited by Hobbs)
sl@0
   813
sl@0
   814
2001-11-12  David Gravereaux <davygrvy@pobox.com>
sl@0
   815
sl@0
   816
	* win/buildall.vc.bat(new):
sl@0
   817
	* win/makefile.vc:  Small fix with deriving the "OriginalFilename"
sl@0
   818
	string in the .rc scripts.  Added a quick batchfile for building
sl@0
   819
	the entire thing.
sl@0
   820
sl@0
   821
2001-11-12  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   822
sl@0
   823
	* doc/FileSystem.3:
sl@0
   824
	* doc/file.n:
sl@0
   825
	* doc/tcltest.n: converted use of \' to more reasonable format.
sl@0
   826
sl@0
   827
2001-11-10  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
   828
sl@0
   829
	* unix/Makefile.in:
sl@0
   830
	* win/Makefile.in: Add "make gdb" target. This target
sl@0
   831
	can run tclsh inside either gdb or insight.
sl@0
   832
sl@0
   833
2001-11-10  David Gravereaux <davygrvy@pobox.com>
sl@0
   834
sl@0
   835
	* win/makefile.vc:  Added a check to make sure one runs the makefile
sl@0
   836
	from the /win directory only.
sl@0
   837
sl@0
   838
	* win/mkd.bat:
sl@0
   839
	* win/rmd.bat:  Changes from Llyod Lim for better stability.
sl@0
   840
	[Patch #456759]
sl@0
   841
sl@0
   842
2001-11-09  David Gravereaux <davygrvy@pobox.com>
sl@0
   843
sl@0
   844
	* win/makefile.vc:
sl@0
   845
	* win/tcl.dsp:  winhelp target fixes for non-NT systems.  It
sl@0
   846
	seems NMAKE under these remembers changed directories during
sl@0
   847
	commands.   A new tcltest feature from Peter Spjuth 
sl@0
   848
	<peter.spjuth@space.se> to specify a pattern file from the
sl@0
   849
	commandline and redirecting output to a file when not under
sl@0
   850
	NT with it's scrollback console.  Then it replays it, piped
sl@0
   851
	through more.  Added 2 new static "configurations" to tcl.dsp.
sl@0
   852
	I could keep adding more, but I think we should leave it up to
sl@0
   853
	the user for customizing it.
sl@0
   854
sl@0
   855
	Sticky-points left:  'profile' option.
sl@0
   856
sl@0
   857
2001-11-09  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
   858
sl@0
   859
	* doc/FileSystem.3:
sl@0
   860
	* doc/StdChannels.3:
sl@0
   861
	* doc/file.n:
sl@0
   862
	* doc/tcltest.n:
sl@0
   863
	* tools/man2help.tcl: 
sl@0
   864
	* tools/man2help2.tcl: fixed winhelp generation problems
sl@0
   865
	[Patch #480268]
sl@0
   866
sl@0
   867
	* unix/configure:
sl@0
   868
	* unix/tcl.m4: added -lc to AIX libs, fixed path to ldAix
sl@0
   869
sl@0
   870
2001-11-09  Don Porter	<dgp@users.sourceforge.net>
sl@0
   871
sl@0
   872
	* tests/var.test:
sl@0
   873
	* generic/tclVar.c: Corrected bug in [global] when dealing
sl@0
   874
	with variable names matching :*.  [Bug 480176]
sl@0
   875
sl@0
   876
2001-11-08  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
   877
sl@0
   878
	Fixup stack size under OSF1. [Tcl patch 474790]
sl@0
   879
sl@0
   880
	* unix/configure: Regen.
sl@0
   881
	* unix/tcl.m4: Add HAVE_PTHREAD_ATTR_SETSTACKSIZE define
sl@0
   882
	to EXTRA_CFLAGS to adjust initial stack size.
sl@0
   883
sl@0
   884
2001-11-08  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
   885
sl@0
   886
	Enable thread support under FreeBSD. [Tcl bug 473708]
sl@0
   887
sl@0
   888
	* unix/configure: Regen.
sl@0
   889
	* unix/tcl.m4 (SC_ENABLE_THREADS): Check for pthread functions
sl@0
   890
	in libc_r and enable thread support if found.
sl@0
   891
	* unix/dltest/Makefile.in: Set SHLIB_LD_LIBS and use it in
sl@0
   892
	the Makefile to properly link a shared library.
sl@0
   893
sl@0
   894
2001-11-08  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
   895
sl@0
   896
	* unix/Makefile.in:
sl@0
   897
	* unix/dltest/Makefile.in:
sl@0
   898
	Avoid adding libc to the LIBS variable since it
sl@0
   899
	is not needed when linking with CC. If required
sl@0
   900
	when linking with LD it should be done on a case
sl@0
   901
	by case basis in tcl.m4.
sl@0
   902
sl@0
   903
2001-11-08  David Gravereaux <davygrvy@pobox.com>
sl@0
   904
sl@0
   905
	* win/rules.vc:
sl@0
   906
	* win/makefile.vc:  Fixed install target to adjust for the
sl@0
   907
	different build types.  Added a 'linkexten' option to link the
sl@0
   908
	win extensions inside the shell when built static.  Placed
sl@0
   909
	win/tclAppInit.c patch in SF patch DB for approval. 'profile'
sl@0
   910
	option not hooked in yet.  Everything else know is done.
sl@0
   911
sl@0
   912
	* win/tcl.dsp(new):
sl@0
   913
	* win/tcl.dsw(new):  Simple MsDev stub project files that calls
sl@0
   914
	makefile.vc.  Will help run Tcl in the debugger easier without
sl@0
   915
	confusing MsDev for where the .pdb files are.
sl@0
   916
sl@0
   917
2001-11-07  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
   918
sl@0
   919
	* unix/Makefile.in:
sl@0
   920
	* win/Makefile.in:
sl@0
   921
	Print a message indicating that the user should
sl@0
   922
	run "make genstubs" when the generated tclStubInit.c
sl@0
   923
	file is out of date. We can't regenerate automatically
sl@0
   924
	since there may be no tclsh on the system and that
sl@0
   925
	would cause bootstrap problems. [Tcl bug 465874]
sl@0
   926
sl@0
   927
2001-11-07  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
   928
sl@0
   929
	Define TCL_INCLUDE_SPEC in tclConfig.sh. It should be
sl@0
   930
	included by extensions that need to find Tcl include
sl@0
   931
	headers in the install location. The user can override
sl@0
   932
	the include install dir with --includedir so we need
sl@0
   933
	to record this information for extensions. [Tcl bug 421835]
sl@0
   934
	
sl@0
   935
	* unix/configure: Regen.
sl@0
   936
	* unix/configure.in: Define TCL_INCLUDE_SPEC.
sl@0
   937
	* unix/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
sl@0
   938
	* win/configure: Regen.
sl@0
   939
	* win/configure.in: Define TCL_INCLUDE_SPEC.
sl@0
   940
	* win/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
sl@0
   941
sl@0
   942
2001-11-07  David Gravereaux <davygrvy@pobox.com>
sl@0
   943
sl@0
   944
	* win/rules.vc:
sl@0
   945
	* win/makefile.vc: Dropped the NOMSVCRT macro and put it on the
sl@0
   946
	option list instead.  It makes more sense to me this way as
sl@0
   947
	NOMSVCRT=0 would only be the valid setting.  Fixed the dde and reg
sl@0
   948
	extension for building static.  Improved, but not perfected, the
sl@0
   949
	winhelp target.
sl@0
   950
sl@0
   951
2001-11-07  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
   952
sl@0
   953
	* win/README: Change minimum VC++ version to 5.X since
sl@0
   954
	4.X is known not to work.
sl@0
   955
	Indicate that Mingw is required and building with Cygwin
sl@0
   956
	gcc is not supported. Include instructions that indicate
sl@0
   957
	how to install Mingw and what URLs folks should use to
sl@0
   958
	download the supported version of Mingw.
sl@0
   959
	* win/configure: Regen.
sl@0
   960
	* win/configure.in: Error out if user tries to compile the
sl@0
   961
	Windows version of Tcl with Cygwin gcc. Users should compile
sl@0
   962
	with Mingw gcc instead.
sl@0
   963
sl@0
   964
2001-11-06  Andreas Kupries  <andreas_kupries@users.sourceforge.net> 
sl@0
   965
sl@0
   966
	* generic/tclIO.c (ReadChars): Fixed bug #478856 reported by
sl@0
   967
	  Stuart Cassoff <stwo@users.sourceforge.net>. The bug caused loss
sl@0
   968
	  of fileevents when [read]ing less data from the channel than
sl@0
   969
	  buffered. Due to an empty input buffer the flag
sl@0
   970
	  CHANNEL_NEED_MORE_DATA was set but never reset, causing the I/O
sl@0
   971
	  system to wait for more data instead of using a timer to
sl@0
   972
	  synthesize fileevents and to flush the pending data out of the
sl@0
   973
	  buffers.
sl@0
   974
sl@0
   975
2001-11-06  David Gravereaux <davygrvy@pobox.com>
sl@0
   976
sl@0
   977
	* win/rules.vc (new):
sl@0
   978
	* win/makefile.vc:  Complete over/under rewrite to support numerous
sl@0
   979
	build options all from the commandline itself without needing to
sl@0
   980
	edit the makefile.  Now requires vcvars32.bat to be run prior to
sl@0
   981
	running nmake for bootstraping the environment.  Fully doc'd usage
sl@0
   982
	for it is in makefile.vc.  Commentary welcome.  Sticky points left
sl@0
   983
	are:
sl@0
   984
sl@0
   985
	1) winhelp target shows errors in the converting script.
sl@0
   986
	2) .rc scripts aren't getting the right #defines to build the correct
sl@0
   987
	   "OriginalFilename" strings. (have patch, won't commit yet)
sl@0
   988
	3) Naming convention with suffixes describing the buildtype are 'tsdx'
sl@0
   989
	   which will need public acceptance. ie. tclsh84tsx.exe is a (t)
sl@0
   990
	   threaded shell (s) statically linked to the core and (x) uses
sl@0
   991
	   msvcrt instead of libcmt.
sl@0
   992
sl@0
   993
2001-11-04  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
   994
sl@0
   995
	* library/init.tcl: made filesystem fallback proc
sl@0
   996
	::tcl::CopyDirectory more robust to vagaries of non-native
sl@0
   997
	filesystems.
sl@0
   998
	
sl@0
   999
2001-11-02  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  1000
sl@0
  1001
	* doc/file.n:
sl@0
  1002
	* generic/tclIOUtil.c: updated documentation and comments
sl@0
  1003
	to clarify behaviour of 'file copy' wrt soft links.
sl@0
  1004
	
sl@0
  1005
2001-10-29  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  1006
sl@0
  1007
	* win/tclWinFile.c: fix to '-types {f r}' bug in
sl@0
  1008
	TclpMatchInDirectory (which could cause a UMR, as well as
sl@0
  1009
	returning wrong results).  Also improved API for 'stat'
sl@0
  1010
	to resolve [Bug#219258].
sl@0
  1011
	* win/tclWin32Dll.c
sl@0
  1012
	* win/tclWinInt.h: addition of improved stat API to internal 
sl@0
  1013
	lookup table.
sl@0
  1014
	* tests/fileName.test: two new tests for the above bug.
sl@0
  1015
	* generic/tclIOUtil.c: some cleanup of comments and #ifdefs
sl@0
  1016
	
sl@0
  1017
2001-10-29  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  1018
sl@0
  1019
	* unix/tclUnixFile.c (TclpMatchInDirectory): Argument to access()
sl@0
  1020
	was entryPtr->d_name instead of nativeEntry which failed when
sl@0
  1021
	trying to check access for files in other than the current
sl@0
  1022
	directory. [Bug 475941, reported by Georgios Petasis]
sl@0
  1023
sl@0
  1024
2001-10-25  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  1025
sl@0
  1026
	* unix/tclUnixChan.c: Added stateUpdated member to struct TtyState.
sl@0
  1027
	(TtyCloseProc,TtySetOptionProc,TtyInit): Use stateUpdated member
sl@0
  1028
	of TtyState to decide whether it is necessary to reset a serial
sl@0
  1029
	port when Tcl closes it.  Blindly resetting can cause Tcl to be
sl@0
  1030
	sent an unexpected SIGTSTP when it is executing in the background
sl@0
  1031
	[Bug 471374, reported by Chris Nelson]
sl@0
  1032
sl@0
  1033
2001-10-22  Andreas Kupries  <andreas_kupries@users.sourceforge.net> 
sl@0
  1034
sl@0
  1035
	* doc/ObjectType.3: Minor documentation fix, reported by David
sl@0
  1036
	  N. Welton <davidw@users.sourceforge.net> directly to me.
sl@0
  1037
sl@0
  1038
2001-10-22  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  1039
sl@0
  1040
	* win/tclWinFCmd.c: fix to stop test suite from hanging process
sl@0
  1041
	under some versions of WinNT. [Bug #466102] (Kevin Kenny)
sl@0
  1042
	
sl@0
  1043
2001-10-18  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1044
sl@0
  1045
	* tests/clock.test (clock-8.1): 
sl@0
  1046
	* generic/tclDate.c (RelativeMonth): 
sl@0
  1047
	* generic/tclGetDate.y (RelativeMonth): corrected off-by-one-day
sl@0
  1048
	error in clock scan with relative months and years during swing
sl@0
  1049
	hours. [Bug #413397, Patch #414024] (lavana)
sl@0
  1050
sl@0
  1051
2001-10-18  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  1052
sl@0
  1053
	* generic/tclIOUtil.c: fix to bug in Tcl_FSChdir shown up
sl@0
  1054
	by recent tclkit builds.
sl@0
  1055
sl@0
  1056
2001-10-17  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1057
sl@0
  1058
	* unix/tclUnixPipe.c (PipeInputProc, PipeOutputProc): do immediate
sl@0
  1059
	retry when error is returned with errno == EINTR.
sl@0
  1060
	[Bug #415131] (leger)
sl@0
  1061
sl@0
  1062
2001-10-16  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1063
sl@0
  1064
	* unix/tclLoadAout.c (TclGuessPackageName): removed unused vars
sl@0
  1065
	and fixed warnings. [Bug #446622] (lim)
sl@0
  1066
sl@0
  1067
2001-10-15  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1068
sl@0
  1069
	* generic/tclProc.c: changing a memcmp to strncmp to avoid a memory
sl@0
  1070
	error detected by purify (thanks Jeff); modify style to agrre with
sl@0
  1071
	the style guide. 
sl@0
  1072
	
sl@0
  1073
2001-10-15  Andreas Kupries  <andreas_kupries@users.sourceforge.net> 
sl@0
  1074
sl@0
  1075
	* generic/tclInt.decls (TclExpandCodeArray,TclGetInstructionTable):
sl@0
  1076
	  Added to internal stubs table. Tclcompiler (Tclpro project)
sl@0
  1077
	  needs them if used as loadable package under Windows. Changed
sl@0
  1078
	  signatures. We don't want to describe compiler internal
sl@0
  1079
	  structures in "tclInt.h".
sl@0
  1080
sl@0
  1081
	* generic/tclCompile.h: S.a. Removed function declarations.
sl@0
  1082
	* generic/tclCompile.c: S.a. Adapted to changed signatures.
sl@0
  1083
sl@0
  1084
2001-10-15  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1085
sl@0
  1086
	* unix/configure: 
sl@0
  1087
	* unix/configure.in: 
sl@0
  1088
	* win/configure: 
sl@0
  1089
	* win/configure.in: 
sl@0
  1090
	* win/tcl.m4: reworked to be a little cleaner in comparison to
sl@0
  1091
	each other, and to AC_SUBST even empty vars for win/tclConfig.sh
sl@0
  1092
sl@0
  1093
	* generic/tclFileName.c: minor code cleanup
sl@0
  1094
sl@0
  1095
	* generic/tcl.h: moved #define of WIN32 to tcl.h where __WIN32__
sl@0
  1096
	is defined and added #ifndef check.
sl@0
  1097
sl@0
  1098
	* doc/open.n: moved all fconfigure option docs to fconfigure.n
sl@0
  1099
	* doc/fconfigure.n: added serial config options
sl@0
  1100
sl@0
  1101
	* win/tclWinChan.c:
sl@0
  1102
	* win/tclWinPort.h:
sl@0
  1103
	* win/tclWinSerial.c: added TIP #35 Windows enhancements for
sl@0
  1104
	serial configuration. [Patch #438509] (schroedter)
sl@0
  1105
sl@0
  1106
2001-10-15  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  1107
sl@0
  1108
	* generic/tclFCmd.c: fix to memory leak in TclFileDeleteCmd on
sl@0
  1109
	certain error conditions.
sl@0
  1110
	* doc/FileSystem.3: fix to typo.
sl@0
  1111
	
sl@0
  1112
2001-10-12  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1113
sl@0
  1114
	* library/encoding/ebcdic.enc:
sl@0
  1115
	* tools/encoding/ebcdic.txt: EBCDIC charset mapping.
sl@0
  1116
	[Patch #219323] (nijtmans)
sl@0
  1117
sl@0
  1118
	* library/encoding/tis-620.enc:
sl@0
  1119
	* tools/encoding/tis-620.txt: TIS-620 charset mapping.
sl@0
  1120
	[Patch #467423] (poonlap)
sl@0
  1121
sl@0
  1122
	* tests/http.test: added removeFile for outdata
sl@0
  1123
sl@0
  1124
	* tests/ioCmd.test: added catch around file removal, as Windows
sl@0
  1125
	file locking throws errors.
sl@0
  1126
sl@0
  1127
	* tests/socket.test (socket-7.2): corrected to work on Win2K.
sl@0
  1128
sl@0
  1129
2001-10-12  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1130
	
sl@0
  1131
	* tests/compile.test: new tests for [Bug 467523]; they are only
sl@0
  1132
	effective if TCL_MEM_DEBUG was set during compilation.
sl@0
  1133
sl@0
  1134
2001-10-11  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1135
	
sl@0
  1136
	* generic/tclLiteral.c (TclReleaseLiteral): insured that
sl@0
  1137
	self-referential bytecodes are properly cleaned up on interpreter
sl@0
  1138
	deletion [Bug 467523] (Ronnie Brunner)
sl@0
  1139
sl@0
  1140
2001-10-10  David Gravereaux  <davygrvy@pobox.com>
sl@0
  1141
sl@0
  1142
	* win/tclWinPort.h:  #include <winsock2.h> needed to get moved
sl@0
  1143
	to after #include <windows.h> or wierd misunderstandings took
sl@0
  1144
	place when -D_WIN32_WINNT=0x0400 is set for outside code that
sl@0
  1145
	requires knowledge of Tcl innards.  General header macro magic
sl@0
  1146
	applied liberally...
sl@0
  1147
sl@0
  1148
2001-10-10  Don Porter	<dgp@users.sourceforge.net>
sl@0
  1149
sl@0
  1150
	* tests/unixInit.test:	Corrected restore of ::env(LANG).
sl@0
  1151
sl@0
  1152
2001-10-09  Jeff Hobbs	<jeffh@ActiveState.com>
sl@0
  1153
sl@0
  1154
	* generic/tclFileName.c (Tcl_SplitPath): corrected mem leak
sl@0
  1155
	intro'd with VFS code where the result obj from Tcl_FSSplitPath
sl@0
  1156
	was not getting freed.
sl@0
  1157
sl@0
  1158
2001-10-09  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1159
	
sl@0
  1160
	* generic/tclLiteral.c: (TclReleaseLiteral) reverted previous
sl@0
  1161
	patch for [Bug 467523] - cure is worse than the illness.
sl@0
  1162
sl@0
  1163
2001-10-05  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1164
	
sl@0
  1165
	* generic/tclLiteral.c: (TclReleaseLiteral) insured that
sl@0
  1166
	self-referential bytecodes are properly cleaned up on interpreter
sl@0
  1167
	deletion [Bug 467523] (Ronnie Brunner)
sl@0
  1168
sl@0
  1169
2001-10-04  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1170
sl@0
  1171
	* tools/configure:
sl@0
  1172
	* tools/configure.in: noted 8.4 as default Tcl version
sl@0
  1173
sl@0
  1174
	* library/encoding/cp936.enc:
sl@0
  1175
	* library/encoding/cp949.enc:
sl@0
  1176
	* library/encoding/cp950.enc:
sl@0
  1177
	* library/encoding/iso8859-16.enc:
sl@0
  1178
	* library/encoding/macCroatian.enc:
sl@0
  1179
	* library/encoding/macCyrillic.enc:
sl@0
  1180
	* library/encoding/macGreek.enc:
sl@0
  1181
	* library/encoding/macIceland.enc:
sl@0
  1182
	* library/encoding/macRoman.enc:
sl@0
  1183
	* library/encoding/macTurkish.enc:
sl@0
  1184
	* tools/encoding/cp1250.txt:
sl@0
  1185
	* tools/encoding/cp1251.txt:
sl@0
  1186
	* tools/encoding/cp1252.txt:
sl@0
  1187
	* tools/encoding/cp1253.txt:
sl@0
  1188
	* tools/encoding/cp1254.txt:
sl@0
  1189
	* tools/encoding/cp1255.txt:
sl@0
  1190
	* tools/encoding/cp1256.txt:
sl@0
  1191
	* tools/encoding/cp1257.txt:
sl@0
  1192
	* tools/encoding/cp1258.txt:
sl@0
  1193
	* tools/encoding/cp874.txt:
sl@0
  1194
	* tools/encoding/cp932.txt:
sl@0
  1195
	* tools/encoding/cp936.txt:
sl@0
  1196
	* tools/encoding/cp949.txt:
sl@0
  1197
	* tools/encoding/cp950.txt:
sl@0
  1198
	* tools/encoding/iso8859-1.txt:
sl@0
  1199
	* tools/encoding/iso8859-10.txt:
sl@0
  1200
	* tools/encoding/iso8859-13.txt:
sl@0
  1201
	* tools/encoding/iso8859-14.txt:
sl@0
  1202
	* tools/encoding/iso8859-15.txt:
sl@0
  1203
	* tools/encoding/iso8859-16.txt:
sl@0
  1204
	* tools/encoding/iso8859-2.txt:
sl@0
  1205
	* tools/encoding/iso8859-3.txt:
sl@0
  1206
	* tools/encoding/iso8859-4.txt:
sl@0
  1207
	* tools/encoding/iso8859-5.txt:
sl@0
  1208
	* tools/encoding/iso8859-6.txt:
sl@0
  1209
	* tools/encoding/iso8859-7.txt:
sl@0
  1210
	* tools/encoding/iso8859-8.txt:
sl@0
  1211
	* tools/encoding/iso8859-9.txt:
sl@0
  1212
	* tools/encoding/koi8-r.txt:
sl@0
  1213
	* tools/encoding/macCentEuro.txt:
sl@0
  1214
	* tools/encoding/macCroatian.txt:
sl@0
  1215
	* tools/encoding/macCyrillic.txt:
sl@0
  1216
	* tools/encoding/macGreek.txt:
sl@0
  1217
	* tools/encoding/macIceland.txt:
sl@0
  1218
	* tools/encoding/macRoman.txt:
sl@0
  1219
	* tools/encoding/macTurkish.txt:
sl@0
  1220
	Updated encodings with latest mappings from www.unicode.org.  This
sl@0
  1221
	did not include some Mac encodings that have special multi-unichar
sl@0
  1222
	translations now (like symbols, dingbats and japanese).  Also does
sl@0
  1223
	not include big5, gb or euc* as those have different formats in
sl@0
  1224
	the latest Unicode version that need new conversion tools.  Not
sl@0
  1225
	all related .enc files changed as some had been updates separately.
sl@0
  1226
sl@0
  1227
2001-10-03  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1228
sl@0
  1229
	* generic/tclEvent.c (Tcl_FinalizeThread): moved freeing of
sl@0
  1230
	tclLibraryPath to before the thread exit handlers are called.
sl@0
  1231
	Slight modification to change on 2001-09-24.
sl@0
  1232
sl@0
  1233
2001-10-01  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1234
sl@0
  1235
	* win/configure: regen'ed
sl@0
  1236
	* win/tcl.m4:
sl@0
  1237
	* win/makefile.vc: added Win64 SDK RC1 compilation support
sl@0
  1238
	* win/Makefile.in: added $(LDFLAGS_CONSOLE) to TCLSH, TCLTEST and
sl@0
  1239
	PIPE_DLL_FILE targets to get the link flags
sl@0
  1240
sl@0
  1241
	* win/tclWinInit.c: minor 64bit casts
sl@0
  1242
sl@0
  1243
2001-10-01  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1244
sl@0
  1245
	* generic/tclCmdIL.c:
sl@0
  1246
	* generic/tclCmdMZ.c:
sl@0
  1247
	* generic/tclParseExpr.c: removed unnecessary inclusion of
sl@0
  1248
	tclCompile.h and made a small modification in (InfoBodyCmd) to
sl@0
  1249
	improve the isolation of the compiler/engine subsystem.
sl@0
  1250
sl@0
  1251
2001-09-29  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  1252
sl@0
  1253
	* generic/tclIOUtil.c:
sl@0
  1254
	* doc/FileSystem.3: corrected and clarified documentation
sl@0
  1255
	for 'Tcl_FSListVolumes(Proc)'.  No code changes.
sl@0
  1256
	
sl@0
  1257
2001-09-28  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1258
sl@0
  1259
	* doc/FindExec.3: added a comment not to change the working
sl@0
  1260
	directory before calling Tcl_GetNameOfExecutable [Bug 219215] 
sl@0
  1261
sl@0
  1262
2001-09-28  Kevin Kenny   <kennykb@users.sourceforge.net>
sl@0
  1263
sl@0
  1264
	* generic/tclIO.c: added two more '(ClientData)' casts
sl@0
  1265
	on calls to Tcl_Preserve and Tcl_Release -- ones that
sl@0
  1266
	Vince apparently missed.
sl@0
  1267
	
sl@0
  1268
2001-09-28  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  1269
sl@0
  1270
	* doc/lsort.n: Improved doc...
sl@0
  1271
	* generic/tclCmdIL.c (Tcl_LsortObjCmd, SortCompare): Made
sl@0
  1272
	offset-from-end indexing work, and factored out some "magic
sl@0
  1273
	numbers" for easier understanding.  [Bug #465674]
sl@0
  1274
	* tests/cmdIL.test (cmdIL-1.26): Added test for offset-from-end
sl@0
  1275
	indexing for lsort.
sl@0
  1276
sl@0
  1277
2001-09-28  Vince Darley  <vincentdarley@users.sourceforge.net>
sl@0
  1278
sl@0
  1279
	* win/tclWinFCmd.c:
sl@0
  1280
	* unix/tclUnixFCmd.c: fix to performance issue reported
sl@0
  1281
	by jcw in which 'access("")' is called unnecessarily when
sl@0
  1282
	normalizing any absolute path.
sl@0
  1283
	* generic/tclIO.c: added '(ClientData)' cast to calls to
sl@0
  1284
	Tcl_(Preserve|Release) newly introduced, fixing compile
sl@0
  1285
	error on Windows.
sl@0
  1286
	
sl@0
  1287
2001-09-27  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1288
sl@0
  1289
	* doc/FileSystem.3 (Tcl_FSLoadFile):
sl@0
  1290
	* generic/tcl.decls (Tcl_FSLoadFile):
sl@0
  1291
	* generic/tcl.h (Tcl_FSLoadFileProc):
sl@0
  1292
	* generic/tclInt.h (TclpLoadFile):
sl@0
  1293
	* generic/tclIOUtil.c (Tcl_FSLoadFile):
sl@0
  1294
	* generic/tclLoadNone.c (TclpLoadFile):
sl@0
  1295
	* generic/tclTest.c (TestReportLoadFile):
sl@0
  1296
	* library/ldAout.tcl:
sl@0
  1297
	* mac/tclMacLoad.c (TclpLoadFile):
sl@0
  1298
	* unix/tclLoadAix.c (TclpLoadFile):
sl@0
  1299
	* unix/tclLoadAout.c (TclpLoadFile):
sl@0
  1300
	* unix/tclLoadDl.c (TclpLoadFile):
sl@0
  1301
	* unix/tclLoadDld.c (TclpLoadFile):
sl@0
  1302
	* unix/tclLoadDyld.c (TclpLoadFile):
sl@0
  1303
	* unix/tclLoadNext.c (TclpLoadFile):
sl@0
  1304
	* unix/tclLoadOSF.c (TclpLoadFile):
sl@0
  1305
	* unix/tclLoadShl.c (TclpLoadFile):
sl@0
  1306
	* win/tclWinLoad.c (TclpLoadFile):
sl@0
  1307
	* win/tclWinFCmd.c (DoRemoveJustDirectory):  More CONST poisoning
sl@0
  1308
	fixes from the 2001-09-24 TIP 27 changes.  CONST-ified
sl@0
  1309
	Tcl_FSLoadFile and TclpLoadFile.  Report and patch from Kevin
sl@0
  1310
	Kenny. [Bug 465833]
sl@0
  1311
sl@0
  1312
	* generic/tclIO.c (ChannelTimerProc):  Added Tcl_Preserve()
sl@0
  1313
	and Tcl_Release() to fix segfault introduced by the 2001-09-26
sl@0
  1314
	changes.  [Bug 465494]
sl@0
  1315
sl@0
  1316
	* doc/TCL_MEM_DEBUG.3:  Updated out-of-date reference to
sl@0
  1317
	#define GUARD_SIZE.
sl@0
  1318
sl@0
  1319
	* doc/UpVar.3 (Tcl_UpVar,Tcl_UpVar2):
sl@0
  1320
	* generic/tcl.decls (Tcl_UpVar,Tcl_UpVar2):
sl@0
  1321
	* generic/tclInt.decls (TclFindProc,TclGetFrame):
sl@0
  1322
	* generic/tclInt.h (TclFindProc,TclGetFrame,TclLookupVar,
sl@0
  1323
	  TclPrecTraceProc,TclProcInterpProc}):
sl@0
  1324
	* generic/tclProc.c (TclGetFrame,TclFindProc):
sl@0
  1325
	* generic/tclVar.c (Tcl_UpVar,Tcl_UpVar2,MakeUpvar):  Updated APIs in
sl@0
  1326
	generic/tclProc.c and generic/tclVar.c according to the guidelines
sl@0
  1327
	of TIP 27.  [Patch 465442]
sl@0
  1328
sl@0
  1329
	* generic/tclDecls.h:
sl@0
  1330
	* generic/tclIntDecls.h: make genstubs
sl@0
  1331
sl@0
  1332
2001-09-26  Andreas Kupries  <andreas_kupries@users.sourceforge.net> 
sl@0
  1333
sl@0
  1334
	* doc/fileevent.n: Accepted [Patch #465279] adding an example to
sl@0
  1335
	  the fileevent manpage. Minor modifications to get a better
sl@0
  1336
	  formatting. Report and patch by David N. Welton
sl@0
  1337
	  <davidw@users.sourceforge.net>.
sl@0
  1338
sl@0
  1339
	* The changes below fix [Bug #462317] where Expect tried to read
sl@0
  1340
	  more than was in the buffers and then blocked in the OS call as
sl@0
  1341
	  its pty channel driver provides no blockmodeproc through which
sl@0
  1342
	  the OS could be notified of blocking-behaviour. Because of this
sl@0
  1343
	  the general I/O core has to take more care than usual to
sl@0
  1344
	  preserve the semantics of non-blocking channels.
sl@0
  1345
sl@0
  1346
	  The problem was reported by "Kevin O'Gorman"
sl@0
  1347
	  <kevin@kosmanor.com>.
sl@0
  1348
sl@0
  1349
	* generic/tclIO.c (Tcl_ReadRaw): Do not read from the driver if
sl@0
  1350
	  the channel is non-blocking and the fileevent causing the read
sl@0
  1351
	  was generated by a timer. We do not know if there is data
sl@0
  1352
	  available from the OS. Instead of going to the OS for more and
sl@0
  1353
	  potentially blocking we simply signal EWOULDBLOCK to the higher
sl@0
  1354
	  levels to cause the system to wait for true fileevents.
sl@0
  1355
	  (GetInput): Same as before.
sl@0
  1356
	  (ChannelTimerProc): Added set and clear of CHANNEL_TIMER_FEV.
sl@0
  1357
sl@0
  1358
	* generic/tclIO.h (CHANNEL_TIMER_FEV): New flag for channels. Is
sl@0
  1359
	  set if a fileevent was generated by a timer, the channel is not
sl@0
  1360
	  blocking and the driver did not provide a blockmodeproc. In that
sl@0
  1361
	  case the I/O core has to be especially careful about going to
sl@0
  1362
	  the driver for more data.
sl@0
  1363
sl@0
  1364
2001-09-26  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1365
sl@0
  1366
	* doc/SplitPath.3 (Tcl_GetPathType):
sl@0
  1367
	* generic/tcl.decls (Tcl_GetPathType):
sl@0
  1368
	* generic/tclFileName.c (Tcl_GetPathType):
sl@0
  1369
	* win/tclWinFile.c (TclpMatchInDirectory, NativeStat):  Vince
sl@0
  1370
	Darley reports the 2001-09-24 TIP 27 changes left the win
sl@0
  1371
	directory CONST poisoned.  These changes should fix that.
sl@0
  1372
sl@0
  1373
	* generic/tclDecls.h: make genstubs
sl@0
  1374
sl@0
  1375
2001-09-25  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1376
sl@0
  1377
	* doc/GetInt.3:
sl@0
  1378
	* generic/tclInt.h (TclGetLong deleted):
sl@0
  1379
	* generic/tcl.decls:
sl@0
  1380
	* generic/tclInt.decls:
sl@0
  1381
	* generic/tclGet.c:  Updated APIs in generic/tclGet.c
sl@0
  1382
	according to the guidelines of TIP 27.  [Patch 464674]
sl@0
  1383
sl@0
  1384
	* generic/tclDecls.h: 
sl@0
  1385
	* generic/tclIntDecls.h: make genstubs
sl@0
  1386
sl@0
  1387
2001-09-25  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1388
sl@0
  1389
	* generic/tclVar.c: removed comments referring to unused flag
sl@0
  1390
	TCL_PARSE_PART1. 
sl@0
  1391
	
sl@0
  1392
2001-09-24  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1393
sl@0
  1394
	* doc/Concat.3:
sl@0
  1395
	* doc/DString.3:
sl@0
  1396
	* doc/SplitList.3:
sl@0
  1397
	* generic/tclInt.h (TclCheckBadOctal):
sl@0
  1398
	* generic/tcl.decls:
sl@0
  1399
	* generic/tclInt.decls:
sl@0
  1400
	* generic/tclEncoding.c (OpenEncodingFile):
sl@0
  1401
	* generic/tclMain.c (Tcl_Main):
sl@0
  1402
	* generic/tclUtil.c:
sl@0
  1403
	* unix/tclLoadDl.c (TclpLoadFile):  Updated APIs in 
sl@0
  1404
	generic/tclUtil.c according to the guidelines of TIP 27.
sl@0
  1405
	[Patch 464553]
sl@0
  1406
sl@0
  1407
	* generic/tclDecls.h: 
sl@0
  1408
	* generic/tclIntDecls.h: make genstubs
sl@0
  1409
sl@0
  1410
2001-09-24  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  1411
sl@0
  1412
	* The change below fixes [Bug #464380]. The bug was reported by
sl@0
  1413
	  Ronnie Brunner <rbrunner@users.sourceforge.net>. He also
sl@0
  1414
	  provided the patch.
sl@0
  1415
	
sl@0
  1416
	* generic/tclEvent.c (Tcl_Finalize): Moved release of
sl@0
  1417
	  'tclLibraryPath' to Tcl_FinalizeThread.
sl@0
  1418
	  (Tcl_FinalizeThread): See above, new place for release of
sl@0
  1419
	  'tclLibraryPath'.
sl@0
  1420
sl@0
  1421
2001-09-24  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  1422
sl@0
  1423
	* tools/encoding/cp1252.txt: File was missing part of the encoding
sl@0
  1424
	  [euro, ZCaron and zcaron].
sl@0
  1425
sl@0
  1426
	* doc/OpenFileChnl.3: Add docs for Tcl_OutputBuffered; remove some
sl@0
  1427
	  old changebars.
sl@0
  1428
sl@0
  1429
2001-09-21  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1430
sl@0
  1431
	* generic/tclExecute.c (TclExecuteByteCode): corrected
sl@0
  1432
	  INST_STR_CMP else case for strings to pass true utf char length
sl@0
  1433
	  to Tcl_UtfNCmp.
sl@0
  1434
sl@0
  1435
2001-09-20  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1436
sl@0
  1437
	* win/tclWinInit.c: added extra processor definitions. (mstacy)
sl@0
  1438
sl@0
  1439
	* win/tclWinSock.c (SocketThread): corrected pointer cast for _WIN64.
sl@0
  1440
sl@0
  1441
	* win/tclWinNotify.c: removed unnecessary winsock include (it is
sl@0
  1442
	  already in from tclWinPort.h).
sl@0
  1443
sl@0
  1444
	* win/tclWinPort.h: changed winsock.h include to winsock2.h.
sl@0
  1445
	  Reverses change from 2000-11-16, but is necessary for WIN64.
sl@0
  1446
	  Extensions should comply with defined OS words, or use #ifndef.
sl@0
  1447
sl@0
  1448
2001-09-20  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  1449
sl@0
  1450
	* tests/socket.test: removed dependence on being run from same dir
sl@0
  1451
	  as remote.tcl, which only now needs to be in the same dir as
sl@0
  1452
	  this file.  [Bug #219326]
sl@0
  1453
sl@0
  1454
2001-09-19  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1455
sl@0
  1456
	* generic/tclTest.c (TestcmdtokenCmd): corrected pointer
sl@0
  1457
	  storage/retrieval for 64bit machines.
sl@0
  1458
sl@0
  1459
	* generic/tclCmdAH.c (Tcl_FormatObjCmd):
sl@0
  1460
	* generic/tclScan.c (Tcl_ScanObjCmd): corrected handling of format
sl@0
  1461
	and scan on 64-bit machines. [Bug #412696] (rmax)
sl@0
  1462
sl@0
  1463
	* unix/configure: regen'ed
sl@0
  1464
	* unix/tcl.m4: added --enable-64bit support for HP-11 with the
sl@0
  1465
	64-bit kernel.
sl@0
  1466
sl@0
  1467
	* tests/basic.test:
sl@0
  1468
	* tests/cmdInfo.test: improved skip reporting of missing commands
sl@0
  1469
sl@0
  1470
	* tests/winFCmd.test: simplified error check for winFCmd-7.9
sl@0
  1471
sl@0
  1472
	* tests/winPipe.test: removed obsolete cat16 tests
sl@0
  1473
sl@0
  1474
	* generic/tclExecute.c (TclExecuteByteCode): fixed invalid usage
sl@0
  1475
	of valuePtr in TRACE_WITH_OBJ in INST_EVAL_STK case. [Bug #462594]
sl@0
  1476
	Changed INST_STR_CMP instruction to promote to Unicode strings
sl@0
  1477
	only when one of the strings is already of Unicode type.
sl@0
  1478
sl@0
  1479
	* generic/tclExecute.c (TclExecuteByteCode):
sl@0
  1480
	* generic/tclCompile.c (instructionTable):
sl@0
  1481
	* generic/tclCompCmds.c (TclCompileStringCmd): INST_STR_MATCH -
sl@0
  1482
	Updated to Int1 instruction type and added special case to use
sl@0
  1483
	INST_STR_EQ instead when no glob chars are specified in a static
sl@0
  1484
	string.
sl@0
  1485
sl@0
  1486
	* tests/{for.test,foreach.test,if.test,while.test}:
sl@0
  1487
	* generic/tclCompCmds.c (TclCompileForCmd, TclCompileForeachCmd,
sl@0
  1488
	TclCompileIfCmd, TclCompileWhileCmd): Corrected the overaggressive
sl@0
  1489
	compiling of loop bodies enclosed in ""s.  [Bug #219166] (msofer)
sl@0
  1490
sl@0
  1491
2001-09-19  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1492
	
sl@0
  1493
	* generic/tclExecute.c: insured that execution stack errors are
sl@0
  1494
	also detected at abnormal returns.
sl@0
  1495
sl@0
  1496
2001-09-19  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  1497
sl@0
  1498
	* doc/socket.n: Added documentation to mention what happens when a
sl@0
  1499
	server socket is created with port=0.  Removed an old change bar,
sl@0
  1500
	and no new change bar because Tcl has always behaved this way as
sl@0
  1501
	it is really a poorly-documented standards-defined OS feature.
sl@0
  1502
sl@0
  1503
	* tests/util.test (util-8.1): Test derived from code to detect the
sl@0
  1504
	problem, but the test always works in the C locale, so beware if
sl@0
  1505
	you are maintaining the code.
sl@0
  1506
	* generic/tclUtil.c (TclNeedSpace): Rewrote to be UTF-8 aware.
sl@0
  1507
	[Bug 411825, but not that patch which would have added extra
sl@0
  1508
	spaces if there was a real non-ASCII space involved. ]
sl@0
  1509
sl@0
  1510
2001-09-18 Andreas Kupries  <andreas_kupries@users.sourceforge.net> 
sl@0
  1511
sl@0
  1512
	* generic/tclIOCmd.c (Tcl_PutsObjCmd): Rewritten to have saner and
sl@0
  1513
	  faster argument handling.  Fixes bug #123552. Patch provided by
sl@0
  1514
	  Donal K. Fellows <fellowsd@cs.man.ac.uk>: #402564.
sl@0
  1515
sl@0
  1516
2001-09-18  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1517
sl@0
  1518
	* unix/configure: Regen.
sl@0
  1519
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): On Linux, disable inlining when
sl@0
  1520
	one of the compat/*.c routines is to be linked in. [Patch 440891]
sl@0
  1521
sl@0
  1522
2001-09-17  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1523
sl@0
  1524
	* generic/tcl.h: removed forced #define USE_TCLALLOC 1 for
sl@0
  1525
	Windows.  This means the native system allocator will be used by
sl@0
  1526
	default.  This should be binary and source compatible with
sl@0
  1527
	extensions, as Tcl_Alloc is a properly stubbed function.
sl@0
  1528
sl@0
  1529
2001-09-17  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1530
	
sl@0
  1531
	* generic/tclExecute.c: corrected small bug in [Patch 456668] -
sl@0
  1532
	the varFramePtr was not restored in one possible exit.
sl@0
  1533
sl@0
  1534
2001-09-17  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1535
	
sl@0
  1536
	* doc/tclvars.n:
sl@0
  1537
	* generic/tclCompile.c:
sl@0
  1538
	* generic/tclCompile.h:
sl@0
  1539
	* generic/tclExecute.c:
sl@0
  1540
	* generic/tclProc.c: disabled all compile and execution tracing
sl@0
  1541
	functionality in standard builds; TCL_COMPILE_DEBUG is now
sl@0
  1542
	necessary to enable it. [Bug 451858]
sl@0
  1543
sl@0
  1544
2001-09-14  Andreas Kupries <andreas_kupries@users.sourceforge.net>
sl@0
  1545
sl@0
  1546
	* doc/gets.n: 
sl@0
  1547
	* doc/read.n: 
sl@0
  1548
	* doc/puts.n: 
sl@0
  1549
	* doc/flush.n: 
sl@0
  1550
	* doc/fconfigure.n: 
sl@0
  1551
	* doc/flush.n: 
sl@0
  1552
	* doc/eof.n: 
sl@0
  1553
	* doc/seek.n: 
sl@0
  1554
	* doc/tell.n: 
sl@0
  1555
	* doc/close.n: 
sl@0
  1556
	* doc/fileevent.n: Added references to the Tcl standard
sl@0
  1557
	  channels. Item [219250], reported by David LeBlanc
sl@0
  1558
	  <whisper@oz.net>. Thanks to Christopher Nelson
sl@0
  1559
	  <chris@pinebush.com> for doing editorial work.
sl@0
  1560
sl@0
  1561
2001-09-13  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  1562
sl@0
  1563
	* win/Makefile.in:
sl@0
  1564
	* win/configure.in:
sl@0
  1565
	* win/makefile.bc:
sl@0
  1566
	* win/makefile.vc:
sl@0
  1567
	* library/dde/pkgIndex.tcl: Fixed version numbers from bogus tcl
sl@0
  1568
	  versions to independent versions for dde and registry packages.
sl@0
  1569
sl@0
  1570
2001-09-13  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1571
sl@0
  1572
	* tests/regexp.test (regexp-20.1):
sl@0
  1573
	* generic/tclCmdMZ.c (Tcl_RegsubObjCmd): had to adjust fix from
sl@0
  1574
	2001-08-06 to actually duplicate the objects in certain cases.
sl@0
  1575
	This is really a place where feather would have been essential.
sl@0
  1576
	[Bug #461322]
sl@0
  1577
sl@0
  1578
	* generic/tclUtf.c (Tcl_UtfPrev): corrected to return the proper
sl@0
  1579
	location when the middle of a UTF-8 byte was passed in.
sl@0
  1580
	[Tk Bug #450504]
sl@0
  1581
sl@0
  1582
	* ChangeLog.1999:
sl@0
  1583
	* ChangeLog: broke changes from 199x into ChangeLog.1999 to reduce
sl@0
  1584
	  size of the main ChangeLog.
sl@0
  1585
sl@0
  1586
2001-09-13  Andreas Kupries <andreas_kupries@users.sourceforge.net>
sl@0
  1587
sl@0
  1588
	* tests/ioCmd.test: Changed the computation of the result for
sl@0
  1589
	  iocmd-8.1[123] so that the tests work for single- and
sl@0
  1590
	  multi-process execution of the testsuite. Depending on the
sl@0
  1591
	  choice of the user stdout is a tty or not and thus reports
sl@0
  1592
	  different channel options. Fixes [460993] reported by Don
sl@0
  1593
	  Porter.
sl@0
  1594
sl@0
  1595
2001-09-13  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1596
sl@0
  1597
	* doc/ParseCmd.3:  
sl@0
  1598
	* generic/tcl.decls:
sl@0
  1599
	* generic/tclCmdMZ.c (Tcl_SubstObjCmd):
sl@0
  1600
	* generic/tclDecls.h:
sl@0
  1601
	* generic/tclParse.c:
sl@0
  1602
	* generic/tclStubInit.c:
sl@0
  1603
	* tests/parse.test: Deprecate the use of Tcl_EvalTokens, replaced
sl@0
  1604
	by the new Tcl_EvalTokensStandard. The new function performs the
sl@0
  1605
	same duties but adheres to the standard return convention for Tcl
sl@0
  1606
	evaluations; the deprecated function could only return TCL_OK or
sl@0
  1607
	TCL_ERROR, which caused [Bug 219384] and [Bug 455151].
sl@0
  1608
	This patch implements [TIP 56].
sl@0
  1609
	
sl@0
  1610
2001-09-12  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  1611
sl@0
  1612
	* unix/configure: Regen.
sl@0
  1613
	* unix/tcl.m4: Invert the logic that checks for $GCC.
sl@0
  1614
	Instead of checking for "$GCC" = "no" we check for
sl@0
  1615
	"$GCC" != "yes" or simply swap the true and false
sl@0
  1616
	blocks of code in an if statement. That way if
sl@0
  1617
	GCC is set to "" everything will still work. [Bug 460991]
sl@0
  1618
sl@0
  1619
2001-09-12  Don Porter <msofer@users.sourceforge.net>
sl@0
  1620
sl@0
  1621
	* tests/appendComp.test:
sl@0
  1622
	* tests/lsearch.test:
sl@0
  1623
	* tests/namespace.test:
sl@0
  1624
	* tests/rename.test:
sl@0
  1625
	* tests/split.test:  Corrected tests to better isolate tests in
sl@0
  1626
	one file from influencing tests in other files.  [Bug 460591]
sl@0
  1627
sl@0
  1628
2001-09-12  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1629
sl@0
  1630
	* generic/tcl.decls: reserved stub #481 for the implementation of
sl@0
  1631
	[TIP 56]
sl@0
  1632
sl@0
  1633
2001-09-11  Andreas Kupries <andreas_kupries@users.sourceforge.net>
sl@0
  1634
sl@0
  1635
	* doc/OpenFileChnl.3: Added documentation for Tcl_WriteRaw and
sl@0
  1636
	  Tcl_ReadRaw [#414929].
sl@0
  1637
	
sl@0
  1638
	* doc/CrtChannel.3: Added documentation for Tcl_ChannelBuffered
sl@0
  1639
	  and Tcl_GetTopChannel [#414929].
sl@0
  1640
sl@0
  1641
	* The changes below are a fix for [219253].
sl@0
  1642
sl@0
  1643
	* tests/socket.test: Removed _most_ instances of hardwired port
sl@0
  1644
	  numbers for listening sockets. Remaining are the ports in all
sl@0
  1645
	  tests with constraint 'doTestsWithRemoteServer'. These seem to
sl@0
  1646
	  be designed for a more controlled environment and are usually
sl@0
  1647
	  skipped when running the testsuite.
sl@0
  1648
sl@0
  1649
	* tests/io.test: Removed all instances of hardwired port numbers
sl@0
  1650
	  for listening sockets.
sl@0
  1651
sl@0
  1652
2001-09-10  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1653
sl@0
  1654
	* generic/tclEvent.c (TclInExit): Corrected handling of tsd in
sl@0
  1655
	late stages of finalization.  [Bug #419449] (darley)
sl@0
  1656
sl@0
  1657
	* tests/stack.test:
sl@0
  1658
	* generic/tclInterp.c (AliasObjCmd): Check the numLevels to ensure
sl@0
  1659
	that we aren't hitting some alias loop condition.  [Bug #443184]
sl@0
  1660
sl@0
  1661
2001-09-10  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  1662
sl@0
  1663
	* unix/configure: Regen.
sl@0
  1664
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't include . characters
sl@0
  1665
	in the Tcl library name when building on FreeBSD 3.X and later
sl@0
  1666
	systems. [Patch 450725]
sl@0
  1667
sl@0
  1668
2001-09-10  Andreas Kupries <andreas_kupries@users.sourceforge.net>
sl@0
  1669
sl@0
  1670
	* doc/tclsh.1:
sl@0
  1671
	* doc/Tcl_Main.3: 
sl@0
  1672
	* doc/CrtChannel.3: 
sl@0
  1673
	* doc/OpenFileChnl.3: 
sl@0
  1674
	* doc/GetStdChan.3: Enhanced the manpages with cross-references to
sl@0
  1675
	  the new manpage and more explanations how these functions deal
sl@0
  1676
	  with the standard channels in various situations.
sl@0
  1677
sl@0
  1678
	* doc/StdChannels.3: New manpage describing handling of the
sl@0
  1679
	  standard channels by the Tcl library [402725].
sl@0
  1680
sl@0
  1681
2001-09-10  Don Porter <dgp@users.sourceforge.net>
sl@0
  1682
sl@0
  1683
	* unix/mkLinks (Tcl_FSLink): Updated to reflect 2001-08-23
sl@0
  1684
	file system changes.
sl@0
  1685
sl@0
  1686
	* unix/tclLoadShl.c:  Added #include of tclInt.h; access to Tcl
sl@0
  1687
	internals, notably TclpUnloadFile(), is required.  Thanks to
sl@0
  1688
	Bob Techentin for report and patch.  [Bug 459305]
sl@0
  1689
sl@0
  1690
	* generic/tclInitScript.h (initScript):
sl@0
  1691
	* win/tclWinInit.c (TCL_REGISTRY_KEY, TclpSetVariables):  Removed
sl@0
  1692
	vestiges of Tcl's old initialization from registry variables.
sl@0
  1693
	[Bug 455645]
sl@0
  1694
sl@0
  1695
2001-09-10  Andreas Kupries <andreas_kupries@users.sourceforge.net>
sl@0
  1696
sl@0
  1697
	* generic/tclInt.decls: Also added 'TclWinFlushDirtyChannels' to
sl@0
  1698
	  the internal platform specific stub table.
sl@0
  1699
sl@0
  1700
	* win/tclWinFile.c (TclpObjStat): Now added the call to
sl@0
  1701
	  'TclWinFlushDirtyChannels' to this function. I don't know where
sl@0
  1702
	  my head was last thursday (2001-09-06), but the call was
sl@0
  1703
	  actually added to 'TclpObjChdir', i.e. the implementation of
sl@0
  1704
	  [cd]. Corrected this now. Thanks to Vince Darley for spotting
sl@0
  1705
	  this.
sl@0
  1706
sl@0
  1707
2001-09-10  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1708
sl@0
  1709
	* generic/tclProc.c:
sl@0
  1710
	* tests/proc.test: made [proc] bytecompile a no-op for procs
sl@0
  1711
	defined with _args_ as single argument and an empty body.
sl@0
  1712
	[FQ 451441] 
sl@0
  1713
	
sl@0
  1714
2001-09-09  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  1715
sl@0
  1716
	* unix/Makefile.in:
sl@0
  1717
	* win/Makefile.in: Use () around variable name
sl@0
  1718
	instead of {}. Use TCLTEST variable directly
sl@0
  1719
	instead of depending on the tcltest alias.
sl@0
  1720
sl@0
  1721
2001-09-09  David Gravereaux <davygrvy@pobox.com>
sl@0
  1722
sl@0
  1723
	* generic/tcl.h:
sl@0
  1724
	* generic/tclPlatDecls.h:  Reminder from David Cuthbert <dacut@kanga.org>
sl@0
  1725
	that I hadn't finished the Borland compatibility stuff.
sl@0
  1726
	[Patch: 436116]
sl@0
  1727
sl@0
  1728
2001-09-09  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  1729
sl@0
  1730
	* tests/cmdAH.test: Modify cmdAH-20.5 and cmdAH-24.8
sl@0
  1731
	to display the file atime or mtime results if
sl@0
  1732
	the test fails.
sl@0
  1733
sl@0
  1734
2001-09-08  David Gravereaux <davygrvy@pobox.com>
sl@0
  1735
sl@0
  1736
	* win/mkd.bat:
sl@0
  1737
	* win/rmd.bat: made these text files, text files again.
sl@0
  1738
	[Patch: 451333]
sl@0
  1739
sl@0
  1740
2001-09-08  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  1741
sl@0
  1742
	* win/mkd.bat:
sl@0
  1743
	* win/rmd.bat:
sl@0
  1744
	Apply binary property (cvs admin -kb) to files and convert
sl@0
  1745
	to CRLF linefeed format to fix the VC++ build. [Bug #219409]
sl@0
  1746
sl@0
  1747
2001-09-08 Vince Darley <vincentdarley@users.sourceforge.net>
sl@0
  1748
sl@0
  1749
	* generic/tclInt.h: 
sl@0
  1750
	* generic/tclFCmd.c:
sl@0
  1751
	* doc/FileSystem.3:
sl@0
  1752
	* generic/tclIOUtil.c: removed Tcl_FSCopyFile fallback
sl@0
  1753
	to channel copying, since the channels will not have
sl@0
  1754
	access to interpreters and the channel copying currently
sl@0
  1755
	requires an interp.  Code which required cross-platform
sl@0
  1756
	copies always has interpreters, so that solves the problem.
sl@0
  1757
	Fixes bug in TclKit.
sl@0
  1758
	
sl@0
  1759
2001-09-07  David Gravereaux <davygrvy@pobox.com>
sl@0
  1760
sl@0
  1761
	* win/tcl.m4: Added -link50compat option so a VC6 linker makes
sl@0
  1762
	a VC5 (pre sp3) compatible import library.
sl@0
  1763
	[Bug: 219257]
sl@0
  1764
sl@0
  1765
2001-09-07  Mo DeJong  <mdejong@users.sourceforge.net>
sl@0
  1766
sl@0
  1767
	* win/tclWinThrd.c (TclpThreadExit): Cast status argument to
sl@0
  1768
	_endthreadex to unsigned instead of DWORD to match the Win32
sl@0
  1769
	function prototype.
sl@0
  1770
sl@0
  1771
2001-09-06  Andreas Kupries <andreas_kupries@users.sourceforge.net>
sl@0
  1772
sl@0
  1773
	* All the changes below serve to fix bug [219148] which reports a
sl@0
  1774
	  80x performance hit for file I/O on Win* systems. On my system
sl@0
  1775
	  it was closer to a 120x hit. Problem report by Uwe Traum <no
sl@0
  1776
	  email address available>.
sl@0
  1777
sl@0
  1778
	  The fix goes like this: The obstacle is 'FlushFileBuffers',
sl@0
  1779
	  executed whenever Tcl writes data to the OS, as Tcl has to wait
sl@0
  1780
	  for the disk to complete I/O, and disks are slow. We remove that
sl@0
  1781
	  obstacle. This opens another problem, [file size] reports back
sl@0
  1782
	  wrong numbers. So for [file size] we add the call back in. As
sl@0
  1783
	  optimization we keep track of the channels which were written to
sl@0
  1784
	  and flush only these.
sl@0
  1785
sl@0
  1786
	* win/tclWinFile.c (TclpObjStat): Added a call to
sl@0
  1787
	  'TclWinFlushDirtyChannels'. This ensures that [file size] and
sl@0
  1788
	  related commands report the correct size of a file even if Tcl
sl@0
  1789
	  has recently written to it. Unixoid OS's always report the
sl@0
  1790
	  correct size even for files with pending data, but Win*
sl@0
  1791
	  syssystem don't. They only report what is actually on disk.
sl@0
  1792
sl@0
  1793
	* win/tclWinInt.h: Added declaration of
sl@0
  1794
	  'TclWinFlushDirtyChannels', making it available to other parts
sl@0
  1795
	  of the tcl core.
sl@0
  1796
sl@0
  1797
	* win/tclWinChan.c (TclWinFlushDirtyChannels): New, internal,
sl@0
  1798
	  procedure. Goes through the list of open file channels and
sl@0
  1799
	  forces the OS to flush its file buffers for all which were
sl@0
  1800
	  written to since the last call of this function. This is an
sl@0
  1801
	  expensive operation as Tcl has to wait for the OS to complete
sl@0
  1802
	  actual writes to the disk.
sl@0
  1803
sl@0
  1804
	  (FileInfo): Added dirty flag required by the procedure above.
sl@0
  1805
sl@0
  1806
	  (FileOutputProc): Removed flushing of file buffers, setting the
sl@0
  1807
	  dirty flag instead. This means that the previously incurred
sl@0
  1808
	  delays do not happen anymore.
sl@0
  1809
sl@0
  1810
	  (TclWinOpenFileChannel): Added initialization of 'dirty' flag.
sl@0
  1811
sl@0
  1812
2001-09-06  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1813
sl@0
  1814
	* doc/http.n: noted -binary, charset and coding state keys.
sl@0
  1815
	* tests/http.test:
sl@0
  1816
	* library/http/pkgIndex.tcl:
sl@0
  1817
	* library/http/http.tcl (geturl): correctly get charset parameter
sl@0
  1818
	and convert text according to specified encoding (if known).  RFC
sl@0
  1819
	iso8859-1 is used by default.  Also recognize Content-encoding to
sl@0
  1820
	see if we should do binary translation.  Added a CYA -binary
sl@0
  1821
	switch for the cases that were missed. [Bug #219211 #219399]
sl@0
  1822
sl@0
  1823
	* tests/ioUtil.test: changed to make better use of constraints and
sl@0
  1824
	remove knownBug constraints that weren't valid.
sl@0
  1825
sl@0
  1826
2001-09-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1827
sl@0
  1828
	* tests/unixInit.test (unixInit-3.2): Updated test to support
sl@0
  1829
	  newer HP-UX releases that properly report euc-jp as the system
sl@0
  1830
	  encoding for Japanese.  Bug report and patch verification by Bob
sl@0
  1831
	  Techentin.  [Bug 453883]
sl@0
  1832
sl@0
  1833
	* doc/http.n:
sl@0
  1834
	* library/http/*.tcl:
sl@0
  1835
	* tools/tcl.wse.in:
sl@0
  1836
	* tools/tclmin.wse:
sl@0
  1837
	* unix/Makefile.in:
sl@0
  1838
	* win/{Mm}akefile.*:  Updated http package to version 2.4,
sl@0
  1839
	reflecting the new features just added.
sl@0
  1840
sl@0
  1841
2001-09-06 Vince Darley <vincentdarley@users.sourceforge.net>
sl@0
  1842
sl@0
  1843
	* generic/tclTest.c: tests of old-fs hooks no longer cause problems
sl@0
  1844
	in threaded builds.  Also removed unused unload proc.
sl@0
  1845
	* generic/tcl.decls:
sl@0
  1846
	* generic/tclIOUtilc: added Tcl_FSMountsChanged so that a vfs
sl@0
  1847
	can inform the filesystem that the filesystem epoch must be
sl@0
  1848
	changed (since cached filesystems may now be incorrect).  Fixes
sl@0
  1849
	problem running tclvfs extension.
sl@0
  1850
	* library/tcltest/tcltest.tcl: if tests aren't in a native
sl@0
  1851
	filesystem, then don't use pipes to run them. [Bug 458741]
sl@0
  1852
	
sl@0
  1853
2001-09-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  1854
sl@0
  1855
	* generic/tcl.decls (479 generic): 
sl@0
  1856
	* generic/tclIO.c (Tcl_Seek,Tcl_Tell,Tcl_OutputBuffered): Added
sl@0
  1857
	public function to return the size of the output buffer and
sl@0
  1858
	reworked other channel functions to use this shared functionality
sl@0
  1859
	and that of Tcl_InputBuffered() too. [TIP#49, Rolf Schroedter]
sl@0
  1860
sl@0
  1861
2001-09-05  David Gravereaux <davygrvy@pobox.com>
sl@0
  1862
sl@0
  1863
	* generic/tclPlatDecls.h:  Another small trim finalizing Borland
sl@0
  1864
	support.
sl@0
  1865
sl@0
  1866
	* win/tclWinPipe.c:
sl@0
  1867
	* win/tclWinPort.h:  More Borland compatibility fixes.  Changed
sl@0
  1868
	EDQUOT #define from 49 to 69.  Borland had a clash as it was already
sl@0
  1869
	using this number.  Upon advice from Helmut Giese, EDQUOT has been
sl@0
  1870
	found in other header files #defined as 69.
sl@0
  1871
	[Patch: 436116]
sl@0
  1872
sl@0
  1873
	* win/.cvsignore:  A few more glob patterns added.
sl@0
  1874
sl@0
  1875
	* win/makefile.bc (new):  Borland lives once more! rejoice..
sl@0
  1876
	* generic/tclAlloc.c: Small Borland compatibility fix.
sl@0
  1877
	* win/tclWinTime.c:  More Borland compatibility fixes.
sl@0
  1878
	[Patch: 436116]
sl@0
  1879
sl@0
  1880
2001-09-05 Vince Darley <vincentdarley@users.sourceforge.net>
sl@0
  1881
sl@0
  1882
	* tests/winFCmd.test: made notWin2000 constraint false if not
sl@0
  1883
	running on Windows at all.
sl@0
  1884
	
sl@0
  1885
2001-09-04  David Gravereaux <davygrvy@pobox.com>
sl@0
  1886
sl@0
  1887
	* win/tclWinThrd.c:  Revisited _beginthreadex() stuff.  Instead
sl@0
  1888
	of assuming a c-runtime implimentation of _beginthreadex normal,
sl@0
  1889
	I reversed the logic to not assume, and use when is by explicitly
sl@0
  1890
	needing to add runtimes that support it such as Borland.
sl@0
  1891
sl@0
  1892
	* generic/tcl.h:
sl@0
  1893
	* generic/tclPlatDecls.h:  Borland compatibility change so
sl@0
  1894
	ClientData was properly typed as a void* and TCHAR would not be
sl@0
  1895
	defined twice.
sl@0
  1896
sl@0
  1897
	* generic/tcl.h:  Removed a small mistake from before.  Changes to
sl@0
  1898
	the EXTERN macro for proper Borland compatibility will have to see
sl@0
  1899
	a TIP.  What's this with the MS compiler:
sl@0
  1900
sl@0
  1901
		__declspec(dllexport) int func (int a, int b);
sl@0
  1902
sl@0
  1903
	will have to be this with Borland:
sl@0
  1904
sl@0
  1905
		int __cdecl __export func (int a, int b);
sl@0
  1906
sl@0
  1907
	The order of the attribute needs to be after the return type.
sl@0
  1908
sl@0
  1909
2001-09-04  Don Porter  <dgp@users.sourceforge.net>
sl@0
  1910
sl@0
  1911
	* compat/strtod.c (strtod):  Fixed failure to handle expressions
sl@0
  1912
	like 3eq2 and failure to set errno on overflow.  [Bug 440894]
sl@0
  1913
sl@0
  1914
2001-09-04  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1915
sl@0
  1916
	* generic/tclProc.c:
sl@0
  1917
	* tests/proc.test: made [proc] check that formal args have
sl@0
  1918
	simple names [Bug 458548] 
sl@0
  1919
sl@0
  1920
2001-09-04 Vince Darley <vincentdarley@users.sourceforge.net>
sl@0
  1921
sl@0
  1922
	Minor bug fixes in filesystem, plus small vfs changes as a 
sl@0
  1923
	result of enabling the test filesystem to work properly.
sl@0
  1924
	* tests/fileName.test: ensure new test cleans up after itself
sl@0
  1925
	* doc/filename.n: 
sl@0
  1926
	* generic/tclFileName.c: improved Mac path handling and document
sl@0
  1927
	why [Bug: 421842] on Windows handling of UNC paths is not valid.
sl@0
  1928
	Documentation and code now much clearer on what is and is not a 
sl@0
  1929
	UNC path.
sl@0
  1930
	* doc/FileSystem.3:
sl@0
  1931
	* unix/tclUnixPipe.c:
sl@0
  1932
	* generic/tclFCmd.c:
sl@0
  1933
	* generic/tclIOUtil.c: fixed error message, fixed [Bug: 453512]
sl@0
  1934
	about dangerous use of tmpnam, replaced with mkstemp.  
sl@0
  1935
	Documented all the changes.
sl@0
  1936
	* generic/tclTest.c: made test vfs fully functional as a 
sl@0
  1937
	'reporting filesystem'.
sl@0
  1938
	* generic/tcl.stubs:
sl@0
  1939
	* generic/tcl.h:
sl@0
  1940
	* generic/tclInt.h: 
sl@0
  1941
	* generic/tclIOUtil.c:
sl@0
  1942
	* doc/file.n:
sl@0
  1943
	* various platform-specific 'TclpLoadFile': fixed comments about 
sl@0
  1944
	unload behaviour, and completed objectification of loading.
sl@0
  1945
	Required change to Tcl_Filesystem lookup table, so incompatible
sl@0
  1946
	with 8.4a3, but not older versions of Tcl.  The change also
sl@0
  1947
	allows 'link' and 'reporting' filesystems to function correctly
sl@0
  1948
	when loading files.  Implementation of 'file delete -force'
sl@0
  1949
	copes with case where cwd is inside the directory.  Moved
sl@0
  1950
	overlooked Tcl_FSGetPathType from internal to external API.
sl@0
  1951
	Made sure filesystems which are registered and then unregistered
sl@0
  1952
	are only freed when all references to them are gone.
sl@0
  1953
	Documented changes.
sl@0
  1954
	* unix/tclUnixFCmd.c: when deleting directories recursively,
sl@0
  1955
	make sure permissions are ok.  Together with the above, this
sl@0
  1956
	fixes [Bug: 219139]
sl@0
  1957
	* tests/winFCmd.test: differentiated test results for win2k 
sl@0
  1958
	versus not.  This fixes [Bug: 219239]
sl@0
  1959
	* tests/fCmd.test: added tests for 'file delete -force' where
sl@0
  1960
	the cwd is inside, and when permissions are inadequate.
sl@0
  1961
	
sl@0
  1962
2001-09-04  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  1963
sl@0
  1964
	* generic/tclCompile.c: fixed incorrect operands for INST_LIST
sl@0
  1965
	[Bug: 458241] (David Cuthbert, dacut@users.sourceforge.net)
sl@0
  1966
sl@0
  1967
2001-09-03  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1968
sl@0
  1969
	* generic/tclExecute.c (TclExecuteByteCode): fixed missing comma
sl@0
  1970
	in debug macro.
sl@0
  1971
sl@0
  1972
2001-09-03  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  1973
sl@0
  1974
	* doc/ExprLongObj.3: Fixed error in documentation of argument type
sl@0
  1975
	to Tcl_ExprObj [Bug: 457435]
sl@0
  1976
sl@0
  1977
2001-09-02  David Gravereaux <davygrvy@pobox.com>
sl@0
  1978
sl@0
  1979
	* win/tclWinThrd.c:  Portability fix for Cygwin who's c-runtime,
sl@0
  1980
	not surprisingly, doesn't have the MSVCRT specific _beginthreadex /
sl@0
  1981
	_endthreadex pair.  This might have to be revisited for proper
sl@0
  1982
	Borland, lcc32, Watcom and other support as well.
sl@0
  1983
	[Patch: 444255]
sl@0
  1984
sl@0
  1985
	* win/tclWinThrd.c:  Moved FinalizeConditionEvent() proto to within
sl@0
  1986
	the main #ifdef TCL_THREADS block to avoid mingw warning about it
sl@0
  1987
	being there but unused.
sl@0
  1988
sl@0
  1989
	* win/makefile.vc:  Added -Zl (zee el) to tclStubLib.c compile line
sl@0
  1990
	to make sure the tclstub84.lib static library is built without
sl@0
  1991
	requiring a specific C-runtime library at link-time for the end-use
sl@0
  1992
	developer.  It has been noted on c.l.t that this trips many first
sl@0
  1993
	time users trying to make extensions.
sl@0
  1994
	[Patch: 403533]
sl@0
  1995
sl@0
  1996
2001-08-31  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  1997
sl@0
  1998
	* generic/tclInt.h: added TclCompileListCmd header
sl@0
  1999
	* generic/tclBasic.c: added TclCompileListCmd compile proc
sl@0
  2000
	* generic/tclCompCmds.c (TclCompileListCmd): function to compile
sl@0
  2001
	the 'list' command at parse time.
sl@0
  2002
	* generic/tclExecute.c (TclExecuteByteCode): definition of
sl@0
  2003
	INST_LIST bytecode.
sl@0
  2004
sl@0
  2005
	* doc/StringObj.3: added words of warning to use Tcl_ResetResult
sl@0
  2006
	with the Tcl_Append* functions.
sl@0
  2007
sl@0
  2008
	* tests/compile.test: added compile-11.* interp result checks
sl@0
  2009
	* generic/tclUtil.c (TclGetIntForIndex): added Tcl_ResetResult
sl@0
  2010
	before Tcl_AppendStringsToObj to prevent shared object crash when
sl@0
  2011
	called from bcc instruction.  The Tcl_Append* calls that append to
sl@0
  2012
	the result object that are invoked by bcc insts must remember to
sl@0
  2013
	call Tcl_ResetResult because the bcc doesn't do this for us.
sl@0
  2014
	[Bug #456892]
sl@0
  2015
sl@0
  2016
2001-08-30  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2017
sl@0
  2018
	* generic/tclIndexObj.c: fixed some casting problems that upset
sl@0
  2019
	Crays. [Bug #419528] (andreasen)
sl@0
  2020
sl@0
  2021
2001-08-30  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2022
sl@0
  2023
	* generic/tcl.h: Silence warning from Sun compiler. [Bug 454374]
sl@0
  2024
sl@0
  2025
2001-08-30  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  2026
sl@0
  2027
	* generic/tclExecute.c: allow cached fully-qualified command names
sl@0
  2028
	to be usable from different namespaces within the same interpreter
sl@0
  2029
	without forcing a new lookup. This speeds up scripts that pass
sl@0
  2030
	command names in variables ("this" in some OO packages).
sl@0
  2031
	[Patch 456668]. 
sl@0
  2032
sl@0
  2033
2001-08-30 Vince Darley <vincentdarley@users.sourceforge.net>
sl@0
  2034
sl@0
  2035
	Further fs updates.  After examining the most common Tcl
sl@0
  2036
	extensions (TclX, BLT, Tk, TclPro, Mktclapp), it has been
sl@0
  2037
	determined that only TclpGetCwd and the Access/Stat/Open
sl@0
  2038
	insert/delete hooks of the internal fs functions are ever used.
sl@0
  2039
	The remaining functions from Tcl's internal interfaces have
sl@0
  2040
	therefore been removed, since Tcl now exports a more suitable
sl@0
  2041
	public API (Tcl_FS...)
sl@0
  2042
	
sl@0
  2043
	* generic/tclInt.stubs:
sl@0
  2044
	* generic/tclInt.h: updated for removed internal functions.
sl@0
  2045
	Some new internal functions have been put in tclInt.h (and
sl@0
  2046
	not exported in the stub table because good public equivalents
sl@0
  2047
	exist).
sl@0
  2048
	* generic/tclTest.c: some test functions used the internal private 
sl@0
  2049
	APIs.  These tests have been retained, but modified to use 
sl@0
  2050
	public APIs.  Also objectified the internal filesystem tests.
sl@0
  2051
	* win/tclWinFile.c: removed TclpStat, TclpAccess and refactored
sl@0
  2052
	code to use NativeAccess, NativeStat.  This should speed up
sl@0
  2053
	stat, access and glob commands.
sl@0
  2054
	* win/tclWinFCmd.c: removed all TclpCopy/Rename/Delete 
sl@0
  2055
	File/Directory string-based procedures which aren't used any more.
sl@0
  2056
	Improved efficiency of some other procedures. Ensure that filename
sl@0
  2057
	conversions with a NULL interp do not crash Tcl.
sl@0
  2058
	* mac/tclMacFCmd.c: wrapped long lines and cleaned up
sl@0
  2059
	TclpObjNormalizePath, removed all TclpCopy/Rename/Delete 
sl@0
  2060
	File/Directory string-based procedures which aren't used any more.
sl@0
  2061
	* mac/tclMacFile.c: removed obsolete TclpStat, TclpAccess, TclpChdir,
sl@0
  2062
	etc.
sl@0
  2063
	* unix/tclUnixFCmd.c: removed use of TclpAccess, removed all
sl@0
  2064
	TclpCopy/Rename/Delete File/Directory string-based procedures which
sl@0
  2065
	aren't used any more.
sl@0
  2066
	* unix/tclUnixFile.c: removed obsolete TclpStat, TclpAccess, TclpChdir,
sl@0
  2067
	etc.
sl@0
  2068
	* tcl(Unix|Mac|Win)Chan.c: objectified TclpOpenFileChannel.
sl@0
  2069
	* various 'load' implementations all objectified.
sl@0
  2070
	* generic/tclFileName.c: removed redundant code.
sl@0
  2071
	* generic/tclIOUtil.c: removed TclStat, TclAccess, TclpListVolumes.
sl@0
  2072
	Fix to MatchInDirectory at the root of a volume.  Also improved
sl@0
  2073
	some documentation, and improved default path joining behaviour
sl@0
  2074
	for virtual filesystems, especially regarding '~'.
sl@0
  2075
	* tests/fileName.test: added tests to check for bugs fixed above.
sl@0
  2076
	* doc/FileName.3: improved documentation
sl@0
  2077
	
sl@0
  2078
2001-08-30  David Gravereaux <davygrvy@pobox.com>
sl@0
  2079
sl@0
  2080
	* generic/tclAsync.c:
sl@0
  2081
	* generic/tclEvent.c:
sl@0
  2082
	* generic/tclInt.h: Improper cleanup of asyncMutex in tclAsync.c
sl@0
  2083
	repaired.  TclFinalizeSynchronization() was trying to remove a
sl@0
  2084
	registered mutex that was dumped earlier when the TSD it was stored
sl@0
  2085
	in was cleared. This was only surfacing on *nix.  Windows was being
sl@0
  2086
	masked by mutexes not actually being returned to the system!  That
sl@0
  2087
	was repaired in a previous patch.  Needed to add a private
sl@0
  2088
	TclFinalizeAsync() to tclAsync.c and called from Tcl_FinalizeThread().
sl@0
  2089
	Pheww..  Is this done yet?
sl@0
  2090
	[Bug: 414419] requested by Rob Ratcliff <rrr6399@futuretek.com>
sl@0
  2091
sl@0
  2092
2001-08-28  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2093
sl@0
  2094
	* generic/tclCompCmds.c (TclPushVarName): noted 'static' defn.
sl@0
  2095
	[Bug #453872]
sl@0
  2096
sl@0
  2097
2001-08-26  Don Porter <dgp@users.sourceforge.net>
sl@0
  2098
sl@0
  2099
	* library/auto.tcl (tcl_findLibrary):
sl@0
  2100
	* tests/unixInit.test (unixInit-2.{1,9}):
sl@0
  2101
	* unix/tclUnixInit.c (TclpInitLibraryPath):
sl@0
  2102
	* win/tclWinInit.c (TclpInitLibraryPath):  Corrected 
sl@0
  2103
	inconsistency between  the search path for script libraries and
sl@0
  2104
	the directory name $DISTNAME into which distributions built
sl@0
  2105
	by 'make test' unpack.  [Bug 455642]
sl@0
  2106
sl@0
  2107
2001-08-24  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2108
sl@0
  2109
	* tests/stringComp.test: added string-1.3
sl@0
  2110
	* generic/tclCompCmds.c (TclCompileStringCmd): changed to return
sl@0
  2111
	TCL_OUT_LINE_COMPILE instead of TCL_ERROR when compiling and an
sl@0
  2112
	unknown string method is called.  This is necessary as the string
sl@0
  2113
	command may be never called, or not until 'string' is redefined.
sl@0
  2114
sl@0
  2115
2001-08-24 Vince Darley <vincentdarley@users.sourceforge.net>
sl@0
  2116
sl@0
  2117
	* doc/glob.n: documented windows-style path issue with glob.
sl@0
  2118
	[Bug: 219392]
sl@0
  2119
	* doc/filename.n: documented windows path/file length limitation.
sl@0
  2120
	[Bug: 454597]
sl@0
  2121
sl@0
  2122
2001-08-24  Don Porter <dgp@users.sourceforge.net>
sl@0
  2123
sl@0
  2124
	* tests/unixInit.test (unixInit-2.9): Corrected expected result
sl@0
  2125
	to match Tcl's quirky construction of its init library path.
sl@0
  2126
sl@0
  2127
2001-08-23  Andreas Kupries <andreas_kupries@users.sourceforge.net>
sl@0
  2128
sl@0
  2129
	* win/tclWinPipe.c (BuildCommandLine): Fixed tcl Bug
sl@0
  2130
	  [432499]. Part of the code used the non-absolute path to the
sl@0
  2131
	  executable to determine quoting. This failed if the absolute
sl@0
  2132
	  path contained spaces, but the application name itself not. This
sl@0
  2133
	  bug caused no trouble on Win NT 5, but does for other variants
sl@0
  2134
	  in the Win* family. Report and fix due to Ken Poole
sl@0
  2135
	  <kenpoole@users.sourceforge.net>.
sl@0
  2136
sl@0
  2137
2001-08-23  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2138
sl@0
  2139
	* unix/configure:
sl@0
  2140
	* unix/tcl.m4: added QNX-6 build support. [Bug #219410] (loverso)
sl@0
  2141
sl@0
  2142
	* unix/tclUnixFCmd.c:
sl@0
  2143
	* generic/tclIOUtil.c:
sl@0
  2144
	* generic/tclFileName.c: corrected minor compiler warnings.
sl@0
  2145
sl@0
  2146
2001-08-23 Vince Darley <vincentdarley@users.sourceforge.net>
sl@0
  2147
sl@0
  2148
	Variety of small filesystem and vfs issues fixed or improved.
sl@0
  2149
	The new fs code allows many new opportunities for efficiency
sl@0
  2150
	improvements through the objectified API. The main changes
sl@0
  2151
	integrated here are such efficiency improvements.  Some
sl@0
  2152
	limitations of the original implementation have also now been
sl@0
  2153
	lifted.  Meanwhile a variety of fs bugs (some old, some new)
sl@0
  2154
	have also been fixed.
sl@0
  2155
	
sl@0
  2156
	* generic/tclFileName.c: Made Tcl_FSSplitPath more efficient, 
sl@0
  2157
	and removed some static string-based procedures which are no 
sl@0
  2158
	longer used.  Much more objectification.  Tcl_FSJoinPath
sl@0
  2159
	is now very efficient and more aware of virtual filesystems.
sl@0
  2160
	Clarified where the Mac-specific code attempts to interpret
sl@0
  2161
	Unix-style paths.  Modified TclDoGlob to use lstat not
sl@0
  2162
	access to fix [Bug: 434876, L. Virden]
sl@0
  2163
	* tcl(Win|Unix|Mac)FCmd.c:
sl@0
  2164
	* tcl(Win|Unix|Mac)File.c: replaced TclpListVolumes with
sl@0
  2165
	TclpObjListVolumes with different signature, updated code due
sl@0
  2166
	to more efficient signature of Tcl_FSGetTranslatedPath.  Used
sl@0
  2167
	cached native paths where possible to improve efficiency --
sl@0
  2168
	this was completed on MacOS, but on Unix and Win the traversal
sl@0
  2169
	functions make the task much more complex, so there are still
sl@0
  2170
	some improvements possible there.  Removed unused 
sl@0
  2171
	TclpNormalizePath which had been left in tclWinFCmd.c.
sl@0
  2172
	Objectified all 'file attributes' functions.  Fixed the new
sl@0
  2173
	[Bug:451571, Bruce Stephens] which is most obvious on Unix, 
sl@0
  2174
	but could occur on MacOS or Windows.  This bug actually existed
sl@0
  2175
	in Tcl 8.3.x but was only made obvious by the recent filesystem
sl@0
  2176
	overhaul when the code was exercised more heavily.  
sl@0
  2177
	* tests/fileName.test: Three new tests to exercise the above bug,
sl@0
  2178
	and make sure it is fixed correctly.
sl@0
  2179
	* unix/tclUnixFile.c: avoid panic in glob when a link
sl@0
  2180
	doesn't point anywhere.  It would probably be good to define
sl@0
  2181
	exactly what Tcl should do in circumstances like these, and
sl@0
  2182
	make sure mac/win/unix all behave accordingly. [Bug: 417111, 
sl@0
  2183
	Hemang Lavana]. Also fixed misleading/obsolete comment in the code.
sl@0
  2184
	* generic/tcl.stubs: changed signature of Tcl_FSGetTranslatedPath
sl@0
  2185
	and added Tcl_FSGetTranslatedStringPath.
sl@0
  2186
	These changes allow further optimisations in the FS code.
sl@0
  2187
	* generic/tcl.h: changed signature of Tcl_FSListVolumes so that 
sl@0
  2188
	it doesn't require a Tcl interpreter plus result.  Renamed 
sl@0
  2189
	Tcl_FSReadLink to Tcl_FSLink with additional argument so
sl@0
  2190
	we can support making links in the future. [Patch: 450340]
sl@0
  2191
	* generic/tclInt.h:
sl@0
  2192
	added declaration for TclpObjListVolumes.  Objectified 
sl@0
  2193
	internal call signatures for 'file attributes' functions, and
sl@0
  2194
	added an internal objectified get path type function.
sl@0
  2195
	* generic/tclIOUtil.c: added the moved function TclpListVolumes 
sl@0
  2196
	which calls platform specific code (needed for backwards 
sl@0
  2197
	compatibility), and improved efficiency of parts of the FS
sl@0
  2198
	(particularly file normalization).  Much less copying and
sl@0
  2199
	memory allocation is required now.  added new GetPathType 
sl@0
  2200
	so that changes in 'file volumes' can actually affect files'
sl@0
  2201
	types, and objectified more code.  Made current code work
sl@0
  2202
	with test suite artificially changing current platform.
sl@0
  2203
	Added 'static' keywords where required.
sl@0
  2204
	* generic/tclIO.c:
sl@0
  2205
	* generic/tclTest.c: Added 'static' keywords, fixing 
sl@0
  2206
	[Bug: 453872, Bob Techentin]
sl@0
  2207
	* generic/tclCmdAH.c: file command implementation updated for 
sl@0
  2208
	API changes, removed unnecessary special-case SplitPath static
sl@0
  2209
	function, since it no longer helps prevent code duplication.
sl@0
  2210
	Moved setting of interpreter result to each individual location
sl@0
  2211
	that actually required it, to avoid very large code separation
sl@0
  2212
	between reading and setting the result.
sl@0
  2213
	* doc/FileSystem.3: updated documentation for the new or 
sl@0
  2214
	changed APIs, and clarified some issues.
sl@0
  2215
	* doc/SplitPath.3: added pointer to newer APIs in FileSystem.3
sl@0
  2216
	* doc/filename.n: clarified current implementation of tilde
sl@0
  2217
	support on Mac/Win.  [Bug:453514, Sergey Kuzmin]
sl@0
  2218
	* doc/glob.n: improved documentation for '-directory' and '-path' 
sl@0
  2219
	options.
sl@0
  2220
	
sl@0
  2221
	There are now many private, obsolete, platform-specific 'Tclp' 
sl@0
  2222
	string-based filesystem APIs which could be removed.  We should
sl@0
  2223
	check whether any of these are used by extensions and, at least
sl@0
  2224
	in Tcl 9, remove them.
sl@0
  2225
	
sl@0
  2226
	The above changes signify a ***POTENTIAL INCOMPATIBILITY*** 
sl@0
  2227
	with 8.4a3, since signatures of two functions in the new API 
sl@0
  2228
	have changed, but not with older versions of Tcl.
sl@0
  2229
sl@0
  2230
2001-08-23  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  2231
sl@0
  2232
	* generic/tclBinary.c (FormatNumber): Extract a long from the
sl@0
  2233
	object and not an int, to stop [binary format] from being unable
sl@0
  2234
	to format some input numbers on architectures where sizeof(int) is
sl@0
  2235
	less than sizeof(long) (particularly Alpha.)  [tiprender Bug #441861]
sl@0
  2236
sl@0
  2237
	* tests/format.test: Converted conditional execution of tests into
sl@0
  2238
	a test constraint.
sl@0
  2239
sl@0
  2240
2001-08-22  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2241
sl@0
  2242
	* win/Makefile.in:
sl@0
  2243
	* win/makefile.vc: updated install target for dde1.2
sl@0
  2244
	* doc/dde.n: fixed dde man page (which was totally incorrect).
sl@0
  2245
	* tests/winDde.test:
sl@0
  2246
	* win/tclWinDde.c (Tcl_DdeObjCmd): added -binary option to dde
sl@0
  2247
	request command to allow for returning binary data. [Bug #227482]
sl@0
  2248
	Updated dde to 1.2
sl@0
  2249
sl@0
  2250
	* tests/tcltest.test: added unixExecs constraint to files that
sl@0
  2251
	used 'grep' in the test. [Bug #453143]
sl@0
  2252
sl@0
  2253
	* library/tcltest/tcltest.tcl: fixed stdio constraint test.
sl@0
  2254
	[Patch #454050] (stanton)
sl@0
  2255
	Simplified unixExecs constraint test. 
sl@0
  2256
	
sl@0
  2257
2001-08-22  Don Porter <dgp@users.sourceforge.net>
sl@0
  2258
sl@0
  2259
	* tests/ioUtil.test (ioUtil-3.*): Corrected errors in tests
sl@0
  2260
	revealed by fix of overagressive compiler.  [Bug 451200]
sl@0
  2261
sl@0
  2262
2001-08-21  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  2263
sl@0
  2264
	* generic/tclCompCmds.c:
sl@0
  2265
	* tests/compile.test: Fixed overagressive compilation of [catch]:
sl@0
  2266
	it was catching errors at substitution time. [Bug #219184]
sl@0
  2267
	
sl@0
  2268
2001-08-21  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2269
sl@0
  2270
	* tests/tcltest.test (tcltest-12.2): fixed test that would break
sl@0
  2271
	when env vars weren't Tcl list friendly [Patch #454046] (stanton)
sl@0
  2272
sl@0
  2273
2001-08-20  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2274
sl@0
  2275
	* library/http/http.tcl (geturl): added port number to Host:
sl@0
  2276
	header to comply with HTTP/1.1 spec (RFC 2068).  [Bug #452217]
sl@0
  2277
sl@0
  2278
2001-08-16  David Gravereaux <davygrvy@pobox.com>
sl@0
  2279
sl@0
  2280
	* tools/tcl.wse.in:
sl@0
  2281
	* tools/tcl.hpj.in:
sl@0
  2282
	* win/tcl.hpj.in:  Removed -kb storage in CVS to ensure these text
sl@0
  2283
	files are checked-out in the translation mode CVS is in.  Setting
sl@0
  2284
	these as binary as part of an effort to make sure they are always
sl@0
  2285
	in CRLF, no matter what the CVS translation, is bypassing how CVS
sl@0
  2286
	works and is confusing.
sl@0
  2287
sl@0
  2288
	* tools/genStubs.tcl:  Removed LF-only output.  Having to reconvert
sl@0
  2289
	back to CRLF before committing to CVS was giving me a headache.
sl@0
  2290
	[Bug: 451333]
sl@0
  2291
sl@0
  2292
	* win/makefile.vc: replaced $(WINDIR) with $(include32) for the
sl@0
  2293
	.rc.res inference rule.  winver.h wasn't getting included.
sl@0
  2294
	[Bug: 445630]
sl@0
  2295
sl@0
  2296
2001-08-14  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  2297
sl@0
  2298
	* generic/tclBasic.c: make the intial maxNestingDepth of an
sl@0
  2299
	interpreter be MAX_NESTING_DEPTH instead of a hardwired value
sl@0
  2300
	[Bug: 232564]
sl@0
  2301
sl@0
  2302
2001-08-13  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  2303
sl@0
  2304
	* tests/trace.test: Corrected test numbers [Bug: 449794] 
sl@0
  2305
sl@0
  2306
2001-08-12  Mo DeJong  <mdejong@redhat.com>
sl@0
  2307
sl@0
  2308
	* unix/configure: Regen.
sl@0
  2309
	* unix/configure.in:
sl@0
  2310
	* unix/tcl.m4: Use GCC variable set by AC_PROG_CC instead
sl@0
  2311
	of defining our own using_gcc variable.
sl@0
  2312
sl@0
  2313
2001-08-11  Vince Darley <vincentdarley@users.sourceforge.net>
sl@0
  2314
sl@0
  2315
	Variety of small issues introduced by the vfs code fixed:
sl@0
  2316
	* generic/tclIOUtil.c: uninitialised read.
sl@0
  2317
	* generic/tclFCmd.c: possible memory leak in file delete 
sl@0
  2318
	with error condition.
sl@0
  2319
sl@0
  2320
2001-08-10  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  2321
sl@0
  2322
	* generic/tclVar.c: 
sl@0
  2323
	* tests/trace.test: Insure that [array] traces work correctly for
sl@0
  2324
	undefined variables [Bug: 449094] 
sl@0
  2325
sl@0
  2326
2001-08-09  Mo DeJong  <mdejong@redhat.com>
sl@0
  2327
sl@0
  2328
	* unix/Makefile.in: Delete the unused getcwd.o
sl@0
  2329
	target. This fixes bug #440942.
sl@0
  2330
sl@0
  2331
2001-08-08  Don Porter <dgp@users.sourceforge.net>
sl@0
  2332
sl@0
  2333
	* library/dde/pkgIndex.tcl:
sl@0
  2334
	* library/http/http.tcl:
sl@0
  2335
	* library/http/pkgIndex.tcl:
sl@0
  2336
	* library/msgcat/msgcat.tcl:
sl@0
  2337
	* library/msgcat/pkgIndex.tcl:
sl@0
  2338
	* library/opt/optparse.tcl:
sl@0
  2339
	* library/opt/pkgIndex.tcl:
sl@0
  2340
	* library/reg/pkgIndex.tcl:
sl@0
  2341
	* library/tcltest/tcltest.tcl:
sl@0
  2342
	* library/tcltest/pkgIndex.tcl: Added checks for package dependencies.
sl@0
  2343
	Bumped patchlevels of changed packages:  http 2.3.2, msgcat 1.2.2,
sl@0
  2344
	opt 0.4.3, tcltest 2.0.1.  [Patch 448931]
sl@0
  2345
sl@0
  2346
	* README:
sl@0
  2347
	* generic/tcl.h:
sl@0
  2348
	* tools/tcl.wse.in:
sl@0
  2349
	* unix/configure:
sl@0
  2350
	* unix/configure.in:
sl@0
  2351
	* unix/tcl.spec:
sl@0
  2352
	* win/README.binary:
sl@0
  2353
	* win/configure:
sl@0
  2354
	* win/configure.in: Bumped up patchlevel to 8.4a4 to distinguish
sl@0
  2355
	CVS snapshots from the 8.4a3 release.  This does not necessarily
sl@0
  2356
	mean there will be an 8.4a4 release.  [Bug 448938].
sl@0
  2357
sl@0
  2358
2001-08-06  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2359
sl@0
  2360
	8.4a3 RELEASE
sl@0
  2361
sl@0
  2362
	* changes:
sl@0
  2363
	* README:
sl@0
  2364
	* mac/README: 
sl@0
  2365
	* unix/README:
sl@0
  2366
	* win/README.binary: updated for 8.4a3 release
sl@0
  2367
sl@0
  2368
	* generic/tclFileName.c (Tcl_FSSplitPath): update to Tcl style
sl@0
  2369
	guide.
sl@0
  2370
sl@0
  2371
	* generic/tclFCmd.c (FileCopyRename): fixed mem leak in
sl@0
  2372
	introduction of vfs code where a new Tcl_Obj wasn't freed.
sl@0
  2373
sl@0
  2374
	* generic/tclCmdMZ.c (Tcl_RegexpObjCmd, Tcl_RegsubObjCmd):
sl@0
  2375
	reordered the retrieval of arguments to avoid shimmering bug when
sl@0
  2376
	the pattern and string referenced the same object.
sl@0
  2377
sl@0
  2378
	* unix/configure: regenerated
sl@0
  2379
	* unix/tcl.m4: added GNU (HURD) configuration target. (brinkmann)
sl@0
  2380
	[Patch: #442974]
sl@0
  2381
sl@0
  2382
	* win/README: made note of URL for Windows compilation notes
sl@0
  2383
sl@0
  2384
	* win/tclWinThrd.c (TclpFinalizeMutex, TclpFinalizeCondition):
sl@0
  2385
	added DeleteCriticalSection calls for cleanup [Patch: #419683]
sl@0
  2386
sl@0
  2387
	* unix/tclUnixPipe.c (TclpCreateTempFile): fixed use of tmpnam,
sl@0
  2388
	which is dangerous. [Patch: #442636] (lim)
sl@0
  2389
	The use of tmpnam in TclpTempFileName must still be changed.
sl@0
  2390
sl@0
  2391
	* tests/http.test (http-4.14): fixed variable error return.
sl@0
  2392
	[Bug: 424252]
sl@0
  2393
sl@0
  2394
2001-08-03  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2395
sl@0
  2396
	* win/configure: regenerated
sl@0
  2397
	* win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll.
sl@0
  2398
	This is necessary for TEA compliant builds that build shared
sl@0
  2399
	against a static-built Tcl.
sl@0
  2400
	* win/Makefile.in ($(TCLSH)): added $(TCL_STUB_LIB_FILE) to build
sl@0
  2401
	target, otherwise it wouldn't get generated in a static build.
sl@0
  2402
sl@0
  2403
2001-08-06  Andreas Kupries <andreas_kupries@users.sourceforge.net>
sl@0
  2404
sl@0
  2405
	* generic/tclIOCmd.c (Tcl_GetsObjCmd): Applied patch from SF item
sl@0
  2406
	  [442665] to fix the bug reported by it. The function can corrupt
sl@0
  2407
	  a freed object if it is called with objc == 3. This is because
sl@0
  2408
	  it retrieves resultPtr and does not increment its reference
sl@0
  2409
	  count, but then calls Tcl_ObjSetVar2, which causes the retrieved
sl@0
  2410
	  resultPtr object to be released.
sl@0
  2411
	
sl@0
  2412
2001-08-06  Don Porter <dgp@users.sourceforge.net>
sl@0
  2413
sl@0
  2414
	* doc/tclsh.1:  Added note that the tclsh program is frequently
sl@0
  2415
	installed with the Tcl version numer as part of the name.
sl@0
  2416
	[Patch 402725]
sl@0
  2417
sl@0
  2418
	* generic/tclPkg.c:
sl@0
  2419
	* tests/pkg.test:  [package forget] now forgets all of the
sl@0
  2420
	package arguments it receives, not stopping when a package is
sl@0
  2421
	not found.  [Bug 415273]
sl@0
  2422
sl@0
  2423
2001-08-02  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2424
sl@0
  2425
	* generic/tclIOUtil.c (Tcl_FSMatchInDirectory): corrected
sl@0
  2426
	uninitialized value.
sl@0
  2427
sl@0
  2428
2001-08-02  Mo DeJong  <mdejong@redhat.com>
sl@0
  2429
sl@0
  2430
	* generic/tclPlatDecls.h:
sl@0
  2431
	* win/tclWinPort.h:
sl@0
  2432
	Revert <tchar.h> related changes made to improve
sl@0
  2433
	Cygwin support on 2001-07-18. This change ended
sl@0
  2434
	up breaking the VC++ build because of conflicts
sl@0
  2435
	between Windows APIs and internal Tk APIs.
sl@0
  2436
sl@0
  2437
2001-08-01  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2438
sl@0
  2439
	* unix/tclUnixFCmd.c: minor casts to eliminate warnings. (lim)
sl@0
  2440
	[Patch: #440218]
sl@0
  2441
sl@0
  2442
	* tests/parseOld.test: changed some tests that required
sl@0
  2443
	testwordend to exist to skip in a proper tcltest manner.
sl@0
  2444
	[Bug: #442663]
sl@0
  2445
sl@0
  2446
	* library/http/http.tcl (http::mapReply): the regsub'ing of \n and
sl@0
  2447
	\t to escape them was unnecessary.
sl@0
  2448
sl@0
  2449
2001-07-31  Vince Darley <vincentdarley@users.sourceforge.net>
sl@0
  2450
sl@0
  2451
	Changes from TIP#17 "Redo Tcl's filesystem"
sl@0
  2452
	The following files were impacted:
sl@0
  2453
	* doc/Access.3: 
sl@0
  2454
	* doc/FileSystem.3: 
sl@0
  2455
	* doc/OpenFileChnl.3: 
sl@0
  2456
	* doc/file.n: 
sl@0
  2457
	* doc/glob.n: 
sl@0
  2458
	* generic/tcl.decls: 
sl@0
  2459
	* generic/tcl.h: 
sl@0
  2460
	* generic/tclCmdAH.c: 
sl@0
  2461
	* generic/tclCmdIL.c: 
sl@0
  2462
	* generic/tclCmdMZ.c: 
sl@0
  2463
	* generic/tclDate.c: 
sl@0
  2464
	* generic/tclDecls.h: 
sl@0
  2465
	* generic/tclEncoding.c: 
sl@0
  2466
	* generic/tclFCmd.c: 
sl@0
  2467
	* generic/tclFileName.c: 
sl@0
  2468
	* generic/tclGetDate.y: 
sl@0
  2469
	* generic/tclIO.c: 
sl@0
  2470
	* generic/tclIOCmd.c: 
sl@0
  2471
	* generic/tclIOUtil.c: 
sl@0
  2472
	* generic/tclInt.decls: 
sl@0
  2473
	* generic/tclInt.h: 
sl@0
  2474
	* generic/tclIntDecls.h: 
sl@0
  2475
	* generic/tclLoad.c: 
sl@0
  2476
	* generic/tclStubInit.c: 
sl@0
  2477
	* generic/tclTest.c: 
sl@0
  2478
	* generic/tclUtil.c: 
sl@0
  2479
	* library/init.tcl: 
sl@0
  2480
	* mac/tclMacFCmd.c: 
sl@0
  2481
	* mac/tclMacFile.c: 
sl@0
  2482
	* mac/tclMacInit.c: 
sl@0
  2483
	* mac/tclMacPort.h: 
sl@0
  2484
	* mac/tclMacResource.c: 
sl@0
  2485
	* mac/tclMacTime.c: 
sl@0
  2486
	* tests/cmdAH.test: 
sl@0
  2487
	* tests/event.test: 
sl@0
  2488
	* tests/fCmd.test: 
sl@0
  2489
	* tests/fileName.test: 
sl@0
  2490
	* tests/io.test: 
sl@0
  2491
	* tests/ioCmd.test: 
sl@0
  2492
	* tests/proc-old.test: 
sl@0
  2493
	* tests/registry.test: 
sl@0
  2494
	* tests/unixFCmd.test: 
sl@0
  2495
	* tests/winDde.test: 
sl@0
  2496
	* tests/winFCmd.test: 
sl@0
  2497
	* unix/mkLinks: 
sl@0
  2498
	* unix/tclUnixFCmd.c: 
sl@0
  2499
	* unix/tclUnixFile.c: 
sl@0
  2500
	* unix/tclUnixInit.c: 
sl@0
  2501
	* unix/tclUnixPipe.c: 
sl@0
  2502
	* win/tclWinFCmd.c: 
sl@0
  2503
	* win/tclWinFile.c: 
sl@0
  2504
	* win/tclWinInit.c: 
sl@0
  2505
	* win/tclWinPipe.c
sl@0
  2506
sl@0
  2507
2001-07-24  Mo DeJong  <mdejong@redhat.com>
sl@0
  2508
sl@0
  2509
	* win/tclWinThrd.c (Tcl_CreateThread): Close Windows
sl@0
  2510
	HANDLE returned by _beginthreadex. The MS documentation
sl@0
  2511
	states that this handle is not closed by a later call to
sl@0
  2512
	_endthreadex.
sl@0
  2513
sl@0
  2514
2001-07-21  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2515
sl@0
  2516
	* doc/pkgMkindex.n:
sl@0
  2517
	* library/package.tcl:  Corrected documentation and usage
sl@0
  2518
	message of [pkg_mkIndex].
sl@0
  2519
sl@0
  2520
2001-07-18  Mo DeJong  <mdejong@redhat.com>
sl@0
  2521
sl@0
  2522
	* generic/tclPlatDecls.h: Define TCHAR by including
sl@0
  2523
	windows.h instead of tchar.h since Cygwin does not
sl@0
  2524
	support the tchar.h header. Include CHECK_UNICODE_CALLS
sl@0
  2525
	logic from tclWinPort.h.
sl@0
  2526
	* win/tclWinPort.h: Remove CHECK_UNICODE_CALLS logic.
sl@0
  2527
	Remove include of windows.h since this now done it
sl@0
  2528
	tclPlatDecls.h.
sl@0
  2529
	* win/tclWinReg.c: Remove duplicate include of windows.h.
sl@0
  2530
sl@0
  2531
2001-07-18  Andreas Kupries <andreas_kupries@users.sourceforge.net>
sl@0
  2532
sl@0
  2533
	* generic/tclIO.c: Aftermath to [SF #427196]. Squash empty buffers
sl@0
  2534
	  if they are smaller than the requested buffersize, to prevent
sl@0
  2535
	  reusage of old buffers and to honor changes in the requested
sl@0
  2536
	  buffersize made by the user.
sl@0
  2537
sl@0
  2538
2001-07-17  Mo DeJong  <mdejong@redhat.com>
sl@0
  2539
sl@0
  2540
	* win/tclWinFile.c (TclpReadlink): Add Cygwin specific definition
sl@0
  2541
	for the TclpReadlink function. This method implements reading of
sl@0
  2542
	symbolic links when build with Cygwin.
sl@0
  2543
sl@0
  2544
2001-07-17  Mo DeJong  <mdejong@redhat.com>
sl@0
  2545
sl@0
  2546
	* win/tclWinPort.h: Add Cygwin specific defines for environ
sl@0
  2547
	and timezone variables.
sl@0
  2548
sl@0
  2549
2001-07-17  Andreas Kupries <andreas_kupries@users.sourceforge.net>
sl@0
  2550
sl@0
  2551
	* generic/tclIO.c (GetInput): Fixed [SF #427196]. Memory was
sl@0
  2552
	  overwritten because a buffer was used after a change of the
sl@0
  2553
	  requested buffersize together with that requested buffersize and
sl@0
  2554
	  not its actual size, which was smaller. Note that the continous
sl@0
  2555
	  reuse of the smaller buffer negatively impacts performance. The
sl@0
  2556
	  system never allocates a buffer with the newly requested bigger
sl@0
  2557
	  buffersize.
sl@0
  2558
sl@0
  2559
2001-07-16  Mo DeJong  <mdejong@redhat.com>
sl@0
  2560
sl@0
  2561
	* generic/tcl.h: Define __WIN32__ when
sl@0
  2562
	__CYGWIN__ or __MINGW32__ is defined.
sl@0
  2563
	* generic/tclAlloc.c: Define caddr_t when
sl@0
  2564
	compiling with VC++ or mingw. This type is
sl@0
  2565
	already defined when compiling with Cygwin.
sl@0
  2566
sl@0
  2567
2001-07-16  Mo DeJong  <mdejong@redhat.com>
sl@0
  2568
sl@0
  2569
	* win/tclWinConsole.c:
sl@0
  2570
	* win/tclWinPipe.c:
sl@0
  2571
	* win/tclWinPort.h:
sl@0
  2572
	* win/tclWinSerial.c:
sl@0
  2573
	* win/tclWinThrd.c:
sl@0
  2574
	Remove unnecessary #includes of dos.h, direct.h,
sl@0
  2575
	and tchar.h. This will help the Cygwin porting
sl@0
  2576
	effort since these headers do not exist under Cygwin.
sl@0
  2577
sl@0
  2578
2001-07-16  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2579
sl@0
  2580
	* win/tclWinPipe.c (PipeClose2Proc): constrained the mutex lock to
sl@0
  2581
	just the TerminateThread call and waiting for termination. (jsmith)
sl@0
  2582
sl@0
  2583
	* generic/tclCmdMZ.c: Removed extra copy of the SCAN_* macros
sl@0
  2584
	#defined in generic/tclScan.c. (porter) [Bug 441230]
sl@0
  2585
sl@0
  2586
2001-07-12  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  2587
sl@0
  2588
	* tests/unixInit.test (unixInit-2.8): Added extra constraint,
sl@0
  2589
	notInstalledInTmp, to stop this test from damaging installations
sl@0
  2590
	in /tmp; not much fun to have to reinstall the Tcl library every
sl@0
  2591
	time you run the test suite!
sl@0
  2592
sl@0
  2593
	* tests/subst.test (subst-10.*): Updated tests to check new
sl@0
  2594
	behaviour for 'break' in command substitutions.
sl@0
  2595
	(subst-1.2,subst-7.1): Error messages changed.
sl@0
  2596
	* doc/SubstObj.3: New file, to document Tcl_SubstObj.
sl@0
  2597
	* doc/subst.n: Improved and updated documentation for 'subst' to
sl@0
  2598
	help support the changed behaviour.
sl@0
  2599
	* generic/tcl.decls (generic-437): Declaration for Tcl_SubstObj
sl@0
  2600
	* generic/tcl.h (TCL_SUBST_*): Added flags for Tcl_SubstObj.
sl@0
  2601
	* generic/tclCmdMZ.c (Tcl_SubstObj,Tcl_SubstObjCmd): Divided into
sl@0
  2602
	two parts to allow people to access the innards of 'subst' and
sl@0
  2603
	changed the behaviour when command substitutions do a 'break' to
sl@0
  2604
	be different from 'continue'.  Also now works with objects, which
sl@0
  2605
	allows for some nifty optimisations with variable substitutions
sl@0
  2606
	and a slight improvement with command substitutions.  [TIP#36]
sl@0
  2607
sl@0
  2608
2001-07-10  Mo DeJong  <mdejong@redhat.com>
sl@0
  2609
sl@0
  2610
	* unix/Makefile.in: Add AR variable for use in STLIB_LD.
sl@0
  2611
	* unix/configure: Regen.
sl@0
  2612
	* unix/configure.in: Use STLIB_LD when defining MAKE_LIB
sl@0
  2613
	and MAKE_STUB_LIB. Subst RANLIB and AR.
sl@0
  2614
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Add doc comment about
sl@0
  2615
	STLIB_LD command. Check ${AR} env var when setting
sl@0
  2616
	STLIB_LD and delay evaluation until make time.
sl@0
  2617
	* win/configure: Regen.
sl@0
  2618
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Delay evaluation of
sl@0
  2619
	${AR} in STLIB_LD and add flags to better match the
sl@0
  2620
	Unix implementation. Don't bother defining AR when
sl@0
  2621
	using VC++ since it is not used.
sl@0
  2622
sl@0
  2623
2001-07-06  Mo DeJong  <mdejong@redhat.com>
sl@0
  2624
sl@0
  2625
	* win/configure: Regen.
sl@0
  2626
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Pass -e _WinMain@16 in
sl@0
  2627
	addition to the -mwindows flag to work around a problem
sl@0
  2628
	with ld when it incorrectly use main() as the executable
sl@0
  2629
	entry point when both WinMain() and main() are available.
sl@0
  2630
sl@0
  2631
2001-07-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  2632
sl@0
  2633
	* tests/cmdAH.test: Added leading zero to file modes to work
sl@0
  2634
	around fault in HPUX strtol() which ignores the base parameter
sl@0
  2635
	[Bug #438808]
sl@0
  2636
sl@0
  2637
2001-07-05  Mo DeJong  <mdejong@redhat.com>
sl@0
  2638
sl@0
  2639
	* win/Makefile.in: Subst DEPARG directly instead
sl@0
  2640
	of relying on a variable. This will make Cygwin
sl@0
  2641
	builds faster since an extra exec will be avoided.
sl@0
  2642
	* win/configure: Regen.
sl@0
  2643
	* win/configure.in: Subst DEPARG.
sl@0
  2644
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Move AC_MSG_CHECKING
sl@0
  2645
	after the AC_CHECK_PROG so that status messages do
sl@0
  2646
	not get mixed together. Set DEPARG based on the
sl@0
  2647
	results of the cygpath check so that we avoid using
sl@0
  2648
	an extra exec when it is not needed. Use ac_cv_cygwin
sl@0
  2649
	status flag instead of looking at the output of
sl@0
  2650
	gcc -v, which works in the case where -mno-cygwin is
sl@0
  2651
	set in the CFLAGS.
sl@0
  2652
sl@0
  2653
2001-07-04  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2654
sl@0
  2655
	* README:
sl@0
  2656
	* mac/README:
sl@0
  2657
	* unix/README:
sl@0
  2658
	* win/README:
sl@0
  2659
	* win/README.binary: updated READMEs with purls
sl@0
  2660
sl@0
  2661
2001-07-03  Mo DeJong  <mdejong@redhat.com>
sl@0
  2662
sl@0
  2663
	* win/Makefile.in: Remove PATHTYPE variable.
sl@0
  2664
	* win/configure: Regen.
sl@0
  2665
	* win/configure.in: Don't subst PATHTYPE.
sl@0
  2666
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Remove PATHTYPE
sl@0
  2667
	variable. Set CYGPATH to "cygpath -w" if the
sl@0
  2668
	cygpath executable is found on the path. This
sl@0
  2669
	approach works for native Cygwin builds and
sl@0
  2670
	cross compiles.
sl@0
  2671
sl@0
  2672
2001-07-03  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2673
sl@0
  2674
	* tests/var.test:
sl@0
  2675
	* generic/tclVar.c (Tcl_VariableObjCmd): added patch to check for
sl@0
  2676
	number of args. [Patch #426038]
sl@0
  2677
sl@0
  2678
	* generic/tclVar.c (Tcl_GetVar2Ex): added ability to recognize
sl@0
  2679
	TCL_TRACE_READS flags to cause creation of part1 in TclLookupVar
sl@0
  2680
	to make sure newly created array will get read traces triggered
sl@0
  2681
	appropriately.  This is called by Tcl_ObjGetVar2, Tcl_GetVar, and
sl@0
  2682
	Tcl_GetVar2.
sl@0
  2683
	(TclSetIndexedScalar, TclSetElementOfIndexedArray): added read
sl@0
  2684
	trace triggering for lappend case.
sl@0
  2685
	(Tcl_LappendObjCmd): pass TCL_TRACE_READS to Tcl_ObjGetVar2 to
sl@0
  2686
	trigger possible read traces for new arrays.
sl@0
  2687
sl@0
  2688
	* generic/tclExecute.c (TclExecuteByteCode): added TCL_TRACE_READS
sl@0
  2689
	flag to INST_LAPPEND(_ARRAY)_STK case to trigger read traces for
sl@0
  2690
	newly created arrays.  Removed unnecessary #ifdef for
sl@0
  2691
	TCL_COMPILE_DEBUG in INST_LOAD_SCALAR1 case.
sl@0
  2692
sl@0
  2693
	* tests/append.test:
sl@0
  2694
	* tests/appendComp.test: added tests for read trace triggering for
sl@0
  2695
	append and lappend.
sl@0
  2696
sl@0
  2697
2001-07-03  Mo DeJong  <mdejong@redhat.com>
sl@0
  2698
sl@0
  2699
	* tests/clock.test (clock-2.5): Adjust test so that it passes
sl@0
  2700
	when the time slice is 60 msecs, now passes under Windows 98.
sl@0
  2701
sl@0
  2702
2001-07-03  Mo DeJong  <mdejong@redhat.com>
sl@0
  2703
sl@0
  2704
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Don't pass the v flag
sl@0
  2705
	to ${AR} when using gcc, verbose output is not needed.
sl@0
  2706
sl@0
  2707
2001-07-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2708
sl@0
  2709
	* tests/unixInit.test (unixInit-2.8):  Changed test back to using
sl@0
  2710
	installation layout, adding comments explaining why the test writes
sl@0
  2711
	to the directories it does, and checks to avoid destroying other
sl@0
  2712
	files in /tmp.
sl@0
  2713
sl@0
  2714
2001-07-03  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  2715
sl@0
  2716
	* tests/unixInit.test (unixInit-1.2): Fixed faults reported in
sl@0
  2717
	Bug#438070 - well, at least enough to work on Solaris - and added
sl@0
  2718
	comments that should make what is going on in the test clearer.
sl@0
  2719
sl@0
  2720
2001-07-02  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2721
sl@0
  2722
	* tests/util.test: added util-4.6
sl@0
  2723
	* generic/tclUtil.c (Tcl_ConcatObj): Corrected walking backwards
sl@0
  2724
	over utf-8 chars. [Bug #227512]
sl@0
  2725
sl@0
  2726
2001-07-02  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2727
sl@0
  2728
	* tests/unixInit.test (unixInit-2.8):  Corrected test for all
sl@0
  2729
	absolute pathnames in library path when executable is installed
sl@0
  2730
	near root directory to use correct development directory layout.
sl@0
  2731
	[Bug 438014]
sl@0
  2732
sl@0
  2733
	* tests/unixInit.test (unixInit-2.9):  
sl@0
  2734
	* unix/tclUnixInit.c (TclpInitLibraryPath):
sl@0
  2735
	* win/tclWinInit.c (TclpInitLibraryPath):  Corrected buggy
sl@0
  2736
	construction of search path entries relative to executable.
sl@0
  2737
	Added test for bad construction.  [Bug 438014]
sl@0
  2738
sl@0
  2739
2001-06-28  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  2740
sl@0
  2741
	* generic/tclNamesp.c: Correction to faulty patch from [Bug: 231259] 
sl@0
  2742
sl@0
  2743
2001-06-28  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  2744
sl@0
  2745
	* tests/unixInit.test (unixInit-1.2): Modified so as not to
sl@0
  2746
	require a local echo service, which fails on many systems which
sl@0
  2747
	have that turned off for security reasons...
sl@0
  2748
sl@0
  2749
2001-06-27  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2750
sl@0
  2751
	* generic/tclInt.h:
sl@0
  2752
	* generic/tclObj.c:
sl@0
  2753
	* unix/Makefile.in: added a -DPURIFY mode that makes Tcl_Obj's
sl@0
  2754
	allocated and free singularly (instead of in alloc in blocks and
sl@0
  2755
	never free) to allow checkers like Purify to operate better.
sl@0
  2756
sl@0
  2757
	* library/encoding/koi8-u.enc: added koi8-u (Ukranian variant)
sl@0
  2758
	encoding.
sl@0
  2759
sl@0
  2760
	* tests/subst.test:
sl@0
  2761
	* generic/tclUtf.c (Tcl_UtfBackslash): Corrected backslash
sl@0
  2762
	handling of multibyte utf-8 chars. [Bug #217987]
sl@0
  2763
sl@0
  2764
	* generic/tclCmdIL.c (InfoProcsCmd): fixed potential mem leak in
sl@0
  2765
	info procs that created objects without using them.
sl@0
  2766
sl@0
  2767
	* generic/tclCompCmds.c (TclCompileStringCmd): fixed mem leak when
sl@0
  2768
	string command failed to parse the subcommand.
sl@0
  2769
sl@0
  2770
	* doc/interp.n:
sl@0
  2771
	* doc/unknown.n: updated notes about what is in a safe interp.
sl@0
  2772
	[Bug #218605]
sl@0
  2773
sl@0
  2774
2001-06-27  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  2775
sl@0
  2776
	* tests/event.test (event-11.5): Removed hard-coded port number
sl@0
  2777
	which could fail on some systems.  [Bug #436727]
sl@0
  2778
sl@0
  2779
2001-06-26  Mo DeJong  <mdejong@redhat.com>
sl@0
  2780
sl@0
  2781
	* unix/Makefile.in:
sl@0
  2782
	* win/Makefile.in: Add `make shell` target. This target
sl@0
  2783
	will set the proper env vars before invoking tclsh
sl@0
  2784
	from the build directory.
sl@0
  2785
sl@0
  2786
2001-06-26  Mo DeJong  <mdejong@redhat.com>
sl@0
  2787
sl@0
  2788
	* win/Makefile.in: Use : to separate VPATH entries. This
sl@0
  2789
	works for both Cygwin builds and cross builds, the VPSEP
sl@0
  2790
	variable is simply unneeded complexity.
sl@0
  2791
	* win/configure: Regen.
sl@0
  2792
	* win/configure.in: Don't subst VPSEP.
sl@0
  2793
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Remove VPSEP variable.
sl@0
  2794
sl@0
  2795
2001-06-26  Mo DeJong  <mdejong@redhat.com>
sl@0
  2796
sl@0
  2797
	* unix/configure: Regen.
sl@0
  2798
	* unix/configure.in: Fix last checkin by removing
sl@0
  2799
	export since that only works in bash.
sl@0
  2800
	* win/configure: Regen.
sl@0
  2801
	* win/configure.in: Ditto.
sl@0
  2802
sl@0
  2803
2001-06-26  Mo DeJong  <mdejong@redhat.com>
sl@0
  2804
sl@0
  2805
	* unix/configure: Regen.
sl@0
  2806
	* unix/configure.in: Set CFLAGS to "" if the user
sl@0
  2807
	did not set CFLAGS in the env. This keeps AC_PROG_CC
sl@0
  2808
	from adding "-g -O2" to the CFLAGS by default.
sl@0
  2809
	* win/configure: Regen.
sl@0
  2810
	* win/configure.in: Ditto.
sl@0
  2811
sl@0
  2812
2001-06-25  Mo DeJong  <mdejong@redhat.com>
sl@0
  2813
sl@0
  2814
	* win/configure: Regen.
sl@0
  2815
	* win/configure.in: Use RC_DEFINE flag from tcl.m4.
sl@0
  2816
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Set RC_DEFINE
sl@0
  2817
	flag based on the compiler in use.
sl@0
  2818
	
sl@0
  2819
2001-06-25  Mo DeJong  <mdejong@redhat.com>
sl@0
  2820
sl@0
  2821
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Link to the
sl@0
  2822
	imm32 library when building with mingw gcc.
sl@0
  2823
sl@0
  2824
2001-06-25  Mo DeJong  <mdejong@redhat.com>
sl@0
  2825
sl@0
  2826
	* win/configure: Regen.
sl@0
  2827
	* win/tcl.m4 (SC_CONFIG_CFLAGS): When building with
sl@0
  2828
	gcc, don't attempt to link with LD or support dllwrap.
sl@0
  2829
	Simply require a recent version of Cygwin gcc or Mingw
sl@0
  2830
	gcc that supports -shared. When linking, use gcc instead
sl@0
  2831
	of ld since gcc automatically includes libs like -lmsvcrt.
sl@0
  2832
sl@0
  2833
2001-06-22  Mo DeJong  <mdejong@redhat.com>
sl@0
  2834
sl@0
  2835
	* win/configure: Regen.
sl@0
  2836
	* win/configure.in: Add resource compiler fix from
sl@0
  2837
	8.3.3 to fix compiling with mingw.
sl@0
  2838
sl@0
  2839
2001-06-22  Mo DeJong  <mdejong@redhat.com>
sl@0
  2840
sl@0
  2841
	* win/configure: Regen.
sl@0
  2842
	* win/tcl.m4: Fix silly typo in last checkin.
sl@0
  2843
sl@0
  2844
2001-06-22  Mo DeJong  <mdejong@redhat.com>
sl@0
  2845
sl@0
  2846
	* unix/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
sl@0
  2847
	Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG
sl@0
  2848
	and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works.
sl@0
  2849
	This will support user set CFLAGS or LDFLAGS at configure time.
sl@0
  2850
	* unix/configure: Regen.
sl@0
  2851
	* unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead
sl@0
  2852
	subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEFAULT,
sl@0
  2853
	LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE.
sl@0
  2854
	* unix/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that
sl@0
  2855
	it uses a Makefile variable just like CFLAGS_DEFAULT.
sl@0
  2856
	* win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
sl@0
  2857
	Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@.
sl@0
  2858
	This will support user set CFLAGS or LDFLAGS at configure time.
sl@0
  2859
	* win/configure: Regen.
sl@0
  2860
	* win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst
sl@0
  2861
	CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile.
sl@0
  2862
	* win/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that
sl@0
  2863
	it uses a Makefile variable just like CFLAGS_DEFAULT.
sl@0
  2864
sl@0
  2865
2001-06-22  Mo DeJong  <mdejong@redhat.com>
sl@0
  2866
sl@0
  2867
	* win/configure:
sl@0
  2868
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Don't set LDFLAGS_DEBUG
sl@0
  2869
	to -g or LDFLAGS_OPTIMIZE to -O when compiling with gcc.
sl@0
  2870
	These flags are not needed and can cause problems with
sl@0
  2871
	the Cygwin version of ld.
sl@0
  2872
sl@0
  2873
2001-06-18  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  2874
sl@0
  2875
	* tests/unixInit.test (unixInit-1.2,unixInit-2.8): Added test for
sl@0
  2876
	code described below, and fixed a couple of errors that caused
sl@0
  2877
	problems during testing; the code to determine the installedTcl
sl@0
  2878
	constraint was wrong, and test unixInit-2.8 assumed that /tmp/lib
sl@0
  2879
	was free for use and could be deleted, which clashed nastily with
sl@0
  2880
	my installation and made other tests fail unnecessarily!
sl@0
  2881
sl@0
  2882
	* unix/tclUnixChan.c (TtyInit,TclpOpenFileChannel,
sl@0
  2883
	Tcl_MakeFileChannel,TclpGetDefaultStdChannel): Alterations so that
sl@0
  2884
	the standard channels - stdin, stdout and stderr - have the
sl@0
  2885
	correct type and fconfigure options.  This required making the
sl@0
  2886
	initialisation of serial lines a little more sophisticated to
sl@0
  2887
	make the console behave correctly in interactive mode... [Bug
sl@0
  2888
	#219137 and duplicates]
sl@0
  2889
sl@0
  2890
2001-06-16  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2891
sl@0
  2892
	* generic/tclInt.decls:
sl@0
  2893
	* generic/tclInt.h: 
sl@0
  2894
	* generic/tclPanic.c (Tcl_PanicVA):
sl@0
  2895
	* mac/tclMacAppInit.c (main):
sl@0
  2896
	* mac/tclMacPanic.c (TclpPanic):
sl@0
  2897
	* unix/tclUnixPort.h:
sl@0
  2898
	* win/tclWinPort.h: Replaced TclMacSetPanic with TclpPanic
sl@0
  2899
	for setting a platform-specific panic handler.  TclpPanic
sl@0
  2900
	is NULL on Unix and Windows.  Fixes broken wish on Mac due
sl@0
  2901
	to earlier patches.  [Patch 415648]
sl@0
  2902
	
sl@0
  2903
	* generic/tclIntPlatDecls.h:
sl@0
  2904
	* generic/tclStubInit.c: `make gentubs` after above changes.
sl@0
  2905
sl@0
  2906
2001-06-13  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2907
sl@0
  2908
	* mac/tclMacAppInit.c (main, Macintosh_Init):
sl@0
  2909
	* mac/tclMacBOAAppInit.c (main):
sl@0
  2910
	* mac/tclMacPanic.c: Applied patches from Dan Steffen correcting
sl@0
  2911
	problems on the Macintosh in the 2001-06-08 changes.
sl@0
  2912
sl@0
  2913
2001-06-12  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  2914
sl@0
  2915
	* tests/regexp.test (regexp-18.12): 
sl@0
  2916
	* generic/tclCmdMZ.c (Tcl_RegexpObjCmd): Fixed so that submatches
sl@0
  2917
	that do not match always have index pair {-1 -1} [Bug #219232]
sl@0
  2918
sl@0
  2919
2001-06-08  Don Porter  <dgp@users.sourceforge.net>
sl@0
  2920
sl@0
  2921
	* generic/tcl.h:
sl@0
  2922
	* generic/tcl.decls:
sl@0
  2923
	* generic/tclPanic.c: Added CONST to Tcl_*Panic* public interfaces.
sl@0
  2924
	[Patch 415648, TIP 27]
sl@0
  2925
sl@0
  2926
	* generic/tclInt.decls:
sl@0
  2927
	* mac/tclMacAppInit.c (main):
sl@0
  2928
	* mac/tclMacBOAAppInit.c (main):
sl@0
  2929
	* mac/tclMacPanic.c: Modified special Mac implementations of
sl@0
  2930
	Tcl_*Panic* to be exact copies of the generic implementations.
sl@0
  2931
	Added TclMacSetPanic.  The generic implementations should be
sl@0
  2932
	used directly, rather than copies, but that requires further
sl@0
  2933
	changes by someone familiar with the Mac build systems.
sl@0
  2934
	[Patch 415648]
sl@0
  2935
sl@0
  2936
	* generic/tclDecls.h:
sl@0
  2937
	* generic/tclIntPlatDecls.h:
sl@0
  2938
	* generic/tclStubInit.c: `make gentubs` after above changes.
sl@0
  2939
sl@0
  2940
	* doc/Panic.3:
sl@0
  2941
	* unix/mkLinks:  New file documenting Tcl_*Panic* public interfaces,
sl@0
  2942
	followed by `make mklinks`.  [Patch 415648, Bug 219170, Bug 414936]
sl@0
  2943
sl@0
  2944
2001-06-03  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2945
sl@0
  2946
	* generic/tclUtil.c (Tcl_DStringAppendElement): patch to save an
sl@0
  2947
	extra strlen call.  [Bug #428572]
sl@0
  2948
sl@0
  2949
2001-05-30  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  2950
sl@0
  2951
	* generic/tclExecute.c (TclExecuteByteCode): Added two casts to
sl@0
  2952
	INST_STR_CMP implementation to get rid of a couple warnings from
sl@0
  2953
	the SUNWspro C compiler.
sl@0
  2954
sl@0
  2955
	* generic/tclBasic.c (Tcl_GetMathFuncInfo,Tcl_ListMathFuncs): 
sl@0
  2956
	* generic/tclCmdIL.c (Tcl_InfoObjCmd,InfoFunctionsCmd): 
sl@0
  2957
	* generic/tcl.decls (generic table, positions 435+436): 
sl@0
  2958
	* tests/info.test: 
sl@0
  2959
	* doc/CrtMathFnc.3: 
sl@0
  2960
	* doc/info.n: Changes due to TIP #15 "Functions to List and Detail
sl@0
  2961
	Math Functions"
sl@0
  2962
sl@0
  2963
2001-05-28  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2964
sl@0
  2965
	* library/init.tcl (unknown): removed errant " in error message
sl@0
  2966
sl@0
  2967
2001-05-27  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2968
sl@0
  2969
	* generic/regc_locale.c: updated character class range data for
sl@0
  2970
	Unicode v3.1.0 compliance.
sl@0
  2971
	* generic/tclUniData.c: regenerated from Unicode v3.1.0 data file
sl@0
  2972
	(new as of 2001-05-16).  This brings Tcl to current unicode
sl@0
  2973
	compliance.
sl@0
  2974
sl@0
  2975
	* tests/utf.test: added tests to check unicode 3 compliance
sl@0
  2976
sl@0
  2977
	* unix/Makefile.in (tclUtf.o): added tclUniData.c dependency.
sl@0
  2978
sl@0
  2979
	* tools/uniClass.tcl: added comments to output format and the
sl@0
  2980
	script for clarification.
sl@0
  2981
sl@0
  2982
	* tools/uniParse.tcl: corrected filename output and GetDelta macro
sl@0
  2983
	to use 'info' as param (was 'infO')
sl@0
  2984
sl@0
  2985
2001-05-26  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  2986
sl@0
  2987
	* generic/tclVar.c (tclArraySearchType,SetArraySearchObj,
sl@0
  2988
	ParseSearchId): Added code to speed up array searching by reducing
sl@0
  2989
	the amount of parsing needed for searchIds.
sl@0
  2990
sl@0
  2991
	* generic/tclObj.c (TclInitObjSubsystem): 
sl@0
  2992
	* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): 
sl@0
  2993
	* generic/tclNamesp.c (TclInitNamespaceSubsystem): 
sl@0
  2994
	* generic/tclInt.h: Moved some Tcl_ObjType initialisation to
sl@0
  2995
	TclInitObjSubsystem to be with the bulk of the rest.
sl@0
  2996
	[Patch 424851] Committed by Miguel Sofer <mig@utdt.edu>
sl@0
  2997
sl@0
  2998
2001-05-23  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  2999
sl@0
  3000
	* tests/io.test: changed io-52.[9-11] to not be platform sensitive
sl@0
  3001
	with EOL translation.
sl@0
  3002
sl@0
  3003
	* library/encoding/cp1250.enc:
sl@0
  3004
	* library/encoding/cp1251.enc:
sl@0
  3005
	* library/encoding/cp1252.enc:
sl@0
  3006
	* library/encoding/cp1253.enc:
sl@0
  3007
	* library/encoding/cp1254.enc:
sl@0
  3008
	* library/encoding/cp1255.enc:
sl@0
  3009
	* library/encoding/cp1256.enc:
sl@0
  3010
	* library/encoding/cp1257.enc:
sl@0
  3011
	* library/encoding/cp1258.enc:
sl@0
  3012
	* library/encoding/cp874.enc:
sl@0
  3013
	* library/encoding/iso8859-6.enc:
sl@0
  3014
	* library/encoding/iso8859-7.enc:
sl@0
  3015
	* library/encoding/iso8859-8.enc:
sl@0
  3016
	* library/encoding/iso8859-10.enc (new):
sl@0
  3017
	* library/encoding/iso8859-13.enc (new):
sl@0
  3018
	* library/encoding/iso8859-14.enc (new): updated encoding tables
sl@0
  3019
	based on http://www.unicode.org/Public/MAPPINGS/. (kuhn)
sl@0
  3020
sl@0
  3021
2001-05-23  Mo DeJong  <mdejong@redhat.com>
sl@0
  3022
sl@0
  3023
	* unix/tcl.m4 (SC_PATH_TCLCONFIG): Fix comments,
sl@0
  3024
	and typo in cached variable name.
sl@0
  3025
sl@0
  3026
2001-05-23  Mo DeJong  <mdejong@redhat.com>
sl@0
  3027
sl@0
  3028
	* unix/tcl.m4 (SC_LOAD_TKCONFIG):
sl@0
  3029
	Remove use of undefined TCLCONFIG variable and
sl@0
  3030
	call AC_MSG_RESULT to print the checking result.
sl@0
  3031
	* win/tcl.m4: Ditto.
sl@0
  3032
sl@0
  3033
2001-05-22  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3034
sl@0
  3035
	* generic/tclObj.c (TclAllocateFreeObjects): simplified
sl@0
  3036
	objSizePlusPadding to use sizeof(Tcl_Obj) (max)
sl@0
  3037
	Corrected use of tclObjsAlloced/Freed/Shared in TCL_MEM_DEBUG
sl@0
  3038
	compile.
sl@0
  3039
sl@0
  3040
2001-05-22  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  3041
sl@0
  3042
	* generic/tclExecute.c: removed Tcl_DuplicateObj in INST_DUP 
sl@0
  3043
sl@0
  3044
2001-05-21  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3045
sl@0
  3046
	* tests/tcltest.test (tcltest-19.1): fixed failing test that was
sl@0
  3047
	getting affected by Windows env handling of empty valued elements.
sl@0
  3048
sl@0
  3049
	* unix/tcl.m4: added more common install directories in which to
sl@0
  3050
	search for *Config.sh [Bug #419812]
sl@0
  3051
sl@0
  3052
	* tests/cmdMZ.test (cmdMZ-1.4): added notLinux constraint to test
sl@0
  3053
	to prevent failure message on Linux due to OS caching bug.
sl@0
  3054
sl@0
  3055
	* tests/httpd (httpdRespond): added response to timeout value in
sl@0
  3056
	query string.
sl@0
  3057
sl@0
  3058
	* tests/http.test: removed unused notLinux constraint setting
sl@0
  3059
sl@0
  3060
	* generic/tclRegexp.c (Tcl_RegExpExecObj): added use of
sl@0
  3061
	Tcl_GetUnicodeFromObj.
sl@0
  3062
sl@0
  3063
2001-05-19  Andreas Kupries <andreas_kupries@users.sourceforge.net>
sl@0
  3064
sl@0
  3065
	* Note that "tclbench" (see project "tcllib") was extended with
sl@0
  3066
	  performance benchmarks for [fcopy] too.
sl@0
  3067
sl@0
  3068
	* doc/fcopy.n: Updated to reflect the extended behaviour of 'fcopy'.
sl@0
  3069
sl@0
  3070
	* tests/io.test: Added tests 'io-52.9', 'io-52.10' and 'io-52.11'
sl@0
  3071
	  to test the handling of encodings by 'fcopy' / 'TclCopychannel'
sl@0
  3072
	  [Bug #209210].
sl@0
  3073
sl@0
  3074
	* generic/tclIO.c: Split of both 'Tcl_ReadChars' and
sl@0
  3075
	  'Tcl_WriteChars' into a public error checking and an internal
sl@0
  3076
	  working part. The public functions now use the new internal
sl@0
  3077
	  ones. The new functions are 'DoReadChars' and 'DoWriteChars'.
sl@0
  3078
	  Extended 'CopyData' to use the new functions 'DoXChars' when
sl@0
  3079
	  required by the encodings on the input and output channels
sl@0
  3080
	  [Bug #209210].
sl@0
  3081
sl@0
  3082
2001-05-16  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3083
sl@0
  3084
	* library/history.tcl (tcl::HistAdd): prevent empty calls from
sl@0
  3085
	being added to the history (arndt)
sl@0
  3086
sl@0
  3087
	* tests/error.test: updated error-1.3 message to account for
sl@0
  3088
	string index being compiled at toplevel.
sl@0
  3089
	* tests/appendComp.test:
sl@0
  3090
	* tests/stringComp.test: new files for extended bytecode testing
sl@0
  3091
sl@0
  3092
	* generic/tclBasic.c: added new CompileProc invocations to basic
sl@0
  3093
	command initialization.
sl@0
  3094
	* generic/tclCompCmds.c: added new compile commands for append,
sl@0
  3095
	lappend, lindex and llength.  Refactored set and incr compile
sl@0
  3096
	commands to use new TclPushVarName function for handling the
sl@0
  3097
	varname component during compilation (also used by append and
sl@0
  3098
	lappend).  Changed string compile command to compile toplevel code
sl@0
  3099
	as well (when possible).
sl@0
  3100
	* generic/tclCompile.c: added new instruction enums
sl@0
  3101
	* generic/tclCompile.h: added debug info for new instructions
sl@0
  3102
	* generic/tclExecute.c (TclExecuteByteCode): moved elemPtr to
sl@0
  3103
	toplevel var (oft-used).  Added definitions for new bytecode
sl@0
  3104
	instructions INST_LIST_INDEX, INST_LIST_LENGTH, INST_APPEND_SCALAR1,
sl@0
  3105
	INST_APPEND_SCALAR4, INST_APPEND_ARRAY1, INST_APPEND_ARRAY4,
sl@0
  3106
	INST_APPEND_ARRAY_STK, INST_APPEND_STK, INST_LAPPEND_SCALAR1,
sl@0
  3107
	INST_LAPPEND_SCALAR4, INST_LAPPEND_ARRAY1, INST_LAPPEND_ARRAY4,
sl@0
  3108
	INST_LAPPEND_ARRAY_STK, INST_LAPPEND_STK.
sl@0
  3109
	Refactored repititious code for reuse with INST_LOAD_STK (same as
sl@0
  3110
	INST_LOAD_SCALAR_STK), INST_STORE_STK (same as
sl@0
  3111
	INST_STORE_SCALAR_STK).
sl@0
  3112
	Updated INST_STR_CMP with style of fix of 2001-04-06 Fellows
sl@0
  3113
	[Bug #219201] as that fix only affected the runtime eval'ed
sl@0
  3114
	"string" (string compare is normally byte-compiled now).  We
sl@0
  3115
	may want to back these out for speed in the future, noting the
sl@0
  3116
	problems with \x00 comparisons in the docs.
sl@0
  3117
	* generic/tclInt.h: declarations for new compile commands.
sl@0
  3118
	* generic/tclVar.c: change TclGetIndexedScalar,
sl@0
  3119
	TclGetElementOfIndexedArray, TclSetElementOfIndexedArray and
sl@0
  3120
	TclSetIndexedScalar to use flags.  The Set functions now support
sl@0
  3121
	TCL_APPEND_ELEMENT and TCL_LIST_ELEMENT as well.
sl@0
  3122
	* generic/tclInt.decls:
sl@0
  3123
	* generic/tclIntDecls.h: minor signature changes for above.
sl@0
  3124
sl@0
  3125
	* generic/tclCmdMZ.c: made use of new Tcl_GetUnicodeFromObj.
sl@0
  3126
sl@0
  3127
2001-05-16  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3128
sl@0
  3129
	* doc/console.n: Deleted.  Put it in the wrong source tree!  D'oh!
sl@0
  3130
sl@0
  3131
2001-05-15  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3132
sl@0
  3133
	* generic/tcl.decls:
sl@0
  3134
	* generic/tclDecls.h:
sl@0
  3135
	* generic/tclStubInit.c:
sl@0
  3136
	* generic/tclStringObj.c (Tcl_GetUnicodeFromObj): new function to
sl@0
  3137
	parallel Tcl_GetStringFromObj (fix of an API oversight).
sl@0
  3138
sl@0
  3139
	* unix/tclUnixPipe.c: updated pipeChannelType to
sl@0
  3140
	TCL_CHANNEL_VERSION_2 type specification.
sl@0
  3141
sl@0
  3142
	* tests/fileName.test: corrected tests not to fail on win when a
sl@0
  3143
	C:/test dir exists.
sl@0
  3144
sl@0
  3145
	* generic/tclFileName.c (ExtractWinRoot): corrected ABR error
sl@0
  3146
sl@0
  3147
2001-05-15  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  3148
sl@0
  3149
	* tests/lindex.test: added test for nested braces [Patch: 423617]
sl@0
  3150
sl@0
  3151
2001-05-15  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  3152
sl@0
  3153
	* generic/tclInt.h
sl@0
  3154
	* generic/tclNamesp.c: invalidate all bytecodes in a namespace if
sl@0
  3155
	a new command shadows a bytecoded command.
sl@0
  3156
	* tests/namespace.test
sl@0
  3157
	Patched from [Bug: 231259] 
sl@0
  3158
sl@0
  3159
2001-05-15  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3160
sl@0
  3161
	* doc/console.n: Created.  It seems very odd to me that the
sl@0
  3162
	console implementation is part of the Tcl distribution and not
sl@0
  3163
	part of Tk, but given the location of the source, the
sl@0
  3164
	documentation must obviously match up...
sl@0
  3165
sl@0
  3166
2001-05-14  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3167
sl@0
  3168
	* generic/tclCmdMZ.c (Tcl_StringObjCmd): 
sl@0
  3169
	* tests/string.test (string-4.14): Negative string indices should
sl@0
  3170
	not be added as offsets to the result of [string first] but
sl@0
  3171
	instead be treated as referring to the start of the string.
sl@0
  3172
	[Bug: 423581]
sl@0
  3173
sl@0
  3174
2001-05-11  Mo DeJong  <mdejong@redhat.com>
sl@0
  3175
sl@0
  3176
	* unix/Makefile.in: Add a LDFLAGS variable to the
sl@0
  3177
	Makefile instead of directly substing @LDFLAGS@.
sl@0
  3178
	* unix/configure: Regen.
sl@0
  3179
	* unix/tcl.m4: Fix CFLAGS_DEFAULT so that the name
sl@0
  3180
	of a Makefile variable is passed as @CFLAGS@.
sl@0
  3181
	* win/Makefile.in: Move the setting of CFLAGS
sl@0
  3182
	higher up in the Makefile.
sl@0
  3183
	* win/configure: Regen.
sl@0
  3184
	* win/configure.in: Use dnl to comment out macros
sl@0
  3185
	so that they are not accidently expanded.
sl@0
  3186
	* win/tcl.m4: Fix CFLAGS_DEFAULT so that the name
sl@0
  3187
	of a Makefile variable is passed as @CFLAGS@.
sl@0
  3188
sl@0
  3189
2001-05-07  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  3190
sl@0
  3191
	* generic/tclExecute.c: insure different rand() seeds in different
sl@0
  3192
	threads [Bug 416643]
sl@0
  3193
sl@0
  3194
2001-05-03  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3195
sl@0
  3196
	* tests/tcltest.test: removed extraneous 'c' (doh!) [Bug: 414031]
sl@0
  3197
sl@0
  3198
	* tools/tcltk-man2html.tcl: removed use of 'exec' for portability
sl@0
  3199
	and fixed up code.
sl@0
  3200
sl@0
  3201
2001-05-03  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3202
sl@0
  3203
	* doc/library.n:
sl@0
  3204
	* library/init.tcl:
sl@0
  3205
	* tests/autoMkindex.t*: Modified [auto_import] to apply
sl@0
  3206
	pattern matching in the [namespace import] style.  [Bug 420186]
sl@0
  3207
	***POTENTIAL INCOMPATIBILITY*** for any callers of [auto_import]
sl@0
  3208
	from outside Tcl that expect the pattern matching to be like that
sl@0
  3209
	of [string match].
sl@0
  3210
sl@0
  3211
2001-05-03  Miguel Sofer  <msofer@users.sourceforge.net>
sl@0
  3212
sl@0
  3213
	* generic/tclParse.c: 
sl@0
  3214
	* tests/namespace.test: Insure consistent behaviour of the
sl@0
  3215
	[unknown] command: when a command is unknown, it is always
sl@0
  3216
	processed by [::unknown], ignoring any namespace proc which
sl@0
  3217
	happens to be called "unknown" [Patch #421166, Bug #420507]
sl@0
  3218
sl@0
  3219
2001-05-02  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3220
sl@0
  3221
	* tools/genStubs.tcl: Add a package require of Tcl 8
sl@0
  3222
	at the beginning of the script so that the script
sl@0
  3223
	will print a descriptive error message when run
sl@0
  3224
	in an old Tcl 7 shell.
sl@0
  3225
sl@0
  3226
2001-04-27  Kevin Kenny	<kennykb@crd.ge.com>
sl@0
  3227
sl@0
  3228
	* generic/tclInt.decls:
sl@0
  3229
	* generic/tclInt.h:
sl@0
  3230
	* generic/tclCmdIL.c:
sl@0
  3231
	* generic/tclProc.c:
sl@0
  3232
	* generic/tclVar.c: Added another collection of missing CONSTs
sl@0
  3233
	related to TclGetNamespaceForQualName.
sl@0
  3234
	* generic/tclIntDecls.h: Regenerated.
sl@0
  3235
	
sl@0
  3236
2001-04-25  Mo DeJong  <mdejong@redhat.com>
sl@0
  3237
sl@0
  3238
	* unix/configure: Regen.
sl@0
  3239
	* unix/tcl.m4: Subst TCL_THREADS into tclConfig.sh.
sl@0
  3240
	* unix/tclConfig.sh.in: Add TCL_THREADS variable.
sl@0
  3241
	* win/configure: Regen.
sl@0
  3242
	* win/tcl.m4: Subst TCL_THREADS into tclConfig.sh.
sl@0
  3243
	* win/tclConfig.sh.in: Add TCL_THREADS variable.
sl@0
  3244
sl@0
  3245
2001-04-25  Mo DeJong  <mdejong@redhat.com>
sl@0
  3246
sl@0
  3247
	* unix/configure: Regen.
sl@0
  3248
	* unix/configure.in: Use $@ in MAKE_LIB and MAKE_STUB_LIB
sl@0
  3249
	commands instead of using a delayed subst variable. Replace
sl@0
  3250
	instances of STUB_LIB_FILE with TCL_STUB_LIB_FILE.
sl@0
  3251
sl@0
  3252
2001-04-25  Mo DeJong  <mdejong@redhat.com>
sl@0
  3253
sl@0
  3254
	* unix/Makefile.in: Use TCL_STUB_LIB_FILE instead of STUB_LIB_FILE.
sl@0
  3255
	* unix/configure: Regen.
sl@0
  3256
	* unix/configure.in: Don't subst STUB_LIB_FILE, use TCL_STUB_LIB_FILE
sl@0
  3257
	instead.
sl@0
  3258
sl@0
  3259
2001-04-25  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3260
sl@0
  3261
	* tools/encoding/iso8859-15.txt:
sl@0
  3262
	* library/encoding/iso8859-15.enc: Oops! Got the full encoding
sl@0
  3263
	wrong.  Should be fixed now...
sl@0
  3264
sl@0
  3265
	* tools/encoding/iso8859-15.txt:
sl@0
  3266
	* library/encoding/iso8859-15.enc:
sl@0
  3267
	* tools/tcl.wse.in: Added ISO 8859-15 (a.k.a. Latin-1 + Euro
sl@0
  3268
	currency symbol) support.
sl@0
  3269
sl@0
  3270
	* generic/tclNamesp.c:
sl@0
  3271
	* generic/tclBasic.c (TclRenameCommand): Missing CONST from
sl@0
  3272
	several declarations relating to use of TclGetNamespaceForQualName
sl@0
  3273
sl@0
  3274
2001-04-24  Kevin B. Kenny    <kennykb@acm.org>
sl@0
  3275
	* doc/AssocData.3:
sl@0
  3276
	* doc/CrtCommand.3:
sl@0
  3277
	* doc/CrtMathFnc.3:
sl@0
  3278
	* doc/CrtObjCmd.3:
sl@0
  3279
	* doc/ExprLong.3:
sl@0
  3280
	* generic/tclBasic.c:
sl@0
  3281
	* generic/tclCmdMZ.c:
sl@0
  3282
	* doc/CrtSlave.3:
sl@0
  3283
	* generic/tclNamesp.c:
sl@0
  3284
	* generic/tcl.decls:
sl@0
  3285
	* generic/tcl.h:
sl@0
  3286
	* generic/tclInt.decls:
sl@0
  3287
	* generic/tclInt.h: (TIP #27) Another round of CONST changes, this
sl@0
  3288
	time adding CONST to the API's exported from tclBasic.c.
sl@0
  3289
	[Patch #415179]
sl@0
  3290
	***POTENTIAL INCOMPATIBILITY*** from 8.4a2, in which Vince
sl@0
  3291
	Darley's changes to command tracing were added.  A const has been
sl@0
  3292
	added to the type signature of one of the parameters to
sl@0
  3293
	Tcl_CommandTraceProc.
sl@0
  3294
sl@0
  3295
2001-04-10  Kevin B. Kenny    <kennykb@acm.org>
sl@0
  3296
	* unix/tclUnixTime.c: Altered code to use memcpy instead of
sl@0
  3297
	structure assigments in an effort to achieve better K&R
sl@0
  3298
	compatibility.
sl@0
  3299
	
sl@0
  3300
2001-04-10  Kevin B. Kenny    <kennykb@acm.org>
sl@0
  3301
sl@0
  3302
	* unix/tclUnixTime.c: Fixed silly typo in calls to 'gmtime' and
sl@0
  3303
	'localtime' that broke the Linux build.
sl@0
  3304
sl@0
  3305
2001-04-09  Kevin B. Kenny    <kennykb@acm.org>
sl@0
  3306
sl@0
  3307
	* unix/tclLoadShl.c: Added DYNAMIC_PATH to the load flags so that
sl@0
  3308
	the SHLIB_PATH will be searched for other libraries.  [Bug #219140]
sl@0
  3309
	
sl@0
  3310
2001-04-09  Kevin B. Kenny    <kennykb@acm.org>
sl@0
  3311
sl@0
  3312
	* unix/tcl.m4: Added _REENTRANT to Solaris build so that thread
sl@0
  3313
	safe library routines are included.
sl@0
  3314
	* unix/configure: Re-ran 'autoconf' with changed tcl.m4
sl@0
  3315
	* tclUnixTime.c: Modified for thread safety of 'gmtime' and
sl@0
  3316
	'localtime' system calls [Bugs #219136 and #232558]
sl@0
  3317
	
sl@0
  3318
2001-04-09  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3319
sl@0
  3320
	* tests/expr.test (expr-21.*): Tests to check below fix.
sl@0
  3321
	* generic/tclParseExpr.c (GetLexeme): Now recognises the
sl@0
  3322
	non-numeric boolean literals for what they are. It no longer makes
sl@0
  3323
	sense for anyone to create functions with the same name as one of
sl@0
  3324
	them, but this was true in 7.* as well [Bug #217777; finally!]
sl@0
  3325
sl@0
  3326
2001-04-07  Miguel Sofer <msofer@users.sourceforge.net>
sl@0
  3327
sl@0
  3328
	* generic/tclExecute.c: Avoid panic when there are extra items in
sl@0
  3329
	  the tcl stack [Bug #406709, Patch #414470]
sl@0
  3330
	* tests/foreach.test: test to exercise the patch
sl@0
  3331
sl@0
  3332
2001-04-07  Miguel Sofer <msofer@users.sourceforge.net>
sl@0
  3333
sl@0
  3334
	* doc/namespace.n: document correct functionality
sl@0
  3335
	* generic/tclNamesp.c: corrected behaviour of [namespace code]
sl@0
  3336
	(Bug #219385, Patch #403530)
sl@0
  3337
	* library/init.tcl:
sl@0
  3338
	* tests/namespace-old.test: test correct functionality
sl@0
  3339
	* tests/namespace.test: test correct functionality
sl@0
  3340
sl@0
  3341
2001-04-07  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  3342
sl@0
  3343
	* unix/Makefile.in (checkdoc): New target, checking the
sl@0
  3344
	  definitions as found in the compiled library against the
sl@0
  3345
	  manpages to find undocumented public functionality.
sl@0
  3346
sl@0
  3347
	* unix/mkLinks: Updated to include the new manpage.
sl@0
  3348
sl@0
  3349
	* doc/UniCharIsAlpha.3: New manpage documenting the Unicode
sl@0
  3350
	  character classification APIs [Bug #218720].
sl@0
  3351
sl@0
  3352
2001-04-07  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  3353
sl@0
  3354
	* unix/mkLinks: Updated to incorporate the changes below.
sl@0
  3355
sl@0
  3356
	* doc/StringObj.3: Added 'Tcl_AttemptSetObjLength' to the NAME
sl@0
  3357
	  section. [Bug #414435].
sl@0
  3358
sl@0
  3359
	* doc/Alloc.3: Added both 'Tcl_AttemptAlloc' and
sl@0
  3360
	  'Tcl_AttemptRealloc' to the NAME section. [Bug #414435].
sl@0
  3361
sl@0
  3362
	* doc/Utf.3: Added both 'Tcl_UniCharCaseMatch' and
sl@0
  3363
	  'Tcl_UniCharNcasecmp' to the NAME section. [Bug #414435].
sl@0
  3364
sl@0
  3365
2001-04-06  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3366
sl@0
  3367
	* library/init.tcl:
sl@0
  3368
	* tests/init.test:  Modified processing of $::errorInfo by
sl@0
  3369
	[unknown] when the auto-loaded command throws an error to better
sl@0
  3370
	cover the tracks of auto-loading.  [Bug 219280, Patch 403551]
sl@0
  3371
sl@0
  3372
2001-04-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3373
sl@0
  3374
	* doc/read.n: Added section on "USE WITH SERIAL PORTS" to resolve
sl@0
  3375
	[Bug #219402]
sl@0
  3376
sl@0
  3377
	* tests/string.test (string-2.30): Test for this case
sl@0
  3378
	* generic/tclCmdMZ.c (Tcl_StringObjCmd, STR_COMPARE branch): Fixed
sl@0
  3379
	problem caused by Utf-rep of \x00 being more than Utf-rep of \x01
sl@0
  3380
	fooling memcmp by forcing everything through Utf-based
sl@0
  3381
	comparisons.  Added optimizations for case where objects have a
sl@0
  3382
	string/unicode-rep or a bytearray-rep (i.e. where we can perform
sl@0
  3383
	comparisons on fixed-size units.) [Bug #219201]
sl@0
  3384
	* generic/tclUtf.c (Tcl_UtfNcmp): Corrected seriously erroneous
sl@0
  3385
	comment.
sl@0
  3386
sl@0
  3387
2001-04-05  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  3388
sl@0
  3389
	* doc/Macintosh.3: Removed duplicates from .SH line
sl@0
  3390
	  [Bug #413983]. 
sl@0
  3391
sl@0
  3392
2001-04-05  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3393
sl@0
  3394
	* generic/tclCmdMZ.c (Tcl_StringObjCmd): Fixed so will compile
sl@0
  3395
	with K&R compilers [Patch #413844, Bug #413847]
sl@0
  3396
sl@0
  3397
2001-04-04  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3398
sl@0
  3399
	* generic/tclMain.c:  Patch from Kevin Kenny to restore support of
sl@0
  3400
	  pre-ANSI compilers.  [Bug 413846, Patch 413842]
sl@0
  3401
sl@0
  3402
2001-04-04  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  3403
sl@0
  3404
	* unix/mkLinks: Updated to contain the new manpage.
sl@0
  3405
sl@0
  3406
	* doc/Environment.3: New manpage, describes Tcl_PutEnv
sl@0
  3407
	  [Bug #219171]. 
sl@0
  3408
sl@0
  3409
	* doc/Macintosh.3: New manpage describing the macintosh specific
sl@0
  3410
	  parts of the public API [Bug #219169].
sl@0
  3411
sl@0
  3412
2001-04-04  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3413
sl@0
  3414
	* unix/configure:
sl@0
  3415
	* unix/tcl.m4: extended test of termios vs. termio vs. sgtty to
sl@0
  3416
	better detect result on Linux and when certain configure
sl@0
  3417
	redirections are being used. (max) [Patch #402923; Bug #227412,
sl@0
  3418
	#219194]
sl@0
  3419
sl@0
  3420
2001-04-04  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  3421
sl@0
  3422
	* generic/tclTest.c:
sl@0
  3423
	* tests/io.tests: TIP #10 followup correcting a problem with the
sl@0
  3424
	  original patch because of the lack of 'testthread id' for a
sl@0
  3425
	  non-threaded compilation.
sl@0
  3426
sl@0
  3427
2001-04-04  Kevin Kenny <kennykb@acm.org>
sl@0
  3428
sl@0
  3429
	* doc/ByteArrObj.3:
sl@0
  3430
	* doc/DumpActiveMemory.3:
sl@0
  3431
	* doc/InitStubs.3:
sl@0
  3432
	* doc/PkgRequire.3:
sl@0
  3433
	* doc/StringObj.3:
sl@0
  3434
	* generic/tcl.decls:
sl@0
  3435
	* generic/tcl.h:
sl@0
  3436
	* generic/tclBinary.c:
sl@0
  3437
	* generic/tclCkalloc.c:
sl@0
  3438
	* generic/tclDecls.h:
sl@0
  3439
	* generic/tclListObj.c:
sl@0
  3440
	* generic/tclObj.c:
sl@0
  3441
	* generic/tclPkg.c:
sl@0
  3442
	* generic/tclStringObj.c:
sl@0
  3443
	* generic/tclStubLib.c:
sl@0
  3444
	  (TIP#27) Changed a number of Tcl API's to accept "CONST char*"
sl@0
  3445
	  in place of simple "char*". (kennykb) [Patch #404026]
sl@0
  3446
sl@0
  3447
2001-04-04  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3448
sl@0
  3449
	* generic/tclListObj.c (Tcl_SetListObj): set objPtr->length = 0 in
sl@0
  3450
	empty object case to maintain sanctity of Tcl_Obj bytes/length
sl@0
  3451
	pairing. (porter) [Patch #405998]
sl@0
  3452
sl@0
  3453
2001-04-03  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  3454
sl@0
  3455
	* unix/mkLinks: Added 'Signal.3', 'Tcl_WaitPid'.
sl@0
  3456
sl@0
  3457
	* doc/DetachPids.3: Added description of 'Tcl_WaitPid' [Bug #219173].
sl@0
  3458
sl@0
  3459
	* doc/Signal.3: New man page describing the public API procedures
sl@0
  3460
	  'Tcl_SignalId' and 'Tcl_SignalMsg' [Bug #219172].
sl@0
  3461
sl@0
  3462
2001-04-02  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3463
sl@0
  3464
	* README:
sl@0
  3465
	* win/README:
sl@0
  3466
	* win/README.binary: further notes corrections.
sl@0
  3467
sl@0
  3468
	* win/configure:
sl@0
  3469
	* win/tcl.m4 (SHLIB_LD):  added -incremental:no. [Bug #219381]
sl@0
  3470
sl@0
  3471
2001-04-01  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3472
sl@0
  3473
	* README:
sl@0
  3474
	* mac/README:
sl@0
  3475
	* win/README:
sl@0
  3476
	* win/README.binary:
sl@0
  3477
	* unix/README: updated patchlevel information to 8.4a3 and
sl@0
  3478
	updated links and notes.
sl@0
  3479
sl@0
  3480
	* generic/tcl.h:
sl@0
  3481
	* tools/tcl.wse.in:
sl@0
  3482
	* win/configure.in (VER):
sl@0
  3483
	* win/configure:
sl@0
  3484
	* unix/configure:
sl@0
  3485
	* unix/configure.in (VER):
sl@0
  3486
	* unix/tcl.spec: updated patchlevel information to 8.4a3
sl@0
  3487
sl@0
  3488
2001-03-30  Jeff Hobbs  <jeffh@ActiveState.com>
sl@0
  3489
sl@0
  3490
	* generic/tclCkalloc.c (TclFinalizeMemorySubsystem): set curTagPtr
sl@0
  3491
	to NULL to allow for reuse.
sl@0
  3492
	* generic/tclEvent.c (Tcl_Finalize): moved the tsdPtr
sl@0
  3493
	initialization inside the subsystemsInitialized check to prevent
sl@0
  3494
	it potentially getting called twice during finalization.  (wu)
sl@0
  3495
	[Patch #403532, Bug #219391]
sl@0
  3496
sl@0
  3497
	* generic/tclThreadTest.c (Tcl_ThreadObjCmd): cast fixes
sl@0
  3498
	* generic/tclTest.c (TestChannelCmd): added cast to mollify
sl@0
  3499
	Windows debug build.
sl@0
  3500
sl@0
  3501
	* win/tclWinSock.c (SocketEventProc): Fixed race condition in
sl@0
  3502
	readability of socket on Windows.
sl@0
  3503
	[Patch #410674, Bug #219205 #219333]
sl@0
  3504
sl@0
  3505
	* win/tcl.m4: added imm32.lib to LIBS_GUI for Tk IME support.
sl@0
  3506
sl@0
  3507
	* win/Makefile.in (install-libraries): removed extra \s that broke
sl@0
  3508
	the target.
sl@0
  3509
	(install-doc): improved install-* targets to use their base build
sl@0
  3510
	dependency.
sl@0
  3511
sl@0
  3512
2001-03-30  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
sl@0
  3513
sl@0
  3514
	* All of the changes below belong to TIP #10 [Tcl I/O Enhancement:
sl@0
  3515
	  Thread-Aware Channels]. See also [Patch #403358] at SF.
sl@0
  3516
sl@0
  3517
	* generic/tclIO.h (struct ChannelState, line 236f): Extended the
sl@0
  3518
	  structure with a new field of type 'Tcl_ThreadId' to hold the id
sl@0
  3519
	  of the thread currently managing all channels with this state.
sl@0
  3520
sl@0
  3521
	  Note: This structure is shared by all channels in a stack of
sl@0
  3522
	  transformations.
sl@0
  3523
sl@0
  3524
	* generic/tclIO.c (Tcl_CreateChannel, lines 1058-1065): Modified
sl@0
  3525
	  to store the Id of the current thread in the 'ChannelState' of
sl@0
  3526
	  the new channel.
sl@0
  3527
sl@0
  3528
	* generic/tclIO.c (Tcl_SpliceChannel, lines 2265-2270): Modified
sl@0
  3529
	  in the same manner as 'Tcl_CreateChannel' as the channel will be
sl@0
  3530
	  managed by the current thread afterward.
sl@0
  3531
sl@0
  3532
	* generic/tclIO.c   (Tcl_GetChannelThread, lines 1478-1503):
sl@0
  3533
	* generic/tcl.decls (Tcl_GetChannelThread, lines 1504-1506): New
sl@0
  3534
	  API function to retrieve the Id of the managing thread from a
sl@0
  3535
	  channel. Implementation and declaration.
sl@0
  3536
sl@0
  3537
	* generic/tclTest.c (TestChannelCmd, lines 4520-4532): Added
sl@0
  3538
	  subcommand 'mthread' to query a channel about its managing
sl@0
  3539
	  thread.
sl@0
  3540
sl@0
  3541
2001-03-29  Mo DeJong  <mdejong@redhat.com>
sl@0
  3542
sl@0
  3543
	* tests/interp.test: Print out warning when
sl@0
  3544
	testinterpdelete command is not defined.
sl@0
  3545
	Add tests that checks to make sure a
sl@0
  3546
	child interp inherits the parent's cwd.
sl@0
  3547
sl@0
  3548
2001-03-29  Jeff Hobbs  <jeffh@gimlet.activestate.com>
sl@0
  3549
sl@0
  3550
	* doc/tcltest.n: corrected incorrect macro usage.
sl@0
  3551
sl@0
  3552
	* doc/lsort.n: corrected unbalanced nroff macros.
sl@0
  3553
sl@0
  3554
	* unix/tclUnixPipe.c (TclpCreateTempFile): prevent potential race
sl@0
  3555
	condition and security leak in tmp filename creation.
sl@0
  3556
	(max) [Patch #402924]
sl@0
  3557
sl@0
  3558
	* unix/configure:
sl@0
  3559
	* unix/tcl.m4: corrected IRIX-5.x config to not use -n32.
sl@0
  3560
	(english) [Patch #403626]
sl@0
  3561
sl@0
  3562
	* unix/tclUnixThrd.c (Tcl_ConditionWait): fixed handling of
sl@0
  3563
	timeout for threads (corrects excessive CPU usage issue for Tk on
sl@0
  3564
	Unix in threaded Tcl environment). (ruppert) [Bug #411603]
sl@0
  3565
sl@0
  3566
2001-03-29  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3567
sl@0
  3568
	* doc/lsort.n: Added some notes that clarify the behaviour of
sl@0
  3569
	[lsort] as well as a whole bunch of examples.  [Bug #219202]
sl@0
  3570
sl@0
  3571
2001-03-27  Jeff Hobbs  <jeffh@gimlet.activestate.com>
sl@0
  3572
sl@0
  3573
	* doc/Alloc.3: corrected docs to note that Tcl_Attempt* return
sl@0
  3574
	char *'s, not ints. [Bug #411388]
sl@0
  3575
sl@0
  3576
	* tests/regexp.test (regexp-19.1):
sl@0
  3577
	* generic/tclCmdMZ.c (Tcl_RegsubObjCmd): fixed handling of nulls
sl@0
  3578
	in subspec value.
sl@0
  3579
sl@0
  3580
2001-03-26  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3581
sl@0
  3582
	* generic/tclDecls.h (Tcl_InitCustomHashTable):  Correction to
sl@0
  3583
	patch from 2001-01-18;  tclDecls.h was not generated using
sl@0
  3584
	'make genstubs'.
sl@0
  3585
sl@0
  3586
2001-03-26  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3587
sl@0
  3588
	* win/tclWinInt.h (tclWinTCharEncoding): Removed as now a static
sl@0
  3589
	variable in win/tclWin32Dll.c instead.
sl@0
  3590
sl@0
  3591
2001-03-23  Jeff Hobbs  <jeffh@activestate.com>
sl@0
  3592
sl@0
  3593
	* generic/tclVar.c (Tcl_ArrayObjCmd): Corrected retrieval of
sl@0
  3594
	resultPtr to prevent possible corruption.
sl@0
  3595
sl@0
  3596
	* generic/tclNamesp.c (Tcl_Import): Correctly freed a DString.
sl@0
  3597
	(lavana) [Patch #403755]
sl@0
  3598
sl@0
  3599
2001-03-15  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3600
sl@0
  3601
	* tests/set-old.test (set-old-7.2): Changed error behaviour of
sl@0
  3602
	[unset] to agree with documentation, so must change test as well.
sl@0
  3603
sl@0
  3604
2001-03-14  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3605
sl@0
  3606
	* library/package.tcl (pkg_mkIndex):  Added patch from Vince
sl@0
  3607
	Darley to make [pkg_mkIndex -verbose] even more verbose.
sl@0
  3608
	[Bug 219349, Patch 403529]
sl@0
  3609
sl@0
  3610
2001-03-13  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3611
sl@0
  3612
	* doc/info.n: Improved documentation for [info hostname].
sl@0
  3613
	[Bug #403840]
sl@0
  3614
sl@0
  3615
	* generic/tclVar.c (Tcl_UnsetObjCmd): Made command behave as
sl@0
  3616
	documented [issue remaining from bug #405769]
sl@0
  3617
sl@0
  3618
	* generic/tclCmdMZ.c (Tcl_StringObjCmd): A missing
sl@0
  3619
	{return TCL_OK;} was causing memory corruption.  [Bug #408002]
sl@0
  3620
sl@0
  3621
	* generic/tclExecute.c (TclDeleteExecEnv, GrowEvaluationStack,
sl@0
  3622
	TclExecuteByteCode): Added some casts to ClientData that are
sl@0
  3623
	apparently needed on some architectures.
sl@0
  3624
sl@0
  3625
2001-03-12  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3626
sl@0
  3627
	* tests/string.test: Fixed some test numberings and added a test.
sl@0
  3628
	[Patch #403229]
sl@0
  3629
sl@0
  3630
2001-03-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3631
sl@0
  3632
	* generic/tclVar.c (Tcl_UnsetObjCmd): Rewrote argument parser to
sl@0
  3633
	avoid a read off the end of the argument array that could occur
sl@0
  3634
	when executing something like [unset -nocomplain] was executed.
sl@0
  3635
	Improved the error message given when too few arguments are given
sl@0
  3636
	(-nocomplain should obviously be *before* --, not after it) and
sl@0
  3637
	also modified the test suite to take account of that and the
sl@0
  3638
	documentation to use the same improvement. [Bug 405769]
sl@0
  3639
sl@0
  3640
2001-03-02  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3641
sl@0
  3642
	* generic/tclExecute.c (TclExecuteByteCode): Fixed bug that could
sl@0
  3643
	pass pointers to freed memory to command implementations, which
sl@0
  3644
	most obviously caused some weird behaviour with [info level], but
sl@0
  3645
	could have caused problems with user code and command traces too.
sl@0
  3646
	[Bug 404865, Patch 405436]
sl@0
  3647
sl@0
  3648
2001-02-23  msofer  <msofer@users.sourceforge.net>
sl@0
  3649
	* no changes; fixing up the missing comment in the previous one.
sl@0
  3650
	Sorry.
sl@0
  3651
sl@0
  3652
2001-02-23  msofer  <msofer@ant.utdt>
sl@0
  3653
sl@0
  3654
	* /cvsroot/tcl/tcl/tests/execute.test:
sl@0
  3655
	added test for evaluation of an expression in a variable; evals once
sl@0
  3656
	by compiling, second time using the previous compilation
sl@0
  3657
sl@0
  3658
2001-02-18  Kevin B. Kenny  <kennykb@acm.org>
sl@0
  3659
sl@0
  3660
	* doc/clock.n: Updated documentation to reflect the addition of
sl@0
  3661
	compat/strftime.c, including the correct formatting of
sl@0
  3662
	ISO-8601:1988 fiscal week number (%V).
sl@0
  3663
	
sl@0
  3664
2001-02-15  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3665
sl@0
  3666
	* generic/tclCmdMZ.c (Tcl_SplitObjCmd): Improved efficiency of
sl@0
  3667
	splitting strings into individual characters by adding hash so
sl@0
  3668
	that only one Tcl_Obj per character is created.  Improves
sl@0
  3669
	performance of splitting of short strings and makes a huge
sl@0
  3670
	difference to splitting of long strings, such as is done in the
sl@0
  3671
	mime package in tcllib.  [Bug #131523]
sl@0
  3672
sl@0
  3673
2001-01-31  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3674
sl@0
  3675
	* win/makefile.vc (install-libraries):  Corrected misdirected
sl@0
  3676
	install directory for the msgcat 1.2 package.
sl@0
  3677
sl@0
  3678
2001-01-30  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3679
sl@0
  3680
	* generic/tclIO.c (CopyData): Moved code that updates the count
sl@0
  3681
	of how many bytes are left to copy.  Corrects bug that when
sl@0
  3682
	writing occurs in the background, the copy loop could be
sl@0
  3683
	escaped without updating the count, causing CopyData() to try
sl@0
  3684
	to copy more bytes than the toRead value originally passed to
sl@0
  3685
	TclCopyChannel(), leading to hangs and misreporting of number
sl@0
  3686
	of bytes copied. [Bug 118203, Patch 103432]
sl@0
  3687
sl@0
  3688
2001-01-18  Andreas Kupries  <a.kupries@westend.com>
sl@0
  3689
sl@0
  3690
	* Everything below belongs together, it fixes bug #123153.
sl@0
  3691
sl@0
  3692
	* generic/tcl.h (line 342): A bit more explanation about the
sl@0
  3693
	  default value for TCL_PRESERVE_BINARY_COMPATABILITY.
sl@0
  3694
sl@0
  3695
	* generic/tcl.h (line 1208): Define the macro 'Tcl_InitHashTable'
sl@0
  3696
	  only when TCL_PRESERVE_BINARY_COMPATIBILITY is not set
sl@0
  3697
	  as it kills binary compatibility to 8.3 and earlier
sl@0
  3698
	  versions. This is the main part of the patch/change.
sl@0
  3699
sl@0
  3700
	* generic/tcl.decls (line 1469):
sl@0
  3701
	* generic/tclHash.c (Tcl_InitHashTable):
sl@0
  3702
	* generic/tclHash.c (Tcl_InitHashTableEx):
sl@0
  3703
	* generic/tclObj.c (Tcl_InitObjHashTable): Changed
sl@0
  3704
	  'Tcl_InitHashTableEx' to 'Tcl_InitCustomHashTable'. This change
sl@0
  3705
	  is more of an estethical nature, replacing the ubiquitous 'Ex'
sl@0
  3706
	  suffix with a more meaningful name. The introduced binary
sl@0
  3707
	  incompatibility is deemed acceptable as it is between alpha
sl@0
  3708
	  versions.  Updated callers.
sl@0
  3709
sl@0
  3710
	* doc/Hash.3:
sl@0
  3711
	* unix/mkLinks: Changed 'Tcl_InitHashTableEx' to
sl@0
  3712
	  'Tcl_InitCustomHashTable'.
sl@0
  3713
sl@0
  3714
2001-01-10  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
sl@0
  3715
sl@0
  3716
	* tests/winPipe.test (winpipe-1.20): 
sl@0
  3717
	* tests/winDde.test (createChildProcess): 
sl@0
  3718
	* tests/pkgMkIndex.test (pkgtest::createIndex):  Removed
sl@0
  3719
	assumption that paths contain no spaces which causes problems with
sl@0
  3720
	both [eval] and [open |...] due to the well-known differences
sl@0
  3721
	between lists and strings.  Fixes bug #119406
sl@0
  3722
sl@0
  3723
2001-01-04  Don Porter  <dgp@users.sourceforge.net>
sl@0
  3724
sl@0
  3725
	* tests/unixInit.test:
sl@0
  3726
	* unix/tclUnixInit.c (TclpInitLibraryPath):
sl@0
  3727
	* win/tclWinInit.c (TclpInitLibraryPath):  Several entries in
sl@0
  3728
	the library path ($tcl_libPath) are determined relative to the
sl@0
  3729
	absolute path of the executable.  When the executable is
sl@0
  3730
	installed in or near the root directory of the file system,
sl@0
  3731
	relative pathnames were being incorrectly generated, and in
sl@0
  3732
	the worst case, memory access violations were crashing the program.
sl@0
  3733
	[Bug 119416, Patch 102972]
sl@0
  3734
sl@0
  3735
	******************************************************************
sl@0
  3736
	*** CHANGELOG ENTRIES FOR 2000 IN "ChangeLog.2000"             ***
sl@0
  3737
	*** CHANGELOG ENTRIES FOR 1999 AND EARLIER IN "ChangeLog.1999" ***
sl@0
  3738
	******************************************************************