summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tclUnixTime.c (TclpWideClicksToNanoseconds): fix issues withdas2007-11-103-32/+37
| | | | * generic/tclInt.h: int64_t overflow.
* fix typosdas2007-11-101-6/+6
|
* Improved failure comments for stack checks (mistachkin).Miguel Sofer2007-11-102-11/+17
|
* * generic/tclBasic.c:Miguel Sofer2007-11-105-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 Kenny2007-11-101-15/+11
| | | | TSD into the activation record
* 2007-11-10 Kevin Kenny <kennykb@acm.org>Kevin B Kenny2007-11-102-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 Sofer2007-11-106-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 formattingdas2007-11-101-2/+3
|
* fix formatting and inverted test in TclpCheckStackSpace()das2007-11-101-19/+20
|
* fix typos, formatting and non-unix breakage (due to undefined stackGrowsDown)das2007-11-101-6/+7
|
* * generic/tclResult.c (ResetObjResult): new shortcut.Miguel Sofer2007-11-102-3/+6
|
* fixed stupid bug in last commit that made it not work in threaded buildsMiguel Sofer2007-11-091-3/+3
|
* * generic/tclAsync.c:Miguel Sofer2007-11-097-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 forhobbs2007-11-095-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 beforehobbs2007-11-092-2/+9
| | | | func jump
* formattingdas2007-11-081-34/+32
|
* fix (unsigned char*) vs. (char*) warningsdas2007-11-082-5/+5
|
* * generic/tclStubInit.c:hobbs2007-11-086-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.hobbs2007-11-072-6/+12
|
* * generic/tclIO.c (TclGetsObjBinary): add an efficient binary pathhobbs2007-11-072-4/+259
| | | | for [gets].
* * generic/tclEncoding.c: Version of the embedded iso8859-1Miguel Sofer2007-11-062-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 extendandreas_kupries2007-11-052-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 useandreas_kupries2007-11-052-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 Patchandreas_kupries2007-11-053-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 Sofer2007-11-034-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 improvementsdkf2007-11-0110-70/+91
|
* Reorder paragraphs for better readability.dkf2007-11-011-9/+9
|
* Fix .DS/.DE to work better when transformed to a tabledkf2007-11-011-35/+35
|
* Convert .DS/.DE sequences to tables, as that's now what they're used for.dkf2007-11-012-2/+8
|
* Clarified documentation of RE flags. [Bug 1167840]dkf2007-11-012-12/+16
|
* change 'reflectedchan' to 'refchan' for reduced confusion.dkf2007-11-013-6/+9
|
* \u0000 is ASCII! [Bug 1808258]dkf2007-11-013-17/+18
|
* Clarified [file nativename] usage. [Bug 1185154]dkf2007-11-012-3/+16
|
* Sync to Tk: use -fp:strict alwayspatthoyts2007-10-311-11/+1
|
* Spread the idiom, make the rendering to HTML reliable!dkf2007-10-3010-121/+161
|
* Eliminate misuse of .brdkf2007-10-303-9/+20
|
* typosdkf2007-10-302-4/+4
|
* * generic/tcl.h: Bump version number to 8.5b2.1 to distinguishdgp2007-10-308-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:
* Forgot some SEE ALSOsdkf2007-10-302-4/+5
|
* Typo [Bug 1811621]dkf2007-10-301-3/+2
|
* Clear up what's going on a bit more. [Bug 1811803]dkf2007-10-303-48/+60
|
* Fix [Bug 1822268]dkf2007-10-302-22/+42
|
* Enhance the HTML generator so that it can produce multi-line option ↵dkf2007-10-302-225/+283
| | | | descriptions.
* line endingsdgp2007-10-2926-2406/+2377
|
* Minor fixesdkf2007-10-292-8/+5
|
* GOOBE the docs some more.dkf2007-10-2931-220/+224
|
* Missed this file last nightdkf2007-10-291-87/+211
|
* Next stage of doing GOOBE improvements to documentation now that the html ↵dkf2007-10-2967-1230/+1598
| | | | generation works
* First stage of doing GOOBE improvements to documentation now that the html ↵dkf2007-10-2893-2481/+2689
| | | | generation works
* * generic/tclUtil.c (Tcl_ConcatObj): optimise for some of theMiguel Sofer2007-10-282-13/+43
| | | | concatenees being empty objs [Bug 1447328]