Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | malloc_trim is itself very poor and gets slower and slower as the heap becomes | Nicholas Marriott | 2021-03-11 |
| | | | | more fragmented. Run it only once an hour. GitHub issue 2551. | ||
* | Merge branch 'obsd-master' into master | Thomas Adam | 2021-02-05 |
|\ | |||
| * | Send Unicode directional isolate characters around horizontal pane | nicm | 2021-02-05 |
| | | | | | | | | | | | | | | | | borders if the terminal support UTF-8 and an extension terminfo(5) capability "Bidi" is present. On terminals with BiDi support (ie, VTE) this seems to be enough to display right-to-left text acceptably enough to be usable (with some caveats about the mouse position). Requested by and with help from Mahmoud Elagdar in GitHub issue 2425. | ||
* | | Merge branch 'obsd-master' into master | Thomas Adam | 2021-01-18 |
|\| | |||
| * | There is no need to clear every line entirely before drawing to it, this | nicm | 2021-01-18 |
| | | | | | | | | | | means moving the cursor and messes up wrapping. Better to just clear the sections that aren't written over. GitHub issue 2537. | ||
* | | glibc's malloc is very bad about returning memory from the kernel, add a call | Nicholas Marriott | 2020-10-06 |
|/ | | | | to its malloc_trim to prompt it to do so. Reported by Sarunas Valaskevicius. | ||
* | Do not force line width to grid width because it may need to be larger | nicm | 2020-08-07 |
| | | | | to accomodate a wide character. GitHub issue 2336. | ||
* | Do not take the address of a potentially unaligned member. | nicm | 2020-06-05 |
| | |||
* | Reset wrapped flag when clearing or moving lines, GitHub issue 2215. | nicm | 2020-06-04 |
| | |||
* | Move the code to set up a padding cell into grid.c. | nicm | 2020-06-02 |
| | |||
* | Allow UTF-8 characters of width 0 to be stored, it is useful to be able | nicm | 2020-06-02 |
| | | | | to put padding cells in as width 0. | ||
* | Make padding cell a valid character. | nicm | 2020-05-27 |
| | |||
* | Remove leftover debug logging and fix comparison. | nicm | 2020-05-26 |
| | |||
* | Use the internal representation for UTF-8 keys instead of wchar_t and | nicm | 2020-05-25 |
| | | | | drop some code only needed for that. | ||
* | Tidy up new UTF-8 code and make it more generic. | nicm | 2020-05-25 |
| | |||
* | Instead of storing all UTF-8 characters in the extended cell which means | nicm | 2020-05-25 |
| | | | | | | | that 14 bytes are wasted for each character in the BMP, only store characters of three bytes or less in the cell itself and store others (outside the BMP or with combining characters) in a separate global tree. Can reduce grid memory use for heavy Unicode users by around 30%. | ||
* | Add screen write flags instead of individual bits and fix line length | nicm | 2020-05-16 |
| | | | | calculation with padding. | ||
* | Store and restore cursor position when copy mode is resized, from | nicm | 2020-05-16 |
| | | | | Anindya Mukherjee. | ||
* | Use a grid cell not a style for the pane style. | nicm | 2020-05-16 |
| | |||
* | Use grid_empty_line rather than memset when adding new lines on resize. | nicm | 2020-04-15 |
| | | | | Also remove some old test code. | ||
* | Some more, and use of wp->window before wp NULL check in format.c. | nicm | 2020-04-09 |
| | |||
* | Add a -T flag to resize-pane to trim lines below the cursor, moving | nicm | 2020-03-31 |
| | | | | lines out of the history. GitHub issue 2134. | ||
* | AIX colours are always stored as 90-97, not 100-107. From Johannes | nicm | 2020-03-21 |
| | | | | Altmanninger. | ||
* | Do not set the history flag if there is no history. | nicm | 2020-03-19 |
| | |||
* | Style nits in function arguments. | nicm | 2019-12-03 |
| | |||
* | Some minor performance improvements - most notably, don't search the | nicm | 2019-09-24 |
| | | | | input state table if the next character matches the same state as before. | ||
* | Remove check for same size - size has already been changed so this | nicm | 2019-08-01 |
| | | | | breaks reflow. | ||
* | Fix grid clear code to correctly clear with the default background | nicm | 2019-07-16 |
| | | | | | colour rather than ending up with the used count higher than the total size, GitHub issue 1829. | ||
* | Correctly clear underscore colour in grid_get_cell1, also fix struct | nicm | 2019-07-06 |
| | | | | | grid_cell to avoid padding. Fixes increased memory use reported by Suraj N Kurapati. | ||
* | Add support for underscore colours with Setulc capability, mostly from | nicm | 2019-06-27 |
| | | | | Kai Moschcau. | ||
* | Add formats for word and line under the mouse and use them to add some | nicm | 2019-05-26 |
| | | | | items to the pane menu. | ||
* | Add support for overline (SGR 53), from Ricardo Banffy. | nicm | 2019-05-13 |
| | |||
* | Store and restore cursor across reflow by working out a position based | nicm | 2019-04-02 |
| | | | | | on unwrapped lines, rather than a grid offset. Fixes problems reported by Thomas Sattler and Paul de Weerd. | ||
* | Restore a check to stop scrolled lines becoming larger than total lines, | nicm | 2019-04-01 |
| | | | | fixes a crash reported by Thomas Sattler. | ||
* | Improve cursor positioning after reflow by storing the position as an | nicm | 2019-03-20 |
| | | | | offset into the entire history before reflow and restoring it aftewards. | ||
* | Mode init needs to be fired with the mode on the list or it will not be | nicm | 2019-03-18 |
| | | | | resized correctly. | ||
* | Set a flag on cells are genuinely empty (cleared and never written to) | nicm | 2019-03-12 |
| | | | | | | 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. | ||
* | Add a "terminal" colour which can be used instead of "default" in style | nicm | 2018-10-25 |
| | | | | | options for the terminal default colour, bypassing any inheritance from other options. Prompted by a discussion with abieber@. | ||
* | Support for extended underline styles on terminals which offer them, | nicm | 2018-10-18 |
| | | | | | enabled by adding the Smulx capability with terminal-overrides (add something like ',vte*:Smulx=\E[4\:%p1%dm'). GitHub issue 1492. | ||
* | Helper function to shorten history. | nicm | 2018-07-11 |
| | |||
* | Add function comments. | nicm | 2018-07-11 |
| | |||
* | Add accessors for grid linedata member, for some future work. From Dan | nicm | 2018-07-04 |
| | | | | Aloni. | ||
* | Fix some compiler warnings; from Thomas Adam. | nicm | 2018-06-11 |
| | |||
* | Increment the lines counter when skipping a line to avoid an infinite | nicm | 2018-06-03 |
| | | | | | | | | 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@. | ||
* | Include source function name in grid_check_y logging. | nicm | 2018-04-18 |
| | |||
* | Reflowing the grid in-place involved way too much memmove() for a big | nicm | 2018-02-16 |
| | | | | | | | 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. | ||
* | Completely rewrite the reflow code to correctly handle double width | nicm | 2017-11-15 |
| | | | | characters (previously they were not accounted for). | ||
* | Support mouse on preview in tree mode. | nicm | 2017-11-03 |
| | |||
* | Do not free more lines than are available in the history. | nicm | 2017-09-11 |
| | |||
* | Previously, extended cell data was never reduced in size even when the | nicm | 2017-09-10 |
| | | | | | | | 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. |