summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * README: Bump version number to 8.5b3.dgp2007-11-191-0/+13
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* * changes: Updated for 8.5b3 release.dgp2007-11-191-0/+4
|
* formattingdas2007-11-191-66/+66
|
* * generic/tclExecute.c (TclExecuteByteCode:INST_EXIST_*): Fix readdas2007-11-171-0/+5
| | | | traces not firing on non-existent array elements. [Bug 1833522]
* Greatly improved ensemble compiler. This one now can handle any ensemble.dkf2007-11-161-0/+14
| | | | | It is usually not enabled though; only worth it when a subcommand is actually expected to undergo bytecode compilation.
* * generic/regc_nfa.c: Fixed infinite loop in the regexp compiler.dgp2007-11-151-0/+3
| | | | [Bug 1810038].
* * generic/regc_nfa.c: Corrected looping logic in fixempties() todgp2007-11-151-0/+5
| | | | avoid wasting time walking a list of dead states. [Bug 1832612]
* Must pass non-NULL interp to Tcl_SetEnsemble* functions.dkf2007-11-151-0/+3
|
* Readability improvementsdkf2007-11-151-0/+3
|
* Let people disable use of -rpath in their linking step. [Patch 1231022]dkf2007-11-151-1/+7
|
* Prefer UINT_PTR to DWORD_PTR when casting pointers to integer types for ↵patthoyts2007-11-151-0/+5
| | | | greater portability (bug #1831253)
* * macosx/Tcl.xcodeproj/project.pbxproj: add new chanio.test.das2007-11-151-2/+7
| | | | * macosx/Tcl.xcode/project.pbxproj:
* Compile [info exists] into bytecode. Includes new instructions to support it.dkf2007-11-141-2/+18
|
* * tests/chanio.test: New file. This is essentially a duplicate ofandreas_kupries2007-11-141-0/+7
| | | | | | 'io.test', with all channel commands converted to their 'chan xxx' notation. * tests/io.test: Fixed typo in test description.
* Eliminate multi-char collating element code completely. Simplifies the codedkf2007-11-141-0/+6
| | | | | quite a bit. If people still want the full code, it will remain on the 8.4 branch. [Bug 1831425]
* (TclCompileSwitchCmd): simplify TclReToGlob usage.hobbs2007-11-141-0/+1
|
* * generic/tclCompCmds.c (TclCompileRegexpCmd): clean up comments,hobbs2007-11-141-0/+5
| | | | only free dstring on OK from TclReToGlob.
* Comment/#ifdef out the multi-char collating element support code.dkf2007-11-141-0/+6
| | | | We never used or supported it. [Bug 1831425]
* Extend [switch] compiler to handle regular expressions as long as things are notdkf2007-11-131-0/+5
| | | | | too complex. Fix [regexp] compiler so that non-trivial literal regexps get fed to INST_REGEXP.
* Clarify.dkf2007-11-131-10/+14
|
* * unix/tclUnixInit.c: the TCL_NO_STACK_CHECK was being incorrectlyMiguel Sofer2007-11-131-0/+6
| | | | | 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 getaddrinfopatthoyts2007-11-131-0/+6
|
* The six-argument form of getaddressbyname_r() uses the fifth argument todkf2007-11-131-0/+6
| | | | | indicate whether the lookup succeeded or not on at least one platform. [Bug 1618235]
* * generic/regcomp.c: Convert optst() from expensive no-op to adgp2007-11-131-0/+5
| | | | cheap no-op.
* Rewrote to use the thread-safe version of gethostbyname() by forward-portingdkf2007-11-131-0/+8
| | | | | 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]
* RE: [Patch 1830184] TclResetResultMiguel Sofer2007-11-121-0/+3
| | | | | | 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*hobbs2007-11-121-0/+3
| | | | macros due to compiler warning. These cases won't save time either.
* * generic/tclUtil.c (TclReToGlob): add more comments, set interphobbs2007-11-121-0/+5
| | | | result if specified on error.
* * generic/tclBasic.c: New macro TclResetResult, new iPtr flagMiguel Sofer2007-11-121-1/+12
| | | | | | | | | * 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:hobbs2007-11-121-0/+10
| | | | | | | | | * 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 Sofer2007-11-111-0/+2
|
* [Patch 1830038]: Increased usage of macros to detect and take advantage of ↵Miguel Sofer2007-11-111-0/+33
| | | | objTypes.
* Formatting/readabilitydkf2007-11-111-35/+35
|
* * unix/tclUnixInit.c: simplify non-crosscompiled case.das2007-11-111-3/+9
|
* changelog entryMiguel Sofer2007-11-101-0/+3
|
* * unix/configure: autoconf 2.61Miguel Sofer2007-11-101-0/+2
|
* * generic/tclBasic.c:Miguel Sofer2007-11-101-0/+5
| | | | | | * 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 withdas2007-11-101-25/+30
| | | | * generic/tclInt.h: int64_t overflow.
* Improved failure comments for stack checks (mistachkin).Miguel Sofer2007-11-101-1/+2
|
* * generic/tclBasic.c:Miguel Sofer2007-11-101-0/+10
| | | | | | | | | * 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.
* 2007-11-10 Kevin Kenny <kennykb@acm.org>Kevin B Kenny2007-11-101-0/+11
| | | | | | | | | | | * 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-101-0/+12
| | | | | | | | | | | * 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.
* * generic/tclResult.c (ResetObjResult): new shortcut.Miguel Sofer2007-11-101-0/+2
|
* * generic/tclAsync.c:Miguel Sofer2007-11-091-0/+12
| | | | | | | | | | | * 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-091-1/+6
| | | | | | * 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-091-0/+5
| | | | func jump
* formattingdas2007-11-081-34/+32
|
* * generic/tclStubInit.c:hobbs2007-11-081-0/+6
| | | | | | | * 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-071-0/+1
|
* * generic/tclIO.c (TclGetsObjBinary): add an efficient binary pathhobbs2007-11-071-0/+5
| | | | for [gets].