summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* Better building on OpenBSD.stwo2010-12-122-26/+66
|
* Change first parameter of TclSockMinimumBuffers to ClientData, and ↵nijtmans2010-12-101-3/+3
| | | | TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit.
* [Patch #3116490] cross-compile support for unixnijtmans2010-12-052-14/+46
|
* 2010-11-29 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2010-11-281-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: * generic/tclInt.h: * generic/tclStrToD.c: * generic/tclTest.c: * generic/tclTomMath.decls: * generic/tclUtil.c: * tests/util.test: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits that (a) fixes a severe performance problem with floating point shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits to generate the digit strings for 'e' and 'f' format, so that it can be used for tcl_precision != 0 (and possibly later for [format]), (c) fixes [Bug 3120139] by making TclPrintDouble inherently locale-independent, (d) adds test cases to util.test for correct rounding in difficult cases of TclDoubleDigits where fixed- precision results are requested. (e) adds test cases to util.test for the controversial aspects of [Bug 3105247]. As a side effect, two more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c) are brought into the build, since the new code uses them.
* Minor change: Added missing .PHONY marker for install-headersdkf2010-11-041-2/+2
|
* [Patch 3101127]: Installer Improvements.stwo2010-11-042-132/+544
|
* * unix/tclUnixSock.c: Prevent calls freeaddrinfo(NULL) which candgp2010-10-281-3/+7
| | | | crash some systems. Thanks Larry Virden. [Bug 3093120]
* * unix/tclUnixSock.c (TcpGetOptionProc): Prevent crash if interp isdkf2010-10-261-11/+9
| | | | * win/tclWinSock.c (TcpGetOptionProc): NULL (a legal situation).
* Add support for ::tcl::unsupported::noReverseDNSrmax2010-10-261-4/+9
|
* * unix/tclUnixSock.c (CreateClientSocket): Fix a memleak andrmax2010-10-121-16/+6
| | | | refactor the calls to freeaddrinfo() [Bug #3084338].
* Eliminate many tclWinProcs-> indirect calls, which are no longer needed.nijtmans2010-10-121-0/+1
| | | | Fix some MSVC 6.0 warnings
* re-generate configure with autoconf-2.59nijtmans2010-09-291-4840/+13632
|
* * doc/socket.n: Document the changes to the [socket] and rmax2010-09-287-13742/+5313
| | | | | | | | | | | | | | | | | | | | | | | | | | | [fconfiguyre] commands. * generic/tclInt.h: Introduce TclCreateSocketAddress() as a * generic/tclIOSock.c: replacement for the platform-dependent * unix/tclUnixSock.c: TclpCreateSocketAddress() functions. * unix/tclUnixChan.c: Extend the [socket] and [fconfigure] * unix/tclUnixPort.h: commands to behave as proposed in * win/tclWinSock.c: TIP #162. * win/tclWinPort.h: * compat/fake-rfc2553.c: A compat implementation of the APIs * compat/fake-rfc2553.h: defined in RFC-2553 (getaddrinfo() and friends) on top of the existing gethostbyname() etc. * unix/configure.in: Test whether the fake-implementation is * unix/tcl.m4: needed. * unix/Makefile.in: Add a compile target for fake-rfc2553. * win/configure.in: Allow cross-compilation by default * tests/socket.test: Improve the test suite to make more use of * tests/remote.tcl: randomized ports to reduce interference with tests running in parallel or other services on the machine.
* Make Tcl_SetPanicProc and Tcl_GetStringResult callable without stubs, just ↵nijtmans2010-09-231-2/+2
| | | | as Tcl_SetVar.
* Make compilable with -DUNICODE (not actived yet)nijtmans2010-09-231-41/+36
| | | | Many clean-ups in comments.
* Improved readability of tcl+pkgs builds and testsdgp2010-09-221-7/+9
|
* * unix/Makefile.in: do not pass current build env vars when usinghobbs2010-09-161-10/+6
| | | | NATIVE_TCLSH in targets.
* * unix/Makefile.in: Revise `make dist` target to tolerate thedgp2010-09-151-2/+3
| | | | case of zero bundled packages.
* update file generated by 'make dist'dgp2010-09-151-3/+6
|
* * unix/configure, unix/tcl.m4: SHLIB_LD_LIBS='${LIBS}' for OSF1-V*.hobbs2010-08-272-3/+5
| | | | | Add /usr/lib64 to set of auto-search dirs. [Bug 1230554] (SC_PATH_X): Correct syntax error when xincludes not found.
* [Patch #2994165] Change signature of Tcl_FSGetNativePath and TclpDeleteFilenijtmans2010-08-141-3/+3
|
* * unix/ldAix: remove ancient (pre-4.2) AIX supporthobbs2010-08-126-279/+50
| | | | | | | | * unix/configure: regen with ac-2.59 * unix/configure.in, unix/tclConfig.sh.in, unix/Makefile.in: * unix/tcl.m4 (AIX): remove the need for ldAIX, replace with -bexpall/-brtl. Remove TCL_EXP_FILE (export file) and other baggage that went with it. Remove pre-4 AIX build support.
* * unix/tclUnixFCmd.c: adjust license header as perhobbs2010-08-041-6/+2
| | | | ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
* Use SC_PROG_TCLSH to set a native tclsh in the Makefile.patthoyts2010-07-113-4/+61
| | | | | | | | When installing the libraries a native tcl interpreter is used to process some files. The makefile uses NATIVE_TCLSH for this. This patch causes us to prefer an installed tclsh over the build product which solves build issues when cross-compiling (provided a native tcl is installed). If there is no native version, just try using the build product.
* Eliminate various unnecessary type casts, use function typedefs whenever ↵nijtmans2010-06-218-70/+62
| | | | possible
* Simplify Tcl_AppInit and *_Init definitions.nijtmans2010-06-162-2/+3
| | | | | | Change TclpThreadCreate and Tcl_CreateThread signature, making clear that "proc" is a function pointer, as in all other "proc" function parameters.
* Fix compilation of xttest with 8.6 changesnijtmans2010-06-141-2/+2
| | | | tclPipe.c: Fix gcc warning (with -fstrict-aliasing=2)
* Fix compilation of xttest with 8.6 changesnijtmans2010-06-143-32/+30
| | | | tclPipe.c: Fix gcc warning (with -fstrict-aliasing=2)
* * library/platform/platform.tcl: Added OSX Intel 64bitandreas_kupries2010-06-091-3/+3
| | | | | | * library/platform/pkgIndex.tcl: Package updated to version 1.0.9. * unix/Makefile.in: * win/Makefile.in:
* * library/platform/platform.tcl: Fix cpu name for Solaris/Intel 64bit.andreas_kupries2010-05-071-3/+3
| | | | | | * library/platform/pkgIndex.tcl: Package updated to version 1.0.8. * unix/Makefile.in: * win/Makefile.in:
* Add pkg, *.dll to the ignore listnijtmans2010-05-031-0/+2
|
* * generic/tcl.h: Bump patchlevel to 8.6b1.2 to distinguishdgp2010-04-302-3/+3
| | | | | | | | | * library/init.tcl: CVS snapshots from earlier snapshots as well * unix/configure.in: as the 8.6b1 and 8.6b2 releases. * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * unix/Makefile.in (gdb-test): Remove quotes so that library paths aredkf2010-04-301-2/+2
| | | | constructed correctly.
* * library/platform/platform.tcl: Another stab at getting the /lib,andreas_kupries2010-04-291-3/+3
| | | | | | * library/platform/pkgIndex.tcl: /lib674 difference right for * unix/Makefile.in: linux. Package updated to version 1.0.7. * win/Makefile.in:
* * unix/tclLoadDl.c (FindSymbol): [Bug 2992295]: Simplified theKevin B Kenny2010-04-261-7/+12
| | | | | logic so that the casts added in Donal Fellows's change for the same bug are no longer necessary.
* * unix/tclLoadDl.c (FindSymbol): [Bug 2992295]: Added an explicit castdkf2010-04-261-2/+2
| | | | | because auto-casting between function and non-function types is never naturally warning-free.
* Fix [Bug #2991415] tclport.h #included before limits.hnijtmans2010-04-231-1/+6
|
* Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)nijtmans2010-04-222-7/+7
| | | | Eliminate various unnecessary type casts.
* Fixed missing update of platform package index, and Makefiles.andreas_kupries2010-04-141-3/+3
|
* regenerated with autoconf-2.59nijtmans2010-04-061-4794/+13368
| | | | | [Bug 2982540] configure and install* script files should always have LF
* regenerated with autoconf-2.59nijtmans2010-04-061-12055/+3597
| | | | | [Bug 2982540] configure and install* script files should always have LF
* Regen with autoconf 2.61 (what I have)dkf2010-04-051-6356/+6240
|
* Flip the defaults for whether to build threaded. Part of TIP #364.dkf2010-04-051-3/+3
|
* Fix two failing tests by matching the can't-lookup-symbol error message.dkf2010-04-052-17/+17
|
* * generic/tclIOUtil.c (Tcl_LoadFile): Corrections to previous commitdkf2010-04-021-22/+23
| | | | | * unix/tclLoadDyld.c (TclpDlopen): to make it build on OSX. Also add missing ChangeLog entry for previous commit by KBK.
* * generic/tcl.decls: [TIP #357]: First round of changesKevin B Kenny2010-04-026-56/+185
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: to export Tcl_LoadFile, Tcl_FindSymbol, * generic/tclIOUtil.c: and Tcl_FSUnloadFile to the public API. * generic/tclInt.h: * generic/tclLoad.c: * generic/tclLoadNone.c: * generic/tclStubInit.c: * tests/fileSystem.test: * tests/load.test: * tests/unload.test: * unix/tclLoadDl.c: * unix/tclLoadDyld.c: * unix/tclLoadNext.c: * unix/tclLoadOSF.c: * unix/tclLoadShl.c: * unix/tclUnixPipe.c: * win/Makefile.in: * win/tclWinLoad.c:
* Only test for -visibility=hidden with gccnijtmans2010-03-292-8/+22
| | | | (Second remark in [Bug 2976508])
* Revert the conversion of TCL_VERSION to "8.1" and "8.5" in the Tcl_InitStubs()dgp2010-03-286-15/+15
| | | | calls of the pkg*.c testing extensions.
* Provide "lowest supported Tcl version" tonijtmans2010-03-276-15/+15
| | | | | the Tcl_InitStubs functions in unix/dltest, in stead of "current Tcl version"
* * unix/tclUnixFCmd.c (TclUnixCopyFile): [Bug 2976504]: Correcteddkf2010-03-251-2/+2
| | | | number of arguments to fstatfs() call.