summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* TIP #230 IMPLEMENTATIONandreas_kupries2008-06-061-2/+6
| | | | | | | | | | | | | | | | | | | * generic/tclIOCmd.c: Integration of transform commands into 'chan' ensemble. * generic/tclInt.h: Definitions of the transform commands. * generic/tclIORTrans.c: Implementation of the reflection transforms. * tests/chan.test: Tests updated for new sub-commands of 'chan'. * tests/ioCmd.test: Tests updated for new sub-commands of 'chan'. * tests/ioTrans.test: Whole new set of tests for the reflection transform. * unix/Makefile.in: Integration of new files into build rules. * win/Makefile.in: Integration of new files into build rules. * win/makefile.vc: Integration of new files into build rules. NOTE: The file 'tclIORTrans.c' has a lot of code in common with the file 'tclIORChan.c', as that made it much easier to develop the reference implementation as a separate module. Now that the transforms have been committed the one thing left to do is to go over both modules and see which of the common parts we can factor out and share.
* Fix generation of stubs for the OO API.dkf2008-06-011-3/+3
|
* * generic/tclOOStubLib.c: ensure use of tcl stubs; include indas2008-05-311-3/+5
| | | | | | | | | | | | | | * unix/Makefile.in: stub lib; disable broken tclOO genstubs * generic/tclOO.c: make tclOO stubs tables 'static const' * generic/tclOODecls.h: and stub table pointers MODULE_SCOPE * generic/tclOOIntDecls.h: (change generated files manually * generic/tclOOStubInit.c: pending genstubs support for tclOO). * generic/tclOOStubLib.c: * generic/tclOO.c: fix warnings for 'int<->ptr conversion' * generic/tclOOCall.c: and 'signed vs unsigned comparison'. * generic/tclOOMethod.c:
* * unix/tclConfig.h.in: autoheader-2.59das2008-05-311-5/+1
|
* Implementation of TIP #257. Incomplete due to missing Win build support.dkf2008-05-312-4/+54
|
* Oops. Undo commit of the local tweaks.andreas_kupries2008-05-231-4/+4
|
* * win/tclWinChan.c (FileWideSeekProc): Accepted a patch byandreas_kupries2008-05-231-4/+4
| | | | | | | | | | | | Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1965787]. 'tell' now works for locations > 2 GB as well instead of going negative. * generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by * tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net> * tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside of the supported range are now clipped to nearest boundary instead of ignored.
* * generic/tcl.h: Make Tcl_ThreadDataKey a void *.georgeps2008-05-091-1/+44
| | | | | | | | | | | | | | | | | * generic/tclInt.h: Change around some function names and add some new per-platform declarations for thread-specific data functions. * generic/tclThread.c: Make use of of the new function names that no longer have a Tclp prefix. * generic/tclThreadStorage.c: Replace the core thread-specific data (TSD) mechanism with an array offset solution that eliminates the hash tables, and only uses one slot of native TSD. Many thanks to Kevin B. Kenny for his help with this. * unix/tclUnixThrd.c: Add platform-specific TSD functions for use by tclThreadStorage.c. * win/tclWinThrd.c: Add platform-specific TSD functions for use by tclThreadStorage.c.
* More elimination of pre-C89-isms.dkf2008-05-021-3/+3
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-275-27/+27
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-2713-273/+285
|
* * generic/tclInt.h: revise Tcl_SetNotifier() to use adas2008-04-161-333/+346
| | | | | | | | * generic/tclNotify.c: module-scope hooks table instead of * generic/tclStubInit.c: runtime stubs-table modification; * macosx/tclMacOSXNotify.c: ensure all hookable notifier functions * win/tclWinNotify.c: check for hooks; remove hook checks in * unix/tclUnixNotfy.c: notifier API callers. [Patch 1938497]
* * unix/Makefile.in: adjust tclDTrace.h dependencies for removaldas2008-04-151-2/+2
| | | | of tclStubLib.o from TCL_OBJS. [Bug 1942795]
* * unix/tclUnixTime.c (NativeGetTime): Removed obsolete use ofKevin B Kenny2008-04-141-3/+2
| | | | 'struct timezone' in the call to 'gettimeofday'. [Bug 1942197].
* autoheader-2.59das2008-04-011-3/+0
|
* autoconf-2.59das2008-04-011-9/+1
|
* (SunOS-5.1x): quote CC var to allow make-time overridedas2008-04-011-5/+1
| | | | sync with tcl/unix/tcl.m4 changes
* Regen'dandreas_kupries2008-04-011-2/+177
|
* * generic/tclStrToD.c: Applied patch for [Bug 1839067] (fpandreas_kupries2008-04-011-2/+21
| | | | | * unix/tcl.m4: rounding setup on solaris x86, native cc), provided by Michael Schlenker.
* * README: Bump version number to 8.6a0dgp2008-04-014-23/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * macosx/Tcl-Common.xcconfig: * macosx/Tcl.pbproj/default.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/configure.in: * win/makefile.bc: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tclBasic.c: Revised stubs-generation tool and interp * tools/genStubs.tcl: creation so that "tclStubsPtr" is not present * unix/Makefile.in: in libtcl.so, but is present only in libtclstub.a. This tightens up the rules for users of the stubs interfaces. [Bug 1819422] * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclTomMathDecls.h:
* autoheader-2.59das2008-03-301-0/+3
|
* autoconf-2.59das2008-03-301-6192/+6179
|
* * generic/tclInt.h (TclIsNaN):Kevin B Kenny2008-03-302-6158/+6252
| | | | | | | | | * unix/configure.in: Added code to the configurator to check for a standard isnan() macro and use it if one is found. This change avoids bugs where the test of ((d) != (d)) is optimized away by an overaggressive compiler. [Bug 1783544] * unix/configure: autoconf-2.61
* * generic/tcl.h: Bump to 8.5.2 for release.core_8_5_2dgp2008-03-283-5/+5
| | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * unix/configure: autoconf-2.59das2008-03-271-1/+1
|
* * unix/tcl.m4 (SunOS-5.1x): fix 64bit support for Sun cc. [Bug 1921166]das2008-03-271-1/+1
|
* * generic/tclTest.c: Ignore the return value of write() whenrmax2008-03-141-3/+3
| | | | * unix/tclUnixPipe.c: we are about to exit anyways.
* * unix/configure.in: use backspace-quoting instead of double-quotingdas2008-03-133-29/+29
| | | | | * unix/tcl.m4: for lib paths in tclConfig.sh [Bug 1913622]. * unix/configure: autoconf-2.59
* * unix/Makefile.in (install-libraries): Bump http to 2.7hobbs2008-03-121-3/+3
| | | | | | | | | | | | * win/Makefile.in (install-libraries): Added -myaddr option to allow * library/http/http.tcl (http::geturl): control of selected socket * library/http/pkgIndex.tcl: interface. [Bug 559898] * doc/http.n, tests/http.test: Added -keepalive and -protocol 1.1 with chunked transfer encoding support. [Bug 1063703, 1470377, 219225] Added ability to override Host in -headers. [Bug 928154] Added -strict option to control URL validation on per-call basis. [Bug 1560506]
* * unix/configure: autoconf-2.59das2008-03-111-19/+19
|
* * macosx/GNUmakefile: fix quoting to allow paths todas2008-03-114-141/+141
| | | | | | | | | | | | * macosx/Tcl-Common.xcconfig: ${builddir} and ${INSTALL_ROOT} * unix/Makefile.in: to contain spaces. * unix/configure.in: * unix/install-sh: * unix/tcl.m4: * tests/ioCmd.test: * unix/Makefile.in (install-strip): strip non-global symbols from dynamic library.
* * macosx/Tcl.xcodeproj/project.pbxproj: add support for Xcode 3.1 anddas2008-03-111-5/+11
| | | | | | | | | | | * macosx/Tcl.xcodeproj/default.pbxuser: targets for building with * macosx/Tcl-Common.xcconfig: gcc-4.2 and llvm-gcc-4.2. * unix/tclUnixPort.h: workaround vfork() problems in llvm-gcc-4.2.1 -O4 build. * unix/tclUnixPort.h: move MODULE_SCOPE compat define to top [Bug 1911102].
* * unix/tclUnixNotfy.c: fix warningdas2008-03-111-2/+2
|
* * generic/tclResult.c (ReleaseKeys): Workaround for [Bugandreas_kupries2008-03-071-2/+2
| | | | | | | | | | | | 1904907]. Reset the return option keys to NULL to allow full re-initialization by GetKeys(). This introduces a memory leak for the key objects, but gets us around a crash in the finalization of reflected channels when handling returns, either at compile- or runtime. In both cases we access the keys after they have been released by their thread exit handler. A proper fix is entangled with the untangling of the finalization ordering and attendant issues. For now we choose the lesser evil.
* * unix/tclUnixChan.c: Fix mark and space parity on Linux, whichrmax2008-03-031-1/+4
| | | | uses CMSPAR instead of PAREXT.
* Reduce scope of <sys/filio.h> and <sys/ioctl.h> #includes.jenglish2008-02-283-43/+14
|
* Consolidate all code conditionalized on -DUSE_FIONBIO into one place.jenglish2008-02-285-133/+52
| | | | New routine TclUnixSetBlockingMode().
* autoheader-2.59das2008-02-271-1/+1
|
* Remove dead/unused portability-related #defines and unused conditional code.jenglish2008-02-272-158/+7
| | | | See SF#1901828 for discussion and archaeological notes.
* Define socklen_t as "int" if missing, not "unsigned".jenglish2008-02-262-24/+47
| | | | | | (accept(2) et. al. traditionally took "int *" before POSIX invented socklen_t) Use AC_TRY_COMPILE instead of AC_EGREP_HEADER for socklen_t test. Regenerated configure script.
* Set version 2.5.5patthoyts2008-02-261-3/+3
| | | | bug #1868845 - it is better to do the [eof] check after trying to read from the socket. No clashes found in testing. Added http::meta command to access the http headers.
* Fix for bug #1818565. Always check that the state array exists in the ↵patthoyts2008-02-221-3/+3
| | | | http::status command. Set version 2.5.4
* * generic/tcl.h: Bump version number to 8.5.2b1 to distinguishdgp2008-02-133-5/+5
| | | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5.1 and * unix/configure.in: 8.5.2 releases. * unix/tcl.spec: * win/configure.in: * README * unix/configure: autoconf (2.59) * win/configure:
* Documented missing configure flags. [Bug 1799011]dkf2008-02-121-110/+126
|
* *** 8.5.1 TAGGED FOR RELEASE ***dgp2008-02-043-5/+5
| | | | | | | | | | | | * generic/tcl.h: Bump to 8.5.1 for release. * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * unix/configure.in (Darwin): correct Info.plist year substitution indas2008-02-022-5/+5
| | | | | | non-framework builds. * unix/configure: autoconf-2.59
* * unix/README: minor typo fixes [Bug 1853072]hobbs2008-01-201-4/+4
|
* * unix/tclUnixThrd.c (TclpThreadGetStackSize): restore stackMiguel Sofer2008-01-111-8/+11
| | | | checking functionality in freebsd [Bug 1850424]
* * unix/tclUnixThrd.c (TclpThreadGetStackSize): fix for crash inMiguel Sofer2008-01-111-7/+4
| | | | freebsd [Bug 1860425].
* * generic/tcl.h: Bump version number to 8.5.1b1 to distinguishdgp2008-01-023-5/+5
| | | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5.0 and * unix/configure.in: 8.5.1 releases. * unix/tcl.spec: * win/configure.in: * README * unix/configure: autoconf (2.59) * win/configure: