summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * 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]
* Define TCL_INCLUDE_SPEC in tclConfig.sh. It should bemdejong2001-11-083-306/+318
| | | | | | | | | | | | | | included by extensions that need to find Tcl include headers in the install location. The user can override the include install dir with --includedir so we need to record this information for extensions. [Tcl bug 421835] * unix/configure: Regen. * unix/configure.in: Define TCL_INCLUDE_SPEC. * unix/tclConfig.sh.in: Define TCL_INCLUDE_SPEC. * win/configure: Regen. * win/configure.in: Define TCL_INCLUDE_SPEC. * win/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
* Fix for bug 475941; access() was being called with path-free file names ondkf2001-10-291-5/+4
| | | | some paths through the glob code!
* Fix for bug 471374; Tcl only resets serial ports on exit now if it hasdkf2001-10-251-15/+29
| | | | updated their settings first.
* * unix/tclUnixPipe.c (PipeInputProc, PipeOutputProc): do immediatehobbs2001-10-181-11/+27
| | | | | retry when error is returned with errno == EINTR. [Bug #415131] (leger)
* * unix/tclLoadAout.c (TclGuessPackageName): removed unused varshobbs2001-10-161-4/+8
| | | | and fixed warnings. [Bug #446622] (lim)