summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Stop warnings due to (annoying) C type promotion rules.dkf2003-12-141-6/+5
| | | FossilOrigin-Name: c0649787a677c17463eec80421273846b0db0c86
* rewrite of file normalizationvincentdarley2003-12-141-84/+220
| | | FossilOrigin-Name: 5b1ae404848593ddff99b78548a804e854d3d42b
* file normalize ~nobody fixvincentdarley2003-12-121-1/+4
| | | FossilOrigin-Name: f1c2619a405fb9f2bd0e804c431973173537c3c8
* Stop losing references when variables are repeated in [binary scan]. [851747]dkf2003-12-021-40/+71
| | | FossilOrigin-Name: e1aa93441ded621fb6bcdfaf2ee18f6a10c6a728
* * 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. FossilOrigin-Name: 672ceae2aef17192295def7c292bde85f4c97c0d
* remove windows [cd] bugvincentdarley2003-11-241-5/+12
| | | FossilOrigin-Name: aed01a30915b5b837098fb35bd7ce1da4e000789
* * generic/tclVar.c: fix flag bit collision betweenmsofer2003-11-201-2/+6
| | | | | | LOOKUP_FOR_UPVAR and TCL_PARSE_PART1 (deprecated) [Bug 835020] FossilOrigin-Name: 00fc87dfafaa2519e5c7de0c6d90241ad6861d4e
* Fixed Bug 845412; long commands without expansion don't get tangled with thedkf2003-11-191-2/+2
| | | | | | expansion machinery now... FossilOrigin-Name: 791e41a30772b6d6f48855266e24e9b575d3eba1
* Added cast to suppress compiler warning.dgp2003-11-171-2/+2
| | | FossilOrigin-Name: 7882b5bc8d8f71d8642f5e4f59c17d035ef2062e
* Miguel's masking bits had the wrong sense. I should have spotteddkf2003-11-161-2/+2
| | | | | | this, but he did instead... FossilOrigin-Name: 20f28119e52e61c10e86dd9c5b46e61ba25d8483
* D'oh! instructionCount is post-incremented, not pre-incremented...dkf2003-11-161-3/+4
| | | FossilOrigin-Name: 5d7b896ba8c73b15a6b66d300b944090114075fa
* 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] FossilOrigin-Name: b8a0c26a583d99e28baeef2a94d4925ec7f69f8e
* Stop VC++ 5.2 warning. [Bug 842511]dkf2003-11-151-2/+2
| | | FossilOrigin-Name: bc35b1d8bc5a39a8270dcc9cbe76cf00ac94b012
* Whitespace fixesdkf2003-11-151-15/+15
| | | FossilOrigin-Name: 1566f256361b22f93b3fafd6a2d5312d78b90771
* Fixed code that splits RE engine states into "progress" and "no-progress" ↵pvgoran2003-11-151-2/+6
| | | | | (bugs 505048, 230589, 840258 and 504785). FossilOrigin-Name: 47606ca977fee2f558333b2833e27db14b242cdf
* Added cast to suppress compiler warning.dgp2003-11-151-2/+2
| | | FossilOrigin-Name: 90d8b22febc1b64461c119743c4a091511d6d23c
* TIP#138 implementation plus extra test stuff [Patch 731356]dkf2003-11-143-19/+142
| | | FossilOrigin-Name: eef4eada83b9f6b1d21308d4c32a856bddd65f69
* * 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: FossilOrigin-Name: cbfb8313bae848d0c0a2070542fbc2e4fa371ba2
* fix to misleading error messagevincentdarley2003-11-101-8/+17
| | | FossilOrigin-Name: 5a025a528e62d5eac3ef981127fbf50cae8260cd
* compilation warningvincentdarley2003-11-071-3/+10
| | | FossilOrigin-Name: 5e759647b73930a4646d9c10bf9a480f64d59104
* loadHandle vs clientData cleanupvincentdarley2003-11-032-17/+112
| | | FossilOrigin-Name: faef05470c6541d330a29646bdea23c2ce20c0a0
* whitespacevincentdarley2003-11-031-2/+2
| | | FossilOrigin-Name: d044c8be9807fe3e2273fa8fb7ba7e3866ca5818
* remove warningvincentdarley2003-11-031-2/+2
| | | FossilOrigin-Name: 3a2780c1a7ad47d605bc3cd69efb15fd22dfb2e3
* Typo fixdkf2003-11-021-2/+2
| | | FossilOrigin-Name: 33c0fbef93c10a26c88120709067a18b0f6f733a
* regendkf2003-11-012-2/+26
| | | FossilOrigin-Name: d1f0e549219605d035bdd992c9ca7547e1e860b5
* When copying and pasting code, check that argument types are sensible! <:^)dkf2003-11-012-8/+8
| | | FossilOrigin-Name: cfc33365377e66a89569a82146841534674eff5b
* Oopsdkf2003-11-011-2/+2
| | | FossilOrigin-Name: 6a41f327173a30065cc60a126f0c9480c845a561
* Increased robustness and speed for [lrepeat] with help of new list constructordkf2003-11-015-68/+212
| | | FossilOrigin-Name: 14a264ed1d03eba266c3475d7ab37b879cfc2189
* Whitespace policedkf2003-10-302-135/+128
| | | FossilOrigin-Name: 0e454ce0e1c247ce2735758eb3899d1e32426113
* Whitespace policedkf2003-10-301-163/+132
| | | FossilOrigin-Name: 355816d9e595fa7c4da7327c64860c3bd72f4221
* * generic/tclExecute.c (NEXT_INST macros): replaced macro variablemsofer2003-10-281-10/+10
| | | | | | "result" by "resultHandling" to avoid confusion. FossilOrigin-Name: 1debe942a0d6cf178afb881bf0fd96e99e7ef0f6
* Changed FILE_ to FCMD_ to prevent symbol/#def collisions. [Bug 822528]dkf2003-10-221-77/+66
| | | FossilOrigin-Name: f86ca225de7ec509897634843e479fcfd143fb33
* Removed variables that are no longer used.dgp2003-10-212-6/+2
| | | FossilOrigin-Name: b8ce70f5dbc1a9d71d1a1bbcce27859056139d6f
* Fixed bug 823768 by pre-parsing the index listdkf2003-10-151-240/+225
| | | FossilOrigin-Name: 4f28048ff57081a673dc33a6e745901769d8c384
* whitespace policedkf2003-10-141-131/+116
| | | FossilOrigin-Name: b7d561203b3a13b8acdca98ee458018b1ebf3c96
* regsub fixvincentdarley2003-10-141-2/+13
| | | FossilOrigin-Name: 67a6ac61094d7af4f5b22e847cc32632e85f5dfb
* * 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. FossilOrigin-Name: 3522d44090c0741244e00185be889a7f16be931e
* TIP#127 Implementation. Thanks to Michael Schlenker for his implementation workdkf2003-10-141-155/+443
| | | FossilOrigin-Name: 3dfa4104f61375bf5a5b08948cb93f7ff83cca2f
* filesystem bug fixesvincentdarley2003-10-135-22/+208
| | | FossilOrigin-Name: f53be6ca932d75224f711710f48a99d73b1803f4
* Exported symbol name police (thanks GPS for spotting this!)dkf2003-10-103-20/+19
| | | FossilOrigin-Name: c377842c485aa3893c022b0f8257dde59d444808
* * 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. FossilOrigin-Name: c6bd53ea965341f6437ac640f78f5ef4ae67a3ee
* * 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. FossilOrigin-Name: f1a98cad4c013647c8f061e497787300310c0a2a
* 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] FossilOrigin-Name: 6b243da1f01e6a318f8f0d85a35dccef11e5d718
* fix for [Bug 816641] - faulty execution and catch stack management.msofer2003-10-041-19/+16
| | | FossilOrigin-Name: 1fbbe0dc83be4f67176fe6bd759ff2cb460aab03
* * 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]. FossilOrigin-Name: 56fecef86d0b04847583d81db3664cd8ee1aebd0
* * 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. FossilOrigin-Name: d8fd7cc24dcbed79ab07cbb68a3c56f85be42b91
* fixed inconsistent handling of file separators in file joinvincentdarley2003-09-301-34/+53
| | | FossilOrigin-Name: ebab8e8fa9842dbec99ee08c12eba560ceb303e3
* Remove unintentional check-in of work-in-progressdkf2003-09-291-35/+1
| | | FossilOrigin-Name: 1bfa692a27f21e32d736c5c946a69efddbd77c27
* Undid bozo check-in of work-in-progressdkf2003-09-291-44/+1
| | | FossilOrigin-Name: bad15625ff174da3aeae7ee7c24425e7905853d7
* 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.) FossilOrigin-Name: cd7c23855c81257d30bb8408a5a13ce1d731aa19