Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-21 | AIX colours are always stored as 90-97, not 100-107. From Johannes | nicm | |
Altmanninger. | |||
2020-03-19 | Do not set the history flag if there is no history. | nicm | |
2019-12-03 | Style nits in function arguments. | nicm | |
2019-09-24 | Some minor performance improvements - most notably, don't search the | nicm | |
input state table if the next character matches the same state as before. | |||
2019-08-01 | Remove check for same size - size has already been changed so this | nicm | |
breaks reflow. | |||
2019-07-16 | Fix grid clear code to correctly clear with the default background | nicm | |
colour rather than ending up with the used count higher than the total size, GitHub issue 1829. | |||
2019-07-06 | Correctly clear underscore colour in grid_get_cell1, also fix struct | nicm | |
grid_cell to avoid padding. Fixes increased memory use reported by Suraj N Kurapati. | |||
2019-06-27 | Add support for underscore colours with Setulc capability, mostly from | nicm | |
Kai Moschcau. | |||
2019-05-26 | Add formats for word and line under the mouse and use them to add some | nicm | |
items to the pane menu. | |||
2019-05-13 | Add support for overline (SGR 53), from Ricardo Banffy. | nicm | |
2019-04-02 | Store and restore cursor across reflow by working out a position based | nicm | |
on unwrapped lines, rather than a grid offset. Fixes problems reported by Thomas Sattler and Paul de Weerd. | |||
2019-04-01 | Restore a check to stop scrolled lines becoming larger than total lines, | nicm | |
fixes a crash reported by Thomas Sattler. | |||
2019-03-20 | Improve cursor positioning after reflow by storing the position as an | nicm | |
offset into the entire history before reflow and restoring it aftewards. | |||
2019-03-18 | Mode init needs to be fired with the mode on the list or it will not be | nicm | |
resized correctly. | |||
2019-03-12 | Set a flag on cells are genuinely empty (cleared and never written to) | nicm | |
and use tty_clear_line (which will choose the best escape sequence) to clear any batches of cells with that flag when redrawing a line from the stored screen. | |||
2018-10-25 | Add a "terminal" colour which can be used instead of "default" in style | nicm | |
options for the terminal default colour, bypassing any inheritance from other options. Prompted by a discussion with abieber@. | |||
2018-10-18 | Support for extended underline styles on terminals which offer them, | nicm | |
enabled by adding the Smulx capability with terminal-overrides (add something like ',vte*:Smulx=\E[4\:%p1%dm'). GitHub issue 1492. | |||
2018-07-11 | Helper function to shorten history. | nicm | |
2018-07-11 | Add function comments. | nicm | |
2018-07-04 | Add accessors for grid linedata member, for some future work. From Dan | nicm | |
Aloni. | |||
2018-06-11 | Fix some compiler warnings; from Thomas Adam. | nicm | |
2018-06-03 | Increment the lines counter when skipping a line to avoid an infinite | nicm | |
loop, and fix a check to avoid a potential out-of-bounds access. Problem reported by Yuxiang Qin and tracked down by Karl Beldan; GitHub issue 1352. Also a man page fix request by jmc@. | |||
2018-04-18 | Include source function name in grid_check_y logging. | nicm | |
2018-02-16 | Reflowing the grid in-place involved way too much memmove() for a big | nicm | |
performance cost with a large history. Instead change back to using a second grid and copying modified lines over which is much faster (this doesn't revert to the old code however which didn't support UTF-8 properly). GitHub issue 1249. | |||
2017-11-15 | Completely rewrite the reflow code to correctly handle double width | nicm | |
characters (previously they were not accounted for). | |||
2017-11-03 | Support mouse on preview in tree mode. | nicm | |
2017-09-11 | Do not free more lines than are available in the history. | nicm | |
2017-09-10 | Previously, extended cell data was never reduced in size even when the | nicm | |
cell was overwritten. With a large history this can be a substantial amount of memory. To reduce this, compact each extended cell list to only cells in use as it is scrolled off the visible screen into the history. From Dan Aloni in GitHub issue 1062. | |||
2017-08-30 | Instead of overloading the line clear function to mean free if | nicm | |
background is default (8), introduce an explicit free function and use it where a free alone is needed. Likewise, use memmove directly rather than grid_move_lines where it makes sense. Based on a memory leak fix by Dan Aloni in GitHub issue 1051. | |||
2017-05-16 | Line length and spaces to tabs. | nicm | |
2017-05-13 | Some other unused variables. | nicm | |
2017-05-12 | When expanding a line in order to clear it, we need to use the default | nicm | |
background colour - there may be portions that we do not want to clear with the new background colour. | |||
2017-05-12 | Scrolling needs to use background colour. | nicm | |
2017-04-25 | When we write out the grid including escape sequences, an SGR 0 needs to | nicm | |
cause the colours to be written again. Also treat colours separately from attributes so that RGB colours will work. | |||
2017-04-19 | Style nits and a missing cast. | nicm | |
2017-03-22 | Add support for the strikethrough attribute (SGR 9), using the new smxx | nicm | |
terminfo capability. This means there are now nine attribute bits, so anything above 0xff uses an extended cell. | |||
2017-03-07 | If moving cells outside the current used count, update it. | nicm | |
2017-02-22 | Minor bits: fix an array size, add comment, make grid_cell_entry static. | nicm | |
2017-02-13 | Collected cells may still need to be extended for RGB colours. | nicm | |
2017-02-08 | Collect sequences of printable ASCII characters and process them | nicm | |
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 | Add a helper to store a cell, and some tidying. | nicm | |
2017-02-08 | Tweak how much we expand lines by. | nicm | |
2017-02-03 | Expand lines more aggressively to reduce rate of allocations. | nicm | |
2016-10-18 | Clear cell entry with grid_default_entry not grid_default_cell. | nicm | |
2016-10-18 | Make grid_clear_cell set up the entry properly for 256 and RGB cells. | nicm | |
2016-10-13 | Add support for BCE (background colour erase). This makes various escape | nicm | |
sequences (notable EL and ED but also IL, DL, ICH, DCH) create blank cells using the current background colour rather than the default colour. On modern systems BCE doesn't really have many benefits, but most other terminals now support it, some (lazy) applications rely on it, and it is not hard to include now that we have pane background colours anyway. Mostly written by Sean Haugh. | |||
2016-10-11 | Add static in window-*.c and move some internal functions out of tmux.h. | nicm | |
2016-10-10 | Loads more static, except for cmd-*.c and window-*.c. | nicm | |
2016-09-02 | Remember the number of lines scrolled into the history (versus cleared | nicm | |
into the history) and when resizing only use scrolled lines and not cleared lines (which are probably not intended to reappear). From Chaoren Lin. | |||
2016-07-15 | Don't update cells in each block of data read from a pane immediately, | nicm | |
instead track them as change (dirty) and update them once at the end, saves much time if repeatedly writing the same cell. Also fix comparison of cells being equal in a few places (memcmp is not enough). |