summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* Export stubs for libtommath; fix mingw compiler warningsKevin B Kenny2005-12-131-5/+10
|
* * unix/tcl.m4, unix/configure: Fix sh quoting error reported inhobbs2005-12-122-4/+4
| | | | bash-3.1+ [Bug 1377619] (schafer)
* * unix/tclUnixPort.h (Darwin): fix incorrect __DARWIN_UNIX03 configuredas2005-12-061-1/+3
| | | | overrides that were originally copied from Darwin CVS (rdar://3693001).
* * unix/tclUnixPort.h (Darwin): fix incorrect __DARWIN_UNIX03 configuredas2005-12-061-8/+10
| | | | overrides that were originally copied from Darwin CVS (rdar://3693001).
* * unix/configure.in: move check for fts API to configure.in and run itdas2005-12-055-90/+114
| | | | | | | | | * unix/tcl.m4: on all platforms, since Linux glibc2 and *BSDs also have this; using fts is more efficient than recursive opendir/readdir. * unix/tclUnixFCmd.c (TraverseUnixTree): add support to fts code for platforms with stat64. * unix/configure: * unix/tclConfig.h.in: regen.
* * unix/configure: Use FTS file APIs on Darwin if available.hobbs2005-12-053-24/+174
| | | | | | * unix/tcl.m4: Addresses file delete issues in readdir noted * unix/tclUnixFCmd.c: in [Bug 1034337]. (steffen) Reduce on stat call in DoCopyFile. (steffen)
* documented macosx-only configure options.das2005-12-031-1/+6
|
* Bug 1371446 plus buildability on ancient SolarisKevin B Kenny2005-12-021-3/+3
|
* Add remaining dependency info for UNIXdkf2005-12-011-87/+93
|
* * unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset.das2005-12-012-6/+4
| | | | * unix/configure: regen.
* Add compiler-related dependency information to prevent problems when developingdkf2005-11-301-9/+9
| | | | the bytecode compiler. They've bitten me one time more than I can stand!
* add #include <libkern/OSByteOrder.h> for OSX 10.2das2005-11-271-1/+2
|
* * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-2712-205/+597
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tk/unix/configure.in. * unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes (dist): add new macosx files. * unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory. * unix/tclUnixFCmd.c: * macosx/tclMacOSXFCmd.c: ppc64 and endian (i386) fixes. (TclMacOSXCopyFileAttributes): add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy]. * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files. * generic/tclInt.h: clarify fat compile comment. * unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001). * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64 * macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.xcode/default.pbxuser (new file): * macosx/Tcl.xcode/project.pbxproj (new file): * macosx/Tcl.xcodeproj/default.pbxuser (new file): * macosx/Tcl.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tcltest targets and support for universal (fat) compiles. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * unix/dltest/Makefile.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects). * macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tcl/macosx, add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tcl.decls: add Tcl_Main declaration as comment to avoid 'checkstubs' target complaining about it missing from stubs. * generic/regex.h: * generic/tclDate.c: * generic/tclEnv.c: * generic/tclGetDate.y: * generic/tclIOUtil.c: * generic/tclObj.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclPathObj.c: * generic/tclThreadAlloc.c: * generic/tclThreadStorage.c: * generic/tclTrace.c: * generic/tclVar.c: * generic/tommath.h: * tools/fix_tommath_h.tcl: * unix/tclUnixFCmd.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file). These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclNamesp.c (NamespaceEnsembleCmd): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/tclExecute.c (TclExecuteByteCode): fix unused variable warning when NO_WIDE_TYPE is defined. * generic/regguts.h: only #define NDEBUG if not already #defined. * unix/tclUnixNotfy.c: * macosx/tclMacOSXNotify.c: sync whitespace & comments. * unix/tclUnixPort.h: * win/tclWinPort.h: remove declaration of obsolete&unused TclpMutex API. * unix/configure: * unix/tclConfig.h.in: regen.
* * unix/Makefile.in (install-libraries): Updated Makefile to newandreas_kupries2005-11-211-3/+3
| | | | | | | | | | | * win/Makefile.in (install-libraries): version of the http package. This fixes the ifneeded/provide mismatch reported when trying to require http. Should we maybe try to automatically extract the version number from the http code to prevent future breakage ? This follows the update of the version number by dgp on Nov 15 (No entry found in the ChangeLog).
* More bits of ANSIfyingdkf2005-11-119-229/+253
|
* * 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]
* Added target to make it easier to debug crashing tests.dkf2005-11-091-1/+8
|
* RFE 1071992Kevin B Kenny2005-11-043-550/+25
|
* Bug 1163896Kevin B Kenny2005-11-042-0/+24
|
* RFE 1333318Kevin B Kenny2005-11-041-2/+2
|
* ANSIfydkf2005-11-0210-653/+626
|
* Revised code to build in situations where strchr(.,.) is a macro.dgp2005-10-211-5/+3
|
* ANSI-fy declarations and NULL handlingdkf2005-10-211-316/+299
|
* * generic/tclExecute.c: Removed obsolete use of NO_ERRNO_H.dgp2005-10-133-153/+0
| | | | | | | | | | * tools/man2tcl.c: * unix/tcl.m4: * unix/tclConfig.h.in: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* TIP#237 IMPLEMENTATIONdgp2005-10-081-15/+63
| | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.
* * unix/tclUnixFCmd.c (TraverseUnixTree): Adjust 2004-11-11 change tomsofer_wcodes_branch_20051007kennykb_numerics_branch_20051008hobbs2005-10-071-34/+52
| | | | | * 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-2/+2
| | | | shl_load only. [Bug 1204237]
* * 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
* More flags hacking, this time for open64 under RHEL3. [Bug 1287638]dkf2005-09-151-0/+2
|
* * 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.
* allow NULL interp in Tcl_FSMatchInDirectoryvincentdarley2005-08-311-5/+7
|
* 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
|