Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Only skip setting swap in windowShow | June McEnroe | 2021-01-29 |
| | | | | | | With the early return, mainUpdate doesn't get called in cases where other functions expect windowShow to call it, such as when closing or moving windows. | ||
* | Move threshold and mute indicators directly after number | June McEnroe | 2021-01-28 |
| | | | | | | I don't know why I ruled this out originally, it's more visually pleasing to me now especially that threshold is likely to remain set at "+" for a long time. | ||
* | Save window time display toggle | June McEnroe | 2021-01-27 |
| | |||
* | Measure timestamp width using ncurses | June McEnroe | 2021-01-27 |
| | | | | | This allows for non-ASCII characters in timestamps, and simplifies things by including the trailing space in the width. | ||
* | Change default timestamp format to %X | June McEnroe | 2021-01-27 |
| | | | | This respects the user's locale settings. | ||
* | Add toggleable display of timestamps | June McEnroe | 2021-01-27 |
| | |||
* | Only list up until scroll position with M-l | June McEnroe | 2021-01-26 |
| | |||
* | Preserve scroll position across reflows | June McEnroe | 2021-01-26 |
| | | | | | | | | | | | | Finally! Changing the message visibility threshold doesn't totally screw up scroll position. Neither do horizontal resizes, but vertical resizes drift because the value of windowTop() changes before and after... The scroll position is anchored to the top of the window. It's arbitrary whether to anchor the top or the bottom, but other scrolling commands like M-p and C-r are anchored to the top, so this is consistent. | ||
* | Rename and move scroll functions closer to where they are used | June McEnroe | 2021-01-26 |
| | |||
* | Factor out windowReflow | June McEnroe | 2021-01-26 |
| | |||
* | Disable notify in restricted mode | June McEnroe | 2021-01-25 |
| | | | | | catgirl shouldn't try to execute a command if it is misconfigured with both restrict and notify. | ||
* | Don't print timestamps for blank lines in bufferList | June McEnroe | 2021-01-25 |
| | |||
* | Simplify windowUpdate loops and factor out windowTop | June McEnroe | 2021-01-21 |
| | | | | | No idea why I made that more complicated than it had to be looping backwards. | ||
* | Don't lose swapped window when navigating to current buffer | Jeremy O'Brien | 2021-01-19 |
| | |||
* | Use Warm heat for manually inserted blank lines | June McEnroe | 2021-01-19 |
| | | | | Oops, forgot about these. | ||
* | Use Warm heat for blank lines 1.5 | June McEnroe | 2021-01-17 |
| | | | | So they're not hidden by M-+. | ||
* | Save and load window visibility thresholds | June McEnroe | 2021-01-16 |
| | |||
* | Restore toggling ignore with M-- | June McEnroe | 2021-01-16 |
| | | | | So that pressing M-- repeatedly maintains the previous behavior. | ||
* | Generalize ignore toggling to visibility threshold | June McEnroe | 2021-01-16 |
| | |||
* | Save and load the URL ring in the save file 1.4 | June McEnroe | 2021-01-11 |
| | |||
* | Avoid eating C-c while connecting | June McEnroe | 2020-10-12 |
| | | | | | Split UI initialization into two steps either side of the call to connect, so that C-c works as interrupt while it's blocked. | ||
* | Factor out styleStrip | June McEnroe | 2020-10-09 |
| | |||
* | Silence set-but-unused warning 1.2 | June McEnroe | 2020-09-09 |
| | | | | getyx is so annoying this way. | ||
* | Add blank line to unread if there are already unread | June McEnroe | 2020-09-07 |
| | | | | | This fixes the inconsistent M-u behaviour when catgirl is restarting and reconnecting to pounce, for example. | ||
* | Call uiWrite to insert blank lines | June McEnroe | 2020-09-07 |
| | | | | | It only used to use different code to avoid adding the blank line to the soft buffer. | ||
* | Add C-r, C-s for basic scrollback search | June McEnroe | 2020-09-06 |
| | |||
* | Add M-n, M-p to jump to highlights | June McEnroe | 2020-09-03 |
| | |||
* | Fix M-u behaviour difference before and after reflow | June McEnroe | 2020-09-03 |
| | |||
* | Recalculate unreadHard on reflow | June McEnroe | 2020-09-02 |
| | |||
* | Give blank lines timestamps | June McEnroe | 2020-09-02 |
| | | | | Otherwise the zero timestamps totally break save data loading! Bad! | ||
* | Hide ignored messages at the soft -> hard buffer layer | June McEnroe | 2020-09-02 |
| | | | | This restores normal scrolling behaviour. | ||
* | Still add ignored lines to unreadHard | June McEnroe | 2020-09-02 |
| | | | | | Scrolling is still affected by hidden lines (which I'm not sure yet is good or not), so for M-u to work it needs to count ignored lines. | ||
* | Actually insert blank lines in the soft buffer | June McEnroe | 2020-09-02 |
| | | | | So they can be preserved forever! | ||
* | Reimplement split scrolling | June McEnroe | 2020-09-02 |
| | |||
* | Fix inserting blank lines BEFORE the new message | June McEnroe | 2020-09-02 |
| | |||
* | Only call windowUpdate when the shown window needs updating | June McEnroe | 2020-09-02 |
| | |||
* | Call wclear on resize | June McEnroe | 2020-09-02 |
| | | | | | Otherwise artefects can appear when resizing to smaller width with wide characters at the right edge of the window. | ||
* | Fix line wrapping in various ways | June McEnroe | 2020-09-02 |
| | | | | | | Never split a codepoint, don't set wrapping point unless we're not already wrapping, wrap on any unicode whitespace, only clear rest of line if still on the same line... | ||
* | Render one main window from buffers | June McEnroe | 2020-09-02 |
| | | | | | | | | Still missing: split scrolling and preserving a blank on reflow either from resize or ignore toggling. Anecdata: on one of my instances of catgirl, RAM usage of the previous release was ~30M, RAM usage of this commit was ~12M. | ||
* | Invert meaning of unreadHard/unreadSoft to match new buffer code | June McEnroe | 2020-09-01 |
| | | | | Not sure why I had named them this way. Hard means hard-wrapped. | ||
* | Factor buffer out of ui | June McEnroe | 2020-09-01 |
| | | | | In preparation for doing line wrapping outside of ncurses. | ||
* | Move styleParse out of ui | June McEnroe | 2020-09-01 |
| | |||
* | Say "OpenSSL" in additional permission notices | June McEnroe | 2020-08-04 |
| | | | | LibreSSL is "a modified version of that library". | ||
* | Replace catf with something that tracks len | June McEnroe | 2020-07-30 |
| | | | | Also the old catf would be broken with -DNDEBUG oops! | ||
* | Initialize numHot, numWarm | June McEnroe | 2020-07-23 |
| | | | | | For some reason gcc thinks that numWarm might be used uninitialized. It's fine with numHot though, strangely. | ||
* | Keep scrolled up windows in status line | June McEnroe | 2020-07-12 |
| | |||
* | Call static_assert by _Static_assert | June McEnroe | 2020-06-11 |
| | | | | | OpenBSD assert.h does not #define static_assert, and this is the only thing that prevents catgirl from compiling without any issues there. | ||
* | Add additional permission for linking with LibreSSL | June McEnroe | 2020-06-08 |
| | | | | https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs | ||
* | Don't send zero-width characters to ncurses | June McEnroe | 2020-05-26 |
| | |||
* | Define constants for window geometry | June McEnroe | 2020-05-25 |
| | | | | | Also fixes uiDraw so that the split lines and marker don't overlap the main window, although that wasn't causing any real problems. |