summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * compat/string.h: fixed memchr() protoype for __APPLE__ so that wedas2005-04-268-360/+503
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build on Mac OS X 10.1 again. * generic/tclNotify.c (TclFinalizeNotifier): fixed notifier not being finalized in unthreaded core (was testing for notifier initialization in current thread by checking thread id != 0 but thread id is always 0 in untreaded core). * unix/tclUnixNotfy.c (Tcl_WaitForEvent): sync with HEAD: only declare and use timeout var in unthreaded core. * unix/Makefile.in: added @PLAT_SRCS@ to SRCS and split out NOTIFY_SRCS from UNIX_SRCS for parity with UNIX_OBJS & NOTIFY_OBJS. * unix/configure.in: only run check for broken strstr implementation if AC_REPLACE_FUNCS(strstr) hasn't already determined that strstr is unavailable, otherwise compat/strstr.o will be used twice (resulting in duplicate symbol link errors on Mac OS X 10.1) * unix/tcl.m4 (Darwin): added configure checks for recently added linker flags -single_module and -search_paths_first to allow building with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS definition for Mac OS X. (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check. (SC_TCL_64BIT_FLAGS): fixed 'checking for off64_t' message output. * unix/configure: autoconf-2.13
* * generic/tclCmdMZ.c: Corrected intrep-dependence ofdgp2005-04-223-10/+18
| | | | * tests/string.test: [string is boolean] [Bug 1187123]
* * tests/unixInit.test (7.1): fixed failure when running testsdas2005-04-212-2/+7
| | | | with -tmpdir arg not set to working dir.
* * generic/tclGet.c (Tcl_GetInt): Corrected error that did notdgp2005-04-203-38/+29
| | | | | * generic/tclObj.c (Tcl_GetIntFromObj): permit 0x80000000 to be recognized as an integer on TCL_WIDE_INT_IS_LONG systems [Bug 1090869].
* * tests/winPipe.test (winpipe-6.2): remove -blocking 1 as this onehobbs2005-04-202-2/+6
| | | | can truly block.
* no messagedavygrvy2005-04-191-0/+19
|
* * win/tclWinPipe.c: The pipe channel driver now respectsdavygrvy2005-04-193-20/+38
| | | | | | | | | | | | | | | | | | the -blocking option when closing. The windows pipe driver now has the same behavior as the UNIX side. This change is to avoid a hung shell when exiting due to open pipes that refuse to close in a graceful manner. * doc/open.n: Added a note about -blocking 0 and lack of exit status as it had never been documented. [Bug 947693] ***POTENTIAL INCOMPATIBILITY*** Scripts that use async pipes on windows, must (like the UNIX side) set -blocking to 1 before calling [close] to receive the exit status. * tests/winPipe.test (winpipe-6.1/2): added 'fconfigure $f -blocking 1' so the exit status can be acquired.
* * generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limitdavygrvy2005-04-144-13/+25
| | | | | | | | | | * tests/io.test: changed from ten bytes to one byte. Need * tests/iogt.test: for this change was proven by Ross Cartlidge <rossc@cisco.com> where [read stdin 1] was grabbing 10 bytes followed by starting a child process that was intended to continue reading from stdin. Even with -buffersize set to one, nine chars were getting lost by the buffersize over reading for the native read() caused by [read].
* added definition of NULL to strstr.c for Bug 1175161Kevin B Kenny2005-04-122-1/+12
|
* * macosx/README: updated requirements for OS & developer tooldas2005-04-092-11/+14
| | | | versions + other small fixes/cleanup.
* * unix/tcl.m4 (Darwin): added -single_module linker flag todas2005-04-093-4/+10
| | | | | TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS. * unix/configure: autoconf-2.13
* See file.vasiljevic2005-04-071-0/+26
|
* Renamed TclWinFreeAllocCache to TclpFreeAllocCache and fixedvasiljevic2005-04-071-20/+21
| | | | | | to recognize when being called with NULL argument. This is a signal for it to clean up the tsd key associated with the threading allocator. Part of fixing the Tcl Bug #1178445.
* Fixed TclpFreeAllocCache() to recognize when being calledvasiljevic2005-04-071-7/+10
| | | | | | with NULL argument. This is a signal for it to clean up the tsd key associated with the threading allocator. Part of fixing the Tcl Bug #1178445.
* Modified TclFinalizeThreadAlloc() to explicitly callvasiljevic2005-04-071-1/+3
| | | | | | TclpFreeAllocCache with the NULL-ptr as argument signalling cleanup of private tsd key used only by the threading allocator. Part of fixing the Tcl Bug #1178445.
* Added prototypes for TclpFreeAllocCache() and TclFreeAllocCache().vasiljevic2005-04-071-1/+3
| | | | Part of fixing the Tcl Bug #1178445.
* * generic/tclExecute.c (ExprSrandFunc): Replaced incursions into thedgp2005-04-053-49/+13
| | | | | | | * generic/tclUtil.c (TclGetIntForIndex): intreps of numeric types with simpler calls of Tcl_GetIntFromObj and Tcl_GetLongFromObj, now that those routines are better behaved wrt shimmering. [Patch 1177219]
* * win/tcl.m4, win/configure: do not require cygpath in macros tohobbs2005-03-303-46/+55
| | | | allow msys alone as an alternative.
* * win/tclWinTime.c (TclpGetDate): use time_t for 'time'hobbs2005-03-302-17/+18
|
* purge outdated commentdgp2005-03-231-4/+2
|
* date typodgp2005-03-181-1/+1
|
* * generic/tclBasic.c (Tcl_EvalEx,TclEvalTokensStandard):dgp2005-03-185-24/+90
| | | | | | | | | * generic/tclCmdMZ.c (Tcl_SubstObj): * tests/basic.test (basic-46.4): Restored recursion limit * tests/parse.test (parse-19.*): testing in nested command substitutions within direct script evaluation (Tcl_EvalEx) that got lost in the parser reforms of Tcl 8.1. Added tests for correct behavior. [Bug 1115904]
* * generic/tclCompCmds.c (TclCompileIncrCmd): Corrected checksdgp2005-03-182-15/+17
| | | | | for immediate operand usage to permit leading space and sign characters. [Bug 1165671]
* more tests and a fix to bug 1158199vincentdarley2005-03-152-5/+16
|
* fix to file norm, file pathtype on windows reserved filenames - ensure build ↵vincentdarley2005-03-151-4/+10
| | | | ok on unix
* fix to file norm, file pathtype on windows reserved filenamesvincentdarley2005-03-154-22/+155
|
* replaced 'long' times with wides, to cope with Win64Kevin B Kenny2005-03-158-39/+51
|
* Make it all work on OpenBSD. Imported patch from ports tree.patthoyts2005-03-153-281/+334
|
* * generic/tclCmdMZ.c (TclCheckInterpTraces): Corrected mistakendgp2005-03-102-12/+17
| | | | | cast of ClientData to (TraceCommandInfo *) when not warranted. Thanks to Yuri Victorovich for the report. [Bug 1153871]
* * win/makefile.vc: clarify necessary defined vars that can comehobbs2005-03-082-14/+23
| | | | from MSVC or the Platform SDK.
* backport tcltest test improvementsdgp2005-02-251-15/+17
|
* * library/tcltest/tcltest.tcl: Better use of [glob -types] to avoiddgp2005-02-244-21/+39
| | | | | | | * tests/tcltest.test: failed attempts to [source] a directory, and similar matters. Thanks to "mpettigr". [Bug 1119798] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.8
* Formatting typo fix. [Bug 1149605]dkf2005-02-232-2/+6
|
* * win/tclWinFCmd.c (TraverseWinTree): use wcslen on wchar, nothobbs2005-02-172-6/+11
| | | | Tcl_UniCharLen.
* * /doc/variable.n: fix for [Bug 1124160], variables are detectedMiguel Sofer2005-02-162-2/+7
| | | | by [info vars] but not by [info locals].
* correct ChangeLog noteshobbs2005-02-101-2/+2
|
* * unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlinedhobbs2005-02-104-383/+315
| | | | | | * unix/tcl.m4: into SHLIB_LD). Combine AIX-* and AIX-5 * unix/configure: branches in SC_CONFIG_CFLAGS. Enable 64-bit gcc builds for AIX-4+, correct gcc builds for HP-UX-11.
* added commentsMiguel Sofer2005-02-101-1/+6
|
* * generic/tclBasic.c (Tcl_EvalObjEx):Miguel Sofer2005-02-103-4/+46
| | | | | | * tests/basic.test (basic-26.2): preserve the arguments passed to TEOV in the pure-list branch, in case the list shimmers away. Fix for [Bug 1119369], reported by Peter MacDonald.
* More consistency. [Bug 1117017]dkf2005-02-102-5/+14
|
* * generic/tclExecute.c (TclCompEvalObj): Removed stray statementdgp2005-02-012-2/+6
| | | | left behind in prior code reorganization.
* correct autoconf generation for sol64-gcc supporthobbs2005-01-292-8/+8
|
* * unix/configure, unix/tcl.m4: add solaris 64-bit gcc build support.hobbs2005-01-283-255/+298
| | | | [Bug 1021871]
* * generic/tclBasic.c (Tcl_ExprBoolean, Tcl_ExprDouble)hobbs2005-01-282-4/+51
| | | | (Tcl_ExprLong): Fix to recognize Tcl_WideInt type. [Bug 1109484]
* TIP#218 IMPLEMENTATIONandreas_kupries2005-01-2717-306/+891
| | | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/CrtChannel.3: Documentation of extended API, * generic/tcl.decls: extended testsuite, and * generic/tcl.h: implementation. Removal of old * generic/tclIO.c: driver-specific TclpCut/Splice * generic/tclInt.h: functions. Replaced with generic * tests/io.test: thread-action calls through the * unix/tclUnixChan.c: new hooks. Update of all builtin * unix/tclUnixPipe.c: channel drivers to version 4. * unix/tclUnixSock.c: Windows drivers extended to * win/tclWinChan.c: manage thread state in a thread * win/tclWinConsole.c: action handler. * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * mac/tclMacChan.c:
* typodgp2005-01-271-2/+2
|
* * library/auto.tcl: Updated [auto_reset] to clear auto-loadeddgp2005-01-252-15/+21
| | | | procs in namespaces other than :: [Bug 1101670].
* * unix/tcl.m4 (Darwin): fixed bug with static build linking todas2005-01-253-6/+14
| | | | | | | dynamic library in /usr/lib etc instead of linking to static library earlier in search path. [Tcl Bug 956908] Removed obsolete references to Rhapsody. * unix/configure: autoconf-2.13
* * win/tclWinChan.c (FileCloseProc): Invokemdejong2005-01-192-1/+30
| | | | | | | | | TclpCutFileChannel() to remove a FileInfo from the thread local list before deallocating it. This should have been done via an earlier call to Tcl_CutChannel, but I was running into a crash in the next call to Tcl_CutChannel during the IO finalization stage.
* fix to drive-sensitivity of testvincentdarley2005-01-172-3/+10
|