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
Florian Bruhin
1e8cb42c00
Rewrite whole command system.
...
Every command signal now returns a tuple (count, args) and gets handled
in app.py by cmd_handler. This makes things easier in a lot of places.
2014-01-19 22:55:00 +01:00
Florian Bruhin
114c2c01d3
First broken attempt at implementing count
2014-01-19 22:25:54 +01:00
Florian Bruhin
bf99519046
More key refactoring
2014-01-19 20:45:01 +01:00
Florian Bruhin
a6aa95cba8
Clean up esc pressing in statusbar
2014-01-19 20:20:35 +01:00
Florian Bruhin
90cbf5362f
Don't always clear status cmd text on focusOut
2014-01-19 20:17:51 +01:00
Florian Bruhin
014f73a2dd
Remove esc FIXME
...
We can't do anything about this, see
https://bugreports.qt-project.org/browse/QTBUG-31527
2014-01-19 20:14:33 +01:00
Florian Bruhin
fb54eb58c1
Start reworking key parsing
2014-01-19 19:41:34 +01:00
Florian Bruhin
3fa18c5599
Remove all the pyqtSlot decorators
2014-01-19 18:45:14 +01:00
Florian Bruhin
bba3696630
commands: Implement scrollstart and scrollend
2014-01-19 18:43:47 +01:00