summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclInt.h (tclOriginalNotifier):dgp2003-03-211-5/+6
| | | | | | | | | | | | | | | * generic/tclStubInit.c (tclOriginalNotifier): * mac/tclMacNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_SetTimer,Tcl_WaitForEvent, Tcl_CreateFileHandler,Tcl_DeleteFileHandler): * win/tclWinNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): Some linkers apparently use a different representation for a pointer to a function within the same compilation unit and a pointer to a function in a different compilation unit. This causes checks like those in the original notifier procedures to fall into infinite loops. The fix is to store pointers to the original notifier procedures in a struct defined in the same compilation unit as the stubs tables, and compare against those values. [Bug 707174]
* * library/auto.tcl: Replaced [regexp] and [regsub] withdgp2003-03-191-1/+1
| | | | | | | | | | | | | | | * library/history.tcl: [string map] where possible. Thanks * library/ldAout.tcl: to David Welton. [Bugs 667456,667558] * library/safe.tcl: Bumped to http 2.4.3, opt 0.4.5, and * library/http/http.tcl: tcltest 2.2.3. * library/http/pkgIndex.tcl: * library/opt/optparse.tcl: * library/opt/pkgIndex.tcl: * library/tcltest/tcltest.tcl: * library/tcltest/pkgIndex.tcl: * tools/genStubs.tcl: * tools/tcltk-man2html.tcl: * unix/mkLinks.tcl:
* Require autoconf 2.57 or newer, see TIP 34mdejong2003-03-133-3998/+10367
| | | | | | | | | | | | | | | | | for a detailed explanation of why this is good. This will no doubt break the build on some platforms, let the flaming begin. * tools/configure: Regen with autoconf 2.57. * tools/configure.in: Require autoconf 2.57. * unix/configure: Regen with autoconf 2.57. * unix/configure.in: Require autoconf 2.57. Apply AC_LIBOBJ changes from patch 529884. * unix/tcl.m4: Ditto. * win/configure: Regen with autoconf 2.57. * win/configure.in: Require autoconf 2.57. Don't subst LIBOBJS since this happens by default, this avoids an autoconf error.
* * README: Bumped version number ofdgp2003-03-043-9/+9
| | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: Tcl to 8.5a0. * library.init.tcl: * mac/README: * macosx/Tcl.pbproj/project.pbxproc: * tests/basic.test: * tools/configure.in: * tools/tcl.hpj.in: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/README.binary: * win/configure.in: * win/makefile.bc: * win/makefile.vc: * win/tcl.m4: * tools/configure: autoconf * unix/configure: * win/configure:
* * unix/tclUnixPipe.c: (macosx) use vfork() instead of fork() todas2003-02-211-1/+5
| | | | | create new processes, as recommended by to Apple (vfork can be up to 100 times faster thank fork on macosx).
* * unix/tcl.m4:das2003-02-212-2/+2
| | | | | | | * unix/tclUnixPipe.c: (macosx) use vfork() instead of fork() to create new processes, as recommended by to Apple (vfork can be up to 100 times faster thank fork on macosx). * unix/configure: regen.
* * unix/tclUnixChan.c (Tcl_MakeTcpClientChannel): addhobbs2003-02-211-6/+33
| | | | | | MakeTcpClientChannelMode that takes actual mode flags to avoid hang on OS X (may be OS X bug, but patch works x-plat). [Bug #689835] (steffen)
* * unix/tclUnixThrd.c (TclpReaddir):hobbs2003-02-202-5/+11
| | | | | | * unix/tclUnixPort.h: update to Bug 689100 patch to ensure that there is a defined value of MAXNAMLEN (aka NAME_MAX in POSIX) and that we have some buffer allocated.
* * unix/tcl.m4: [Bug #651811] Added definition of _XOPEN_SOURCE andandreas_kupries2003-02-192-40/+47
| | | | | | | | linkage of 'xnet' library to HP 11 branch. This kills a lot of socket-related failures in the testsuite when Tcl was compiled in 64 bit mode (both PA-RISC 2.0W, and IA 64). * unix/configure: Regenerated.
* * unix/tclUnixThrd.c (TclpReaddir): reduce size of name string inhobbs2003-02-191-2/+4
| | | | tsd to NAME_MAX instead of PATH_MAX. [Bug #689100] (waters)
* * unix/configure: Regen.mdejong2003-02-192-316/+322
| | | | | | * unix/tcl.m4 (SC_ENABLE_THREADS): Make sure -lpthread gets passed on the link line when checking for the pthread_attr_setstacksize symbol.
* Corrected a couple of typos in error messages. [Bug 596027]Kevin B Kenny2003-02-151-3/+3
|
* * README: Bumped to version 8.4.2.hobbs2003-02-153-42/+47
| | | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tcl.spec: * win/README.binary: * win/configure: * win/configure.in: * macosx/Tcl.pbproj/project.pbxproj:
* correct HP-UX ia64 --enable-64bit build flagshobbs2003-02-151-2/+7
|
* glob -l on broken symlink fixvincentdarley2003-02-121-2/+14
|
* * unix/tclUnixFile.c (TclpMatchInDirectory): simplify the hiddenhobbs2003-02-111-24/+14
| | | | file match check.
* further fs cleanupvincentdarley2003-02-101-2/+5
|
* filesystem speed up round 2vincentdarley2003-02-102-65/+79
|
* finalization and test fixesvincentdarley2003-02-041-7/+6
|
* * generic/tcl.h: Add TCL_PREFIX_IDENT andmdejong2003-01-281-2/+2
| | | | | | | | | | | | | | | | | TCL_DEBUG_IDENT, used only by TclpCreateProcess. * unix/Makefile.in: Define TCL_DBGX. * win/Makefile.in: Define TCL_DBGX. * win/tclWinPipe.c (TclpCreateProcess): Check that the Tcl pipe dll actually exists in the Tcl bin directory and panic if it is not found. Incorporate TCL_DBGX into the Tcl pipe dll name. This fixes a really mysterious error that would show up when exec'ing a 16 bit application under Win95 or Win98 when Tcl was compiled with symbols. The error seemed to indicate that the executable could not be found, but it was actually the Tcl pipe dll that could not be found.
* * generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel):mdejong2003-01-261-14/+104
| | | | | | | | | | | | | | | | Invoke TclpCutFileChannel and TclpSpliceFileChannel. * generic/tclInt.h: Declare TclpCutFileChannel and TclpSpliceFileChannel. * unix/tclUnixChan.c (FileCloseProc, TclpOpenFileChannel, Tcl_MakeFileChannel, TclpCutFileChannel, TclpSpliceFileChannel): Implement thread load data cut and splice for file channels. This avoids an invalid memory ref when compiled with -DDEPRECATED. * win/tclWinChan.c (FileCloseProc, TclpCutFileChannel, TclpSpliceFileChannel): Implement thread load data cut and splice for file channels. This avoids an invalid memory ref that was showing up in the thread extension.
* non-ascii chars in file mtime fixvincentdarley2003-01-091-1/+24
|
* * unix/configure.in: Updated configure of CVS snapshots to reflectdgp2002-12-132-3/+3
| | | | | | | * win/configure.in: the 8.4.1.1 patchlevel. * unix/configure: autoconf * win/configure autoconf
* add simple valgrind targethobbs2002-11-271-1/+6
|
* * generic/tclEvent.c (TclInExit, TclInThreadExit):mdejong2002-11-071-2/+2
| | | | | | | | | | | | | | | Split out functionality of TclInExit to make it clear which one should be called in each situation. * generic/tclInt.decls: Declare TclInThreadExit. * generic/tclIntDecls.h: Regen. * generic/tclStubInit.c: Regen. * mac/tclMacChan.c (StdIOClose): * unix/tclUnixChan.c (FileCloseProc): * win/tclWinChan.c (FileCloseProc): * win/tclWinConsole.c (ConsoleCloseProc): * win/tclWinPipe.c (TclpCloseFile): * win/tclWinSerial.c (SerialCloseProc): Invoke the new TclInThreadExit method instead of TclInExit.
* * unix/configure: Regen.mdejong2002-11-062-42/+48
| | | | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Generate a fatal configure error if no ar program can be found on the path. [Bug #582039] * win/configure: Regen. * win/configure.in: Check that AR, RANLIB, and RC are found on the path when building with gcc.
* * unix/tclLoadDyld.c (Tcl_PackageInitProc): pass all dyld errordas2002-10-291-1/+6
| | | | messages upstream [Bug #627546].
* * library/auto.tcl (tcl_findLibrary):das2002-10-221-5/+50
| | | | | | | | | | | | * library/package.tcl (tclPkgUnknown): on macosx, search inside the Resources/Scripts subdirectory of any potential package directory * macosx/Tcl.pbproj/project.pbxproj: add standard Frameworks dirs to TCL_PACKAGE_PATH make argument. * unix/tclUnixInit.c (TclpSetVariables): on macosx, add embedded framework dirs to tcl_pkgPath: @executable_path/../Frameworks and @executable_path/../PrivateFrameworks (if they exist), as well as the dirs in DYLD_FRAMEWORK_PATH (if set). [Patch #624509] use standard MAXPATHLEN instead of literal 1024
* * unix/Makefile.in (dist): add any mac/tcl*.sea.hqx fileshobbs2002-10-181-2/+2
|
* Correct AIX-5 ppc build flagshobbs2002-10-162-45/+41
|
* Correct AIX-5 ppc build flagshobbs2002-10-162-59/+83
|
* * unix/configure:hobbs2002-10-152-7/+7
| | | | | * unix/tcl.m4: correct HP 11 64-bit gcc building. [Patch #601051] (martin)
* load fixes for Bug 611108vincentdarley2002-10-107-243/+371
|
* * unix/README: doc'ed --enable-symbols options.hobbs2002-10-105-434/+428
| | | | | | | | * unix/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst. * unix/configure: regen * unix/configure.in: removed SC_ENABLE_MEMDEBUG call * unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
* * README: Bumped to version 8.4.1 to avoid confusiondgp2002-09-273-5/+5
| | | | | | | | | | | * generic/tcl.h: of CVS snapshots with the actual 8.4.0 * tools/tcl.wse.in: release. * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf * win/configure:
* * unix/configure: regen.hobbs2002-09-272-48/+64
| | | | * unix/tcl.m4: improve AIX-4/5 64bit compilation support.
* * unix/ldAix (nmopts): add -X32_64 to make it work for 32 or 64bithobbs2002-09-271-7/+11
| | | | mode compilation.
* * unix/Makefile.in: generate source dists with -src designator andhobbs2002-09-261-14/+14
| | | | do not generate .Z anymore (just .gz and .zip).
* regen.dkf2002-09-241-307/+314
|
* * unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Yet more robust 64-bit valuedkf2002-09-241-4/+9
| | | | detection to close [Bug 613117] on more systems.
* regen.dkf2002-09-241-294/+298
|
* * unix/tcl.m4: Forgot to define TCL_WIDE_INT_IS_LONG at thedkf2002-09-241-0/+1
| | | | appropriate moment. I believe this is the cause of [Bug 613117]
* * unix/configure: Regen.mdejong2002-09-152-30/+39
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add PEEK_XCLOSEIM define under Linux. This is used by Tk to double check that an X input context is cleaned up before it is closed.
* * unix/README: Add note about building extensionsmdejong2002-09-111-2/+3
| | | | | with the same compiler Tcl was built with. [Tk Bug 592096]
* * unix/Makefile.in: added DYLIB_INSTALL_DIR variable for macosxdas2002-09-103-10/+8
| | | | | | | | | | | | | and set it to default value ${LIB_RUNTIME_DIR} * unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of LIB_RUNTIME_DIR in the -install_name argument to ld. * unix/configure: regen. * macosx/Tcl.pbproj/project.pbxproj: * macosx/Makefile: added support for building Tcl as an embedded framework, i.e. using an dyld install_name containing @executable_path/../Frameworks via the new DYLIB_INSTALL_DIR unix/Makefile variable.
* * unix/configure: remove -pthread from LIBS on FreeBSD in threadhobbs2002-09-032-22/+26
| | | | * unix/tcl.m4: enabled build. [Bug #602849]
* * 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
|