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
|
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
|
313d6e3967
|
Use slicing for getlayers for SettingsValue
|
2014-04-13 21:48:51 +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 |
|
Florian Bruhin
|
04807489b7
|
Update everything needed when config is changed
|
2014-04-10 23:30:45 +02:00 |
|
Florian Bruhin
|
aa616e5ac7
|
Start implementing config changed signal
|
2014-04-10 18:01:16 +02:00 |
|
Florian Bruhin
|
175eabdc80
|
Remove fallback values from config
|
2014-04-10 14:40:02 +02:00 |
|
Florian Bruhin
|
c5ca0e56be
|
Remove blank lines before """ in docstrings.
pep257 has changed in this regard so we reflect this change.
|
2014-04-10 14:21:27 +02:00 |
|
Florian Bruhin
|
cba2d4d450
|
Basic validation for zoom values
|
2014-04-10 12:57:57 +02:00 |
|
Florian Bruhin
|
c845db4799
|
Refactor config and sectionproxy
|
2014-04-10 12:37:53 +02:00 |
|
Florian Bruhin
|
4ff86b660c
|
Lint fixes
|
2014-04-10 12:24:41 +02:00 |
|
Florian Bruhin
|
33aa8bfa52
|
Fix checking of boolean states
|
2014-04-10 12:22:22 +02:00 |
|
Florian Bruhin
|
32ce8e6772
|
Print nice error messages on wrong setting values
|
2014-04-10 12:20:15 +02:00 |
|
Florian Bruhin
|
c05e66a9b9
|
Refactor ValueList
|
2014-04-10 12:09:32 +02:00 |
|
Florian Bruhin
|
21e628a1ba
|
Add __setitem__ to ValueList
|
2014-04-10 12:05:32 +02:00 |
|
Florian Bruhin
|
1a20bbe7d0
|
Fix missing options when setting
|
2014-04-10 12:03:42 +02:00 |
|
Florian Bruhin
|
c1df7cd1fc
|
Handle missing sections/options in :set
|
2014-04-10 12:01:02 +02:00 |
|
Florian Bruhin
|
237ff93908
|
Fix nargs handling
|
2014-04-10 11:58:05 +02:00 |
|
Florian Bruhin
|
e8f2698877
|
Improve argument count exception message
|
2014-04-10 09:56:06 +02:00 |
|
Florian Bruhin
|
6175f5c489
|
Use ConfigParser-like exceptions for config
|
2014-04-10 09:52:05 +02:00 |
|
Florian Bruhin
|
2442cf11ab
|
Remove old logging
|
2014-04-10 09:40:16 +02:00 |
|
Florian Bruhin
|
60cb5ad85d
|
Lint fixes
|
2014-04-10 07:42:21 +02:00 |
|
Florian Bruhin
|
763276a65f
|
Make dump_userconfig work
|
2014-04-10 07:37:13 +02:00 |
|
Florian Bruhin
|
a0a8f5d025
|
Make :set work correctly
|
2014-04-10 07:09:12 +02:00 |
|
Florian Bruhin
|
e9317f807b
|
Accept single int in register decorator for nargs
|
2014-04-10 07:04:02 +02:00 |
|
Florian Bruhin
|
c26430d08d
|
Remove annoying two-word completions
|
2014-04-10 06:58:58 +02:00 |
|
Florian Bruhin
|
fb4e013007
|
Make rawvalue of SettingValue private
|
2014-04-09 22:44:34 +02:00 |
|
Florian Bruhin
|
4173a47ade
|
Try to implement set command
|
2014-04-09 22:44:07 +02:00 |
|
Florian Bruhin
|
4c6a41dc94
|
Actually use nargs= from register_command decorator
|
2014-04-09 22:43:45 +02:00 |
|
Florian Bruhin
|
68413d8676
|
Better error for invalid argument count
|
2014-04-09 22:43:25 +02:00 |
|
Florian Bruhin
|
782242de04
|
Fix marking of items
|
2014-04-09 21:21:15 +02:00 |
|
Florian Bruhin
|
235d588827
|
Remove MessageBridge debug
|
2014-04-09 21:17:56 +02:00 |
|
Florian Bruhin
|
18bcae40c5
|
Fix completing when text ends with space #2
|
2014-04-09 21:15:18 +02:00 |
|
Florian Bruhin
|
d485d8cc4e
|
Remove strech from statusbar
|
2014-04-09 21:11:11 +02:00 |
|
Florian Bruhin
|
7eb27c86ee
|
Fix some completion bugs
|
2014-04-09 20:57:25 +02:00 |
|
Florian Bruhin
|
72ab405040
|
Handle statusbar messages centrally
|
2014-04-09 20:47:24 +02:00 |
|
Florian Bruhin
|
4b0b9d884c
|
lint fixes
|
2014-04-09 17:57:00 +02:00 |
|
Florian Bruhin
|
3f7635619a
|
Complete multi-part values correctly
|
2014-04-09 17:54:41 +02:00 |
|
Florian Bruhin
|
3c343ecff7
|
Handle prefixes correctly in on_change_completed_part
|
2014-04-09 16:03:35 +02:00 |
|
Florian Bruhin
|
ad742d51d8
|
Set text correctly when completing
|
2014-04-09 07:14:26 +02:00 |
|
Florian Bruhin
|
fd3262e2ba
|
Move split_cmdline to commands.parsers
|
2014-04-09 07:07:32 +02:00 |
|
Florian Bruhin
|
deb286272c
|
Use command parser for completions
|
2014-04-09 06:58:17 +02:00 |
|
Florian Bruhin
|
1258a466dd
|
Add untested has_option
|
2014-04-07 17:53:57 +02:00 |
|
Florian Bruhin
|
30c18579f2
|
Eliminate custom ValueList classes
|
2014-04-07 17:46:48 +02:00 |
|
Florian Bruhin
|
63eaee50b8
|
Cache colordict/fontdict
|
2014-04-07 17:33:12 +02:00 |
|
Florian Bruhin
|
361dc7d037
|
Fix checks and spellings
|
2014-04-07 17:20:14 +02:00 |
|
Florian Bruhin
|
50740b2828
|
ValueList fixes
|
2014-04-07 17:05:51 +02:00 |
|
Florian Bruhin
|
7312a284a3
|
More fixes, kinda runs now
|
2014-04-07 16:51:14 +02:00 |
|
Florian Bruhin
|
45ffa9dece
|
More config bugfixes
|
2014-04-02 16:47:21 +02:00 |
|
Florian Bruhin
|
89e21499c8
|
More configparser adjustments
|
2014-03-28 07:18:40 +01:00 |
|
Florian Bruhin
|
f4d363082d
|
Add some configparser-foo
|
2014-03-27 22:37:34 +01:00 |
|
Florian Bruhin
|
8b0eb8e808
|
Prepare for getting rid of cp interpolation
|
2014-03-27 17:35:14 +01:00 |
|
Florian Bruhin
|
c865cc1b84
|
Don't set pattern etc. when model is None
|
2014-03-26 20:20:09 +01:00 |
|
Florian Bruhin
|
3635a40c56
|
Always set model when needed.
|
2014-03-26 20:19:46 +01:00 |
|
Florian Bruhin
|
638fdca573
|
appdirs.py update
|
2014-03-25 06:23:55 +01:00 |
|
Florian Bruhin
|
1132f7bb6c
|
Lint fixes
|
2014-03-24 11:48:56 +01:00 |
|
Florian Bruhin
|
678b4d54af
|
Refactor completion chosing
|
2014-03-24 11:37:41 +01:00 |
|
Florian Bruhin
|
a5702c781f
|
Actually append cmd text on append_cmd_text
|
2014-03-23 21:36:01 +01:00 |
|
Florian Bruhin
|
8ebd2929fd
|
Rename model to _model for completionview
|
2014-03-23 21:34:02 +01:00 |
|
Florian Bruhin
|
d5456fcae1
|
Fix tabbing with models with children
|
2014-03-23 21:15:28 +01:00 |
|
Florian Bruhin
|
ea0ef4fb01
|
Add FIXME for backspacing
|
2014-03-23 21:15:17 +01:00 |
|
Florian Bruhin
|
cbd368d980
|
Add FIXME
|
2014-03-21 20:25:11 +01:00 |
|
Florian Bruhin
|
cea6c0934f
|
Don't set model in init
|
2014-03-21 20:17:03 +01:00 |
|
Florian Bruhin
|
384e7c1927
|
Don't append space when completing
|
2014-03-21 20:12:49 +01:00 |
|
Florian Bruhin
|
b9492d0f1e
|
Revert "Remove ignore_next"
This reverts commit df6c1fd26d .
|
2014-03-21 20:11:20 +01:00 |
|
Florian Bruhin
|
bd2aa2d723
|
Only change completion when necessary
|
2014-03-21 20:11:18 +01:00 |
|
Florian Bruhin
|
df6c1fd26d
|
Remove ignore_next
|
2014-03-21 20:02:17 +01:00 |
|
Florian Bruhin
|
fa6f464e23
|
Refactor completion model changing
|
2014-03-21 20:01:13 +01:00 |
|
Florian Bruhin
|
a643bcd617
|
Store complete model correctly
|
2014-03-21 19:19:55 +01:00 |
|
Florian Bruhin
|
ed4f168779
|
Attempt to use separate QSFPMs
|
2014-03-21 17:00:20 +01:00 |
|
Florian Bruhin
|
108fd2c43b
|
Don't wrap option values
|
2014-03-21 16:50:37 +01:00 |
|
Florian Bruhin
|
43d529876e
|
Revert "Fix writing values with spaces"
This reverts commit c229096916 .
|
2014-03-21 16:48:00 +01:00 |
|
Florian Bruhin
|
c229096916
|
Fix writing values with spaces
|
2014-03-10 01:10:24 +01:00 |
|
Florian Bruhin
|
1ae1b19888
|
Start reading config file
|
2014-03-10 00:39:15 +01:00 |
|
Florian Bruhin
|
c64d1029a7
|
Use exceptions for validation.
|
2014-03-10 00:39:15 +01:00 |
|
Florian Bruhin
|
e61d7f724f
|
cleanup
|
2014-03-10 00:39:15 +01:00 |
|
Florian Bruhin
|
a19571fe21
|
Add final newline to config
|
2014-03-10 00:39:15 +01:00 |
|
Florian Bruhin
|
2d33d32ed5
|
Kill old configparser, implement config writing
|
2014-03-10 00:39:15 +01:00 |
|
Florian Bruhin
|
2ac9ea0f6a
|
Kinda fix get command
|
2014-03-10 00:39:15 +01:00 |
|
Florian Bruhin
|
f0f8168ed2
|
Add a (broken) get command.
|
2014-03-10 00:39:15 +01:00 |
|
Florian Bruhin
|
ce07baa901
|
Fix mainname bug
|
2014-03-10 00:39:15 +01:00 |
|
Florian Bruhin
|
ef8723d246
|
Remove parsers from cmdutils.
|
2014-03-10 00:39:15 +01:00 |
|
Florian Bruhin
|
df26d4ad91
|
Completion pattern update
|
2014-03-10 00:39:15 +01:00 |
|
Florian Bruhin
|
ecf405c7af
|
Set source model properly
|
2014-03-10 00:39:15 +01:00 |
|