summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Created branch ajuba-ajuba2-2-0-syntheticajuba_ajuba2_2_0ajuba_ajuba2_2_0_syntheticcvs2fossil2000-06-024-268/+0
|
* reduced unnecessary iterations in http-3.13hobbs2000-06-021-3/+3
|
* * generic/tclIO.c (CloseChannel): removed the &ing out ofhobbs2000-06-022-2/+8
| | | | | | (TCL_READABLE|TCL_WRITABLE) from the flags, as CloseChannel does this on the next pass through for the top channel, and it appeared to be causing hangs by not allowing the final flush.
* (CloseChannel): further extended CloseChannel in the stacked casehobbs2000-06-022-11/+68
| | | | | | | | to effect certain operations on the next channel that would have been done in Tcl_Close. Also added CHANNEL_CLOSED and removed (TCL_READABLE|TCL_WRITABLE) bits from chanPtr->flags. Changed final reset of the WatchProc to check the chanDownPtr's (next) interestMask.
* * generic/tclIO.c (CloseChannel): Rewrote CloseChannel code tohobbs2000-06-022-192/+256
| | | | | unstack a channel during the close process. Fixed a refcount bug in Tcl_UnstackChannel. [Bug: 5623]
* 2000-05-29 Sandeep Tamhankar <sandeep@scriptics.com>sandeep2000-05-3110-960/+1222
| | | | | | | | | | | | | | | * tests/http.test * doc/http.n * library/http2.3/http.tcl: Fixed bug 5741, where unsuccessful geturl calls sometimes leaked memory and resources (sockets). Also, switched around some of the logic so that http::wait never throws an exception. This is because in an asynchronous geturl, the command callback will probably end up doing all the error handling anyway, and in an asynchronous situation, the user expects to check the state when the transaction completes, as opposed to being thrown an exception. For the http package, this menas the user can check http::status for "error" and http::error for the error message after doing the http::wait.
* * doc/library.n: Added entries for auto_qualify and auto_import [Bug: 1271].ericm2000-04-288-74/+210
| | | | | | | * doc/Init.3: Manual entry for Tcl_Init [Bug: 1820]. * doc/expr.n: Added documentation for each of the math library functions that expr supports [Bug: 1054].
* * doc/memory.n: Man page for Tcl "memory" command, which isericm2000-04-276-22/+318
| | | | | | | | | | | | | | | | | | created when TCL_MEM_DEBUG is defined at compile time. * doc/TCL_MEM_DEBUG.3: Man page with overall information about TCL_MEM_DEBUG usage. * doc/DumpActiveMemory.3: Man page for Tcl_DumpActiveMemory, Tcl_InitMemory, and Tcl_ValidateAllMemory [Bug: 1816, 1835]. * generic/tclCkalloc.c: Fixed some function headers. * unix/mkLinks: Regen'd with new mkLinks.tcl. * unix/mkLinks.tcl: Fixed indentation, made link setup more intelligent (only do one existance test per man page, instead of one per function).
* * unix/mkLinks: Regen'd with new mkLinks.tcl.ericm2000-04-263-973/+642
| | | | | | | | | | | * unix/mkLinks.tcl: Fixed indentation, made link setup more intelligent (only do one existance test per man page, instead of one per function). * doc/library.n: Fixed .SH NAME macro to include each function documented on the page, so that mkLinks will know about the functions listed there, and so that the Windows help file index will get set up correctly [Bug: 1898, 5273].
* Fixed bad crosslink command.ericm2000-04-261-1/+1
|
* * README:hobbs2000-04-268-44/+44
| | | | | | | | | * mac/README: * tools/tcl.wse.in: * unix/README: * unix/tcl.spec: * win/README: * win/README.binary: Updating URLs to reference dev.scriptics.com
* Updated URLswelch2000-04-262-15/+19
|
* LogCommandInfo man entry.ericm2000-04-261-0/+6
|
* LogCommandInfo man page.ericm2000-04-261-3/+20
|
* LogCommandInfo man entry.ericm2000-04-261-0/+4
|
* updated for 8.3.1 releasehobbs2000-04-262-2/+47
|
* NAME macro fixhobbs2000-04-251-4/+2
|
* version cleanuphobbs2000-04-252-9/+12
|
* * unix/Makefile.in:hobbs2000-04-254-33/+54
| | | | | | * win/Makefile.in: * win/makefile.vc: updated for http change and some cleanup * library/http2.[13]: moved dir http2.1 to http2.3 to match version
* moved http2.1 to http2.3hobbs2000-04-252-875/+0
|
* * unix/tclUnixThrd.c: removed {}s around PTHREAD_MUTEX_INITIALIZERhobbs2000-04-251-3/+3
| | | | [Bug: 5254]
* * unix/tclLoadDyld.c (TclpLoadFile): removed use of interp->resulthobbs2000-04-251-9/+12
|
* * doc/Utf.3: clarified docs for Tcl_(UniChar|Utf)AtIndexhobbs2000-04-251-3/+4
|
* * unix/mkLinks:ericm2000-04-253-10/+41
| | | | * doc/OpenFileChnl.3: Added man entry for Tcl_Ungets [Bug: 1834].
* * unix/mkLinks:ericm2000-04-252-0/+42
| | | | * doc/SourceRCFile.3: Man page for Tcl_SourceRCFile [Bug: 1833].
* * unix/mkLinks:ericm2000-04-243-6/+32
| | | | * doc/ParseCmd.3: Added documentation for Tcl_ParseVar [Bug: 1828].
* * unix/tclUnixNotfy.c (Tcl_FinalizeNotifier, NotifierThreadProc):hobbs2000-04-243-32/+58
| | | | | | | added write of 'q' into triggerPipe for notifier in threaded case, so that Tcl doesn't hang when children are still running [Bug: 4139] * unix/tclUnixThrd.c (Tcl_MutexLock): minor comment fixes.
* *** empty log message ***jingham2000-04-241-0/+18
|
* 2000-04-23 Jim Ingham <jingham@cygnus.com> These changes make ↵jingham2000-04-241-25/+130
| | | | some error handling marginally better for Mac sockets. It is still somewhat flakey, however. * mac/tclMacSock.c (TcpClose): Add timeouts to the close - these don't seem to be honored, however. * Use a separate PB for the release, since an async connect socket will still be using the original buffer. * Make sure TCPRelease returns noErr before freeing the recvBuff. If the call returns an error, then the buffer is not right. * mac/tclMacSocket.c (CreateSocket): Add timeouts to the async create. These don't seem to trigger, however. Sigh... * mac/tclMacSocket.c (WaitForSocketEvent): If an TCP_ASYNC_CONNECT socket errors out, then return EWOULDBLOCK & error out. * mac/tclMacSock.c: (NotifyRoutine) Added a NotifyRoutine for experimenting with MacTCP.
* *** empty log message ***jingham2000-04-231-0/+5
|
* 2000-04-22 Jim Ingham <jingham@cygnus.com> * library/package.tcl ↵jingham2000-04-231-2/+2
| | | | (tclPkgUnknown): Fixed a typo in the Mac package search part of tclPkgUnknown.
* 2000-04-21 Sandeep Tamhankar <sandeep@scriptics.com>sandeep2000-04-225-29/+69
| | | | | | | | | | | * library/http2.1/http.tcl: Fixed a newly introduced bug where if there's a -command callback and something goes wrong, geturl threw an exception, called the callback, and unset the token. I changed it so that it will not call the callback when throwing an exception (so the caller only finds out about a given error from one place). Also, fixed http::ncode so that it actually gives you back the http return code (i.e. 200, 404, etc.) instead of the first digit of the version of HTTP being used (i.e. 1).
* More thrashing with the "server closeswelch2000-04-223-42/+90
| | | | | | without reading post data" scenario. Reverted to the previous filevent configuratiuon, which seems to work better with small amounts of post data.
* comments for http.tclwelch2000-04-221-0/+7
|
* * generic/tclAlloc.c: wrapped caddr_t define to not be done on Unixhobbs2000-04-213-3/+25
| | | | | * unix/tclUnixPort.h: added Tclp*Alloc defines to allow the use of USE_TCLALLOC on Unix. [Bug: 4731]
* * library/dde1.1/pkgIndex.tcl:hobbs2000-04-2010-70/+86
| | | | | | | | | | | * library/reg1.0/pkgIndex.tcl: * win/tclWinChan.c: * win/tclWinThrd.c: converted CRLF to LF the */tcl.hpj.in files were not converted, as it confuses hcw locally. [Bug: 5096] * win/Makefile.in: expanded cleanup or help files * doc/Thread.3: minor macro cleanup
* * generic/tclFileName.c (SplitUnixPath): added support for QNXhobbs2000-04-192-1/+19
| | | | node ids.
* have to allow for strchr being a macro in TtyParseProchobbs2000-04-191-5/+6
|
* * README:hobbs2000-04-1914-97/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * win/README.binary: bumped version to 8.3.1 * win/tcl.hpj.in: updated copyright date * generic/tclEnv.c: environment support for Mac OS/X * unix/tclUnixPort.h: environment support for Mac OS/X * unix/tclLoadDyld.c: new file for Mac OS/X dl functions * unix/Makefile.in: added install-strip target; bindir, libdir, mandir, includedir vars; tclLoadDyld.c target [Bug: 2527] * unix/tclUnixChan.c (CreateSocket): force a socket back into blocking mode (default state) after a -async connect succeeds. [Bug: 4388] * generic/tclEvent.c (TclInitSubsystems): Moved tclLibraryPath to thread-local storage to prevent thread-related race condition. [Bug: 5033] * unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets the library path as it was unnecessary and conflicts with move of tclLibraryPath to thread-local storage.
* * generic/tclEvent.c (TclInitSubsystems): Moved tclLibraryPath tohobbs2000-04-191-0/+9
| | | | | | | | thread-local storage to prevent thread-related race condition. [Bug: 5033] * unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets the library path as it was unnecessary and conflicts with move of tclLibraryPath to thread-local storage.
* * win/Makefile.in:redman2000-04-185-11/+34
| | | | | | | * win/tcl.rc: * win/tclsh.rc: * win/tclsh.ico: Modified copyright dates in Windows resource files. Added an icon for tclsh.exe.
* * generic/tclEvent.c (TclInitSubsystems): Moved tclLibraryPath tohobbs2000-04-181-22/+30
| | | | | thread-local storage to prevent thread-related race condition. [Bug: 5033]
* * unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets thehobbs2000-04-181-18/+5
| | | | | library path as it was unnecessary and conflicts with move of tclLibraryPath to thread-local storage.
* Added Tcl_CreateThreadType and TCL_RETURN_THREAD_TYPEwelch2000-04-173-18/+30
| | | | macros for declaring the NewThread callback proc.
* Updates for Tcl_CreateThreadTypewelch2000-04-171-0/+7
|
* Don't append : to folder name if the folder name is empty.jingham2000-04-171-4/+8
|
* Added additional information regarding TCLLIBPATH (specifically, that "/"ericm2000-04-151-4/+4
| | | | must be used as the path separator, regardless of platform).
* * unix/tclUnixChan.c (TtyParseMode): Only allow setting mark/spacehobbs2000-04-151-3/+18
| | | | parity on platforms that support it [Bug: 5089]
* * generic/tclBasic.c (Tcl_GetVersion): adjusted use of major/minorhobbs2000-04-151-11/+11
| | | | to not conflict with global decl on some systems [Bug: 2882]
* * unix/tclUnixChan.c (TtyParseMode): Only allow setting mark/spacehobbs2000-04-151-0/+6
| | | | | | | parity on platforms that support it [Bug: 5089] * generic/tclBasic.c (Tcl_GetVersion): adjusted use of major/minor to not conflict with global decl on some systems [Bug: 2882]