summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.jenglish_termios_cleanupjoe2013-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`).
* | [Bug 3606397]: Make test work in isolation, and corrected what was being tested.dkf2013-03-011-6/+13
| |
* | [Bug 3606542]: Add missing constraint to test.dkf2013-03-011-1/+1
|\ \
| * | [Bug 3606542]: Add missing constraint to test.dkf2013-03-011-1/+1
| | |
* | | Revise TclReleaseLiteral() to tolerate a NULL interp argument.dgp2013-02-284-23/+21
| | | | | | | | | Update callers and revise mistaken comments.
* | | fix coroutine-4.6 so that it runs in isolation, [Bug 3606395]mig2013-02-281-1/+1
| | |
* | | Allow Tcl to be compiled even if Tcl_Eval, Tcl_GetVar, ... are macros.jan.nijtmans2013-02-288-2/+22
| |/ |/|
* | minor: formatting tweaks in the change logdkf2013-02-271-15/+15
| |
| |
| \
*-. \ Somewhat tidier, less daunting test.dgp2013-02-271-141/+40
|\ \ \ | | |/
| | * Somewhat tidier, less daunting test.dgp2013-02-271-141/+40
| | |\ | |/ /
| | * A bit more tidiness expressing the new test expression.dgp2013-02-271-2/+35
| | |
| | * rejoin the branchdgp2013-02-270-0/+0
| | |\
| | * | Convert test expression into less imposing form.dgp2013-02-271-3/+7
| | | |
| * | | Wrap test-case over multiple linesjan.nijtmans2013-02-271-1/+139
| |\ \ \ | | | |/ | | |/|
* | | | Wrap test-case over multiple linesjan.nijtmans2013-02-271-1/+139
|\ \ \ \ | | |/ / | |/| |
| * | | Wrap test-case over multiple lines.off_8_4_branchjan.nijtmans2013-02-271-1/+139
| | |/ | |/|
* | | Some VOID -> void, Tcl_TraceVar -> Tcl_TraceVar2 and Tcl_VarTraceInfo -> ↵jan.nijtmans2013-02-277-28/+31
| | | | | | | | | | | | Tcl_VarTraceInfo2 conversions.
* | | [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵jan.nijtmans2013-02-273-0/+13
|\ \ \ | | |/ | |/| | | | Lane for providing the test-case and the patch.
| * | [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵jan.nijtmans2013-02-273-0/+13
| |\ \ | | |/ | | | | | | Lane for providing the test-case and the patch.
| | * [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵jan.nijtmans2013-02-273-0/+13
| | | | | | | | | | | | Lane for providing the test-case and the patch.
* | | Remove from tclIO.h structs used only in tclIO.c.dgp2013-02-262-108/+106
|\ \ \ | |/ /
| * | structs *ChannelHandler* GetsState CopyState used only locally.dgp2013-02-262-108/+106
| |\ \ | | |/ | | | Remove from tclIO.h.
| | * structs ChannelHandler ChannelHandlerEvent GetsState CopyState used locally.dgp2013-02-262-83/+82
| | | | | | | | | Remove from tclIO.h.
| | * struct NextChannelHandler used only locally. Remove from tclIO.h.dgp2013-02-262-25/+24
| | |
* | | [Bug 3605120]: Stop test chan-io-28.7 from hanging when run standalone.dkf2013-02-262-5/+14
| | |
* | | Don't panic if Tcl_ConvertToType is called for a type that doesn't have a ↵jan.nijtmans2013-02-262-1/+11
|\ \ \ | |/ / | | | | | | setFromAnyProc, create a proper error message.
| * | Don't panic if Tcl_ConvertToType is called for a type that doesn't have a ↵jan.nijtmans2013-02-262-1/+11
| | | | | | | | | | | | setFromAnyProc, create a proper error message.
* | | [Bug 3605721]: Test independence fixes for binary-41.*dkf2013-02-252-24/+37
| | |
* | | Repair linked list management in Tcl_DeleteCloseHandler().dgp2013-02-252-13/+18
|\ \ \ | |/ / | | | CloseCallback struct used only locally. Remove from tclIO.h.
| * | Repair linked list management in Tcl_DeleteCloseHandler().dgp2013-02-252-13/+18
| |\ \ | | |/ | | | CloseCallback struct used only locally. Remove from tclIO.h.
| | * Repair linked list management in Tcl_DeleteCloseHandler(). dgp2013-02-252-12/+18
| | | | | | | | | CloseCallback struct is used only locally. Remove from tclIO.h.
* | | LimitHandler struct used only locally. Remove from tclInt.hdgp2013-02-252-29/+31
|\ \ \ | |/ /
| * | LimitHandler struct used only locally. Remove from tclInt.h.dgp2013-02-252-29/+31
| | |
* | | Remove unused struct InterpList.dgp2013-02-251-11/+0
|\ \ \ | |/ /
| * | Remove unused struct InterpList.dgp2013-02-251-11/+0
| | |