Commit Graph

409 Commits

Author SHA1 Message Date
Přemysl Eric Janouch f308b3fb5d degesch: show help for program options 2015-05-03 05:58:56 +02:00
Přemysl Eric Janouch bef6b42d9e kike: unfuck mode parsing
And fix a hidden memory leak while we're at it.
2015-05-03 05:00:14 +02:00
Přemysl Eric Janouch 1019cc69b2 degesch: don't queue reconnects on bogus config 2015-05-03 00:13:36 +02:00
Přemysl Eric Janouch b31104784c degesch: connect _after_ starting the UI 2015-05-03 00:13:36 +02:00
Přemysl Eric Janouch 6d0fff6a71 degesch: don't require configuration to run
Well, techincally.
2015-05-03 00:13:36 +02:00
Přemysl Eric Janouch c23898166c degesch: use the new configuration
This is a simple, almost 1:1 conversion.  Needs further unfucking.
2015-05-02 23:06:19 +02:00
Přemysl Eric Janouch 3b8e8cc97f config: fix string parsing 2015-05-02 22:49:51 +02:00
Přemysl Eric Janouch 1b891ab01b Bump liberty 2015-05-02 22:36:26 +02:00
Přemysl Eric Janouch cb2cbc9100 config: fixes 2015-05-02 22:35:14 +02:00
Přemysl Eric Janouch cfc77159d8 config: on_changed -> on_change 2015-05-02 21:19:12 +02:00
Přemysl Eric Janouch f7c08fdace config: simplify and mostly finish
What still sucks:
 - "on_change" callbacks have little information;
   maybe we could add a user-defined field to the schema;
   also config_schema_apply_to_object() might assign "user_data"
 - no idea how to generate the default configuration file
2015-05-02 21:10:39 +02:00
Přemysl Eric Janouch 5a6b12245b config: implement config_schema_apply_to_object() 2015-05-02 20:43:01 +02:00
Přemysl Eric Janouch 7e42399ad0 degesch; user color constants from curses 2015-05-02 20:23:02 +02:00
Přemysl Eric Janouch 7cffbc1b2e config: implement config_load() 2015-05-02 15:07:14 +02:00
Přemysl Eric Janouch 409a13ac7f config: assert that strings are valid UTF-8 2015-05-02 15:06:31 +02:00
Přemysl Eric Janouch c4ea0e28fd config: implement string tokenizing 2015-05-02 04:59:55 +02:00
Přemysl Eric Janouch 83e159d945 config: finish config_item_write() implementation 2015-05-02 04:02:23 +02:00
Přemysl Eric Janouch fddcef24f9 config: implement a few more methods 2015-05-02 03:45:23 +02:00
Přemysl Eric Janouch e5b38e9312 config: get rid of "is_nullable"
If it doesn't have a default, it just is.
2015-05-02 03:44:31 +02:00
Přemysl Eric Janouch 852c2ac158 Move some macros to common.c 2015-05-02 03:43:29 +02:00
Přemysl Eric Janouch 57f052a2be Get rid of "All rights reserved" 2015-05-01 23:41:22 +02:00
Přemysl Eric Janouch ebc3f7fd7d Implement config_item_get() 2015-05-01 23:26:30 +02:00
Přemysl Eric Janouch b4dab3489d Implement config_item_set_from() 2015-05-01 21:48:43 +02:00
Přemysl Eric Janouch d4deb31a17 Allow extra newlines before right brace in config 2015-05-01 20:59:09 +02:00
Přemysl Eric Janouch f5f3dd1a29 Halfplement configuration writing 2015-05-01 20:58:46 +02:00
Přemysl Eric Janouch 9285974bff Fix error reporting in configuration parsing 2015-05-01 18:39:38 +02:00
Přemysl Eric Janouch 6bf57d3450 Start writing a new configuration system
For degesch but in the long term for the rest as well.
2015-05-01 17:33:10 +02:00
Přemysl Eric Janouch 452f42d96e Fix the LICENSE file
Somehow it got indented.
2015-04-30 02:07:43 +02:00
Přemysl Eric Janouch 37fa19f4c9 Rename project to uirc3 2015-04-30 01:39:08 +02:00
Přemysl Eric Janouch 950f052d1b degesch: refactor for multiserver
Just some basic preparations before it becomes too costly.
2015-04-30 00:02:14 +02:00
Přemysl Eric Janouch b95b916c37 degesch: further unfucking 2015-04-29 21:43:31 +02:00
Přemysl Eric Janouch 101ab90100 degesch: unfuck terminal attribute handling 2015-04-29 20:56:26 +02:00
Přemysl Eric Janouch 21656d462f degesch: mark some issues 2015-04-28 23:41:13 +02:00
Přemysl Eric Janouch dff720b49b kike: no more shooting ourselves in the foot
Just zero out the whole structure.
2015-04-28 23:40:49 +02:00
Přemysl Eric Janouch 507d444e0d degesch: fix 8-bit input 2015-04-28 23:40:49 +02:00
Přemysl Eric Janouch 1ff56bfe5a degesch: simplify formatter_flush() 2015-04-28 23:40:49 +02:00
Přemysl Eric Janouch 4013921de7 degesch: add a /nick command
Somehow I've missed it entirely.
2015-04-27 23:06:20 +02:00
Přemysl Eric Janouch 6f890c0388 degesch: fix typo 2015-04-27 23:02:15 +02:00
Přemysl Eric Janouch 0cb50addbe degesch: make sure "You are now known..." works 2015-04-27 22:59:23 +02:00
Přemysl Eric Janouch 412cad9328 degesch: add fast buffer switching
When the user tries to M-n the same buffer, it switches to the last.
2015-04-27 22:51:40 +02:00
Přemysl Eric Janouch cdb1d81982 degesch: detect highlights and display differently 2015-04-27 22:40:33 +02:00
Přemysl Eric Janouch 87c1775129 degesch: imlement NOTICE handling 2015-04-27 21:52:16 +02:00
Přemysl Eric Janouch 6003cc7138 degesch: log outcoming CTCPs 2015-04-27 01:47:21 +02:00
Přemysl Eric Janouch 2f6974c7ca degesch: reply to some CTCPs 2015-04-27 01:36:33 +02:00
Přemysl Eric Janouch 5ad6d7cfbc degesch: implement /me 2015-04-26 23:32:57 +02:00
Přemysl Eric Janouch 21b8e8e539 degesch: implement /list 2015-04-26 23:06:19 +02:00
Přemysl Eric Janouch 54262e2d20 degesch: implement /ctcp, stubplement /me 2015-04-26 22:53:38 +02:00
Přemysl Eric Janouch a66bf15e67 degesch: process CTCP in PRIVMSG
Finally we can display /me.
2015-04-26 22:31:07 +02:00
Přemysl Eric Janouch 9e548889c7 degesch: add a CTCP parser 2015-04-26 22:30:44 +02:00
Přemysl Eric Janouch e734190979 degesch: set the server buffer as default 2015-04-26 18:59:58 +02:00