Commit Graph

874 Commits

Author SHA1 Message Date
Florian Bruhin
97bde402fb Add docstring 2014-04-17 11:40:19 +02:00
Florian Bruhin
72340575af Remove value from on_config_changed signal again.
Turns out this causes more trouble than it's worth, and it's unintuitive
from which layer we get the value.
2014-04-17 11:39:25 +02:00
Florian Bruhin
7c64e8846a Refresh keybinds when config changes 2014-04-17 11:23:01 +02:00
Florian Bruhin
16afba032f Remove warn logging 2014-04-17 11:10:08 +02:00
Florian Bruhin
00dc4d6bc4 Remove set_trace 2014-04-17 11:09:12 +02:00
Florian Bruhin
c0236b8d22 Use a proper separated model for cmd history 2014-04-17 11:08:14 +02:00
Florian Bruhin
90ddd26981 Handle the case where no history is present correctly 2014-04-17 11:07:57 +02:00
Florian Bruhin
a1a0325283 Use ChainMap for ValueList config section.
This also fixes the problem where no keybindings are loaded on the first
start.
2014-04-17 11:01:45 +02:00
Florian Bruhin
6b72c3dbdf Fix long line 2014-04-17 09:51:05 +02:00
Florian Bruhin
4b1dcbd82a Refactor tab/browser widgets 2014-04-17 09:44:26 +02:00
Florian Bruhin
58ae1f7441 Add comment about CurCommandDispatcher 2014-04-17 08:24:59 +02:00
Florian Bruhin
cdf5edc115 Update TODO 2014-04-16 23:34:49 +02:00
Florian Bruhin
af94b9f212 Don't attempt to save if no data was read 2014-04-16 23:32:21 +02:00
Florian Bruhin
981ca7d18e Fix layer handling in dump_userconfig 2014-04-16 23:21:57 +02:00
Florian Bruhin
48ced03d57 Display config description in completion 2014-04-16 16:36:45 +02:00
Florian Bruhin
57baafbf30 Change configdata from function to attribute 2014-04-16 16:32:14 +02:00
Florian Bruhin
bc4a01faf3 Fix config importing 2014-04-16 16:32:06 +02:00
Florian Bruhin
3dc7238cfe Increase pylint min-similarity-lines 2014-04-16 16:16:29 +02:00
Florian Bruhin
517c9e6b69 Split config.py more 2014-04-16 16:16:17 +02:00
Florian Bruhin
fc24cb620c Move websettings to own file 2014-04-16 15:49:56 +02:00
Florian Bruhin
03227c2b41 Lint fixes 2014-04-16 14:14:37 +02:00
Florian Bruhin
2adcde1c89 Implement web inspector 2014-04-16 14:12:04 +02:00
Florian Bruhin
4c751d8081 Add webkit settings to config 2014-04-16 13:32:55 +02:00
Florian Bruhin
91e6f4c37d Better linting with config files 2014-04-16 11:05:58 +02:00
Florian Bruhin
e878fc538d Fix some checks 2014-04-16 10:02:34 +02:00
Florian Bruhin
4ca8cc9537 Add value to config.changed signal 2014-04-16 09:50:24 +02:00
Florian Bruhin
a410d56a78 Implement command history 2014-04-16 09:08:56 +02:00
Florian Bruhin
1d5b0ca9a6 Add save command 2014-04-15 17:28:14 +02:00
Florian Bruhin
73c319a1ec Add autosave option 2014-04-15 17:28:05 +02:00
Florian Bruhin
dad6451b7e style fixes 2014-04-15 17:21:12 +02:00
Florian Bruhin
88b522fa16 Only clear selection model if it exists 2014-04-15 17:16:28 +02:00
Florian Bruhin
f959c0c137 Add completion for settings values 2014-04-14 17:54:11 +02:00
Florian Bruhin
44ce804bdf Highlight all rows in completion 2014-04-13 23:06:41 +02:00
Florian Bruhin
24cdd88415 Fix weird 'no such command' message 2014-04-13 22:56:43 +02:00
Florian Bruhin
aa88125710 Update TODO 2014-04-13 22:41:44 +02:00
Florian Bruhin
39035249d2 Rename profile.py 2014-04-13 22:41:23 +02:00
Florian Bruhin
27046b5186 Give completion items a bit more space 2014-04-13 22:35:55 +02:00
Florian Bruhin
f59f8cac6c Clear completion model after an item is selected 2014-04-13 22:11:47 +02:00
Florian Bruhin
5d3fe4f506 TODO++ 2014-04-13 21:54:05 +02:00
Florian Bruhin
fb6d0a5c62 Merge branch 'conflayers' 2014-04-13 21:52:49 +02:00
Florian Bruhin
313d6e3967 Use slicing for getlayers for SettingsValue 2014-04-13 21:48:51 +02:00
Florian Bruhin
f84dac8c17 Update TODO 2014-04-13 17:59:02 +02:00
Florian Bruhin
65b99dab45 Fix false-positive check 2014-04-11 19:37:49 +02:00
Florian Bruhin
ab31f2a289 Add set_temp command 2014-04-11 19:34:46 +02:00
Florian Bruhin
a3a81543a0 Don't write temp layer to config 2014-04-11 19:34:34 +02:00
Florian Bruhin
80ca9a8dd0 Whitespace fix 2014-04-11 19:33:11 +02:00
Florian Bruhin
e12531e766 Fix dict-change (change attibute to item access) 2014-04-11 19:32:20 +02:00
Florian Bruhin
b0792203a5 Change namedtuple to OrderedDict for conflayers 2014-04-11 17:49:15 +02:00
Florian Bruhin
e7c23312d7 Start implementing different config layers.
With a namedtuple though, which is pretty much a fail.
2014-04-11 07:16:16 +02:00
Florian Bruhin
575a934892 Move SettingValue to own file 2014-04-11 06:28:07 +02:00