| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
one file from influencing tests in other files. [Bug 460591]
|
| |
|
|
|
|
| |
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]
|
|
|
|
| |
the internal platform specific stub table.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/http.test:
* library/http/pkgIndex.tcl:
* library/http/http.tcl (geturl): correctly get charset parameter
and convert text according to specified encoding (if known). RFC
iso8859-1 is used by default. Also recognize Content-encoding to
see if we should do binary translation. Added a CYA -binary
switch for the cases that were missed. [Bug #219211 #219399]
* tests/ioUtil.test: changed to make better use of constraints and
remove knownBug constraints that weren't valid.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.decls: Removed TclpAsyncMark permanently and left
the hole not to upset the positions.
* generic/tclDecls.h:
* generic/tclIntDecls.h:
* generic/tclIntPlatDecls.h:
* generic/tclPlatDecls.h:
* generic/tclStubInit.c: regen'd tables.
* generic/tclAsync.c: Brought source to match -r1.6 on the HEAD branch.
* unix/tclUnixPort.h:
* mac/tclMacPort.h: removed #defines for TclpAsyncMark.
* win/tclWinInit.c: Removed the TclpAsyncMark function and the thread ID
saving that was going on in TclpInitPlatform(). [the old hack]
* win/tclWinThread.c: TclpFinalizeCondition() and TclpFinalizeMutex()
are now properly returning the old CriticalSection handle to the system.
Tcl_CreateThread() is now decrementing its handle reference, so the
system will recover resources when the thread closes (doh!). These
changes are all already up on the HEAD.
* doc/Async.3: matches HEAD.
|
|
|
|
| |
Crays. [Bug #419528] (andreasen)
|
|
|
|
| |
query string.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclStubInit.c:
* generic/tclDecls.h:
* generic/tcl.decls: added Tcl_SetMainLoop proc that allows people
to set a main loop that will run for tclsh.
* generic/tcl.h: added Tcl_MainLoopProc typedef
* generic/tclMain.c (Tcl_SetMainLoop, StdinProc, Prompt): new
StdinProc and Prompt static procs and Tcl_SetMainLoop stubs proc.
The first two handle a fileevent based prompt (taken from
tkMain.c). Tcl_SetMainLoop enables the interactive setting of a
main loop procedure. This enables Tk to be a loadable package.
|
|
|
|
| |
for use of Tcl_WinTCharToUtf and Tcl_WinUtfToTChar.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* win/tclWinPipe.c (BuildCommandLine): Fixed tcl Bug
[432499]. Part of the code used the non-absolute path to the
executable to determine quoting. This failed if the absolute
path contained spaces, but the application name itself not. This
bug caused no trouble on Win NT 5, but does for other variants
in the Win* family. Report and fix due to Ken Poole
<kenpoole@users.sourceforge.net>.
|
| |
|
|
|
|
| |
header to comply with HTTP/1.1 spec (RFC 2068). [Bug #452217]
|
|
|
|
| |
Tcl 8.3.x: http 2.3.2, msgcat 1.1.1, opt 0.4.3, tcltest 1.0.1.
|
|
|
|
|
| |
Removed library/tcltest/* . The package tcltest 1.0 is distributed
with Tcl 8.3.x and its files are in library/tcltest1.0 .
|
|
|
|
|
|
| |
Removed library/reg/* . The index of the registry package moved
to that directory in the Tcl 8.4 development. In Tcl 8.3.x
releases, the registry package is in library/reg1.0 .
|
|
|
|
|
| |
Removed library/opt0.4/* . The files of the opt package moved to
library/opt in the Tcl 8.3.3 release.
|
|
|
|
|
| |
Removed library/msgcat1.0/*. The msgcat package files moved
to library/msgcat in the Tcl 8.3.3 release.
|
|
|
|
|
| |
Removed library/http2.3/* . The http package moved to
library/http in the 8.3.3 release.
|
|
|
|
|
| |
Removed library/dde/*. They first appear in the 8.4 work.
In 8.3, the dde package is in library/dde1.1 .
|
|
|
|
| |
439843, Patch #414470]
|
|
|
|
|
| |
reordered the retrieval of arguments to avoid shimmering bug when
the pattern and string referenced the same object.
|
| |
|
| |
|
|
|
|
|
| |
* generic/tclIOCmd.c (Tcl_GetsObjCmd): Applied patch from SF item
[442665] to fix the bug reported by it.
|
|
|
|
|
|
|
|
| |
* win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll.
This is necessary for TEA compliant builds that build shared
against a static-built Tcl.
* win/Makefile.in ($(TCLSH)): added $(TCL_STUB_LIB_FILE) to build
target, otherwise it wouldn't get generated in a static build.
|
|
|
|
|
|
|
| |
* generic/tclIO.c: Aftermath to [SF #427196]. Squash empty buffers
if they are smaller than the requested buffersize, to prevent
reusage of old buffers and to honor changes in the requested
buffersize made by the user.
|
|
|
|
|
|
|
|
|
| |
overwritten because a buffer was used after a change of the
requested buffersize together with that requested buffersize and
not its actual size, which was smaller. Note that the continous
reuse of the smaller buffer negatively impacts performance. The
system never allocates a buffer with the newly requested bigger
buffersize.
|
|
|
|
| |
just the TerminateThread call and waiting for termination. (jsmith)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/util.test: added util-4.6
* generic/tclUtil.c (Tcl_ConcatObj): Corrected walking backwards
over utf-8 chars. [Bug #227512]
2001-06-27 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tclUtf.c (Tcl_UtfBackslash): Corrected backslash
handling of multibyte utf-8 chars. [Bug #217987]
* generic/tclCmdIL.c (InfoProcsCmd): fixed potential mem leak in
info procs that created objects without using them.
* generic/tclCompCmds.c (TclCompileStringCmd): fixed mem leak when
string command failed to parse the subcommand.
2001-05-22 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tclObj.c (TclAllocateFreeObjects): simplified
objSizePlusPadding to use sizeof(Tcl_Obj) (max)
|
|
|
|
|
|
|
| |
** Mac 8.3.3 binary release
** detailed change log for changes to mac code for 8.3.3
** (expands on log entries below marked 2001-04-04 Jeff Hobbs)
|
|
|
|
| |
** Mac 8.3.3 binary release
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
** Mac 8.3.3 binary release
* mac/tclMacAlloc.c: modernized TclpSysAlloc() to use temporary
memory instead of system heap memory when available (MacOS
>= 7.5 and possibly earlier, use of system heap has been
discouraged for a long time and has many disadvantages, e.g. memory
isn't paged out, and errors can very easily bring the system down);
fixed crashing bug in TclpSysRealloc() and CleanUpExitProc() where
memory was being accessed after having been deallocated; fixed
memory leak in (de)allocation code (for every block ever allocated
with TclpSysAlloc, a Ptr was leaked), if temporary memory is
available, don't track allocated memory, instead use
RecoverHandle() to get Handle from Ptr, otherwise use doubly linked
list to correctly track memory and free all allocated memory; added
new option for ConfigureMemory: MEMORY_DONT_USE_TEMPMEM, disables
use of temporary memory even when it would be available, only
necessary when writing e.g. a driver (using tcl??); increased
fraction of application heap reserved for OS routines to 512K
|
|
|
|
|
|
| |
* unix/tcl.m4: added Rhapsody/Darwin target
* unix/tclLoadDyld.c (TclpLoadFile):
* unix/tclMtherr.c (matherr): added support for Mac OS X
|
|
|
|
|
|
|
|
| |
* win/README.binary: removed note about use of registry (hasn't
been used for loading since 8.0).
* win/configure:
* win/tcl.m4: added -link50compat
|
|
|
|
| |
objSizePlusPadding to use sizeof(Tcl_Obj) (max)
|
|
|
|
| |
project files.
|
| |
|
| |
|
|
|
|
| |
* mac/tclMacMSLPrefix.h: removed files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DLLIMPORT and DLLEXPORT.
* generic/tclIntPlatDecls.h:
* generic/tclInt.decls:
* generic/tclMain.c:
* generic/tclStubInit.c:
* generic/tclThreadTest.c: NewThread -> NewTestThread
* mac/MW_TclAppleScriptHeader.pch:
* mac/MW_TclHeader.pch:
* mac/MW_TclTestHeader.pch:
* mac/tclMac.h:
* mac/tclMacAppInit.c:
* mac/tclMacApplication.r:
* mac/tclMacChan.c: cast for *BlockMode
* mac/tclMacCommonPch.h:
* mac/tclMacFCmd.c:
* mac/tclMacInt.h:
* mac/tclMacLibrary.c:
* mac/tclMacLibrary.r:
* mac/tclMacMath.h:
* mac/tclMacNotify.c:
* mac/tclMacOSA.c:
* mac/tclMacOSA.r:
* mac/tclMacPanic.c:
* mac/tclMacPort.h:
* mac/tclMacResource.r:
* mac/tclMacSock.c: cast for *BlockMode
* mac/tclMacThrd.c:
* mac/tclMacUnix.c:
* mac/tclMacUtil.c: changed mac declarations to use Tcl ending,
fixed copyrights, updated headers, fixed comments, updated
resource files. Mac builds are now meant to be build with
MetroWerks CW 6.
|