summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* * generic/tclExecute.c (TclExecuteByteCode): fixed missing commahobbs2001-09-031-2/+2
| | | | in debug macro.
* * generic/tcl.h: added TclCompileListCmd headerhobbs2001-09-014-7/+109
| | | | | | | | * generic/tclBasic.c: added TclCompileListCmd compile proc * generic/tclCompCmds.c (TclCompileListCmd): function to compile the 'list' command at parse time. * generic/tclExecute.c (TclExecuteByteCode): definition of INST_LIST bytecode.
* * tests/compile.test: added compile-11.* interp result checkshobbs2001-08-311-1/+6
| | | | | | | | | * generic/tclUtil.c (TclGetIntForIndex): added Tcl_ResetResult before Tcl_AppendStringsToObj to prevent shared object crash when called from bcc instruction. The Tcl_Append* calls that append to the result object that are invoked by bcc insts must remember to call Tcl_ResetResult because the bcc doesn't do this for us. [Bug #456892]
* * generic/tclIndexObj.c: fixed some casting problems that upsethobbs2001-08-301-5/+5
| | | | Crays. [Bug #419528] (andreasen)
* * Silence warning from Sun compiler. [Bug 454374]dgp2001-08-301-2/+2
|
* allow cached fully-qualified command names to be usable from differentMiguel Sofer2001-08-301-1/+19
| | | | namespaces within the same interpreter without forcing a new lookup. This speeds up scripts that pass command names in variables ("this" in some OO packages). [Patch 456668].
* filesystemvincentdarley2001-08-3010-557/+287
|
* * generic/tclAsync.c:davygrvy2001-08-303-5/+32
| | | | | | | | | | | | | * generic/tclEvent.c: * generic/tclInt.h: Improper cleanup of asyncMutex in tclAsync.c repaired. TclFinalizeSynchronization() was trying to remove a registered mutex that was dumped earlier when the TSD it was stored in was cleared. This was only surfacing on *nix. Windows was being masked by mutexes not actually being returned to the system! That was repaired in a previous patch. Needed to add a private TclFinalizeAsync() to tclAsync.c and called from Tcl_FinalizeThread(). Pheww.. Is this done yet? [Bug: 414419] requested by Rob Ratcliff <rrr6399@futuretek.com>
* * generic/tclCompCmds.c (TclPushVarName): noted 'static' defn.hobbs2001-08-281-2/+2
| | | | [Bug #453872]
* * tests/stringComp.test: added string-1.3hobbs2001-08-251-2/+3
| | | | | | | * generic/tclCompCmds.c (TclCompileStringCmd): changed to return TCL_OUT_LINE_COMPILE instead of TCL_ERROR when compiling and an unknown string method is called. This is necessary as the string command may be never called, or not until 'string' is redefined.
* corrected minor compiler warningshobbs2001-08-232-21/+14
|
* fs updatevincentdarley2001-08-2312-585/+1391
|
* Fixed annoying fault in [binary format] on 64-bit architectures.dkf2001-08-231-3/+3
|
* Fixed overagressive compilation of [catch], [Bug #219184]Miguel Sofer2001-08-221-4/+21
|
* use MAX_NESTING_DEPTH as default nesting depth for interps [Bug: 232564]Miguel Sofer2001-08-141-2/+2
|
* vfs-related fixesvincentdarley2001-08-112-4/+18
|
* insure that [array] traces work for undefined vars [bug: 449094]Miguel Sofer2001-08-101-8/+14
|
* Bumped up patchlevel to 8.4a4 to distinguishdgp2001-08-081-3/+3
| | | | | CVS snapshots from the 8.4a3 release. This does not necessarily mean there will be an 8.4a4 release. [Bug 448938].
* * generic/tclFileName.c (Tcl_FSSplitPath): update to Tcl stylehobbs2001-08-072-34/+33
| | | | | | | guide. * generic/tclFCmd.c (FileCopyRename): fixed mem leak in introduction of vfs code where a new Tcl_Obj wasn't freed.
* * generic/tclCmdMZ.c (Tcl_RegexpObjCmd, Tcl_RegsubObjCmd):hobbs2001-08-071-12/+18
| | | | | reordered the retrieval of arguments to avoid shimmering bug when the pattern and string referenced the same object.
* 2001-08-06 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-08-061-4/+6
| | | | | * generic/tclIOCmd.c (Tcl_GetsObjCmd): Applied patch from SF item [442665] to fix the bug reported by it.
* * [package forget] now forgets all of thedgp2001-08-061-2/+2
| | | | | package arguments it receives, not stopping when a package is not found. [Bug 415273]
* * generic/tclIOUtil.c (Tcl_FSMatchInDirectory): correctedhobbs2001-08-021-21/+23
| | | | uninitialized value.
* * generic/tclPlatDecls.h:mdejong2001-08-021-25/+7
| | | | | | | | * win/tclWinPort.h: Revert <tchar.h> related changes made to improve Cygwin support on 2001-07-18. This change ended up breaking the VC++ build because of conflicts between Windows APIs and internal Tk APIs.
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-3121-1029/+5842
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
* * generic/tclPlatDecls.h: Define TCHAR by includingmdejong2001-07-191-7/+25
| | | | | | | | | | windows.h instead of tchar.h since Cygwin does not support the tchar.h header. Include CHECK_UNICODE_CALLS logic from tclWinPort.h. * win/tclWinPort.h: Remove CHECK_UNICODE_CALLS logic. Remove include of windows.h since this now done it tclPlatDecls.h. * win/tclWinReg.c: Remove duplicate include of windows.h.
* 2001-07-18 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-07-181-1/+25
| | | | | | | * generic/tclIO.c: Aftermath to [SF #427196]. Squash empty buffers if they are smaller than the requested buffersize, to prevent reusage of old buffers and to honor changes in the requested buffersize made by the user.
* 2001-07-17 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-07-171-2/+16
| | | | | | | | | | * generic/tclIO.c (GetInput): Fixed [SF #427196]. Memory was overwritten because a buffer was used after a change of the requested buffersize together with that requested buffersize and not its actual size, which was smaller. Note that the continous reuse of the smaller buffer negatively impacts performance. The system never allocates a buffer with the newly requested bigger buffersize.
* * generic/tcl.h: Define __WIN32__ whenmdejong2001-07-172-5/+7
| | | | | | | __CYGWIN__ or __MINGW32__ is defined. * generic/tclAlloc.c: Define caddr_t when compiling with VC++ or mingw. This type is already defined when compiling with Cygwin.
* * generic/tclCmdMZ.c: Removed extra copy of the SCAN_* macroshobbs2001-07-161-17/+1
| | | | #defined in generic/tclScan.c. (porter) [Bug 441230]
* TIP#36 implementation. Also includes cleanup for subst optiondkf2001-07-125-76/+167
| | | | | handling and improved documentation for the subst command (in my capacity as maintainer of the Commands M-Z functional area.)
* * tests/var.test:hobbs2001-07-041-1/+6
| | | | | * generic/tclVar.c (Tcl_VariableObjCmd): added patch to check for number of args. [Patch #426038]
* * generic/tclExecute.c (TclExecuteByteCode): added TCL_TRACE_READShobbs2001-07-031-15/+9
| | | | | | flag to INST_LAPPEND(_ARRAY)_STK case to trigger read traces for newly created arrays. Removed unnecessary #ifdef for TCL_COMPILE_DEBUG in INST_LOAD_SCALAR1 case.
* * generic/tclVar.c (Tcl_GetVar2Ex): added ability to recognizehobbs2001-07-031-17/+64
| | | | | | | | | | | TCL_TRACE_READS flags to cause creation of part1 in TclLookupVar to make sure newly created array will get read traces triggered appropriately. This is called by Tcl_ObjGetVar2, Tcl_GetVar, and Tcl_GetVar2. (TclSetIndexedScalar, TclSetElementOfIndexedArray): added read trace triggering for lappend case. (Tcl_LappendObjCmd): pass TCL_TRACE_READS to Tcl_ObjGetVar2 to trigger possible read traces for new arrays.
* * tests/util.test: added util-4.6hobbs2001-07-031-5/+5
| | | | | * generic/tclUtil.c (Tcl_ConcatObj): Corrected walking backwards over utf-8 chars. [Bug #227512]
* Correction to faulty patch for bug #231259Miguel Sofer2001-06-281-2/+2
|
* * generic/tclInt.h:hobbs2001-06-282-3/+45
| | | | | | | * generic/tclObj.c: * unix/Makefile.in: added a -DPURIFY mode that makes Tcl_Obj's allocated and free singularly (instead of in alloc in blocks and never free) to allow checkers like Purify to operate better.
* * tests/subst.test:hobbs2001-06-281-6/+17
| | | | | * generic/tclUtf.c (Tcl_UtfBackslash): Corrected backslash handling of multibyte utf-8 chars. [Bug #217987]
* * generic/tclCmdIL.c (InfoProcsCmd): fixed potential mem leak inhobbs2001-06-281-9/+9
| | | | info procs that created objects without using them.
* * generic/tclCompCmds.c (TclCompileStringCmd): fixed mem leak whenhobbs2001-06-281-1/+2
| | | | string command failed to parse the subcommand.
* * generic/tclInt.decls:dgp2001-06-175-16/+19
| | | | | | | | | | | | | | | * generic/tclInt.h: * generic/tclPanic.c (Tcl_PanicVA): * mac/tclMacAppInit.c (main): * mac/tclMacPanic.c (TclpPanic): * unix/tclUnixPort.h: * win/tclWinPort.h: Replaced TclMacSetPanic with TclpPanic for setting a platform-specific panic handler. TclpPanic is NULL on Unix and Windows. Fixes broken wish on Mac due to earlier patches. [Patch 415648] * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: `make gentubs` after above changes.
* Fix for bug #219232 (submatch errors with regexp -all -inline -indices)dkf2001-06-121-2/+6
|
* * generic/tcl.h:dgp2001-06-087-57/+37
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.decls: * generic/tclPanic.c: Added CONST to Tcl_*Panic* public interfaces. [Patch 415648, TIP 27] * generic/tclInt.decls: * mac/tclMacAppInit.c (main): * mac/tclMacBOAAppInit.c (main): * mac/tclMacPanic.c: Modified special Mac implementations of Tcl_*Panic* to be exact copies of the generic implementations. Added TclMacSetPanic. The generic implementations should be used directly, rather than copies, but that requires further changes by someone familiar with the Mac build systems. [Patch 415648] * generic/tclDecls.h: * generic/tclIntPlatDecls.h: *`generic/tclStubInit.c: `make gentubs` after above changes. * doc/Panic.3: * unix/mkLinks: New file documenting Tcl_*Panic* public interfaces, followed by `make mklinks`. [Patch 415648, Bug 219170, Bug 414936]
* * generic/tclUtil.c (Tcl_DStringAppendElement): patch to save anhobbs2001-06-041-4/+6
| | | | extra strlen call. [Bug #428572]
* Added casts to stop warnings with SUNWspro cc on Solaris8.dkf2001-05-311-3/+3
|
* Changes from TIP#15 "Functions to List and Detail Math Functions"dkf2001-05-305-7/+204
|
* minor comment changeshobbs2001-05-281-2/+3
|
* * generic/regc_locale.c: updated character class range data forhobbs2001-05-282-547/+910
| | | | | | | Unicode v3.1.0 compliance. * generic/tclUniData.c: regenerated from Unicode v3.1.0 data file (new as of 2001-05-16). This brings Tcl to current unicode compliance.
* [Patch #424851]: Faster array searching & obj cleanupMiguel Sofer2001-05-265-50/+130
|
* * generic/tclObj.c (TclAllocateFreeObjects): simplifiedhobbs2001-05-231-40/+22
| | | | | | objSizePlusPadding to use sizeof(Tcl_Obj) (max) Corrected use of tclObjsAlloced/Freed/Shared in TCL_MEM_DEBUG compile.