summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * macosx/Makefile:das2005-05-249-631/+801
| | | | | | | | | | | | | * macosx/README: * macosx/Tcl-Info.plist.in (new file): * unix/Makefile.in: * unix/configure.in: * unix/tcl.m4: * unix/tclUnixInit.c: moved all Darwin framework build support from macosx/Makefile into the standard unix configure/make buildsystem, the macosx/Makefile is no longer required to build Tcl.framework (but its functionality is still available for backwards compatibility). * unix/configure: autoconf-2.13
* * generic/tclIOUtil.c (TclLoadFile):das2005-05-243-43/+342
| | | | | | | | | | * generic/tclInt.h: * unix/tcl.m4: * unix/tclLoadDyld.c: added support for [load]ing .bundle binaries in addition to .dylib's: .bundle's can be [unload]ed (unlike .dylib's), and can be [load]ed from memory, e.g. directly from VFS without needing to be written out to a temporary location first. [Bug 1202209] * unix/configure: autoconf-2.13
* * generic/tclCmdMZ.c (Tcl_TimeObjCmd): change [time] called with adas2005-05-241-6/+11
| | | | | count > 1 to return a string with a float value instead of a rounded off integer. [Bug 1202178]
* Removed unreferenced stack variablevasiljevic2005-05-202-3/+7
|
* * generic/tclParseExpr.c: Corrected parser to recognize alldgp2005-05-202-61/+44
| | | | | | boolean literals accepted by Tcl_GetBoolean, including prefixes like "y" and "f", and to allow "eq" and "ne" as function names in the proper context. [Bug 1201589].
* * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): fixed crashingdas2005-05-201-2/+2
| | | | | | CFRelease of runLoopSource in Tcl_InitNotifier (reported by Zoran): CFRunLoopAddSource doesn't CFRetain, so can only CFRelease the runLoopSource in Tcl_FinalizeNotifier.
* * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): fixed crashingdas2005-05-192-2/+9
| | | | | | CFRelease of runLoopSource in Tcl_InitNotifier (reported by Zoran): CFRunLoopAddSource doesn't CFRetain, so can only CFRelease the runLoopSource in Tcl_FinalizeNotifier.
* * macosx/tclMacOSXBundle.c:das2005-05-1411-415/+1717
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for availability of Tiger or later OSSpinLockLock API. * unix/tclUnixNotfy.c: * unix/Makefile.in: * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052] * tests/unixNotfy.test: don't run unthreaded tests on Darwin since notifier may be using threads even in unthreaded core. * unix/tclUnixPort.h: * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning configure, as Darwin 7 and later realpath is threadsafe. * macosx/tclMacOSXBundle.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings. * unix/configure: autoconf-2.13
* Corrected example that confused [namespace which] and [namespace origin]dgp2005-05-121-2/+2
|
* * tests/string.test: string-10.[21-30]hobbs2005-05-113-16/+55
| | | | | * generic/tclCmdMZ.c (Tcl_StringObjCmd): add extra checks to prevent possible UMR in unichar cmp function for string map.
* * unix/tcl.m4, unix/configure: correct Solaris 10 (5.10) check andhobbs2005-05-073-257/+278
| | | | add support for x86_64 Solaris cc builds.
* documentation improvements.dgp2005-05-033-13/+7
|
* Backported doc fixdkf2005-04-292-2/+9
|
* * library/init.tcl: Corrected flaw in interactive commanddgp2005-04-283-3/+22
| | | | * tests/main.test: auto-completion. [Bug 1191409].
* * tests/unixInit.test (7.1): Alternative fix for thedgp2005-04-272-6/+11
| | | | 2005-04-22 commit.
* * 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].