aboutsummaryrefslogtreecommitdiff
path: root/grid.c
Commit message (Collapse)AuthorAge
...
* Limit the history to hlimit not hlimit - 1. This makes a history-limit settingNicholas Marriott2009-07-12
| | | | | of 0 work as expected.
* Whitespace and more syncing.Nicholas Marriott2009-06-25
|
* Restore $Id$ and add script to do so.Nicholas Marriott2009-06-25
|
* Miscellaneous unused functions, including one which was basically aNicholas Marriott2009-06-25
| | | | | duplicate. Found by lint.
* Change find-window and monitor-content to use fnmatch(3). For convenience andNicholas Marriott2009-06-25
| | | | | compatibility, *s are implicitly added at the start and end of the pattern.
* Add a dedicated function to convert a line into a string and use it to ↵Nicholas Marriott2009-06-25
| | | | simplify the search window function.
* Space trimmage mega-diff.Nicholas Marriott2009-05-04
|
* Add UTF-8 to grid_compare..Nicholas Marriott2009-03-30
|
* Better UTF-8 support, including combined characters. Unicode data is now storedNicholas Marriott2009-03-28
| | | | | | | | | | | as UTF-8 in a separate array, the code does a lookup into this every time it gets to a UTF-8 cell. Zero width characters are just appended onto the UTF-8 data for the previous cell. This also means that almost no bytes extra are wasted non-Unicode data (yay). Still some oddities, such as copy mode skips over wide characters in a strange way, and the code could do with some tidying.
* _fill functions are no longer needed. Nuke them.Nicholas Marriott2009-03-28
|
* Whoops. Missed a few changes.Nicholas Marriott2009-03-28
|
* Step 2 of the Grand Plan To Make UTF-8 Better.Nicholas Marriott2009-03-28
| | | | | | | | | | | | | | | | | | | Split grid into two arrays, one containing grid attributes/flags/colours (keeps the name grid_cell for now) and a separate with the character data (called text). The text is stored as a u_short but is treated as a uint64_t elsewhere; eventually the grid will have two arrays. I'm not happy with the naming so that might change. Still need to decide where to go from here. I'm not sure whether to combine the peek/set functions together, and also whether to continue to treat the text as a uint64_t (and convert to/from Unicode) or make it a char array (of size one when UTF-8 disabled, eight when enabled) and keep everything as UTF-8. Also since UTF-8 will eventually become an attribute of the grid itself it might be nice to move all the padding crap into grid.c.
* struct grid_data -> struct grid. Stage 1 of the Grand Plan To Make UTF-8 Better.Nicholas Marriott2009-03-28
|
* Don't leak top line of history and status screen.Nicholas Marriott2009-02-16
|
* Don't redraw status line unless it has actually changed. Stops extraneousNicholas Marriott2009-02-10
| | | | | | updates between clock/#() changes and doesn't require manual status-interval 0 when no updates are occuring.
* Tidy a few warnings.Nicholas Marriott2009-01-17
|
* Correct comment.Nicholas Marriott2009-01-11
|
* Trim spaces.Nicholas Marriott2009-01-10
|
* Don't die when out of bounds if non-DEBUG. Stops people hitting me when bugs ↵Nicholas Marriott2009-01-08
| | | | kill their long-running sessions in release versions.
* Calculate y properly.Nicholas Marriott2008-09-28
|
* Trim.Nicholas Marriott2008-09-26
|
* Internal screen data rewrite for better 256 colour/UTF-8 support.Nicholas Marriott2008-09-25