summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* autoconfdgp2005-06-071-1/+1
|
* Bump patchlevel to a4dkf2005-06-072-4/+4
|
* TIP#208 implementationdkf2005-06-061-2/+49
| | | | It's crude (especially in the tests and docs department) and incomplete (no truncation on non-POSIX platforms).
* add libtommath to dist targethobbs2005-06-041-1/+4
|
* * 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.
* regenerated after dkf's modifications to tcl.m4rmax2005-06-021-37/+46
|
* Fix m4 quoting problems :}dkf2005-06-021-4/+4
|
* Make the threaded build compile again...dkf2005-06-011-3/+3
|
* Standardize help messages for 'configure --help' using AC_HELP_STRINGdkf2005-05-312-51/+85
|
* The notifier thread is now created as joinable and properly joined invasiljevic2005-05-311-2/+7
| | | | the Tcl_FinalizeNotifier.
* * macosx/Makefile: moved & corrected EMBEDDED_BUILD check.das2005-05-262-3/+3
| | | | | | * unix/configure.in: corrected framework finalization to softlink stub library to Versions/8.x subdir instead of Versions/Current. * unix/configure: autoconf-2.59
* fixed typo in EXTRA_INSTALL_BINARIESdas2005-05-232-3/+3
|
* * macosx/Makefile:das2005-05-235-121/+391
| | | | | | | | | | | | | * 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.59
* * generic/tclIOUtil.c (TclLoadFile):das2005-05-232-45/+288
| | | | | | | | | | | * 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.59 * unix/tclConfig.h.in: autoheader-2.59
* * generic/tclInt.decls:das2005-05-1410-60/+544
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclTest.c: * generic/tclUtil.c: * win/tclWin32Dll.c: fixed link error due to direct access by tclTest.c to the MODULE_SCOPE tclPlatform global: renamed existing TclWinGetPlatform() accessor to TclGetPlatform() and moved it to generic code so that it can be used by on all platforms where MODULE_SCOPE is enforced. * macosx/tclMacOSXBundle.c: * 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/Makefile: enable configure caching. * unix/configure.in: wrap tclConfig.h header in #ifndef _TCLCONFIG so that it can be included more than once without warnings from gcc4.0 (as happens e.g. when including both tclInt.h and tclPort.h) * macosx/tclMacOSXBundle.c: * unix/tclUnixChan.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs
* * generic/tclBasic.c: Dropped the TCL_NO_MATH configuration.dgp2005-05-131-11/+4
| | | | | | * generic/tclBinary.c: It's believed this has not been working * generic/tclExecute.c: in a long time. Tcl needs math.h. * unix/Makefile.in: [RFE 1200680].
* * unix/tclUnixFCmd.c: add lint attr to enum to satisfy strictlyhobbs2005-05-111-1/+2
| | | | compliant compilers that don't like trailing ,s.
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-1014-22/+263
|
* * unix/tcl.m4, unix/configure: correct Solaris 10 (5.10) check andhobbs2005-05-072-7/+24
| | | | add support for x86_64 Solaris cc builds.
* * doc/DString.3: Eliminated use of identifier "string" in Tcl'sdgp2005-05-031-8/+8
| | | | | | | | | | | | | * doc/Environment.3: public C API to avoid conflict/confusion with * doc/Eval.3: the std::string of C++. * doc/ExprLong.3, doc/ExprLongObj.3, doc/GetInt.3, doc/GetOpnFl.3: * doc/ParseCmd.3, doc/RegExp.3, doc/SetResult.3, doc/StrMatch.3: * doc/Utf.3, generic/tcl.decls, generic/tclBasic.c, generic/tclEnv.c: * generic/tclGet.c, generic/tclParse.c, generic/tclParseExpr.c: * generic/tclRegexp.c, generic/tclResult.c, generic/tclUtf.c: * generic/tclUtil.c, unix/tclUnixChan.c: * generic/tclDecls.h: `make genstubs`
* * unix/tclUnixNotfy.c: applied dkf's tkMacOSXNotify.c cleanup changes.das2005-04-301-109/+105
|
* * compat/string.h: fixed memchr() protoype for __APPLE__ so that wedas2005-04-264-26/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | 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). * win/tclWinNotify.c (Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_WaitForEvent): don't call ScaleTimeProc for zero wait times (as specified in TIP 233). * unix/Makefile.in: added @PLAT_SRCS@ to SRCS and split out NOTIFY_SRCS from UNIX_SRCS for parity with UNIX_OBJS & NOTIFY_OBJS. * 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, defined MODULE_SCOPE to __private_extern__. (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check. * unix/configure: autoconf-2.59
* Fixed TclpFreeAllocCache() to recognize when being called with NULLvasiljevic2005-04-161-7/+10
| | | | | argument. This is a signal for it to clean up the tsd key associated with the threading allocator.
* * unix/tclUnixInit.c (TclpGetEncodingNameFromEnvironment): Reverseddgp2005-04-131-175/+165
| | | | | | | | order of verifying candidate [encoding system] value, checking against a table in memory first before calling Tcl_GetEncoding and potentially scanning through the filesystem. Also ordered the table so that a binary search could be used within it. Improves startup time a bit more on some systems.
* * unix/tcl.m4 (Darwin): added -single_module linker flag todas2005-04-092-8/+8
| | | | | TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS. * unix/configure: autoconf-2.59
* Updated the OpenBSD configuration and regenerated the configure script.patthoyts2005-03-152-30/+78
|
* * library/tcltest/tcltest.tcl: Better use of [glob -types] to avoiddgp2005-02-241-3/+3
| | | | | | | | | * 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 * unix/Makefile.in: * win/Makefile.in:
* * unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlinedhobbs2005-02-113-1077/+2337
| | | | | | * unix/tcl.m4: into SHLIB_LD). Combine AIX-* and AIX-5 * unix/configure: branches in SC_CONFIG_CFLAGS. Correct gcc builds for AIX-4+ and HP-UX-11. autoconf-2.59 gen'd.
* * unix/configure: autoconf-2.57dgp2005-01-311-1/+7
|
* Restored two double-evals that were removed in the DBGX purge.jenglish2005-01-301-2/+8
| | | | | These are still needed on some platforms to account for TCL_TRIM_DOTS. [Bug 1112654]
* * unix/configure, unix/tcl.m4: add solaris 64-bit gcc buildhobbs2005-01-292-10/+44
| | | | support. [Bug 1021871]
* TIP#218 IMPLEMENTATIONandreas_kupries2005-01-273-85/+67
| | | | | | | | | | | | | | | | | | | | * 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:
* * 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.57
* * generic/tclStubInit.c: Regenerated the stubs support code fromandreas_kupries2005-01-213-32/+198
| | | | | | | | | | | | | | * generic/tclDecls.h: the modified tcl.decls (TIP #233, see below). * doc/GetTime.3: Implemented TIP #233, i.e. the * generic/tcl.decls: 'Virtualization of Tcl's Sense of Time'. * generic/tcl.h: Declared, implemented, and documented the * generic/tclInt.h: specified new API functions. Moved the * unix/tclUnixEvent.c: native (OS) access to time information * unix/tclUnixNotfy.c: into standard handler functions. Inserted * unix/tclUnixTime.c: hooks calling on the handlers where native * win/tclWinNotify.c: access was done before, and where scaling * win/tclWinTime.c: between domains (real/virtual) is required.
* * unix/configure: autoconf-2.57dgp2005-01-121-2204/+974
|
* Make --with-tcl and --with-tk options more robust. [FRQ 951247]dkf2005-01-121-0/+14
|
* Comment typo fixdkf2005-01-111-1/+1
|
* Remove ${DBGX}, ${TCL_DBGX} from Tcl build system [Patch 1081595].jenglish2005-01-106-311/+168
|
* Convert u_int to unsigned to make clashes with types in standard C headers lessdkf2005-01-101-3/+3
| | | | of a problem. [Bug 1098829]
* Remove readdir_r() and related #ifdeffery (see #1095909).jenglish2005-01-095-1269/+2311
| | | | Don't check for HAVE_READDIR_R. Regenerated configure script.
* Performance updates to http::mapReply [1020491] and fix version numbering.dkf2005-01-061-3/+3
|
* bugs 1090413, 1092789 fixedKevin B Kenny2004-12-291-1/+2
|
* * unix/configure.in: Added special processing to remove "$U"dgp2004-12-142-17/+6
| | | | | | | from libraries in the LIBOBJS value. This is an auto-make-ism we need to avoid. [Bug 1081541] * unix/configure: autoconf-2.57
* ran autoconf-2.57dgp2004-12-111-1/+1
|
* Bump to a3 to prevent confusion with a2 release.dkf2004-12-102-4/+4
|
* regen with autoconf 2.57das2004-12-091-193/+206
|
* add library/tzdata,msgs to dist targetcore_8_5_a2hobbs2004-12-071-1/+7
|
* * unix/tclUnixNotfy.c (NotifierThreadProc): init numFdBitshobbs2004-12-071-2/+2
| | | | [Bug 1079286]
* * generic/tclEncoding.c: Different fix for [Bug 1077005].dgp2004-12-041-1/+7
| | | | | | | | | * generic/tclEvent.c: Broke apart TclpSetInitialEncodings() on * generic/tclInt.h: Windows into TclpSetInterfaces(), that is * unix/tclUnixInit.c: fundamentally essential, and the initialization * win/tclWinInit.c: of the system encoding, which is not. Made the TclpSetInterfaces call part of TclInitSubsystems so it cannot be overlooked.
* * generic/tclUtil.c: Updated Tcl_GetNameOfExecutable() todgp2004-12-012-43/+26
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclEncoding.c: make use of a ProcessGlobalValue for * generic/tclEvent.c: storing the executable name. Added internal routines Tcl(Get|Set)ObjNameOfExecutable() to access that storage in Tcl_Obj, rather than string format. * unix/tclUnixFile.c: Rewrote TclpFindExecutable() to use * win/tclWinFile.c: TclSetObjNameOfExecutable to store the executable name it computes. * generic/tclInt.h: Added internal stub entries for * generic/tclInt.decls: TclpFindExecutable and Tcl(Get|Set)ObjNameOfExecutable. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclCmdIL.c: Retrieve executable name in Tcl_Obj form * win/tclWinPipe.c: instead of string form. * unix/tclUnixTest.c: Update [testfindexecutable] command to use new internal interfaces.