summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tclUnixFile.c (TclpObjLink): removed unnecessary/unfreedhobbs2002-09-031-13/+4
| | | | extra native char*.
* * unix/tclUnixChan.c (Tcl_MakeTcpClientChannel): make sure to inithobbs2002-09-031-1/+2
| | | | flags field of TcpState ptr to 0.
* * unix/configure:hobbs2002-09-022-41/+71
| | | | | * unix/tcl.m4: added 64-bit gcc compilation support on HP-11. [Patch #601051] (martin)
* Bumped version number to 8.4.0hobbs2002-09-023-6/+6
|
* * unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): made this statichobbs2002-09-021-3/+5
| | | | function only appear when HAVE_CFBUNDLE is defined.
* * unix/tcl.m4: added TK_SHLIB_LD_EXTRAS analogue of existingdas2002-08-312-26/+32
| | | | | | TCL_SHLIB_LD_EXTRAS for linker settings only used when linking Tk. * unix/configure: regen
* *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***macosx_8_4_merge_2002_08_31_trunkdas2002-08-316-406/+595
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.decls: added new macosx specific entry to stubs table. * tools/genStubs.tcl: added generation of platform guards for macosx. This is a little more complex than it seems, because MacOS X IS "unix" plus a little bit, for the purposes of Tcl. BUT unfortunately, Tk uses "unix" to mean X11. So added platform keys for macosx (the little added to "unix"), "aqua" and "x11" to distinguish these for Tk. * generic/tcl.h: added a #ifnded RESOURCE_INCLUDED so that tcl.h can be passed to the resource compiler. * generic/tcl.h: * generic/tclNotify.c: added a few Notifier procs, to be able to modify more bits of the Tcl notifier dynamically. Required to get Mac OS X Tk to live on top of the Tcl Unix threaded notifier. Changes the size of the Tcl_NotifierProcs structure, but doesn't move any elements around. * unix/tclUnixNotfy.c: moved the call to Tcl_ConditionNotify till AFTER we are done mucking with the pointer swap. Fixes cases where the thread waiting on the condition wakes & accesses the waitingListPtr before it gets reset, causing a hang. * library/auto.tcl (tcl_findLibrary): added checking the directories in the tcl_pkgPath for library files on macosx to enable support of the standard Mac OSX library locations * unix/Makefile.in: * unix/configure.in: * unix/tcl.m4: added MAC_OSX_DIR. Added PLAT_OBJS to the OBJS: there are some MacOS X specific files now for Tcl, and when I get he resource & applescript stuff ported over, and restore support for FindFiles, etc, there will be a few more. Added LD_LIBRARY_PATH_VAR configure variable to avoid having to set all possible LD_LIBRARY_PATH analogues on all platforms. LD_LIBRARY_PATH_VAR is "LD_LIBRARY_PATH" by default, "LIBPATH" on AIX, "SHLIB_PATH" on HPUX and "DYLD_LIBRARY_PATH" on Mac OSX. Added configure option to package Tcl as a framework on Mac OSX. * macosx/tclMacOSXBundle.c (new): support for finding Tcl extension packaged as 'bundles' in the standard Mac OSX library locations. * unix/tclUnixInit.c: added support for findig the tcl script library inside Tcl packaged as a framework on Mac OSX. * macosx/Tcl.pbproj/jingham.pbxuser (new): * macosx/Tcl.pbproj/project.pbxproj (new): project for Apple's ProjectBuilder IDE. * macosx/Makefile (new): simple makefile for building the project from the command line via the ProjectBuilder tool 'pbxbuild'. * unix/configure: * generic/tclStubInit.c: * generic/tclPlatDecls.h: regen
* * generic/tclEnv.c:davygrvy2002-08-282-87/+179
| | | | | | | | | | | | * unix/configure.in: * win/tclWinPort.h: putenv() on some systems copies the buffer rather than taking reference to it. This causes memory leaks and is know to effect mswindows (msvcrt) and NetBSD 1.5.2 . This patch tests for this behavior and turns on -DHAVE_PUTENV_THAT_COPIES=1 when approriate. Thanks to David Welton for assistance. [Bug 414910] * unix/configure: regen'd
* Cache handling of ac_cv_type_socklen_t was wrong. [Bug 600931]dkf2002-08-282-137/+138
|
* * win/Makefile.in (CFLAGS):andreas_kupries2002-08-224-353/+413
| | | | | | | | | | * unix/Makefile.in (MEM_DEBUG_FLAGS): Added usage of @MEM_DEBUG_FLAGS@. * win/configure.in: * unix/configure.in: Added usage of SC_ENABLE_MEMDEBUG. * win/tcl.m4: * unix/tcl.m4: Added macro SC_ENABLE_MEMDEBUG. Allows a user of configure to (de)activate memory validation and debugging (TCL_MEM_DEBUG). No need to modify the makefile anymore.
* * README: Bumped version number to 8.4b3 to distinguishdgp2002-08-204-9/+9
| | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: HEAD from the 8.4b2 release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf * win/configure: * library/http/http.tcl: Corrected installation directory of * library/msgcat/msgcat.tcl: the package tcltest 2.2. Added * library/opt/optparse.tcl: comments in other packages to remind * library/tcltest/tcltest.tcl: that installation directories need * unix/Makefile.in: updates to match increasing version * win/Makefile.in: numbers. [Bug 597450] * win/makefile.bc: * win/makefile.vc:
* * unix/tclUnixTest.c (TestfilehandlerCmd): Changedandreas_kupries2002-08-201-2/+2
| | | | | | | readable/writable to the more common readable|writable. Fixes SF #596034 reported by Larry Virden <lvirden@users.sourceforge.net>.
* * generic/tclInt.decls:das2002-08-061-5/+27
| | | | | | | | | | | * unix/tclUnixThrd.c: Added stubs and implementations for non-threaded build for the tclUnixThrd.c procs TclpReaddir, TclpLocaltime, TclpGmtime and TclpInetNtoa. Fixes link errors in stubbed & threaded extensions that include tclUnixPort.h and use any of the procs readdir, localtime, gmtime or inet_ntoa (e.g. TclX 8.4) [Bug 589526] * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: Regen.
* * doc/CmdCmplt.3: Applied Patch 585105 to fully CONST-ifydgp2002-08-052-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Concat.3: all remaining public interfaces of Tcl. * doc/CrtCommand.3: Notably, the parser no longer writes on * doc/CrtSlave.3: the string it is parsing, so it is no * doc/CrtTrace.3: longer necessary for Tcl_Eval() to be * doc/Eval.3: given a writable string. Also, the * doc/ExprLong.3: refactoring of the Tcl_*Var* routines * doc/LinkVar.3: by Miguel Sofer is included, so that the * doc/ParseCmd.3: "part1" argument for them no longer needs * doc/SetVar.3: to be writable either. * doc/TraceVar.3: * doc/UpVar.3: Compatibility support has been enhanced so * generic/tcl.decls that a #define of USE_NON_CONST will remove * generic/tcl.h all possible source incompatibilities with * generic/tclBasic.c the 8.3 version of the header file(s). * generic/tclCmdMZ.c The new #define of USE_COMPAT_CONST now does * generic/tclCompCmds.c what USE_NON_CONST used to do -- disable * generic/tclCompExpr.c only those new CONST's that introduce * generic/tclCompile.c irreconcilable incompatibilities. * generic/tclCompile.h * generic/tclDecls.h Several bugs are also fixed by this patch. * generic/tclEnv.c [Bugs 584051,580433] [Patches 585105,582429] * generic/tclEvent.c * generic/tclInt.decls * generic/tclInt.h * generic/tclIntDecls.h * generic/tclInterp.c * generic/tclLink.c * generic/tclObj.c * generic/tclParse.c * generic/tclParseExpr.c * generic/tclProc.c * generic/tclTest.c * generic/tclUtf.c * generic/tclUtil.c * generic/tclVar.c * mac/tclMacTest.c * tests/expr-old.test * tests/parseExpr.test * unix/tclUnixTest.c * unix/tclXtTest.c * win/tclWinTest.c
* * unix/tcl.m4 (SC_BUGGY_STRTOD): Enabled caching of test results.dkf2002-07-312-178/+185
|
* * unix/tcl.m4 (SC_BUGGY_STRTOD): Solaris 2.8 still has a buggydkf2002-07-312-143/+149
| | | | strtod() implementation; make sure we detect it.
* * unix/Makefile.in: Use CC_SEARCH_FLAGS instead ofmdejong2002-07-294-93/+174
| | | | | | | | | | LD_SEARCH_FLAGS when linking with ${CC}. * unix/configure: Regen. * unix/configure.in: Don't subst CC_SEARCH_FLAGS or LD_SEARCH_FLAGS since this is now done in tcl.m4. * unix/tcl.m4 (SC_CONFIG_CFLAGS): Document and set CC_SEARCH_FLAGS whenever LD_SEARCH_FLAGS is set. [Tcl patch 588290]
* * unix/tcl.m4 (SC_SERIAL_PORT): Fixed detection for cases whenrmax2002-07-294-124/+176
| | | | | | | | | | | | | configure's stdin is not a tty. * unix/tclUnixPort.h: * generic/tclIOSock.c: Changed size_t to socklen_t in socket-related function calls. * unix/configure.in: Added test and fallback definition for socklen_t. * unix/configure: generated.
* * unix/Makefile.in: Revert fix for Tcl bug 529801mdejong2002-07-285-489/+522
| | | | | | | | | | | | | | | | | | | | | | | since it was incorrect and broke the build on other systems. Fix Tcl bug 587299. Add MAJOR_VERSION, MINOR_VERSION, PATCH_LEVEL, SHLIB_LD_FLAGS, SHLIB_LD_LIBS, CC_SEARCH_FLAGS, LD_SEARCH_FLAGS, and LIB_FILE variables to support more generic library build/install rules. * unix/configure: Regen. * unix/configure.in: Move AC_PROG_RANLIB into tcl.m4. Move shared build test and setting of MAKE_LIB and MAKE_STUB_LIB into tcl.m4. Move subst of a number of variables into tcl.m4 where they are defined. * unix/tcl.m4 (SC_ENABLE_SYMBOLS, SC_CONFIG_CFLAGS): Subst vars where they are defined. Add MAKE_LIB, MAKE_STUB_LIB, INSTALL_LIB, and INSTALL_STUB_LIB rules to deal with the ugly details of running ranlib on static libs at build and install time. Replace TCL_SHLIB_LD_EXTRAS with SHLIB_LD_FLAGS and use it when building a shared library. * unix/tclConfig.sh.in: Add TCL_CC_SEARCH_FLAGS.
* * unix/Makefile.in:das2002-07-244-11/+47
| | | | | | | | * unix/configure.in: corrected fix for [Bug 529801]: ranlib only needed for static builds on Mac OS X. * unix/configure: Regen. * unix/tclLoadDyld.c: fixed small bugs introduced by Vince, implemented library unloading correctly (needs OS X 10.2).
* * unix/configure: Regen.mdejong2002-07-232-31/+59
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Enable 64 bit compilation when using the native compiler on a 64 bit version of IRIX. [Tcl bug 219220]
* * unix/Makefile.in: Combine ranlib tests andmdejong2002-07-231-6/+5
| | | | avoid printing unless ranlib is actually run.
* * unix/tcl.m4 (SC_PATH_X): Set XINCLUDES to "" insteadmdejong2002-07-231-8/+7
| | | | | of "# no special path needed" or "# no include files found" when x headers cannot be located.
* vfs fixesvincentdarley2002-07-201-4/+8
|
* * unix/configure:mdejong2002-07-192-349/+351
| | | | | | | | | * unix/configure.in: * win/configure: * win/configure.in: Add AC_PREREQ(2.13) in an attempt to make it more clear that the configure scripts must be generated with autoconf version 2.13. [Bug 583573]
* macosx build fixvincentdarley2002-07-191-1/+4
|
* Global symbols are now all either prefixed with 'tcl' (or 'Tcl' or ...) or ↵dkf2002-07-192-25/+19
| | | | have file-scope.
* Tcl_LoadHandle usagevincentdarley2002-07-187-32/+32
|
* load comments and clientData replacementvincentdarley2002-07-187-75/+160
|
* load internals refactoringvincentdarley2002-07-171-1/+2
|
* load internals refactoringvincentdarley2002-07-177-174/+141
|
* * unix/Makefile.in:mdejong2002-07-161-2/+4
| | | | | * win/Makefile.in: Add a more descriptive warning in the event `make genstubs` needs to be rerun.
* * unix/Makefile.in: Use dltest.marker filemdejong2002-07-162-7/+10
| | | | | | | | to keep track of when the dltest package is up to date. This fixes [Tcl bug 575768] since tcltest is no longer linked every time. * unix/dltest/Makefile.in: Create ../dltest.marker after a successful `make all` run in dltest.
* * unix/configure: Regen.mdejong2002-07-162-4/+1
| | | | * unix/configure.in: Remove useless subst of TCL_BIN_DIR.
* * Bumped HEAD to version 8.4b2 so we can distinguish it fromdgp2002-07-143-5/+5
| | | | the 8.4b1 release.
* fs cleanupvincentdarley2002-07-081-21/+4
|
* Made many tests work properly when the current directory is not writable.dkf2002-07-051-2/+31
| | | | Added targets to unix/Makefile.in to facilitate testing of this situation.
* * tests/pkg1/direct1.tcl: removeddgp2002-07-041-4/+1
| | | | | | | | * tests/pkg1/pkgIndex.tcl: removed * tests/pkgMkIndex.test: Imported auxilliary files from tests/pkg1 into the test file pkgMkIndex.test itself. Formatting fixes. * unix/Makefile.in: removed tests/pkg/* from `make dist`
* Fix for Tcl bug #541181; programs that link against libtcl.so on Solaris nodkf2002-07-012-24/+28
| | | | longer need to use the same compiler as that used for the library itself
* * `make mklinks` on 6-27 commits.dgp2002-07-011-2/+0
|
* Changed all the Tcl_Platform* symbols to TclOS*; they weren't public so theirdkf2002-06-286-73/+86
| | | | names were really badly chosen. Also prevented a double-#def.
* unix root volume fixvincentdarley2002-06-271-2/+9
|
* * unix/tclUnixTime.c: Make [clock format] respect locale settings.rmax2002-06-261-1/+3
| | | | * tests/clock.test: Bug #565880. ***POTENTIAL INCOMPATIBILITY***
* Fixed a typo in the "shell" target.rmax2002-06-261-2/+2
|
* generatedrmax2002-06-251-1668/+1471
|
* Some more fixes for the compress and symlink stuff to correct situationsrmax2002-06-251-8/+7
| | | | | where compressed manpages are being installed over uncompressed or vice versa.
* * unix/tcl.m4: New macro SC_CONFIG_MANPAGES.rmax2002-06-257-1586/+2496
| | | | | | | | | | | * unix/configure.in: Added support for symlinks and compression * unix/Makefile.in: when installing the manpages. [Patch 518052] * unix/mkLinks.tcl: Default is still hardlinks and no compression. * unix/mkLinks: generated * unix/configure: * unix/README: Added documentation for the new features.
* * unix/tcl.m4 (SC_PATH_TCLCONFIG): Replaced ${exec_prefix}/lib byrmax2002-06-251-2/+2
| | | | ${libdir}.
* Regen.dkf2002-06-221-1/+1
|
* Bumped version number to b1 in preparation for release.dkf2002-06-212-4/+4
|