about summary refs log tree commit diff
Commit message (Collapse)AuthorAge
...
* 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.
* Fix M-f orderingJune McEnroe2022-02-18
|
* Move sandman build to scripts/MakefileJune McEnroe2022-02-12
|
* Use compat_readpassphrase.c on LinuxJune McEnroe2022-02-12
|
* Copy RPP defines from oconfigureJune McEnroe2022-02-12
| | | | | We don't use any flags, so just define them in the compat source file.
* Import compat_readpassphrase.c from oconfigureJune McEnroe2022-02-12
| | | | At 5d08070de6aadd979e3752263d2ec1e709bf037e.
* Prompt for empty server or SASL passwordsJune McEnroe2022-02-12
|
* Treat any amount of space and punctuation as word boundariesJune McEnroe2022-02-09
| | | | This matches behaviour of, e.g. zsh -o emacs.
* Add M-s to (temporarily) reveal spoiler textJune McEnroe2022-02-03
|
* Add C-z s to set spoiler textJune McEnroe2022-02-03
|
* Avoid sending null byte in SASL PLAIN 2.0aJune McEnroe2022-01-16
| | | | | | | | Woops! BASE64_SIZE is the size of the string buffer. Somehow ergo is the only server software (that I know of) to reject the accidental null byte. Reported by smlavine.
* Use Cold for away notices in queriesJune McEnroe2022-01-16
| | | | So that they can be hidden with M-+.
* Refer to long option names, prefix commands with $ 2.0June McEnroe2021-12-11
|
* Support custom pkg-config executable namesAlyssa Ross2021-11-22
| | | | | | | | | | | When cross-compiling, it's common to have executables prefixed with the name of the architecture you're building for, e.g. aarch64-unknown-linux-musl-cc or x86_64-unknown-freebsd-pkg-config. Lots of build tools support a PKG_CONFIG environment variable to enable this use case. With this change, I was able to successfully cross-compile and run catgirl.
* Cycle between adding colon suffix and not in tab completeJune McEnroe2021-11-19
| | | | | | | | | | | | | | Allows completing a nick at the beginning of a message without a colon by continuing to press tab, as well as after another nick already followed by a colon without turning it into a comma-separated list of nicks all followed by a colon. For example, tab can be used to cycle between the following pairs: nick1: | nick1 | nick1, nick2: | nick1: nick2 |
* Make the /ops response more flavourfulJune McEnroe2021-11-16
| | | | How did this normal sounding format string get in there!
* Handle RPL_WHOISSPECIALJune McEnroe2021-11-10
| | | | <https://modern.ircdocs.horse/index.html#rplwhoisspecial-320>
* Parse IRC formatting in timestamp stringJune McEnroe2021-10-28
| | | | | | | | | | | | Strip formatting when calculating the timestamp width to avoid moving a bunch of code around. Use styleAdd (now with an initial style parameter) to show timestamps. This allows changing the style of the timestamps from the default gray using literal IRC formatting codes in the string. Not ideal, but no new options needed. Suggested by Hoël Bézier and Sebastian LaVine.
* Fix strptime decode for musl libcpsykose2021-10-26
| | | | | | | | | | | | POSIX does not define a %F for strptime[1], but does define %F for strftime[2]. Afaik most libc's implement %F for both, but musl is very standards-compliant and does not have %F on strptime, leading to unparsed message tag times, which causes all backlog sent from bouncer on startup to have a timestamp of the current time, instead of the actual timestamp sent. [1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html [2] https://pubs.opengroup.org/onlinepubs/9699919799/functions/strftime.html
* Increment replies for list modes with /modeJune McEnroe2021-10-17
| | | | | Otherwise only /ban can be used to list bans and /mode b or /mode +b won't show the listing.
* Import refactored xdg.c from pounceJune McEnroe2021-10-16
|
* chroot: Factor out and add OpenBSD buildJune McEnroe2021-09-27
|
* Request znc.in/self-message if availableJune McEnroe2021-09-20
| | | | | | | | catgirl correctly handles receiving "self-messages". pounce always sends them. [1]: https://wiki.znc.in/Query_buffers [2]: https://defs.ircdocs.horse/info/selfmessages.html