summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Backport of fixes to make HashObjKey hash the whole object...dkf2004-03-301-18/+9
|
* * generic/tclInt.h:hobbs2004-03-292-22/+36
| | | | | | | | | * generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable): * mac/tclMacInit.c (TclpInitLibraryPath): Correct handling of UTF * unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually * win/tclWinFile.c (TclpFindExecutable): "clean", allowing the * win/tclWinInit.c (TclpInitLibraryPath): loading of Tcl from paths that contain multi-byte chars on Windows [Bug 920667]
* * generic/tclCompile.c (TclCompileScript): corrected possibleMiguel Sofer2004-03-291-3/+4
| | | | | segfault when a compilation returns TCL_OUTLINE_COMPILE after having grown the compile environment [Bug 925121].
* * generic/tclCompile.c (TclCompileScript):Miguel Sofer2004-03-151-4/+6
| | | | | | | | | * tests/compile.test (compile-3.5): corrected wrong test and behaviour in the earlier fix for [Bug 705406]; Don Porter reported this as [Bug 735055], and provided the solution. Fixed in HEAD on 2003-05-09, but backport to 8-4-branch was wrongly omitted; re-reported as [Bug 916795] by Roy Terry, diagnosed by dgp.
* glob -path fix for near filesystem rootvincentdarley2004-03-091-1/+11
|
* * generic/tclCmdMZ.c (TclCheckInterpTraces): The TIP 62dgp2004-03-012-3/+15
| | | | | | | | * generic/tclTest.c (TestcmdtraceCmd): implementation introduced a * tests/basic.test (basic-39.10): bug by testing the CallFrame level instead of the iPtr->numLevels level when deciding what traces created by Tcl_Create(Obj)Trace to call. Added test to expose the error, and made fix. [Request 462580]
* stop compiler warningdgp2004-02-201-2/+2
|
* reverted file norm .. fixes because 8.5 had much more extensive changes ↵hobbs2004-02-181-222/+85
| | | | across the board
* * generic/tclIOUtil.c: backport of rewrite of generic filehobbs2004-02-181-85/+222
| | | | | normalization code to cope with links followed by '..'. [Bug 849514], and parts of [859251]
* * generic/tclCmdMZ.c (TclTraceExecutionObjCmd)hobbs2004-02-171-6/+4
| | | | (TclTraceCommandObjCmd): fix possible mem leak in trace info.
* update patchlevel to 8.4.6hobbs2004-02-131-3/+3
|
* * generic/tclIO.c (Tcl_Ungets): fixes improper filling of the channel buffer.davygrvy2004-02-021-3/+2
| | | | [Bug 405995]
* * generic/tclFileName.c (Tcl_GlobObjCmd): Latest changes todgp2004-01-131-24/+16
| | | | | | | management of the interp result by Tcl_GetIndexFromObj() exposed improper interp result management in the [glob] command procedure. Corrected by adopting the Tcl_SetObjResult(Tcl_NewStringObj) pattern. This stopped a segfault in test filename-11.36.
* Fix shared object panics. [Bug 875395]dkf2004-01-131-3/+6
|
* vfs code tclfinalizefilesystem fixvincentdarley2004-01-091-3/+3
|
* * generic/tclBinary.c (DeleteScanNumberCache): fixed crashing bugdas2003-12-171-2/+4
| | | | when numeric scan-value cache contains NULL value.
* Merged fixes for Tcl Bug #839519 and Tcl Bug #861515.vasiljevic2003-12-171-11/+14
| | | | Those are already applied to the head.
* fix to 'file normalize ~nobody' crashvincentdarley2003-12-121-1/+4
|
* * generic/tcl.h: Bumped patch level to 8.4.5.1 to distinguishdgp2003-12-031-3/+3
| | | | | | | | | * unix/configure.in: CVS snapshots from 8.4.5 release. * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* * README: Bumped patch level to 8.4.6 to distinguishdgp2003-12-021-3/+3
| | | | | | | | | | | | * generic/tcl.h: CVS snapshots from the 8.4.5 release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* Stop losing references when variables are repeated in [binary scan]. [851747]dkf2003-12-021-40/+71
|
* * generic/tclVar.c: fix flag bit collision betweenMiguel Sofer2003-11-201-2/+2
| | | | LOOKUP_FOR_UPVAR and TCL_PARSE_PART1 (deprecated) [Bug 835020]
* fix to 'cd' infinite recursion bug on Windowsvincentdarley2003-11-201-5/+12
|
* * generic/regcomp.c: Backported regexp bug fixes and tests. Thanksdgp2003-11-172-6/+28
| | | | | * generic/tclTest.c: to Pavel Goran and Vince Darley. * tests/reg.test: [Bugs 230589, 504785, 505048, 703709, 840258]
* * tests/unixInit.test (unixInit-2.10): mark as knownBughobbs2003-11-061-13/+7
| | | | | | * generic/tclEncoding.c (TclFindEncodings): revert patch from 2003-11-05. It wasn't valid in the sensitive startup init phase and broke Windows from working at all.
* * generic/tclEncoding.c (TclFindEncodings): Normalize the pathdgp2003-11-051-5/+9
| | | | | | of the executable before passing to TclpInitLibraryPath() to avoid buggy handling of paths containing "..". [Bug 832657] * tests/unixInit.test (unixInit-2.10): New test for fixed bug.
* fix testsuite backport errorvincentdarley2003-10-311-2/+2
|
* * generic/tclIOUtil.c (FsListMounts, FsAddMountsToGlobResult): Newandreas_kupries2003-10-223-9/+166
| | | | | | | | | | | functions. See below for context. (Tcl_FSMatchInDirectory): Modified to call on the new functions (above) to handle the mountpoints in the glob'bed directory correctly. Part of the patch by Vincent Darly to solve the [Bug 800106] for the 8.4.x series. * generic/tcl.h (TCL_GLOB_TYPE_MOUNT): New definition. Part of the patch by Vincent Darly to solve [Bug 800106] for the 8.4.x series.
* Changed FILE_ to FCMD_ to prevent symbol/#def collisions. [Bug 822528]dkf2003-10-221-45/+45
|
* regsub fixvincentdarley2003-10-141-2/+13
|
* * generic/tclBasic.c: Save and restore the iPtr->flag bits thatdgp2003-10-081-1/+6
| | | | | | | control the state of errorCode and errorInfo management when calling "leave" execution traces, so that all error information of the traced command is still available whether traced or not. [Bug 760947] Thanks to Yahalom Emet.
* Made Tcl_NumUtfChars do the right thing with \u0000 when guessing the lengthdkf2003-10-082-7/+30
| | | | because of a negative 'length' parameter. [Bug 769812]
* filesystem bug fixes: volumerelative normalization, file join inconsistencyvincentdarley2003-10-062-36/+61
|
* * generic/tclBasic.c: Fixed error in ref count management of commanddgp2003-10-032-22/+69
| | | | | * generic/tclCmdMZ.c: and execution traces that caused access to freed memory in trace-32.1. [Bug 811483].
* backporting of filesystem tests, docsvincentdarley2003-10-032-16/+85
|
* * README: Bumped patch level to 8.4.5 to preparedgp2003-10-021-3/+3
| | | | | | | | | | | | | | | * generic/tcl.h: for next patch release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure: * library/http/http.tcl: Bumped to http 2.4.5 * library/http/pkgIndex.tcl:
* * generic/tclBasic.c (CallCommandTraces): Added safety bitdgp2003-09-291-4/+9
| | | | | | | | * tests/trace.test: masking to prevent any of the bit values TCL_TRACE_*_EXEC from leaking into the flags field of any Command struct. This does not fix [Bug 811483] but helps to contain some of its worst symptoms. Also backported the corrections to test trace-28.4 from Vince Darley.
* * generic/tclCmdMZ.c (): Fixed [Bug 807243] wheredgp2003-09-241-1/+17
| | | | | | * tests/trace.test (trace-31,32.*): the introspection results of both [trace info command] and [trace info execution] were getting co-mingled. Thanks to Mark Saye for the report.
* * generic/tclExecute.c: adding (DE)CACHE_STACK_INFO() pairs toMiguel Sofer2003-09-191-17/+75
| | | | | protect all calls that may cause traces on ::errorInfo or ::errorCode to corrupt the stack [Bug 804681]
* Backported fix from HEAD for Bug 788780vasiljevic2003-09-011-3/+3
|
* additinal performance tweak to last commitdgp2003-08-271-3/+14
|
* * generic/tclUtil.c: Corrected [Bug 411825] and other bugs indgp2003-08-271-25/+36
| | | | | | TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped spaces were handled incorrectly. * tests/util.test: Added new tests util-8.[2-6].
* * generic/tclExecute.c (INST_INVOKE, INST_EVAL, INST_PUSH_RESULT):Miguel Sofer2003-08-051-4/+30
| | | | | | | | added a Tcl_ResetResult(interp) at each point where the interp's result is pushed onto the stack, to avoid keeping an extra reference that may cause costly Tcl_Obj duplication [Bug 781585] Detected by Franco Violi, analyzed by Peter Spjuth and Donal Fellows.
* * generic/tclBasic.c: Corrected several instances of unsafedgp2003-07-183-22/+65
| | | | | | | * generic/tclCompile.c: truncation of UTF-8 strings that might * generic/tclProc.c: break apart a multi-byte character. * library/init.tcl: [Bug 760872] * tests/init.test:
* * generic/tclIOUtil.c: correct MT-safety issues with filesystemhobbs2003-07-181-179/+237
| | | | records. [Bug 753315] (vasiljevic)
* 2003-07-16 Mumit Khan <khan@nanotech.wisc.edu>hobbs2003-07-172-41/+34
| | | | | | | | * generic/tclIOUtil.c (SetFsPathFromAny): Add Cygwin specific code to convert POSIX filename to native format. * generic/tclFileName.c (Tcl_TranslateFileName): And remove from here. (TclDoGlob): Adjust for cygwin and append / for dirs instead of \ * win/tclWinFile.c (TclpObjChdir): Use chdir on Cygwin.
* * generic/tcl.h: add recognition of -DTCL_UTF_MAX=6 on thehobbs2003-07-162-4/+26
| | | | | * generic/regcustom.h: make line to support UCS-4 mode. No config arg at this time, as it is not the recommended build mode.
* * generic/tclPreserve.c: In Result and Preserve'd routines, do nothobbs2003-07-163-21/+12
| | | | | * generic/tclUtil.c: assume that ckfree == free, as that is not * generic/tclResult.c: always true. [Bug 756791] (fuller)
* * generic/tclFileName.c (Tcl_GlobObjCmd): [Bug 771840]dgp2003-07-162-21/+2
| | | | | | * generic/tclIOUtil.c (Tcl_FSConvertToPathType):[Bug 771947] * unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949] Silence compiler warnings about unreached lines.
* Removed trivially-unreachable line [Bug 771939]dkf2003-07-161-2/+1
|