summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* commited working regenerated configurehobbs2002-05-291-709/+1459
|
* Made Tcl_UniCharNcmp faster on big-endian machines; the system memcmp()isdkf2002-05-292-1450/+765
| | | | | probably optimized far in excess of anything we could do! Little-endian just use the old code...
* * tests/clock.test: added clock-9.1hobbs2002-05-291-3/+5
| | | | | | | | | | | | * compat/strftime.c: * generic/tclClock.c: * generic/tclInt.decls: * generic/tclIntDecls.h: * unix/tclUnixTime.c: fix for Windows msvcrt mem leak caused by using an env(TZ) setting trick for in clock format -gmt 1. This also makes %s seem to work correctly with -gmt 1 as well as making it a lot faster by avoid the env(TZ) hack. TclpStrftime now takes useGMT as an arg. [Bug #559376]
* TIP#91 implementation; makes old style channels binary compatible withdkf2002-05-242-11/+73
| | | | new TIP#72-enabled Tcl. See http://purl.org/tcl/tip/91 for details.
* * unix/configure: Regen.mdejong2002-05-213-88/+104
| | | | | | | | | * unix/configure.in: Invoke SC_ENABLE_SHARED before calling SC_CONFIG_CFLAGS so that the SHARED_BUILD variable can be checked inside SC_CONFIG_CFLAGS. * unix/tcl.m4 (SC_CONFIG_CFLAGS): Pass -non_shared instead of -shared to ld when configured with --disable-shared under OSF. [Tcl bug 540390]
* More tidying up; tclUnixChan.c now builds with GCC without warnings.dkf2002-05-141-480/+456
|
* Stop Solaris from generating a warning; the second argument to ioctl has beendkf2002-05-131-2/+6
| | | | observed to be either signed (Solaris) or unsigned (Linux)...
* fix to 551306vincentdarley2002-05-021-1/+28
|
* * unix/configure:hobbs2002-04-262-2/+2
| | | | | * unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so that the .sl knows its dependent libs.
* regendkf2002-04-241-0/+2
|
* * generic/tclAlloc.c:hobbs2002-04-232-2/+2
| | | | | | | | | | | | | | | * generic/tclInt.h: * generic/tclThreadAlloc.c (new): * unix/Makefile.in: * unix/tclUnixThrd.c: * win/Makefile.in: * win/tclWinInt.h: * win/tclWinThrd.c: added new threaded allocator contributed by AOL that significantly reduces lock contention when multiple threads are in use. Only Windows and Unix implementations are ready, and the Windows one may need work. It is only used by default on Unix for now, and requires that USE_THREAD_ALLOC be defined (--enable-threads on Unix will define this).
* regen.dkf2002-04-231-0/+8
|
* * generic/tclAlloc.c:hobbs2002-04-234-319/+383
| | | | | | | | | | | | | | | * generic/tclInt.h: * generic/tclThreadAlloc.c (new): * unix/Makefile.in: * unix/tclUnixThrd.c: * win/Makefile.in: * win/tclWinInt.h: * win/tclWinThrd.c: added new threaded allocator contributed by AOL that significantly reduces lock contention when multiple threads are in use. Only Windows and Unix implementations are ready, and the Windows one may need work. It is only used by default on Unix for now, and requires that USE_THREAD_ALLOC be defined (--enable-threads on Unix will define this).
* * unix/tclUnixFCmd.c (Realpath): added a little extra code tohobbs2002-04-071-40/+59
| | | | | | | initialize a realpath arg when compiling in PURIFY mode in order to prevent spurious purify warnings. We should really create our own realpath implementation, but this will at least quiet purify for now.
* minor cast change to squelch warninghobbs2002-04-041-3/+3
|
* * Ran 'autoconf' - forgotten when bump to 8.4a5.dgp2002-03-281-1/+1
|
* fixed typo and compiler warning in last commit; all tests now pass on unixvincentdarley2002-03-241-2/+2
|
* 4 fs fixesvincentdarley2002-03-242-212/+283
|
* Bumped patchlevel; might need changing in the future, but it makes lifedkf2002-03-062-4/+4
| | | | easier for now.
* * unix/tclUnixChan.c: initial remedy for [Bug #525783] flushhobbs2002-03-051-4/+23
| | | | | | problem introduced by TIP #35. This may not satisfy true serial channels, but it restores the correct flushing of std* channels on exit.
* fixed URL refshobbs2002-03-051-4/+4
|
* added --enable-langinfo dochobbs2002-03-051-1/+6
|
* Also added the MSVC++ project files to dist target. I prefer not to use them,davygrvy2002-03-051-1/+3
| | | | but people might find them convenient.
* Added win/rules.vc and win/coffbase.txt to dist target needed by makefile.vcdavygrvy2002-03-051-1/+6
|
* Removed out-of-date reference to patches.dgp2002-03-051-10/+8
|
* updated to use www.tcl.tk URLhobbs2002-03-041-3/+3
|
* added older ChangeLogs to dist targethobbs2002-03-041-2/+3
|
* update for 8.4a4 docshobbs2002-03-041-0/+10
|
* * unix/tclUnixChan.c (TclpOpenFileChannel): Added code to regonizeandreas_kupries2002-02-271-2/+8
| | | | | | | | | | "/dev/tty" (by name) and to not handle it as tty / serial line. This is the controlling terminal and is special. Setting it into raw mode as is done for other tty's is a bad idea. This is a hackish fix for expect SGF Bug #520624. The fix has limitation: Tcl_MakeFileChannel handles tty's specially too, but is unable to recognize /dev/tty as it only gets a file descriptor, and no name for it.
* * unix/tclUnixSock.c (Tcl_GetHostName): added an extrahobbs2002-02-271-1/+16
| | | | | gethostbyname check to guard against failure with truncated names returned by uname.
* * unix/configure:hobbs2002-02-262-248/+297
| | | | | * unix/tcl.m4 (SC_SERIAL_PORT): added sys/modem.h check and defined _XOPEN_SOURCE_EXTENDED for HP-11 to get updated header decls.
* * unix/tclUnixChan.c: added Unix implementation of TIP #35, serialhobbs2002-02-261-16/+385
| | | | port support. [Patch #438509] (schroedter)
* * unix/tclUnixPort.h: corrected strtoll prototype mismatch on Tru64.dgp2002-02-251-2/+2
|
* * unix/tclLoadDyld.c: updated to use Mac OS X 10.1 dyld APIs thatdas2002-02-251-12/+20
| | | | have more libdl-like semantics. (bug #514392)
* * configure: Regen.mdejong2002-02-232-2/+2
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Link with -n32 instead of -32 when building on IRIX64-6.* system. [Tcl bug 521707]
* * unix/configure:hobbs2002-02-222-41/+71
| | | | | * unix/tcl.m4: added --enable-64bit support for AIX-4 (using -q64 flag) when using IBM's xlc compiler.
* Const-ifying declarations of strtoll/strtoull and new compat code.dkf2002-02-221-5/+5
|
* * unix/tclUnixPort.h: add strtoll/strtoull declarations forhobbs2002-02-161-1/+8
| | | | platforms that do not define them.
* 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.