summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-238-43/+56
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-232-10/+26
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken,CallCommandTraces):dgp2001-11-212-4/+8
| | | | | | | * generic/tclCmdMZ>c (Tcl_UntraceCommand): Added Tcl_Preserve and Tcl_Release calls to prevent deletion of CommandTrace structures until all callers are done using them, preventing memory corruption. [Bug 453805]
* added TIP#73 patch #483500 from Kevin Kenny.hobbs2001-11-2111-49/+90
| | | | This deprecates TclpGetTime in favor of new Tcl_GetTime.
* moving all code relative to bytecodes from tclBasic.c to tclExecute.cMiguel Sofer2001-11-203-438/+496
|
* code reorganisation and factorisation.Miguel Sofer2001-11-203-99/+105
|
* a better variant of the previous-to-last commit (restoring numLevels ↵Miguel Sofer2001-11-202-22/+13
| | | | computations)
* missing variable declaration under TCL_COMPILE_DEBUG.Miguel Sofer2001-11-201-2/+4
|
* restoring the computations of iPtr->numLevels to the original logic ↵Miguel Sofer2001-11-202-12/+6
| | | | (previous to buggy modifs on 2001-11-16).
* Code reorganisation: moving all eval functions from tclParse.c to tclBasic.cMiguel Sofer2001-11-192-907/+905
|
* Changes due to TIP#68; memory handling in variable traces is now correct!dkf2001-11-193-75/+238
|
* patch for [Bug 483309]Miguel Sofer2001-11-191-1/+2
|
* * tests/interp.test:hobbs2001-11-161-10/+20
| | | | | * generic/tclInterp.c (SlaveObjCmd): Corrected argument checking for '$interp alias|aliases|issafe'. [Patch #479560] (thoyts, hobbs)
* Removed a rogue C++ comment that inadvertently got left in tclListObj.cKevin B Kenny2001-11-161-2/+2
|
* Moved Tcl_GetCommandFromObj and all defining code for tclCmdNameType objects ↵Miguel Sofer2001-11-163-424/+429
| | | | to tclObj.c
* Code reordering; execution levels made consistent [Bug 480896].Miguel Sofer2001-11-165-235/+112
|
* Reference implementation of TIP's #22, #33 and #45. Adds thehobbs2001-11-1415-133/+1770
| | | | | | ability of the [lindex] command to have multiple index arguments, and adds the [lset] command. Both commands are byte-code compiled. [Patch #471874] (work by Kenny, commited by Hobbs)
* * tests/var.test:dgp2001-11-091-2/+2
| | | | | * generic/tclVar.c: Corrected bug in [global] when dealing with variable names matching :*. [Bug 480176]
* See ChangeLogandreas_kupries2001-11-071-7/+17
|
* file copy soft link docsvincentdarley2001-11-021-7/+16
|
* win fs fixesvincentdarley2001-10-291-19/+15
|
* * tests/clock.test (clock-8.1):hobbs2001-10-182-2/+36
| | | | | | | * generic/tclDate.c (RelativeMonth): * generic/tclGetDate.y (RelativeMonth): corrected off-by-one-day error in clock scan with relative months and years during swing hours. [Bug #413397, Patch #414024] (lavana)
* Tcl_FSChdir fixvincentdarley2001-10-181-6/+40
|
* Undo of mistaken commit. Sorry!dgp2001-10-167-50/+49
|
* * Added test to demonstrate memory corruption problems. [Bug 219393].dgp2001-10-167-49/+50
|
* Doh ... strncmp, not strcmp needed in last commit.Miguel Sofer2001-10-151-2/+2
|
* generic/tclProc.c: changing a memcmp to strcmp to avoid a memory errorMiguel Sofer2001-10-151-33/+32
| | | | | detected by purify (thanks Jeff); modify style to agrre with the style guide.
* * generic/tclInt.decls (TclExpandCodeArray,TclGetInstructionTable):andreas_kupries2001-10-155-15/+49
| | | | | | | | | | Added to internal stubs table. Tclcompiler (Tclpro project) needs them if used as loadable package under Windows. Changed signatures. We don't want to describe compiler internal structures in "tclInt.h". * generic/tclCompile.h: S.a. Removed function declarations. * generic/tclCompile.c: S.a. Adapted to changed signatures.
* minor code cleanuphobbs2001-10-151-30/+29
|
* * generic/tcl.h: moved #define of WIN32 to tcl.h where __WIN32__hobbs2001-10-151-1/+4
| | | | is defined and added #ifndef check.
* small fs fixesvincentdarley2001-10-151-4/+4
|
* generic/tclLiteral.c: (TclReleaseLiteral) insured thatMiguel Sofer2001-10-111-32/+24
| | | | | self-referential bytecodes are properly cleaned up on interpreter deletion [Bug 467523]
* * generic/tclFileName.c (Tcl_SplitPath): corrected mem leakhobbs2001-10-101-1/+6
| | | | | intro'd with VFS code where the result obj from Tcl_FSSplitPath was not getting freed.
* generic/tclLiteral.c: (TclReleaseLiteral) reverted previous patch for [Bug ↵Miguel Sofer2001-10-091-11/+1
| | | | 467523] - cure is worse than the illness.
* insured that self-referential bytecodes are properly cleaned up onMiguel Sofer2001-10-061-1/+11
| | | | interpreter deletion [Bug 467523]
* * generic/tclEvent.c (Tcl_FinalizeThread): moved freeing ofhobbs2001-10-031-11/+12
| | | | | tclLibraryPath to before the thread exit handlers are called. Slight modification to change on 2001-09-24.
* removed unnecessary inclusions of tclCompile.h [Patch 466823]Miguel Sofer2001-10-013-20/+11
|
* fs doc improvementvincentdarley2001-09-291-1/+8
|
* Added necessary casts to ClientData on a pair of calls to Tcl_PreserveKevin B Kenny2001-09-281-3/+3
| | | | and Tcl_Release.
* Fixed Bug #465674 reported by me. [lsort -index end-1] now behaves sensibly...dkf2001-09-281-11/+18
|
* * More CONST poisoningdgp2001-09-287-17/+21
| | | | | | fixes from the 2001-09-24 TIP 27 changes. CONST-ified Tcl_FSLoadFile and TclpLoadFile. Report and patch from Kevin Kenny. [Bug 465833]
* * Added Tcl_Preserve()dgp2001-09-281-2/+3
| | | | | and Tcl_Release() to fix segfault introduced by the 2001-09-26 changes. [Bug 465494]
* * Updated APIs indgp2001-09-277-44/+33
| | | | | generic/tclProc.c and generic/tclVar.c according to the guidelines of TIP 27. [Patch 465442]
* * The changes below fix [Bug #462317] where Expect tried to readandreas_kupries2001-09-272-17/+54
| | | | | | | | | | | | | | | | | | | | | | | more than was in the buffers and then blocked in the OS call as its pty channel driver provides no blockmodeproc through which the OS could be notified of blocking-behaviour. Because of this the general I/O core has to take more care than usual to preserve the semantics of non-blocking channels. * generic/tclIO.c (Tcl_ReadRaw): Do not read from the driver if the channel is non-blocking and the fileevent causing the read was generated by a timer. We do not know if there is data available from the OS. Instead of going to the OS for more and potentially blocking we simply signal EWOULDBLOCK to the higher levels to cause the system to wait for true fileevents. (GetInput): Same as before. (ChannelTimerProc): Added set and clear of CHANNEL_TIMER_FEV. * generic/tclIO.h (CHANNEL_TIMER_FEV): New flag for channels. Is set if a fileevent was generated by a timer, the channel is not blocking and the driver did not provide a blockmodeproc. In that case the I/O core has to be especially careful about going to the driver for more data.
* * Vince Darley reports the 2001-09-24 TIP 27 changes left the windgp2001-09-273-7/+7
| | | | directory CONST poisoned. These changes should fix that.
* * Updated APIs in generic/tclGet.cdgp2001-09-256-26/+26
| | | | according to the guidelines of TIP 27. [Patch 464674]
* * generic/tclVar.c: removed comments referring to unused flag TCL_PARSE_PART1.Miguel Sofer2001-09-251-6/+4
|
* * Updated APIs indgp2001-09-248-46/+50
| | | | | generic/tclUtil.c according to the guidelines of TIP 27. [Patch 464553]
* * The change below fixes [Bug #464380]. The bug was reported byandreas_kupries2001-09-241-10/+11
| | | | | | | | | | Ronnie Brunner <rbrunner@users.sourceforge.net>. He also provided the patch. * generic/tclEvent.c (Tcl_Finalize): Moved release of 'tclLibraryPath' to Tcl_FinalizeThread. (Tcl_FinalizeThread): See above, new place for release of 'tclLibraryPath'.
* * generic/tclExecute.c (TclExecuteByteCode): correctedhobbs2001-09-211-1/+6
| | | | | INST_STR_CMP else case for strings to pass true utf char length to Tcl_UtfNCmp.