summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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`).
* 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
| | |
* | | Array Search struct used only locally. Remove from tclInt.h.dgp2013-02-252-24/+24
|\ \ \ | |/ /
| * | ArraySearch struct used only locally. Remove from tclInt.h.dgp2013-02-252-24/+24
| | |
* | | 3605719,3605720 Test independence. Thanks Rolf Ade for patches.dgp2013-02-253-10/+31
|\ \ \ | |/ /
| * | 3605719,3605720 Test independence. Thanks Rolf Ade for patches.dgp2013-02-253-10/+31
| | |
* | | For Unicode 6.3, mongolian vowel separator (U+180e) is nominated to change ↵jan.nijtmans2013-02-251-2/+3
| | | | | | | | | | | | | | | character class from Space to Control character. Make sure that "string is space" will continue to return 1 for this character. See TIP #413.
* | | Bug [3599194]: compat/fake-rfc2553.c is brokenjan.nijtmans2013-02-232-3/+8
| | |
* | | unused variablesdgp2013-02-221-5/+0
| | |
* | | Shift more burden of smart cleanup onto the TclFreeCompileEnv() routine.dgp2013-02-223-85/+75
|\ \ \ | |/ / | | | Stop crashes when the hookProc raises an error.
| * | Restore the ReleaseCmdWordData cleanup routine from 8.4, to plug verydgp2013-02-221-18/+26
| | | | | | | | | rare memory leak.
| | |
| | \
| *-. \ Shift more burden of smart cleanup onto the TclFreeCompileEnv() routine.dgp2013-02-222-30/+49
| |\ \ \ | | | |/ | | | | Stop crashes when the hookProc raises an error.
| | | * Use iPtr field instead of source field to mark a CompileEnv as uninitialized.dgp2013-02-221-4/+4
| | |/ | | | | | | envPtr->source == NULL can actually be valid (at least when merging forward).
| | * Shift more burden of smart cleanup onto the TclFreeCompileEnv() routine.dgp2013-02-223-49/+50
| | |\ | | | | | | | | Stop crashes when the hookProc raises an error.
| | | * Protect against multiple uses of a CompileEnv with only one initialization.dgp2013-02-212-49/+44
| | |/ | | | | | | | | | | | | Make TclFreeCompileEnv smarter about cleanup so all callers do not have to be. Revise TclSetByteCodeFromAny() so that when hookProc raises an error, bytecode is not generated. This was rumored to cause crashes.