⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog.2001

📁 tcl是工具命令语言
💻 2001
📖 第 1 页 / 共 5 页
字号:
	* generic/tclObj.c: added #include to fix missing prototype errors	* generic/tcl.h: MAC_TCL: addition of ConditionalMacros.h and use of	DLLIMPORT and DLLEXPORT like on other platforms.  ( => no longer need	the .exp files and can remove use of #pragma export that never worked	well)	removed line continuation in #if clause as this breaks the mac	resource compiler (note that *.r files include tcl.h)	* mac/tclMacFile.c: fixed bug in permission checking code	* mac/tclMacLoad.c: corrected utf8 handling, comparison of	package names to code fragment names changed to only match on the	length of package name, this allows for fragment names with version	numbers appended	* mac/tclMacInt.h:	* generic/tclInt.h:	* mac/tclMacTime.c:	* generic/tclIOUtil.c: moved declaration of TclpGetGMTOffset()	* mac/tclMacShLib.exp:	* mac/tclMacOSA.exp:	* mac/tclMacMSLPrefix.h: removed files	* unix/Makefile.in: removed reference to .exp files	* mac/MW_TclBuildLibHeader.h:	* mac/MW_TclBuildLibHeader.pch:	* mac/MW_TclHeaderCommon.h:	* mac/MW_TclStaticHeader.h:	* mac/MW_TclStaticHeader.pch: new precompiled header files	* mac/MW_TclAppleScriptHeader.pch:	* mac/MW_TclHeader.pch:	* mac/MW_TclTestHeader.pch:	* mac/tclMacCommonPch.h: revised precompiled header handling: now	include a common header file 'MW_TclHeaderCommon.h' from all .pch	files, the .pch files themselves now only setup #defines (e.g.	BUILD_tcl, STATIC_BUILD, TCL_DEBUG, TCL_THREADS) like in makefiles on	other platforms.	* mac/tclMac.h:	* mac/tclMacPort.h:	* mac/tclMacInt.h: use of BUILD_tcl and TCL_STORAGE_CLASS like on other	platforms, standardize #include'd files to what's done on other	platforms, removed use of #pragma export.	* mac/tcltkMacBuildSupport.sea.hqx: new archive of mac build support	files & suggested build environment directory hierarchy: 	'Building MacTclTk' & 'CW Pro6 changes' readme's.	projects for MoreFiles 1.5.2 static & shared libraries.	project & sources for 'pseudoCarbonSupport', see below.	included XML versions of the projects for CW Pro5 or Pro7 users.	* mac/tclMacProjects.sea.hqx: updated mac build project files:	build support for CodeWarrior Pro6, UnivIntf 3.4 & shared runtime	libraries: the MSL libraries and MoreFiles are no longer compiled into	Tcl.shlb, all non-static binaries now use the Pro6 shared runtime	libraries and MoreFiles.shlb.  These shlbs are merged into the standard	Wish and TclShell, but 3rd party applications linking with Tcl.shlb or	Tk.shlb need to setup access to them.  (see the "(sh-ppc)" targets	for how to do this.)	included XML versions of the projects for CW Pro5 or Pro7 users.	use compat/strtod.c instead of MSL's strtod()	use WASTE versions of MSL for tcl test target to avoid text buffer	cutoff at 32k.	Merging the full MSL.shlb and the other shlbs into Wish & TclShell	makes them a bit larger than before, use unmerged binaries to avoid	copying the shared code with every application, e.g. when deploying	numerous Wish based droplets.	Note that using CW Pro5 to compile extensions is in principle still	possible, but need to link with Pro6 runtime libraries.	Tclapplescript now loads and runs on CFM68k.	Highly experimental "pseudoCarbon" support for Tcl only on OS 8/9:	binaries in "Build:(Carbon):" link against CarbonLib instead of	InterfaceLib, however the actual code has not been carbonized! i.e. it	will not run on OSX and may not even run properly with CarbonLib. 	This should in principle allow you to build & test OS9 CFM Carbon	binaries that need to link with Tcl.shlb.  On OSX you can use the	native Tcl.framework, but you have to build a MachO binary as there	is no CFM glue lib for Tcl.framework.	the library pseudoCarbonSupport.shlb manually loads the symbols	from InterfaceLib that are not in CarbonLib but are needed by the	uncarbonized code in Tcl.shlb and TclShell.	* generic/tclMain.c: MAC_TCL: workaround for broken/non-standard isatty	on MW Pro6, #include <unistd.h> instead of defining isatty	* mac/tclMacPort.h: MW Pro6 changes for MSL fcntl.h, stat.h & isatty	* mac/tclMacAppInit.c: add EXTERN to InstallConsole to enable DLL	export via the TCL_STORAGE_CLASS mechanism.	* mac/tclMacFCmd.c: fix for FSpDirectoryCopy API change	* mac/tclMacLibrary.c: emit compile time error when	TCL_REGISTER_LIBRARY and USE_TCL_STUBS are both defined at the same	time in an extension, this use is not currently supported and will	result in a crash when dynamically loading the extension.	* mac/tclMacApplication.r:	* mac/tclMacLibrary.r:	* mac/tclMacOSA.r:	* mac/tclMacResource.r: fixed obsolete copyrights/dates in version	strings; updated version strings to standard usage; added support for	'(Support Libraries)' subfolder for shared runtime libraries in	unmerged binaries; commented out demo setting of "Tcl Environment	Variables"; reorganized resources among these files to avoid 	multiple copies in applications and shared libraries, the script	libraries are now no longer duplicated in Tclsh but are only included 	in the resources of Tcl.shlb.	* mac/tclMacChan.c:	* mac/tclMacSock.c: cast for *BlockMode	* mac/tclMacUtil.c:	* mac/tclMacMath.h: removed obsolete hypot() definition	* generic/tclIntPlatDecls.h:	* generic/tclInt.decls:	* generic/tclStubInit.c:	* mac/tclMacNotify.c:	* mac/tclMacOSA.c:	* mac/tclMacUtil.c:	* generic/tclThreadTest.c: renamed routines conflicting with standard	Apple or MoreFiles headers (at compile or link time):	GetGlobalMouse         -> GetGlobalMouseTcl	FSpGetDirectoryID      -> FSpGetDirectoryIDTcl	FSpOpenResFileCompat   -> FSpOpenResFileCompatTcl	FSpCreateResFileCompat -> FSpCreateResFileCompatTcl	NewThread              -> NewTestThread	the renamed MoreFiles *Tcl routines are just wrappers calling into the	MoreFiles DLL.	* mac/tclMacCommonPch.h:	* mac/tclMacThrd.c:	* mac/tclMacPanic.c: removed OLDROUTINENAMES define, renamed obsolete	apple API names to modern equivalents; UH3.4 support: added #include	<ControlDefinitions.h>, updated New*Proc() calls to New*UPP().	* mac/tclMacUnix.c: added missing (Tcl_Obj ***) cast to	Tcl_ListObjGetElements call	* mac/tclMacAlloc.c: modernized TclpSysAlloc() to use temporary	memory instead of system heap memory when available (MacOS	>= 7.5 and possibly earlier, use of system heap has been	discouraged for a long time and has many disadvantages, e.g. memory	isn't paged out, and errors can very easily bring the system down);	fixed crashing bug in TclpSysRealloc() and CleanUpExitProc() where	memory was being accessed after having been deallocated; fixed	memory leak in (de)allocation code (for every block ever allocated	with TclpSysAlloc, a Ptr was leaked), if temporary memory is	available, don't track allocated memory, instead use	RecoverHandle() to get Handle from Ptr, otherwise use doubly linked	list to correctly track memory and free all allocated memory; added	new option for ConfigureMemory: MEMORY_DONT_USE_TEMPMEM, disables	use of temporary memory even when it would be available, only	necessary when writing e.g. a driver (using tcl??); increased	fraction of application heap reserved for OS routines to 512K	* compat/strftime.c: 	* mac/tclMacTime.c:	* mac/tclMacPort.h:	* generic/tclInt.decls: 	* generic/tclIntPlatDecls.h:	* generic/tclStubInit.c: timezone support for mac via 	TclpGetTZName() like on windows, using an inverse timezone table	adapted from tclDate.c to map gmtoffset in seconds gotten from	the MacOS APIs to a  timezone string, as there is no good way to get	this info from MacOS. I had to make up some unusual timezones and	arbitrarily decide on the most standard of the multiple choices	available for every timezone.	* generic/tclExecute.c: workaround for a MSL bug/misfeature: for	very small floats, MSL can return errno ERANGE but a	non-zero value ( < LDBL_MIN however)		* mac/tclMacAppInit.c: support for WASTE text library using	temporary memory, setting has no effect if WASTE is not used.		* mac/tclMacPanic.c: removed duplicate code from generic/tclPanic.c	and added that file to projects instead.	* tests/all.tcl: set tcltest::singleProcess 1 as multiple processes	are not available on the mac.		* tests/cmdAH.test: access time not available on the mac, skip the 	atime touch test		* tests/appendComp.test:	* tests/cmdMZ.test:	* tests/compile.test:	* tests/exec.test:	* tests/fileName.test:	* tests/lset.test:	* tests/namespace.test:	* tests/tcltest.test: added missing cleanups/tests/catches that	caused tests to fail on the mac.	* doc/tclvars.n: doc bug, env(PWD) should be env(HOME) [Bug 463834]	2001-11-21  Don Porter	<dgp@users.sourceforge.net>	* tests/trace.test (trace-8.8): Corrected test for Bug 219393.	* generic/tclBasic.c (Tcl_DeleteCommandFromToken,CallCommandTraces):	* generic/tclCmdMZ>c (Tcl_UntraceCommand):  Added Tcl_Preserve and	Tcl_Release calls to prevent deletion of CommandTrace structures	until all callers are done using them, preventing memory corruption.	[Bug 453805]2001-11-20  Kevin B. Kenny  <kennykb@users.sourceforge.net>	* doc/GetTime.3 (Tcl_GetTime):	* generic/tcl.decls (Tcl_GetTime):	* generic/tclClock.c (Tcl_ClockObjCmd):	* generic/tclCompile.c (TclCleanupByteCode, TclInitByteCodeObj):	* generic/tclCmdMZ.c (Tcl_TimeObjCmd):	* generic/tclUtil.c (TclpGetTime):	* generic/tclTest.c (GetTimesCmd):	* generic/tclTimer.c (Tcl_CreateTimerHandler, TimerSetupProc,	TimerCheckProc, TimerHandlerEventProc):	* mac/tclMacNotify.c (Tcl_SetTimer):	* mac/tclMacShLib.exp (Tcl_GetTime):	* mac/tclMacTime.c (Tcl_GetTime):	* unix/tclUnixChan.c (TclUnixWaitForFile):	* unix/tclUnixEvent.c (Tcl_Sleep):	* unix/tclUnixThrd.c (Tcl_ConditionWait):	* unix/tclUnixTime.c (Tcl_GetTime):	* win/tclWinNotify.c (Tcl_Sleep):	* win/tclWinTest.c (TestwinclockCmd):	* win/tclWinTime.c (TclpGetSeconds, TclpGetClicks, Tcl_GetTime):	Changed all uses of TclpGetTime to Tcl_GetTime.  Added Tcl_GetTime	to the Stubs table and the library documentation.  Added a	TclpGetTime in tclUtil.c for backward compatibility of	extensions. [Patch #483500, TIP#73]	* generic/tclCmdMZ.c (Tcl_TimeObjCmd): Corrected an error in the	[time] command that caused incorrect results to be returned if the	total duration of all iterations exceeded 2**31 microseconds.	[Bug #478847]	* generic/tclInt.decls:	* generic/tclInt.h:	* generic/tclStubInit.h: Reran 'make genstubs'	2001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>	* generic/tclBasic.c	* generic/tclCompile.h: 	* generic/tclExecute.c: moving all code relative to bytecodes from	tclBasic.c to tclExecute.c - the functions RecordTracebackInfo and	Tcl_ExprObj went to tclExecute.c, and new interface function was	defined (TclCompEvalObj).	The final objective of this sequence of moves is to provide a	clean, clear-cut interface between Tcl's core and the	compiler/engine subsystem.  2001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>	* generic/tclBasic.c	* generic/tclCompile.h: 	* generic/tclExecute.c: factoring out of common code in tclBasic.c	(new function TclInterpReady defined: it resets the interp's	result, then checks that it hasn't been deleted and that the	nesting level is acceptable). Passed the responsibility of calling	it to the *callers* of TclEvalObjvInternal.2001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>	* generic/tclBasic.c	* generic/tclExecute.c: a better variant of the previous-to-last	commit (restoring numLevels computations). The managing of the	levels now has to be done by the *callers* of TclEvalObjvInternal  2001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>	* generic/tclExecute.c: missing variable declaration under	TCL_COMPILE_DEBUG. 2001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>	* generic/tclExecute.c:	* generic/tclProc.c: restoring the computations of iPtr->numLevels	to the original logic (previous to buggy modifs on 2001-11-16).2001-11-20  Jeff Hobbs  <jeffh@ActiveState.com>	* tools/eolFix.tcl (new-file):	* unix/Makefile.in: added EOL correction for Windows bat files to	dist target. [Bug #219409] (davygrvy)	* unix/tclUnixInit.c (TclpSetInitialEncodings): update of patch	from 2001-11-16 that uses the old Tcl encoding check mechanism as	a fallback to the original.  Also added a TCL_DEFAULT_ENCODING	#define (defaults to iso8859-1).  Tcl will first try setlocale and	nl_langinfo, and if that fails, guess based on certain LANG|LC_*	env vars. [Patch #418645]2001-11-19  David Gravereaux <davygrvy@pobox.com>	* win/buildall.vc.bat:  Added useful comments.2001-11-19  Miguel Sofer  <msofer@users.sourceforge.net>	* tests/compile.test: added a test for bug [Bug 483309]2001-11-19  Vince Darley  <vincentdarley@users.sourceforge.net>	* win/tclWinFile.c:	* win/tclWinFCmd.c:	* win/tclWin32Dll.c:	* doc/file.n:	* tests/winFCmd.test: improved speed of file normalization	for Win95/98, and clarified docs on differences in file	normalization between NT/2000 and the older operating systems.	Added test to ensure normalization is correct.	2001-11-19  Miguel Sofer  <msofer@users.sourceforge.net>	* generic/tclBasic.c:	* generic/tclParse.c: Code reorganisation. Moved all evaluation	functions from tclParse.c to tclBasic.c, so that now tclParse.c	deals exclusively with parsing and all evaluations are done by	code in tclBasic.c. The functions moved are: TclEvalObjvInternal,	Tcl_EvalObjv, Tcl_LogCommandInfo, Tcl_EvalTokensStandard,	Tcl_EvalTokens, Tcl_EvalEx, Tcl_Eval, Tcl_EvalObj and	Tcl_GlobalEvalObj. 2001-11-19  Donal K. Fellows  <fellowsd@cs.man.ac.uk>	* tests/trace.test (trace-8.8): Added adapted version of Bug	#219393 as new test; the test won't reliably show up the old	problem unless it is being run under something like Purify, but	something is better than nothing...	* generic/tclVar.c (Tcl_TraceVar2, Tcl_UntraceVar2): Added missing	mask bits for trace result type and a check for a nonsense flag	combination.	* generic/tclCmdMZ.c (TraceVarProc): Added missing test for NULL	when deleting a trace that doesn't cause an error.	* doc/TraceVar.3: Added documentation for change due to TIP#68.	* generic/tclCmdMZ.c (TraceVarInfo): Removed problematic errMsg	field from structure.	(TraceVarProc): Removed references to errMsg field and changed	handling of errors so that they returned a Tcl_Obj* containing the	error string.  This minimizes the number of calls to the memory	management subsystem.	(TclTraceCommandObjCmd, TraceCommandProc): Removed references to	errMsg field which was never used in command traces in any case.

⌨️ 快捷键说明

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