summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Keeping check for negativeandreas_kupries2008-04-105-26/+96
| | | | | | | | | | | | values, changed to not be an error, but behave like the special value -1 (copy all, default). * tests/iocmd.test (iocmd-15.{12,13}): Removed. * tests/io.test (io-52.5{,a,b}): Reverted last change, added * tests/chanio.test (chan-io-52.5{,a,b}): comment regarding the meaning of -1, added two more testcases for other negative values, and input wrapped to negative.
* * tests/chanio.test (chan-io-52.5): Removed '-size -1' from test,andreas_kupries2008-04-093-4/+8
| | | | | * tests/io.test (io-52.5): does not seem to have any bearing, and was an illegal value.
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Added checking of -sizeandreas_kupries2008-04-093-2/+31
| | | | | | | | * tests/ioCmd.test (iocmd-15.{13,14}): value to reject negative values, and values overflowing 32-bit signed. [Bug 1557855]. Basic patch by Alexandre Ferrieux <ferrieux@users.sourceforge.net>, with modifications from me to separate overflow from true negative value. Extended testsuite.
* * tests/io.test (io-53.8): Fixed ordering of vwait and afterandreas_kupries2008-04-082-2/+7
| | | | cancel. cancel has to be done after the vwait completes.
* * tests/chanio.test (chan-io-53.8,53.9,53.10): fix typo & quoting fordas2008-04-083-34/+36
| | | | * tests/io.test (io-53.8,53.9,53.10): spaces in builddir path
* backport enhanced commentsdgp2008-04-081-5/+18
|
* Corrected test name.andreas_kupries2008-04-071-2/+2
|
* * tests/io.test (io-53.10): Testcase for bi-directionaly fcopy.andreas_kupries2008-04-075-31/+199
| | | | | | | | * tests/chanio.test: * generic/tclIO.c: Additional changes to data structures for fcopy * generic/tclIO.h: and channels to perform proper cleanup in case of a channel having two background copy operations running as is now possible.
* Added forgotten reference to [Bug 1350564] in last entry.andreas_kupries2008-04-071-2/+3
|
* * generic/tclIO.c (BUSY_STATE, CheckChannelErrors,andreas_kupries2008-04-072-4/+15
| | | | | | TclCopyChannel): New macro, and the places using it. This change allows for bi-directional fcopy on channels. Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for the patch.
* * generic/tclStringObj.c (Tcl_AppendFormatToObj):dgp2008-04-073-4/+17
| | | | | | Fix [format {% d}] so that it behaves the same way as in 8.4 and as C's printf(). * tests/format.test: Add a test for '% d' and '%+d'.
* * tests/chanio.test (chan-io-53.9):Kevin B Kenny2008-04-065-7/+27
| | | | | | | | | | | * tests/io.test (io-53.9): Made test cleanup robust against the possibility of slow process shutdown on Windows. * win/tcl.m4: Added -D_CRT_SECURE_NO_DEPRECATE and -DCRT_NONSTDC_NO_DEPRECATE to the MSVC compilation flags so that the compilation doesn't barf on perfectly reasonable Posix system calls. * win/configure: Manually patched (don't have the right autoconf to hand).
* * win/tclWinFile.c: (WinSymLinkDirectory): Fixed a problem thatKevin B Kenny2008-04-052-17/+29
| | | | | | | | | | | Tcl was creating an NTFS junction point (IO_REPARSE_TAG_MOUNT_POINT) but filling in the union member for a Vista symbolic link. We had gotten away with this error because the union member (SymbolicLinkReparseBuffer) was misdefined in this file and in the 'winnt.h' in early versions of MinGW. MinGW 3.4.2 has the correct definition of SymbolicLinkReparseBuffer, exposing the mismatch, and making tests cmdAH-19.4.1, fCmd-28.*, and filename-11.* fail.
* * tests/io.test (io-53.9): Added testcase for [Bug 780533], basedandreas_kupries2008-04-043-6/+109
| | | | | | * tests/chanio.test: on Alexandre's test script. Also fixed problem with timer in preceding test, was not canceled properly in the ok case.
* * generic/tclIORChan.c (ReflectOutput): Allow zero return fromandreas_kupries2008-04-043-4/+22
| | | | | | | | write when input was zero-length anyway. Otherwise keept it an error, and separate the message from 'written too much'. * tests/ioCmd.test (iocmd-24.6): Testcase updated for changed message.
* * generic/tclIORChan.c (ReflectClose): Added missing removal ofandreas_kupries2008-04-043-2/+38
| | | | | | | | | the now closed channel from the reflection map. Before we could crash the system by invoking 'chan postevent' on a closed reflected channel, dereferencing the dangling pointer in the map. * tests/ioCmd.test (iocmd-31.8): Testcase for the above.
* * generic/tclIO.c (CopyData): Applied patch [Bug 1932639] toandreas_kupries2008-04-034-16/+123
| | | | | | * tests/io.test: prevent fcopy from calling -command synchronously * tests/chanio.test: the first time. Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for report and patch.
* * generic/tclIO.c (CopyData): Applied patch for the fcopy problemandreas_kupries2008-04-022-2/+10
| | | | | | | [Bug 780533], with many thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for tracking it down and providing a solution. Still have to convert his test script into a proper test case.
* autoheader-2.59das2008-04-011-3/+0
|
* autoconf-2.59das2008-04-011-9/+1
|
* (SunOS-5.1x): quote CC var to allow make-time overridedas2008-04-011-5/+1
| | | | sync with tk/unix/tcl.m4 changes
* * generic/tclStrToD.c: Applied patch for [Bug 1839067] (fpandreas_kupries2008-04-014-6/+229
| | | | | * unix/tcl.m4: rounding setup on solaris x86, native cc), provided * unix/configure: by Michael Schlenker. configure regen'd.
* * generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.dgp2008-04-012-1/+4
| | | | * generic/tclPkg.c (Tcl_PkgInitStubsCheck):
* * generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.dgp2008-04-012-1/+7
|
* merge updates from HEAD dgp2008-03-317-10/+116
|
* * generic/tcl.h: Bump to 8.5.2 for release.core_8_5_2dgp2008-03-289-13/+25
| | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * changes: Updated for 8.5.2 release.dgp2008-03-282-1/+9
|
* disable codesign on tests targetdas2008-03-281-1/+17
|
* Rewrite to use tcltest2 better while getting rid of bugs/misfeatures.dkf2008-03-282-971/+1091
|
* Changes up to and including Olson's tzdata2008bKevin B Kenny2008-03-2724-478/+2259
|
* * unix/configure: autoconf-2.59das2008-03-271-1/+1
|
* * unix/tcl.m4 (SunOS-5.1x): fix 64bit support for Sun cc. [Bug 1921166]das2008-03-272-1/+7
|
* formattingdgp2008-03-261-5/+1
|
* * changes: Updated for 8.5.2 release.dgp2008-03-262-3/+25
|
* Minor improvements/fixesdkf2008-03-261-8/+12
|
* Minor fixes to copyright declarations (spelling, consistency)dkf2008-03-2616-31/+31
|
* Removed duplicated testspatthoyts2008-03-241-7/+1
|
* improved fix keeping short-circuitpatthoyts2008-03-241-3/+5
|
* bug #1923966 - crash in binary format. Added tests for the above crash ↵patthoyts2008-03-243-3/+26
| | | | condition.
* Clarified docs. [Bug 1899962]dkf2008-03-212-3/+11
|
* Added more tests of regexp-mode compilation of the [switch] command. [Bug ↵dkf2008-03-212-1/+112
| | | | 1854435]
* Oops, typo.dkf2008-03-201-2/+2
|
* Final clean up of the Tcl_GetMemoryInfo mess.dkf2008-03-203-29/+60
|
* fix typosdas2008-03-191-3/+3
|
* Added exported non-stub function Tcl_GetMemoryInfodkf2008-03-191-1/+4
|
* Corrected scoping of Tcl_GetMemoryInfo. [Bug 1868171]dkf2008-03-193-3/+12
|
* Added workaround for [Bug 1905562]dkf2008-03-192-50/+55
|
* fix and simplify the OFFSET computation for TclStackAllocMiguel Sofer2008-03-181-5/+4
|
* * library/tm.tcl (::tcl::tm::UnknownHandler): Changed 'source' toandreas_kupries2008-03-182-1/+16
| | | | | | | | | | | | | | 'source -encoding utf-8'. This fixes a portability problem of Tcl Modules pointed out by Don Porter. By using plain 'source' we were at the mercy of 'encoding system', making modules less portable than they could be. The exact scenario: A writes a TM in some weird encoding which is A's system encoding, distributes it, and somewhere else it cannot be read/used because the system encoding is different. Forcing the use of utf-8 makes the module portable. ***INCOMPATIBILITY*** for all Tcl Modules already written in non-utf-8 compatible encodings.
* Fix oops. Use ::list, not list, prevent use of the namespace local command.andreas_kupries2008-03-181-1/+1
|