summary refs log tree commit diff
path: root/scoop.c (follow)
Commit message (Collapse)AuthorAge
* Color contexts like catgirlJune McEnroe2020-12-13
| | | | Well, except for query contexts where the username is lost.
* Emulate catgirl in 16-color modeJune McEnroe2020-12-13
|
* Refactor scoop formattersJune McEnroe2020-12-13
|
* Use nick for color if user is "*"June McEnroe2020-12-13
| | | | | Not accurate but better than every message being the same color in imported logs.
* Directly output IRC-to-ANSI conversionJune McEnroe2020-10-24
|
* Use dataPath for dbFindJune McEnroe2020-08-20
|
* Say "OpenSSL" in additional permission noticesJune McEnroe2020-08-10
| | | | | | | 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?
* Check return value of asprintfJune McEnroe2020-08-01
| | | | | On GNU, asprintf leaves the destination pointer undefined on failure. Clowns.
* Use asprintf to concatenate queryJune McEnroe2020-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 #defineJune McEnroe2020-07-24
|
* Fix -D nowJune McEnroe2020-07-08
|
* Convert timestamps to unix epoch timeJune McEnroe2020-07-08
| | | | This saves 125 MB on my own database after VACUUM.
* Allocate enough bind space for :open and :closeJune McEnroe2020-07-07
| | | | Big oops!
* Use >= and < on events.time for -DJune McEnroe2020-07-07
| | | | This will enable the use of an index on events.time.
* Only join FTS table when FTS query is presentJune McEnroe2020-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 LibreSSLJune McEnroe2020-06-08
| | | | https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
* Fix search expression appendJune McEnroe2020-05-21
| | | | Oops.
* Add only the necessary expressions to scoop's queryJune McEnroe2020-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 pagingJune McEnroe2020-05-21
|
* Do not sort results in scoop by defaultJune McEnroe2020-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 SHELLJune McEnroe2020-05-21
| | | | Same as how git executes it. Allows flags to be set in PAGER.
* Add Ban and Unban event typesJune McEnroe2020-04-05
|
* Update styleJune McEnroe2020-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.1June McEnroe2020-03-02
|
* Replace .mk files with configure scriptJune McEnroe2020-03-02
|
* Use < for beforeJune McEnroe2020-01-18
|
* Rearrange code in scoopJune McEnroe2020-01-18
|
* Add scoop flag for local timeJune McEnroe2020-01-16
|
* Ensure ansi resets formatting and null-terminatesJune McEnroe2020-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 translationJune McEnroe2020-01-14
|
* Open database readwrite in scoopJune McEnroe2020-01-11
| | | | So that PRAGMA optimize; can actually do its thing, potentially.
* Add -m regexp option to scoopJune McEnroe2020-01-04
|
* Assert that SQL query fits in bufferJune McEnroe2020-01-01
|
* Don't special case user being * in queriesJune McEnroe2020-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 functionJune McEnroe2020-01-01
|
* Add option for custom where expression to scoopJune McEnroe2020-01-01
|
* Add before and after optionsJune McEnroe2019-12-31
|
* Add scoop IRC output formatJune McEnroe2019-12-31
|
* Add scoop output format optionJune McEnroe2019-12-31
|
* Refactor scoop formatters and group colored outputJune McEnroe2019-12-31
|
* Add strftime format string optionJune McEnroe2019-12-31
|
* Refactor binding in scoopJune McEnroe2019-12-31
|
* Add option to group events by contextJune McEnroe2019-12-31
|
* Add missing includeJune McEnroe2019-12-31
|
* Use standout mode for highlightingJune McEnroe2019-12-31
|
* Color both nicks in a changeJune McEnroe2019-12-31
|
* Implement nick-colored outputJune McEnroe2019-12-31
|
* Only enable highlighting on terminal outputJune McEnroe2019-12-31
|
* Set up pager pipeJune McEnroe2019-12-31
|
* Normalize date inputJune McEnroe2019-12-30
| | | | Mostly this just allows the use of 'now'.