summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * unix/Makefile.in: added customization of default module path rootsdas2004-08-261-1/+9
| | | | | | via TCL_MODULE_PATH makefile variable. * macosx/Makefile: add platform standard locations to default module path roots. [Patch 94288]
* * doc/tm.n: New file, documentation for Tcl Modules, based on theandreas_kupries2004-08-191-4/+4
| | | | | | | TIP. * unix/mkLinks: Regenerated. * win/makefile.vc: Added tm.tcl to list of files to install.
* TIP #173 and #209 implementation - see ChangeLog for detailsKevin B Kenny2004-08-183-5/+20
|
* Changed handling of the returned thread ID since broken on 64-bitvasiljevic2004-08-101-2/+4
| | | | systems (Cray). Thanks to Rob Ratcliff for reporting the bug.
* * unix/configure:das2004-07-303-6/+7
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var. * unix/Makefile.in: added MAC_OSX_OBJS variable.
* * generic/tclEvent.c: Correct threaded obj allocator tohobbs2004-07-211-12/+34
| | | | | | | * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
* * unix/Makefile.in:das2004-07-201-1/+26
| | | | | | | | * win/Makefile.in: added 'install-private-headers' makefile target to allow optionally installing private tcl headers. [FR 922727] * macosx/Makefile: use new 'install-private-headers' target to install private headers into framework. [FR 922727]
* * unix/tclUnixFile.c (NativeMatchType): added support fordas2004-07-201-1/+5
| | | | readonly matching of user immutable files (where available).
* * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after theirhobbs2004-07-164-1470/+1332
| | | | | | | | | * unix/configure.in, unix/configure: _DEFAULT to allow for env setting to override m4 switches. Move SC_MISSING_POSIX_HEADERS up and consolidate calls to limit redundancy in configure. (CFLAGS_WARNING): Remove -Wconversion (SC_ENABLE_THREADS): Set m4 to force threaded build when built against a threaded Tcl core.
* * unix/tclUnixNotfy.c (NotifierThreadProc): Accepted Joeandreas_kupries2004-07-161-1/+3
| | | | | Mistachkin's patch for [Tcl SF Bug 990500], properly closing the notifier thread when its exits.
* * unix/tclUnixThrd.c (TclpFinalizeMutex): Accepted Joeandreas_kupries2004-07-151-0/+1
| | | | | Mistachkin's patch for [Tcl SF Bug 99453], closing leakage of mutexes. They were not destroyed properly upon finalization.
* make mkLinksdgp2004-07-081-4/+0
|
* Version 5 of [Patch 976496]Joe Mistachkin2004-06-243-3/+16
|
* Corrected typo in latest patch that broke build on OS X.dgp2004-06-231-2/+2
|
* Regendkf2004-06-231-0/+118
|
* Version of [Patch 746578] that works with Linux and is likely to work elsewheredkf2004-06-234-56/+361
|
* Integrated fix for Tcl Bug #770053 from core-8-4-branchvasiljevic2004-06-222-4/+4
|
* * generic/tclEncoding.c: Static TclFindEncodings -> FindEncodings.dgp2004-06-182-5/+10
| | | | | | | * generic/tclInt.h: Updated TclpFindExecutable() so that failed * generic/tclUtil.c: attempts to find the executable are saved * unix/tclUnixFile.c: just as successful finds are. [Patch 966053] * unix/tclUnixTest.c:
* * unix/tcl.m4: autoconf 2.5 fixes in Darwin section.das2004-06-182-6/+20
| | | | * unix/configure: autoconf-2.57
* Added various Chinese locale->encoding mappingsdkf2004-06-181-1/+6
|
* * 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
|