summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclProc.c (ProcWrongNumArgs): [Bug 3045010]: Make thedkf2010-08-151-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)HashEntrynijtmans2010-08-141-4/+4
|
* [Patch #2994165] Change signature of Tcl_FSGetNativePath and TclpDeleteFilenijtmans2010-08-145-16/+42
|
* * generic/tclBasic.c (TclNRYieldToObjCmd): fixed bad copypastaMiguel Sofer2010-08-111-2/+2
| | | | snafu. Thanks to Andy Goth for finding the bug.
* * generic/tclUtil.c (TclByteArrayMatch): patterns may not behobbs2010-08-101-2/+2
| | | | null-terminated, so account for that.
* * generic/tclIORChan.c: [Bug 3034840]: Fixed reference countingandreas_kupries2010-08-042-36/+101
| | | | | * generic/tclIORTrans.c: in InvokeTclMethod and callers. * tests/ioTrans.test:
* * generic/tclVar.c: correcting bad port of [Bug 3037525] fixMiguel Sofer2010-08-021-2/+2
|
* * generic/tclVar.c: fix for crash [Bug 3037525]: lose fickleMiguel Sofer2010-07-311-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 ↵nijtmans2010-07-241-3/+3
| | | | relation between Tcl_CallFrame and CallFrame.
* [Bug 3029891] Functions that don't belong in the stub table.nijtmans2010-07-242-4/+16
|
* silence compiler warningsdgp2010-07-191-2/+5
|
* * generic/tclBasic.c: Added more errorCode setting.dkf2010-07-161-8/+28
|
* * generic/tclExecute.c (TclExecuteByteCode): Ensure that [dict get]dkf2010-07-152-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 implementationdgp2010-07-023-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 tablenijtmans2010-07-023-14/+31
|
* * generic/tclExecute.c (IllegalExprOperandType): [Bug 3024379]: Madedkf2010-07-021-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.nijtmans2010-06-281-10/+34
|
* * generic/tclCmdIL.c (Tcl_LsetObjCmd): [Bug 3019351]: Corrected wrongdkf2010-06-221-2/+3
| | | | args message.
* Remove hack needed for zlib 1.2.3 on win32nijtmans2010-06-211-103/+28
|
* Simplify Tcl_AppInit and *_Init definitions.nijtmans2010-06-166-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 changesnijtmans2010-06-141-11/+8
| | | | tclPipe.c: Fix gcc warning (with -fstrict-aliasing=2)
* whitespacedgp2010-06-081-17/+19
|
* Ensure proper reset of [info errorstack] even when compiling constant expr's ↵ferrieux2010-06-072-53/+53
| | | | with errors.
* * generic/tclBasic.c: Fix for #3008307: make callerPtr chainsMiguel Sofer2010-06-052-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 ↵ferrieux2010-06-021-10/+7
| | | | offsets no longer overestimated.
* remove some "BUILD_tcloo" leftoversnijtmans2010-06-021-8/+1
|
* Fix computation of [uplevel] offsets in TIP 341.ferrieux2010-05-311-2/+2
| | | | | Only depend on callerPtr chaining now. Needed for upcoming coro patch.
* Eliminate some casts to (Tcl_HashTable *)nijtmans2010-05-312-6/+6
|
* [tcl-Patches-3008541] order of TIP #348 fields in Interp structurenijtmans2010-05-281-14/+18
|
* * generic/tclCompCmdsSZ.c (IssueTryFinallyInstructions): [3007374]:dkf2010-05-281-45/+57
| | | | | Corrected error in handling of catch contexts to prevent crash with chained handlers.
* * generic/tclExecute.c (TclExecuteByteCode): Restore correct operationdkf2010-05-281-15/+21
| | | | of instruction-level execution tracing (had been broken by NRE).
* uniParse.tcl: Don't generate spaces at the end of a line.nijtmans2010-05-271-785/+785
|
* [Bug #3005233] fix for build on OpenBSD vaxnijtmans2010-05-211-3/+5
|
* Don't use arrays of length 1, just use a single element then, it makes code ↵nijtmans2010-05-193-16/+16
| | | | more readable.
* Fix [Bug 2996549]: Failure in expr.test on Win32nijtmans2010-05-171-3/+7
|
* * generic/tclCmdIL.c (TclInfoFrame): Change this code to usedkf2010-05-171-9/+6
| | | | | Tcl_GetCommandFullName rather than rolling its own. Discovered during the hunting of [Bug 3001438] but unlikely to be a fix.
* Correct some comments (Jos Decoster found...)dkf2010-05-141-4/+4
|
* Unnecessary type casts, See Tcl [Patch #2997087]nijtmans2010-05-051-12/+12
|
* CONSTify various useful internal functionsnijtmans2010-05-036-53/+52
| | | | | (TclBignumToDouble, TclCeil, TclFloor), and related tommath functions.
* Use "tclIO.h" and "tclTomMathDecls.h" everywherenijtmans2010-05-033-34/+36
|
* * generic/tcl.h: Bump patchlevel to 8.6b1.2 to distinguishdgp2010-04-301-2/+2
| | | | | | | | | * library/init.tcl: CVS snapshots from earlier snapshots as well * unix/configure.in: as the 8.6b1 and 8.6b2 releases. * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tclBinary.c (TclAppendBytesToByteArray): Add commentsdgp2010-04-303-10/+15
| | | | | | | | | | | * generic/tclInt.h (TclAppendBytesToByteArray): placing overflow protection responsibility on caller. Convert "len" argument to signed int which any value already vetted for overflow issues will fit into. * generic/tclStringObj.c: Update caller; standardize panic msg. * generic/tclBinary.c (UpdateStringOfByteArray): Add panic when the generated string representation would grow beyond Tcl's size limits. [Bug 2994924]
* * generic/tclBinary.c (TclAppendBytesToByteArray): Add extra armourdkf2010-04-301-6/+11
| | | | against buffer overflows.
* Fix the problems I introduced inadvertently:dkf2010-04-301-13/+23
| | | | | | * generic/tclBasic.c (NRInterpCoroutine): Corrected handling of * tests/coroutine.test (coroutine-6.4): arguments to deal with trickier cases.
* * generic/tclCompCmds.c (TclCompileVariableCmd): Slightly tighterdkf2010-04-301-2/+8
| | | | issuing of instructions.
* * generic/tclExecute.c (TclExecuteByteCode): Add peephole optimizationdkf2010-04-301-1/+26
| | | | | of the fact that INST_DICT_FIRST and INST_DICT_NEXT always have a conditional jump afterwards.
* * generic/tclBasic.c (TclNRYieldObjCmd, TclNRYieldmObjCmd)dkf2010-04-301-16/+33
| | | | | | (NRInterpCoroutine): Replace magic values for formal argument counts for coroutine command implementations with #defines, for an increase in readability.
* Unnecessary TCL_STORAGE_CLASS re-definition.nijtmans2010-04-301-4/+1
| | | | | It was used for an ancient dummy reference to Tcl_LinkVar(), but that's already gone since 2002-05-29.
* * generic/tclCompExpr.c: Slight change in the literal sharingMiguel Sofer2010-04-294-30/+25
| | | | | | * generic/tclCompile.c: mechanism to avoid shimmering of * generic/tclCompile.h: command names. * generic/tclLiteral.c:
* fix MSVC warning C4018: '>' : signed/unsigned mismatchnijtmans2010-04-291-2/+2
|