Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * 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 |
| | |||||
* | fix (unsigned char*) vs. (char*) warnings | das | 2007-11-08 | 2 | -5/+5 |
| | |||||
* | * generic/tclStubInit.c: | hobbs | 2007-11-08 | 6 | -5/+226 |
| | | | | | | | * generic/tclInt.decls, generic/tclIntDecls.h: added TclByteArrayMatch * generic/tclUtil.c (TclByteArrayMatch): for efficient glob * generic/tclExecute.c (TclExecuteByteCode): matching of ByteArray Tcl_Objs, used in INST_STR_MATCH. [Bug 1827996] | ||||
* | (DoWriteChars): special case for 1-byte channel write. | hobbs | 2007-11-07 | 2 | -6/+12 |
| | |||||
* | * generic/tclIO.c (TclGetsObjBinary): add an efficient binary path | hobbs | 2007-11-07 | 2 | -4/+259 |
| | | | | for [gets]. | ||||
* | * generic/tclEncoding.c: Version of the embedded iso8859-1 | Miguel Sofer | 2007-11-06 | 2 | -13/+219 |
| | | | | | | | | encoding handler that is faster (functions to do the encoding know exactly what they're doing instead of pulling it from a table, though the table itself has to be retained for use by shift encodings that depend on iso8859-1.) [Patch 1826906], committing for dkf. | ||||
* | * generic/tclConfig.c (Tcl_RegisterConfig): Modified to not extend | andreas_kupries | 2007-11-05 | 2 | -42/+44 |
| | | | | | | | the config database if the encoding provided by the user is not found (venc == NULL). Scripts expecting the data will error out, however we neither crash nor provide bogus information. See [SF Tcl Bug 983509] for more discussion. | ||||
* | * generic/tclConfig.c (Tcl_RegisterConfig): Modified to use | andreas_kupries | 2007-11-05 | 2 | -1/+15 |
| | | | | | | | | iso8859-1 as a fallback if the user supplied encoding was not found. That way we do not crash. It is unclear however if this is a sane fallback given that the encoding is likely wrong and producing bogus strings. See [SF Tcl Bug 983509] for more discussion. | ||||
* | * unix/tclUnixChan.c (TtyGetOptionProc): Accepted [SF Tcl Patch | andreas_kupries | 2007-11-05 | 3 | -10/+32 |
| | | | | | | | 1823576] provided by Stuart Cassof <stwo@users.sourceforge.net>. The patch adds the necessary utf/external conversions to the handling of the arguments of option -xchar which will allow the use of \0 and similar characters. | ||||
* | * generic/tclTest.c (TestSetCmd2): | Miguel Sofer | 2007-11-03 | 4 | -4/+55 |
| | | | | | | | * generic/tclVar.c (TclObjLookupVarEx): * tests/set.test (set-5.1): fix error branch when array name looks like array element (code not normally exercised). x | ||||
* | Minor documentation improvements | dkf | 2007-11-01 | 10 | -70/+91 |
| | |||||
* | Reorder paragraphs for better readability. | dkf | 2007-11-01 | 1 | -9/+9 |
| | |||||
* | Fix .DS/.DE to work better when transformed to a table | dkf | 2007-11-01 | 1 | -35/+35 |
| | |||||
* | Convert .DS/.DE sequences to tables, as that's now what they're used for. | dkf | 2007-11-01 | 2 | -2/+8 |
| | |||||
* | Clarified documentation of RE flags. [Bug 1167840] | dkf | 2007-11-01 | 2 | -12/+16 |
| | |||||
* | change 'reflectedchan' to 'refchan' for reduced confusion. | dkf | 2007-11-01 | 3 | -6/+9 |
| | |||||
* | \u0000 is ASCII! [Bug 1808258] | dkf | 2007-11-01 | 3 | -17/+18 |
| | |||||
* | Clarified [file nativename] usage. [Bug 1185154] | dkf | 2007-11-01 | 2 | -3/+16 |
| | |||||
* | Sync to Tk: use -fp:strict always | patthoyts | 2007-10-31 | 1 | -11/+1 |
| | |||||
* | Spread the idiom, make the rendering to HTML reliable! | dkf | 2007-10-30 | 10 | -121/+161 |
| | |||||
* | Eliminate misuse of .br | dkf | 2007-10-30 | 3 | -9/+20 |
| | |||||
* | typos | dkf | 2007-10-30 | 2 | -4/+4 |
| | |||||
* | * generic/tcl.h: Bump version number to 8.5b2.1 to distinguish | dgp | 2007-10-30 | 8 | -12/+23 |
| | | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5b2 * unix/configure.in: release. * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure: |