Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2020-02-13 | Set hidden to true initially | C. McEnroe | |
Otherwise uiShow in uiInit does nothing, of course. | |||
2020-02-13 | Only uiShow if hidden and only uiHide if shown | C. McEnroe | |
2020-02-13 | Rename procPipe to utilPipe | C. McEnroe | |
2020-02-13 | Set swap correctly when closing a window | C. McEnroe | |
I knew I missed something. | |||
2020-02-13 | Refactor windows into array and add /move | C. McEnroe | |
Oof. | |||
2020-02-12 | Add -N flag for notifications | C. McEnroe | |
2020-02-12 | Mark and unmark on uiHide, uiShow | C. McEnroe | |
2020-02-12 | Hide debug prompt if buffer starts with / | C. McEnroe | |
2020-02-12 | Add C-t transpose | C. McEnroe | |
Also in emacs, weechat. | |||
2020-02-12 | Add C-v and M-v | C. McEnroe | |
I figure there should be some way to scroll without keypad, and apparently this is what emacs offers... | |||
2020-02-11 | Support monochromatic terminals | C. McEnroe | |
Oops, division by zero! | |||
2020-02-11 | Exit focus and paste modes on err exit | C. McEnroe | |
2020-02-11 | Call completeClear when closing a window | C. McEnroe | |
2020-02-11 | Use time_t for save signature | C. McEnroe | |
It's actually more likely to be 64-bit than size_t anyway, and it eliminates some helper functions. Also don't error when reading an empty save file. | |||
2020-02-11 | Set self.nick to * initially | C. McEnroe | |
Allows removing a bunch of checks that self.nick is set, and it's what the server usually calls you before registration. Never highlight notices as mentions. | |||
2020-02-11 | Define ColorCap instead of hardcoding 100 | C. McEnroe | |
2020-02-11 | Cast towupper to wchar_t | C. McEnroe | |
For some reason it takes and returns wint_t... | |||
2020-02-11 | Cast set but unused variables to void | C. McEnroe | |
2020-02-11 | Check if VDSUSP exists | C. McEnroe | |
2020-02-10 | Invalidate title on uiShow | C. McEnroe | |
2020-02-10 | Only write out title if it has changed | C. McEnroe | |
2020-02-10 | Only write out title on uiDraw | C. McEnroe | |
2020-02-10 | Manually raise SIGINT from C-c | C. McEnroe | |
This allows it to still work, but makes C-z C-c insert the color code rather than exit, and in the future, will allow pasting in text with color codes. | |||
2020-02-10 | Replace alignment tabs with spaces in bufferList | C. McEnroe | |
2020-02-10 | Add C-o as alias of M-/ | C. McEnroe | |
M-/ is from weechat. C-o is like in vim. | |||
2020-02-10 | Factor out XDG base directory code | C. McEnroe | |
And add warnings to configOpen, since that's the only way to be accurate if a weird error occurs. | |||
2020-02-10 | Leave a blank line after loaded buffer | C. McEnroe | |
2020-02-10 | Add -s to save and load buffers | C. McEnroe | |
2020-02-10 | Show heat and other unread in title | C. McEnroe | |
2020-02-10 | Improve color fudging | C. McEnroe | |
Prevent fudged colors from ever being pure black. Distribute fudged colors between normal and bold if COLORS is 8. Fudge colors before checking if it's a pre-allocated pair. | |||
2020-02-10 | Support all 99 IRC colors | C. McEnroe | |
Corresponding ANSI colors from the table on ircdocs. | |||
2020-02-10 | Recalculate unreadLines on reflow | C. McEnroe | |
2020-02-10 | Only make windows hotter | C. McEnroe | |
A warm message shouldn't clear a window's hotness. | |||
2020-02-10 | Always increase unreadLines | C. McEnroe | |
So that if you switch to a window and some new activity happens before you press M-u, it'll still jump to the right place. | |||
2020-02-10 | Move scroll marker on resize | C. McEnroe | |
2020-02-10 | Update line count for words longer than lines | C. McEnroe | |
2020-02-10 | Simplify mark, heat, unread tracking | C. McEnroe | |
2020-02-10 | Fix M-a so it properly cycles back to where it started | C. McEnroe | |