summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * README: Bump version number to 8.4.12dgp2005-11-163-5/+5
| | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf-2.13 * win/configure:
* * unix/tclUnixFCmd.c (MAX_READDIR_UNLINK_THRESHOLD): reduce to 130hobbs2005-11-091-3/+3
| | | | | based on errors seen on OS X 10.3 with lots of links in a dir. [Bug 1034337 followup]
* * unix/tcl.m4: Added code to enable [load] on LynxOS. Thanks todgp2005-11-042-281/+305
| | | | | | heidibr@users.sf.net for the patch. [Bug 1163896]. * unix/configure: autoconf-2.13.
* * generic/tclUnixInit.c (TclpSetInitialEncodings): Modified sodgp2005-11-031-2/+3
| | | | | | that multiple calls can continue to atttempt to properly set the system encoding. Needed for Tclkit to properly support non-default encodings. Thanks to Yaroslav Schekin. [Bug 1201171].
* * generic/tclBasic.c:Miguel Sofer2005-10-231-1/+3
| | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclLink.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclScan.c: * generic/tclTest.c: * generic/tclVar.c: * mac/tclMacInit.c: * unix/tclUnixInit.c: * win/tclWinInit.c: Insure that the core never calls TclPtrSetVar, Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref new value. It is not possible to handle error returns correctly in that case [Bug 1334947], one has the choice of leaking the object in some cases, or else risk crashing in some others.
* * unix/tclUnixFCmd.c (TraverseUnixTree): Adjust 2004-11-11 change tohobbs2005-10-071-44/+61
| | | | | * tests/fCmd.test (fCmd-20.2): account for NFS special files with a readdir rewind threshold. [Bug 1034337]
* * unix/tclLoadShl.c (TclpDlopen): use DYNAMIC_PATH on secondhobbs2005-10-051-6/+5
| | | | shl_load only. [Bug 1204237]
* autoconf-2.13dgp2005-09-151-229/+278
|
* Added yet another corner-case hack, this time for RHEL3. [Bug 1287638]dkf2005-09-151-0/+3
|
* Solaris mis-names the cp1251 encoding.dkf2005-08-051-1/+2
|
* * unix/configure, unix/tcl.m4: revert 2005-07-28 change.das2005-07-303-523/+587
| | | | | | * unix/tclLoadDyld.c (TclpDlopen, TclpLoadMemory): workarounds for bugs/changes in behaviour in Mac OS X 10.4 Tiger, sync formatting changes from HEAD.
* * unix/configure, unix/tcl.m4: defined TCL_LOAD_FROM_MEMORY onhobbs2005-07-282-256/+260
| | | | Darwin only for SHARED_BUILD
* Backport of fix for [Bug 1245953]dkf2005-07-281-2/+2
|
* * unix/configure: Regen.mdejong2005-07-262-1/+15
| | | | | | | | * unix/configure.in: Check for a $prefix/share directory and add it the the package if found. This will check for Tcl packages in /usr/local/share when Tcl is configured with the default dist install. [patch 1231015]
* * unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):mdejong2005-07-251-0/+73
| | | | | | | | | | | * win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH): Split confused search for tclsh on PATH and build and install locations into two macros. SC_PROG_TCLSH searches just the PATH. SC_BUILD_TCLSH determines the name of the tclsh executable in the Tcl build directory. [Tcl bug 1160114] [Tcl patch 1244153]
* * unix/tcl.m4, unix/configure: Backported [Bug 1095909], removinghobbs2005-07-084-578/+366
| | | | | * unix/tclUnixPort.h: any use of readdir_r as it is not * unix/tclUnixThrd.c: necessary and just confuses things.
* Protect against spurious wake-ups while waiting on the condition variablevasiljevic2005-07-011-6/+8
| | | | when tearing down the notifier thread [Bug# 1222872].
* * unix/Makefile.in (install-private-headers): rewrite tclPort.h whendas2005-06-231-2/+5
| | | | | installing private headers to remove ../unix relative #include path to tclUnixPort.h (which is incorrect at the installed location).
* bug 1225727Kevin B Kenny2005-06-221-1/+22
|
* *** 8.4.11 TAGGED FOR RELEASE ***das2005-06-182-2/+2
| | | | | | | | | | | | * generic/tclInt.h: ensure WORDS_BIGENDIAN is defined correctly with fat compiles on Darwin (i.e. ppc and i386 at the same time), the configure AC_C_BIGENDIAN check is not sufficient in this case because a single run of the compiler builds for two architectures with different endianness. * unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to ensure we can always relocate binaries with install_name_tool. * unix/configure: autoconf-2.13
* * README: Bump version number to 8.4.11dgp2005-06-183-5/+5
| | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf * win/configure:
* Backport unix threading fixdkf2005-06-071-3/+3
|
* * unix/tclLoadDyld.c: fixed header confilict when building this filedas2005-06-041-1/+2
| | | | with USE_TCL_STUBS.
* * unix/Makefile.in (html): add BUILD_HTML_FLAGS optional varhobbs2005-06-021-3/+3
| | | | | * tools/tcltk-man2html.tcl: add a --useversion to prevent confusion when multiple Tcl source dirs exist.
* Cosmetic change (fixed identation in Tcl_FinalizeNotifier)vasiljevic2005-05-311-4/+4
|
* Notifier thread is created as joinable. Attempt to solve thevasiljevic2005-05-311-3/+8
| | | | Tcl Bug #1082283.
* * README: Bumped patchlevel to 8.4.10hobbs2005-05-273-5/+5
| | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/tcl.spec, unix/configure, unix/configure.in: * win/configure, win/configure.in:
* * macosx/Makefile: moved & corrected EMBEDDED_BUILD check.das2005-05-262-7/+7
| | | | | | * unix/configure.in: corrected framework finalization to softlink stub library to Versions/8.x subdir instead of Versions/Current. * unix/configure: autoconf-2.59
* * unix/configure, unix/configure.in: ensure false Tcl.framework ishobbs2005-05-252-15/+15
| | | | only created with --enable-framework
* * macosx/Makefile:das2005-05-245-503/+662
| | | | | | | | | | | | | * 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-241-41/+281
| | | | | | | | | | * 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
* * macosx/tclMacOSXBundle.c:das2005-05-147-411/+640
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * unix/tcl.m4, unix/configure: correct Solaris 10 (5.10) check andhobbs2005-05-072-257/+273
| | | | add support for x86_64 Solaris cc builds.
* * compat/string.h: fixed memchr() protoype for __APPLE__ so that wedas2005-04-265-356/+460
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * unix/tcl.m4 (Darwin): added -single_module linker flag todas2005-04-092-4/+4
| | | | | TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS. * unix/configure: autoconf-2.13
* 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.
* replaced 'long' times with wides, to cope with Win64Kevin B Kenny2005-03-151-2/+2
|
* Make it all work on OpenBSD. Imported patch from ports tree.patthoyts2005-03-152-281/+329
|
* * unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlinedhobbs2005-02-103-383/+308
| | | | | | * 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.
* 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-282-255/+293
| | | | [Bug 1021871]
* TIP#218 IMPLEMENTATIONandreas_kupries2005-01-272-78/+57
| | | | | | | | | | | | | | | | | | | | | * 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:
* * unix/tcl.m4 (Darwin): fixed bug with static build linking todas2005-01-252-6/+6
| | | | | | | 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
* Convert u_int to unsigned to make clashes with types in standard C headers lessdkf2005-01-101-3/+3
| | | | of a problem. [Bug 1098829]
* Add more locale mapping info for Chinese. [1084595]dkf2005-01-051-1/+6
|
* * unix/tclUnixNotfy.c (NotifierThreadProc): init numFdBitshobbs2004-12-071-5/+5
| | | | [Bug 1079286]
* * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected failure to determinedgp2004-11-252-358/+391
| | | | | | the number of arguments for readdir_r on SunOS systems. [Bug 1071701] * unix/configure: autoconf-2.13
* bumped patchlevel to 8.4.9hobbs2004-11-253-5/+5
|
* took out redundant memcpy from tclUnixNotfy.cKevin B Kenny2004-11-241-3/+1
|
* * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected bad check forKevin B Kenny2004-11-243-413/+450
| | | | | | | | | 3-argument readdir_r [Bug 1001325]. * unix/configure: Regenerated. * unix/tclUnixNotfy.c: Corrected all uses of 'select' to manage their masks using the FD_CLR, FD_ISSET, FD_SET, and FD_ZERO macros rather than bit-whacking that failed under Solaris-Sparc-64. [Bug 1071807]