summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tcl.h: Bump to 8.5.6 for release.core_8_5_6dgp2008-12-211-2/+2
| | | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * README: * unix/configure: autoconf-2.59 * win/configure:
* Backport re-fix of [2431847]ferrieux2008-12-161-5/+2
|
* Fix [Bug 2431847]dkf2008-12-151-2/+5
|
* * generic/tclIO.c (SetChannelFromAny and related): Modified theandreas_kupries2008-12-111-3/+17
| | | | | | | | * tests/io.test: internal representation of the tclChannelType to contain not only the ChannelState pointer, but also a reference to the interpreter it was made in. Invalidate and recompute the internal representation when it is used in a different interpreter (Like cmdName intrep's). Added testcase. [Bug 2407783].
* * generic/tclPathObj.c (Tcl_FSGetNormalizedPath): Added anotherdgp2008-12-041-13/+76
| | | | | flag value TCLPATH_NEEDNORM to mark those intreps which need more complete normalization attention for correct results. [Bug 2385549]
* * generic/tclFileName.c (DoGlob): One of thedgp2008-12-031-3/+4
| | | | | | Tcl_FSMatchInDirectory() calls did not have its return code checked. This caused error messages returned by some Tcl_Filesystem drivers to be swallowed.
* * generic/tclIO.c (TclFinalizeIOSubsystem): Replaced Alexandreandreas_kupries2008-12-021-3/+3
| | | | | Ferrieux's first patch for [Bug 2270477] with a gentler version, also supplied by him.
* * generic/tclParse.c: Backport fix for [Bug 2251175].dgp2008-12-011-10/+26
|
* * generic/tclIO.c (TclFinalizeIOSubsystem): Applied Alexandreandreas_kupries2008-11-251-2/+2
| | | | | Ferrieux's patch for [Bug 2270477] to prevent infinite looping during finalization of channels not bound to interpreters.
* * generic/tclIO.c: Backport of fix for [Bug 2333466].andreas_kupries2008-11-231-2/+5
|
* fix [Bug 2308236] signature of Tcl_HashStats() wrongnijtmans2008-11-183-7/+7
|
* Fixed [Bug 2269431]: load of shared objectsnijtmans2008-11-143-16/+13
| | | | leaves emporary files on windows
* * generic/tclPort.h: remove the ../win/ header dir as the buildhobbs2008-11-041-2/+2
| | | | | system already has it, and it confuses builds when used with private headers installed.
* * generic/tcl.h: Bump version number to 8.5.6b1 to distinguishdgp2008-10-231-3/+3
| | | | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5.5 and * unix/configure.in: 8.5.6 releases. * unix/tcl.spec: * win/configure.in: * tools/tcl.wse.in: * README * unix/configure: autoconf (2.59) * win/configure:
* * generic/tclProc.c: Reset -level and -code values to defaultsdgp2008-10-191-1/+6
| | | | after they are used. [Bug 2152286].
* * generic/tcl.h: Bump to 8.5.5 for release.dgp2008-10-101-2/+2
| | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tclTrace.c: Corrected handling of errors returned bydgp2008-10-082-44/+29
| | | | | | | | | variable traces so that the errorInfo value contains the original error message. [Bug 2151707] * generic/tclVar.c: Revised implementation of TclObjVarErrMsg so that error message construction does not disturb an existing iPtr->errorInfo that may be in progress.
* * tclWinTest.c: Fix compiler warning when compiling this file with mingw gcc:nijtmans2008-10-071-3/+5
| | | | | | | | tclWinTest.c:706: warning: dereferencing type-punned pointer will break strict-aliasing rules * generic/tclLoad.c: Make sure that any library which doesn't have an unloadproc is only really unloaded when no library code is executed yet. [Bug 2059262]
* Missed a (minor) change.dkf2008-09-271-2/+2
|
* Fix [Bug 2130992].dkf2008-09-271-2/+18
|
* remove outdated commentarydgp2008-09-181-5/+3
|
* * generic/tclInt.h: Correct the TclGetLongFromObj,dgp2008-09-171-4/+4
| | | | | | TclGetIntFromObj, and TclGetIntForIndexM macros so that they retrieve the internalRep.longValue field instead of casting the internalRep.otherValuePtr field to type long.
* Fix efficiency bug detected by Kieran Elby.dkf2008-09-101-2/+11
|
* * generic/tcl.h: Bump version number to 8.5.5b1 to distinguishdgp2008-08-281-3/+3
| | | | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5.4 and * unix/configure.in: 8.5.5 releases. * unix/tcl.spec: * win/configure.in: * tools/tcl.wse.in: * README * unix/configure: autoconf (2.59) * win/configure:
* * generic/tclUtil.c (TclReToGlob): Added missing set of thedgp2008-08-221-9/+15
| | | | | *exactPtr value to really fix [Bug 2065115]. Also avoid possible DString overflow.
* * generic/tclUtil.c (TclReToGlob): Added missing set of thedgp2008-08-221-1/+4
| | | | | *exactPtr value to really fix [Bug 2065115]. * tests/regexpComp.test: Correct duplicate test names.
* really fix translation to escape glob-sensitive charshobbs2008-08-211-13/+24
|
* * tests/regexp.test, tests/regexpComp.test: correct re2glob ***=hobbs2008-08-211-4/+3
| | | | | * generic/tclUtil.c (TclReToGlob): translation from exact to anywhere-in-string match. [Bug 2065115]
* * generic/tclTest.c (TestconcatobjCmd): fix use of internal-onlydas2008-08-201-3/+9
| | | | | TclInvalidateStringRep macro. [Bug 2057479]
* * generic/tclTest.c (TestconcatobjCmd):Miguel Sofer2008-08-172-7/+284
| | | | | | | | | | * generic/tclUtil.c (Tcl_ConcatObj): * tests/util.test (util-4.7): fix [Bug 1447328]; the original "fix" turned Tcl_ConcatObj() into a hairy monster. This was exposed by [Bug 2055782]. Additionally, Tcl_ConcatObj could corrupt its input under certain conditions! *** NASTY BUG FIXED ***
* typodas2008-08-141-4/+1
|
* * generic/tclCompile.h: add support for debug logging of DTracedas2008-08-142-3/+126
| | | | | * generic/tclBasic.c: 'proc', 'cmd' and 'inst' probes (does _not_ require a platform with DTrace).
* * generic/tclCmdIL.c (TclInfoFrame): check fPtr->line beforedas2008-08-141-2/+4
| | | | | | dereferencing as line info may not exists when TclInfoFrame() is called from a DTrace probe.
* * generic/tclFileName.c: Fix for errors handling -types {}dgp2008-08-131-1/+5
| | | | | * tests/fileName.test: option to [glob]. [Bug 1750300] Thanks to Matthias Kraft and George Peter Staplin.
* * generic/tclProc.c (Tcl_ProcObjCmd): Fixed memory leak triggeredandreas_kupries2008-08-111-4/+24
| | | | | | * tests/proc.test: by procbody::test::proc. See [Bug 2043636]. Added a test case demonstrating the leak before the fix. Fixed a few spelling errors in test descriptions as well.
* * generic/tcl.h: Bump to 8.5.4 for release.dgp2008-08-081-3/+3
| | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tclVar.c (TclLookupSimpleVar): Retrieve the number ofdgp2008-08-071-3/+2
| | | | | | locals in the localCache from the CallFrame and not from the Proc which may have been mangled by a (broken?) recompile. Backport from the HEAD.
* * generic/tclExecute.c: Stopped faulty double-logging of errors todgp2008-08-041-1/+11
| | | | | | * tests/execute.test: stack trace when a compile epoch bump triggers fallback to direct evaluation of commands in a compiled script. [Bug 2037338]
* * generic/tclBasic.c: Corrected the timing of when the flagdgp2008-07-301-3/+3
| | | | TCL_ALLOW_EXCEPTIONS is tested.
* * generic/tclExecute.c: fix [Bug 2030670] that causeMiguel Sofer2008-07-291-5/+6
| | | | | TclStackRealloc to panic on rare corner cases. Thx ajpasadyn for diagnose and patch.
* * generic/tclBasic.c: Added missing ref count when creating anandreas_kupries2008-07-281-2/+2
| | | | | | | empty string as path (TclEvalEx). In 8.4 the missing code caused panics in the testsuite. It doesn't in 8.5. I am guessing that the code path with the missing the incr-refcount is not invoked any longer. Because the bug in itself is certainly the same.
* backport casting fix from HEADdgp2008-07-281-2/+3
|
* * tests/info.test: Tests 38.* added, exactly testing the trackingandreas_kupries2008-07-253-84/+96
| | | | | | | | | | | | | | of location for uplevel scripts. * generic/tclCompile.c (TclInitCompileEnv): Reorganized the initialization of the #280 location information to match the flow in TclEvalObjEx to get more absolute contexts. * generic/tclBasic.c (TclEvalObjEx): Moved the pure-list optimization out of the eval-direct code path to be done always, i.e. even when a compile is requested. This way we do not loose the association between #280 location information and the list elements, if any.
* * generic/tclBasic.c: Modified TclArgumentGet to reject pure listsandreas_kupries2008-07-233-24/+34
| | | | | | | | | | * generic/tclCmdIL.c: immediately, without search. Reworked setup * generic/tclCompile.c: of eoFramePtr, doesn't need the line * tests/info.test: information, more sensible to have everything on line 1 when eval'ing a pure list. Updated the users of the line information to special case this based on the frame type (i.e. TCL_LOCATION_EVAL_LIST). Added a testcase demonstrating the new behaviour.
* * generic/tclBasic.c: Added missing function comments.andreas_kupries2008-07-221-1/+41
|
* * generic/tclCompile.c: Made the new TclEnterCmdWordIndexandreas_kupries2008-07-222-15/+15
| | | | * generic/tclCompile.h: static, and ansified.
* * generic/tclBasic.c: Reworked the handling of bytecode literalsandreas_kupries2008-07-225-60/+156
| | | | | | | | | | * generic/tclCompile.c: for #280 to fix the abysmal performance * generic/tclCompile.h: for deep recursion, replaced the linear * generic/tclExecute.c: search through the whole stack with * generic/tclInt.h: another hashtable and simplified the data structure used by the compiler (array instead of hashtable). Incidentially this also fixes the memory leak reported via [Bug 2024937].
* define DLLEXPORT as __attribute__ ((visibility("default"))) for gcc >= 4.0.nijtmans2008-07-221-16/+17
| | | | | This allows extensions to be compiled with -fvisiblity=hidden and still all symbols decorated with EXPORT will be exported. See: <http://gcc.gnu.org/wiki/Visibility> (backport from trunk tcl.h 1.256)
* * generic/tclBasic.c: Extended the existing TIP #280 system (infoandreas_kupries2008-07-219-64/+385
| | | | | | | | | | | * generic/tclCmdAH.c: frame), added the ability to track the * generic/tclCompCmds.c: absolute location of literal procedure * generic/tclCompile.c: arguments, and making this information * generic/tclCompile.h: available to uplevel, eval, and * generic/tclInterp.c: siblings. This allows proper tracking of * generic/tclInt.h: absolute location through custom (Tcl-coded) * generic/tclNamesp.c: control structures based on uplevel, etc. * generic/tclProc.c:
* Backported fix for bug #2015723patthoyts2008-07-211-5/+7
|