Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * generic/tclOOMethod.c (ProcedureMethodCompiledVarConnect): | hobbs | 2010-09-22 | 6 | -43/+40 |
| | | | | | | | | | * generic/tclVar.c (TclLookupSimpleVar, CompareVarKeys): * generic/tclPathObj.c (Tcl_FSGetNormalizedPath, Tcl_FSEqualPaths): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclIOUtil.c (TclFSCwdPointerEquals): peephole opt * generic/tclResult.c (TclMergeReturnOptions): use memcmp where applicable as possible speedup on some libc variants. | ||||
* | Make Tcl_FindExecutable() work in UNICODE compiles (windows-only) as well as ↵ | nijtmans | 2010-09-16 | 3 | -8/+11 |
| | | | | | | ASCII. Needed for [FRQ 491789]: setargv() doesn't support a unicode cmdline | ||||
* | * generic/tclBinary.c (TclAppendBytesToByteArray): [Bug 3067036]: Make | dkf | 2010-09-15 | 1 | -4/+19 |
| | | | | | sure we never try to double zero repeatedly to get a buffer size. Also added a check for sanity on the size of buffer being appended. | ||||
* | [Patch 3034251] backport ttkGenStubs.tcl | nijtmans | 2010-09-15 | 4 | -985/+989 |
| | | | | | | | | features to genStubs.tcl. Make the "generic" argument in the *.decls files optional (no change to any tcl*Decls.h files) This allows genStubs.tcl to generate the ttk stub files as well, while keeping full compatibility with existing *.decls files. | ||||
* | * generic/tclExecute.c: [Bug 3057639]. Applied patch by Jeff to | andreas_kupries | 2010-09-01 | 2 | -10/+12 |
| | | | | | | | * generic/tclVar.c: make the behaviour of lappend in bytecompiled * tests/append.test: mode consistent with direct-eval and 'append' * tests/appendComp.test: generally. Added tests (append*-9.*) showing the difference. | ||||
* | [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Remaining part. | nijtmans | 2010-08-31 | 7 | -22/+22 |
| | | | | Typo in rules.vc | ||||
* | * generic/tclBasic.c: New implementation for [tailcall]: | Miguel Sofer | 2010-08-30 | 6 | -152/+55 |
| | | | | | | | | | * generic/tclCmdAH.c: it now schedules the command and returns * generic/tclCmdMZ.c: TCL_RETURN. This fixes all issues with * generic/tclExecute.c: [catch] and [try] - [Bug 3046594], * generic/tclInt.h: [Bug 3047235] and [Bug 3048771]. Thanks * generic/tclNamesp.c: dgp for exploring the dark corners. * tests/tailcall.test: More thorough testing is required. | ||||
* | [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Partly. | nijtmans | 2010-08-30 | 5 | -28/+27 |
| | |||||
* | [Patch 2994165]: Change signature of Tcl_FSGetNativePath and TclpDeleteFile ↵ | nijtmans | 2010-08-25 | 3 | -30/+9 |
| | | | | | | follow-up: move stub entry back to original location. | ||||
* | [Bug 3007895] Tcl_(Find|Create)HashEntry stub entries can never be called. | nijtmans | 2010-08-24 | 3 | -14/+34 |
| | |||||
* | Remove many type casts which are no longernecessary as a result of [Patch ↵ | nijtmans | 2010-08-22 | 15 | -70/+67 |
| | | | | 3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry | ||||
* | [Patch 3034251]: Backport ttkGenStubs.tcl features to genStubs.tcl, partly: | nijtmans | 2010-08-21 | 5 | -226/+226 |
| | | | | Use void (*reserved$i)(void) = 0 instead of void *reserved$i = NULL for unused stub entries, in case pointer-to-function and pointer-to-object are different sizes. | ||||
* | * generic/tclTrace.c (TraceExecutionObjCmd, TraceCommandObjCmd) | dkf | 2010-08-19 | 1 | -4/+4 |
| | | | | | | (TraceVariableObjCmd): [Patch 3048354]: Use memcpy() instead of strcpy() to avoid buffer overflow; we have the correct length of data to copy anyway since we've just allocated the target buffer. | ||||
* | [Patch 3034251] backport ttkGenStubs.tcl features to genStubs.tcl, partly: ↵ | nijtmans | 2010-08-19 | 7 | -4800/+64 |
| | | | | remove unneeded ifdeffery and put C++ guard around stubs pointer definition. | ||||
* | * generic/tclBasic.c: New redesign of [tailcall]: find | Miguel Sofer | 2010-08-18 | 4 | -65/+115 |
| | | | | | | * generic/tclExecute.c: errors early on, so that errorInfo * generic/tclInt.h: contains the proper info [Bug 3047235] * generic/tclNamesp.c: | ||||
* | * generic/tclCmdAH.c (TclNRTryObjCmd): block tailcalling out of | Miguel Sofer | 2010-08-18 | 1 | -2/+4 |
| | | | | the body of a non-bc'ed [try], #3046594 | ||||
* | * generic/tclBasic.c: Redesign of [tailcall] to | Miguel Sofer | 2010-08-18 | 6 | -82/+45 |
| | | | | | | | | | * generic/tclCmdAH.c: (a) fix #3047235 * generic/tclCompile.h: (b) enable fix for #3046594 * generic/tclExecute.c: (c) enable recursive tailcalls * generic/tclInt.h: * generic/tclNamesp.c: * tests/tailcall.test: | ||||
* | * generic/tclProc.c (ProcWrongNumArgs): [Bug 3045010]: Make the | dkf | 2010-08-15 | 1 | -6/+8 |
| | | | | | handling of passing the wrong number of arguments to [apply] somewhat less verbose when a lambda term is present. | ||||
* | [Patch 3009403] Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry | nijtmans | 2010-08-14 | 1 | -4/+4 |
| | |||||
* | [Patch #2994165] Change signature of Tcl_FSGetNativePath and TclpDeleteFile | nijtmans | 2010-08-14 | 5 | -16/+42 |
| | |||||
* | * generic/tclBasic.c (TclNRYieldToObjCmd): fixed bad copypasta | Miguel Sofer | 2010-08-11 | 1 | -2/+2 |
| | | | | snafu. Thanks to Andy Goth for finding the bug. | ||||
* | * generic/tclUtil.c (TclByteArrayMatch): patterns may not be | hobbs | 2010-08-10 | 1 | -2/+2 |
| | | | | null-terminated, so account for that. | ||||
* | * generic/tclIORChan.c: [Bug 3034840]: Fixed reference counting | andreas_kupries | 2010-08-04 | 2 | -36/+101 |
| | | | | | * generic/tclIORTrans.c: in InvokeTclMethod and callers. * tests/ioTrans.test: | ||||
* | * generic/tclVar.c: correcting bad port of [Bug 3037525] fix | Miguel Sofer | 2010-08-02 | 1 | -2/+2 |
| | |||||
* | * generic/tclVar.c: fix for crash [Bug 3037525]: lose fickle | Miguel Sofer | 2010-07-31 | 1 | -7/+2 |
| | | | | optimisation in TclDeleteVars (used for runtime-created locals) | ||||
* | From [Bug 3030870] make itcl 3.x built with pre-8.6 work in 8.6: Relax the ↵ | nijtmans | 2010-07-24 | 1 | -3/+3 |
| | | | | relation between Tcl_CallFrame and CallFrame. | ||||
* | [Bug 3029891] Functions that don't belong in the stub table. | nijtmans | 2010-07-24 | 2 | -4/+16 |
| | |||||
* | silence compiler warnings | dgp | 2010-07-19 | 1 | -2/+5 |
| | |||||
* | * generic/tclBasic.c: Added more errorCode setting. | dkf | 2010-07-16 | 1 | -8/+28 |
| | |||||
* | * generic/tclExecute.c (TclExecuteByteCode): Ensure that [dict get] | dkf | 2010-07-15 | 2 | -3/+7 |
| | | | | | * generic/tclDictObj.c (DictGetCmd): always generates an errorCode on a failure to look up an entry. | ||||
* | * generic/tclInt.decs: Reverted to the original TIP 337 implementation | dgp | 2010-07-02 | 3 | -22/+10 |
| | | | | | | | on what to do with the obsolete internal stub for TclBackgroundException() (eliminate it!) * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: | ||||
* | [Bug #803489] Tcl_FindNamespace problem in the Stubs table | nijtmans | 2010-07-02 | 3 | -14/+31 |
| | |||||
* | * generic/tclExecute.c (IllegalExprOperandType): [Bug 3024379]: Made | dkf | 2010-07-02 | 1 | -1/+2 |
| | | | | | | sure that errors caused by an argument to an operator being outside the domain of the operator all result in ::errorCode being ARITH DOMAIN and not NONE. | ||||
* | [Bug 3019634] errno.h and tclWinPort.h have conflicting definitions. | nijtmans | 2010-06-28 | 1 | -10/+34 |
| | |||||
* | * generic/tclCmdIL.c (Tcl_LsetObjCmd): [Bug 3019351]: Corrected wrong | dkf | 2010-06-22 | 1 | -2/+3 |
| | | | | args message. | ||||
* | Remove hack needed for zlib 1.2.3 on win32 | nijtmans | 2010-06-21 | 1 | -103/+28 |
| | |||||
* | Simplify Tcl_AppInit and *_Init definitions. | nijtmans | 2010-06-16 | 6 | -32/+24 |
| | | | | | | Change TclpThreadCreate and Tcl_CreateThread signature, making clear that "proc" is a function pointer, as in all other "proc" function parameters. | ||||
* | Fix compilation of xttest with 8.6 changes | nijtmans | 2010-06-14 | 1 | -11/+8 |
| | | | | tclPipe.c: Fix gcc warning (with -fstrict-aliasing=2) | ||||
* | whitespace | dgp | 2010-06-08 | 1 | -17/+19 |
| | |||||
* | Ensure proper reset of [info errorstack] even when compiling constant expr's ↵ | ferrieux | 2010-06-07 | 2 | -53/+53 |
| | | | | with errors. | ||||
* | * generic/tclBasic.c: Fix for #3008307: make callerPtr chains | Miguel Sofer | 2010-06-05 | 2 | -13/+28 |
| | | | | | | | | | * generic/tclExecute.c: be traversable accross coro boundaries. Add the special coroutine CallFrame (partially reverting commit of 2009-12-10), as it is needed for coroutines that do not push a CF - eg, those with [eval] as command. Thanks to Colin McCormack (coldstore) and Alexandre Ferrieux for the hard work on this. | ||||
* | Safer (and faster) computation of [uplevel] offsets in TIP 348. Toplevel ↵ | ferrieux | 2010-06-02 | 1 | -10/+7 |
| | | | | offsets no longer overestimated. | ||||
* | remove some "BUILD_tcloo" leftovers | nijtmans | 2010-06-02 | 1 | -8/+1 |
| | |||||
* | Fix computation of [uplevel] offsets in TIP 341. | ferrieux | 2010-05-31 | 1 | -2/+2 |
| | | | | | Only depend on callerPtr chaining now. Needed for upcoming coro patch. | ||||
* | Eliminate some casts to (Tcl_HashTable *) | nijtmans | 2010-05-31 | 2 | -6/+6 |
| | |||||
* | [tcl-Patches-3008541] order of TIP #348 fields in Interp structure | nijtmans | 2010-05-28 | 1 | -14/+18 |
| | |||||
* | * generic/tclCompCmdsSZ.c (IssueTryFinallyInstructions): [3007374]: | dkf | 2010-05-28 | 1 | -45/+57 |
| | | | | | Corrected error in handling of catch contexts to prevent crash with chained handlers. | ||||
* | * generic/tclExecute.c (TclExecuteByteCode): Restore correct operation | dkf | 2010-05-28 | 1 | -15/+21 |
| | | | | of instruction-level execution tracing (had been broken by NRE). | ||||
* | uniParse.tcl: Don't generate spaces at the end of a line. | nijtmans | 2010-05-27 | 1 | -785/+785 |
| | |||||
* | [Bug #3005233] fix for build on OpenBSD vax | nijtmans | 2010-05-21 | 1 | -3/+5 |
| |