summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Apply resolution for [Bug 2529157]. Fix another location in tclBasic.c wheredkf2009-01-283-65/+57
| | | | only the objProc case was handled and not the nreProc case.
* Fix [Bug 2531577]dkf2009-01-271-1/+15
|
* Fix [Bug 1028264]: WSACleanup() too early. The fix introduces "late exit ↵ferrieux2009-01-272-3/+107
| | | | handlers" for similar late process-wide cleanups.
* minor formatting improvementsdkf2009-01-261-4/+5
|
* Fix [Bug 2536400]dkf2009-01-261-5/+9
|
* CONSTify TclPrintInstruction and TclpNativeJoinPath (TIP #27)nijtmans2009-01-2210-269/+34
| | | | | {unix win} in *.decls is equivalent to {generic} tclGetDate.y, tclDate.c: single internal const decoration
* * generic/tclIORChan.c (ReflectClose): Fix for [Bug 2458202].andreas_kupries2009-01-222-13/+23
| | | | | | | * generic/tclIORTrans.c (ReflectClose): Closing a channel may supply NULL for the 'interp'. Test for finalization needs to be different, and one place has to pull the interp out of the channel instead.
* * generic/tclStringObj.c: New fix for [Bug 2494093] replaces thedgp2009-01-211-24/+30
| | | | flawed attempt committed 2009-01-09.
* * generic/tcl.h: Bump patchlevel to 8.6b1.1 to distinguishdgp2009-01-161-2/+2
| | | | | | | | * library/init.tcl: CVS snapshots from the 8.6b1 and 8.6b2 releases * unix/configure.in: and to deal with the fact that the HEAD of * win/configure.in: init.tcl will not [source] in Tcl 8.6b1 . * unix/configure: autoconf-2.59
* [Bug 2512659] patch for typo appliedpatthoyts2009-01-161-2/+3
|
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken): Reverteddgp2009-01-141-1/+10
| | | | | | | | most of the substance of my 2009-01-12 commit. NULLing the objProc field of a Command when deleting it is important so that tests for certain classes of commands don't return false positives when applied to deleted command tokens. Overall change is now just replacement of a false comment with a true one.
* Move [throw] implementation into C.dkf2009-01-133-3/+105
|
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken): One consequencedgp2009-01-121-11/+1
| | | | | | | | | | | | of the NRE rewrite is that there are now situations where a NULL objProc field in a Command struct is perfectly normal. Removed an outdated comment in Tcl_DeleteCommandFromToken that claimed we use (cmdPtr->objPtr == NULL) as a test of command validity. In fact we use (cmdPtr->flags & CMD_IS_DELETED) to perform that test. Also removed the setting to NULL, since any extension following the advice of the old comment is going to be broken by NRE anyway, and needs to shift to flag-based testing (or stop intruding into such internal matters). Part of [Bug 2486550].
* * generic/tclStringObj.c (STRING_SIZE): Corrected failure to limitdgp2009-01-091-4/+7
| | | | | memory allocation requests to the sizes that can be supported by Tcl's memory allocation routines. [Bug 2494093].
* Fix [Bug 1558654]dkf2009-01-091-1/+9
|
* Style fixes (unfouling whitespace, sorting comments, removing useless casts, ↵dkf2009-01-0936-1034/+1079
| | | | etc.)
* * generic/tclStringObj.c (STRING_UALLOC): Added missing parensdgp2009-01-081-2/+2
| | | | | required to get correct results out of things like STRING_UALLOC(num + append). [Bug 2494093].
* Generate errorcodes for more cases.dkf2009-01-087-12/+57
|
* Corrected twiddling in internals of dictionaries so that literals can't getdkf2009-01-061-2/+3
| | | | destroyed.
* Fix [Bug 2489836]dkf2009-01-061-3/+7
|
* Fix [Bug 2481109]dkf2009-01-061-3/+5
|
* Formatting improvements (comments, whitespace)dkf2009-01-061-28/+32
|
* Comment formatting improvements.dkf2009-01-062-147/+159
|
* Added a test, correct a dumb blunder.dkf2009-01-051-2/+2
|
* Make [source] NRE-aware to enable [yield]. [Bug 2412068]dkf2009-01-054-9/+151
|
* More coding style improvements.dkf2009-01-041-40/+40
|
* Generalize mysterious comment about causes for ::env missesferrieux2009-01-041-2/+3
|
* Plug memory leak.dkf2008-12-281-3/+11
|
* Fix my silly blunders. [Bug 2470237]dkf2008-12-273-18/+18
|
* Assorted minor corrections to the Zlib C API to make it work with the PNGdkf2008-12-274-56/+53
| | | | implementation better.
* Updated comments in tcl.decls based on code archaeology.dkf2008-12-261-44/+62
|
* Silence signed unsigned warningpatthoyts2008-12-221-2/+2
|
* fix warningsdas2008-12-201-3/+3
|
* CONSTify TclGetLoadedPackages second paramnijtmans2008-12-193-15/+15
|
* * README: Bump version number to 8.6b1dgp2008-12-191-4/+4
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tclIO.c (Tcl_CloseEx,CloseWrite,CloseChannelPart,ChanCloseHalf):andreas_kupries2008-12-182-19/+251
| | | | | | | | | | | | | Rewrite the half-close to properly flush the channel, like is done for a full close, going through FlushChannel, and using the flag BG_FLUSH_SCHEDULED (async flush during close). New functions CloseWrite, CloseChannelPart, new flag CHANNEL_CLOSEDWRITE. * tests/chanio.test (chanio-28.[67]): Reactivated these tests. Replaced tclsh -> [interpreter] to get correct executable for the pipe process, and added after cancel to kill the fail timers when we are done. Removed the explicits calls to [flush], now that [close] handles this correctly.
* * generic/tclExecute.c: Disabled apparently faulty assertion.dgp2008-12-181-2/+4
| | | | [Bug 2415422].
* Add missing flush for half-close of the write sideferrieux2008-12-181-1/+16
|
* Compressing and decompressing channel transformation support.dkf2008-12-181-145/+321
| | | | Note that there may be "quality-of-implementation" issues left...
* VOID -> voidnijtmans2008-12-184-13/+13
|
* fix line endingsdgp2008-12-182-8209/+8209
|
* TIP #332 IMPLEMENTATION - Half-Close for Bidirectional Channelsferrieux2008-12-185-8202/+8386
|
* Now with *nearly* working gzipping channels...dkf2008-12-181-91/+99
|
* don't use ckfree((void *)...) butnijtmans2008-12-171-3/+3
| | | | ckfree((char *)...)
* typos in commentsdgp2008-12-171-5/+5
|
* move variable "length" inside if()nijtmans2008-12-174-10/+9
| | | | | don't use ckfree((void *)...) but ckfree((char *)...)
* Removed unused flag.dkf2008-12-172-107/+204
|
* eliminate -Wwrite-strings warnings in enable-threads build.nijtmans2008-12-162-9/+9
| | | | use TclNewLiteralStringObj()
* Re-fix [2431847]ferrieux2008-12-161-5/+2
|
* * generic/tcl.h: Add TIP 338 routines to stub table.dgp2008-12-164-7/+35
| | | | | | | * generic/tcl.decls: [Bug 2431338]. * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: