Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-31 | Also skip marking swap window | C. McEnroe | |
Third time's the charm? | |||
2021-01-29 | Actually scroll to first line for "scroll to top" | C. McEnroe | |
2021-01-29 | Only skip setting swap in windowShow | C. McEnroe | |
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. | |||
2021-01-28 | Move threshold and mute indicators directly after number | C. McEnroe | |
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. | |||
2021-01-27 | Save window time display toggle | C. McEnroe | |
2021-01-27 | Measure timestamp width using ncurses | C. McEnroe | |
This allows for non-ASCII characters in timestamps, and simplifies things by including the trailing space in the width. | |||
2021-01-27 | Change default timestamp format to %X | C. McEnroe | |
This respects the user's locale settings. | |||
2021-01-27 | Add toggleable display of timestamps | C. McEnroe | |
2021-01-26 | Only list up until scroll position with M-l | C. McEnroe | |
2021-01-26 | Preserve scroll position across reflows | C. McEnroe | |
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. | |||
2021-01-26 | Rename and move scroll functions closer to where they are used | C. McEnroe | |
2021-01-26 | Factor out windowReflow | C. McEnroe | |
2021-01-25 | Disable notify in restricted mode | C. McEnroe | |
catgirl shouldn't try to execute a command if it is misconfigured with both restrict and notify. | |||
2021-01-25 | Don't print timestamps for blank lines in bufferList | C. McEnroe | |
2021-01-21 | Simplify windowUpdate loops and factor out windowTop | C. McEnroe | |
No idea why I made that more complicated than it had to be looping backwards. | |||
2021-01-19 | Don't lose swapped window when navigating to current buffer | Jeremy O'Brien | |
2021-01-19 | Use Warm heat for manually inserted blank lines | C. McEnroe | |
Oops, forgot about these. | |||
2021-01-17 | Use Warm heat for blank lines 1.5 | C. McEnroe | |
So they're not hidden by M-+. | |||
2021-01-16 | Save and load window visibility thresholds | C. McEnroe | |
2021-01-16 | Restore toggling ignore with M-- | C. McEnroe | |
So that pressing M-- repeatedly maintains the previous behavior. | |||
2021-01-16 | Generalize ignore toggling to visibility threshold | C. McEnroe | |
2021-01-11 | Save and load the URL ring in the save file 1.4 | C. McEnroe | |
2020-10-12 | Avoid eating C-c while connecting | C. McEnroe | |
Split UI initialization into two steps either side of the call to connect, so that C-c works as interrupt while it's blocked. | |||
2020-10-09 | Factor out styleStrip | C. McEnroe | |
2020-09-09 | Silence set-but-unused warning 1.2 | C. McEnroe | |
getyx is so annoying this way. | |||
2020-09-07 | Add blank line to unread if there are already unread | C. McEnroe | |
This fixes the inconsistent M-u behaviour when catgirl is restarting and reconnecting to pounce, for example. | |||
2020-09-07 | Call uiWrite to insert blank lines | C. McEnroe | |
It only used to use different code to avoid adding the blank line to the soft buffer. | |||
2020-09-06 | Add C-r, C-s for basic scrollback search | C. McEnroe | |
2020-09-03 | Add M-n, M-p to jump to highlights | C. McEnroe | |
2020-09-03 | Fix M-u behaviour difference before and after reflow | C. McEnroe | |
2020-09-02 | Recalculate unreadHard on reflow | C. McEnroe | |
2020-09-02 | Give blank lines timestamps | C. McEnroe | |
Otherwise the zero timestamps totally break save data loading! Bad! | |||
2020-09-02 | Hide ignored messages at the soft -> hard buffer layer | C. McEnroe | |
This restores normal scrolling behaviour. | |||
2020-09-02 | Still add ignored lines to unreadHard | C. McEnroe | |
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. | |||
2020-09-02 | Actually insert blank lines in the soft buffer | C. McEnroe | |
So they can be preserved forever! | |||
2020-09-02 | Reimplement split scrolling | C. McEnroe | |
2020-09-02 | Fix inserting blank lines BEFORE the new message | C. McEnroe | |
2020-09-02 | Only call windowUpdate when the shown window needs updating | C. McEnroe | |
2020-09-02 | Call wclear on resize | C. McEnroe | |
Otherwise artefects can appear when resizing to smaller width with wide characters at the right edge of the window. | |||
2020-09-02 | Fix line wrapping in various ways | C. McEnroe | |
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... | |||
2020-09-02 | Render one main window from buffers | C. McEnroe | |
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. | |||
2020-09-01 | Invert meaning of unreadHard/unreadSoft to match new buffer code | C. McEnroe | |
Not sure why I had named them this way. Hard means hard-wrapped. | |||
2020-09-01 | Factor buffer out of ui | C. McEnroe | |
In preparation for doing line wrapping outside of ncurses. | |||
2020-09-01 | Move styleParse out of ui | C. McEnroe | |
2020-08-04 | Say "OpenSSL" in additional permission notices | C. McEnroe | |
LibreSSL is "a modified version of that library". | |||
2020-07-30 | Replace catf with something that tracks len | C. McEnroe | |
Also the old catf would be broken with -DNDEBUG oops! | |||
2020-07-23 | Initialize numHot, numWarm | C. McEnroe | |
For some reason gcc thinks that numWarm might be used uninitialized. It's fine with numHot though, strangely. | |||
2020-07-12 | Keep scrolled up windows in status line | C. McEnroe | |
2020-06-11 | Call static_assert by _Static_assert | C. McEnroe | |
OpenBSD assert.h does not #define static_assert, and this is the only thing that prevents catgirl from compiling without any issues there. | |||
2020-06-08 | Add additional permission for linking with LibreSSL | C. McEnroe | |
https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs |