Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-08 | Show "You arrive" message only once | June McEnroe | |
2022-05-08 | Write unknown replies to Network with Ice heat | June McEnroe | |
2022-04-20 | Sanitize leading dots from log path components | June McEnroe | |
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> | |||
2022-03-31 | Add screenshot to README | June McEnroe | |
2022-03-16 | Skip non-spacing when moving and deleting by "character" | June McEnroe | |
I uh... don't think I can write tests for this, since macOS's wcwidth is notoriously useless. | |||
2022-03-13 | Document using -S to connect over IPv4 or IPv6 | June McEnroe | |
2022-03-09 | Always refresh the screen with ^L | Christian Kellermann | |
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. | |||
2022-03-05 | Update STANDARDS section authors, titles and URLs | June McEnroe | |
2022-03-02 | Show own nick on /nick without params | June McEnroe | |
2022-02-26 | Specify commands which depend on caps | June McEnroe | |
Currently only /setname. | |||
2022-02-26 | Only add available commands to complete | June McEnroe | |
2022-02-26 | Factor out commandAvailable | June McEnroe | |
2022-02-23 | Give examples of "general events" 2.1 | June McEnroe | |
2022-02-23 | Add missing unistd.h include in input.c | June McEnroe | |
2022-02-22 | Document the interface | June McEnroe | |
2022-02-20 | Clean up unimplemented editing mode stuff | June McEnroe | |
2022-02-20 | Save input buffer contents | June McEnroe | |
2022-02-20 | Share a cut buffer between all edit buffers | June McEnroe | |
2022-02-20 | Assert return values in edit tests | June McEnroe | |
2022-02-20 | Move mbs out of struct Edit, use a global buffer | June McEnroe | |
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. | |||
2022-02-20 | Clear edit buffer before running command | June McEnroe | |
Otherwise a command that switches windows will update the status line while the edit buffer still has input "pending", showing an indicator. | |||
2022-02-20 | Show indicator in status when window has pending input | June McEnroe | |
2022-02-20 | Use separate edit buffers for each ID | June McEnroe | |
2022-02-20 | Make sure new cap is actually larger than new length | June McEnroe | |
2022-02-20 | Remove unused mbs.len field from struct Edit | June McEnroe | |
2022-02-19 | Remove unneeded includes in ui.c | June McEnroe | |
2022-02-19 | Reimplement tab complete | June McEnroe | |
2022-02-19 | Handle errors from editFn, etc. | June McEnroe | |
2022-02-19 | Reimplement text macros | June McEnroe | |
2022-02-19 | Factor out input handling to input.c | June McEnroe | |
2022-02-19 | Factor out window management to window.c | June McEnroe | |
2022-02-19 | Enable -Wmissing-prototypes | June McEnroe | |
In other words, warn when a function is missing static. I don't see why this isn't in -Wextra. | |||
2022-02-19 | Fix edit.[ch] license notice additional permissions | June McEnroe | |
2022-02-19 | Run line editing tests | June McEnroe | |
I know, it feels wrong. | |||
2022-02-18 | Implement new line editing "library" | June McEnroe | |
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. | |||
2022-02-18 | Simplify cursor positioning in input | June McEnroe | |
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. | |||
2022-02-18 | Fix M-f ordering | June McEnroe | |
2022-02-12 | Move sandman build to scripts/Makefile | June McEnroe | |
2022-02-12 | Use compat_readpassphrase.c on Linux | June McEnroe | |
2022-02-12 | Copy RPP defines from oconfigure | June McEnroe | |
We don't use any flags, so just define them in the compat source file. | |||
2022-02-12 | Import compat_readpassphrase.c from oconfigure | June McEnroe | |
At 5d08070de6aadd979e3752263d2ec1e709bf037e. | |||
2022-02-12 | Prompt for empty server or SASL passwords | June McEnroe | |
2022-02-09 | Treat any amount of space and punctuation as word boundaries | June McEnroe | |
This matches behaviour of, e.g. zsh -o emacs. | |||
2022-02-03 | Add M-s to (temporarily) reveal spoiler text | June McEnroe | |
2022-02-03 | Add C-z s to set spoiler text | June McEnroe | |
2022-01-16 | Avoid sending null byte in SASL PLAIN 2.0a | June McEnroe | |
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. | |||
2022-01-16 | Use Cold for away notices in queries | June McEnroe | |
So that they can be hidden with M-+. | |||
2021-12-11 | Refer to long option names, prefix commands with $ 2.0 | June McEnroe | |
2021-11-22 | Support custom pkg-config executable names | Alyssa Ross | |
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. | |||
2021-11-19 | Cycle between adding colon suffix and not in tab complete | C. McEnroe | |
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 | |