Code Log


Commit Date  
[e4b639] (8.3 kB) by nicm nicm , pushed by Thomas Adam Thomas Adam

Three small changes from Tiago Cunha:

- Check for truncation when copying path.
- Don't need to use a temporary buffer in screen_set_title.
- Include strerror in output when connecting to server fails.

2014-03-08 11:19:23 View
Download
[88a4da] (8.4 kB) by Nicholas Marriott Nicholas Marriott

Don't let cursor position overflow when reflowing, from Christopher
Collins.

2013-05-15 15:39:51 View
Download
[9b7e18] (8.3 kB) by Nicholas Marriott Nicholas Marriott

Rework reflow code so it does not do so much allocation which should be
faster with large histories.

2013-03-21 16:12:10 View
Download
[99cc00] (8.3 kB) by Nicholas Marriott Nicholas Marriott

Rework reflow code so it does not do so much allocation which should be faster
with large histories.

2013-02-10 18:15:30 View
Download
[8903c1] (8.3 kB) by Nicholas Marriott Nicholas Marriott

Automatically reflow wrapped lines when a pane is resized, requested by
many over the years and finally implemented by Richard Woodbury.

2013-02-05 11:08:59 View
Download
[b43388] (8.0 kB) by Nicholas Marriott Nicholas Marriott

We can't tell what the terminal has done with a DCS string, so reset the
cursor and attributes afterwards.

2012-09-05 09:59:41 View
Download
[a432fc] (8.1 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 1150:

xfree is not particularly helpful, remove it. From Thomas Adam.

2012-07-11 19:34:16 View
Download
[dc83ba] (8.1 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 1065:

Michael Krysiak points out that some terminals (eg mintty) have cursor
styles 5 and 6 too, so allow them to be set.

2012-03-18 02:11:27 View
Download
[391f1f] (8.1 kB) by Tiago Cunha Tiago Cunha

Expand the Id keyword.

2011-07-09 09:42:33 View
Download
[b2f301] (8.2 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 916:

Support DECSCUSR sequence to set the cursor style with two new
terminfo(5) extensions, Cs and Csr. Written by Ailin Nemui.

2011-05-22 16:26:09 View
Download
[719755] (8.0 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 915:

Support xterm(1) cursor colour change sequences through terminfo(5) Cc
(set) and Cr (reset) extensions. Originally by Sean Estabrooks, tweaked
by me and Ailin Nemui.

2011-05-22 16:25:02 View
Download
[b58120] (7.8 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 901:

Don't use strnvis for the title as it breaks UTF-8. set-titles is now
off by default and we have to trust the terminal can understand what we
send it anyway so there isn't any harm.

2011-05-05 10:10:57 View
Download
[0b8ce5] (7.8 kB) by Nicholas Marriott Nicholas Marriott

Fix rectangle copy to behave like emacs - the cursor is not part of the
selection on the right edge but on the left it is.

2010-12-11 17:57:28 View
Download
[11497a] (7.8 kB) by Nicholas Marriott Nicholas Marriott

Solaris has MAXHOSTNAMELEN in netdb.h.

2010-07-19 18:31:42 View
Download
[374323] (7.8 kB) by Nicholas Marriott Nicholas Marriott

From Bob Beck:

rather than using an empty "" as the default window title, put the hostname
of the machine we are running on in there.

makes my many green lines easier to deal with without using fiddly options to
set it.

2010-04-06 22:01:32 View
Download
[2d74ce] (7.7 kB) by Micah Cowan Micah Cowan

Merge output (more) and copy modes into one single mode (called copy).

2010-04-05 05:11:44 View
Download
[3c37b0] (7.7 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 636:

Rectangle copy support, from Robin Lee Powell.

2010-02-08 18:13:17 View
Download
[4d8d70] (6.6 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 598:

Fix selection behaviour when the cursor is moved backwards (ie so the selection
start is after the end).

2010-01-05 23:54:53 View
Download
[cc094f] (6.2 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 581:

Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...

2009-12-04 22:14:47 View
Download
[37b0bc] (6.2 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 226:

Change the way the grid is stored, previously it was:

- a two-dimensional array of cells;
- a two-dimensional array of utf8 data;
- an array of line lengths.

Now it is a single array of a new struct grid_line each of which represents a
line and contains the length and an array of cells and an array of utf8 data.

This will make it easier to add additional per-line members, such as flags.

2009-08-09 17:28:24 View
Download
[09c643] (6.4 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 207:

Plug some memory leaks.

2009-07-30 21:14:04 View
Download
[c30fbd] (6.4 kB) by Nicholas Marriott Nicholas Marriott

When resizing a screen smaller in alternate screen mode, all the lines needed
could be consumed by deleting from the bottom, leaving none to be removed from
the top. In this case, don't call grid_view_delete_lines with ny of 0 as this
is incorrect and causes a bounds check to fatal error if built with -DDEBUG.

2009-07-18 11:06:35 View
Download
[21cfef] (6.4 kB) by Nicholas Marriott Nicholas Marriott

When resizing a screen smaller in alternate screen mode, all the lines needed
could be consumed by deleting from the bottom, leaving none to be removed from
the top. In this case, don't call grid_view_delete_lines with ny of 0 as this
is incorrect and causes a bounds check to fatal error if built with -DDEBUG.

2009-07-17 18:35:55 View
Download
[e63567] (6.3 kB) by Nicholas Marriott Nicholas Marriott

Support "alternate screen" mode (terminfo smcup/rmcup) typically used by full
screen interactive programs to preserve the screen contents. When activated, it
saves a copy of the visible grid and disables scrolling into and resizing out
of the history; when deactivated the visible data is restored and the history
reenabled.

2009-07-14 06:40:33 View
Download
[8be801] (6.0 kB) by Nicholas Marriott Nicholas Marriott

When the terminal size is reduced horizontally, don't truncate lines to the new
width, so that if the same lines are later increased in size the content
reappears.

2009-07-12 17:03:11 View
Download
Older >