Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge 8.7 | dkf | 2019-04-19 | 1 | -51/+322 |
|\ | |||||
| * | Merge 8.7, and fix build problem on Windows | jan.nijtmans | 2019-04-07 | 1 | -14/+22 |
| |\ | |||||
| * | | Support -winsize read-only option | dkf | 2019-03-29 | 1 | -1/+27 |
| | | | |||||
| * | | Partial implementation on Windows. UNTESTED | dkf | 2019-03-27 | 1 | -4/+9 |
| | | | |||||
| * | | Better handling, reset capabilty, and ensure that inherited channels are correct | dkf | 2019-03-24 | 1 | -30/+91 |
| | | | |||||
| * | | Start of implementation of TIP 160: better terminal control | dkf | 2019-03-24 | 1 | -36/+212 |
| | | | |||||
* | | | Merge 8.7 | jan.nijtmans | 2019-03-11 | 1 | -11/+19 |
|\ \ \ | | |/ | |/| | |||||
| * | | Improve parsing of -xchar option for serial channels: Allow full 8-bit range ↵ | jan.nijtmans | 2019-03-11 | 1 | -11/+19 |
| |/ | | | | | | | (correct UTF-8 handling), and let UNIX/win32 produce the same error-message in case of char > 0xFF | ||||
* | | More size_t-related consolidations. Now regexp can handle strings >2GB and ↵ | jan.nijtmans | 2019-02-05 | 1 | -2/+2 |
| | | | | | | | | more. Remove many type-casts which are not necessary any more. | ||||
* | | Another (big) round of int -> size_t enhancements. So Tcl can handle string ↵ | jan.nijtmans | 2019-02-01 | 1 | -2/+2 |
|\ \ | |/ | | | | | >2GiB in more places. | ||||
* | | merge trunk | jan.nijtmans | 2018-09-13 | 1 | -4/+4 |
|\ \ | |||||
| * \ | merge 8.7 | jan.nijtmans | 2018-09-13 | 1 | -4/+4 |
| |\ \ | | |/ | |||||
| | * | Eliminate the use of macro's like LLONG_MAX|MIN, since they assume that ↵ | jan.nijtmans | 2018-09-13 | 1 | -4/+4 |
| | | | | | | | | | | | | Tcl_WideInt equals "long long". Also eliminate uses of Tcl_WideAsLong() and friends, as - often - simple type cases make things more clear. | ||||
* | | | Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, ↵ | jan.nijtmans | 2018-09-01 | 1 | -10/+10 |
|/ / | | | | | | | TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion) | ||||
* | | Don't call getsockname(2) in Tcl_MakeFileChannel(3) unless absolutely necessary. | stu | 2018-06-13 | 1 | -11/+13 |
|/ | | | | Closes RFE [0ac9d06895]. Permits better constraining of Tcl/tclsh via OpenBSD's pledge(2) or similar mechanisms. | ||||
* | merge trunk | jan.nijtmans | 2017-05-04 | 1 | -9/+8 |
|\ | |||||
| * | [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵ | dkf | 2017-04-27 | 1 | -9/+8 |
| |\ | | | | | | | | | | zlib channel transform. | ||||
* | | | Fix compile error on Cygwin, and double definition of TclUnixWaitForFile() | jan.nijtmans | 2017-03-08 | 1 | -160/+0 |
|/ / | |||||
* | | Simplify use of "struct" keyword in many places. | jan.nijtmans | 2016-06-30 | 1 | -2/+2 |
|/ | |||||
* | Fix [e770d92d76]: Add support for higher baud rates in Tcl | jan.nijtmans | 2015-06-16 | 1 | -0/+33 |
|\ | |||||
| * | Fix [e770d92d76]: Add support for higher baud rates in Tcl | jan.nijtmans | 2015-06-16 | 1 | -0/+33 |
| |\ | |||||
| | * | Patch to add support for higher baud rates under Unix Ticket [e770d92d76]] | hypnotoad | 2015-06-10 | 1 | -0/+33 |
| |/ |/| | |||||
* | | Remove a number of eol-spaces. No change in functionality. | jan.nijtmans | 2014-11-14 | 1 | -4/+4 |
| | | |||||
* | | Add test-case for previous commit, which shows that when trying to open a ↵ | jan.nijtmans | 2014-11-03 | 1 | -0/+5 |
|\ \ | |/ | | | | | filename with invalid characters gives the right error-message. (same bug existed on UNIX too, which is now fixed) | ||||
| * | Add test-case for previous commit, which shows that when trying to open a ↵ | jan.nijtmans | 2014-11-03 | 1 | -0/+5 |
| | | | | | | | | filename with invalid characters gives the right error-message. (same bug existed on UNIX too, which is now fixed) | ||||
| * | Additional check for an error condition on the socket. | dgp | 2014-06-12 | 1 | -1/+7 |
| | | |||||
| * | Workaround the broken select() in some Linux kernels that fails to report | dgp | 2014-06-11 | 1 | -3/+52 |
| | | | | | | | | | | a writable state on a socket when an error condition (or remote close) is present. Would be good to add actual test suite tests for this, but until then see demo scripts in the ticket 1758a0b603. | ||||
* | | Unix terminal and serial port I/O: retire obsolete termio and sgtty code, | joe | 2013-03-03 | 1 | -314/+98 |
|\ \ | | | | | | | general cleanup. See SF [Bug 3606258] for details. | ||||
| * | | ... which means struct TtyState can be replaced with struct FileState. | joe | 2013-03-02 | 1 | -51/+25 |
| | | | |||||
| * | | Member TtyState.savedState set in TtyInit() but never subsequently used. | joe | 2013-03-02 | 1 | -19/+10 |
| | | | | | | | | | This can go away... | ||||
| * | | TtyParseMode signature simplification: take single pointer to struct TtyAttrs | jenglish | 2013-03-02 | 1 | -19/+12 |
| | | | | | | | | | instead of separate pointers to each member. | ||||
| * | | More ifdef shuffling: GETREADQUEUE and GETWRITEQEUE always defined, | jenglish | 2013-03-02 | 1 | -6/+7 |
| | | | | | | | | | dummy implementations return 0 if the requisite ioctls are not present. | ||||
| * | | Do not use strncasecmp(). It is nonstandard and not portable. | jenglish | 2013-03-02 | 1 | -7/+7 |
| | | | | | | | | | Use Tcl_UtfNcasecmp() instead. | ||||
| * | | Replace broken SC_SERIAL_PORT macro with plain AC_CHECK_HEADERS tests. | jenglish | 2013-03-01 | 1 | -5/+6 |
| | | | |||||
| * | | ifdef shuffling: TIOCMC[GS]ET ioctls are not specified by POSIX, | jenglish | 2013-03-01 | 1 | -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 | jenglish | 2013-02-28 | 1 | -6/+2 |
| | | | | | | | | | | | | this function is in static storage [...]"; this is not the case (and apparently never has been) | ||||
| * | | TtyGetBaud(), TtyGetSpeed(): use POSIX speed_t typedef | jenglish | 2013-02-27 | 1 | -16/+8 |
| | | | | | | | | | instead of 'unsigned long'. | ||||
| * | | Remove IOSTATE facade: it's always a struct termios. | jenglish | 2013-02-27 | 1 | -25/+18 |
| | | | |||||
| * | | ifdef reduction - missed a couple spots (#if ... defined(USE_TERMIO)) | jenglish | 2013-02-27 | 1 | -7/+4 |
| | | | |||||
| * | | ifdef reduction: SUPPORTS_TTY defined if and only if USE_TERMIOS defined. | jenglish | 2013-02-27 | 1 | -21/+1 |
| | | | |||||
| * | | For termios, we never want DIRECT_BAUD; always use the symbolic constants | jenglish | 2013-02-27 | 1 | -14/+0 |
| | | | | | | | | | as prescribed by POSIX. | ||||
| * | | termios cleanup step 1: remove USE_TERMIO and USE_SGTTY conditional sections | jenglish | 2013-02-27 | 1 | -100/+1 |
|/ / | | | | | (mechanical change, done with `unifdef`). | ||||
* | | Final part of result generation conversion (modulo any minor blunders) | dkf | 2012-08-05 | 1 | -35/+40 |
| | | |||||
* | | Factor out a number of common patterns of use of Tcl_DStringAppend. | dkf | 2012-07-03 | 1 | -2/+2 |
| | | |||||
* | | get rid of _ANSI_ARGS_ and CONST | jan.nijtmans | 2012-04-26 | 1 | -1/+1 |
|\ \ | |/ | |||||
* | | make some more internal tables const | jan.nijtmans | 2012-04-23 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | make some more internal tables const | jan.nijtmans | 2012-04-23 | 1 | -1/+1 |
| |\ | |||||
| | * | make some more internal tables const | jan.nijtmans | 2012-04-23 | 1 | -1/+1 |
| | | | | | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib | ||||
| | * | Backport to 8.4/unix the healthy FD_SET reform started by das. Allows Tcl8.4 ↵ | guest | 2012-03-04 | 1 | -25/+30 |
| | | | | | | | | | | | | to have sane fileevents on x86_64 unices at last. | ||||
* | | | More generation of error codes (most platform-specific parts not already using | dkf | 2011-04-06 | 1 | -0/+21 |
| | | | | | | | | | Tcl_PosixError). |