Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (TclCompileSwitchCmd): simplify TclReToGlob usage. | hobbs | 2007-11-14 | 2 | -9/+7 |
| | |||||
* | * generic/tclCompCmds.c (TclCompileRegexpCmd): clean up comments, | hobbs | 2007-11-14 | 2 | -9/+17 |
| | | | | only free dstring on OK from TclReToGlob. | ||||
* | Comment/#ifdef out the multi-char collating element support code. | dkf | 2007-11-14 | 5 | -39/+98 |
| | | | | We never used or supported it. [Bug 1831425] | ||||
* | Extend [switch] compiler to handle regular expressions as long as things are not | dkf | 2007-11-13 | 2 | -71/+120 |
| | | | | | too complex. Fix [regexp] compiler so that non-trivial literal regexps get fed to INST_REGEXP. | ||||
* | Minor fixes (remove double blank lines, etc.) | dkf | 2007-11-13 | 1 | -16/+18 |
| | |||||
* | Fix a bug in disassembly of INST_START_CMD instructions | dkf | 2007-11-13 | 1 | -3/+4 |
| | |||||
* | Clarify. | dkf | 2007-11-13 | 2 | -27/+45 |
| | |||||
* | * unix/tclUnixInit.c: the TCL_NO_STACK_CHECK was being incorrectly | Miguel Sofer | 2007-11-13 | 2 | -5/+9 |
| | | | | | undefined here; this should be set (or not) in the compile options, it is used elsewhere and needs to be consistent. | ||||
* | Added autoconf goo to detect availability of getaddrinfo | patthoyts | 2007-11-13 | 4 | -1/+205 |
| | |||||
* | Oops! | dkf | 2007-11-13 | 1 | -2/+3 |
| | |||||
* | Forgot to transform to native encoding for getaddrinfo() | dkf | 2007-11-13 | 1 | -2/+5 |
| | |||||
* | fix Tcl_DStringFree buglet | das | 2007-11-13 | 1 | -2/+1 |
| | |||||
* | The six-argument form of getaddressbyname_r() uses the fifth argument to | dkf | 2007-11-13 | 2 | -6/+12 |
| | | | | | indicate whether the lookup succeeded or not on at least one platform. [Bug 1618235] | ||||
* | * generic/regcomp.c: Convert optst() from expensive no-op to a | dgp | 2007-11-13 | 2 | -0/+15 |
| | | | | cheap no-op. | ||||
* | Make some tests clearer on failure by using tcltest2 features | dkf | 2007-11-13 | 1 | -22/+16 |
| | |||||
* | Rewrote to use the thread-safe version of gethostbyname() by forward-porting | dkf | 2007-11-13 | 2 | -12/+91 |
| | | | | | the code used in 8.4, and added rudimentary support for getaddrinfo() (not enabled by default, as no autoconf-ery written). Part of fix for [Bug 1618235] | ||||
* | (TclReToGlob): remove out-dated Tcl_RegExpCompile check as it causes recursion | hobbs | 2007-11-13 | 1 | -15/+1 |
| | |||||
* | RE: [Patch 1830184] TclResetResult | Miguel Sofer | 2007-11-12 | 8 | -81/+37 |
| | | | | | | THIS PATCH WAS REVERTED: initial (mis)measurements overstated the perfomance wins, which turn out to be tiny. Not worth the complication. | ||||
* | * generic/tclGet.c (Tcl_Get, Tcl_GetInt): revert use of TclGet* | hobbs | 2007-11-12 | 2 | -3/+6 |
| | | | | macros due to compiler warning. These cases won't save time either. | ||||
* | * generic/tclUtil.c (TclReToGlob): add more comments, set interp | hobbs | 2007-11-12 | 2 | -3/+17 |
| | | | | result if specified on error. | ||||
* | * generic/tclBasic.c: New macro TclResetResult, new iPtr flag | Miguel Sofer | 2007-11-12 | 8 | -35/+93 |
| | | | | | | | | | * generic/tclExecute.c: bit INTERP_RESULT_UNCLEAN: shortcut for * generic/tclInt.h: Tcl_ResetResult for the "normal" case: * generic/tclProc.c: TCL_OK, no return options, no errorCode * generic/tclResult.c: nor errorInfo, return at normal level. * generic/tclStubLib.c: [Patch 1830184] * generic/tclUtil.c: | ||||
* | * generic/tclCompCmds.c, generic/tclCompile.c, generic/tclCompile.h: | hobbs | 2007-11-12 | 12 | -103/+436 |
| | | | | | | | | | * generic/tclExecute.c, generic/tclInt.decls, generic/tclIntDecls.h: * generic/tclRegexp.c, generic/tclRegexp.h: Add INST_REGEXP and fully * generic/tclStubInit.c, generic/tclUtil.c: compiled [regexp] for the * tests/regexpComp.test: [Bug 1830166] simple cases. Also added TclReToGlob function to convert RE to glob patterns and use these in the possible cases. | ||||
* | * generic/tclResult.c (ResetObjResult): clarify the logic. | Miguel Sofer | 2007-11-11 | 2 | -4/+4 |
| | |||||
* | [Patch 1830038]: Increased usage of macros to detect and take advantage of ↵ | Miguel Sofer | 2007-11-11 | 32 | -395/+490 |
| | | | | objTypes. | ||||
* | Formatting/readability | dkf | 2007-11-11 | 1 | -35/+35 |
| | |||||
* | * generic/tclBasic.c: fix stack check failure case if stack grows up. | das | 2007-11-11 | 1 | -2/+2 |
| | |||||
* | * unix/tclUnixInit.c: simplify non-crosscompiled case. | das | 2007-11-11 | 2 | -14/+22 |
| | |||||
* | * generic/tclBasic.c: fix stack check failure case if stack grows up. | das | 2007-11-11 | 1 | -2/+2 |
| | |||||
* | autoheader-2.59 | das | 2007-11-11 | 1 | -0/+6 |
| | |||||
* | autoconf-2.59 | das | 2007-11-11 | 1 | -6109/+6076 |
| | |||||
* | changelog entry | Miguel Sofer | 2007-11-10 | 1 | -0/+3 |
| | |||||
* | * generic/tclExecute.c: fast path for INST_LIST_INDEX when the | Miguel Sofer | 2007-11-10 | 1 | -7/+20 |
| | | | | index is not a list. | ||||
* | * unix/configure: autoconf 2.61 | Miguel Sofer | 2007-11-10 | 2 | -6067/+6174 |
| | |||||
* | * generic/tclBasic.c: | Miguel Sofer | 2007-11-10 | 4 | -12/+66 |
| | | | | | | * unix/configure.in: * unix/tclUnixInit.c: detect stack grwoth direction at compile time, only fall to runtime detection when crosscompiling. | ||||
* | * unix/tclUnixTime.c (TclpWideClicksToNanoseconds): fix issues with | das | 2007-11-10 | 3 | -32/+37 |
| | | | | * generic/tclInt.h: int64_t overflow. | ||||
* | fix typos | das | 2007-11-10 | 1 | -6/+6 |
| | |||||
* | Improved failure comments for stack checks (mistachkin). | Miguel Sofer | 2007-11-10 | 2 | -11/+17 |
| | |||||
* | * generic/tclBasic.c: | Miguel Sofer | 2007-11-10 | 5 | -56/+70 |
| | | | | | | | | | * generic/tclInt.h: * unix/tclUnixInit.c: * win/tclWin32Dll.c: restore simpler behaviour for stack checking, not adaptive to stack size changes after a thread is launched. Consensus is that "nobody does that", and so it is not worth the cost. | ||||
* | minor code cleanup in TclpGetCStackParams; hoist a couple of structs from ↵ | Kevin B Kenny | 2007-11-10 | 1 | -15/+11 |
| | | | | TSD into the activation record | ||||
* | 2007-11-10 Kevin Kenny <kennykb@acm.org> | Kevin B Kenny | 2007-11-10 | 2 | -158/+51 |
| | | | | | | | | | | | * win/tclWin32Dll.c: Rewrote the Windows stack checking algorithm to use information from VirtualQuery to determine the bound of the stack. This change fixes a bug where the guard page of the stack was never restored after an overflow. It also eliminates a nasty piece of assembly code for structured exception handling on mingw. It introduces an assumption that the stack is a single memory arena returned from VirtualAlloc, but the code in MSVCRT makes the same assumption, so it should be fairly safe. | ||||
* | * generic/tclBasic.c: | Miguel Sofer | 2007-11-10 | 6 | -114/+153 |
| | | | | | | | | | | | * generic/tclInt.h: * unix/tclUnixInit.c: * unix/tclUnixPort.h: * win/tclWin32Dll.c: modify the stack checking algorithm to recheck in case of failure. The working assumptions are now that (a) a thread's stack is never moved, and (b) a thread's stack can grow but not shrink. Port to windows - could be more efficient, but is already cheaper than it was. | ||||
* | fix formatting | das | 2007-11-10 | 1 | -2/+3 |
| | |||||
* | fix formatting and inverted test in TclpCheckStackSpace() | das | 2007-11-10 | 1 | -19/+20 |
| | |||||
* | fix typos, formatting and non-unix breakage (due to undefined stackGrowsDown) | das | 2007-11-10 | 1 | -6/+7 |
| | |||||
* | * generic/tclResult.c (ResetObjResult): new shortcut. | Miguel Sofer | 2007-11-10 | 2 | -3/+6 |
| | |||||
* | fixed stupid bug in last commit that made it not work in threaded builds | Miguel Sofer | 2007-11-09 | 1 | -3/+3 |
| | |||||
* | * generic/tclAsync.c: | Miguel Sofer | 2007-11-09 | 7 | -50/+188 |
| | | | | | | | | | | | * generic/tclBasic.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclUnixInit.c: * generic/tclUnixPort.h: new fields in interp (ekeko!) to cache TSD data that is accessed at each command invocation, access macros to replace Tcl_AsyncReady and TclpCheckStackSpace by much faster variants [Patch 1829248] | ||||
* | * generic/tclInt.decls, generic/tclIntDecls.h: Use unsigned char for | hobbs | 2007-11-09 | 5 | -47/+36 |
| | | | | | | * generic/tclExecute.c, generic/tclUtil.c: TclByteArrayMatch and don't allow a nocase option. [Bug 1828296] For INST_STR_MATCH, ignore pattern type for TclByteArrayMatch case. | ||||
* | * generic/tclBinary.c (Tcl_GetByteArrayFromObj): check type before | hobbs | 2007-11-09 | 2 | -2/+9 |
| | | | | func jump | ||||
* | formatting | das | 2007-11-08 | 1 | -34/+32 |
| |