summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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].
* * generic/tclTrace.c: Corrected comingling of introspection results ofdgp2003-10-021-1/+17
| | | | | [trace info command] and [trace info execution]. [Bug 807243] Thanks to Mark Saye.
* fixed inconsistent handling of file separators in file joinvincentdarley2003-09-301-34/+53
|
* Remove unintentional check-in of work-in-progressdkf2003-09-291-35/+1
|
* Undid bozo check-in of work-in-progressdkf2003-09-291-44/+1
|
* Symbols which are visible outside a single compilation unit must havedkf2003-09-293-28/+28
| | | | | the prefix 'Tcl' to keep them out of the way of non-Tcl C code on Unix. (Problem reported by George Staplin.)
* Undo mistaken commit of work-in-progressdkf2003-09-291-495/+7
|
* Regendkf2003-09-292-2/+13
|
* TIP#121 (app exit proc API) implementation from Joe Mistachkindkf2003-09-295-13/+648
|
* TIP#112 ([namespace ensemble] command) implementation.dkf2003-09-294-93/+1761
|
* fix failure of previous commit on Alpha platformMiguel Sofer2003-09-231-26/+18
|
* * generic/tclExecute.c:Miguel Sofer2003-09-232-162/+150
| | | | | | * generic/tclInt.h: changed the evaluation-stack addressing mode, from array-style to pointer-style; the catch stack and evaluation stack are now contiguous in memory. [Patch 457449]
* * generic/tclExecute.c: adding (DE)CACHE_STACK_INFO() pairs to protect all ↵Miguel Sofer2003-09-191-17/+77
| | | | | | calls that may cause traces on ::errorInfo or ::errorCode to corrupt the stack [Bug 804681] ----------------------------------------------------------------------
* fileName test suite bug fixvincentdarley2003-09-181-3/+10
|
* minor filesystem bug fixesvincentdarley2003-09-161-10/+55
|
* Oops! Last checkin had wrong value for LAST_INST_OPCODE. D'oh!dkf2003-09-151-2/+2
|
* TIP#123 Implementation based on work by Arjen Markus. [Patch 655176]dkf2003-09-125-21/+292
|
* * doc/FileSystem.3: Implementation ofdgp2003-09-058-45/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/source.n: TIPs 137/151. Adds * doc/tclsh.1: a -encoding option to * generic/tcl.decls: the [source] command * generic/tclCmdMZ.c (Tcl_SourceObjCmd): and a new C routine, * generic/tclIOUtil.c (Tcl_FSEvalFileEx): Tcl_FSEvalFileEx(), * generic/tclMain.c (Tcl_Main): that provides C access * mac/tclMacResource.c (Tcl_MacSourceObjCmd): to the same function. * tests/cmdMZ.test: Also adds command line * tests/main.test: option handling in Tcl_Main() so that tclsh * tests/source.test: and other apps built on Tcl_Main() respect a -encoding command line option before a script filename. Docs and tests updated as well. [Patch 742683] This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs that embed Tcl, build on Tcl_Main(), and make use of Tcl_Main's former ability to pass a leading "-encoding" option to interactive shell operations. * generic/tclInt.decls: Added internal stub * generic/tclMain.c (Tcl*StartupScript*): table entries for two new functions Tcl_SetStartupScript() and Tcl_GetStartupScript() that set/get the path and encoding for the startup script to be evaluated by either Tcl_Main() or Tk_Main(). Given public names in anticipation of their exposure by a followup TIP. * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c:
* * doc/SplitList.3: Implementation of TIP 148. Fixes [Bug 489537].dgp2003-09-045-15/+58
| | | | | | | | | | * generic/tcl.h: Updated Tcl_ConvertCountedElement() to quote * generic/tclUtil.c: the leading "#" character of all list elements unless the TCL_DONT_QUOTE_HASH flag is passed in. * generic/tclDictObj.c: Updated Tcl_ConvertCountedElement() callers * generic/tclListObj.c: to pass in the TCL_DONT_QUOTE_HASH flags * generic/tclResult.c: when appropriate.
* * generic/tclCmdAH.c: Corrected bug in TIP 90 implementationdgp2003-08-291-1/+8
| | | | | | * tests/cmdMZ.test: where the default -errorcode NONE value was not copied into the return options dictionary. This correction modified one test result.
* additional performance tweak to last commit.dgp2003-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].