Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-02-15 | Do not clear to end of screen unless the pane is at the bottom. | Nicholas Marriott | |
2017-02-15 | "status bar" -> "status line" for consistency, from Benjamin Dopplinger. | Nicholas Marriott | |
2017-02-15 | fix division by zero crash in "df" output when server returns zero | Damien Miller | |
total filesystem blocks/inodes. Spotted by Guido Vranken; ok dtucker@ | |||
2017-02-14 | Make source-file look for files relative to the client working directory | Nicholas Marriott | |
(like load-buffer and save-buffer), from Chris Pickel. Also break the where-is-this-file code out into its own function for loadb and saveb. | |||
2017-02-13 | Collected cells may still need to be extended for RGB colours. | Nicholas Marriott | |
2017-02-12 | Do not access a NULL pointer if a matrix or square root are empty. | Ingo Schwarze | |
Crashes found by tb@ with afl(1). | |||
2017-02-11 | Do not read one element past the end of the static const termacts array. | Ingo Schwarze | |
Bug found by Sevan Janiyan <venture37 at geeklan dot co dot uk> who ran the OpenBSD mandoc test suite on Ubuntu on POWER8 (sic!) and reported that mdoc/Sh/before.in failed in -Tman mode. If that isn't power testing, i don't know... | |||
2017-02-11 | Never look for broken blocks inside blocks that are already closed. | Ingo Schwarze | |
Fixes the last the of tree corruptions sometimes causing NULL dereference reported by tb@; this one triggered in cases like: .Bl -column .It Pq Ta | |||
2017-02-11 | Do not prematurely close .Nd containing a broken child. | Ingo Schwarze | |
Fixes tree corruption leading to NULL dereference in insane cases like .Oo Oo .Nd .Pq Oc .Oc Oc found by tb@ with afl(1). | |||
2017-02-11 | Do not prematurely mark intermediate blocks as broken while scanning | Ingo Schwarze | |
backwards. Only do so when a block is found that is actually broken. Logic error found while investigating crashes reported by tb@. | |||
2017-02-10 | For child macros of block-end macros, only scan backwards for pending | Ingo Schwarze | |
breakers unless the parent of the block is already closed. While the scanning is needed in cases like ".Ac Bo" for broken Ao, it is useless and crashy in cases like ".Ac Bc" for non-broken Ao. This fixes a NULL pointer dereference that tb@ found with afl(1). | |||
2017-02-10 | Oops, the previous commit unintentionally included this file. | Ingo Schwarze | |
The intended commit message for rev. 1.167 is: In the SYNOPSIS, .Nm blocks can get broken if one of their children gets broken. In that case, mark them as BROKEN and ENDED and make sure they get closed out together with the child. Fixes tree corruption leeding to a NULL dereference found by tb@ with afl(1) in: .Sh SYNOPSIS .Bl .Oo .Nm .Bk .Oc .It (where .Bk is the child and .Oo is the breaker). A simpler form of the same corruption (without crash) is visible in: .Sh SYNOPSIS .Ao .Nm .Bo .Ac .Bc text where the text ended up inside the .Nm (child .Bo, breaker .Ao). | |||
2017-02-10 | In -Ttree output mode, show the BROKEN node flag and | Ingo Schwarze | |
provide a -Onoval output option to show the unvalidated tree. | |||
2017-02-10 | Add not delete the event if more to write. | Nicholas Marriott | |
2017-02-10 | Revert; committed from the wrong directory. | Nicholas Marriott | |
2017-02-10 | Add rather than delete the event if more writing to come. | Nicholas Marriott | |
2017-02-10 | Don't use a bufferevent for the tty, so we can keep better track of what | Nicholas Marriott | |
is being written and when. Also a manpage typo fix from jmc@. | |||
2017-02-10 | bring back r1.34 that was backed out for problems loading public keys: | Damien Miller | |
translate OpenSSL error codes to something more meaninful; bz#2522 reported by Jakub Jelen, ok dtucker@ with additional fix from Jakub Jelen to solve the backout. bz#2525 bz#2523 re-ok dtucker@ | |||
2017-02-10 | Sanitise escape sequences in key comments sent to printf but preserve | Damien Miller | |
valid UTF-8 when the locale supports it; bz#2520 ok dtucker@ | |||
2017-02-09 | When netcat was started with -Uz, the exit status was always 1. If | Alexander Bluhm | |
the unix connect is successful, let nc -z close the socket and exit with 0. OK jca@ | |||
2017-02-09 | Document that -x can take an ipv6 address enclosed in square brackets. | Jeremie Courreges-Anglas | |
2017-02-09 | When getaddrinfo fails, print the requested host and port. | Jeremie Courreges-Anglas | |
Should make debugging easier, especially when using -x literal_ipv6_address | |||
2017-02-09 | No need to cast NULL when assigning it to a variable; | Ingo Schwarze | |
from Christos Zoulas <christos at NetBSD>. | |||
2017-02-09 | Improve clarity of some casts; | Ingo Schwarze | |
from Christos Zoulas <christos at NetBSD>. | |||
2017-02-09 | Be consistent in protecting __attribute__ attributes with __; | Ingo Schwarze | |
from Christos Zoulas <christos @ NetBSD>. | |||
2017-02-09 | Instead of numbering session groups, give them a name which may be given | Nicholas Marriott | |
to -t instead of a target session. Also allow them to contain only one session. | |||
2017-02-09 | Document refresh-client -C. | Nicholas Marriott | |
2017-02-09 | Break the message storage function into its own function, useful for | Nicholas Marriott | |
debugging. | |||
2017-02-09 | Don't lie about the default size in the man page. | Nicholas Marriott | |
2017-02-09 | Combining characters need a full flush. | Nicholas Marriott | |
2017-02-09 | When an ordinary (not collected) cell is received, we need to flush any | Nicholas Marriott | |
delayed scrolling before drawing it. | |||
2017-02-08 | Another helper function to write to terminal and log. | Nicholas Marriott | |
2017-02-08 | Add a common function to invalidate all the terminal cached state. | Nicholas Marriott | |
2017-02-08 | Do not adjust region lower by pane offset when scrolling up, it is | Nicholas Marriott | |
already an absolute position. | |||
2017-02-08 | Avoid printf %s NULL. From semarie@, OK djm@ | Todd C. Miller | |
2017-02-08 | Avoid a busy loop in netcat's tls_close(). Reuse the tls_handshake() | Alexander Bluhm | |
wrapper that calls poll(2) and handles the -w timeout. OK beck@ | |||
2017-02-08 | Avoid double close(2) in netcat. After every call to readwrite() | Alexander Bluhm | |
there is already a close(2), so do not do it in readwrite(). OK beck@ | |||
2017-02-08 | window_copy_pagedown shouldn't reset the mode anymore, instead let the | Nicholas Marriott | |
caller do it so it can free the marks. Problem reported by attila at stalphonsos dot com. | |||
2017-02-08 | Add support for scroll up escape sequence (CSI S) and use it when | Nicholas Marriott | |
possible instead of sending individual line feeds. | |||
2017-02-08 | Collect sequences of printable ASCII characters and process them | Nicholas Marriott | |
together instead of handling them one by one. This is significantly faster. Sequences are terminated when we reach the end of the line, fill the internal buffer, or a different character is seen by the input parser (an escape sequence, or UTF-8). Rather than writing collected sequences out immediately, hold them until it is necessary (another screen modification, or we consume all available data). This means we can discard changes that would have no effect (for example, lines that would just be scrolled off the screen or cleared). This reduces the total amount of data we write out to the terminal - not important for fast terminals, but a big help with slow (like xterm). | |||
2017-02-08 | Fix clear start of line. | Nicholas Marriott | |
2017-02-08 | Some other tidying bits. | Nicholas Marriott | |
2017-02-08 | Add a helper to store a cell, and some tidying. | Nicholas Marriott | |
2017-02-08 | Remove unnecessary duplicate check. | Nicholas Marriott | |
2017-02-08 | Improve some of the logging on resize. | Nicholas Marriott | |
2017-02-08 | Due to non-blocking sockets, tls_handshake() could wait in a busy | Alexander Bluhm | |
loop. Use an additional poll(2) during the handshake and also respect the -w timeout option there. From Shuo Chen; OK beck@ | |||
2017-02-08 | Log size of output buffer as well. | Nicholas Marriott | |
2017-02-08 | Trying to avoid the occasional newline by saving the last cell on screen | Nicholas Marriott | |
is not actually helping us much and just adds complexity, so don't bother. | |||
2017-02-08 | Tweak how much we expand lines by. | Nicholas Marriott | |
2017-02-08 | Remove event watermarks, don't work well enough to be worth it. | Nicholas Marriott | |