summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBasic.c (Tcl_EvalEx): leak fix by dgp, releaseMiguel Sofer2004-07-121-1/+2
| | | | objv[objectsUsed] on error.
* * generic/tclParse.c (Tcl_SubstObj): leak fix by dgp, releaseMiguel Sofer2004-07-121-1/+2
| | | | result on error.
* Another leak fix for [Bug 989093]dkf2004-07-111-1/+9
|
* Stop [dict unset] from leaking objects. [Bug 989093 in part]dkf2004-07-111-2/+4
|
* * generic/tclExecute.c (TEBC): fixed leak of expandNestList objsMiguel Sofer2004-07-111-1/+15
| | | | | when there is an error while an expansion is in progress (code added at checkForCatch).
* cd fix in vfsvincentdarley2004-07-111-12/+19
|
* Modified the logic of literal table cleanup at interp deletion time,Miguel Sofer2004-07-083-32/+45
| | | | | insuring that the fix of [Bug 983660] does not have a negative perf impact.
* * generic/tclCompile.c (TclCompileScript): fix for [Bug 458361].Miguel Sofer2004-07-071-1/+10
| | | | | Single-word scripts are compiled with an unshared cmdName to avoid shimmering between bytecode and cmdName reps.
* * generic.tclCmdMZ.c (TclMergeReturnOptions): Simplified logic anddgp2004-07-071-15/+22
| | | | removed potential memory leak. [Bug 986257].
* Add missing objTypes to catalogdkf2004-07-072-2/+6
|
* * tests/cmdMZ.test (cmdMZ-return-2.17): Added a test that a worddgp2004-07-061-4/+5
| | | | | | | | | containing backslash-quoted value is treated correctly. * generic/tclCompile.c (TclWordKnownAtCompileTime): [Bug 986196] Corrected flaw above and the flaw that caused TCL_TOKEN_SIMPLE_WORDs to have their original word value copied ( "{a b}" ) rather than the actual value ( "a b" ). Thanks to Kevin Kenny for report and tests.
* * generic/tclBasic.c (DeleteInterpProc): fix for [Bug 983660],Miguel Sofer2004-07-052-20/+22
| | | | | | | | | found by pspjuth. Tear down the global namespace before freeing the interp handle, to allow the bytecodes to free their non-shared literals. * generic/tclLiteral.c (TclReleaseLiteral): moved special code for self-ref so that it is also used for non-shared literals. Possible bug found by inspection.
* added support for wide integers to round(); [Bug 908375], reported byMiguel Sofer2004-07-031-40/+36
| | | | Hemang Lavana.
* Moved declaration of TclCompEvalObj() from tclCompile.h to the internalMiguel Sofer2004-07-034-4/+28
| | | | stubs table, for compiler experimentation.
* * generic/regcomp.c (stid): correct minor pointer size errorhobbs2004-07-021-2/+2
|
* * generic/tclPipe.c (TclCreatePipeline): applied TIP #202 patchhobbs2004-07-021-15/+36
| | | | | * doc/exec.n, tests/exec.test: that adds 2>@1 as a special case redirection of stderr to the result output.
* Fix missed references to 8.4, spotted by Theo Verelst.dkf2004-07-011-3/+3
|
* TIP#188 implementation. Thanks to KBK! [Patch 940915]dkf2004-06-301-8/+54
|
* Oops!dkf2004-06-241-5/+3
|
* Style and whitespace fixesdkf2004-06-241-443/+544
|
* * generic/tclThreadStorage.c: Corrected type casting errors that leddgp2004-06-241-3/+3
| | | | | | to calculation of a negative index value, thus accesses outside the threadStorageCache array, thus memory corruption. Crash observed on Mac OS X platform.
* Version 5 of [Patch 976496]Joe Mistachkin2004-06-245-5/+1249
|
* Version of [Patch 746578] that works with Linux and is likely to work elsewheredkf2004-06-231-1/+2
|
* * generic/tclEvent.c (NewThreadProc): Fixed broken build onKevin B Kenny2004-06-221-1/+4
| | | | | | Windows caused by missing TCL_THREAD_CREATE_RETURN. * tests/stack.test (stack-3.1): Corrected nuisance error in threaded builds.
* Integrated fix for Tcl Bug #770053 from core-8-4-branchvasiljevic2004-06-222-3/+97
|
* Make [Bug 975895] less likely to be hitdkf2004-06-211-257/+274
|
* * generic/tclEncoding.c: Static TclFindEncodings -> FindEncodings.dgp2004-06-183-15/+19
| | | | | | | * generic/tclInt.h: Updated TclpFindExecutable() so that failed * generic/tclUtil.c: attempts to find the executable are saved * unix/tclUnixFile.c: just as successful finds are. [Patch 966053] * unix/tclUnixTest.c:
* Fixed [Bug 886231] properly this time rather than with a broken version thatdkf2004-06-182-63/+69
| | | | breaks the core completely. :^}
* Fix tclWinInit.c for KBK, adding comments as I go. :^)dkf2004-06-182-16/+168
|
* Updated comments to agree with recent revisions.dgp2004-06-171-7/+8
|
* Reverted temporary changedgp2004-06-171-2/+2
|
* * generic/tclObj.c: Added missing space in panic message.dgp2004-06-171-2/+2
|
* temporarily removed unset of ::tclDefaultLibrary for sake of testing.dgp2004-06-171-2/+2
|
* * win/Makefile.in: Corrected compilation flags for tclPkgConfig.cKevin B Kenny2004-06-141-4/+2
| | | | | | | so that it doesn't require Stubs. * generic/tclBasic.c (Tcl_CreateInterp): Removed comment stating that TclInitEmbeddedConfigurationInformation needs Stubs; with the change above, the comment is now erroneous.
* * doc/Encoding.3: Removed bogus claims about tcl_libPath.dgp2004-06-111-16/+23
| | | | | | | | | | | | | | * generic/tclInterp.c (Tcl_Init): Stopped setting the tcl_libPath variable. [tclInit] can get all its directories without it. * tests/unixInit.test: Modified test code that made use of tcl_libPath variable. * unix/tclUnixInit.c: Stopped setting the tclDefaultLibrary variable, execept on the Mac OS X platform with HAVE_CFBUNDLE. In that configuration we should seek some way to make use of the TIP 59 facilities and get rid of that usage of tclDefaultLibrary as well.
* * generic/tclInterp.c: Updated [tclInit] to make $env(TCL_LIBRARY) andgp2004-06-111-2/+6
| | | | | absolute path, and to include the scriptdir,runtime configuration value on the search path for init.tcl.
* Restored Eng. Manual Styledgp2004-06-111-66/+66
|
* * unix/tclUnixInit.c: The routines Tcl_Init() and TclSourceRCFile()dgp2004-06-113-115/+198
| | | | | | | | | | * win/tclWinInit.c: had identical implementations for both win and * generic/tclInterp.c: unix. Moved to a single generic implementation. * generic/tclMain.c: * library/init.tcl: * generic/tclInitScript.h (removed): * unix/Makefile.in: * win/tcl.dsp:
* * unix/configure.in: Updated TCL_PACKAGE_PATH value todgp2004-06-111-9/+10
| | | | | | | | | | | | * win/configure.in: handle --libdir configuration. * unix/configure.in: autoconf-2.57 * win/configure.in: * generic/tclBasic.c (Tcl_CreateInterp): Moved call to TclInitEmbeddedConfigurationInformation() earlier in Tcl_CreateInterp() so that other parts of interp creation and initialization may access and use the config values.
* Fixed Tcl_FSChdir not to forcefully update private cwd cached copy.vasiljevic2004-06-101-2/+16
| | | | | This fixes the problem of [cwd] reporting relative file paths under certain cirumstances.
* * generic/tclPathObj.c: Corrected [file tail] results when operatingdgp2004-06-101-1/+16
| | | | on a path produced by TclNewFSPathObj(). [Bug 970529]
* Partially corrected [Bug 932314]vasiljevic2004-06-091-5/+12
|
* * generic/tclCompile.c:Miguel Sofer2004-06-082-5/+9
| | | | * generic/tclExecute.c: handle warning [Bug 969066]
* Silence compiler warnings.dgp2004-06-081-2/+3
|
* Fix variable usage warning. [Bug 969068]dkf2004-06-081-5/+3
|
* Re-commit after a `make genstubs` on a unix system, to restore unix line endingsdgp2004-06-075-9505/+9505
|
* * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-057-9498/+9519
| | | | | | | | | | | | | | | | | | | | build works again. * generic/tclDecls.h: Changes to the tests for * generic/tclInt.decls: clock frequency in * generic/tclIntDecls.h: Tcl_WinTime * generic/tclIntPlatDecls.h: so that any clock frequency * generic/tclPlatDecls.h: is accepted provided that * generic/tclStubInit.c: all CPU's in the system share * tests/platform.test (platform-1.3): a common chip, and hence, * win/tclWin32Dll.c (TclWinCPUID): presumably, a common clock. * win/tclWinTest.c (TestwincpuidCmd) This change necessitated a * win/tclWinTime.c (Tcl_GetTime): small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722]
* * generic/tcl.h: Restored #include <stdio.h> to tcl.h,dgp2004-06-041-1/+12
| | | | | | rejecting the "fix" for "Bug" 945570. Tcl_FSSeek() needs the values of SEEK_SET, etc. and too many extensions rely on tcl.h providing stdio.h for them.
* * generic/tclIO.c (Tcl_SetChannelOption): Took out the rangedavygrvy2004-06-011-9/+1
| | | | | | | verification on -buffersize so original behavior for silently ignoring bad settings is returned. The only difference now is the behavior difference between atoi and Tcl_GetInt which gains the ability to error for 'not a number' and can understand hexidecimal.
* * generic/tclIO.c (Tcl_SetChannelOption): Invalid settingsdavygrvy2004-06-011-3/+14
| | | | | | for -buffersize weren't being reported as errors and were blindly ignored. Now reports conversion errors to an int and checks ranges for validity. atoi() swapped for Tcl_GetInt().