Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use asprintf to concatenate query | June McEnroe | 2020-07-24 |
| | | | | | | 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. | ||
* | Fix select #define | June McEnroe | 2020-07-24 |
| | |||
* | Fix -D now | June McEnroe | 2020-07-08 |
| | |||
* | Convert timestamps to unix epoch time | June McEnroe | 2020-07-08 |
| | | | | This saves 125 MB on my own database after VACUUM. | ||
* | Allocate enough bind space for :open and :close | June McEnroe | 2020-07-07 |
| | | | | Big oops! | ||
* | Use >= and < on events.time for -D | June McEnroe | 2020-07-07 |
| | | | | This will enable the use of an index on events.time. | ||
* | Only join FTS table when FTS query is present | June McEnroe | 2020-07-07 |
| | | | | | | | 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.) | ||
* | Add additional permission for linking with LibreSSL | June McEnroe | 2020-06-08 |
| | | | | https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs | ||
* | Fix search expression append | June McEnroe | 2020-05-21 |
| | | | | Oops. | ||
* | Add only the necessary expressions to scoop's query | June McEnroe | 2020-05-21 |
| | | | | | This makes the queries generally faster and capable of taking advantage of any indexes that get created. | ||
* | Explicitly set stdout line buffered when paging | June McEnroe | 2020-05-21 |
| | |||
* | Do not sort results in scoop by default | June McEnroe | 2020-05-21 |
| | | | | | | | | The -s flag now enables sorting (-g and -l also imply it), while the -S flag now launches the sqlite3 shell. Avoiding sorting by default is much faster and less memory-intensive as it doesn't require loading the entire result set into memory at once. | ||
* | Execute PAGER with the SHELL | June McEnroe | 2020-05-21 |
| | | | | Same as how git executes it. Allows flags to be set in PAGER. | ||
* | Add Ban and Unban event types | June McEnroe | 2020-04-05 |
| | |||
* | Update style | June McEnroe | 2020-04-02 |
| | | | | | Replacing declarations followed by while loops with for loops and generating the short option string from the long options. | ||
* | Include <>/-/* around nicks in scoop coloring 1.1 | June McEnroe | 2020-03-02 |
| | |||
* | Replace .mk files with configure script | June McEnroe | 2020-03-02 |
| | |||
* | Use < for before | June McEnroe | 2020-01-18 |
| | |||
* | Rearrange code in scoop | June McEnroe | 2020-01-18 |
| | |||
* | Add scoop flag for local time | June McEnroe | 2020-01-16 |
| | |||
* | Ensure ansi resets formatting and null-terminates | June McEnroe | 2020-01-14 |
| | | | | | fmemopen in text-mode only ensures the buffer is null-terminated if the last write does not fill the buffer. | ||
* | Implement IRC formatting to ANSI translation | June McEnroe | 2020-01-14 |
| | |||
* | Open database readwrite in scoop | June McEnroe | 2020-01-11 |
| | | | | So that PRAGMA optimize; can actually do its thing, potentially. | ||
* | Add -m regexp option to scoop | June McEnroe | 2020-01-04 |
| | |||
* | Assert that SQL query fits in buffer | June McEnroe | 2020-01-01 |
| | |||
* | Don't special case user being * in queries | June McEnroe | 2020-01-01 |
| | | | | | | It's a side-effect of imports that shouldn't surface elsewhere. Would be nice to have unscoop figure out how it can eliminate using * in more places. | ||
* | Factor out hashing function | June McEnroe | 2020-01-01 |
| | |||
* | Add option for custom where expression to scoop | June McEnroe | 2020-01-01 |
| | |||
* | Add before and after options | June McEnroe | 2019-12-31 |
| | |||
* | Add scoop IRC output format | June McEnroe | 2019-12-31 |
| | |||
* | Add scoop output format option | June McEnroe | 2019-12-31 |
| | |||
* | Refactor scoop formatters and group colored output | June McEnroe | 2019-12-31 |
| | |||
* | Add strftime format string option | June McEnroe | 2019-12-31 |
| | |||
* | Refactor binding in scoop | June McEnroe | 2019-12-31 |
| | |||
* | Add option to group events by context | June McEnroe | 2019-12-31 |
| | |||
* | Add missing include | June McEnroe | 2019-12-31 |
| | |||
* | Use standout mode for highlighting | June McEnroe | 2019-12-31 |
| | |||
* | Color both nicks in a change | June McEnroe | 2019-12-31 |
| | |||
* | Implement nick-colored output | June McEnroe | 2019-12-31 |
| | |||
* | Only enable highlighting on terminal output | June McEnroe | 2019-12-31 |
| | |||
* | Set up pager pipe | June McEnroe | 2019-12-31 |
| | |||
* | Normalize date input | June McEnroe | 2019-12-30 |
| | | | | Mostly this just allows the use of 'now'. | ||
* | Add initial rough version of scoop | June McEnroe | 2019-12-30 |