| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
This vastly increases the speed of the query for any search with a
decent number of matches. It can be slightly less accurate since
it depends on the insert order of events, but that usually won't
be a problem for a query limited to a single network. The litterbox
query interface isn't meant to exhaustively list results either.
|
| |
|
|
|
|
|
|
|
|
| |
I originally avoided defaulting MANDIR to /usr/local/man because I
thought that might not work on GNU/Linux, but I checked and it turns
out man-db not only defaults to including /usr/local/man (if
/usr/local/bin is in PATH), it also includes /usr/man. So more
reason to default to ${PREFIX}/man.
|
| |
|
| |
|
| |
|
|
|
|
| |
No idea why it was like this.
|
| |
|
|
|
|
|
| |
Not adding a corresponding -o option like in pounce and catgirl,
since litterbox is likely connecting to pounce anyway.
|
| |
|
|
|
|
|
|
|
| |
Don't search base directories if path starts with "/", "./" or
"../", but still do if the path simply starts with ".". Bail early
if HOME is needed but unset. Don't attempt to open the original
path in configOpen and dataOpen.
|
|
|
|
|
| |
This feature is rarely used, so just skip STATUSMSG prefixes in the
target so events use the right context.
|
|
|
|
|
|
| |
Don't wait for getopt_long to move all the arguments to the end. This
allows overriding options set by config files by placing flags after
them on the command line.
|
|
|
|
| |
Well, except for query contexts where the username is lost.
|
| |
|
| |
|
|
|
|
|
| |
Not accurate but better than every message being the same color in
imported logs.
|
| |
|
| |
|
|
|
|
| |
It's only useful internally for running tests.
|
|
|
|
|
| |
The rc script kinda just sucks for running this, and catsit exists now.
Probably no one but me was ever using it anyway.
|
| |
|
|
|
|
| |
Honestly running it with the rc script just sucks.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
LibreSSL is "a modified version of that library".
Oops, should've done this before tagging, but I don't think it matters
much. They're both versions of the same library, right?
|
| |
|
|
|
|
|
| |
On GNU, asprintf leaves the destination pointer undefined on failure.
Clowns.
|
|
|
|
| |
It's only used on FreeBSD anyway.
|
|
|
|
|
|
| |
Newer gcc will point out that concatenating 3 buffers of 4096 bytes into
a buffer of 4096 might truncate, which I don't care about because the
query should never be 4K anyway, but it's simple to use asprintf here.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is what it should have been...
|
| |
|
| |
|
| |
|
|
|
|
| |
This saves 125 MB on my own database after VACUUM.
|
|
|
|
| |
Big oops!
|
|
|
|
| |
This vastly improves the speed of scoop -a, -b and -D.
|
|
|
|
| |
This will enable the use of an index on events.time.
|
|
|
|
|
|
|
| |
This makes query construction more complex, but should allow for
performance gains, since it seems that as soon as the FTS table is
involved, SQLite will use no other indexes. (The query planner always
uses a VFilter.)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apparently IRCds have decided that the 15-parameter limit doesn't matter
anymore. 254 is the maximum number of single-byte parameters (following
a single-byte command) which fit in a 512-byte CR-LF-terminated line.
When everyone decides that the 512-byte line length limit doesn't matter
either, I will delete my software and people can use some JavaScript
garbage instead.
This makes struct Message 2080 bytes, but there's only ever one of it
around at once. Avoid passing it by value to handle.
|
|
|
|
|
|
| |
Relying on the MOTDSTART handler to set motd.cap and allocate the buffer
is an issue if a regular RPL_MOTD is received without one. Just allocate
the buffer on the first RPL_MOTD.
|
|
|
|
| |
https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
|