summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Backport blkcnt_t detection/usage.stwo2010-09-061-1/+5
|
* * generic/tclExecute.c: [Bug 3057639]. Applied patch by Jeff toandreas_kupries2010-09-012-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.
* * generic/tclTrace.c (TraceExecutionObjCmd, TraceCommandObjCmd)dkf2010-08-191-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.
* * generic/tclProc.c (ProcWrongNumArgs): [Bug 3045010]: Make thedkf2010-08-151-5/+7
| | | | | handling of passing the wrong number of arguments to [apply] somewhat less verbose when a lambda term is present.
* * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): [Bug 2826551, Patch 2948425]:dkf2010-08-121-19/+27
| | | | Backport of updates to make handling of RE line anchors correct.
* * generic/tclUtil.c (TclByteArrayMatch): patterns may not behobbs2010-08-101-2/+2
| | | | null-terminated, so account for that.
* * generic/tcl.h: Bump to 8.5.9 for release.dgp2010-08-041-3/+3
| | | | | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * README: * unix/configure: autoconf-2.59 * win/configure: * changes: Update for 8.5.9 release.
* * generic/tclIORChan.c: [Bug 3034840]: Fixed reference countingandreas_kupries2010-08-041-24/+63
| | | | * tests/ioCmd.test: in InvokeTclMethod and callers.
* * generic/tclVar.c: fix for crash [Bug 3037525]: lose fickleMiguel Sofer2010-07-311-7/+3
| | | | optimisation in TclDeleteVars (used for runtime-created locals)
* [Bug 3030870] make itcl 3.x built with pre-8.6 work in 8.6:nijtmans2010-07-252-5/+4
| | | | revert tclInt.h to what it was before, and relax the relation between Tcl_CallFrame and CallFrame.
* [Bug 3030870] make itcl 3.x built with pre-8.6 work in 8.6nijtmans2010-07-172-10/+12
|
* * 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 #803489] Tcl_FindNamespace problem in the Stubs tablenijtmans2010-07-021-1/+16
|
* [Bug 3019634] errno.h and tclWinPort.h have conflicting definitions.nijtmans2010-06-281-4/+4
|
* [Bug 3019634] errno.h and tclWinPort.h have conflicting definitions.nijtmans2010-06-241-11/+11
|
* * generic/tclCmdIL.c (Tcl_LsetObjCmd): [Bug 3019351]: Corrected wrongdkf2010-06-221-2/+2
| | | | args message.
* [Bug 2991415]: tclport.h #included before limits.hnijtmans2010-05-251-7/+2
|
* [Bug #3005233] fix for build on OpenBSD vaxnijtmans2010-05-211-6/+8
|
* installData.tcl: Make sure that copyDir only receives normalized paths.nijtmans2010-05-213-33/+40
| | | | | | tclPlatDecls.h: Fix <tchar.h> inclusion for CYGWIN. tclPathObj.c: Fix Tcl_SetStringObj usage for CYGWIN. *.c: Fix various minor other gcc warnings, like signed<->unsigned mismatch.
* Backport of fix for [Bug 3004007], EIAS violation in list-dict conversions.ferrieux2010-05-191-3/+5
|
* Backport of fix for [Bug 3004007], EIAS violation in list-dict conversions.ferrieux2010-05-191-1/+9
|
* * generic/tclBinary.c (UpdateStringOfByteArray): Add panicdgp2010-04-301-2/+5
| | | | | when the generated string representation would grow beyond Tcl's size limits. [Bug 2994924]
* Reverted previous checin as Tcl_ObjSetVar2 (convoluted and undocumented)vasiljevic2010-04-061-2/+1
| | | | | jnterface implicitly decrements refcount of the passed result object when the passed result object refcount was already zero.
* Fixed object leakvasiljevic2010-04-061-1/+2
|
* Added VALGRIND define so we can silence helgrind race-report at placesvasiljevic2010-04-031-5/+34
| | | | we know we cheated on in order to reduce contention.
* * generic/tclThreadStorage.c (ThreadStorageGetHashTable):vasiljevic2010-04-021-12/+7
| | | | avoid accessing shared table index w/o mutex protection.
* * generic/tclStringObj.c: (SetStringFromAny): avoid tramplingvasiljevic2010-04-021-2/+4
| | | | | over the tclEmptyStringRep->bytes as it is thread-shared (thx to Gustaf Neumann for the (hard) work of locating this one).
* * generic/tclIORChan.c (ReflectClose, ReflectInput, ReflectOutput,andreas_kupries2010-03-301-47/+86
| | | | | | | | ReflectSeekWide, ReflectWatch, ReflectBlock, ReflectSetOption, ReflectGetOption, ForwardProc): [Bug 2978773]: Preserve ReflectedChannel* structures across handler invokations, to avoid crashes when the handler implementation induces nested callbacks and destruction of the channel deep inside such a nesting.
* * generic/tclObj.c (Tcl_GetCommandFromObj): [Bug 2979402]: Reorderdgp2010-03-301-2/+2
| | | | | the validity tests on internal rep of a "cmdName" value to avoid invalid reads reported by valgrind.
* * generic/tclStringObj.c: Fix array overrun in test format-1.12dgp2010-03-291-2/+2
| | | | caught by valgrind testing.
* * generic/tclResult.c: [Bug 2383005] Revise [return -errorcode] sodgp2010-03-241-1/+21
| | | | * tests/result.test: that it rejects illegal non-list values.
* * generic/tclIO.c (CopyData): Allow the total number of bytes copieddkf2010-03-202-6/+7
| | | | by [fcopy] to exceed 2GB. Can happen when no -size parameter given.
* constification backport to silence warningdgp2010-03-191-3/+3
|
* * generic/tclListObj.c: Prevent in overflow trouble in [lreplace]dgp2010-03-182-3/+107
| | | | | * generic/tclTestObj.c: operations. Thanks to kbk for fix and test. * tests/listObj.test: [Bug 2971669].
* * generic/tclIORChan.c: [Bug 2936225]: Thanks to Alexandre Ferrieuxandreas_kupries2010-03-091-6/+27
| | | | | | * doc/refchan.n: <ferrieux@users.sourceforge.net> for debugging and fixing * tests/ioCmd.test: the problem. It is the write-side equivalent to the bug fixed 2009-08-06.
* Only look for the needle when it fits in the haystack. [Bug 2960021]dkf2010-02-271-3/+13
|
* Fix [Bug 2954959] expr abs(0.0) is -0.0nijtmans2010-02-211-19/+41
| | | | and added test cases for it.
* [Bug 2949740]: Do not try to put a NULL pipeline channel into binary mode.dkf2010-02-111-2/+2
|
* Backport various formatting (spacing)nijtmans2010-02-079-2738/+2408
| | | | | | | changes from HEAD, so diffing between 8.5.x and 8.6 shows the real structural differences again. (any signature change not backported!)
* More corrections to the [array unset] command.dkf2010-02-031-7/+6
|
* * generic/tclCompile.c: [Bug 2933089]: A literal sharing problem withandreas_kupries2010-02-023-3/+101
| | | | | | * generic/tclCompile.h: 'info frame' affects not only 8.6 but 8.5 as * generic/tclExecute.h: well. Backported the fix done in 8.6, without * tests/info.test: changes. New testcase info-39.1.
* Ensure that decrements never assume that they can't do (actual) deletion.dkf2010-02-021-3/+7
|
* Fix [Bug 2939073]: dangling ref when an unset trace triggered by [array unset]dkf2010-02-021-20/+59
| | | | hits the next element to be deleted.
* [Bug 2942697]: Rework the RE engine so that certain pathological patterns aredkf2010-02-011-50/+41
| | | | | matched much more rapidly. Many thanks to Tom Lane for dianosing this issue and providing an initial patch.
* better panic messagenijtmans2010-02-011-9/+9
|
* Various CYGWIN-related fixesnijtmans2010-01-315-247/+260
| | | | | | | | | backported from HEAD. Still configure script not modified, so CYGWIN build is still disabled. Reason: although the build succeeds with those changes, many tests still fail.
* Fix macro conflict on CYGWIN: don't use "small".nijtmans2010-01-291-12/+12
|
* Use correct TCL_LL_MODIFIER for CYGWIN.nijtmans2010-01-292-67/+76
| | | | | Formatting (all backported from HEAD) Fix gcc 4.4 warning: ignoring return value of ‘write’,
* * generic/tclIO.c (CreateScriptRecord): [Bug 2918110]: Initializeandreas_kupries2010-01-181-6/+23
| | | | | | | | the EventScriptRecord (esPtr) fully before handing it to Tcl_CreateChannelHandler for registration. Otherwise a reflected channel calling 'chan postevent' (== Tcl_NotifyChannel) in its 'watchProc' will cause the function 'TclChannelEventScriptInvoker' to be run on an uninitialized structure.
* [Bug 2932421]: Make [format] less likely to smash intreps.dkf2010-01-181-21/+33
|