summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * The changes below fix SF bugs [593810], and [718045].andreas_kupries2003-04-221-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel): Invoke TclpCutSockChannel and TclpSpliceSockChannel. * generic/tclInt.h: Declare TclpCutSockChannel and TclpSpliceSockChannel. * unix/tclUnixSock.c (TclpCutSockChannel, TclpSpliceSockChannel): Dummy functions, on unix the sockets are _not_ handled specially. * mac/tclMacSock.c (TclpCutSockChannel, TclpSpliceSockChannel): * win/tclWinSock.c (TclpCutSockChannel, TclpSpliceSockChannel): New functions to handle socket specific cut/splice operations: auto-initi of socket system for thread on splice, management of the module internal per-thread list of sockets, management of association of sockets with HWNDs for event notification. * win/tclWinSock.c (NewSocketInfo): Extended initialization assignments to cover all items of the structure. During debugging of the new code mentioned above I found that two fileds could contain bogus data. * win/tclWinFile.c: Added #undef HAVE_NO_FINDEX_ENUMS before definition because when compiling in debug mode the compiler complains about a redefinition, and this warning is also treated as an error.
* Updated mkLinks for TIP 111 documentationdgp2003-04-161-0/+28
|
* fix 5 small filesystem bugs, and some typosvincentdarley2003-04-111-2/+6
|
* Build support for dicts on Unix and Windows, plus public API (structuredkf2003-04-051-4/+8
| | | | declaration and stubs entries.)
* * unix/configure:mdejong2003-04-042-2/+12
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't set TCL_LIBS if it is already set to support use of TCL_LIBS var from tclConfig.sh in the Tk configure script.
* * unix/Makefile.in: Don't subst MATH_LIBS,mdejong2003-04-035-33/+25
| | | | | | | | | | | | | LIBS, and DL_LIBS separately. Instead, just subst TCL_LIBS since it includes the others. * unix/configure: Regen. * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Set and subst TCL_LIBS in SC_CONFIG_CFLAGS instead of SC_TCL_LINK_LIBS. Don't subst MATH_LIBS since it is now covered by TCL_LIBS. * unix/tclConfig.sh.in: Use TCL_LIBS instead of DL_LIBS, LIBS, and MATH_LIBS. * unix/dltest/Makefile.in: Ditto.
* * unix/configure: Regen.mdejong2003-04-022-71/+71
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Check for inet_ntoa in -lbind inside the BeOS block since doing it later broke the build under SuSE 7.3. [Bug 713128]
* * unix/configure: Regen.mdejong2003-03-282-4/+4
| | | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Use -Wl,--export-dynamic instead of -rdynamic for LDFLAGS. The -rdynamic is not documented so it seems better to pass the --export-dynamic flag to the linker. [Patch 573395]
* * unix/configure: Regen.mdejong2003-03-272-0/+89
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Add BeOS system to SC_CONFIG_CFLAGS. Check for inet_ntoa in -lbind, needed for BeOS.
* * unix/dltest/pkg?.c: Changed all Tcl_InitStubs calls to passdgp2003-03-266-15/+15
| | | | | argument exact = 0, so that rebuilds are not required when Tcl bumps to a new version. [Bug 701926]
* * 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.