Commit Graph

329 Commits

Author SHA1 Message Date
Přemysl Eric Janouch a5a1079a9c degesch: add support for libedit
Just another kind of evil.
2015-05-05 08:54:55 +02:00
Přemysl Eric Janouch 53894e3909 degesch: fix a brutal bug 2015-05-05 05:15:08 +02:00
Přemysl Eric Janouch 8574c7f450 degesch: further decoupling from Readline 2015-05-05 03:42:40 +02:00
Přemysl Eric Janouch 87843f47e4 degesch: try to abstract GNU Readline 2015-05-05 03:23:53 +02:00
Přemysl Eric Janouch 87afccc568 degesch: fix the /set command
An extra cut_word() fucked things up.
2015-05-04 02:26:59 +02:00
Přemysl Eric Janouch 8e4a16af3a degesch: force a non-empty realname
At least a space seems to be needed with some ircds.
2015-05-04 02:25:33 +02:00
Přemysl Eric Janouch b3254a589c kike: unindent a function by refactoring 2015-05-04 02:22:05 +02:00
Přemysl Eric Janouch c9a02141f9 degesch: move some code to common.c 2015-05-04 02:17:55 +02:00
Přemysl Eric Janouch 56a67d56e0 degesch: add a /connect command 2015-05-03 20:03:21 +02:00
Přemysl Eric Janouch 689a337651 Update instructions in the README 2015-05-03 19:39:30 +02:00
Přemysl Eric Janouch 72e5aeba58 degesch: implement /save
Fuck yes. :)
2015-05-03 19:34:48 +02:00
Přemysl Eric Janouch bdad4dce42 config: fix config_item_set_from() 2015-05-03 19:26:39 +02:00
Přemysl Eric Janouch 134a627130 degesch: finish /set
One bug remaining to make it work.
2015-05-03 19:26:39 +02:00
Přemysl Eric Janouch 1e3a273690 degesch: refactor handle_command_set_assign() 2015-05-03 19:26:39 +02:00
Přemysl Eric Janouch 3b5c3c3b4e degesch: implement /set += / -= 2015-05-03 18:40:51 +02:00
Přemysl Eric Janouch 4841ba5bd0 degesch: halfplement option assignment 2015-05-03 17:38:58 +02:00
Přemysl Eric Janouch 4eca3fb4db config: a tiny bit better messages 2015-05-03 17:00:58 +02:00
Přemysl Eric Janouch 373f6333ef degesch: refactor /help, fix segfault
Forgot to check if the item has a schema.
2015-05-03 16:47:31 +02:00
Přemysl Eric Janouch 4928f9ed62 degesch: add a read-only /set command 2015-05-03 16:47:16 +02:00
Přemysl Eric Janouch e000a6b495 degesch: fix segfault 2015-05-03 06:20:36 +02:00
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