summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* fixed Tcl_FSGetTranslatedPath to always return properly refcountedvasiljevic2003-12-171-9/+10
| | | | path object. This fixes Tcl Bug #861515.
* Fixed 2 memory (object) leaks; Tcl Bug #839519vasiljevic2003-12-171-2/+4
|
* Made a variable file-local for safetydkf2003-12-161-2/+2
|
* * generic/tclInt.decls: commented-out entry fordavygrvy2003-12-153-17/+10
| | | | | | TclpCheckStackSpace, removing it from the Stubs table. It's already declared in tclInt.h and labeled as a function that is not to be exported. Regened tables.
* TIP#75 Implementationdkf2003-12-141-19/+172
|
* Stop warnings due to (annoying) C type promotion rules.dkf2003-12-141-6/+5
|
* rewrite of file normalizationvincentdarley2003-12-141-84/+220
|
* file normalize ~nobody fixvincentdarley2003-12-121-1/+4
|
* Stop losing references when variables are repeated in [binary scan]. [851747]dkf2003-12-021-40/+71
|
* * generic/tclParse.c: Corrected faulty check for trailing whitedgp2003-11-241-2/+4
| | | | | space in {expand} parsing. Thanks Andreas Leitgeb. [Bug 848262]. * tests/parse.test: New tests for the bug.
* remove windows [cd] bugvincentdarley2003-11-241-5/+12
|
* * generic/tclVar.c: fix flag bit collision betweenMiguel Sofer2003-11-201-2/+6
| | | | LOOKUP_FOR_UPVAR and TCL_PARSE_PART1 (deprecated) [Bug 835020]
* Fixed Bug 845412; long commands without expansion don't get tangled with thedkf2003-11-191-2/+2
| | | | expansion machinery now...
* Added cast to suppress compiler warning.dgp2003-11-171-2/+2
|
* Miguel's masking bits had the wrong sense. I should have spotteddkf2003-11-161-2/+2
| | | | this, but he did instead...
* D'oh! instructionCount is post-incremented, not pre-incremented...dkf2003-11-161-3/+4
|
* Miguel Sofer's patch (with small revisions) to make sure the bytecode enginedkf2003-11-162-2/+98
| | | | checks for async events fairly frequently. [Bug 746722]
* Stop VC++ 5.2 warning. [Bug 842511]dkf2003-11-151-2/+2
|
* Whitespace fixesdkf2003-11-151-15/+15
|
* Fixed code that splits RE engine states into "progress" and "no-progress" ↵pvgoran2003-11-151-2/+6
| | | | (bugs 505048, 230589, 840258 and 504785).
* Added cast to suppress compiler warning.dgp2003-11-151-2/+2
|
* TIP#138 implementation plus extra test stuff [Patch 731356]dkf2003-11-143-19/+142
|
* * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-147-57/+376
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Tcl.n: of the new leading {expand} syntax on words. * generic/tcl.h: Parses such words as the new Tcl_Token type * generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx * generic/tclCompile.c: and the bytecode compiler/execution engine * generic/tclCompile.h: to recognize the new token type. New opcodes * generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new * generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs * generic/tclTest.c: and tests are included. * tests/basic.test: * tests/compile.test: * tests/parse.test: * library/auto.tcl: Replaced several [eval]s used to perform * library/package.tcl: argument expansion with the new syntax. * library/safe.tcl: In the test files lindex.test and lset.test, * tests/cmdInfo.test: replaced use of [eval] to force direct * tests/encoding.test: string evaluation with use of [testevalex] * tests/execute.test: which more directly and robustly serves the * tests/fCmd.test: same purpose. * tests/http.test: * tests/init.test: * tests/interp.test: * tests/io.test: * tests/ioUtil.test: * tests/iogt.test: * tests/lindex.test: * tests/lset.test: * tests/namespace-old.test: * tests/namespace.test: * tests/pkg.test: * tests/pkgMkIndex.test: * tests/proc.test: * tests/reg.test: * tests/trace.test: * tests/upvar.test: * tests/winConsole.test: * tests/winFCmd.test:
* fix to misleading error messagevincentdarley2003-11-101-8/+17
|
* compilation warningvincentdarley2003-11-071-3/+10
|
* loadHandle vs clientData cleanupvincentdarley2003-11-032-17/+112
|
* whitespacevincentdarley2003-11-031-2/+2
|
* remove warningvincentdarley2003-11-031-2/+2
|
* Typo fixdkf2003-11-021-2/+2
|
* regendkf2003-11-012-2/+26
|
* When copying and pasting code, check that argument types are sensible! <:^)dkf2003-11-012-8/+8
|
* Oopsdkf2003-11-011-2/+2
|
* Increased robustness and speed for [lrepeat] with help of new list constructordkf2003-11-015-68/+212
|
* Whitespace policedkf2003-10-302-135/+128
|
* Whitespace policedkf2003-10-301-163/+132
|
* * generic/tclExecute.c (NEXT_INST macros): replaced macro variableMiguel Sofer2003-10-281-10/+10
| | | | "result" by "resultHandling" to avoid confusion.
* Changed FILE_ to FCMD_ to prevent symbol/#def collisions. [Bug 822528]dkf2003-10-221-77/+66
|
* Removed variables that are no longer used.dgp2003-10-212-6/+2
|
* Fixed bug 823768 by pre-parsing the index listdkf2003-10-151-240/+225
|
* whitespace policedkf2003-10-141-131/+116
|
* regsub fixvincentdarley2003-10-141-2/+13
|
* * generic/tclBasic.c (TclAppendObjToErrorInfo): New internal routinedgp2003-10-1412-191/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | that appends a Tcl_Obj to the errorInfo, saving the caller the trouble of extracting the string rep. * generic/tclStringObj.c (TclAppendLimitedToObj): New internal routine that supports truncated appends with optional ellipsis marking. This single routine supports UTF-8-safe truncated appends needed in several places throughout the Tcl source code, mostly for error and stack messages. Clean fix for [Bug 760872]. * generic/tclInt.h: Declarations for new internal routines. * generic/tclCmdMZ.c: Updated callers to use the new routines. * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclProc.c: * generic/tclStringObj.c: * mac/tclMacResource.c: * library/init.tcl: Updated ::errorInfo cleanup in [unknown] to reflect slight modifications to Tcl_LogCommandInfo(). Corrects failing init-4.* tests.
* TIP#127 Implementation. Thanks to Michael Schlenker for his implementation workdkf2003-10-141-155/+443
|
* filesystem bug fixesvincentdarley2003-10-135-22/+208
|
* Exported symbol name police (thanks GPS for spotting this!)dkf2003-10-103-20/+19
|
* * win/makefile.vc: Applied patches for bug #801467 by Joe Mistachkinpatthoyts2003-10-091-1/+2
| | | | | * win/tclAppInit.c: to fix incompatible TCL_MEM_DEBUG handling in * generic/tclObj.c: Win32 VC builds.
* * generic/tclBasic.c: Save and restore the iPtr->flag bits thatdgp2003-10-081-1/+12
| | | | | | | 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]
* fix for [Bug 816641] - faulty execution and catch stack management.Miguel Sofer2003-10-041-19/+16
|
* * generic/tclBasic.c: Fixed error in ref count management of commanddgp2003-10-032-13/+32
| | | | | * generic/tclCmdMZ.c: and execution traces that caused access to freed memory in trace-32.1. [Bug 811483].