summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclCompile.h: add support for debug logging of DTracedas2008-08-143-3/+135
| | | | | * 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.
* * tests/msgcat.test: fix for ::tcl::mac::locale withdas2008-08-142-2/+6
| | | | @modifier (HEAD backport 2008-06-01).
* * tests/fCmd.test (fCmd-6.23): made result matching robust when testdas2008-08-142-2/+5
| | | | workdir and /tmp are not on same FS.
* autoconf-2.59das2008-08-131-1/+5
|
* * unix/Makefile.in: ensure Makefile shell is /bin/bash fordas2008-08-133-3/+17
| | | | | * unix/configure.in (SunOS): DTrace-enabled build on Solaris. (followup to 2008-06-12) [Bug 2016584]
* * unix/tcl.m4 (SC_PATH_X): check for libX11.dylib in addition todas2008-08-131-1/+1
| | | | libX11.so et al.
* * generic/tclFileName.c: Fix for errors handling -types {}dgp2008-08-133-2/+49
| | | | | * tests/fileName.test: option to [glob]. [Bug 1750300] Thanks to Matthias Kraft and George Peter Staplin.
* * changes: Update for 8.5.4 release.dgp2008-08-122-3/+12
|
* * library/http/http.tcl: Remove 8.5 requirement.dgp2008-08-116-9/+13
| | | | | | | * library/http/pkgIndex.tcl: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc:
* Remove the 8.5+ requirement to avoid problems with shipping http as a tcl ↵patthoyts2008-08-112-4/+8
| | | | module.
* * library/tm.tcl: Added a 'package provide' command to theandreas_kupries2008-08-112-1/+10
| | | | | | | | | generated ifneeded scripts of Tcl Modules, for early detection of conflicts between the version specified through the file name and a 'provide' command in the module implementation, if any. Note that this change also now allows Tcl Modules to not provide a 'provide' command at all, and declaring their version only through their filename.
* * generic/tclProc.c (Tcl_ProcObjCmd): Fixed memory leak triggeredandreas_kupries2008-08-113-9/+62
| | | | | | * 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.
* &#(*& typo!dgp2008-08-111-1/+1
|
* * library/http/http.tcl: Bump http version to 2.7.1 to accountdgp2008-08-117-17/+26
| | | | | | | | * library/http/pkgIndex.tcl: for [Bug 2046486] bug fix. This * unix/Makefile.in: release of http now requires a * win/Makefile.in: dependency on Tcl 8.5 to be able to * win/makefile.bc: use the unsigned formats in the * win/makefile.vc: [binary scan] command.
* crc field from zlib data should be treated as unsigned for 64bit support ↵patthoyts2008-08-112-2/+7
| | | | [Bug 2046846]
* typosdgp2008-08-081-3/+3
|
* 8.5.4 tagdgp2008-08-081-0/+2
|
* reorderdgp2008-08-081-14/+14
|
* Olson's tzdata2008eKevin B Kenny2008-08-082-0/+37
|
* 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]