summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* TIP#219 IMPLEMENTATIONandreas_kupries2005-08-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/SetChanErr.3: ** New File **. Documentation of the new channel API functions. * generic/tcl.decls: Stub declarations of the new channel API. * generic/tclDecls.h: Regenerated * generic/tclStubInit.c: * tclIORChan.c: ** New File **. Implementation of the reflected channel. * generic/tclInt.h: Integration of reflected channel and new error * generic/tclIO.c: propagation into the generic I/O core. * generic/tclIOCmd.c: * generic/tclIO.h: * library/init.tcl: * tests/io.test: Extended testsuite. * tests/ioCmd.test: * tests/chan.test: * generic/tclTest.c: * generic/tclThreadTest.c: * unix/Makefile.in: Integration into the build machinery. * win/Makefile.in: * win/Makefile.vc:
* * unix/configure.in:mdejong2005-08-231-2/+2
| | | | | | * win/configure: Regen. * win/configure.in: Update minimum autoconf version to 2.59.
* * unix/tclConfig.h.in: autoheader-2.59.das2005-08-221-9/+0
|
* regen unix/configureKevin B Kenny2005-08-111-994/+2421
|
* radical refactoring of thread storage to untangle dependenciesKevin B Kenny2005-08-113-175/+0
|
* Solaris mis-names the cp1251 encoding.dkf2005-08-051-1/+2
|
* * unix/tclLoadDyld.c (TclpDlopen, TclpLoadMemory): workaroundsdas2005-07-301-13/+35
| | | | for bugs/changes in behaviour in Mac OS X 10.4 Tiger.
* * generic/tclPipe.c (TclCreatePipeline): Arrange for POSIX systems todkf2005-07-281-2/+2
| | | | | | | | * unix/tclUnixPipe.c (TclpOpenFile): use the O_APPEND flag for * tests/exec.test (exec-19.1): files opened in a pipeline like ">>this". Note that Windows cannot support such access; there is no equivalent flag on the handle that can be set at the kernel-call level. The test is unix-specific in every way. [Bug 1245953]
* * 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/configure: Regen.mdejong2005-07-252-2421/+1060
| | | | | | | | | | | | | * unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH): * win/configure: Regen. * 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]
* Getting more systematic about styledkf2005-07-243-611/+618
|
* drop support of ancient BSD, IRIX4, RISCos, Ultrix, and ldAout.tclKevin B Kenny2005-07-214-1236/+75
|
* Getting more systematic about styledkf2005-07-208-1735/+1933
|
* Systematizing the formattingdkf2005-07-197-923/+1087
| | | | | Also simplified the AIX loader so that it's failure-mode code wasn't scattered all over quite so much.
* Formatting systematization. dkf2005-07-191-263/+309
| | | | | Also removed check of result of ckalloc() for NULL; it will never succeed (ckalloc will *always* panic on failure)
* * unix/tclUnixSock.c: Use a ProcessGlobalValue to store thedgp2005-07-131-56/+62
| | | | | | | * win/tclWinSock.c: value returned by Tcl_GetHostName() ([info hostname]). Also re-order initialization of the value on Windows to favor GetComputerName() over gethostname() as a source of the information.
* * unix/Makefile.in: Purged use of TCLTESTARGS [RFE 1161550].dgp2005-07-051-3/+3
|
* Protect against spurious wake-ups while waiting on the condition variablevasiljevic2005-07-011-6/+8
| | | | when tearing down the notifier thread [Bug# 1222872].
* bug 1225727Kevin B Kenny2005-06-221-1/+22
|
* autoconfdgp2005-06-211-2/+3
|
* Only enable the 'compile' special debugging feature when requested indkf2005-06-212-7/+9
| | | | | configure.in; removes irrelevant junk from the configure files of extensions that use Tcl's tcl.m4.
* * generic/tclInt.h: ensure WORDS_BIGENDIAN is defined correctly with fatdas2005-06-182-2/+2
| | | | | | | | | | | 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.59
* 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.