aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* attempt to avoid copies by writing directly to a std::io::Writedirect-writeJesse Luehrs2019-11-137-227/+274
| | | | | | | this turns out to be slower, i think because it ends up doing a much larger number of small writes, and the copying overhead isn't as high as going through all of the machinery involved in stdout locking/buffering/syscalls/etc.
* split formatted calculations into multiple methodsJesse Luehrs2019-11-127-38/+692
| | | | | different applications want to be able to apply different things, so this gives more control
* changelog and version bumpv0.5.1Jesse Luehrs2019-11-122-2/+2
|
* actually resize the underlying grid when requestedJesse Luehrs2019-11-123-0/+30
|
* changelog and version bumpv0.5.0Jesse Luehrs2019-11-122-2/+2
|
* add another testJesse Luehrs2019-11-121-0/+21
|
* rename testJesse Luehrs2019-11-121-1/+1
| | | | so that it's easier to run on its own
* make contents_diff include bell stateJesse Luehrs2019-11-125-2/+73
| | | | i don't think it makes sense for contents_formatted to include this
* remove parser.screen_mutJesse Luehrs2019-11-128-87/+98
| | | | | | it's easier to reason about if you are only able to get an immutable reference to the internal screen. this also required changing the api for bells.
* changelogJesse Luehrs2019-11-121-0/+3
|
* make sure i don't accidentally forget to write_bufJesse Luehrs2019-11-111-0/+10
|
* optimize erases a bit moreJesse Luehrs2019-11-115-62/+119
|
* a few more movement tweaksJesse Luehrs2019-11-112-7/+3
|
* actually, this method isn't necessary at allJesse Luehrs2019-11-111-22/+13
|
* actually remove the last bgcolor special caseJesse Luehrs2019-11-111-2/+2
|
* factor out cursor movement logicJesse Luehrs2019-11-112-27/+37
|
* remove commentJesse Luehrs2019-11-111-1/+0
|
* commentJesse Luehrs2019-11-111-0/+3
|
* stop special-casing bgcolor in one more placeJesse Luehrs2019-11-111-3/+2
|
* preserve all text attributes on cleared cellsJesse Luehrs2019-11-116-71/+90
| | | | | | | some terminals require it (alacritty wants to render underline and inverse state of cleared cells, for instance, so we have to be sure that the diff algorithm will properly reset the cursor attributes before clearing cells)
* actually, i do need to disable this in each testJesse Luehrs2019-11-1114-0/+28
|
* remove set_len methodJesse Luehrs2019-11-111-6/+2
| | | | | it's not super necessary, since every time we use it we call set_wide directly afterwards
* allow cognitive_complexity everywhereJesse Luehrs2019-11-119-14/+2
|
* stop using formats at allJesse Luehrs2019-11-116-126/+80
| | | | they are too slow
* cache wide character stateJesse Luehrs2019-11-101-16/+28
| | | | | | we always check the character width at least once during initial processing, and we often check it later at least once, so cache it here since we have spare bits
* simplifyJesse Luehrs2019-11-101-57/+41
|
* update crate docs a bitJesse Luehrs2019-11-102-9/+35
|
* docsJesse Luehrs2019-11-101-0/+1
|
* add Default impl for ParserJesse Luehrs2019-11-1018-53/+61
|
* docsJesse Luehrs2019-11-102-9/+25
|
* remove the scroll_to and scroll_pos methodsJesse Luehrs2019-11-102-36/+28
| | | | | they are unnecessary, you can just call the methods on the screen object directly
* simplifyJesse Luehrs2019-11-103-21/+4
|
* optimize attribute setting a bitJesse Luehrs2019-11-1010-56/+107
|
* optimize cursor movement a bitJesse Luehrs2019-11-109-141/+211
|
* shuffle around some methodsJesse Luehrs2019-11-101-8/+8
|
* changelogJesse Luehrs2019-11-091-0/+4
|
* implement scrolling backJesse Luehrs2019-11-095-38/+175
|
* optionally save scrollback rowsJesse Luehrs2019-11-0920-67/+89
|
* changelogJesse Luehrs2019-11-091-0/+10
|
* improve benchmarks a bit moreJesse Luehrs2019-11-094-4/+25
|
* missed oneJesse Luehrs2019-11-091-1/+4
|
* add more benchmarksJesse Luehrs2019-11-094-2/+57
|
* use a fixed size buffer for cell dataJesse Luehrs2019-11-093-19/+69
| | | | this dramatically speeds things up
* add a more realistic benchmarkJesse Luehrs2019-11-092-4/+35
|
* another micro-optimizationJesse Luehrs2019-11-092-3/+5
|
* add script for profilingJesse Luehrs2019-11-091-0/+18
|
* refactor terminal writingJesse Luehrs2019-11-098-189/+499
|
* changelog and version bumpv0.4.0Jesse Luehrs2019-11-082-2/+2
|
* remove unnecessary accessorsJesse Luehrs2019-11-086-158/+7
| | | | nobody should be caring about the terminal state internals
* ignore the scroll region when moving if we're already outside of itJesse Luehrs2019-11-083-4/+22
|