summary refs log tree commit diff
path: root/litterbox.c (follow)
Commit message (Collapse)AuthorAge
* Use bsearch to find handlerJune McEnroe2019-12-26
| | | | | | | | | The code is a bit cleaner this way I think, and performance would be better if the list of handlers ever got very long, and it was sorted anyway. However, I would prefer if there were a way to enforce the list being sorted at compile-time.
* Handle ERRORJune McEnroe2019-12-26
|
* Make sure context exists in handleReplyTopicJune McEnroe2019-12-26
|
* Inline queries, move stuff aroundJune McEnroe2019-12-25
| | | | | | No idea now why I wanted to have network bound all the time. Ended up creating a copy of the string for each statement instead of just having one like this.
* Treat topics like motdsJune McEnroe2019-12-25
| | | | | It's more like a cache of existing topics. events is still meant to record actual topic events.
* Insert MOTDs into the databaseJune McEnroe2019-12-25
|
* Insert existing topics into the databaseJune McEnroe2019-12-25
| | | | | | | Not sure how to handle the 333 reply that contains the user who set the topic and the timestamp of when it was set, since they're two separate messages that aren't really easily correlated since there's no guarantee that you're even going to get a 333 at all.
* Handle SIGINT and SIGTERMJune McEnroe2019-12-25
|
* Only send JOIN if there are channels to joinJune McEnroe2019-12-25
|
* Broadcast nick to user and host if they're unsetJune McEnroe2019-12-25
|
* Handle NAMES replyJune McEnroe2019-12-24
|
* Handle topicJune McEnroe2019-12-24
|
* Handle quitJune McEnroe2019-12-24
|
* It's The Big RefactorJune McEnroe2019-12-24
|
* Actually only use a transaction for handlers that need itJune McEnroe2019-12-23
| | | | How did I manage that?
* Take optional explicit path in dbFindJune McEnroe2019-12-23
|
* Factour out verbose, dbStep+resetJune McEnroe2019-12-23
|
* Handle NICKJune McEnroe2019-12-18
|
* Handle JOIN, PART and KICKJune McEnroe2019-12-18
|
* Rearrange SQL and IRC codeJune McEnroe2019-12-18
|
* Wrap handlers in transactionsJune McEnroe2019-12-18
|
* Rewrite litterbox statements with functionsJune McEnroe2019-12-18
|
* Insert events for PRIVMSG and NOTICEJune McEnroe2019-12-17
|
* Handle ISUPPORTJune McEnroe2019-12-17
|
* Implement -j joinJune McEnroe2019-12-17
|
* Implement basic IRC connection and message parsingJune McEnroe2019-12-17
|
* Style cleanupJune McEnroe2019-12-13
|
* Implement DB initialization and migrationJune McEnroe2019-12-02
|
* Rename header file to database.hJune McEnroe2019-12-01
|
* Implement database file searchJune McEnroe2019-12-01