summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tclAppInit.c: Removed tclConfig.h #include, now that tcl.hdgp2004-11-121-8/+1
| | | | takes care of it for us.
* * generic/tcl.h:das2004-11-122-9/+11
| | | | | | | | | | * generic/tclInt.h: * unix/Makefile.in: include tclConfig.h from tcl.h and install it as a public header. Normalized compiler include path order to -I${BUILD_DIR} -I${UNIX_DIR} -I${GENERIC_DIR}. * unix/dltest/Makefile.in: add ${BUILD_DIR}/.. to include path to pick up tclConfig.h.
* * unix/Makefile.in: Be sure -I{BUILD_DIR} comes first so thatdgp2004-11-121-3/+3
| | | | | | | we #include the correct tclConfig.h file for the correct build. * generic/tclPort.h: Make sure tclConfig.h is #include'd so that its configuration values can guide portability support.
* * unix/tclUnixInit.c: moved check for HAVE_CFBUNDLE define afterdas2004-11-121-4/+4
| | | | #include "tclInt.h" to ensure tclConfig.h has been included.
* UNIX_DIR, and SRC_DIR are always the same, so no need to -I them both.rmax2004-11-121-4/+4
|
* tclConfig.h.in also depends on tcl.m4.rmax2004-11-121-2/+2
|
* * unix/config.h.in:rmax2004-11-125-16/+19
| | | | | | | | | | | * unix/tclConfig.h.in: renamed * unix/Makefile.in: Completed support for config header, * unix/configure.in: fixed building outside of the unix dir, * unix/tclAppinit.c: and reflected the name change of config.h. * generic/tclInt.h: * unix/configure: generated
* Adapt Tcl so it uses a config.h header instead of stuffing all #defs on thedkf2004-11-126-223/+960
| | | | | command line. Third parties using generic/tclInt.h, unix/tclAppInit.c or unix/tcl.m4 should be unaffected. Part of the general TIP#34 project.
* Regendkf2004-11-121-990/+2451
|
* * unix/tcl.m4, unix/tclUnixPort.h: Check for pthread_attr_get_npdkf2004-11-122-11/+34
| | | | | in <pthread.h> before forcing the use of <pthread_np.h> to make things work on NetBSD 2.0. [Bug 1064882]
* * tests/fCmd.test:das2004-11-111-33/+49
| | | | | | | | | * unix/tclUnixFCmd.c (TraverseUnixTree): added option to rewind() the readdir() loop whenever the source hierarchy has been modified by traverseProc (e.g. by deleting files); this is required to ensure complete traversal of the source hierarchy on certain filesystems like HFS+. Added test for failing recursive delete on Mac OS X that was due to this. [Bug 1034337]
* * unix/tclUnixChan.c: [Bug 727786]. Exterminated the code markedandreas_kupries2004-11-101-104/+4
| | | | | DEPRECATED. This code has not been used in over a year now, and we have no complaints.
* * library/tcltest/tcltest.tcl: Correct reaction to errors in thedgp2004-10-301-3/+3
| | | | | | | obsolete processCmdLineArgsHook. [Bug 1055673] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.7 * unix/Makefile.in: * tests/all.tcl: Update to use [tcltest::configure].
* * unix/tclAppInit.c: When built as tcltest, TclThread_Init was getting calleddavygrvy2004-10-281-13/+5
| | | | | * win/tclAppInit.c: twice. First by TclTest_Init, then again in Tcl_AppInit. The call from Tcl_AppInit now removed.
* * unix/Makefile.in (install-libraries): Updated the installationdgp2004-10-261-17/+8
| | | | | | of the http, msgcat, and tcltest packages to install as Tcl Modules on Unix systems. Other platform Makefiles still need updating. [Patch 1054370]
* filesystem generic/platform code splittingvincentdarley2004-10-071-1/+128
|
* * generic/tclBasic.c:dgp2004-10-062-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclDictObj.c: * generic/tclEncoding.c: * generic/tclExecute.c: * generic/tclFCmd.c: * generic/tclHistory.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclPkg.c: * generic/tclResult.c: * generic/tclScan.c: * generic/tclTimer.c: * generic/tclTrace.c: * generic/tclUtil.c: * generic/tclVar.c: * unix/tclUnixFCmd.c: * unix/tclUnixPipe.c: It is a poor practice to directly set or append to the value of the objResult of an interp, because that value might be shared, and in that circumstance a Tcl_Panic() will be the result. Searched for example of this practice and replaced with safer alternatives, often using the Tcl_AppendResult() routine that dkf just rehabilitated.
* Put braces round if bodies...dkf2004-10-061-4/+6
|
* many more TIP 173 changesKevin B Kenny2004-09-271-56/+1
|
* * unix/dltest/Makefile.in (clean): Fixup make cleanmdejong2004-09-231-2/+6
| | | | | | rule so that it does not delete all files when SHLIB_SUFFIX is set to the empty string in a static build. [Bug 1016726]
* reverting unintentional change in unix/tclUnixInit.cMiguel Sofer2004-09-221-3/+2
|
* * generic/tclExecute.c (INST_START_CMD):Miguel Sofer2004-09-221-2/+3
| | | | | * tests/proc.test (7.2-3): fix for [Bug 729692] was incorrect whenever a loop exception was returned.
* make tclGetDate.y use bison instead of yaccKevin B Kenny2004-09-171-11/+15
|
* Stop NULL interp args from causing crashes. [Bug 1020538]dkf2004-09-031-44/+69
|
* * unix/Makefile.in (install-libraries): portable sh fix.das2004-08-311-2/+2
|
* * 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.