Commit Graph

736 Commits

Author SHA1 Message Date
4f5d171799 degesch: add constant for word breaking characters 2015-05-06 22:20:02 +02:00
894c45bef4 degesch: fix readline initialization 2015-05-06 22:01:48 +02:00
06ec2a1388 degesch: stub word completion 2015-05-06 17:32:29 +02:00
99526126e4 degesch: fix libedit initialization 2015-05-05 22:35:51 +02:00
e542aa5acc degesch: some libedit fixes 2015-05-05 20:18:41 +02:00
fa0ee9d65b degesch: better section dividers in soure code
And remove an extra function declaration.
2015-05-05 19:37:17 +02:00
1acd41eafe degesch: fix README by fixing CMakeLists.txt 2015-05-05 08:58:44 +02:00
a5a1079a9c degesch: add support for libedit
Just another kind of evil.
2015-05-05 08:54:55 +02:00
53894e3909 degesch: fix a brutal bug 2015-05-05 05:15:08 +02:00
8574c7f450 degesch: further decoupling from Readline 2015-05-05 03:42:40 +02:00
87843f47e4 degesch: try to abstract GNU Readline 2015-05-05 03:23:53 +02:00
87afccc568 degesch: fix the /set command
An extra cut_word() fucked things up.
2015-05-04 02:26:59 +02:00
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
b3254a589c kike: unindent a function by refactoring 2015-05-04 02:22:05 +02:00
c9a02141f9 degesch: move some code to common.c 2015-05-04 02:17:55 +02:00
56a67d56e0 degesch: add a /connect command 2015-05-03 20:03:21 +02:00
689a337651 Update instructions in the README 2015-05-03 19:39:30 +02:00
72e5aeba58 degesch: implement /save
Fuck yes. :)
2015-05-03 19:34:48 +02:00
bdad4dce42 config: fix config_item_set_from() 2015-05-03 19:26:39 +02:00
134a627130 degesch: finish /set
One bug remaining to make it work.
2015-05-03 19:26:39 +02:00
1e3a273690 degesch: refactor handle_command_set_assign() 2015-05-03 19:26:39 +02:00
3b5c3c3b4e degesch: implement /set += / -= 2015-05-03 18:40:51 +02:00
4841ba5bd0 degesch: halfplement option assignment 2015-05-03 17:38:58 +02:00
4eca3fb4db config: a tiny bit better messages 2015-05-03 17:00:58 +02:00
373f6333ef degesch: refactor /help, fix segfault
Forgot to check if the item has a schema.
2015-05-03 16:47:31 +02:00
4928f9ed62 degesch: add a read-only /set command 2015-05-03 16:47:16 +02:00
e000a6b495 degesch: fix segfault 2015-05-03 06:20:36 +02:00
f308b3fb5d degesch: show help for program options 2015-05-03 05:58:56 +02:00
bef6b42d9e kike: unfuck mode parsing
And fix a hidden memory leak while we're at it.
2015-05-03 05:00:14 +02:00
1019cc69b2 degesch: don't queue reconnects on bogus config 2015-05-03 00:13:36 +02:00
b31104784c degesch: connect _after_ starting the UI 2015-05-03 00:13:36 +02:00
6d0fff6a71 degesch: don't require configuration to run
Well, techincally.
2015-05-03 00:13:36 +02:00
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
3b8e8cc97f config: fix string parsing 2015-05-02 22:49:51 +02:00
1b891ab01b Bump liberty 2015-05-02 22:36:26 +02:00
cb2cbc9100 config: fixes 2015-05-02 22:35:14 +02:00
cfc77159d8 config: on_changed -> on_change 2015-05-02 21:19:12 +02:00
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
5a6b12245b config: implement config_schema_apply_to_object() 2015-05-02 20:43:01 +02:00
7e42399ad0 degesch; user color constants from curses 2015-05-02 20:23:02 +02:00
7cffbc1b2e config: implement config_load() 2015-05-02 15:07:14 +02:00
409a13ac7f config: assert that strings are valid UTF-8 2015-05-02 15:06:31 +02:00
c4ea0e28fd config: implement string tokenizing 2015-05-02 04:59:55 +02:00
83e159d945 config: finish config_item_write() implementation 2015-05-02 04:02:23 +02:00
fddcef24f9 config: implement a few more methods 2015-05-02 03:45:23 +02:00
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
852c2ac158 Move some macros to common.c 2015-05-02 03:43:29 +02:00
57f052a2be Get rid of "All rights reserved" 2015-05-01 23:41:22 +02:00
ebc3f7fd7d Implement config_item_get() 2015-05-01 23:26:30 +02:00
b4dab3489d Implement config_item_set_from() 2015-05-01 21:48:43 +02:00