summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclExecute.c (TclExecuteByteCode): fixed invalid usagehobbs2001-09-191-30/+39
| | | | | | of valuePtr in TRACE_WITH_OBJ in INST_EVAL_STK case. [Bug #462594] Changed INST_STR_CMP instruction to promote to Unicode strings only when one of the strings is already of Unicode type.
* * generic/tclExecute.c (TclExecuteByteCode):hobbs2001-09-191-3/+3
| | | | | | | | * generic/tclCompile.c (instructionTable): * generic/tclCompCmds.c (TclCompileStringCmd): INST_STR_MATCH - Updated to Int1 instruction type and added special case to use INST_STR_EQ instead when no glob chars are specified in a static string.
* * generic/tclCompCmds.c (TclCompileStringCmd): INST_STR_MATCH -hobbs2001-09-191-15/+75
| | | | | | | | | | | Updated to Int1 instruction type and added special case to use INST_STR_EQ instead when no glob chars are specified in a static string. * tests/{for.test,foreach.test,if.test,while.test}: * generic/tclCompCmds.c (TclCompileForCmd, TclCompileForeachCmd, TclCompileIfCmd, TclCompileWhileCmd): Corrected the overaggressive compiling of loop bodies enclosed in ""s. [Bug #219166] (msofer)
* insured that execution stack errors are also detected at abnormal returns.Miguel Sofer2001-09-191-12/+11
|
* TclNeedSpace is now UTF8-aware. (Bug #411825 from <arobert3434@users.sf.net>)dkf2001-09-191-6/+13
|
* * generic/tclIOCmd.c (Tcl_PutsObjCmd): Rewritten to have saner andandreas_kupries2001-09-191-31/+48
| | | | | faster argument handling. Fixes bug #123552. Patch provided by Donal K. Fellows <fellowsd@cs.man.ac.uk>: #402564.
* * generic/tcl.h: removed forced #define USE_TCLALLOC 1 forhobbs2001-09-171-9/+1
| | | | | | Windows. This means the native system allocator will be used by default. This should be binary and source compatible with extensions, as Tcl_Alloc is a properly stubbed function.
* corrected small bug in [Patch 456668] - the varFramePtr was not restored in ↵Miguel Sofer2001-09-171-1/+2
| | | | one possible exit.
* Disabled all compile and execution tracing functionality in standardMiguel Sofer2001-09-174-19/+27
| | | | builds [Bug 451858].
* * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): had to adjust fix fromhobbs2001-09-131-15/+27
| | | | | | 2001-08-06 to actually duplicate the objects in certain cases. This is really a place where feather would have been essential. [Bug #461322]
* * generic/tclUtf.c (Tcl_UtfPrev): corrected to return the properhobbs2001-09-131-5/+3
| | | | | location when the middle of a UTF-8 byte was passed in. [Bug #450504]
* Patch for [TIP 56], [Bug: 219384] and [Bug: 455151]: deprecate the useMiguel Sofer2001-09-135-52/+117
| | | | of Tcl_EvalTokens, replaced by the new Tcl_EvalTokensStandard.
* reserved a stub slot for [TIP 56]Miguel Sofer2001-09-121-3/+7
|
* * generic/tclEvent.c (TclInExit): Corrected handling of tsd inhobbs2001-09-111-3/+7
| | | | late stages of finalization. [Bug #419449] (darley)
* * tests/stack.test:hobbs2001-09-111-4/+17
| | | | | * generic/tclInterp.c (AliasObjCmd): Check the numLevels to ensure that we aren't hitting some alias loop condition. [Bug #443184]
* * Removeddgp2001-09-101-3/+5
| | | | | vestiges of Tcl's old initialization from registry variables. [Bug 455645]
* * generic/tclInt.decls: Also added 'TclWinFlushDirtyChannels' toandreas_kupries2001-09-103-3/+17
| | | | | | | | | | | the internal platform specific stub table. * win/tclWinFile.c (TclpObjStat): Now added the call to 'TclWinFlushDirtyChannels' to this function. I don't know where my head was last thursday (2001-09-06), but the call was actually added to 'TclpObjChdir', i.e. the implementation of [cd]. Corrected this now. Thanks to Vince Darley for spotting this.
* Bytecompiling noops [FQ #451441]Miguel Sofer2001-09-101-1/+105
|
* * generic/tcl.h:davygrvy2001-09-092-4/+4
| | | | | | * generic/tclPlatDecls.h: Reminder from David Cuthbert <dacut@kanga.org> that I hadn't finished the Borland compatibility stuff. [Patch: 436116]
* channel-copy-fixvincentdarley2001-09-083-21/+23
|
* fsvincentdarley2001-09-065-28/+93
|
* * generic/tclAlloc.c: Small Borland compatibility fix.davygrvy2001-09-061-2/+2
|
* Changes due to TIP#49 "Tcl_OutputBuffered" from Rolf Schroedterdkf2001-09-064-50/+64
|
* * generic/tclPlatDecls.h: Another small trim finalizing Borland support.davygrvy2001-09-061-13/+13
|
* * generic/tclPlatDecls.h: Another small trim finalizing Borland support.davygrvy2001-09-061-13/+14
|
* * generic/tcl.h: Removed a small mistake from before. Changes todavygrvy2001-09-051-11/+11
| | | | | | | | | | | | | the EXTERN macro for proper Borland compatibility will have to see a TIP. What's this with the MS compiler: __declspec(dllexport) int func (int a, int b); will have to be this with Borland: int __cdecl __export func (int a, int b); The order of the attribute needs to be after the return type.
* * generic/tcl.h:davygrvy2001-09-051-3/+7
| | | | | | * generic/tclPlatDecls.h: Borland compatibility change so ClientData was properly typed as a void* and TCHAR would not be defined twice.
* * generic/tcl.h: Borland compatibility change so ClientData wasdavygrvy2001-09-051-2/+2
| | | | properly typed as a void*
* made [proc] check that formal args have simple names [Bug: 458548]Miguel Sofer2001-09-041-1/+9
|
* minor fs, vfs fixesvincentdarley2001-09-0410-252/+520
|
* fixed incorrect opreands for INST_LIST [Bug: 458241]Miguel Sofer2001-09-041-2/+2
|
* * 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.