summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * Corrected tests to better isolate tests indgp2001-09-123-2/+11
| | | | one file from influencing tests in other files. [Bug 460591]
* reworked stack-2.1 to be impervious to interp statehobbs2001-09-111-5/+7
|
* * generic/tclEvent.c (TclInExit): Corrected handling of tsd inhobbs2001-09-112-3/+10
| | | | late stages of finalization. [Bug #419449] (darley)
* * tests/stack.test:hobbs2001-09-113-5/+32
| | | | | * generic/tclInterp.c (AliasObjCmd): Check the numLevels to ensure that we aren't hitting some alias loop condition. [Bug #443184]
* * generic/tclInt.decls: Added 'TclWinFlushDirtyChannels' toandreas_kupries2001-09-105-6/+23
| | | | the internal platform specific stub table.
* * All the changes below serve to fix bug [219148] which reports aandreas_kupries2001-09-074-11/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * Updated http package to version 2.4,dgp2001-09-079-26/+38
| | | | reflecting the new features just added.
* * doc/http.n: noted -binary, charset and coding state keys.hobbs2001-09-075-49/+104
| | | | | | | | | | | | | * 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.
* no messagedavygrvy2001-09-011-0/+4
|
* Added use of new private TclFinalizeAsync() found in tclAsync.cdavygrvy2001-09-012-2/+4
|
* no messagedavygrvy2001-09-011-0/+29
|
* -=[ Tcl_Async* API merge from HEAD ]=-davygrvy2001-09-019-121/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * generic/tclIndexObj.c: fixed some casting problems that upsethobbs2001-08-302-5/+8
| | | | Crays. [Bug #419528] (andreasen)
* * tests/httpd (httpdRespond): added response to timeout value inhobbs2001-08-302-1/+9
| | | | query string.
* * Silence warning from Sun compiler. [Bug 454374]dgp2001-08-302-2/+6
|
* * doc/Tcl_Main.3: added docs for Tcl_SetMainLoophobbs2001-08-288-71/+595
| | | | | | | | | | | | | * 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.
* * doc/Encoding.3: added note that tclPlatDecls.h must be includedhobbs2001-08-281-1/+2
| | | | for use of Tcl_WinTCharToUtf and Tcl_WinUtfToTChar.
* * Backport of several bug fixes from HEAD to core-8-3-1-branchdgp2001-08-2416-45/+211
|
* 2001-08-23 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-08-232-4/+14
| | | | | | | | | | * 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>.
* added QNX-6 build support. [Bug #219410] (loverso)hobbs2001-08-233-21/+52
|
* * library/http/http.tcl (geturl): added port number to Host:hobbs2001-08-212-4/+9
| | | | header to comply with HTTP/1.1 spec (RFC 2068). [Bug #452217]
* Add package dependency checks. Upgrade packages bundled withdgp2001-08-0911-20/+48
| | | | Tcl 8.3.x: http 2.3.2, msgcat 1.1.1, opt 0.4.3, tcltest 1.0.1.
* BRANCH: core-8-3-1-branchdgp2001-08-082-1923/+0
| | | | | Removed library/tcltest/* . The package tcltest 1.0 is distributed with Tcl 8.3.x and its files are in library/tcltest1.0 .
* BRANCH: core-8-3-1-branchdgp2001-08-081-7/+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 .
* BRANCH: core-8-3-1-branchdgp2001-08-082-1100/+0
| | | | | Removed library/opt0.4/* . The files of the opt package moved to library/opt in the Tcl 8.3.3 release.
* BRANCH: core-8-3-1-branchdgp2001-08-082-202/+0
| | | | | Removed library/msgcat1.0/*. The msgcat package files moved to library/msgcat in the Tcl 8.3.3 release.
* BRANCH: core-8-3-1-branchdgp2001-08-082-892/+0
| | | | | Removed library/http2.3/* . The http package moved to library/http in the 8.3.3 release.
* BRANCH: core-8-3-1-branchdgp2001-08-081-5/+0
| | | | | Removed library/dde/*. They first appear in the 8.4 work. In 8.3, the dde package is in library/dde1.1 .
* Avoid panic when there are extra items in the tcl stack [Bugs #406709 and ↵Miguel Sofer2001-08-073-4/+23
| | | | 439843, Patch #414470]
* * generic/tclCmdMZ.c (Tcl_RegexpObjCmd, Tcl_RegsubObjCmd):hobbs2001-08-072-15/+40
| | | | | reordered the retrieval of arguments to avoid shimmering bug when the pattern and string referenced the same object.
* added GNU (HURD) configuration target. (brinkmann)hobbs2001-08-072-26/+104
|
* Extended description of fix 442665.andreas_kupries2001-08-061-1/+5
|
* 2001-08-06 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-08-063-18/+17
| | | | | * generic/tclIOCmd.c (Tcl_GetsObjCmd): Applied patch from SF item [442665] to fix the bug reported by it.
* * win/configure: regeneratedhobbs2001-08-043-28/+38
| | | | | | | | * 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.
* 2001-07-18 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-07-182-1/+32
| | | | | | | * 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.
* * generic/tclIO.c (GetInput): Fixed [SF #427196]. Memory washobbs2001-07-172-11/+34
| | | | | | | | | 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.
* * win/tclWinPipe.c (PipeClose2Proc): constrained the mutex lock tohobbs2001-07-172-17/+21
| | | | just the TerminateThread call and waiting for termination. (jsmith)
* updated build setuphobbs2001-07-162-35/+2
|
* 2001-07-02 Jeff Hobbs <jeffh@ActiveState.com>hobbs2001-07-166-21/+57
| | | | | | | | | | | | | | | | | | | | | | * 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)
* 2001-05-04 Daniel Steffen <das@users.sourceforge.net>das2001-05-171-0/+142
| | | | | | | ** 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)
* 2001-05-04 Daniel Steffen <das@users.sourceforge.net>das2001-05-173-6556/+6697
| | | | ** Mac 8.3.3 binary release
* 2001-05-04 Daniel Steffen <das@users.sourceforge.net>das2001-05-171-55/+119
| | | | | | | | | | | | | | | | | | | | | ** 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/install-sh: added -S optioncore_8_3_3hobbs2001-04-066-24/+78
| | | | | | * unix/tcl.m4: added Rhapsody/Darwin target * unix/tclLoadDyld.c (TclpLoadFile): * unix/tclMtherr.c (matherr): added support for Mac OS X
* * win/README:hobbs2001-04-065-18/+20
| | | | | | | | * 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
* * generic/tclObj.c (TclAllocateFreeObjects): simplifiedhobbs2001-04-061-5/+3
| | | | objSizePlusPadding to use sizeof(Tcl_Obj) (max)
* * mac/tclMacProjects.sea.hqx: fixed accidental swap with Tkhobbs2001-04-053-3099/+3134
| | | | project files.
* forgot to add some () style noteshobbs2001-04-041-22/+28
|
* updated changes from ChangeLoghobbs2001-04-041-1/+53
|
* * mac/tclMacShLib.exp:hobbs2001-04-043-1091/+4
| | | | * mac/tclMacMSLPrefix.h: removed files
* * generic/tcl.h: addition of ConditionalMacros.h and use ofhobbs2001-04-0430-206/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.