summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.core_8_5_3dgp2008-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.
* * doc/tm.n: Followup to changelog entry 2008-03-18 regardingandreas_kupries2008-06-172-9/+23
| | | | | | ::tcl::tm::Defaults. Updated the documentation to not only mention the new (underscored) form of environment variable names, but make it the encouraged form as well. See [Bug 1914604].
* 2006-06-17 Kevin Kenny <kennykb@acm.org>Kevin B Kenny2008-06-173-8/+33
| | | | | | | | | * generic/tclClock.c (ConvertLocalToUTC): * tests/clock.test (clock-63.1): Fixed a bug where the internal ConvertLocalToUTC command segfaulted if passed a dictionary without the 'localSeconds' key. To the best of my knowledge, the bug was not observable in the [clock] command itself.
* * generic/tclCmdIL.c (TclInfoFrame): Backport of fix made on theandreas_kupries2008-06-163-49/+64
| | | | | | | | | * tests/info.test: head branch :: Moved the code looking up the information for key 'proc' out of the TCL_LOCATION_BC branch to after the switch, this is common to all frame types. Updated the testsuite to match. This was exposed by the 2008-06-08 commit (Miguel), switching uplevel from direct eval to compilation. Fixes [Bug 1987851].
* * unix/Makefile.in: add complete deps on tclDTrace.h.das2008-06-122-4/+6
|
* s/target/config/das2008-06-121-2/+2
|
* * unix/Makefile.in: clean generated tclDTrace.h file.das2008-06-122-2/+16
|
* * unix/configure: autoconf-2.59das2008-06-121-20/+52
|
* * unix/configure.in: fix static DTrace-enabled build on Solaris.das2008-06-121-1/+10
|