Florian Bruhin
b75fc347dc
Fix checks
2014-03-03 21:19:29 +01:00
Florian Bruhin
508d9e347c
Swap q/quit for quit command
2014-03-03 21:11:02 +01:00
Florian Bruhin
af0b6901be
First kinda working version
2014-03-03 21:06:10 +01:00
Florian Bruhin
97ae3adb4a
Working towards using getattr instead
2014-03-03 18:47:42 +01:00
Florian Bruhin
032ccb8b43
Try some broken component register foo
2014-03-03 17:56:53 +01:00
Florian Bruhin
b22b19d881
Start using (broken) decorators
2014-03-03 06:09:23 +01:00
Florian Bruhin
2df9b57981
Continue developing register_command decorator
2014-02-28 17:55:17 +01:00
Florian Bruhin
dcc3993091
Start implementing decorator
2014-02-28 17:00:25 +01:00
Florian Bruhin
d4df78b75f
Add settrace command
2014-02-26 22:29:53 +01:00
Florian Bruhin
66852aa736
Add FIXME for CompletionItemDelegate
2014-02-26 21:54:24 +01:00
Florian Bruhin
a9a4b2ac92
Add profile.py
2014-02-26 21:18:53 +01:00
Florian Bruhin
4925d25c36
Remove wrong 'cur.' for BrowserTab
2014-02-24 17:37:48 +01:00
Florian Bruhin
ad29867aa6
Remove unneccessary style globals
2014-02-23 18:20:24 +01:00
Florian Bruhin
76a627bb10
Move style related stuff to config.style
2014-02-23 18:15:08 +01:00
Florian Bruhin
3b648a4c0d
Move config to config subfolder
2014-02-23 18:14:40 +01:00
Florian Bruhin
0bfe134828
Add first tests (for NeighborList)
2014-02-23 17:39:45 +01:00
Florian Bruhin
7da05b3fb9
Raise better error in NeighborList.curitem if no index is set
2014-02-23 17:39:29 +01:00
Florian Bruhin
b59f0e9a34
Rename types.py to usertypes.py
2014-02-23 16:30:07 +01:00
Florian Bruhin
5f78b96cb1
Move cur_* methods for TabbedBrowser to CurCommandDispatcher class
2014-02-21 22:00:41 +01:00
Florian Bruhin
b8b0d81ab3
Add command aliases
2014-02-21 20:19:01 +01:00
Florian Bruhin
42bac07e6b
Whitespace adjustments
2014-02-21 20:07:40 +01:00
Florian Bruhin
e47d13d725
Fix initial tab opening
2014-02-21 20:06:42 +01:00
Florian Bruhin
5d32df1d54
Add :version command
2014-02-21 20:00:02 +01:00
Florian Bruhin
257e6cd67d
QuteSchemeHandler cleanup
2014-02-21 19:51:04 +01:00
Florian Bruhin
a96261e7b8
Cleanup
2014-02-21 19:44:46 +01:00
Florian Bruhin
d975ec080d
Add isFinished method to schemehandler
2014-02-21 19:24:58 +01:00
Florian Bruhin
61060f0796
Use singleShot QTimers for signals (FIXME: good?)
2014-02-21 07:39:21 +01:00
Florian Bruhin
51616937b8
Use python bytes instead of QByteArray methods.
2014-02-21 07:38:37 +01:00
Florian Bruhin
435f1f45e0
Emit finished at the right places.
2014-02-21 07:37:47 +01:00
Florian Bruhin
29c84f4f20
Add logging to custom requests.
2014-02-21 07:35:53 +01:00
Florian Bruhin
daa3808b7f
Spelling fix in comment.
2014-02-21 07:34:49 +01:00
Florian Bruhin
aeb7e0c762
Don't default outgoingData to None
2014-02-21 07:34:21 +01:00
Florian Bruhin
bcd5120922
FIXME: Only destroy replies when they're not special.
...
Why does a normal destroy not work?
2014-02-21 07:33:32 +01:00
Florian Bruhin
bd6d2e6156
Store instances as scheme handlers, not classes.
2014-02-21 07:18:22 +01:00
Florian Bruhin
90e56e6477
Rename about:... to qute:...
2014-02-21 07:18:04 +01:00
Florian Bruhin
38ef8fe8c7
First attempt at proper AboutSchemeHandler
2014-02-20 23:08:27 +01:00
Florian Bruhin
ec1951c56c
Move abouthandler to network subpackage
2014-02-20 22:26:25 +01:00
Florian Bruhin
65ae1882f0
Move NetworkManager to own file
2014-02-20 22:26:25 +01:00
Florian Bruhin
88b8b6ea4e
Improve config save warning
2014-02-20 20:49:31 +01:00
Florian Bruhin
82f7e46459
Use NeighborList for history in statusbar.
2014-02-20 20:47:26 +01:00
Florian Bruhin
7fc45728a9
NeighborList: add firstitem() and lastitem()
2014-02-20 20:47:06 +01:00
Florian Bruhin
92b0024f25
NeighborList: Remove off-by-one error
2014-02-20 20:46:53 +01:00
Florian Bruhin
7d74e62696
NeighborList; Remove old FIXME
2014-02-20 20:46:43 +01:00
Florian Bruhin
858ff4a4f0
NeighborList: Ensure self.idx is always set
2014-02-20 20:46:29 +01:00
Florian Bruhin
e1fe6111ec
NeighborList: Always cast items to list
2014-02-20 20:46:15 +01:00
Florian Bruhin
4f6e149289
Add logging to NeighborList
2014-02-20 20:46:05 +01:00
Florian Bruhin
7d11790d35
Make it possible to use NeighborList without items
2014-02-20 20:45:30 +01:00
Florian Bruhin
7d878fec7b
version string cosmetic fixes
2014-02-20 19:59:22 +01:00
Florian Bruhin
7435a37f36
Style fixes in util.version
2014-02-20 19:56:34 +01:00
Florian Bruhin
cf2133bb96
Add zoomin/zoomout commands.
2014-02-20 19:55:35 +01:00
Florian Bruhin
dc179a65bb
Add temp_message signal to BrowserTab
2014-02-20 19:55:35 +01:00
Florian Bruhin
ab8fef3cdb
Add new NeighborList datatype
2014-02-20 19:55:35 +01:00
Florian Bruhin
2b820ec696
Add zoomlevels to config
2014-02-20 18:00:24 +01:00
Florian Bruhin
b3fa7bba98
Improve version info
2014-02-20 15:32:46 +01:00
Florian Bruhin
b91b6038c6
Emit dataChanged correctly for model
2014-02-20 11:24:24 +01:00
Florian Bruhin
561a7e1cdd
Add workaround to keystring so it gets cleared properly.
2014-02-19 23:08:38 +01:00
Florian Bruhin
1c921a77f6
Set scroll percentage to 0 in __init__
2014-02-19 16:25:15 +01:00
Florian Bruhin
21cf1cc700
Remove unnecessary lambda
2014-02-19 15:57:13 +01:00
Florian Bruhin
3a140b9a1c
Split text to normal/error/tmp again, show text.
...
This splits the text shown in the statusbar into normal/error/temporary
text again, and shows the text when idle instead of the command.
2014-02-19 15:40:43 +01:00
Florian Bruhin
c2e3039702
Only hide temporary error message on non-modifiers
2014-02-19 14:57:31 +01:00
Florian Bruhin
cb47ae1b43
Fix pyqtSlot() decorations.
2014-02-19 14:57:16 +01:00
Florian Bruhin
b03932400f
Simplify displaying text a lot.
...
This now only has one category of text, and displays it in a
QStackedWidget with the Command.
2014-02-19 14:44:40 +01:00
Florian Bruhin
ab87c8e8b9
Clear temporary text on keypress.
2014-02-19 14:44:38 +01:00
Florian Bruhin
c57e78b765
Display temporary messages in statusbar.
...
For some odd reason, old messages still don't get cleared properly.
2014-02-19 14:44:37 +01:00
Florian Bruhin
4b91915090
Bugfix: initialize _url_stack for Browser properly.
2014-02-19 14:44:00 +01:00
Florian Bruhin
d2b733ea7a
Check if Exception is subclass of Exception properly
2014-02-19 13:37:42 +01:00
Florian Bruhin
f70ad71f9c
Add error strings to exceptions
2014-02-19 11:11:21 +01:00
Florian Bruhin
93065188a7
All-caps constants
2014-02-19 11:11:19 +01:00
Florian Bruhin
d58ef3ff84
Fix CommandParser.run exit status.
2014-02-19 11:11:18 +01:00
Florian Bruhin
9a990d56d9
Nicer docstrings
2014-02-19 10:58:32 +01:00
Florian Bruhin
581f88fcce
Avoid pylint maybe-no-member warnings for ConfigParser.
2014-02-18 19:32:00 +01:00
Florian Bruhin
6d709d9fd8
Allow completion widget height to be configured in %
2014-02-18 19:05:56 +01:00
Florian Bruhin
9318558eb6
Make completion height configurable
2014-02-18 18:42:43 +01:00
Florian Bruhin
9568be3d2a
Use default geometry if no geometry was saved.
2014-02-18 18:38:48 +01:00
Florian Bruhin
96747c9d58
Reordering in widget submodules
2014-02-18 18:32:07 +01:00
Florian Bruhin
034f85b1d4
Use property for CompletionFilterModel.srcmodel
2014-02-18 17:57:58 +01:00
Florian Bruhin
5f83228c75
Reorder some methods, widgets not done yet
2014-02-18 17:54:17 +01:00
Florian Bruhin
0425ce7b48
Extend paintEvent instead of using an eventFilter
2014-02-18 17:26:26 +01:00
Florian Bruhin
2fe2ca85c2
Set WA_StyledBackground for statusbar instead of overriding paintEvent
2014-02-18 16:57:10 +01:00
Florian Bruhin
911d5d3b4a
Refactor ALL the things
2014-02-18 16:51:01 +01:00
Florian Bruhin
6cd02ca368
utils.config docstring update
2014-02-18 14:37:49 +01:00
Florian Bruhin
2fcda0e67b
Refactor Config.get()
2014-02-18 14:34:46 +01:00
Florian Bruhin
3d37b22fb0
Cleanup
2014-02-18 14:21:39 +01:00
Florian Bruhin
234d171483
Use Qt saveGeometry and restoreGeometry
2014-02-18 14:14:27 +01:00
Florian Bruhin
c9e4f2417d
Add more shutdown debugging
2014-02-18 13:05:42 +01:00
Florian Bruhin
109906043e
Add a trace_lines util function
2014-02-18 12:10:36 +01:00
Florian Bruhin
bbab0e7430
autosearch bugfix and debug output
2014-02-18 12:02:07 +01:00
Florian Bruhin
27d354633c
Save/restore window geometry.
2014-02-18 11:57:35 +01:00
Florian Bruhin
96d01f8755
Improve fallback handling for Config.
2014-02-18 11:57:19 +01:00
Florian Bruhin
306371aa31
Better logging when shutdown fails.
2014-02-18 11:56:40 +01:00
Florian Bruhin
8ba4661838
bugfix: Fix command history
2014-02-18 10:50:41 +01:00
Florian Bruhin
df0e534a0b
bugfix: Always handle about-URLs as URL.
2014-02-18 10:47:02 +01:00
Florian Bruhin
8fee32e6c4
Support multiple commands
2014-02-18 10:47:01 +01:00
Florian Bruhin
88ea6e62b1
Unify auto_search/addressbar_dns_lookup
2014-02-18 10:46:59 +01:00
Florian Bruhin
99aba6d9c0
Move default config to file
2014-02-18 10:33:57 +01:00
Florian Bruhin
d349a987c7
CrashDialog: add Stretch before buttons.
2014-02-18 08:52:37 +01:00
Florian Bruhin
8c1619236b
CrashDialog: fix layout setting issue
2014-02-18 08:52:25 +01:00
Florian Bruhin
8d9280d1d8
Set more parents
2014-02-18 08:37:05 +01:00
Florian Bruhin
2779b2f42e
Fix cur_scroll_page regression.
2014-02-17 22:24:17 +01:00
Florian Bruhin
ab89a3baf0
Cleanup
2014-02-17 22:21:11 +01:00
Florian Bruhin
57b2dc84fc
More crash handling fixes.
2014-02-17 20:39:15 +01:00
Florian Bruhin
14a090c087
More shutdown/crashing improvments.
2014-02-17 20:30:09 +01:00
Florian Bruhin
1dc382e2b7
Process pending events before opening startpage.
...
We now call QApplication::processEvents before
QNetworkAccessManager::createRequest (which takes >1s) is run, so all
waiting GUI events get handled and the GUI is drawn for the first time.
2014-02-17 17:47:21 +01:00
Florian Bruhin
9c0f0e8ac5
Add last_close setting.
2014-02-17 16:50:41 +01:00
Florian Bruhin
01096b995c
Store more Qt properties as class attributes.
2014-02-17 16:09:27 +01:00
Florian Bruhin
b90d402587
Fix comment typo.
2014-02-17 15:39:21 +01:00
Florian Bruhin
3d882897c0
Use singleShot QTimer to process init arguments.
...
This processes all init arguments after the startup has completely
finished, so that things like qutebrowser ':quit' work correctly.
2014-02-17 14:37:12 +01:00
Florian Bruhin
8c37e1c33a
Make closing/crashing much more reliable.
2014-02-17 14:17:56 +01:00
Florian Bruhin
966ceba1e6
Import cleanup
2014-02-17 12:23:52 +01:00
Florian Bruhin
d5807169d1
Decorate slots with pyqtSlot.
...
This seems to reduce memory usage a bit and make things a bit faster.
2014-02-17 12:00:08 +01:00
Florian Bruhin
0abb5cf738
Try to shut down everything cleanly.
2014-02-17 10:20:57 +01:00
Florian Bruhin
63ee3f4efd
Set Qt application name/version.
2014-02-17 08:56:33 +01:00
Florian Bruhin
9257f0c98a
Don't keep static references to QPainter.
...
For some reason, this seems to cause a segfault.
2014-02-17 08:42:12 +01:00
Florian Bruhin
76a459f604
Add more hard references.
...
This should prevent some segfaults, as pointed out by [1].
[1]: https://github.com/integricho/path-of-a-pyqter/tree/master/qttut02
2014-02-17 08:19:30 +01:00
Florian Bruhin
933296f47f
Move models to qutebrowser.models
2014-02-14 17:41:12 +01:00
Florian Bruhin
302736925b
Clean up read_file().
2014-02-14 16:43:41 +01:00
Florian Bruhin
434a904335
Add icon= to error html format()
2014-02-14 07:50:31 +01:00
Florian Bruhin
e56ed54102
Add broken error pages
2014-02-14 07:17:36 +01:00
Florian Bruhin
203fa3eb34
Docstring grammar fixes
2014-02-13 18:57:19 +01:00
Florian Bruhin
62f140cf88
Remove unneeded self.show()s
2014-02-13 18:47:39 +01:00
Florian Bruhin
176c1aa7d6
Use float() where applicable, not int()
2014-02-13 11:48:25 +01:00
Florian Bruhin
a7d52feb99
Add ga binding
2014-02-13 10:30:52 +01:00
Florian Bruhin
029813c8eb
Implement page-wise scrolling.
2014-02-13 10:28:09 +01:00
Florian Bruhin
7deab20820
Cleanup, more checks
2014-02-13 09:10:53 +01:00
Florian Bruhin
963b90ae74
Disable pylint maybe-no-member in TabWidget._init_config
2014-02-13 09:00:07 +01:00
Florian Bruhin
5b0e24b799
Make tabbar configurable.
2014-02-13 08:56:01 +01:00
Florian Bruhin
d7f58015bb
Set sizePolicy of Command to minimumExpanding.
2014-02-13 07:16:47 +01:00
Florian Bruhin
4271200846
Emit urlChanged immediately when opening a new tab.
2014-02-13 07:11:18 +01:00
Florian Bruhin
ca97a50820
Call tab.openurl _after_ connecting signals.
2014-02-13 07:10:41 +01:00
Florian Bruhin
0326a66758
Don't color progress bar anymore.
2014-02-13 07:06:34 +01:00
Florian Bruhin
6538dbbdf1
Colorize URLs in statusbar, fix hovering.
...
Before, when hovering from an URL to another URL, the old hover-URL was
saved as old-url. This is now fixed.
2014-02-13 06:58:17 +01:00
Florian Bruhin
76ba7921d4
Elide statusbar text/URLs correctly.
2014-02-12 23:56:23 +01:00
Florian Bruhin
7bfc1eb791
Add FIXME for color validation
2014-02-12 23:28:03 +01:00
Florian Bruhin
626b9fc3b8
Ignore StatusBar sizehint
2014-02-12 23:04:46 +01:00
Florian Bruhin
d343ea26af
Don't use QMainWindow
2014-02-12 23:04:46 +01:00
Florian Bruhin
f893b11f1b
Fix progress bar being red hopefully.
2014-02-12 17:13:31 +01:00
Florian Bruhin
5342b88519
linting update
2014-02-12 17:00:50 +01:00
Florian Bruhin
c0dc9f8622
Use Qt properties for condition coloring.
2014-02-12 17:00:39 +01:00
Florian Bruhin
002118953c
Use separate QHBoxLayout elements for statusbar.
2014-02-12 08:48:54 +01:00
Florian Bruhin
c77589a821
Make SignalCache an own class.
2014-02-11 14:04:36 +01:00
Florian Bruhin
d4e69c955e
Show hovered link in statusbar.
2014-02-11 13:33:33 +01:00
Florian Bruhin
1134461953
Make it possible to ignore signals for cache.
2014-02-11 13:27:26 +01:00
Florian Bruhin
0676508687
Add signal_name in utils.misc
2014-02-11 13:26:41 +01:00
Florian Bruhin
d37318b851
Immediately emit cur_url_changed when opening new tab.
2014-02-11 13:08:15 +01:00
Florian Bruhin
9aa49b7fe8
Pad scroll percentage.
2014-02-11 13:06:02 +01:00
Florian Bruhin
d89098582f
Show URL in statusbar.
2014-02-11 11:50:37 +01:00
Florian Bruhin
7486cb628a
Revert "Delete QWebViews when tabs are closed."
...
This reverts commit 83276b9576
.
This causes lots of segfaults and other strange stuff when a tab is
closed.
2014-02-11 11:31:20 +01:00
Florian Bruhin
83276b9576
Delete QWebViews when tabs are closed.
2014-02-11 11:17:53 +01:00
Florian Bruhin
26787b0d30
Add custom set_trace for debugging.
2014-02-11 10:30:17 +01:00
Florian Bruhin
796cb0c7b6
Clean up style proxy to be much more concise.
2014-02-11 07:45:28 +01:00
Florian Bruhin
78c89981ab
Implement custom style for Ubuntu madness.
2014-02-11 07:01:59 +01:00
Florian Bruhin
fca70a0c6f
Only import faulthandler if available
2014-02-10 22:40:21 +01:00
Florian Bruhin
903d9e7557
Don't use git -c
2014-02-10 19:21:52 +01:00
Florian Bruhin
6cf85ff52e
Replace QUrl::url by QUrl::toString.
2014-02-10 19:12:12 +01:00
Florian Bruhin
094640b39b
Fix signal_cache init, more debugging.
2014-02-10 17:54:24 +01:00
Florian Bruhin
fecfc86bc0
Make _git_str() more reliable
2014-02-10 16:36:58 +01:00
Florian Bruhin
39ed73c3cf
python package cleanup
2014-02-10 15:06:46 +01:00
Florian Bruhin
e49a0aa0ed
Use generator expressions where possible.
2014-02-10 08:21:09 +01:00
Florian Bruhin
e7a3754ce1
Add fontdict default
2014-02-10 07:08:52 +01:00
Florian Bruhin
95b295745b
Rename __default__ searchengine to DEFAULT
2014-02-10 07:07:32 +01:00
Florian Bruhin
1af78272bb
Make fonts configurable.
2014-02-10 07:03:51 +01:00
Florian Bruhin
9636432bd5
Move completion widget when statusbar moves.
2014-02-09 21:43:24 +01:00
Florian Bruhin
1a74cbee74
Completion widget design microtuning.
2014-02-09 21:27:56 +01:00
Florian Bruhin
6fbfcab3e2
Don't hardcode heights of tabbar/statusbar
2014-02-09 21:18:44 +01:00
Florian Bruhin
5980f2cc33
Make auto_search configurable.
2014-02-09 20:57:23 +01:00
Florian Bruhin
3555e20642
Fix default_config indent.
2014-02-07 20:23:00 +01:00
Florian Bruhin
01633007e0
Be PEP257 compliant.
2014-02-07 20:21:50 +01:00
Florian Bruhin
dadfc952d1
dos2unix for url.py, argh
2014-02-07 19:21:41 +01:00
Florian Bruhin
b50eba38d3
Refactor utils.url.
2014-02-07 19:20:57 +01:00
Florian Bruhin
a4a2832f8e
Move url utils to url.py
2014-02-07 17:20:55 +01:00
Florian Bruhin
ccddf3f7e7
Improve url/searchterm checking.
2014-02-07 17:14:13 +01:00
Florian Bruhin
31fd8282da
Implement search engines.
2014-02-07 14:02:14 +01:00
Florian Bruhin
acd7a0a070
Load unknown about:... pages with QWebView.
2014-02-07 14:01:35 +01:00
Florian Bruhin
8a81a61c2d
Use ExtendedInterpolation for config
2014-02-07 14:01:17 +01:00
Florian Bruhin
bcb24e3ebf
Do not call qurl() from is_about_url()
2014-02-07 14:00:54 +01:00
Florian Bruhin
2ed3f722f5
Catch AttributeError when opening unknown about: pages
2014-02-07 12:54:39 +01:00
Florian Bruhin
940b2d0860
Fix checks
2014-02-07 11:01:58 +01:00
Florian Bruhin
920683b804
Refactor about:... handling
2014-02-07 10:34:37 +01:00
Florian Bruhin
210380e4b0
Use QUrl::fromUserInput for utils.qurl
2014-02-07 10:03:58 +01:00
Florian Bruhin
0648dce295
Add GNU GPL
2014-02-06 14:01:23 +01:00
Florian Bruhin
04ffbc3e53
Fixes for checks.
2014-02-06 13:40:18 +01:00
Florian Bruhin
4c36665601
Bind loadStarted correctly, whoops.
2014-02-06 13:37:05 +01:00
Florian Bruhin
e2589a35b3
Add opencur and tabopencur
2014-02-06 13:34:49 +01:00
Florian Bruhin
bb7df14c08
Fix completion widget size handling
2014-02-06 10:36:00 +01:00
Florian Bruhin
9a0451c984
Crash more reliably #2
2014-02-06 10:25:22 +01:00
Florian Bruhin
ae81427293
Cleanup/Checks
2014-02-06 06:54:57 +01:00
Florian Bruhin
bc6c97a672
First implementation of sizeHint for completion.
...
This implements the sizeHint method of CompletionItemDelegate, however
this doesn't seem to work correctly yet. Only a few size hints get
called when using resizeColumnToContents...
2014-02-06 06:42:12 +01:00
Florian Bruhin
748a28be1c
completion resizeHint: adjust for scrollbar
2014-02-05 18:05:08 +01:00
Florian Bruhin
444b813cf5
Clear signal cache on loadStarted
2014-02-05 17:27:57 +01:00
Florian Bruhin
8e35fb5656
Fix signal cache
2014-02-05 17:19:52 +01:00
Florian Bruhin
0477df72b7
Don't output debug strings for cur_progress signals
2014-02-05 16:03:32 +01:00
Florian Bruhin
0005c1d0a7
Fix browser eventFilter/scroll hack
2014-02-05 15:59:54 +01:00
Florian Bruhin
ac33da82a2
Add more debug info to _filter_signals warning
2014-02-05 15:31:09 +01:00
Florian Bruhin
96cfdfc96c
Remove statusBarMessage FIXME
2014-02-05 15:21:24 +01:00
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