summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-1512-611/+1103
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.
* * djgpp/ (new directory)davygrvy2002-02-121-1/+5
| | | | | | | | | | | | | | | * djgpp/Makefile (new): * unix/tclAppInit.c: * unix/tclMtherr.c: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPort.h: Early stage of DJGPP support for building Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32 for the TCP/IP stack. No autoconf, yet. Barely tested, but makes a working exe that runs Tcl in protected-mode, flat memory. [exec] and pipes will need the most work as multi-tasking on DOS has to be carefully.
* * djgpp/ (new directory)davygrvy2002-02-125-7/+28
| | | | | | | | | | | | | | | * djgpp/Makefile (new): * unix/tclAppInit.c: * unix/tclMtherr.c: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPort.h: Early stage of DJGPP support for building Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32 for the TCP/IP stack. No autoconf, yet. Barely tested, but makes a working exe that runs Tcl in protected-mode, flat memory. [exec] and pipes will need the most work as multi-tasking on DOS has to be carefully.
* * unix/configure:hobbs2002-02-082-33/+55
| | | | | | * unix/tcl.m4: added -pthread for FreeBSD to EXTRA_CFLAGS and LDFLAGS. Also triggered nodots only for FreeBSD-3. Added AC_DEFINE(_POSIX_PTHREAD_SEMANTICS) for Solaris.
* * unix/tclUnixPort.h:hobbs2002-02-082-2/+79
| | | | | * unix/tclUnixThrd.c: added thread-safe versions of readdir, localtime, gmtime and inet_ntoa for threaded build. (jgdavidson)
* * Partial TIP 27 rollback. Following routinesdgp2002-02-083-13/+8
| | | | | | | | | | | | | restored to return (char *): Tcl_DStringAppend, Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also restored Tcl_WinUtfToTChar to return (TCHAR *) and Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified some callers. This change recognizes that Tcl_DStrings are de-facto white-box objects. * generic/tclCmdMZ.c: corrected use of C++-style comment.
* reverted pwd changes for AIX, the best fix is to replace sh with bsh on 4.3.3hobbs2002-02-053-110/+66
|
* get full path to pwd to avoid errors on AIX-4.3hobbs2002-02-053-85/+112
|
* call /bin/pwd on AIX-4.3 to avoid pwd errorshobbs2002-02-052-13/+29
|
* * unix/tclUnixChan.c (FileOutputProc): Fixed [bug 465765] reportedandreas_kupries2002-02-041-1/+11
| | | | | | | | by Dale Talcott <daletalcott@users.sourceforge.net>. Avoid to write nothing into a file as STREAM based implementations will consider this a EOF (if the file is a pipe). Not done in the generic layer as this type of writing is actually useful to check the state of a socket.
* make mklinks after recent doc additions to FileSystem.3dgp2002-01-311-0/+6
|
* * unix/tcl.m4 (SC_LOAD_TCLCONFIG):mdejong2002-01-291-4/+30
| | | | | | | | | | | * win/tcl.m4 (SC_LOAD_TCLCONFIG): Set TCL_LIB_SPEC, TCL_STUB_LIB_SPEC, and TCL_STUB_LIB_PATH to the values of TCL_BUILD_LIB_SPEC, TCL_BUILD_STUB_LIB_SPEC, and TCL_BUILD_STUB_LIB_PATH when tclConfig.sh is loaded from the build directory. A Tcl extension should make use of the non-build versions of these variables since they will work in both cases. This modification was described in TIP 34.
* * Updated interfaces of generic/tclEncoding, generic/tclFilename.c,dgp2002-01-254-21/+23
| | | | | | | | | | | generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath.
* * unix/mkLinks: Regenerated.andreas_kupries2002-01-231-2/+2
| | | | | | | | * doc/CrtChannel.3: * doc/ChnlStack.3: Moved documentation for 'Tcl_GetTopChannel' from 'CrtChannel' to 'ChnlStack'. Added documentation of 'Tcl_GetStackedChannel'. Bug #506147 reported by Mark Patton <msp@users.sourceforge.net>.
* * Updated socket interfaces according to TIP 27. Updated callers.dgp2002-01-232-13/+13
|
* * More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that weredgp2002-01-173-9/+9
| | | | | | | overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines.
* * unix/tcl.m4 (SC_LOAD_TCLCONFIG):mdejong2002-01-171-2/+3
| | | | | | | * win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst TCL_DBGX into TCL_STUB_LIB_FILE and TCL_STUB_LIB_FLAG variables so that an extension does not need to subst TCL_DBGX into its makefile. [Tk Bug 504356]
* * Updated APIs in generic/tclIOUtil.c and generic/tclPosixStr.cdgp2002-01-151-2/+2
| | | | according to the guidelines of TIP 27. Updated callers. [Patch 499196]
* * Updated APIs in the file generic/tclIO.c according to the guidelinesdgp2002-01-152-17/+17
| | | | | | | | | | | of TIP 27. Several minor documentation corrections as well. * Updated channel driver interface according to the guidelines of TIP 27. See also [Bug 500348]. * Moved Tcl_EolTranslation enum declaration from generic/tcl.h to generic/tclInt.h (renamed to TclEolTranslation). It is not used anywhere in Tcl's public interface.
* * unix/configure: Regen.mdejong2002-01-112-325/+329
| | | | | | | * unix/configure.in: * win/configure: Regen. * win/configure.in: Use ${libdir} instead of ${exec_prefix}/lib to properly support the --libdir option to configure. [Bug 489370]
* * unix/Makefile.in: Burn Tcl build directorymdejong2002-01-111-2/+9
| | | | | | into tcltest executable to avoid crashes caused by ld loading a previously installed version of the tcl shared library.
* Applied patch from bug 501101.Kevin B Kenny2002-01-101-2/+2
|
* Updated APIs in the files */tcl*Load*.c according to the guidelinesKevin B Kenny2002-01-097-15/+16
| | | | of TIP 27.
* * unix/tcl.m4 (SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG):mdejong2001-12-201-2/+2
| | | | | Search for config file using exec_prefix instead of prefix when no --with-tcl or --with-tk argument is used. [Bug 492418]
* * unix/mkLinks.tcl: improved case-insensitivedas2001-12-202-5/+5
| | | | | filesystem support. * unix/mkLinks: Regen.
* * unix/tcl.m4: fixed incorrect SHLIB_LD_LIBSdas2001-12-204-17/+18
| | | | | | | | setting for MacOSX / Darwin. * unix/configure: Regen. * unix/mkLinks.tcl: improved case-insensitive filesystem support. * unix/mkLinks: Regen.
* * corrected use of eolFix.tcl ondgp2001-12-201-3/+3
| | | | working files. It should operate on distributed files. [Bug 495120]
* * unix/configure:mdejong2001-12-192-23/+31
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Update SunOS 5.[0-6] target so that correct linker options are passed to gcc or ld. [Tk Bug 220863]
* * unix/README: Update to account for changesmdejong2001-12-191-15/+7
| | | | | in the unix/dltest directory, the way autoconf is run, and the new "make shell" target.
* * unix/Makefile.in: Rename dltest to dlpkgs tomdejong2001-12-191-3/+3
| | | | | fix problem where lib files were not getting built because dltest/ directory already existed.
* * make mklinksdgp2001-12-191-0/+2
|
* * unix/Makefile.in: Define new dltest target thatmdejong2001-12-197-885/+21
| | | | | | | | | | | | | | | simply does a cd to dltest/ before running make. There is no need for the separate configure script that was previously being used. * unix/configure: Regen. * unix/configure.in: Subst into dltest/Makefile. * unix/dltest/Makefile.in: Define LIBS using DL_LIBS, LIBS, and MATH_LIBS variables instead of TCL_LIBS variable from tclConfig.sh. * unix/dltest/README: Update readme to account for new configure free implementation. * unix/dltest/configure: Removed. * unix/dltest/configure.in: Removed.
* * unix/tclUnixPipe.c (TclpCreateProcess): Applied Don Porter'sandreas_kupries2001-12-111-2/+2
| | | | patch fixing bug #437489.
* * unix/Makefile.in: Add comments to better describemdejong2001-11-251-6/+6
| | | | | | | | TCL_EXE and when it should be available. * win/Makefile.in: Add TCL_EXE variable to be used by rules like `make genstubs`. Don't set TCL_LIBRARY before running `make genstubs` since we will be running with a tclsh from the PATH not the one we build.
* * unix/configure: regeneddas2001-11-231-2/+1
|
* *unix/Makefile.in:das2001-11-237-64/+91
| | | | | | | | | | *unix/configure.in: *unix/install-sh: *unix/mkLinks: *unix/mkLinks.tcl: *unix/tclLoadDyld.c: *unix/tclMtherr.c: Mac OSX support: build system, dynamic code loading and support for case-insensitive filesystems in mkLinks (patch #435258)
* addition of GetTime.3 Tcl_GetTime doc to mkLinkshobbs2001-11-211-0/+4
|
* added TIP#73 patch #483500 from Kevin Kenny.hobbs2001-11-214-10/+10
| | | | This deprecates TclpGetTime in favor of new Tcl_GetTime.
* committing unix/configure after running autoconf.dgp2001-11-201-2/+1
| | | | A version with extra debug echos got committed by mistake.
* * tools/eolFix.tcl (new-file):hobbs2001-11-201-1/+5
| | | | | * unix/Makefile.in: added EOL correction for Windows bat files to dist target. [Bug #219409] (davygrvy)
* * unix/tclUnixInit.c (TclpSetInitialEncodings): update of patchhobbs2001-11-201-107/+143
| | | | | | | | from 2001-11-16 that uses the old Tcl encoding check mechanism as a fallback to the original. Also added a TCL_DEFAULT_ENCODING #define (defaults to iso8859-1). Tcl will first try setlocale and nl_langinfo, and if that fails, guess based on certain LANG|LC_* env vars. [Patch #418645]
* added hpux nl_langinfo alias fallbackshobbs2001-11-172-2/+22
|
* adjusted HAVE_LANGINFO to allow for fallback table, added gb2312-1980 alias ↵hobbs2001-11-161-6/+21
| | | | for gb2312
* * unix/tclUnixInit.c: added HAVE_LANGINFO code block.hobbs2001-11-164-312/+500
| | | | | | | | | | | * unix/configure: regened * unix/configure.in: added SC_ENABLE_LANGINFO call * unix/tcl.m4: made SHLIB_LD_LIBS='${LIBS}' for FreeBSD* (meyer) Added modified version of Wagner patch to make use of nl_langinfo where possible to determine Unix platform encoding, instead of the inflexible built-in system. This is used by default when possible, and can be disabled with --enable-langinfo=no. [Patch #418645] (hobbs, wagner)
* * unix/Makefile.in:mdejong2001-11-111-1/+10
| | | | | * win/Makefile.in: Add "make gdb" target. This target can run tclsh inside either gdb or insight.
* added -lc to AIX libs, fixed path to ldAixhobbs2001-11-102-46/+78
|
* Fixup stack size under OSF1. [Tcl patch 474790]mdejong2001-11-092-23/+25
| | | | | | * unix/configure: Regen. * unix/tcl.m4: Add HAVE_PTHREAD_ATTR_SETSTACKSIZE define to EXTRA_CFLAGS to adjust initial stack size.
* Enable thread support under FreeBSD. [Tcl bug 473708]mdejong2001-11-093-280/+333
| | | | | | | | * unix/configure: Regen. * unix/tcl.m4 (SC_ENABLE_THREADS): Check for pthread functions in libc_r and enable thread support if found. * unix/dltest/Makefile.in: Set SHLIB_LD_LIBS and use it in the Makefile to properly link a shared library.
* * unix/Makefile.in:mdejong2001-11-092-4/+4
| | | | | | | | * unix/dltest/Makefile.in: Avoid adding libc to the LIBS variable since it is not needed when linking with CC. If required when linking with LD it should be done on a case by case basis in tcl.m4.
* * unix/Makefile.in:mdejong2001-11-081-3/+2
| | | | | | | | | * win/Makefile.in: Print a message indicating that the user should run "make genstubs" when the generated tclStubInit.c file is out of date. We can't regenerate automatically since there may be no tclsh on the system and that would cause bootstrap problems. [Tcl bug 465874]