changelog

来自「tcl是工具命令语言」· 代码 · 共 1,776 行 · 第 1/5 页

TXT
1,776
字号
2003-02-10  Mo DeJong  <mdejong@users.sourceforge.net>	* win/configure:	* win/configure.in: Generate error when attempting	to build under Cygwin. The Cygwin port of Tcl/Tk	does not build and people are filing bug reports	under the mistaken impression that someone is	actually maintaining the Cygwin port. A post to 	comp.lang.tcl asking someone to volunteer as an	area maintainer has generated no results.	Closing bugs 680840, 630199, and 634772 and	marking as "Won't fix".2003-02-10  Donal K. Fellows  <fellowsd@cs.man.ac.uk>	* doc/append.n: Return value was not documented. [Bug 683188]2003-02-10  Vince Darley  <vincentdarley@users.sourceforge.net>	* doc/FileSystem.3:	* generic/tclIOUtil.c:	* generic/tclInt.h:	* tests/fileSystem.test:	* unix/tclUnixFCmd.c:	* unix/tclUnixFile.c:	* win/tclWinFile.c: further filesystem optimization, applying	[Patch 682500].	 In particular, these code examples are	faster now:	foreach f $flist { if {[file exists $f]} {file stat $f arr;...}}	foreach f [glob -dir $dir *] { # action and/or recursion on $f }	cd $dir	foreach f [glob *] { # action and/or recursion on $f }	cd ..	* generic/tclTest.c: Fix for [Bug 683181] where test suite	left files in 'tmp'.2003-02-08  Jeff Hobbs  <jeffh@ActiveState.com>	* library/safe.tcl: code cleanup of eval and string comp use.2003-02-07  Vince Darley  <vincentdarley@users.sourceforge.net>	* win/tclWinFCmd.c: cleanup long lines	* win/tclWinFile.c: sped up pure 'glob' by a factor of 2.5	('foreach f [glob *] { file exists $f }' is still slow)	* tests/fileSystem.text:	* tests/fileName.test: added new tests to ensure correct	behaviour in optimized filesystem code.2003-02-07  Vince Darley  <vincentdarley@users.sourceforge.net>	* generic/tclTest.c:	* tests/fileSystem.text: fixed test 7.2 to avoid a possible	crash, and not change the pwd.		* tests/http.text: added comment to test 4.15, that it may	fail if you use a proxy server.	2003-02-06  Mo DeJong  <mdejong@users.sourceforge.net>	* generic/tclCompCmds.c (TclCompileIncrCmd):	* tests/incr.test: Don't include the text	"(increment expression)" in the errorInfo	generated by the compiled version of the	incr command since it does not match the	message generated by the non-compiled version	of incr. It is also not possible to match	this error output under Jacl, which does	not support a compiler.2003-02-06  Mo DeJong  <mdejong@users.sourceforge.net>	* generic/tclExecute.c (TclExecuteByteCode): When an	error is encountered reading the increment value during	a compiled call to incr, add a "(reading increment)"	error string to the errorInfo variable. This makes	the errorInfo variable set by the compiled incr command	match the value set by the non-compiled version.	* tests/incr-old.test: Change errorInfo result for	the compiled incr command case to match the modified	implementation.	* tests/incr.test: Add tests to make sure the compiled	and non-compiled errorInfo messages are the same.2003-02-06  Don Porter  <dgp@users.sourceforge.net>	* library/tcltest/tcltest.tcl:  Filename arguments to [outputChannel]	and [errorChannel] (also -outfile and -errfile) were [open]ed but	never [closed].  Also, [cleanupTests] could remove output or error	files.  [Bug 676978].	* library/tcltest/pkgIndex.tcl: Bumped to version 2.2.2.2003-02-05  Mo DeJong  <mdejong@users.sourceforge.net>	* tests/interp.test:	* tests/set-old.test: Run test cases that depend	on hash order through lsort so that the tests	also pass under Jacl. Does not change test	results under Tcl.2003-02-04  Vince Darley  <vincentdarley@users.sourceforge.net>	* generic/tclIOUtil.c:	* generic/tclEvent.c:	* generic/tclInt.h:	* mac/tclMacFCmd.c:	* unix/tclUnixFCmd.c:	* win/tclWin32Dll.c:	* win/tclWinFCmd.c:	* win/tclWinInit.c:	* win/tclWinInt.h:	* tests/fileSystem.test: fix to finalization/unloading/encoding	issues to make filesystem much less dependent on encodings for	its cleanup, and therefore allow it to be finalized later in the	exit process.  This fixes fileSystem.test-7.1.  Also fixed one	more bug in setting of modification dates of files which have 	undergone cross-platform copies.  [Patch 676271]		* tests/basic.test:	* tests/exec.test:	* tests/fileName.test:	* tests/io.test: fixed some test failures when tests are run 	from a directory containing spaces.		* tests/fileSystem.test:	* generic/tclTest.c: added regression test for the modification	date setting of cross-platform file copies.	2003-02-03  Kevin Kenny  <kennykb@users.sourceforge.net>	* generic/tclBasic.c: Changed [trace add command] so that 'rename'	callbacks get fully qualified names of the command. [Bug	651271]. ***POTENTIAL INCOMPATIBILITY***	* tests/trace.test: Modified the test cases for [trace add	command] to expect fully qualified names on the 'rename'	callbacks. Added a case for renaming a proc within a namespace.	* doc/trace.n: Added language about use of fully qualified names	in trace callbacks.	2003-02-01  Kevin Kenny  <kennykb@users.sourceforge.net>	* generic/tclCompCmds.c: Removed an unused variable that caused	compiler warnings on SGI. [Bug 664379]		* generic/tclLoad.c: Changed the code so that if Tcl_StaticPackage	is called to report the same package as being loaded in two interps,	it shows up in [info loaded {}] in both of them (previously,	it didn't appear in the static package list in the second.	* tests/load.test Added regression test for the above bug.	[Bug 670042]		* generic/tclClock.c: Fixed a bug that incorrectly allowed	[clock clicks {}] and [clock clicks -] to be accepted as if	they were [clock clicks -milliseconds].		* tests/clock.test: Added regression tests for the above bug.	[Bug 675356]		* tests/unixNotfy.test: Added cleanup of working files	[Bug 675609]		* doc/Tcl.n: Added headings to the eleven paragraphs, to improve	formatting in the tools that attempt to extract tables of contents	from the manual pages. [Bug 627455]	* generic/tclClock.c: Expanded mutex protection around the setting	of env(TZ) and the thread-unsafe call to tzset(). [Bug 656660]	2003-01-31  Don Porter  <dgp@users.sourceforge.net>	* tests/tcltest.test: Cleaned up management of file/directory	creation/deletion to improve "-debug 1" output.  [Bug 675614]	The utility [slave] command failed to properly [list]-quote a	constructed [open] command, causing failure when the pathname	contained whitespace.  [Bug 678415]	* tests/main.test: Stopped main.test from deleting existing file.	Test suite should not delete files that already exist. [Bug 675660]2003-01-28  Don Porter  <dgp@users.sourceforge.net>	* tests/main.test: Constrain tests that do not work on Windows.	[Bug 674387]2003-01-28  Vince Darley  <vincentdarley@users.sourceforge.net>	* generic/tclIOUtil.c: fix to setting modification date	in TclCrossFilesystemCopy.  Also added 'panic' in 	Tcl_FSGetFileSystemForPath under illegal calling circumstances	which lead to hard-to-track-down bugs.		* generic/tclTest.c: added test suite code to allow	exercising a vfs-crash-on-exit bug in Tcl's finalization caused	by the encodings being cleaned up before unloading occurs.	* tests/fileSystem.test: added new 'knownBug' test 7.1	to demonstrate the crash on exit.2003-01-28  Mo DeJong  <mdejong@users.sourceforge.net>	* generic/tcl.h: Add TCL_PREFIX_IDENT and	TCL_DEBUG_IDENT, used only by TclpCreateProcess.	* unix/Makefile.in: Define TCL_DBGX.	* win/Makefile.in: Define TCL_DBGX.	* win/tclWinPipe.c (TclpCreateProcess):	Check that the Tcl pipe dll actually exists	in the Tcl bin directory and panic if it	is not found. Incorporate TCL_DBGX into	the Tcl pipe dll name. This fixes a really	mysterious error that would show up when	exec'ing a 16 bit application under Win95	or Win98 when Tcl was compiled with symbols. 	The error seemed to indicate that the executable	could not be found, but it was actually the	Tcl pipe dll that could not be found.2003-01-26  Mo DeJong  <mdejong@users.sourceforge.net>	* win/README: Update msys+mingw URL to release 6.	This version bundles gcc 3.2003-01-26  Mo DeJong  <mdejong@users.sourceforge.net>	* win/configure: Regen.	* win/configure.in: Add test that checks to	see if the compiler can cast to a union type.	* win/tclWinTime.c: Squelch compiler warning	about union initializer by casting to union	type when compiling with gcc.2003-01-25  Mo DeJong  <mdejong@users.sourceforge.net>	* generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel):	Invoke TclpCutFileChannel and TclpSpliceFileChannel.	* generic/tclInt.h: Declare TclpCutFileChannel	and TclpSpliceFileChannel.	* unix/tclUnixChan.c (FileCloseProc, TclpOpenFileChannel,	Tcl_MakeFileChannel, TclpCutFileChannel,	TclpSpliceFileChannel): Implement thread load data	cut and splice for file channels. This avoids	an invalid memory ref when compiled with -DDEPRECATED.	* win/tclWinChan.c (FileCloseProc, TclpCutFileChannel,	TclpSpliceFileChannel): Implement thread load data	cut and splice for file channels. This avoids	an invalid memory ref that was showing up in the	thread extension.2003-01-25  Mo DeJong  <mdejong@users.sourceforge.net>	* win/tclWin32Dll.c (TclpCheckStackSpace, squelch_warnings):	* win/tclWinChan.c (Tcl_MakeFileChannel, squelch_warnings):	* win/tclWinFCmd.c (DoRenameFile, DoCopyFile, squelch_warnings):	Re-implement inline ASM SEH handlers for gcc.	The esp and ebp registers are now saved on the	stack instead of in global variables so that	the code is thread safe. Add additional checks	when TCL_MEM_DEBUG is defined to be sure the	values were recovered from the stack properly.	Remove squelch_warnings functions and add	a dummy call in the handler methods to squelch	compiler warnings.2003-01-25  Mo DeJong  <mdejong@users.sourceforge.net>	* win/configure:	* win/configure.in: Define HAVE_ALLOCA_GCC_INLINE	when we detect that no alloca function is found	in malloc.h and we are compiling with GCC.	Remove HAVE_NO_ALLOC_DECL define.	* win/tclWin32Dll.c (TclpCheckStackSpace):	Don't define alloca as a cdecl function.	Doing this caused a tricky runtime bug because	the _alloca function expects the size argument	to be passed in a register and not on the stack.	To fix this problem, we use inline ASM when	compiling with gcc to invoke _alloca with the	size argument loaded into a register.2003-01-24  Jeff Hobbs  <jeffh@ActiveState.com>	* win/tclWinDde.c (Dde_Init): clarified use of tsdPtr.	(DdeServerProc): better refcount handling of returnPackagePtr.	* generic/tclEvent.c (Tcl_Finalize): revert finalize change on	2002-12-04 to correct the issue with extensions that have TSD	needing to finalize that before they are unloaded.  This issue	needs further clarification.	* tests/unixFCmd.test: only do groups check on unix2003-01-24  Vince Darley  <vincentdarley@users.sourceforge.net>	* generic/tclStringObj.c: proper fixes for Tcl_SetObjLength and 	Tcl_AttemptSetObjectLength dealing with string objects with	both pure-unicode and normal internal representations. 	Previous fix didn't handle all cases correctly.	* generic/tclIO.c: Add 'Tcl_GetString()' to ensure the object has	a valid 'objPtr->bytes' field before manipulating it directly.	        This fixes [Bug 635200] and [Bug 671138], but may reduce performance	of Unicode string handling in some cases. A further patch will	be applied to address this, once the code is known to be correct.2003-01-24  Mo DeJong  <mdejong@users.sourceforge.net>	* win/configure: Regen.	* win/configure.in: Add test to see if alloca	is undefined in malloc.h.	* win/tclWin32Dll.c (TclpCheckStackSpace): Rework	the SEH exception handler logic to avoid using	the stack since alloca will modify the stack.	This was causing a nasty bug that would set the	exception handler to 0 because it tried to pop	the previous exception handler off the top of	the stack.2003-01-23  Donal K. Fellows  <fellowsd@cs.man.ac.uk>	* doc/lset.n: Fixed fault in return values from lset in	documentation examples [SF Bug #658463] and tidied up a bit at the	same time.2003-01-21  Joe English  <jenglish@users.sourceforge.net>	* doc/namespace.n (namespace inscope): Clarified documentation	[SF Patch #670110]2003-01-21  Mo DeJong  <mdejong@users.sourceforge.net>	* win/configure: Regen.	* win/tcl.m4 (SC_CONFIG_CFLAGS): Set SHLIB_SUFFIX	so that TCL_SHLIB_SUFFIX will be set to a useful	value in the generated tclConfig.sh.	Set SHLIB_LD_LIBS to "" or '${LIBS}' based on	the --enable-shared flag. This matches the	UNIX implementation.2003-01-18  Jeff Hobbs  <jeffh@ActiveState.com>	* generic/tclCkalloc.c: change %ud to %u as appropriate.2003-01-17  Mo DeJong  <mdejong@users.sourceforge.net>	* win/tclWinDde.c (DdeServerProc): Deallocate	the Tcl_Obj returned by ExecuteRemoteObject	if it was not saved in a connection object.2003-01-17  Mo DeJong  <mdejong@users.sourceforge.net>	* generic/tcl.h: Revert earlier change that	defined TCL_WIDE_INT_TYPE as long long and	TCL_LL_MODIFIER as L when compiling with	mingw. This change ended up causing some	test case failures when compiling with mingw.	* generic/tclObj.c (UpdateStringOfWideInt):	Describe the warning generated by mingw and

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?