summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBasic.c: More callers of TclObjPrintf anddgp2005-09-152-5/+108
| | | | | | | | | | | | | | | | * generic/tclCkalloc.c: TclFormatToErrorInfo. * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c * unix/configure: autoconf-2.59 FossilOrigin-Name: cf51f10457c93581fd543b8f9cb1e38a71139466
* More flags hacking, this time for open64 under RHEL3. [Bug 1287638]dkf2005-09-151-0/+2
| | | FossilOrigin-Name: 1fd41a0f1d9f39ca0dbc4c781027dd93f88ea8ce
* * unix/tclUnixSock.c (InitializeHostName): Synchronized use ofandreas_kupries2005-09-022-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | static modifier in declaration and definition of function. * unix/tclUnixChan.c (FileTruncateProc): Synchronized use of static modifier in declaration and definition of function. * generic/tclResult.c (ReleaseKeys): Synchronized use of static modifier in declaration and definition of function. * generic/tclListObj.c (NewListIntRep): Synchronized use of static modifier in declaration and definition of function. * generic/tclEncoding.c (InitializeEncodingSearchPath): Synchronized use of static modifier in declaration and definition of function. * generic/tclEncoding.c (FillEncodingFileMap): Synchronized use of static modifier in declaration and definition of function. * generic/tclIORChan.c (RcNewHandle): Synchronized use of static modifier in declaration and definition of function. FossilOrigin-Name: 5b652caf778a9ddb208ca2f07ce55c65fc33d061
* allow NULL interp in Tcl_FSMatchInDirectoryvincentdarley2005-08-311-5/+7
| | | FossilOrigin-Name: 5139fcec81092f6d0fbdcccc79baeab183f41857
* 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: FossilOrigin-Name: d936ddccf8636a3ce65f75ce4732b434bb0a4b73
* * unix/configure.in:mdejong2005-08-231-2/+2
| | | | | | | | * win/configure: Regen. * win/configure.in: Update minimum autoconf version to 2.59. FossilOrigin-Name: 5ba298340cae50320db584a9f92aa26fb845327a
* * unix/tclConfig.h.in: autoheader-2.59.das2005-08-221-9/+0
| | | FossilOrigin-Name: d3b5566cd99233bff93e743406fd9e583e6effd5
* regen unix/configurekennykb2005-08-111-994/+2421
| | | FossilOrigin-Name: 25d2e6dbfe1ec55a834d6322dd581ecb1eef535d
* radical refactoring of thread storage to untangle dependencieskennykb2005-08-113-175/+0
| | | FossilOrigin-Name: be83fe62c89c349c41a2abec886f77ad1c24a15b
* Solaris mis-names the cp1251 encoding.dkf2005-08-051-1/+2
| | | FossilOrigin-Name: 572927055157aebba1319c925eacfa907ad629b6
* * unix/tclLoadDyld.c (TclpDlopen, TclpLoadMemory): workaroundsdas2005-07-301-13/+35
| | | | | | for bugs/changes in behaviour in Mac OS X 10.4 Tiger. FossilOrigin-Name: 944ee67d7d600e761cae6cc97cbcdeb77e1c9ff1
* * 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] FossilOrigin-Name: 6c8172e1e625508afeb06c7e001f5533e8e46c40
* * 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] FossilOrigin-Name: 8f2e61fad006d66c180d5ed5a08fec0b8e28d0b3
* * 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] FossilOrigin-Name: 65b63ba3254eff2e66cadeec5c81d56c926c6b3c
* Getting more systematic about styledkf2005-07-243-611/+618
| | | FossilOrigin-Name: 83d72c558cc66d1e10666e2fab0f6e87addb5c3d
* drop support of ancient BSD, IRIX4, RISCos, Ultrix, and ldAout.tclkennykb2005-07-214-1236/+75
| | | FossilOrigin-Name: 04c5a55f9f4e872f3345a39a6fe23307aa40f940
* Getting more systematic about styledkf2005-07-208-1735/+1933
| | | FossilOrigin-Name: 0c5cea4d810d972d3fc068b559c281718525451f
* 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. FossilOrigin-Name: b174fe79d4c7ce52b777c1055b5d0329e31463c3
* 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) FossilOrigin-Name: ac17f9daa274eff8141368d6195e148d5f310703
* * 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. FossilOrigin-Name: 1fd12e8db77cf9f9c7718bed2d669528b9d296d8
* * unix/Makefile.in: Purged use of TCLTESTARGS [RFE 1161550].dgp2005-07-051-3/+3
| | | FossilOrigin-Name: 874e6a52ddb46dd3e3dcc545d350ee350df05ca3
* Protect against spurious wake-ups while waiting on the condition variablevasiljevic2005-07-011-6/+8
| | | | | | when tearing down the notifier thread [Bug# 1222872]. FossilOrigin-Name: e5562a29aca7223d12ff4a1ddbe434d180c72ed9
* bug 1225727kennykb2005-06-221-1/+22
| | | FossilOrigin-Name: 6c3e03abdb7b7c96744e27ca242ef0ed59432c86
* autoconfdgp2005-06-211-2/+3
| | | FossilOrigin-Name: 3a7fe5e9c937e1243aca9cdf96a93079cb9712f0
* 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. FossilOrigin-Name: 0cc9693bf4b4f0f994d147171394ab78efaac8f8
* * 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 FossilOrigin-Name: 02ddae4aec34b1b29e9b60c968850833ee5c3df8
* autoconfdgp2005-06-071-1/+1
| | | FossilOrigin-Name: 2c02e2527f221202f709bb3bef4fbbf0d99d9928
* Bump patchlevel to a4dkf2005-06-072-4/+4
| | | FossilOrigin-Name: 0c38ae7bb893228feefdece2f8983a26682d7f02
* 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). FossilOrigin-Name: 3280056391a69ec28c5ea78944729c2ada97777e
* add libtommath to dist targethobbs2005-06-041-1/+4
| | | FossilOrigin-Name: eef0f5a23f70905259847534b426534018c2d973
* * 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. FossilOrigin-Name: af56fb84a6251842b05ef6390a8275b895d885ed
* regenerated after dkf's modifications to tcl.m4rmax2005-06-021-37/+46
| | | FossilOrigin-Name: aecf3a0fe956f0bd48db900b18504d62ea768934
* Fix m4 quoting problems :}dkf2005-06-021-4/+4
| | | FossilOrigin-Name: 122b06ca010005c3e23dbc6c05b0942dbb6ab24f
* Make the threaded build compile again...dkf2005-06-011-3/+3
| | | FossilOrigin-Name: 745f7e4cf03030228bfd9b2515d606f31de43dbb
* Standardize help messages for 'configure --help' using AC_HELP_STRINGdkf2005-05-312-51/+85
| | | FossilOrigin-Name: 4392cbd439c00cf5ded321f39fcbe7e07afd219f
* The notifier thread is now created as joinable and properly joined invasiljevic2005-05-311-2/+7
| | | | | | the Tcl_FinalizeNotifier. FossilOrigin-Name: 72d6038dca7b585337cc895e1921ce16d0c51576
* * 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 FossilOrigin-Name: 7028a4742abf70e7b2f141e8ce632a221dfcd41c
* fixed typo in EXTRA_INSTALL_BINARIESdas2005-05-232-3/+3
| | | FossilOrigin-Name: 70025405a5e735b348ef3c3c397860417d0be72a
* * 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 FossilOrigin-Name: 7c25639f1f15ac448f54fe80dcb42206cbd95968
* * 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 FossilOrigin-Name: f1f3008c9081ddebc68176b8fefa4abe111b800f
* * 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 FossilOrigin-Name: 7ff2693241fa7879db699d629adeab83f4711017
* * 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]. FossilOrigin-Name: c4a9664679f922aaafbd877dfb6fdaf1f93d9785
* * unix/tclUnixFCmd.c: add lint attr to enum to satisfy strictlyhobbs2005-05-111-1/+2
| | | | | | compliant compilers that don't like trailing ,s. FossilOrigin-Name: 03b9a47d8d539a6179a8c6037859de14120a0281
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232kennykb2005-05-1014-22/+263
| | | FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
* * unix/tcl.m4, unix/configure: correct Solaris 10 (5.10) check andhobbs2005-05-072-7/+24
| | | | | | add support for x86_64 Solaris cc builds. FossilOrigin-Name: 8f214f285491e8ae3d465227c253c8bb80b9e891
* * 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` FossilOrigin-Name: 83aa957ebe8d942b417ec080d6731e06e930ba73
* * unix/tclUnixNotfy.c: applied dkf's tkMacOSXNotify.c cleanup changes.das2005-04-301-109/+105
| | | FossilOrigin-Name: 73b282ccef11de3a2370127734c856f392e7ac45
* * 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 FossilOrigin-Name: 20a693c229a872ba529fda92f3baabeb24e94ff0
* 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. FossilOrigin-Name: 1ba74d7ab759cde0b08b5171e9f10db845bffeac
* * 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. FossilOrigin-Name: 3d8bfa527e834aa5543f6185bbac9d76d60419b2