summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tclConfig.sh.in (TCL_EXTRA_CFLAGS): set to @CFLAGS@, whichhobbs2004-06-151-2/+2
| | | | is the configure-time CFLAGS. Addendum to m4 change on 2004-05-26.
* * doc/Encoding.3: Removed bogus claims about tcl_libPath.dgp2004-06-111-3/+1
| | | | | | | | | | | | | | * generic/tclInterp.c (Tcl_Init): Stopped setting the tcl_libPath variable. [tclInit] can get all its directories without it. * tests/unixInit.test: Modified test code that made use of tcl_libPath variable. * unix/tclUnixInit.c: Stopped setting the tclDefaultLibrary variable, execept on the Mac OS X platform with HAVE_CFBUNDLE. In that configuration we should seek some way to make use of the TIP 59 facilities and get rid of that usage of tclDefaultLibrary as well.
* * unix/tclUnixInit.c: The routines Tcl_Init() and TclSourceRCFile()dgp2004-06-112-110/+3
| | | | | | | | | | * win/tclWinInit.c: had identical implementations for both win and * generic/tclInterp.c: unix. Moved to a single generic implementation. * generic/tclMain.c: * library/init.tcl: * generic/tclInitScript.h (removed): * unix/Makefile.in: * win/tcl.dsp:
* * unix/configure.in: Updated TCL_PACKAGE_PATH value todgp2004-06-112-3/+3
| | | | | | | | | | | | * win/configure.in: handle --libdir configuration. * unix/configure.in: autoconf-2.57 * win/configure.in: * generic/tclBasic.c (Tcl_CreateInterp): Moved call to TclInitEmbeddedConfigurationInformation() earlier in Tcl_CreateInterp() so that other parts of interp creation and initialization may access and use the config values.
* * unix/tclUnixInit.c (TclpInitLibraryPath): Disabled addition ofdgp2004-06-101-2/+2
| | | | | | | | | | | | | | * win/tclWinInit.c (TclpInitLibraryPath): relative-to-executable directories to the library search path. A first step in reform of Tcl's startup process. ***POTENTIAL INCOMPATIBILITY*** Attempts to directly run ./tclsh or ./tcltest out of a build directory will either fail, or will make use of an installed script library in preference to the one in the source tree. Use `make shell` or `make runtest` instead. * tests/unixInit.test: Modified tests to suit above changes.
* Silence compiler warnings.dgp2004-06-083-9/+7
|
* Regendkf2004-05-301-0/+34
|
* Made compiling with -Wstrict-prototypes -Wmissing-prototypes much cleaner.dkf2004-05-274-7/+14
| | | | Also added support for [FRQ 951168] but left that switched off by default.
* * unix/Makefile.in: Rework configure ordering to TCL_LINK_LIBS,hobbs2004-05-265-3196/+3127
| | | | | | | | | | | | * unix/tcl.m4: ENABLE_SHARED, CONFIG_CFLAGS, & ENABLE_SYMBOLS * unix/configure: before TCL_EARLY_FLAGS and TCL_64BIT_FLAGS * unix/configure.in: (about 400 lines earlier) in configure.in. This forces CFLAGS configuration to be done before many tests, which is needed for 64-bit builds and may affect other builds. Also make CONFIG_CFLAGS append to CFLAGS directly instead of using EXTRA_CFLAGS, and have LDFLAGS append to any existing value. [Bug #874058] * unix/dltest/Makefile.in: change EXTRA_CFLAGS to DEFS
* 2004-05-14 Kevin B. Kenny <kennykb@acm.org> Kevin B Kenny2004-05-143-141/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: Promoted TclpLocaltime and TclpGmtime * generic/tclIntDecls.h: from Unix-specific stubs to the generic * generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs' * generic/tclStubInit.c: * unix/tclUnixPort.h: * generic/tclClock.c: Changed a buggy 'GMT' timezone specification to the correct 'GMT0'. [Bug #922848] * unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to unix/tclUnixTime.c where they belong. * unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone, ThreadSafeGMTime [removed], ThreadSafeLocalTime [removed], SetTZIfNecessary, CleanupMemory): Restructured to make sure that the same mutex protects all calls to localtime, gmtime, and tzset. Added a check in front of those calls to make sure that the TZ env var hasn't changed since the last call to tzset, and repeat tzset if necessary. [Bug #942078] Removed a buggy test of the Daylight Saving Time information in 'gettimeofday' in favor of applying 'localtime' to a known value. [Bug #922848] * tests/clock.test (clock-3.14): Added test to make sure that changes to $env(TZ) take effect immediately. * win/tclWinTime.c (TclpLocaltime, TclpGmtime): Added porting layer for 'localtime' and 'gmtime' calls.
* * Applied [SF Tcl Patch 868853], fixing a mem leak inandreas_kupries2004-05-041-1/+10
| | | | | TtySetOptionProc. Report and Patch provided by Stuart Cassoff <stwo@users.sf.net>.
* * unix/tclUnixFCmd.c (TclpObjNormalizePath): Corrected improperdgp2004-04-261-3/+12
| | | | positioning of returned checkpoint. [Bug 941108]
* * generic/tclPort.h:das2004-04-241-2/+2
| | | | | | | | | * macosx/Makefile: * unix/Makefile.in: followup on tcl header reform [FR 922727]: removed use of relative #include paths in tclPort.h to allow installation of private headers outside of tcl source tree; added 'unix' dir to compiler header search path; add newly required tcl private headers to Tcl.framework on Mac OSX.
* * generic/tclInt.h:davygrvy2004-04-231-0/+30
| | | | | | | | | * generic/tclThread.c: * generic/tclEvent.c: * unix/tclUnixThrd.c: * win/tclWinThrd.c: Provisions made so masterLock, initLock, allocLock and joinLock mutexes can be recovered during Tcl_Finalize.
* * win/tclWinInit.c (TclpSetInitialEncodings): note that WIN32_CEhobbs2004-04-071-3/+6
| | | | | | | | | | is also a unicode platform. * generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable): * generic/tclInt.h: Correct handling of UTF * unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually * win/tclWinFile.c (TclpFindExecutable): "clean", allowing the * win/tclWinInit.c (TclpInitLibraryPath): loading of Tcl from paths that contain multi-byte chars on Windows [Bug 920667]
* Patch 922727 committed. Implements three changes:dgp2004-04-0614-33/+14
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
* * README: Bumped version number to 8.5a2 todgp2004-03-263-5/+5
| | | | | | | | | | | * tools/tcl.wse.in: distinguish HEAD of CVS development * unix/configure.in: from the recent 8.5a1 release. * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf-2.57 * win/configure:
* Include tclInt.h instead of tclPort.h to fix building on Solaris.rmax2004-03-191-2/+2
|
* autoconf-2.57dgp2004-03-191-1/+1
|
* * unix/tcl.m4: Removed -Wno-strict-aliasing.rmax2004-03-181-1/+1
|
* * generic/tclIntDecls.h: Removed TclpTime_t. It wasn't really needed,rmax2004-03-181-6/+4
| | | | | | | | | | * generic/tclInt.h: but caused warnings related to * generic/tclInt.decls: strict aliasing with GCC 3.3. * generic/tclClock.c: * generic/tclDate.c: * generic/tclGetDate.y: * win/tclWinTime.c: * unix/tclUnixTime.c:
* * generic/tclNamesp.c: Added temporary pointer variables to workrmax2004-03-181-4/+9
| | | | | * generic/tclStubLib.c: around warnings related to * unix/tclUnixChan.c: strict aliasing with GCC 3.3.
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-174-50/+6
|
* * unix/configure, unix/tcl.m4: add -Wno-strict-aliasing for GCC tohobbs2004-03-162-2/+2
| | | | suppress useless type puning warnings.
* Fixed incorrect reporting of OS version for DJGPP.vbwagner2004-03-091-1/+14
| | | | | This known misinterpretation of uts_name struct fields is now considered "feature" of DJGPP and so needs workaround in Tcl.
* Removed undefining of extra error codes for DJGPP. It is not needed whenvbwagner2004-03-091-7/+1
| | | | Waterloo TCP 32 is properly configured for actual version of DJGPP
* hidden unix-specific implementations of file volumes and file attributesvbwagner2004-03-052-4/+18
| | | | | | | under #ifndef DJGPP. Added couple of undefs into tclUnixPort.h to avoid confilct between Waterloo TCP and DJGPP system error constants
* Fix minor syntax problems. [Bug 909288]dkf2004-03-041-6/+6
|
* update patchlevel to 8.5a1hobbs2004-03-023-6/+12
|
* update HP-11 build libs setuphobbs2004-03-021-1/+7
|
* * unix/tcl.m4 (SC_CONFIG_CFLAGS): Allow 64-bit enabling ondgp2004-03-012-2/+2
| | | | | IRIX64-6.5* systems. [Bug 218561] * unix/configure: autoconf-2.57
* Fix memleak with long hostnames. [Bug 888777]dkf2004-02-251-1/+3
|
* Regendkf2004-02-241-4/+4
|
* TIP#100 implementation largely based on work by Georgios Petasis.dkf2004-02-244-7/+348
|
* Whitespace policedgp2004-02-181-28/+29
|
* * tests/unixInit.test (unixInit-7.1):hobbs2004-02-171-1/+15
| | | | | * unix/tclUnixInit.c (TclpInitPlatform): ensure the std fds exist to prevent crash condition [Bug #772288]
* filesystem fixes for '-force' consistency and picky compilersvincentdarley2004-01-292-2/+11
|
* filesystem optimisation -- Three main issues accomplished: (1) cleaned up ↵vincentdarley2004-01-211-21/+53
| | | | variable names in
* Minor fixes and update of UNIX documentation installerdkf2004-01-171-0/+4
|
* All uses of 'panic' (the macro) changeddavygrvy2003-12-244-17/+18
| | | | | | | to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264]
* fix to file normalization with relative linksvincentdarley2003-12-171-11/+47
|
* allow creation of relative linksvincentdarley2003-12-121-3/+24
|
* * unix/configure:hobbs2003-12-092-6/+75
| | | | | * unix/tcl.m4: updated OpenBSD build configuration based on [Patch #775246] (cassoff)
* #ifdef'd out errno declarations; incompatible with recent glibc. [Bug 852369]dkf2003-12-091-1/+3
|
* Changes from Victor Wagner <vitus@45.free.net> for better DJGPP support.davygrvy2003-11-181-1/+5
|
* Changes from Victor Wagner <vitus@45.free.net> for DJGPP support.davygrvy2003-11-182-4/+13
|
* TIP#138 implementation plus extra test stuff [Patch 731356]dkf2003-11-141-8/+5
|
* * unix/configure:hobbs2003-11-122-81/+79
| | | | | | * unix/tcl.m4: improve AIX --enable-64bit handling remove -D__NO_STRING_INLINES -D__NO_MATH_INLINES from CFLAGS_OPTIMIZE on Linux. Make default opt -O2 (was -O).
* added socklen_t typedef for DJGPPdavygrvy2003-11-111-1/+2
|
* * unix/tclUnixInit.c (TclpInitLibraryPath):dgp2003-11-101-2/+21
| | | | | * win/tclWinInit.c (TclpInitLibraryPath): Fix for [Bug 832657] that should not run afoul of startup constraints.