| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
directory CONST poisoned. These changes should fix that.
|
|
|
|
| |
according to the guidelines of TIP 27. [Patch 464674]
|
| |
|
|
|
|
|
| |
generic/tclUtil.c according to the guidelines of TIP 27.
[Patch 464553]
|
|
|
|
|
|
|
|
|
|
| |
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'.
|
|
|
|
|
| |
INST_STR_CMP else case for strings to pass true utf char length to
Tcl_UtfNCmp.
|
|
|
|
|
| |
* generic/tclScan.c (Tcl_ScanObjCmd): corrected handling of format
and scan on 64-bit machines. [Bug #412696] (rmax)
|
|
|
|
| |
storage/retrieval for 64bit machines.
|
|
|
|
|
|
| |
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/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.
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
|
|
|
|
| |
faster argument handling. Fixes bug #123552. Patch provided by
Donal K. Fellows <fellowsd@cs.man.ac.uk>: #402564.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
one possible exit.
|
|
|
|
| |
builds [Bug 451858].
|
|
|
|
|
|
| |
2001-08-06 to actually duplicate the objects in certain cases.
This is really a place where feather would have been essential.
[Bug #461322]
|
|
|
|
|
| |
location when the middle of a UTF-8 byte was passed in.
[Bug #450504]
|
|
|
|
| |
of Tcl_EvalTokens, replaced by the new Tcl_EvalTokensStandard.
|
| |
|
|
|
|
| |
late stages of finalization. [Bug #419449] (darley)
|
|
|
|
|
| |
* generic/tclInterp.c (AliasObjCmd): Check the numLevels to ensure
that we aren't hitting some alias loop condition. [Bug #443184]
|
|
|
|
|
| |
vestiges of Tcl's old initialization from registry variables.
[Bug 455645]
|
|
|
|
|
|
|
|
|
|
|
| |
the internal platform specific stub table.
* win/tclWinFile.c (TclpObjStat): Now added the call to
'TclWinFlushDirtyChannels' to this function. I don't know where
my head was last thursday (2001-09-06), but the call was
actually added to 'TclpObjChdir', i.e. the implementation of
[cd]. Corrected this now. Thanks to Vince Darley for spotting
this.
|
| |
|
|
|
|
|
|
| |
* generic/tclPlatDecls.h: Reminder from David Cuthbert <dacut@kanga.org>
that I hadn't finished the Borland compatibility stuff.
[Patch: 436116]
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the EXTERN macro for proper Borland compatibility will have to see
a TIP. What's this with the MS compiler:
__declspec(dllexport) int func (int a, int b);
will have to be this with Borland:
int __cdecl __export func (int a, int b);
The order of the attribute needs to be after the return type.
|
|
|
|
|
|
| |
* generic/tclPlatDecls.h: Borland compatibility change so
ClientData was properly typed as a void* and TCHAR would not be
defined twice.
|
|
|
|
| |
properly typed as a void*
|
| |
|
| |
|
| |
|
|
|
|
| |
in debug macro.
|
|
|
|
|
|
|
|
| |
* generic/tclBasic.c: added TclCompileListCmd compile proc
* generic/tclCompCmds.c (TclCompileListCmd): function to compile
the 'list' command at parse time.
* generic/tclExecute.c (TclExecuteByteCode): definition of
INST_LIST bytecode.
|
|
|
|
|
|
|
|
|
| |
* generic/tclUtil.c (TclGetIntForIndex): added Tcl_ResetResult
before Tcl_AppendStringsToObj to prevent shared object crash when
called from bcc instruction. The Tcl_Append* calls that append to
the result object that are invoked by bcc insts must remember to
call Tcl_ResetResult because the bcc doesn't do this for us.
[Bug #456892]
|
|
|
|
| |
Crays. [Bug #419528] (andreasen)
|
| |
|
|
|
|
| |
namespaces within the same interpreter without forcing a new lookup. This speeds up scripts that pass command names in variables ("this" in some OO packages). [Patch 456668].
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclEvent.c:
* generic/tclInt.h: Improper cleanup of asyncMutex in tclAsync.c
repaired. TclFinalizeSynchronization() was trying to remove a
registered mutex that was dumped earlier when the TSD it was stored
in was cleared. This was only surfacing on *nix. Windows was being
masked by mutexes not actually being returned to the system! That
was repaired in a previous patch. Needed to add a private
TclFinalizeAsync() to tclAsync.c and called from Tcl_FinalizeThread().
Pheww.. Is this done yet?
[Bug: 414419] requested by Rob Ratcliff <rrr6399@futuretek.com>
|
|
|
|
| |
[Bug #453872]
|
|
|
|
|
|
|
| |
* generic/tclCompCmds.c (TclCompileStringCmd): changed to return
TCL_OUT_LINE_COMPILE instead of TCL_ERROR when compiling and an
unknown string method is called. This is necessary as the string
command may be never called, or not until 'string' is redefined.
|