summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * generic/tclCmdAH.c (Tcl_FormatObjCmd):hobbs2001-09-202-11/+25
| | | | | * generic/tclScan.c (Tcl_ScanObjCmd): corrected handling of format and scan on 64-bit machines. [Bug #412696] (rmax)
* * generic/tclTest.c (TestcmdtokenCmd): corrected pointerhobbs2001-09-201-6/+6
| | | | storage/retrieval for 64bit machines.
* * generic/tclExecute.c (TclExecuteByteCode): fixed invalid usagehobbs2001-09-191-30/+39
| | | | | | of valuePtr in TRACE_WITH_OBJ in INST_EVAL_STK case. [Bug #462594] Changed INST_STR_CMP instruction to promote to Unicode strings only when one of the strings is already of Unicode type.
* * generic/tclExecute.c (TclExecuteByteCode):hobbs2001-09-191-3/+3
| | | | | | | | * generic/tclCompile.c (instructionTable): * generic/tclCompCmds.c (TclCompileStringCmd): INST_STR_MATCH - Updated to Int1 instruction type and added special case to use INST_STR_EQ instead when no glob chars are specified in a static string.
* * generic/tclCompCmds.c (TclCompileStringCmd): INST_STR_MATCH -hobbs2001-09-191-15/+75
| | | | | | | | | | | Updated to Int1 instruction type and added special case to use INST_STR_EQ instead when no glob chars are specified in a static string. * tests/{for.test,foreach.test,if.test,while.test}: * generic/tclCompCmds.c (TclCompileForCmd, TclCompileForeachCmd, TclCompileIfCmd, TclCompileWhileCmd): Corrected the overaggressive compiling of loop bodies enclosed in ""s. [Bug #219166] (msofer)
* insured that execution stack errors are also detected at abnormal returns.Miguel Sofer2001-09-191-12/+11
|
* TclNeedSpace is now UTF8-aware. (Bug #411825 from <arobert3434@users.sf.net>)dkf2001-09-191-6/+13
|
* * generic/tclIOCmd.c (Tcl_PutsObjCmd): Rewritten to have saner andandreas_kupries2001-09-191-31/+48
| | | | | faster argument handling. Fixes bug #123552. Patch provided by Donal K. Fellows <fellowsd@cs.man.ac.uk>: #402564.
* * generic/tcl.h: removed forced #define USE_TCLALLOC 1 forhobbs2001-09-171-9/+1
| | | | | | Windows. This means the native system allocator will be used by default. This should be binary and source compatible with extensions, as Tcl_Alloc is a properly stubbed function.
* corrected small bug in [Patch 456668] - the varFramePtr was not restored in ↵Miguel Sofer2001-09-171-1/+2
| | | | one possible exit.
* Disabled all compile and execution tracing functionality in standardMiguel Sofer2001-09-174-19/+27
| | | | builds [Bug 451858].
* * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): had to adjust fix fromhobbs2001-09-131-15/+27
| | | | | | 2001-08-06 to actually duplicate the objects in certain cases. This is really a place where feather would have been essential. [Bug #461322]
* * generic/tclUtf.c (Tcl_UtfPrev): corrected to return the properhobbs2001-09-131-5/+3
| | | | | location when the middle of a UTF-8 byte was passed in. [Bug #450504]
* Patch for [TIP 56], [Bug: 219384] and [Bug: 455151]: deprecate the useMiguel Sofer2001-09-135-52/+117
| | | | of Tcl_EvalTokens, replaced by the new Tcl_EvalTokensStandard.
* reserved a stub slot for [TIP 56]Miguel Sofer2001-09-121-3/+7
|
* * generic/tclEvent.c (TclInExit): Corrected handling of tsd inhobbs2001-09-111-3/+7
| | | | late stages of finalization. [Bug #419449] (darley)
* * tests/stack.test:hobbs2001-09-111-4/+17
| | | | | * generic/tclInterp.c (AliasObjCmd): Check the numLevels to ensure that we aren't hitting some alias loop condition. [Bug #443184]
* * Removeddgp2001-09-101-3/+5
| | | | | vestiges of Tcl's old initialization from registry variables. [Bug 455645]