Commit Graph

12385 Commits

Author SHA1 Message Date
Florian Bruhin
47c3866f51 Change default config handling.
Now the default config only gets applied (and written to disk) when no
config file doesn't exist yet.
2014-01-22 16:52:35 +01:00
Florian Bruhin
97c6d9f1c9 Don't freak out if no keybind section exists 2014-01-22 16:43:24 +01:00
Florian Bruhin
bdd42a5413 Merge branch 'master' of ssh://lupin/qutebrowser 2014-01-22 08:55:15 +01:00
Florian Bruhin
dca4f8de68 Remove implemented stuff from dwb in TODO 2014-01-22 08:53:42 +01:00
Florian Bruhin
2f65d99d73 TODO update 2014-01-22 08:51:02 +01:00
Florian Bruhin
bf33836dcf Remove QCompleter from statusbar.text 2014-01-21 18:02:07 +01:00
Florian Bruhin
bcd4273672 Split statusbar into multiple files 2014-01-21 17:54:21 +01:00
Florian Bruhin
f87e9c3546 Move CmdValidator out of StatusCommand, add CmdCompleter example 2014-01-21 17:44:50 +01:00
Florian Bruhin
d56344f46a Move some things from x.foo.foo to x.foo (__init__.py) 2014-01-21 15:46:41 +01:00
Florian Bruhin
d18162d902 History fixes 2014-01-21 12:06:23 +01:00
Florian Bruhin
06b1683033 Add colon in set_cmd 2014-01-21 12:01:28 +01:00
Florian Bruhin
133e4c4b61 Improve history
Also adds partial history completion, like zsh
2014-01-21 11:59:01 +01:00
Florian Bruhin
485c7a6316 Implement command history 2014-01-21 11:32:56 +01:00
Florian Bruhin
ca86eea4ae Handle up/down/tab keypresses in StatusCommand 2014-01-21 11:00:52 +01:00
Florian Bruhin
7e3144964e Simplify/cleanup stylesheets and statusbar 2014-01-21 10:48:03 +01:00
Florian Bruhin
b14070845c Use scroll bars and their values for percentage.
For both gg/G and the statusbar indicator, we now use scrollBarValue()
instead of scrollPosition(). This makes a lot of things easier, but
unfortunately this also means we need to have visible scrollbars.
2014-01-21 10:15:25 +01:00
Florian Bruhin
d03f23979d Fix typo 2014-01-21 09:39:30 +01:00
Florian Bruhin
690ff68a99 Add FIXME 2014-01-21 09:07:12 +01:00
Florian Bruhin
8da88f67d0 Set window title 2014-01-21 09:05:31 +01:00
Florian Bruhin
621839dc17 First attempt at a scrolling indicator 2014-01-21 08:37:21 +01:00
Florian Bruhin
373b22690d Add missing config.py 2014-01-21 07:33:54 +01:00
Florian Bruhin
fdf765b267 Implement ScrollPercent{X,Y}, gg and G with count 2014-01-20 17:59:27 +01:00
Florian Bruhin
ac570be7aa Catch ValueError when parsing commands from keybindings 2014-01-20 17:52:39 +01:00
Florian Bruhin
5644eb94a4 Update TODO 2014-01-20 17:36:15 +01:00
Florian Bruhin
5c8043a275 Add aliases for commands 2014-01-20 17:32:04 +01:00
Florian Bruhin
1373b4dab2 Use multiple CommandParser instances 2014-01-20 17:20:17 +01:00
Florian Bruhin
46e846afb9 Add FIXME 2014-01-20 17:05:56 +01:00
Florian Bruhin
5fce707bb2 Replace scroll{up,down,left,right} by scroll cmd 2014-01-20 17:05:47 +01:00
Florian Bruhin
1a6907b4b0 Refactor command/key handling again 2014-01-20 17:01:15 +01:00
Florian Bruhin
1095e24f98 Refactor ALL the things
- Remove super() where unneeded
 - Add docstrings where applicable
 - Remove setObjectName calls
 - Lots and lots of smaller changes
2014-01-20 15:58:49 +01:00
Florian Bruhin
dfe7d6c7ef Add some hacks for python features (exception, signals, ctrl+c) to work correctly 2014-01-20 14:04:29 +01:00
Florian Bruhin
e73d06c252 Fix quitting 2014-01-20 13:50:33 +01:00
Florian Bruhin
7ed257467b Start implementing config storage 2014-01-20 12:26:02 +01:00
Florian Bruhin
da7a95d6ec Remove usersettings.py again
it's approach is too unflexible for my taste, e.g. I want to be able to
use config sections.
2014-01-20 11:44:43 +01:00
Florian Bruhin
930f84906e Adopt appdirs/usersettings for py3 and qutebrowser 2014-01-20 11:33:47 +01:00
Florian Bruhin
97c2e7aae9 Add usersettings.py
source: https://github.com/glvnst/usersettings
2014-01-20 11:23:48 +01:00
Florian Bruhin
a59535c79c Add appdirs.py
source: https://github.com/ActiveState/appdirs
2014-01-20 11:23:18 +01:00
Florian Bruhin
646ad5efd4 Refactor partial matching in KeyParser._handle() 2014-01-20 09:09:57 +01:00
Florian Bruhin
8d8cc25344 Add FIXME for cmd parsing IndexError 2014-01-20 08:58:56 +01:00
Florian Bruhin
a18f3f5aa5 Fix tab title when webpage has no title 2014-01-20 08:58:49 +01:00
Florian Bruhin
7341193cf0 More FIXME 2014-01-20 08:42:08 +01:00
Florian Bruhin
b5527c834b Add a FIXME for ambigious keys 2014-01-20 08:38:15 +01:00
Florian Bruhin
35dffad869 Fix parsing of single args 2014-01-20 08:36:36 +01:00
Florian Bruhin
044d24903c Add TODO 2014-01-20 07:15:05 +01:00
Florian Bruhin
6acac5cb71 Display keystring in statusbar 2014-01-20 07:01:39 +01:00
Florian Bruhin
289f08f7a7 Start statusbar text widget system 2014-01-20 06:52:41 +01:00
Florian Bruhin
d635cbd3fd Fix shlex parsing 2014-01-20 06:51:59 +01:00
Florian Bruhin
fd9ab82e8b Add :pyeval 2014-01-19 23:54:22 +01:00
Florian Bruhin
bd28c00cf1 Use shlex to split command args, add split_args property 2014-01-19 23:33:13 +01:00
Florian Bruhin
2d8fd4499d Simplify command handler 2014-01-19 23:03:06 +01:00