summary refs log tree commit diff
Commit message (Collapse)AuthorAge
* Rename cache{Prefix,Substr} to cache{Complete,Search}June McEnroe2022-07-30
|
* Switch to cache interfacesJune McEnroe2022-07-30
|
* "Rename" complete to cache, refactor interfacesJune McEnroe2022-07-30
|
* Show STATUSMSG prefixJune McEnroe2022-07-30
|
* Refactor colorMentions to be seprintf-likeJune McEnroe2022-07-30
|
* Update copyrights, authorsJune McEnroe2022-07-30
|
* Remove EditModeJune McEnroe2022-07-30
| | | | | Pretty sure this isn't going to be how vi mode works if I ever manage to implement it anyway.
* Use tiparm on to_status_lineJune McEnroe2022-07-28
| | | | | According to terminfo(5), tsl takes a single parameter! Never seen it happen, but this is technically more correct, I guess.
* Only show old topic if something was removedJune McEnroe2022-06-26
|
* Use two lines to show topic diffsJune McEnroe2022-06-24
|
* Allow setting fallback nicks and highlight on anyJune McEnroe2022-05-29
| | | | | As a side-effect, even with only one nick set you'll still be highlighted by it even if your current nick is different.
* Document visibility of unknown repliesJune McEnroe2022-05-29
|
* Put unknown numerics in parenthesesJune McEnroe2022-05-29
| | | | For some reason this makes it look so much better to me.
* Route unknown channel replies to channelsJune McEnroe2022-05-08
| | | | | Also prefix with the numeric. I don't really want to show numerics to the user, but I'm not sure these really make sense without.
* Show "You arrive" message only onceJune McEnroe2022-05-08
|
* Write unknown replies to Network with Ice heatJune McEnroe2022-05-08
|
* Sanitize leading dots from log path componentsJune McEnroe2022-04-20
| | | | | | | | | | | Prevent directory traversal by sanitizing leading dots as well as slashes from log path components, which can be controlled by the server. Side effect of preventing hidden dotfiles is a bonus, I think. Also check that the full path actually fits in the buffer. Reported-by: Samanta Navarro <ferivoz@riseup.net>
* Add screenshot to READMEJune McEnroe2022-03-31
|
* Skip non-spacing when moving and deleting by "character"June McEnroe2022-03-16
| | | | | I uh... don't think I can write tests for this, since macOS's wcwidth is notoriously useless.
* Document using -S to connect over IPv4 or IPv6June McEnroe2022-03-13
|
* Always refresh the screen with ^LChristian Kellermann2022-03-09
| | | | | | | | | | | This patch adds an explicit wrefresh call. Under some conditions just flagging the window for redraw does not trigger a redraw and the user has no other means to force redrawing of a window. Without this patch resizing the window would sometimes result in an empty chat window with no way to redraw it. Tested under uxterm and st on OpenBSD.
* Update STANDARDS section authors, titles and URLsJune McEnroe2022-03-05
|
* Show own nick on /nick without paramsJune McEnroe2022-03-02
|
* Specify commands which depend on capsJune McEnroe2022-02-26
| | | | Currently only /setname.
* Only add available commands to completeJune McEnroe2022-02-26
|
* Factor out commandAvailableJune McEnroe2022-02-26
|
* Give examples of "general events" 2.1June McEnroe2022-02-23
|
* Add missing unistd.h include in input.cJune McEnroe2022-02-23
|
* Document the interfaceJune McEnroe2022-02-22
|
* Clean up unimplemented editing mode stuffJune McEnroe2022-02-20
|
* Save input buffer contentsJune McEnroe2022-02-20
|
* Share a cut buffer between all edit buffersJune McEnroe2022-02-20
|
* Assert return values in edit testsJune McEnroe2022-02-20
|
* Move mbs out of struct Edit, use a global bufferJune McEnroe2022-02-20
| | | | | | | | This saves 4K in the edit buffers, not to mention all the heap allocations for the separate mbs buffers! There might be a way to be more clever about capacities, but I don't think it's worth it.
* Clear edit buffer before running commandJune McEnroe2022-02-20
| | | | | | Otherwise a command that switches windows will update the status line while the edit buffer still has input "pending", showing an indicator.
* Show indicator in status when window has pending inputJune McEnroe2022-02-20
|
* Use separate edit buffers for each IDJune McEnroe2022-02-20
|
* Make sure new cap is actually larger than new lengthJune McEnroe2022-02-20
|
* Remove unused mbs.len field from struct EditJune McEnroe2022-02-20
|
* Remove unneeded includes in ui.cJune McEnroe2022-02-19
|
* Reimplement tab completeJune McEnroe2022-02-19
|
* Handle errors from editFn, etc.June McEnroe2022-02-19
|
* Reimplement text macrosJune McEnroe2022-02-19
|
* Factor out input handling to input.cJune McEnroe2022-02-19
|
* Factor out window management to window.cJune McEnroe2022-02-19
|
* Enable -Wmissing-prototypesJune McEnroe2022-02-19
| | | | | In other words, warn when a function is missing static. I don't see why this isn't in -Wextra.
* Fix edit.[ch] license notice additional permissionsJune McEnroe2022-02-19
|
* Run line editing testsJune McEnroe2022-02-19
| | | | I know, it feels wrong.
* Implement new line editing "library"June McEnroe2022-02-18
| | | | | | | | | | | | | | Losing tab complete and text macros, for now. This new implementation works on an instance of a struct and does not interact with the rest of catgirl, making it possible to copy into another project. Unlike existing line editing libraries, this one is entirely abstract and can be rendered externally. My goal with this library is to be able to implement vi mode. Since it operates on struct instances rather than globals, it might also be possible to give catgirl separate line editing buffers for each window, which would be a nice UX improvement.
* Simplify cursor positioning in inputJune McEnroe2022-02-18
| | | | | | | | Do some extra work by adding the portion before the cursor to the input window twice, but simplify the interaction with the split point. This fixes the awkward behaviour when moving the cursor across colour codes where the code would be partially interpreted up to the cursor.