| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/Tcl_Main.3:
* doc/CrtChannel.3:
* doc/OpenFileChnl.3:
* doc/GetStdChan.3: Enhanced the manpages with cross-references to
the new manpage and more explanations how these functions deal
with the standard channels in various situations.
* doc/StdChannels.3: New manpage describing handling of the
standard channels by the Tcl library [402725].
|
|
|
|
|
| |
internals, notably TclpUnloadFile(), is required. Thanks to
Bob Techentin for report and patch. [Bug 459305]
|
|
|
|
|
| |
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.
|
|
|
|
| |
single argument and an empty body. [FQ 451441]
|
|
|
|
|
|
| |
* win/Makefile.in: Use () around variable name
instead of {}. Use TCLTEST variable directly
instead of depending on the tcltest alias.
|
| |
|
|
|
|
|
| |
to display the file atime or mtime results if
the test fails.
|
| |
|
|
|
|
|
|
| |
* win/rmd.bat:
Apply binary property (cvs admin -kb) to files and convert
to CRLF linefeed format to fix the VC++ build. [Bug #219409]
|
| |
|
| |
|
|
|
|
|
| |
_endthreadex to unsigned instead of DWORD to match the Win32
function prototype.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
80x performance hit for file I/O on Win* systems. On my system
it was closer to a 120x hit. Problem report by Uwe Traum <no
email address available>.
The fix goes like this: The obstacle is 'FlushFileBuffers',
executed whenever Tcl writes data to the OS, as Tcl has to wait
for the disk to complete I/O, and disks are slow. We remove that
obstacle. This opens another problem, [file size] reports back
wrong numbers. So for [file size] we add the call back in. As
optimization we keep track of the channels which were written to
and flush only these.
* win/tclWinFile.c (TclpObjStat): Added a call to
'TclWinFlushDirtyChannels'. This ensures that [file size] and
related commands report the correct size of a file even if Tcl
has recently written to it. Unixoid OS's always report the
correct size even for files with pending data, but Win*
syssystem don't. They only report what is actually on disk.
* win/tclWinInt.h: Added declaration of
'TclWinFlushDirtyChannels', making it available to other parts
of the tcl core.
* win/tclWinChan.c (TclWinFlushDirtyChannels): New, internal,
procedure. Goes through the list of open file channels and
forces the OS to flush its file buffers for all which were
written to since the last call of this function. This is an
expensive operation as Tcl has to wait for the OS to complete
actual writes to the disk.
(FileInfo): Added dirty flag required by the procedure above.
(FileOutputProc): Removed flushing of file buffers, setting the
dirty flag instead. This means that the previously incurred
delays do not happen anymore.
(TclWinOpenFileChannel): Added initialization of 'dirty' flag.
|
|
|
|
| |
reflecting the new features just added.
|
| |
|
|
|
|
|
|
| |
newer HP-UX releases that properly report euc-jp as the system
encoding for Japanese. Bug report and patch verification by
Bob Techentin. [Bug 453883]
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
like 3eq2 and failure to set errno on overflow. [Bug 440894]
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
| |
with the Tcl_Append* functions.
|
|
|
|
|
|
|
|
|
| |
* 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].
|