summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBasic.c.: Embedded Tcl_Canceled() calls intoMiguel Sofer2008-07-143-18/+7
| | | | | * generic/tclExecute.c: TclInterpReady(). * generic/tclParse.c:
* * generic/tclVar.c: fix error messageMiguel Sofer2008-07-141-2/+2
|
* remove unused variableMiguel Sofer2008-07-141-3/+1
|
* * generic/tclParse.c: remove unnecessary numLevel managementMiguel Sofer2008-07-141-5/+1
| | | | [Bug 2017583]
* * generic/tclBasic.c.: NRE left too many calls toMiguel Sofer2008-07-143-10/+3
| | | | | | * generic/tclExecute.c: TclResetCancellation lying around: it * generic/tclProc.c: only needs to be called prior to any iPtr->numLevels++. Thanks mistachkin.
* more consistent wrong # arg messages: change all messages containing ↵nijtmans2008-07-137-23/+23
| | | | ?options? to the form ?-option value ...?
* * generic/tclBasic.c: TclResetCancellation() calls were misplacedMiguel Sofer2008-07-131-6/+3
| | | | (merge mishap); stray //. Thanks patthoyts.
* * generic/tclInt.h: the new macros TclSmallAlloc and TclSmallFreeMiguel Sofer2008-07-131-1/+26
| | | | were badly defined under mem debugging [Bug 2017240] (thx das)
* whitespacedas2008-07-131-174/+174
|
* remove leftover DTRACE macro causing buid failuredas2008-07-131-5/+1
|
* silence compiler warnings about uninited variables (gcc can't follow the logic)Miguel Sofer2008-07-131-4/+6
|
* added new files generic/tclNRE.h and tests/NRE.testMiguel Sofer2008-07-131-0/+267
|
* NRE implementation [Patch 2017110]Miguel Sofer2008-07-1316-972/+2609
|
* * generic/tclGet.c: Corrected out of date comments and removeddgp2008-07-084-68/+18
| | | | | | | | | | | * generic/tclInt.decls: internal routine TclGetLong() that's no longer used. If an extension is using this from the internal stubs table, it can shift to the public routine Tcl_GetLongFromObj() or can request addition of a public Tcl_GetLong(). ***POTENTIAL INCOMPATIBILITY*** * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* * generic/tclCmdIL.c (InfoFrameCmd): Fixed unsafe idiom of settingandreas_kupries2008-07-071-2/+2
| | | | the interp result found by Don Porter.
* * generic/tclIORChan.c (InvokeTclMethod): Fixed the memory leakandreas_kupries2008-07-031-1/+13
| | | | | reported in [Bug 1987821]. Thanks to Miguel for the rpeort and Don Porter for tracking the cause down.
* Add focussed stack limiting to the RE compiler. Tuning might not yet be rightdkf2008-07-012-4/+15
| | | | but it passes everything normally checked in the test suite. [Bug 1905562]
* formatting, whitespacedas2008-06-302-114/+122
|
* Lrange cleanup and in-place optimization [Patch 1890831]ferrieux2008-06-291-36/+48
|
* Avoid useless String conversion for CONCAT1 of pure byte arrays [Patch 1953758].ferrieux2008-06-291-1/+57
|
* * generic/tclPathObj.c: Plug memory leak in [Bug 1999176] fix. Thanksdgp2008-06-291-3/+7
| | | | to Rolf Ade for detecting.
* * generic/tclPathObj.c: Plug memory leak in [Bug 1972879] fix. Thanksdgp2008-06-281-3/+7
| | | | Rolf Ade for detecting and Dan Steffen for the fix [Bug 2004654].
* * changes: Updates for 8.6a1 release.dgp2008-06-251-2/+2
| | | | * generic/tclOO.h: Bump to TclOO 0.5.
* * generic/tclPathObj.c: Fixed some internals management in the "path"dgp2008-06-241-2/+25
| | | | | 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-231-7/+9
| | | | | | | 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].
* * generic/tclPathObj.c: Fixed bug in Tcl_GetTranslatedPath() whendgp2008-06-231-2/+9
| | | | | | | 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].
* * changes: Updates for 8.6a1 release.dgp2008-06-201-3/+3
| | | | | | | | | | | | | | * generic/tclInterp.c: Fixed completely boneheaded mistake that * 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/cmdAH.test: -singleproc 1 test suite run. * tests/event.test: * tests/interp.test: * tests/io.test: * tests/ioTrans.test: * tests/namespace.test:
* Make [next] work as described in TIP. [Bug 1998244]dkf2008-06-191-6/+15
|
* Fix [Bug 1998221]dkf2008-06-191-6/+9
|
* * README: Bump version number to 8.6a1dgp2008-06-191-3/+3
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tclClock.c (ClockConvertlocaltoutcObjCmd): Removed leftandreas_kupries2008-06-171-2/+1
| | | | over debug output.
* 2006-06-17 Kevin Kenny <kennykb@acm.org>Kevin B Kenny2008-06-171-7/+15
| | | | | | | | | * 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): Moved the code looking up theandreas_kupries2008-06-161-41/+47
| | | | | | | | * tests/info.test: 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].
* fix warningdas2008-06-131-2/+2
|
* TIP 285 ImplementationJoe Mistachkin2008-06-1316-54/+876
|
* * generic/tclOO.c: use TclOOStubs hooks field to retrievedas2008-06-125-26/+16
| | | | | | | * generic/tclOODecls.h: TclOOIntStubs pointer. [Bug 1980953] * generic/tclOOIntDecls.h: * generic/tclOOStubInit.c: * generic/tclOOStubLib.c:
* * generic/tclIORTrans.c: fix signed <-> unsigned cast warnings.das2008-06-121-15/+20
|
* UtfToUtfProc: Avoid unwanted sign extension when convertingjenglish2008-06-111-2/+2
| | | | incomplete UTF-8 sequences. See [Bug 1908443] for details.
* * generic/tclIORTrans.c (ReflectInput): Fixed a bug triggered byandreas_kupries2008-06-101-3/+6
| | | | | | | | | | | Pat Thoyts <patthoyts@users.sourceforge.net>. Reset the EOF flag after draining the Tcl level into the result buffer, to make sure that the result buffer will be drained as well by repeated calls to ReflectInput should it contain more than one buffer-full of data. Without that reset the higher I/O system will not call on ReflectInput anymore due to the assumed EOF, thus losing the data which did not fit in the buffer of the call which caused the eof and drain.
* Plug leak. [Bug 1987817]dkf2008-06-081-5/+17
|
* * generic/tclBasic.c: Compilation of uplevel scripts, allowMiguel Sofer2008-06-086-133/+209
| | | | | | | | | * generic/tclCompCmds.c: non-body compiled scripts to access the * generic/tclCompile.c: LVT (but not to extend it) and enable the * generic/tclCompile.h: canonical list opt to sidestep the * generic/tclExecute.c: compiler. This is [Patch 1973096] * generic/tclProc.c: * tests/uplevel.test:
* TIP #230 IMPLEMENTATIONandreas_kupries2008-06-064-3/+3356
| | | | | | | | | | | | | | | | | | | * generic/tclIOCmd.c: Integration of transform commands into 'chan' ensemble. * generic/tclInt.h: Definitions of the transform commands. * generic/tclIORTrans.c: Implementation of the reflection transforms. * tests/chan.test: Tests updated for new sub-commands of 'chan'. * tests/ioCmd.test: Tests updated for new sub-commands of 'chan'. * tests/ioTrans.test: Whole new set of tests for the reflection transform. * unix/Makefile.in: Integration of new files into build rules. * win/Makefile.in: Integration of new files into build rules. * win/makefile.vc: Integration of new files into build rules. NOTE: The file 'tclIORTrans.c' has a lot of code in common with the file 'tclIORChan.c', as that made it much easier to develop the reference implementation as a separate module. Now that the transforms have been committed the one thing left to do is to go over both modules and see which of the common parts we can factor out and share.
* fix warnings, remove unused debug code that causes build failuredas2008-06-051-24/+10
|
* TIP #317 implementationpatthoyts2008-06-031-7/+567
|
* * generic/tclOO.c (ReleaseClassContents): Fix the one remainingKevin B Kenny2008-06-021-1/+5
| | | | | | | valgrind complaint about oo.test, caused by failing to protect the Object as well as the Class corresponding to a subclass being deleted and hence getting a freed-memory read when attempting to delete the class command. [Bug 1981001]
* Complete fix of [Bug 1981001]dkf2008-06-011-2/+4
|
* * generic/tclOOMethod.c: Fix a bug where the refcount of a methodKevin B Kenny2008-06-011-2/+2
| | | | | | was reset if the method was redefined while there was an active invocation. [Bug #1981001]
* * generic/tclDictObj.c: Added missing initializers to the ensembleKevin B Kenny2008-06-011-2/+2
| | | | | | map to silence a compiler warning. Thanks to George Peter Staplin for the report.
* * generic/tclOODecls.h: Added the swizzling of DLLEXPORT andKevin B Kenny2008-06-012-2/+54
| | | | * generic/tclOOIntDecls.h: DLLIMPORT needed to make EXTERN work.
* More patches to make stub generation work.dkf2008-06-014-109/+221
|