Florian Bruhin
81c65dbe97
Handle title changes correctly
2014-02-05 15:17:58 +01:00
Florian Bruhin
43edb7bb9b
Debug logging for qurl handling, handle about: correctly
2014-02-05 15:17:29 +01:00
Florian Bruhin
14288977d1
Use functools instead of lambda for _filter_signals
2014-02-05 14:21:55 +01:00
Florian Bruhin
81da8b6aaa
Introduce the concept of a signal cache in browser.
...
The latest cur_* signal emitted by each tab will be re-emitted now when
this tab gets the focus. This should fix the problem with stale data in
the statusbar.
2014-02-05 14:01:16 +01:00
Florian Bruhin
31707a7dd4
Add --debug argument
2014-02-05 12:46:35 +01:00
Florian Bruhin
fc7caee370
Crash more reliably (lol'd)
2014-02-05 11:40:30 +01:00
Florian Bruhin
888c1690de
Add FIXME in _handle_single_key
2014-02-05 11:20:33 +01:00
Florian Bruhin
43c2e21daa
Avoid code duplication in KeyParser
2014-02-05 11:08:11 +01:00
Florian Bruhin
9c19fd21d6
Implement handling keys with modifiers
2014-02-05 10:54:56 +01:00
Florian Bruhin
630ff1cbf6
Remove obsolete desc from docstring
2014-02-05 08:35:00 +01:00
Florian Bruhin
1f6ae3e0ed
Add possible workaround for model invalidate().
2014-02-04 20:59:39 +01:00
Florian Bruhin
a0bcfe1960
Add FIXME for self.invalidate()
2014-02-04 18:46:33 +01:00
Florian Bruhin
49a3b57544
Fix checks
2014-02-04 18:44:32 +01:00
Florian Bruhin
89bd255be1
Set _pattern (not pattern) in filter model __init__
2014-02-04 18:37:54 +01:00
Florian Bruhin
109522e43f
Save sourceModel().
2014-02-04 18:37:35 +01:00
Florian Bruhin
c32ba2f2c8
Only invalidate filter after filtering.
...
This might avoid some odd segfaults, but it also means sorting won't
work properly.
2014-02-04 13:32:22 +01:00
Florian Bruhin
1f59a00808
Change how resorting is done.
...
This avoids the pattern_changed signal and does the resorting in the
model directly (where it belongs) instead.
2014-02-04 13:19:55 +01:00
Florian Bruhin
3a3a63c000
Avoid using internalPointer in CompletionModel.
...
This maybe fixes these weird segfaults.
Based on:
http://python.6.x6.nabble.com/segfault-when-using-a-proxy-and-SIGNAL-quot-clicked-QModelIndex-quot-td1921384.html
2014-02-04 11:05:34 +01:00
Florian Bruhin
bf6290cfc8
Merge branch 'master' of ssh://the-compiler.org:2323/qutebrowser
2014-02-04 07:52:04 +01:00
Florian Bruhin
0adf8d6b53
Call resizeEvent before resizing column for completion
2014-02-01 22:03:06 +01:00
Florian Bruhin
b6126a49a9
Maybe fix completion resize, add debugging.
2014-02-01 21:03:06 +01:00
Florian Bruhin
ef5d034278
Support -c '' again
2014-02-01 20:55:37 +01:00
Florian Bruhin
c4edc6f5da
Make sure to save config on crash
2014-01-31 15:58:14 +01:00
Florian Bruhin
85646af2d0
Show webkit version in version info
2014-01-31 15:54:12 +01:00
Florian Bruhin
0cbb574ced
Refactor crashdialog setText
2014-01-31 10:30:18 +01:00
Florian Bruhin
89738bce7d
Improve crash dialog
2014-01-31 10:24:00 +01:00
Florian Bruhin
7cde8f00cb
Set MainWindow size on start
2014-01-31 10:11:59 +01:00
Florian Bruhin
053ce35032
Hopefully sane default config handling.
...
This now reads the values from the config, and from a default config if
it's not overridden.
2014-01-30 23:05:39 +01:00
Florian Bruhin
a6db387ef7
Make tabs movable
2014-01-30 22:29:26 +01:00
Florian Bruhin
725106e8ff
Add FIXME for settings to tabbar.py
2014-01-30 22:29:13 +01:00
Florian Bruhin
06c8f2d03a
Set sensible sizePolicies everywhere
2014-01-30 22:29:01 +01:00
Florian Bruhin
5366186dd1
Small CrashDialog improvements
2014-01-30 21:32:31 +01:00
Florian Bruhin
2c276b98a4
Handle exceptions with a crash dialog.
2014-01-30 21:22:56 +01:00
Florian Bruhin
a71684ea0f
Add version() to utils to get version/about infos
2014-01-30 21:11:30 +01:00
Florian Bruhin
c3ce167926
Allow commands/URLs to be passed as arguments.
2014-01-30 21:11:30 +01:00
Florian Bruhin
c6b21b27b5
Fix statusbar sizing
2014-01-30 21:08:01 +01:00
Florian Bruhin
49803b051e
Add :crash command
2014-01-30 14:58:32 +01:00
Florian Bruhin
ee9d8e74be
Implement ignorecase/wrapsearch settings.
2014-01-30 12:03:34 +01:00
Florian Bruhin
7a2a7ab709
Reset search on new search
2014-01-30 11:53:58 +01:00
Florian Bruhin
53861306ff
Don't choke on empty command string
2014-01-30 11:51:56 +01:00
Florian Bruhin
330332da6d
Use string for default config
2014-01-30 08:25:49 +01:00
Florian Bruhin
143dba4461
Fix harfbuzz issues by setting QT_HARFBUZZ=old
2014-01-30 04:56:16 +01:00
Florian Bruhin
b158cd78b5
Allow non-None default for count
2014-01-30 07:08:45 +01:00
Florian Bruhin
85c44ed78c
Implement count everywhere
2014-01-30 07:05:17 +01:00
Florian Bruhin
58103fa7e4
Implement yank/paste
2014-01-30 00:29:46 +01:00
Florian Bruhin
18c68ce74e
Implement searching
2014-01-29 21:06:56 +01:00
Florian Bruhin
c0f01d9219
Allow other chars than : to be used for commandline
2014-01-29 20:25:41 +01:00
Florian Bruhin
6445410c2a
Set progress bar color to normal if loading okay
2014-01-29 15:50:15 +01:00
Florian Bruhin
293ebc8d46
Add some asserts
2014-01-29 15:45:10 +01:00
Florian Bruhin
e56099e0ec
Docstringify ALL the things
2014-01-29 15:30:19 +01:00
Florian Bruhin
46660b11ef
Refactor CompletionView
2014-01-29 09:14:37 +01:00
Florian Bruhin
a8f9137fc8
Simple cleanups in widgets.completion
2014-01-29 09:07:04 +01:00
Florian Bruhin
7d4c02d301
Add docstrings to widgets.completion
2014-01-29 09:06:38 +01:00
Florian Bruhin
d83b98ecc0
More pylint fixes
2014-01-29 08:36:44 +01:00
Florian Bruhin
8870882edd
Shut up, pylint
2014-01-29 04:25:46 +01:00
Florian Bruhin
59a19db9a2
Add __init__.py
2014-01-29 04:24:37 +01:00
Florian Bruhin
696362a0f6
Use docstrings instead of desc for command classes
2014-01-29 04:20:54 +01:00
Florian Bruhin
201e8f7c46
docstrings++
2014-01-29 04:07:27 +01:00
Florian Bruhin
06ad500964
Refactor CompletionItemDelegate a bit
2014-01-29 06:36:13 +01:00
Florian Bruhin
8dcdae00b9
Refactor command handling file layout
2014-01-29 06:30:00 +01:00
Florian Bruhin
f5af700f1c
Refactor CommandParser
2014-01-29 06:18:01 +01:00
Florian Bruhin
6f3a2448ba
pep8 fixes
2014-01-28 23:12:44 +01:00
Florian Bruhin
a69e6d01fd
CRLF hell for simplebrowser.py
2014-01-28 22:39:52 +01:00
Florian Bruhin
f059bf0b3d
some pylint fixes
2014-01-28 19:52:09 +01:00
Florian Bruhin
80feee323f
Fix long lines
2014-01-28 17:33:48 +01:00
Florian Bruhin
eeb33a3e10
Remove semicolon
2014-01-28 17:30:37 +01:00
Florian Bruhin
9f25f049b8
Remove stylesheet debug output
2014-01-28 16:25:46 +01:00
Florian Bruhin
3c016de687
Scroll on space press
2014-01-28 16:13:26 +01:00
Florian Bruhin
7d8fdec1fd
Fix exception hook
2014-01-28 16:13:13 +01:00
Florian Bruhin
299b887531
Add simplebrowser.py
2014-01-28 15:58:37 +01:00
Florian Bruhin
a907e913dd
More monospace fonts
2014-01-28 15:20:58 +01:00
Florian Bruhin
1bede88b62
Better exception handling
2014-01-28 14:44:12 +01:00
Florian Bruhin
9e24731d9a
Don't tabcomplete if it's impossible
2014-01-28 13:23:08 +01:00
Florian Bruhin
fb84bdb55c
Fix color configuration bugs
2014-01-28 13:03:15 +01:00
Florian Bruhin
9c209c0cdd
Allow completion to be disabled
2014-01-28 12:59:38 +01:00
Florian Bruhin
9bf7dd2bbb
Make colors configurable
2014-01-28 12:24:08 +01:00
Florian Bruhin
429d4a6814
Open new tab on Ctrl+click
2014-01-28 08:22:49 +01:00
Florian Bruhin
16645768e6
completion: clean up tab handler
2014-01-28 08:16:31 +01:00
Florian Bruhin
64a1aa5edf
Move TODO out of module
2014-01-28 07:54:25 +01:00
Florian Bruhin
2480f13106
completion: Mark in red, not blue
2014-01-28 07:53:52 +01:00
Florian Bruhin
9d42bfa7cb
Remove old FIXME
2014-01-28 07:53:21 +01:00
Florian Bruhin
69e972e275
completion: Only mark in first column
2014-01-28 07:53:05 +01:00
Florian Bruhin
5027930018
Add FIXME for statusBarMessage
2014-01-28 07:18:09 +01:00
Florian Bruhin
b351fdf477
Handle statusBarMessage from WebView
2014-01-28 07:16:33 +01:00
Florian Bruhin
5df27e36a0
Set statusbar to 0% on loadStarted
2014-01-28 07:07:53 +01:00
Florian Bruhin
9ac3f51db2
Color statusbar red on failed load
2014-01-28 06:59:35 +01:00
Florian Bruhin
b83bf4e238
Rename scrollpercent{x,y}
2014-01-28 06:52:59 +01:00
Florian Bruhin
981aab8e7d
Update command docstring
2014-01-28 06:45:38 +01:00
Florian Bruhin
c2ee83cb48
Add descriptions to commands
2014-01-28 06:37:56 +01:00
Florian Bruhin
480cf787b2
Hide internal commands
2014-01-28 06:22:09 +01:00
Florian Bruhin
4d2a8a7102
Fix config location
2014-01-28 06:10:41 +01:00
Florian Bruhin
1e636eaba2
Add missing utils module
2014-01-27 23:19:03 +01:00
Florian Bruhin
801bfcaab5
Tabbar style improvement
2014-01-27 23:12:43 +01:00
Florian Bruhin
adb0644674
Use QUrls everywhere in browser.py
2014-01-27 23:07:00 +01:00
Florian Bruhin
b4cfb7dbf2
Try to handle middle clicks
2014-01-27 22:55:58 +01:00
Florian Bruhin
90180509a2
Fix invalid argument count error
2014-01-27 22:32:22 +01:00
Florian Bruhin
3e47c89bac
Sort items correctly
2014-01-27 22:18:12 +01:00
Florian Bruhin
7a549b38a4
Aaaargh, CRLFs
2014-01-27 21:42:00 +01:00
Florian Bruhin
f2223064b3
Merge completion branch
...
Squashed commit of the following:
commit 8bbf7242e7ae3168a0e8652ad643c7c1fe8670d3
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 21:34:35 2014 +0100
foo
commit cc9a4eed6e7ca9599bcc40b40f43614040711714
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 21:33:09 2014 +0100
fixes
commit b84c9207f8596dac0f47bf72cd178f8e3ee9ebb7
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 21:27:48 2014 +0100
Make titles bold
commit d2ef899f90036b05856deb178e61de5d961e1342
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 21:18:01 2014 +0100
Make tab work properly
commit ccc407093e39f1964c8e3ff2900c66b28dc7fe56
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 16:19:57 2014 +0100
Add FIXME, remove showhide
commit cbe6d0a2b0614df839c75f1815f939c11e4ae3ba
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 16:12:55 2014 +0100
Use stylesheet for highlight
commit 7eeb6e79f17bc8e7ccc1ec90f474d1c2b1c01c1e
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 16:01:50 2014 +0100
Make highlighting work
commit 4fed5b9f7291109fd1c669c61501861223364b7d
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 17:49:30 2014 +0100
First attempt at marking
commit 27a3bda214b7fc7741b4c12d723ccdf4073c0d5e
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 17:14:48 2014 +0100
Funny broken marking
commit 2798cf75dd295ace2a33295e9a64dd373b7fd669
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 16:25:36 2014 +0100
Make completion and filtering work
commit b213d9724bc9f4bb36204bd1b2c4aaf62a454e11
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 16:07:14 2014 +0100
Implement dynamic source models
commit c7951e6b4346a1702509bea6d3694cc50550c9ed
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 14:44:31 2014 +0100
Add custom filtering
commit 37b100f3a1a1f5a90592e34b268c08df684b0df9
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 14:43:57 2014 +0100
Add default roles in model
commit 1610423c1dd36c0adc35743a38e2c3a81f3641ef
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 14:43:36 2014 +0100
Remove dataChanged
commit 467712630b00a9ca2407903bdba977b5e66dd2bc
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 13:57:18 2014 +0100
Fix stuff
commit 00bb46e0ef46b9ae61652bde3ae10d3252263e46
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 11:51:34 2014 +0100
First attempt at a real CommandCompletionModel
commit a8be022f80d7d35049d1ae3d8431702e7a407698
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 10:25:48 2014 +0100
Adapt completion view to size
commit ad6bf69a4257880ce14b0590bcb5381c718bb744
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 09:17:48 2014 +0100
Fix stuff
commit 41c1fbfa942bab0a1a0db35f6b745b691c774b22
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 09:16:09 2014 +0100
Hide CompletionView by default
commit 2ac8596dada6c7e079807bfd698377a9d3ffd0af
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 09:13:11 2014 +0100
File shuffling
commit f0c85d5bee30095324be354934f3379c1c6a5291
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 09:04:29 2014 +0100
Cleanup, don't show completionview
commit 177ac97acb2d611992869f122669d95a8dadcdbb
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 07:16:37 2014 +0100
Add FIXME for eliding
commit 6b234c58928e9a231ec35e5080a27d7a8affebc4
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 07:12:55 2014 +0100
Add TextOption to TextDocument
commit 195e95459b54bbdb0545cb0e4db417ab641cea28
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 07:01:41 2014 +0100
Resize QTreeView contents based on window size
commit 05b854bc812f0aabf5c6dcbdfa1dfd74ea495170
Author: Florian Bruhin <git@the-compiler.org>
Date: Sun Jan 26 01:19:28 2014 +0100
Split files
commit ff433b561179a562494c7d3558336a917edc497f
Author: Florian Bruhin <git@the-compiler.org>
Date: Sun Jan 26 00:57:18 2014 +0100
cleanup
commit bdb17de2fee65411b4dd1d0ad449329f0586f1e0
Author: Florian Bruhin <git@the-compiler.org>
Date: Sun Jan 26 00:15:17 2014 +0100
Make text drawing work properly
commit d844152074738df88ed79c2e1efc4eec4b6e5734
Author: Florian Bruhin <git@the-compiler.org>
Date: Sat Jan 25 14:03:16 2014 +0100
Split painting into functions
commit 585a9f6931a407117c4232ac14844d33233922f8
Author: Florian Bruhin <git@the-compiler.org>
Date: Sat Jan 25 13:50:52 2014 +0100
Use QTextDocument, things are getting better
commit 96fef2114e68766590ed33fa92c6f2bbac8adb11
Author: Florian Bruhin <git@the-compiler.org>
Date: Sat Jan 25 13:08:58 2014 +0100
Failed try to reimplement painting
commit d967285f24a7966674c8685e9e276e560e9cc066
Author: Florian Bruhin <git@the-compiler.org>
Date: Sat Jan 25 11:15:07 2014 +0100
Try drawing over text
commit 2687d891cc2f1ecd00cace78492cbffc745d9e5b
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 23:06:44 2014 +0100
First try at implementing delegate
commit c8bada0c7607df936df04b9c7796a03cc2e1a71a
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 19:59:14 2014 +0100
Don't allow categories to be selected
commit 6b56df5a0e2588d89d757f583070dd2ca78a6e15
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 19:53:36 2014 +0100
Add outline:0 to TreeView
commit 534ba6e191e711cc7abeea78c3bf470e9eaf0bfd
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 17:57:57 2014 +0100
More styling
commit 065d40c24d2746f49660485700e3e6327b28810d
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 17:47:40 2014 +0100
Add more commands, more styling for TreeView
commit 2362d01db40bbc923a51a8bc53ffbabfd18ebea0
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 16:50:31 2014 +0100
Adjust super()
commit 43ebedff6724af0f217acc14a325febd12c4ed0b
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 16:50:20 2014 +0100
Style CompletionView
commit 79c1010cf54bd8a3c3f4b2b4a9f97d8ae7d603fb
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 13:06:12 2014 +0100
Completion refactoring
Clean up imports
Whitespace
Make items non-editable
Rename nodeToIndex()
Return QVariant() instead of None
Remove comments
Don't inherit TreeItem from object
Get rid of getValue
Get rid of child()
Get rid of childCount
Remove appendChild
Get rid of columnCount
Get rid of parent()
Renames
Refactor if
Simplify columnCount
Minor fixups
commit a7a6b95f56a87ef03359ec5f9e5d45a906112845
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 13:04:28 2014 +0100
Split completion out of command.py
commit cd1c6419ff4034a29a1b48c4ed6ca292944f5674
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Jan 23 17:53:37 2014 +0100
Fix
commit 7073edea92ff8384535f5db80c01168bb8462e75
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Jan 23 17:28:03 2014 +0100
More attempts
commit 7dc522667ba52e9b7f20b3b66e977d23258a3ff4
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Jan 23 16:56:01 2014 +0100
Get rid of parent in setupModelData
commit 5df4874e14818399494f3a47f7feea8b9f86cf69
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Jan 23 16:51:52 2014 +0100
First model/view experiments
2014-01-27 21:35:12 +01:00
Florian Bruhin
7284b21be7
Add FIXME
2014-01-24 12:57:02 +01:00
Florian Bruhin
226adac899
Rename parse_check_run to run in CommandParser
2014-01-22 17:31:15 +01:00
Florian Bruhin
8e71f0cb8c
Use commandparser.parse_check_run() for keys.py
2014-01-22 17:25:47 +01:00
Florian Bruhin
7c33bffdb2
Act correctly when -c is used with empty argument
2014-01-22 17:25:19 +01:00
Florian Bruhin
0d6f76b256
Remove TODO item for config parsing
2014-01-22 17:04:45 +01:00
Florian Bruhin
97588db71b
Add -c argument, don't init config if -c ''
2014-01-22 17:04:10 +01:00
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
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
Florian Bruhin
8ca98da6c4
commands: Add debug output when command is called
2014-01-19 18:43:34 +01:00
Florian Bruhin
9f9f5c41f7
Refactor app.py
2014-01-19 18:20:57 +01:00
Florian Bruhin
0dd204b182
Implement scroll{left,right}
2014-01-19 17:45:03 +01:00
Florian Bruhin
4a95745b71
webview: Turn off scrollbars
2014-01-19 17:39:06 +01:00
Florian Bruhin
26a22d498a
Hide progress bar at prog=100%
2014-01-19 17:34:07 +01:00
Florian Bruhin
f816e27c77
Refactor error display/clearing
2014-01-19 17:30:31 +01:00
Florian Bruhin
50b5f84f1d
Add TODO
2014-01-19 17:18:46 +01:00
Florian Bruhin
5bab3aa79d
tab bar: make font smaller
2014-01-19 17:08:45 +01:00
Florian Bruhin
457c422f5d
tabbar: elide text
2014-01-19 16:56:33 +01:00
Florian Bruhin
ee3eedbfb5
status: Hide progress bar when finished loading
2014-01-19 16:56:19 +01:00
Florian Bruhin
0100dcf119
Style progress bar
2014-01-19 16:25:33 +01:00
Florian Bruhin
e1934929b1
Fix progress bar
2014-01-19 15:35:48 +01:00
Florian Bruhin
f96d420619
Add broken progress bar
2014-01-18 00:02:53 +01:00
Florian Bruhin
d500c8b9dd
Get rid of tabs list
2014-01-17 23:22:49 +01:00
Florian Bruhin
ff938fc0d5
Add undo command
2014-01-17 23:17:24 +01:00
Florian Bruhin
321c00bbfb
Set title correctly
2014-01-17 22:57:00 +01:00
Florian Bruhin
022fc7aa4e
Add scrolling commands
2014-01-17 22:02:11 +01:00
Florian Bruhin
ff855d6ded
Add commands reload/stop/back/forward/print
2014-01-17 21:51:38 +01:00
Florian Bruhin
1b08b88b2b
Move signal filtering to generic function
2014-01-17 21:31:14 +01:00
Florian Bruhin
09467abe7e
Log progress changes
2014-01-17 20:29:20 +01:00
Florian Bruhin
dfcba88179
Emit progress_changed in tab init
2014-01-17 20:29:07 +01:00
Florian Bruhin
7cdad8e30d
Fix esc key
2014-01-17 20:22:50 +01:00
Florian Bruhin
5efa56c5bb
Add logging
2014-01-17 20:03:21 +01:00
Florian Bruhin
2b84768902
Remove debug output
2014-01-17 19:42:33 +01:00
Florian Bruhin
294c5fa138
Update cur_progress on tab switch
2014-01-17 13:16:13 +01:00
Florian Bruhin
688b22eaac
Move progress handling to TabbedBrowser
2014-01-17 13:08:44 +01:00
Florian Bruhin
c0320a911b
First implementation of a progress bar
2014-01-17 12:24:38 +01:00
Florian Bruhin
3a76d52ffb
Move keys.py to commands
2014-01-17 12:01:21 +01:00
Florian Bruhin
b14f3f63c5
Fix empty command handling
2014-01-17 12:00:13 +01:00
Florian Bruhin
4e9527fb4c
More fixups
2014-01-17 11:55:16 +01:00
Florian Bruhin
df48208524
tolower() -> lower()
2014-01-17 11:29:06 +01:00
Florian Bruhin
6e700ba4ad
Fix inspect namespacing
2014-01-17 11:28:46 +01:00
Florian Bruhin
f61debd2f4
Fix circular import
2014-01-17 11:28:35 +01:00
Florian Bruhin
04140d9777
Remove explicit command name
2014-01-17 11:14:19 +01:00
Florian Bruhin
61c90f293c
Split commands to commands/utils
2014-01-17 10:57:27 +01:00
Florian Bruhin
bcc2fa9653
Move browser to widgets
2014-01-17 10:43:50 +01:00
Florian Bruhin
9a20d60c13
Add tab{prev,next} command
2014-01-17 08:39:14 +01:00
Florian Bruhin
c392993c79
Don't close last tab
2014-01-17 08:28:04 +01:00
Florian Bruhin
26df5a8076
Add monospace font for Windows
2014-01-17 08:26:45 +01:00
Florian Bruhin
517fcb02ab
Add defaults for signal emitting
2014-01-17 08:12:28 +01:00
Florian Bruhin
19d8202b01
Default to argv=None for commands
2014-01-17 08:11:29 +01:00
Florian Bruhin
928bdbe160
Add tabclose command
2014-01-17 08:03:42 +01:00
Florian Bruhin
ad52436875
Immediately run cmds without args in keyhandler
2014-01-17 07:56:30 +01:00
Florian Bruhin
08207d6f9d
Handle focus loss for cmd bar
2014-01-17 07:18:48 +01:00
Florian Bruhin
7d285fa5a3
Add keys to MainWindow, not to tabs
2014-01-17 07:08:56 +01:00
Florian Bruhin
020d079b85
Add error for invalid arg count
2014-01-17 07:06:49 +01:00
Florian Bruhin
cb0c2604f3
Display error on unknown command
2014-01-17 07:04:24 +01:00
Florian Bruhin
837f53edea
Add empty command
2014-01-17 06:56:18 +01:00
Florian Bruhin
746e7a90ad
Add keybindings
2014-01-17 06:51:21 +01:00
Florian Bruhin
6eaf719298
Set keyboard focus after command
2014-01-16 21:59:50 +01:00
Florian Bruhin
a691cc10af
Enforce : in status bar command
2014-01-16 21:42:46 +01:00
Florian Bruhin
1736eb20c8
Fix command argument handling
2014-01-16 16:05:31 +01:00
Florian Bruhin
8f9bfb02c3
Fix typo
2014-01-16 16:00:25 +01:00
Florian Bruhin
7c9b6bdbde
Use objects in cmd_dict
2014-01-16 15:59:57 +01:00
Florian Bruhin
1d88bb7c9c
Connect signals properly
2014-01-16 15:55:52 +01:00
Florian Bruhin
0250f61b8a
Import pyqtsignal in statusbar.py
2014-01-16 15:55:44 +01:00
Florian Bruhin
857228e4f2
Refactor commandline parsing
2014-01-16 17:49:57 +01:00
Florian Bruhin
7c866f5014
Add quit command
2014-01-16 17:45:12 +01:00
Florian Bruhin
ef9a5d569e
Check argument count
2014-01-16 17:34:45 +01:00
Florian Bruhin
bc6d7fee25
Rewrite command parsing
2014-01-16 17:12:55 +01:00
Florian Bruhin
64568de851
Add commands.py
2013-12-16 22:07:22 +01:00
Florian Bruhin
ea31eb35c8
Add tabopen
2013-12-16 22:07:11 +01:00
Florian Bruhin
e31e15b34a
Add open command
2013-12-16 22:01:06 +01:00
Florian Bruhin
1b759512bb
Remove test tabs
2013-12-15 22:24:47 +01:00
Florian Bruhin
f0c9977fa4
Add actual browser
2013-12-15 21:40:15 +01:00
Florian Bruhin
fbe968af73
Move main window logic to mainwindow.py
2013-12-15 20:33:43 +01:00
Florian Bruhin
ae516f3f73
Split widgets to different files
2013-12-15 20:29:39 +01:00
Florian Bruhin
7bd7c4d84d
Use monospace font for tab bar
2013-12-15 20:20:29 +01:00
Florian Bruhin
768622d294
Set document mode to true for tabbar
2013-12-15 20:18:40 +01:00
Florian Bruhin
bc59d7697e
Own TabWidget object
2013-12-15 00:39:28 +01:00
Florian Bruhin
06506e5e48
Statusbar styling
2013-12-15 00:01:05 +01:00
Florian Bruhin
2461d74647
Layout changes
2013-12-14 23:25:59 +01:00
Florian Bruhin
ae08f0e33a
First real layout
2013-12-14 22:53:37 +01:00
Florian Bruhin
11a94957dc
Initial commit
2013-12-14 22:15:16 +01:00