Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2020-05-26 | Don't send zero-width characters to ncurses | C. McEnroe | |
2020-05-25 | Define constants for window geometry | C. McEnroe | |
Also fixes uiDraw so that the split lines and marker don't overlap the main window, although that wasn't causing any real problems. | |||
2020-05-24 | Tweak status line formatting | C. McEnroe | |
2020-05-14 | Fix page scrolling distance for SplitLines | C. McEnroe | |
2020-04-20 | Don't clobber windows.swap in else of showAuto | C. McEnroe | |
2020-04-19 | Save last user-selected window to switch back to from M-a | C. McEnroe | |
2020-04-15 | Add M-= to mute windows | C. McEnroe | |
2020-04-15 | Add status indicator for showing ignored messages | C. McEnroe | |
2020-04-07 | Add M-< and M-> for scroll to top and bottom | C. McEnroe | |
Mirrored by S-Home and S-End but I guess I'm not documenting those... | |||
2020-04-07 | Revert "Add C-o as alias of M-/" | C. McEnroe | |
This reverts commit 3a156540b8d134b05d7c318ac047a0c690cdc950. Decided I don't like having two keys do the same thing (other than "special" keys). | |||
2020-04-07 | Reset unreadSoft only on first unreadHard | C. McEnroe | |
Also rename unread{,Lines} to be maybe more clear and disambiguate with buffer lines. | |||
2020-04-07 | Add M-q to collapse whitespace | C. McEnroe | |
2020-04-06 | Add scroll position to status line | C. McEnroe | |
2020-04-06 | Implement split scrolling | C. McEnroe | |
2020-04-03 | Use gnu-case-range and gnu-conditional-omitted-operand extensions | C. McEnroe | |
I'm sad to do this but I just can't stand writing (foo ? foo : bar) anymore. | |||
2020-04-02 | Do not add an extra blank line on uiLoad | C. McEnroe | |
Adding one for the last unread position now, so this is mostly redundant, I think. | |||
2020-04-02 | Preserve the last blank line on reflow | C. McEnroe | |
2020-04-02 | Switch to windows with ascending unread counts on M-a | C. McEnroe | |
2020-03-31 | Hide filtered messages | C. McEnroe | |
2020-03-31 | Save and load buffer line heat | C. McEnroe | |
2020-03-31 | Store line heat in buffer | C. McEnroe | |
2020-03-30 | Replace some declaration; while loops with for loops | C. McEnroe | |
I should have been using this for getopt loops already but the call here is slightly too long to fit on one line as a for loop. | |||
2020-03-30 | Add text macros | C. McEnroe | |
2020-03-23 | Add M-Enter to insert a newline | C. McEnroe | |
2020-03-23 | Handle bracketed paste, including newlines | C. McEnroe | |
2020-02-29 | Implement the causal.agency/consumer capability | C. McEnroe | |
2020-02-19 | Apply word wrapping to tabs before setting align | C. McEnroe | |
This fixes long URLs right after the initial \t being wrapped and line counted incorrectly. | |||
2020-02-19 | Remove bad continues in styleParse loops | C. McEnroe | |
Since we're sometimes manually doing spaces that need the right styling. | |||
2020-02-19 | Various small cleanup in ui.c | C. McEnroe | |
2020-02-17 | Increase buffer size to 1024 | C. McEnroe | |
2020-02-17 | Accept Shift-M-0 through Shift-M-9 as well | C. McEnroe | |
This mostly just to accommodate my inverted keyboard layout. | |||
2020-02-17 | Only scroll after reflow if necessary | C. McEnroe | |
If we've already filled up every line of the window, there is no need to scroll. | |||
2020-02-17 | Scroll the window only once during reflow | C. McEnroe | |
ncurses implements scrolling as a memmove of the array of lines pointers, which happens each time a line is added to the bottom of the window, causing a scroll. This would get noticeably slow if WindowLines were increased to just 1024. Should've used a ring buffer, I think. | |||
2020-02-16 | Various small cleanups | C. McEnroe | |
Haven't really gone through ui.c yet. | |||
2020-02-16 | Replace a lot of snprintf with a catf implementation | C. McEnroe | |
2020-02-15 | Replace small integers in size_t with uint | C. McEnroe | |
2020-02-15 | Separate network info from self | C. McEnroe | |
2020-02-14 | Save heat, unreadTotal, unreadWarm | C. McEnroe | |
2020-02-14 | Track unreadTotal and unreadWarm separately | C. McEnroe | |
Otherwise reflow's calculation of unreadLines is always going to be wrong if there were Cold lines interspersed. |