summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Add support for Cygwin64, which has a 64-bit "long" type. jan.nijtmans2013-05-061-1/+3
| |\ \ \ | | | | | | | | | | | | | | | Binary compatibility with win64 requires that all stub entries use 32-bit long's, therefore the need for various wrapper functions/macros. For Tcl 9 a better solution is needed, but that cannot be done without introducing binary incompatibility.
| * \ \ \ Implement Tcl_Pkg* functions as macro's around Tcl_Pkg*Ex. This saves stack ↵jan.nijtmans2013-04-121-2/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
| * | | | | Bump http to 2.8.7 in the other dozen places as well.max2013-04-041-2/+2
| | | | | |
| * | | | | Patch by Andrew Shadura, providing better support for three architectures ↵jan.nijtmans2013-03-122-196/+328
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | they have in Debian.
| * | | | | | unix/configure: regenerated.jenglish2013-03-031-557/+395
| | | | | | |
| * | | | | | Unix terminal and serial port I/O: retire obsolete termio and sgtty code,joe2013-03-035-458/+107
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | general cleanup. See SF [Bug 3606258] for details.
| | * | | | | | ... which means struct TtyState can be replaced with struct FileState.joe2013-03-021-51/+25
| | | | | | | |
| | * | | | | | Member TtyState.savedState set in TtyInit() but never subsequently used.joe2013-03-021-19/+10
| | | | | | | | | | | | | | | | | | | | | | | | This can go away...
| | * | | | | | TtyParseMode signature simplification: take single pointer to struct TtyAttrs jenglish2013-03-021-19/+12
| | | | | | | | | | | | | | | | | | | | | | | | instead of separate pointers to each member.
| | * | | | | | More ifdef shuffling: GETREADQUEUE and GETWRITEQEUE always defined,jenglish2013-03-021-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | dummy implementations return 0 if the requisite ioctls are not present.
| | * | | | | | Do not use strncasecmp(). It is nonstandard and not portable.jenglish2013-03-021-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Use Tcl_UtfNcasecmp() instead.
| | * | | | | | unix/configure: regenerated.jenglish2013-03-011-557/+395
| | | | | | | |
| | * | | | | | Replace broken SC_SERIAL_PORT macro with plain AC_CHECK_HEADERS tests.jenglish2013-03-015-149/+15
| | | | | | | |
| | * | | | | | ifdef shuffling: TIOCMC[GS]ET ioctls are not specified by POSIX,jenglish2013-03-011-39/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so we can't assume they are present just because we HAVE_TERMIOS_H. Conversely, if they are present then the subsidiary flags TIOCM_{DTR|RTS} are almost certainly there as well, so that ifdeffery can be removed. And lastly, ifdefs for TIOCSBRK/TIOCCBRK are still needed. (Those are logically separate functions even though TIP#35 lumped them together with DTR and RTS in -ttycontrol. POSIX provides tcsendbreak() for this purpose, but that interface doesn't fit with the TIP#35 API.) KNOWN DEFECT: if a hypothetical Unix system is missing TIOCMCGET but has TIOCSBRK/TIOCCBRK, the latter function will nevertheless be unavailable. Accounting for this possibility does not strike me as being worth the ifdefs.
| | * | | | | | TtyGetOptionProc: remove inoperative comment "The string returned by jenglish2013-02-281-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this function is in static storage [...]"; this is not the case (and apparently never has been)
| | * | | | | | TtyGetBaud(), TtyGetSpeed(): use POSIX speed_t typedefjenglish2013-02-271-16/+8
| | | | | | | | | | | | | | | | | | | | | | | | instead of 'unsigned long'.
| | * | | | | | Remove IOSTATE facade: it's always a struct termios.jenglish2013-02-271-25/+18
| | | | | | | |
| | * | | | | | ifdef reduction - missed a couple spots (#if ... defined(USE_TERMIO))jenglish2013-02-271-7/+4
| | | | | | | |
| | * | | | | | ifdef reduction: SUPPORTS_TTY defined if and only if USE_TERMIOS defined.jenglish2013-02-271-21/+1
| | | | | | | |
| | * | | | | | For termios, we never want DIRECT_BAUD; always use the symbolic constantsjenglish2013-02-271-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | as prescribed by POSIX.
| | * | | | | | termios cleanup step 1: remove USE_TERMIO and USE_SGTTY conditional sectionsjenglish2013-02-271-100/+1
| |/ / / / / / | | | | | | | | | | | | | | (mechanical change, done with `unifdef`).
| * | | | | | Use (preferred) Tcl_ObjSetVar2 in stead of Tcl_SetVar in tclAppInit.c, both ↵jan.nijtmans2013-02-171-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | UNIX and Win.
| * | | | | | [Bug 3604576]: msgcat-1.5.0.tm error on windows XPjan.nijtmans2013-02-141-2/+2
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>jan.nijtmans2013-02-103-3/+0
| |\ \ \ \ \ \ \
| * | | | | | | | Bug [3598282]: Stop using installData.tcl to install the timezone files.stwo2013-01-311-3/+32
| | | | | | | | |
| * | | | | | | | (::platform::LibcVersion): See [Bug 3599098]: Fixed the RE extractingandreask2013-01-301-2/+2
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the version to avoid issues with recent changes to the glibc banner. Now targeting a less variable part of the string. Bumped package to version 1.0.11.
| * \ \ \ \ \ \ \ \ [Bug 3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-261-0/+8
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Another memory leak, and one Tcl_Free -> ckfreejan.nijtmans2013-01-251-1/+1
| | | | | | | | | | |
| * | | | | | | | | | Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfojan.nijtmans2013-01-252-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix "make test-packages" on cygwin
| * | | | | | | | | | new version of cpuid, which doesn't use the edi register any more. Hopefully ↵jan.nijtmans2013-01-241-4/+3
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that works better on some Darwin.
| * \ \ \ \ \ \ \ \ \ \ revert [8e83219e38]: it doesn't work on i386jan.nijtmans2013-01-241-1/+1
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Bug [3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-221-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ fix Bug 3598300 on MacOSX toojan.nijtmans2013-01-192-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ [Bug 3598300]: unix: tcl.h does not include sys/stat.h.jan.nijtmans2013-01-182-25/+23
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (with an exception for OSX, for now)
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-174-3/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ [Bug 3598300]: unix: tcl.h does not include sys/stat.hjan.nijtmans2013-01-152-6/+6
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ REMOVED FROM TRUNK: buggy, breaks the build on linux. [Bug 3598300]: unix: ↵jan.nijtmans2013-01-151-1/+1
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tcl.h does not include sys/stat.h
| * | | | | | | | | | | | | | | | | Don't depend on Spencer-specific regexp syntax (/u and /U) any more in ↵jan.nijtmans2013-01-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unrelated places . Bump http package to 2.8.6.
| * | | | | | | | | | | | | | | | | test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as well. jan.nijtmans2013-01-021-0/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't free ctrl.script if thread creation fails: it is a constant string "testthread wait" normally.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Inline compat Tcl_GetDefaultEncodingDir. jan.nijtmans2012-12-211-28/+13
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate unnecessary static HasStubSupport() and isDigit() functions, just do the same inline.
| * | | | | | | | | | | | | | | | | | | Prefer to extract package data from the *contents* not the directory name.dgp2012-12-121-2/+1
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Tag 8.6.0 for releasedgp2012-12-111-1/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | | Improve the generation of HTML documentation in 8.6, allowing for contributeddkf2012-12-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packages whose non-version name parts are prefixes of others. Also ensure that documentation builds are complete after distribution, and that we generate a better error message when using the wrong tclsh version to do the build.
| * | | | | | | | | | | | | | | | | | | | merge trunkdgp2012-12-071-7/+35
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / /
| | * | | | | | | | | | | | | | | | | | | Source compat, rather than stubs compat demo.dgp2012-12-071-6/+13
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | add proper runtime-detection to pkgb.sojan.nijtmans2012-12-071-1/+10
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Extended test of [load]ing Tcl 8 compiled extension into Tcl 9 interp.dgp2012-12-071-2/+15
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Turn pkgb.so into a Tcl9 interoperability testjan.nijtmans2012-12-071-6/+5
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | library: Whatever Tcl9 looks like, loading pkgb.so in Tcl 9 should either result in an error-message, either succeed, but never crash.
| * | \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ merge trunkdgp2012-12-043-59/+72
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | | | | | | merge trunkdgp2012-11-161-7/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \