summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Olson's tzdata2008eKevin B Kenny2008-08-0814-16/+47
|
* * generic/tcl.h: Bump to 8.5.4 for release.dgp2008-08-0810-16/+26
| | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * changes: Update for 8.5.4 release.dgp2008-08-082-1/+19
|
* * generic/tclVar.c (TclLookupSimpleVar): Retrieve the number ofdgp2008-08-072-4/+10
| | | | | | 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-043-2/+40
| | | | | | * 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-302-3/+8
| | | | TCL_ALLOW_EXCEPTIONS is tested.
* * generic/tclExecute.c: fix [Bug 2030670] that causeMiguel Sofer2008-07-292-5/+12
| | | | | 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-282-2/+10
| | | | | | | 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 (info-37.0): Add !singleTestInterp constraint;das2008-07-252-21/+28
| | | | | | (info-22.8, info-23.0): switch to glob matching to avoid sensitivity to tcltest.tcl line number changes, remove knownBug constraint, fix expected result. [Bug 1605269]
* * tests/info.test: Tests 38.* added, exactly testing the trackingandreas_kupries2008-07-256-99/+211
| | | | | | | | | | | | | | 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.
* * tests/info.test: Reordered the tests to have monotonouslyandreas_kupries2008-07-232-151/+154
| | | | increasing numbers.
* Rename new test to avoid duplicate test name.andreas_kupries2008-07-231-2/+2
|
* * generic/tclBasic.c: Modified TclArgumentGet to reject pure listsandreas_kupries2008-07-235-25/+72
| | | | | | | | | | * 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-222-1/+43
|
* * generic/tclCompile.c: Made the new TclEnterCmdWordIndexandreas_kupries2008-07-223-15/+18
| | | | * generic/tclCompile.h: static, and ansified.
* * generic/tclBasic.c: Reworked the handling of bytecode literalsandreas_kupries2008-07-226-60/+167
| | | | | | | | | | * 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)
* * tests/encoding.test: Make failing tests pass again. [Bug 1972867]dgp2008-07-222-1/+7
|
* Undo local changes which did not belong in the last commit.andreas_kupries2008-07-213-11/+8
|
* * generic/tclBasic.c: Extended the existing TIP #280 system (infoandreas_kupries2008-07-2113-72/+408
| | | | | | | | | | | * 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-212-5/+11
|
* Fix [Bug 2008248] and make dict->list->dict round trip efficient to boot.dkf2008-07-203-11/+64
|
* Fix error in example. [Bug 2016740]dkf2008-07-152-2/+6
|
* * generic/tclGet.c: Corrected out of date comments.dgp2008-07-082-7/+13
|
* * generic/tclCmdIL.c (InfoFrameCmd): Fixed unsafe idiom of settingandreas_kupries2008-07-072-2/+7
| | | | the interp result found by Don Porter.
* Correct examples. [Bug 1982642]dkf2008-07-073-16/+33
|
* UtfToUtfProc: Avoid unwanted sign extension when converting incomplete UTF-8jenglish2008-07-042-2/+8
| | | | sequences. See [Bug 1908443] for details.
* * generic/tclIORChan.c (InvokeTclMethod): Fixed the memory leakandreas_kupries2008-07-032-1/+19
| | | | | reported in [Bug 1987821]. Thanks to Miguel for the rpeort and Don Porter for tracking the cause down.
* * library/package.tcl: Removed [file readable] testing fromdgp2008-07-032-11/+37
| | | | | | | [tclPkgUnknown] and friends. We find out soon enough whether a file is readable when we try to [source] it, and not testing before allows us to workaround the bugs on some common filesystems where [file readable] lies to us. [Patch 1969717]
* typodgp2008-06-301-2/+2
|
* * generic/tcl.h: Bump to 8.5.3 for release.dgp2008-06-309-13/+25
| | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * doc/ObjectType.3: Updated documentation of the Tcl_ObjTypedgp2008-06-302-36/+77
| | | | struct to match expectations of Tcl 8.5 [Bug 1917650].
* * generic/tclPathObj.c: Plug memory leak in [Bug 1999176] fix. Thanksdgp2008-06-292-3/+12
| | | | Rolf Ade for detecting.
* * generic/tclPathObj.c: Plug memory leak in [Bug 1972879] fix. Thanksdgp2008-06-282-3/+13
| | | | Rolf Ade for detecting and Dan Steffen for the fix [Bug 2004654].
* Tcl defines more than 7 Tcl_ObjTypes now, and we don't want to maintaindgp2008-06-271-3/+3
| | | | | this claim in the docs. Also revise false claim that a custom Tcl_ObjType requires calling Tcl_RegisterObjType().
* typosdgp2008-06-271-4/+4
|
* * unix/Makefile.in: Followup to my change of 2008-06-25, make codeandreas_kupries2008-06-262-2/+9
| | | | | | generated by the Makefile and put into the installd tm.tcl conditional on interpreter safeness as well. Thanks to Daniel Steffen for reminding me of that code.
* remove stray .REdgp2008-06-251-2/+1
|
* Add test suite changes for 1999119 bug fix commit.dgp2008-06-253-19/+20
|
* * library/tm.tcl: Modified the handling of Tcl Modules and of theandreas_kupries2008-06-254-19/+157
| | | | | | * library/safe.tcl: Safe Base to interact nicely with each other, * library/init.tcl: enabling requiring Tcl Modules in safe interpreters. Fixes [Bug 1999119].
* * changes: Update for 8.5.3 release.dgp2008-06-252-2/+10
|
* Backported fix for dde/registry versions and the staticpkg build optionpatthoyts2008-06-253-11/+45
|
* * generic/tclPathObj.c: Fixed some internals management in the "path"dgp2008-06-242-2/+31
| | | | | Tcl_ObjType for the empty string value. Problem led to a crash in the command [glob -dir {} a]. [Bug 1999176].
* * generic/tclPathObj.c: Fixed bug in Tcl_GetTranslatedPath() whendgp2008-06-232-2/+19
| | | | | | | operating on the "Special path" variant of the "path" Tcl_ObjType intrep. A full normalization was getting done, in particular, coercing relative paths to absolute, contrary to what the function of producing the "translated path" is supposed to do. [Bug 1972879].
* another update for 8.5.3dgp2008-06-202-1/+5
|
* * generic/tclInterp.c: Fixed completely boneheaded mistake thatdgp2008-06-206-12/+45
| | | | | | | | | * tests/interp.test: [interp bgerror $slave] and [$slave bgerror] would always act like [interp bgerror {}]. [Bug 1999035]. * tests/chanio.test: Corrected flawed tests revealed by a -debug 1 * tests/event.test: -singleproc 1 test suite run. * tests/io.test:
* Solaris changes for 8.5.3das2008-06-201-1/+5
|
* * changes: Updates for 8.5.3 release.dgp2008-06-192-1/+27
|
* * generic/tclClock.c (ClockConvertlocaltoutcObjCmd): Removed leftandreas_kupries2008-06-172-2/+6
| | | | over debug output.