summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\
| * Suggested fix for bug 3604576: msgcat -1.5.0.tm error on windows XP, ↵jan.nijtmans2013-02-141-2/+2
| | | | | | | | | | inclusive bump to version 1.5.1. Changelog entry still missing.
* | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>jan.nijtmans2013-02-103-3/+0
|\ \ | |/
| * 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-5/+32
| |
* | 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.
| * (::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
|\ \ \ | |/ /
| * | [Bug 3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-261-0/+8
| |\ \ | | |/
| | * [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.
| * | 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.
| | * 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
|\ \ \ | |/ /
| * | revert [f3509c3d35]: it doesn't work on i386jan.nijtmans2013-01-241-1/+1
| |\ \ | | |/
| | * revert [273bbe926d]: it doesn't work on i386jan.nijtmans2013-01-241-1/+1
| | |
* | | Bug [3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-221-1/+1
|\ \ \ | |/ /
| * | Bug [3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-221-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
|\ \ \ | |/ /
| * | Proposed solution for Bug 3598300 on MacOSXbug_3598300jan.nijtmans2013-01-182-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)
| * | ... and fix cygwin buildjan.nijtmans2013-01-182-21/+19
| | |
* | | 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
| * | 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
| * | merge trunk jan.nijtmans2013-01-143-6/+11
| |\ \ | | | | | | | | remove some EXTERN and CONST usages in tclUnixPort.h
| | * | [Bug 3599395]: http assumes status line is a proper tcl list. jan.nijtmans2013-01-091-2/+2
| | | | | | | | | | | | Bump http package to 2.7.11.
* | | | 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.
| * | | test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as well. jan.nijtmans2013-01-021-0/+7
| |\ \ \ | | |/ / | |/| / | | |/ Marked some string subcommands as obsolete, following discussion on tcl-core. Don't free ctrl.script if thread creation fails: it is a constant string "testthread wait" normally.
| | * test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as welljan.nijtmans2013-01-021-0/+7
| | |