Florian Bruhin
77df4c7241
Add !important to all hint properties.
2015-01-06 17:10:54 +01:00
Error 800
82ee78b3db
Added !important to hint styles
...
Prevents websites from overriding hint styles
2015-01-06 16:23:45 +01:00
Error 800
c4619874e6
Merge remote-tracking branch 'upstream/master'
2015-01-06 16:20:35 +01:00
Error 800
c008ee8dd7
Added !important to hint styles
...
Prevents websites from overriding hint styles
2015-01-06 16:13:28 +01:00
Florian Bruhin
dda54a2cc9
Merge branch 'download-quit-confirm' of https://github.com/peterlvilim/qutebrowser into peterlvilim-download-quit-confirm
2015-01-06 11:28:16 +01:00
Peter Vilim
5c37d4a19d
fix line lengths
2015-01-06 04:14:41 -06:00
Peter Vilim
f828e554f7
misc fixes
2015-01-06 04:03:21 -06:00
Florian Bruhin
46396cce1e
Fix maxsplit-splitting with empty args (""/'').
...
Fixes #453 .
2015-01-06 10:00:28 +01:00
Peter Vilim
dfa276a20c
backward compatibility, space, combinations
2015-01-05 22:41:42 -06:00
Florian Bruhin
e339b0cef9
Fix missing whitespace.
2015-01-05 18:56:09 +01:00
Florian Bruhin
85c89305a7
Merge branch 'master' of https://github.com/thiagowfx/qutebrowser into thiagowfx-master
2015-01-05 18:47:16 +01:00
Florian Bruhin
60874aad28
Merge branch 'master' of https://github.com/error800/qutebrowser into error800-master
2015-01-05 18:38:54 +01:00
Error 800
ce5629eab3
Fixed uppercase hints option
...
Corrected CSS property from 'texttransform' to 'text-transform'
2015-01-05 16:20:45 +01:00
Peter Vilim
0305dedbfb
Use multiple lines for quit messages
2015-01-05 01:01:22 -06:00
Thiago Barroso Perrotta
94ea35c9e8
add g[tT] for cycling through tabs (LuaKit/vim like)
2015-01-05 01:57:10 -02:00
Florian Bruhin
ff0c845c50
Uncheck sending of debug log with private browsing.
...
Fixes #436 .
2015-01-04 20:41:35 +01:00
Florian Bruhin
efe96462c9
Pass more useful information to userscripts.
...
Closes #379 .
2015-01-04 20:16:15 +01:00
Florian Bruhin
013f906c3b
hints: Small cleanup (add _show_url_error method).
2015-01-04 20:15:45 +01:00
Florian Bruhin
b8a04f5309
Don't raise CommandError in TabbedBrowser.current_url.
...
TabbedBrowser.current_url used to process the qtutils.QtValueError exception
and raise a cmdexc.CommandError based on it. While this was useful for some
callers, it made handling it in others weird, and it doesn't really belong
there - so now the caller handles this.
2015-01-04 20:13:25 +01:00
Florian Bruhin
04c8a17b2e
Merge branch 'userscript-runner'
2015-01-04 15:21:31 +01:00
Florian Bruhin
f64269c57a
Add qutebrowser- to FIFO name.
2015-01-04 14:53:00 +01:00
Florian Bruhin
b1b1cecdb7
Add some more logging
2015-01-04 14:51:50 +01:00
Florian Bruhin
ecc7f09f86
Use QSocketNotifier for userscripts.
2015-01-04 14:36:59 +01:00
Florian Bruhin
6d8bffe405
Merge branch 'master' of https://github.com/ml-/qutebrowser into ml--master
2015-01-04 13:35:50 +01:00
Florian Bruhin
e0483363aa
Add a test making sure the default config is valid.
...
See #438 , #439 , #440 , #441 .
2015-01-04 13:34:05 +01:00
Peter Vilim
8a3aca63b0
Confirm quit if downloads running
2015-01-04 04:35:27 -06:00
Matthias Lisin
2814456586
Commas are awesome
...
Fixes #438
Fixes #439
2015-01-04 02:02:26 +01:00
Florian Bruhin
2203db298d
Abort blocking questions when new page is loaded.
...
Fixes #430 .
Fixes #431 .
Hopefully fixes #354 .
Hopefully fixes #434 .
2015-01-03 22:21:47 +01:00
Florian Bruhin
f811f511fa
Use self._win_id in QNetworkManager._ask.
2015-01-03 22:04:56 +01:00
Florian Bruhin
9521d253a1
Fix validation of ShellCommand config type.
...
Fixes #432 .
2015-01-03 21:19:43 +01:00
Florian Bruhin
e54d3c21ee
Add SSL info to version info.
2015-01-03 18:19:16 +01:00
Florian Bruhin
7dbbfedd3b
Replace unencodable chars in download filenames.
...
Fixes #427 .
2015-01-03 17:50:59 +01:00
Florian Bruhin
450d1ab70d
Update copyright years
2015-01-03 15:51:31 +01:00
Florian Bruhin
e30f79981d
Merge branch 'search' of https://github.com/krobelus/qutebrowser into krobelus-search
2015-01-01 19:15:02 +01:00
Florian Bruhin
a5ce9571ff
Remove hosts-file.net from blocker default lists.
2015-01-01 19:14:45 +01:00
Florian Bruhin
56d844aff8
Fix user-stylesheet setting with an empty value.
2014-12-30 00:56:53 +01:00
Johannes Altmanninger
8b69f9b62c
Registered 'search' as command.
...
Fixes #421 .
2014-12-29 22:45:26 +01:00
Florian Bruhin
4471f81c11
Expand ~ to home dir with :run-userscript.
2014-12-29 22:17:58 +01:00
Florian Bruhin
0cd0f97587
Call triggerAction on page, not view.
2014-12-29 22:12:09 +01:00
Florian Bruhin
0ea25c6ef0
Add missing imports
2014-12-29 22:04:09 +01:00
HalosGhost
0a1fa87ac9
Add -f option to reload
2014-12-29 22:03:54 +01:00
Florian Bruhin
ad6065605a
Merge branch 'master' of https://github.com/oed/qutebrowser into oed-master
2014-12-29 21:58:51 +01:00
Florian Bruhin
f96cf6fe27
Release v0.1.1
2014-12-28 22:47:23 +01:00
Florian Bruhin
bb1a1b80aa
Fix setting of QWebSettings with empty strings.
2014-12-28 22:44:40 +01:00
Florian Bruhin
b703028411
Clean up and temporarily disable alias completion.
...
Fixes #358 .
2014-12-28 22:08:38 +01:00
Florian Bruhin
d1d6fb3dce
Use Qt resources for the window icon.
2014-12-28 15:10:02 +01:00
Florian Bruhin
f1435ce51f
Use a dirty hack to copy icon files into package.
...
See #325 .
2014-12-28 14:50:25 +01:00
Florian Bruhin
2a4e884e1b
Set window icon. Closes #325 .
2014-12-28 14:35:28 +01:00
Florian Bruhin
ed253f23c6
Pass window id to DownloadItem.
2014-12-28 02:00:31 +01:00
Florian Bruhin
60cc70151c
Merge branch 'prevent_downloading_existing_file' of https://github.com/oed/qutebrowser into oed-prevent_downloading_existing_file
2014-12-28 01:57:14 +01:00
Florian Bruhin
73d08cb60c
Fix mode handling with multiple javascript prompts.
...
This fixes a regression introduced in 03ac8874ff
.
2014-12-28 01:28:35 +01:00
Florian Bruhin
177707687c
Display IPC errors to the user.
...
Fixes #337 .
2014-12-28 01:28:35 +01:00
Florian Bruhin
89c7f3ecfe
Re-focus web view when leaving prompt/yesno mode.
2014-12-28 00:41:50 +01:00
Florian Bruhin
03ac8874ff
Rewrite keymode handling to use only one mode.
...
Fixes #417 .
Fixes #418 .
See 4ab5d2df28
.
2014-12-28 00:01:27 +01:00
Florian Bruhin
be2c67aa19
Don't filter completion parts if there's only one.
...
This fixes a regression (completion not showing with :) introduced in
b1501a691d
.
2014-12-27 22:50:28 +01:00
Joel Torstensson
6c6ae4e465
Refactored question logic.
2014-12-27 00:50:52 +01:00
Joel Torstensson
f0779f8cc0
User now asked if it wants to overwrite existing file.
...
Fix #318
2014-12-26 21:58:45 +01:00
Florian Bruhin
b1501a691d
Ignore empty parts when calculating cursor part.
...
Fixes #389 .
2014-12-26 16:57:08 +01:00
Florian Bruhin
d1e0de236d
Handle :restart correctly with Python eggs.
...
Fixes #323 .
2014-12-26 15:37:25 +01:00
Florian Bruhin
d029044787
Log full exception on restart errors.
2014-12-26 15:37:25 +01:00
Florian Bruhin
769bc65343
Fix name collision.
2014-12-26 15:09:27 +01:00
Florian Bruhin
bf4d6a5707
Handle an invalid cwd properly.
...
Fixes #370 .
2014-12-26 15:07:18 +01:00
Florian Bruhin
dec6842370
Remove unnecessary if-branch in fuzzy_url.
...
The first branch already checks for `os.path.exists(path)`, so it doesn't make
sense for the second one to check that again (ANDed with some other condition).
2014-12-26 15:03:30 +01:00
Florian Bruhin
4ab5d2df28
Make it possible to enter a keymode twice.
...
If we don't allow this, we can get stuck e.g. when doing this:
- Press m to get a quickmark prompt.
- Click a javascript prompt button.
- Exit the javascript prompt.
- We have the quickmark prompt open but we're in normal mode.
2014-12-26 14:26:59 +01:00
Florian Bruhin
7c86693dd4
Disable report button in crash dialog on :report.
2014-12-26 13:03:47 +01:00
Florian Bruhin
0c6af7a5f3
Move debug log to bottom in crash dialog.
...
Closes #365 .
2014-12-26 13:01:19 +01:00
Florian Bruhin
4a632f85e0
Add a warning for manual edits to the config.
...
Closes #373 .
2014-12-26 12:49:38 +01:00
Florian Bruhin
0c5aed284b
Fix popping of a dead question in prompter.
...
This happens when a question for a file path for an already cancelled download
gets popped.
Fixes #415 .
2014-12-26 12:46:53 +01:00
Florian Bruhin
5d0dd5b11b
Fix AttributeError on config changes on Ubuntu.
...
Fixes #390 .
2014-12-26 12:25:42 +01:00
Florian Bruhin
bececc69c3
Save version to state config.
2014-12-22 23:47:43 +01:00
Florian Bruhin
017f143a5f
Add a binary mode to utils.read_file.
...
This will be needed for #325 .
2014-12-22 23:44:09 +01:00
Joel Torstensson
8746715bf0
Moved fullscreen method.
2014-12-22 22:56:52 +01:00
Joel Torstensson
19f75984e3
Implemented fullscreen mode. Fix #385
2014-12-22 21:57:46 +01:00
Florian Bruhin
4363db90c0
Don't treat things like "31c3" as IP address.
...
Fixes #388 .
2014-12-22 18:38:45 +01:00
Florian Bruhin
b01041e455
Set zoom to default instead of 100% with :zoom/=.
2014-12-22 18:04:28 +01:00
Florian Bruhin
f50a19a488
Adjust page zoom if default zoom changed.
...
Fixes #393 .
2014-12-22 18:01:32 +01:00
Florian Bruhin
3752733f15
Actually connect QWebView.on_config_changed slot.
2014-12-22 18:01:17 +01:00
Florian Bruhin
89e051ff51
Ignore clicks on failed downloads.
...
Fixes #396 .
2014-12-22 17:36:02 +01:00
Florian Bruhin
57c8dff396
Handle category being None in Qt message handler.
...
Fixes #397 .
2014-12-22 17:33:35 +01:00
Florian Bruhin
58c991145c
Revert "Use scrollRequested signal instead of paintEvent."
...
It seems on some pages like Twitter or blog.fdik.org, the
QWebPage::scrollRequested signal never gets emitted, so we use this for now.
Fixes #400 .
See https://bugreports.qt-project.org/browse/QTBUG-43521 .
This reverts commit 03fb21c476
.
Conflicts:
qutebrowser/browser/webview.py
2014-12-22 17:20:43 +01:00
Florian Bruhin
2d1c12f69b
Turn off flake8 for exception hook.
2014-12-21 18:11:35 +01:00
Florian Bruhin
877d814815
Clean up _get_window_registry.
2014-12-21 14:13:40 +01:00
Florian Bruhin
42890b8a7f
Force tabs to be focused on :undo.
...
Closes #394 .
2014-12-21 13:06:24 +01:00
Florian Bruhin
ef9ddb2d5f
Encode Content-Disposition header name properly.
...
PyQt <= 5.3 accepted a Python string containing only latin1 chars as argument
for a QByteArray. This is deprecated in 5.4 and will be removed in 5.5 so we
should encode it by hand here.
2014-12-18 23:24:50 +01:00
Florian Bruhin
05e835684d
Fix item sorting in NeighborList.
...
See #361 .
2014-12-18 23:20:38 +01:00
Florian Bruhin
07957b105d
Handle data being None in download read timer.
...
Fixes #307 .
2014-12-18 23:09:33 +01:00
Florian Bruhin
5c15f56213
Stop download read timer when reply has finished.
...
See #307 .
2014-12-18 23:08:19 +01:00
Florian Bruhin
29ce0a5157
Fix handling of small/big fuzzyval's in NeighborList.
...
This fixes an exception when having a really big or small zoom (e.g. 0) and
then using +/-.
Fixes #361 .
2014-12-18 23:04:43 +01:00
Florian Bruhin
410d78cfa2
Add missing configexc.py file.
...
I forgot to add this in 512d7c4448b0610bc133d83d8280a94469841968...
2014-12-17 13:49:50 +01:00
Florian Bruhin
3cc1134e82
Fix AttributeError on HTTP/proxy authentications.
...
This is a regression introduced in cafb487ac9
.
Fixes #355 .
See #333 .
2014-12-17 13:40:15 +01:00
Florian Bruhin
a714f0b70c
config: Set self._initialized before validating.
...
With a setting with an interpolation this caused a ValueError because
validate_all called get before self._initialized was True.
2014-12-17 13:40:15 +01:00
Florian Bruhin
512d7c4448
Simplify config exception tree and handling.
...
Also make sure we catch all config-related errors in all related places.
Fixes #324 .
2014-12-17 11:17:18 +01:00
Florian Bruhin
655ab31d48
Add a network -> proxy-dns-requests option.
...
Closes #330 .
2014-12-16 23:27:55 +01:00
Florian Bruhin
cafb487ac9
Abort questions in NetworkManager on destroyed.
...
Hopefully fixes #333 .
2014-12-16 17:22:01 +01:00
Florian Bruhin
676313e7ae
Fix indent.
2014-12-16 15:09:47 +01:00
Florian Bruhin
05e6515aad
Allow min-/maximizing of print preview on Windows.
...
Fixes #327 .
2014-12-16 15:08:28 +01:00
Florian Bruhin
965a1256a3
Add "Remove finished" to the download context menu
...
Closes #344 .
2014-12-16 14:30:47 +01:00
Florian Bruhin
ed013ac3cf
Simplify generating of download context menu.
2014-12-16 14:10:25 +01:00
Florian Bruhin
e0271eff34
Open and remove clicked downloads.
...
Fixes #343 .
2014-12-16 14:02:01 +01:00
Florian Bruhin
888a17b7c3
Fix height calculation of download view.
2014-12-16 13:53:54 +01:00
Florian Bruhin
b899d8b44d
Always auto-remove adblock downloads when done.
...
Fixes #342 .
2014-12-16 13:44:09 +01:00
Florian Bruhin
efd632ea73
Preserve arguments when re-splitting with aliases.
...
Fixes #339 .
2014-12-15 23:06:42 +01:00
Florian Bruhin
512e51eeb4
Fix type annotation for :zoom. Fixes #332 .
2014-12-15 22:59:45 +01:00
Florian Bruhin
0d9c7049b6
Clean up ConfigManager._from_cp.
2014-12-15 22:25:06 +01:00
Florian Bruhin
3c68506665
Fix sect/opt in config validation error message.
...
This is a regression introduced in 0c1420112c
.
See #202 .
2014-12-15 22:08:33 +01:00
Florian Bruhin
1d2016d3a5
Add some tests for config loading.
...
This would have prevented the issue in
e87b3fd568
.
2014-12-15 22:06:11 +01:00
Florian Bruhin
d84c4fab84
Remove old comment.
2014-12-15 21:49:48 +01:00
Florian Bruhin
b7dcf34e67
Release v0.1
2014-12-14 20:46:32 +01:00
Florian Bruhin
e87b3fd568
Fix loading of renamed config sections.
2014-12-14 20:46:32 +01:00
Florian Bruhin
ba9bb0e418
Fix updating of scroll position with gg/G/etc.
2014-12-14 16:44:18 +01:00
Florian Bruhin
b7dc2e1bc6
Allow non-ASCII chars in keychains. Fixes #303 .
2014-12-13 21:03:33 +01:00
Florian Bruhin
06ec1a3885
Big file tree reorganisation.
...
Closes #255 .
Should make a lot more sense now ;)
2014-12-13 17:28:50 +01:00
Florian Bruhin
67001665a2
Cleanups in hint.py.
2014-12-13 00:30:35 +01:00
Johannes Altmanninger
d0bed460eb
Hints: Use the src html attribute in addition to href in _resolve_url.
...
See issue #286
2014-12-12 18:40:12 +01:00
Johannes Altmanninger
582e3e57e9
Add hint target 'run' to execute a command based on a hint URL.
...
Fixes Issue #285 .
The command is not preceded by a colon because there is no need to
distinguish between a search and a command.
2014-12-12 18:17:58 +01:00
Florian Bruhin
eceda53b3a
Fix split tests.
2014-12-12 17:45:59 +01:00
Florian Bruhin
fc0428ef5f
Fix ws stripping with simple_split and no flags.
...
Fixes #279 .
2014-12-12 17:29:01 +01:00
Florian Bruhin
841e31283c
hints: Store id() of destroyed frames.
...
Fixes #305 . #152 should still be okay.
2014-12-12 01:38:13 +01:00
Florian Bruhin
decfd02033
Use a QNAM to pastebin from crash dialog.
...
Fixes #280 .
2014-12-11 23:34:03 +01:00
Florian Bruhin
aefa637bc5
Check if command text is valid when hinting.
2014-12-11 22:16:56 +01:00
Florian Bruhin
cba120ac76
Fix starting without config.
2014-12-11 22:08:43 +01:00
Florian Bruhin
39cd36c8cd
Don't use maxsplit=0 with :spawn.
2014-12-11 21:27:44 +01:00
Florian Bruhin
8bad7c0e4c
Use maxsplit=1 for :repeat and :later.
2014-12-11 21:27:44 +01:00
Florian Bruhin
451df7bbf4
Handle flags with args correctly with split=False.
2014-12-11 21:17:43 +01:00
Florian Bruhin
3579caf1ff
Make mode a kwarg-only argument for :bind.
2014-12-11 21:17:22 +01:00
Florian Bruhin
1d6661f90b
Set maxsplit=0 for :set-cmd-text.
...
See #233 .
2014-12-11 20:35:04 +01:00
Florian Bruhin
db4ca495f2
Use maxsplit=1 for :bind.
...
See #233 .
2014-12-11 20:34:38 +01:00
Florian Bruhin
b7ea8e7979
Support a maxsplit argument for commands.
2014-12-11 20:32:52 +01:00
Florian Bruhin
81bc5dae94
Remove quotes with split=False commands.
...
Fixes #313 .
2014-12-11 20:04:29 +01:00
Florian Bruhin
8c4c465c91
Fix completion update when the length is unchanged.
...
Fixes #312 .
2014-12-11 18:37:22 +01:00
Florian Bruhin
4e6cedb1f7
Don't treat page load as failed with blocked hosts.
...
Fixes #315 .
2014-12-11 18:05:01 +01:00
Florian Bruhin
5eeb89ec86
Add a :quickmark-del command.
2014-12-10 23:30:04 +01:00
Florian Bruhin
d0b5f2087a
Fix un-hiding of hints.
2014-12-10 23:22:25 +01:00
Florian Bruhin
b00e00db37
Add a "retry" entry to the download menu.
...
Closes #38 .
2014-12-10 21:56:57 +01:00
Florian Bruhin
9553bd44c1
Add an open menu entry to downloads.
...
See #39 .
2014-12-10 20:48:19 +01:00
Florian Bruhin
0ecf8661eb
Create inexistent paths in standardpath.get.
...
See #25 .
2014-12-10 18:05:42 +01:00
Florian Bruhin
ec07e4f8be
Handle OSError exceptions where appropriate.
...
Fixes #25 .
2014-12-10 18:00:49 +01:00
Florian Bruhin
ea76bdfb0f
Replace all IOError by OSErrors.
...
Starting with Python 3.3, IOError is just an alias for OSError.
2014-12-10 16:48:23 +01:00
Florian Bruhin
206b5f548e
Fix checking for errors when a page is loaded.
...
Because of the error page, we got loadFinished with ok=True even with errors.
Fixes #84 .
2014-12-10 16:38:24 +01:00
Florian Bruhin
06cc982ab5
Dynamically calculate needed size for command.
...
Closes #26 .
2014-12-10 15:35:13 +01:00
Florian Bruhin
db2d4a6bed
tabwidget: Add text padding in minimumTabSizeHint.
...
See #283 .
2014-12-10 14:45:00 +01:00
Florian Bruhin
ef12bde654
tabwidget: Fix ...-width in minimumTabSizeHint.
...
See #283 .
2014-12-10 14:44:28 +01:00
Florian Bruhin
92b9dc08f4
tabwidget: Clean up and fix minimumTabSizeHint.
...
See #283 .
The width now accounts for the indicator, and the wrong docstring has been
removed.
2014-12-10 14:29:14 +01:00
Florian Bruhin
bac30b9192
Set a minimum height for the statusbar widget.
...
Fixes #194 .
2014-12-10 14:15:34 +01:00
Florian Bruhin
b30ca6bcb6
Don't record command history in private mode.
...
Fixes #43 .
2014-12-10 13:19:42 +01:00
Florian Bruhin
76c5c8bf8e
cookies/cache: Handle por^H^Hrivate browsing mode.
...
See #43 .
2014-12-10 13:12:53 +01:00
Florian Bruhin
0b82fdb4d8
Fix text/newline handling with QSaveFile.
...
Fixes #309 .
We use io.TextIOWrapper which already handles newline converting, so we
shouldn't open the QSaveFile with QIODevice.Text in the mode, as this lead to
double-converting newlines, which in turn produced this error message on
Windows.
2014-12-10 10:58:55 +01:00
Florian Bruhin
7e95401f02
Check if download reply is None when closing tab.
...
Fixes #311 .
2014-12-09 17:37:57 +01:00
Florian Bruhin
bf24578dfd
Use QSaveFile for saving files. Fixes #234 .
2014-12-08 23:42:26 +01:00
Florian Bruhin
d611a37d7d
Fix statusbar with nested passthrough modes.
...
Fixes #87 .
2014-12-08 20:18:55 +01:00
Florian Bruhin
1d7f704804
Fix comment typo.
2014-12-08 20:06:40 +01:00
Florian Bruhin
2b41c13e8b
Fix lint
2014-12-08 18:52:20 +01:00
Florian Bruhin
0c1420112c
Fix config interpolation with non-default values.
...
Fixes #202 .
2014-12-08 18:50:53 +01:00
Florian Bruhin
175d01f516
config: Don't escape <eq> specially anymore.
2014-12-08 18:16:21 +01:00
Florian Bruhin
4ab4ac3db6
downloads: Make sure read timer is stopped.
...
Hopefully fixes #307 .
2014-12-08 16:16:03 +01:00
Florian Bruhin
07fed5a401
Don't nest function calls in on_read_timer_timeout.
...
This would have made it easier to diagnose #307 .
2014-12-08 16:07:50 +01:00
Florian Bruhin
edfc0e24b2
Abort running questions when closing tab.
...
Fixes #306 .
2014-12-08 16:04:56 +01:00
Florian Bruhin
4829aee767
Add a --no-crash-dialog debug option.
2014-12-06 00:39:33 +01:00
Florian Bruhin
24d21bfe98
I suck.
2014-12-05 21:15:11 +01:00
Florian Bruhin
9946b4b0f6
Really disable that damn pylint check
2014-12-05 21:14:18 +01:00
Florian Bruhin
7aa01802d9
Whoops, s/ignore/disable/
2014-12-05 21:08:15 +01:00
Florian Bruhin
c80f83671f
pylint: ignore pypeg2 import error
2014-12-05 21:03:23 +01:00
Florian Bruhin
98a384c167
Properly ignore distutils-bug in qtutils.
2014-12-05 12:56:32 +01:00
Florian Bruhin
653fbe81d0
pylint: Ignore distutils ImportError.
...
See https://bitbucket.org/logilab/pylint/issue/73/
2014-12-05 12:46:57 +01:00
Florian Bruhin
1fb24e45ff
Newline fix in adblock.py
2014-12-04 21:35:32 +01:00
Florian Bruhin
1af7112ea4
Handle ampersands in tab titles correctly.
...
Fixes #301 .
2014-12-03 21:31:59 +01:00
Florian Bruhin
95d919b5f6
Force opening in fg when opening a JS-window.
...
Fixes #174 .
2014-12-03 19:31:00 +01:00
Florian Bruhin
3adb97e4d2
Merge branch 'master' of ssh://tonks/qutebrowser
2014-12-02 21:28:54 +01:00
Florian Bruhin
03fb21c476
Use scrollRequested signal instead of paintEvent.
...
Closes #300 .
2014-12-02 21:27:11 +01:00
Florian Bruhin
d94f848c82
Ignore isNullError while handling label elements.
...
Fixes #295 (hopefully for real this time!)
2014-12-02 21:27:06 +01:00
Florian Bruhin
99fb516aa3
Never disconnect signal from destroyed frames.
...
Fixes #152 - hopefully really this time!
2014-12-02 21:09:03 +01:00
Florian Bruhin
0814811e2b
Change default startpage to HTTPS.
2014-12-02 16:38:57 +01:00
Florian Bruhin
66a42512c6
adblock: Convert some methods to functions.
2014-12-02 12:26:13 +01:00
Florian Bruhin
cd5f77210c
Add keybinding Ss to open qute:settings.
...
See #13 .
2014-12-01 23:11:18 +01:00
Florian Bruhin
c86b1d0508
Open qute:settings if :set is given without arguments.
2014-12-01 23:09:01 +01:00
Florian Bruhin
9fa036ecce
Remove logging for #152 .
...
This reverts a1ba05ff08
.
2014-12-01 22:29:32 +01:00
Florian Bruhin
51fcfa07b0
Fix setting ui->default-zoom to a level not in ui->zoom-levels.
...
Fixes #296 .
See #115 .
2014-12-01 20:24:04 +01:00
Florian Bruhin
e8a6238028
Clean up hint labels and frames before clicking link.
...
Fixes #152 .
Hopefully fixes #295 .
2014-12-01 19:15:17 +01:00
Florian Bruhin
cb67198f7d
Fix download redirections and :adblock-update.
...
We called init_reply again which started read_timer even if the file object was
already set.
Fixes #294 .
2014-12-01 07:40:36 +01:00
Florian Bruhin
316d5ff189
Check if replies are open in downloads.
2014-12-01 07:35:57 +01:00
Florian Bruhin
f22c00c64d
Move MAX_REDIRECTS attribute back to DownloadItem.
...
Fixes #293 .
2014-12-01 06:55:15 +01:00
Florian Bruhin
fea35156bc
Set parent of QNetworkReplies in NetworkManager.
...
Closes #258 .
2014-11-30 22:38:12 +01:00
Florian Bruhin
64e43c6e14
Ignore IPC in exception handler. Closes #262 .
2014-11-30 22:30:26 +01:00
Florian Bruhin
d558155620
Simplify some config types by using valid_values.
2014-11-30 22:16:55 +01:00
Florian Bruhin
1ceb8ac74d
Add an ssl-strict=ask option. Closes #16 .
2014-11-30 21:57:37 +01:00
Florian Bruhin
e3dfaa6a4b
Send cwd over IPC. Fixes #254 .
2014-11-30 19:22:35 +01:00
Florian Bruhin
9327c2a9ae
Remove trailing spaces in simple_split with keep=False.
...
Fixes #279 .
2014-11-30 18:59:51 +01:00
Florian Bruhin
9d28c59a28
Fix downloading of qute:log. Closes #81 .
2014-11-30 18:47:41 +01:00
Florian Bruhin
d54f06ea91
Reparent a page's QNAM if there are running downloads.
...
Fixes #289 .
2014-11-30 18:47:40 +01:00
Florian Bruhin
6d419b8346
Avoid starting downloads before we know the filename.
...
Closes #278 .
2014-11-30 18:47:40 +01:00
Florian Bruhin
302fcec3ed
Merge branch 'master' of ssh://tonks/qutebrowser
2014-11-30 17:30:27 +01:00
Florian Bruhin
25a665e601
Abort download question on errors. Fixes #266 .
2014-11-30 15:34:15 +01:00
Florian Bruhin
a00dd7b679
Slowly download while the user is entering a filename.
...
Closes #79 .
Closes #270 .
2014-11-30 15:30:15 +01:00
Florian Bruhin
60ef39b4d0
fixup
2014-11-30 15:30:15 +01:00
Florian Bruhin
ee0cb00428
First download cleanup.
2014-11-30 15:30:14 +01:00
Florian Bruhin
d32096495d
Apply default zoom correctly.
...
Fixes #287 .
2014-11-28 17:01:29 +01:00
Mathias Fussenegger
aeb6ceb942
correct search engine regex to match multiple search terms
2014-11-27 22:59:43 +01:00
Florian Bruhin
f6dffa74b6
Fix lint
2014-11-27 22:27:13 +01:00
Florian Bruhin
9bd8d3f2e5
Merge branch 'search-engine-syntax' of https://github.com/mfussenegger/qutebrowser into mfussenegger-search-engine-syntax
2014-11-27 22:19:07 +01:00
Mathias Fussenegger
68398035ef
change search engine syntax to match that of dwb
...
as pointed out in
https://github.com/The-Compiler/qutebrowser/issues/14 this
commit changes the syntax so that DuckDuckGo bang syntax
works.
2014-11-27 21:57:51 +01:00
Florian Bruhin
68b9aaace4
Add utils.raises. Closes #274 .
2014-11-27 20:44:48 +01:00
Florian Bruhin
c87fa34544
Use a QTime in widgets.statusbar.bar. Fixes #124 .
2014-11-27 20:09:58 +01:00
Florian Bruhin
cb1df68153
Automatic config migration for renamed sections/options.
2014-11-27 07:07:28 +01:00
Florian Bruhin
bdbe284a56
Fix tabbar updating when changing fg colors.
2014-11-26 21:21:02 +01:00
Florian Bruhin
d34aefcfee
Another round of config breakage (sorry!).
...
- Rename colors->tab.* to colors->tabs.*
- Rename permission section to content.
2014-11-26 21:16:27 +01:00
Florian Bruhin
e8966ec7bb
Remove some shlex vdebug.
2014-11-26 21:02:20 +01:00
Florian Bruhin
cbac8bb330
Fix lint
2014-11-25 23:24:52 +01:00
Florian Bruhin
7e879c9312
Don't add javascript-bridge only once.
...
Otherwise, qute:settings will break when reloading it.
2014-11-25 23:21:49 +01:00
Florian Bruhin
e85e11310d
Merge branch 'master' of https://github.com/iggy/qutebrowser into iggy-master
2014-11-25 23:03:09 +01:00
Brian Jackson
9cfb4b3431
Fix problem with qutesettings scope in pages
...
Fix to make sure the js bridge code is only enabled when qute: pages are shown.
Previously it would only be available to the first page (and before that it
was available to all pages).
2014-11-25 14:29:20 -06:00
Florian Bruhin
010efcee93
Don't treat floats as IPs either.
2014-11-25 21:19:24 +01:00
Florian Bruhin
683a306c51
Fix @log_signals with deleted objects.
2014-11-25 19:51:53 +01:00
Brian Jackson
4fd4376c6a
Pass around win_id so we can use it in the error message handler
...
The message class needs a win_id to know where to send error messages. Just
pass it through the jinja->js->qtwebbridge as it's just a simple int.
2014-11-25 11:19:00 -06:00
Brian Jackson
bf37d16896
View/edit browser config in a special browser page
...
Add the ability to view/edit the browser's config settings via a special
browser page.
It's very simplistic for now, but a good starting point.
Future possibilities:
* Matching config types to html input types
* colors = html colorpicker
* options with valid_values = select/multi-select
* plain text fallbacks where appropriate
* multi-line text edits for long options (i.e. host-block-lists)
* Javascript option verification
* switch from submitting changes onblur to onchange if an option passes basic
verification, etc.
2014-11-25 10:34:06 -06:00
Florian Bruhin
6973050ccc
Don't treat any valid int as IP
2014-11-24 21:49:48 +01:00
Florian Bruhin
7be32dd70c
Don't handle hexadecimal numbers as IP addresses.
...
Fixes #269 .
2014-11-24 21:47:22 +01:00
Florian Bruhin
186f292586
Remove unused import
2014-11-24 21:07:03 +01:00
Florian Bruhin
0134646c67
Basic host blocker implementation.
...
Squashed commit of the following:
commit 8d38e9c2f13778fe21cc2c1d61c5d26907b469ef
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 21:04:30 2014 +0100
Fix default adblock lists.
commit a734b87e753daec28fa0c6643af8de088041179a
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 21:04:14 2014 +0100
Fix error output on adblock errors.
commit 15bc10f605ebb86c12523bb81b55d1440fcacdbf
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 07:38:47 2014 +0100
Update adblock docks
commit 475d530ee50f52295c2171208c6a0278750cf4b4
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 07:38:39 2014 +0100
Remove adblock ram calculation
commit 0e52cc3ec93912fd3fa3ecf6de833aef0c540a60
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 07:03:11 2014 +0100
Adjust docs for hosts-file.
commit 941df242d38300d7e42a26f2e67cfd668c6f8590
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 06:55:40 2014 +0100
Add logging for host blocking.
commit 4ca1561ccf32affb8439113f4f1c222d7dee1e14
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 00:11:59 2014 +0100
Don't do adblock updates automatically after changing config.
commit 26d4e86ca393d4a1a5fd8fac7729ce9c2e7cd240
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Nov 20 19:58:32 2014 +0100
adblock: Don't delete blocked hosts between files.
commit c7af08c68adf3c135d5a2fc746eb6d3c715b0711
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Nov 20 19:58:22 2014 +0100
adblock: Add comments for rewinding.
commit 9af87313088cd79ab8c022bcee9308511d6328f0
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Nov 20 19:56:39 2014 +0100
adblock: Rewind files properly.
commit 7f3dadc04ba68c92d6789ecf5822f7b2dfc367a0
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Nov 20 19:40:18 2014 +0100
Add untested file support.
commit 334c01867d510b599d94c9397097a1d789c0c64c
Author: Florian Bruhin <git@the-compiler.org>
Date: Wed Nov 19 22:33:25 2014 +0100
adblock: Handle download errors correctly
commit 3a9af4cd4a903386dc323640f1d52e03383b3aa7
Author: Florian Bruhin <git@the-compiler.org>
Date: Wed Nov 19 22:23:04 2014 +0100
adblock: Add error handling for invalid input.
commit 5934c3c027ff9205adb512aab396ca913b31e50d
Author: Florian Bruhin <git@the-compiler.org>
Date: Wed Nov 19 22:22:47 2014 +0100
adblock: Handle done_count correctly.
commit 3ba5e83fda9b7d764bfcf1e4b1aa479daae39791
Author: Florian Bruhin <git@the-compiler.org>
Date: Wed Nov 19 21:18:10 2014 +0100
Read adblock files when they finished downloading.
commit 86a5ecf194445e2ebe0cf22b59e24223387880c5
Author: Florian Bruhin <git@the-compiler.org>
Date: Wed Nov 19 20:51:25 2014 +0100
Add hosts-file.net to host-block-lists.
commit 121f0bff953497449c32e45e671b71d954beed4c
Author: Florian Bruhin <git@the-compiler.org>
Date: Wed Nov 19 20:51:13 2014 +0100
Add zip-file support to adblock.py.
commit f1c0e67cb9d890a44a1d1f545ace997f0a453f91
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 17 07:41:14 2014 +0100
print line counts for debugging
commit 75dbb8964fd44862abc378ef26fb47f8cda6061e
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Nov 14 19:22:20 2014 +0100
Use statusbar messages for adblock
commit 74d9142d831496e02c5baae72c2723e320af1778
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Nov 14 08:34:46 2014 +0100
Add basic adblock functionality.
2014-11-24 21:05:09 +01:00
Florian Bruhin
f7fbf98667
downloads: Rewind file objects correctly on redirects.
2014-11-24 21:04:48 +01:00
Florian Bruhin
9333e92891
Remove download assertions.
2014-11-24 06:55:54 +01:00
Florian Bruhin
6856c49be9
Handle HTTP redirections in downloads.
2014-11-24 00:12:52 +01:00
Florian Bruhin
0a1bdd79da
Split some functions into smaller ones.
2014-11-23 21:26:59 +01:00
Florian Bruhin
655115858c
Handle OSError when using subprocess.
2014-11-23 18:07:05 +01:00
Florian Bruhin
8ec42908f1
Add a new option tabs->tabs-are-windows.
2014-11-21 06:22:52 +01:00
Florian Bruhin
615be2a4bc
Update docs.
2014-11-20 06:36:08 +01:00
Florian Bruhin
9c180fd91b
Add a dest-parameter to :download.
2014-11-20 06:24:15 +01:00
Florian Bruhin
7b1ea3ff40
Typo: s/similiar/similar/g
2014-11-19 22:46:52 +01:00
Florian Bruhin
2fe72d8087
Simplify utils.log.
...
The overcomplicated parsing with re didn't really give us much benefits, and
lead to exceptions and segfaults[1] (?) already, so it's best to just get rid
of it entirely.
[1] http://paste.the-compiler.org/view/26768694
2014-11-19 22:43:49 +01:00
Florian Bruhin
336bbc370e
Ignore 'content-type missing' Qt warning.
2014-11-19 22:38:56 +01:00
Florian Bruhin
283cedff15
Never get downloads from the cache.
...
This is a workaround for corrupted files because Qt somehow reads them from the
cache wrongly. See https://bugreports.qt-project.org/browse/QTBUG-42757
This might fix a part of #78 - but we'll leave this open for now, since it
might also be another issue.
2014-11-19 19:43:07 +01:00
Florian Bruhin
b8b31fd914
downloads: default autoclose=True. Fixes #265 .
2014-11-18 20:10:57 +01:00
Florian Bruhin
2a95533564
Add some assertions for 'successful'.
2014-11-18 19:56:57 +01:00
Florian Bruhin
b1d6e70c8b
Check URL validity in :download.
2014-11-18 19:49:55 +01:00
Florian Bruhin
75d1f072c2
Add a raise_cmdexc_if_invalid to urlutils.
2014-11-18 19:49:31 +01:00
Florian Bruhin
41c3a59e81
Add a :download command.
2014-11-18 19:38:34 +01:00
Florian Bruhin
8c5bc67dd0
Recalculate geometry if data changed.
2014-11-18 07:47:28 +01:00
Florian Bruhin
40918bfc98
Use _die on QNetworkReply errors.
2014-11-18 07:47:28 +01:00
Florian Bruhin
406f7b3b84
Don't try to set fileobject on errors.
2014-11-18 07:47:28 +01:00
Florian Bruhin
c6deae36b1
Fix setting of successful flag.
2014-11-18 07:47:28 +01:00
Florian Bruhin
829b8df535
downloads: Return the created DownloadItem.
2014-11-18 07:47:28 +01:00
Florian Bruhin
6301c740d1
downloads: Add a generic NetworkManager.
2014-11-18 07:47:28 +01:00
Florian Bruhin
c8a1c979e8
downloads: Whitespace change.
2014-11-18 07:47:28 +01:00
Florian Bruhin
d31e8edffc
downloads: Document _win_id.
2014-11-18 07:47:28 +01:00
Florian Bruhin
da49424836
downloads: Make it possible to set fileobj instead of name.
2014-11-18 07:47:28 +01:00
Florian Bruhin
5ad516a438
DownloadItem: Make fileobj public.
2014-11-18 07:47:28 +01:00
Florian Bruhin
f250cd41ad
DownloadItem: Add an autoclose attribute.
2014-11-18 07:47:28 +01:00
Florian Bruhin
ab0dba3344
DownloadItem: add successful attribute.
2014-11-18 07:47:28 +01:00
Florian Bruhin
b0c8ca9e1a
Escape regex correctly.
2014-11-18 07:34:50 +01:00
Florian Bruhin
cf1728de43
configtypes: Add more tests for List/UrlList.
2014-11-18 07:14:06 +01:00
Florian Bruhin
c29ae9e1d3
configtypes: Add new UrlList type.
2014-11-18 07:14:06 +01:00
Florian Bruhin
142e90cdd3
Move special network replies to their own file.
2014-11-18 07:14:06 +01:00
Florian Bruhin
c4da44e90c
configtypes: Handle none_ok differently for List.
2014-11-18 07:14:06 +01:00
Florian Bruhin
2514e66028
Don't call processEvents in NetworkManager.
...
This caused the segfaults and memory corruption issues mentioned in #256 .
2014-11-18 07:14:06 +01:00
Florian Bruhin
3622f35865
Hide 'load glyph failed' Qt warning.
2014-11-16 16:25:37 +01:00
Florian Bruhin
ecbebba9e9
hints: Ignore TypeError when disconnecting contentsSizeChanged.
...
Fixes #263 .
2014-11-16 00:05:20 +01:00
Florian Bruhin
15ce2746eb
Remove unneeded 'except RuntimeError'
2014-11-14 19:33:26 +01:00
Florian Bruhin
794df11b01
Add spacing to DownloadView.
2014-11-14 19:33:18 +01:00
Florian Bruhin
3f6a40aac9
Update cache size if storage->cache-size is changed.
2014-11-14 19:02:22 +01:00
Florian Bruhin
9bf776aee1
Fix TypeError when closing tabs with older PyQt-versions.
...
Fixes #257 .
It seems disconnecting a signal from a destroyed object gives us a
"TypeError: pyqtSignal must be bound to a QObject, not 'WebView'" instead of a
RuntimeError with older PyQt-versions (5.2.1).
2014-11-14 18:55:48 +01:00
Florian Bruhin
4925a3f36e
Ignore new statusbar questions when we're shutting down.
...
Fixes #95 .
2014-11-12 23:28:03 +01:00
Florian Bruhin
ac7b17be3a
Describe _busy attribute for prompter.
2014-11-12 23:26:43 +01:00
Florian Bruhin
a10801ef21
Don't get prompter widget when restoring None context.
...
This basically did hide #95 .
2014-11-12 20:53:47 +01:00
Florian Bruhin
812b100205
Invert background-tabs setting when Shift is pressed.
...
Closes #175 .
2014-11-12 20:37:44 +01:00
Florian Bruhin
4c8ecbb40d
Fix disconnecting from objreg for deleted objects.
2014-11-12 20:22:49 +01:00
Florian Bruhin
2419071b0f
Disconnect destroyed signal of objects deleted in objreg.
...
Fixes #205 .
2014-11-12 20:19:26 +01:00
Florian Bruhin
69803f5f87
Don't log exception during exception handling twice.
2014-11-12 20:18:36 +01:00
Florian Bruhin
e23360bb88
Don't open a new window if only commands are sent via IPC.
...
Fixes #237 .
2014-11-11 22:42:45 +01:00
Florian Bruhin
d30ec95f72
Open new window if no existing window is found on IPC.
2014-11-11 22:29:44 +01:00
Florian Bruhin
ddb52b1e17
Leave insert mode when tab is changed.
2014-11-11 21:42:53 +01:00
Florian Bruhin
b70c3754e8
downloads: Check if reply is open when doing delayed write.
...
This fixes a "QIODevice::read: device not open" warning when closing the window
while a download is active.
2014-11-11 21:40:25 +01:00
Florian Bruhin
b502280c06
Make download-manager a per-window object.
...
Fixes #228 .
2014-11-11 21:36:47 +01:00
Florian Bruhin
5fa1556588
Fix getting last main window when it was closed.
...
Fixes #242 .
2014-11-10 23:21:31 +01:00
Florian Bruhin
2278d30187
Work around pylint bug in tests.
...
See:
https://bitbucket.org/logilab/astroid/issue/36/attributeerror-starred-object-has-no
2014-11-10 23:02:38 +01:00
Florian Bruhin
6310081ef5
Clean up simple_split.
2014-11-10 23:02:34 +01:00
Florian Bruhin
c70f6f534b
Get rid of dotted_getattr.
2014-11-10 18:59:13 +01:00
Florian Bruhin
eaca891616
Log uncaught exceptions to debug log
2014-11-10 18:34:31 +01:00
Florian Bruhin
57212c8438
Fix "Exception ignored in:" warnings.
...
Fixes #245 .
2014-11-10 18:00:44 +01:00
Florian Bruhin
398da22b54
Fix splitting with split=False and maxsplit=0.
...
Since re.split behaves differently from str.split with maxsplit=0,
4e9b9baeab
broke things like ":open foo bar".
2014-11-10 10:38:19 +01:00
Florian Bruhin
96c72724ce
Handle whitespace correctly when splitting with flags.
...
Fixes #248 .
2014-11-10 08:14:45 +01:00
Florian Bruhin
1b46c96192
Fix completion when deleting command
2014-11-10 07:59:39 +01:00
Florian Bruhin
d71147898b
Move completion logic from statusbar widget to completer.
...
Fixes #247 .
2014-11-10 07:49:22 +01:00
Florian Bruhin
5e7ef5201c
Move statusbar-cmd registering.
2014-11-10 07:05:57 +01:00
Florian Bruhin
10059ce70f
Remove unneeded _get_object call.
2014-11-10 07:05:24 +01:00
Florian Bruhin
404e425a9e
Clean up faulthandler import
2014-11-09 22:59:14 +01:00
Florian Bruhin
5f9c56bcdd
Fix exception when logging Qt warning without function.
2014-11-09 22:57:39 +01:00
Florian Bruhin
bc009ae624
Fix lint in split.py
2014-11-09 22:15:44 +01:00
Florian Bruhin
326ce91eb7
Append hint elements inside body.
...
Fixes #226 .
2014-11-09 22:02:08 +01:00
Florian Bruhin
40be804ee6
Don't handle "foo: bar" as URL.
...
Fixes #227 .
2014-11-09 21:54:15 +01:00
Florian Bruhin
bf752f6ea4
Update pyPEG2 install instructions.
...
Fixes #243 .
2014-11-09 21:48:33 +01:00
Florian Bruhin
b7c1f32922
Strip pattern when completing.
2014-11-09 20:47:39 +01:00
Florian Bruhin
f8dc2a9fb4
Add additional split test with flags.
2014-11-09 20:47:27 +01:00
Florian Bruhin
4e9b9baeab
Split commands with split=False correctly.
...
Fixes #231 .
2014-11-09 20:46:21 +01:00
Florian Bruhin
a86279df5e
Set cursor part correctly if the cursor is at the end.
2014-11-09 20:45:47 +01:00
Florian Bruhin
f689c89316
Merge branch 'shlex'
...
Fixes #122 .
Fixes #232 .
2014-11-09 18:25:51 +01:00
Florian Bruhin
61943b5a77
Fix completion
2014-11-09 18:12:36 +01:00
Florian Bruhin
31ee458e56
Hide _GTK_LOAD_ICONTHEMES Qt error
2014-11-08 20:03:33 +01:00
Florian Bruhin
2b8d6c5dd7
Use a for loop
2014-11-06 09:02:21 +01:00
Florian Bruhin
5fe04a6aec
Make completion work more or less
2014-11-06 08:26:01 +01:00
Florian Bruhin
ac61422059
Fix splitting of whitespace at EOL
2014-11-06 08:25:46 +01:00
Florian Bruhin
d730471fd7
Start using keep=True for commandline.
2014-11-06 07:15:02 +01:00
Florian Bruhin
76b72d3438
Try splitting with whitespace at next token.
2014-11-06 07:14:36 +01:00
Florian Bruhin
ca1ca7db36
shlexer cleanup
2014-11-06 07:13:58 +01:00
Florian Bruhin
77949c8d33
Get rid of continue
2014-11-06 06:46:21 +01:00
Florian Bruhin
cb24ec58cc
Use yield
2014-11-06 06:44:23 +01:00
Florian Bruhin
9591e86054
cleanup state=None
2014-11-05 23:48:57 +01:00
Florian Bruhin
e6f4ac9b99
cleanup
2014-11-05 23:47:48 +01:00
Florian Bruhin
807e0944b6
Fix broken test case
2014-11-05 21:49:15 +01:00
Florian Bruhin
40a1c4a2d9
Remove newline test
2014-11-05 21:44:52 +01:00
Florian Bruhin
1d9b60d733
Fix some tests
2014-11-05 21:42:27 +01:00
Florian Bruhin
714ba530d3
Add tests for keep=True
2014-11-05 07:58:28 +01:00
Florian Bruhin
e68c28ebfc
Adjust test case formatting
2014-11-05 07:46:28 +01:00
Florian Bruhin
ac355b1c7c
Use vdebug level.
2014-11-05 07:42:21 +01:00
Florian Bruhin
22da17bbca
Add a keep-mode to shlexer.
2014-11-05 07:41:17 +01:00
Florian Bruhin
9ed466b536
Add python shlex tests
2014-11-04 21:08:26 +01:00
Florian Bruhin
c308de95d1
Clean up tests
2014-11-04 21:06:50 +01:00
Florian Bruhin
82e95d82d1
cleanup
2014-11-04 21:06:43 +01:00
Florian Bruhin
84916448a9
Use iterator to read chars
2014-11-04 20:41:29 +01:00
Florian Bruhin
409eba76ca
Handle safe parsing directly in ShellLexer
2014-11-04 20:24:42 +01:00
Florian Bruhin
95f7940996
Get rid of _get_lexer.
2014-11-04 20:13:38 +01:00
Florian Bruhin
430ef5c935
Whitespace cleanup
2014-11-04 20:13:31 +01:00
Florian Bruhin
89a2057cac
Simplify eof handling
2014-11-04 20:09:45 +01:00
Florian Bruhin
cfafc2e235
Get rid of get_token
2014-11-04 20:08:14 +01:00
Florian Bruhin
9a5df13639
Use logging for debug
2014-11-04 20:06:58 +01:00
Florian Bruhin
cb76a100c2
Assume whitespace_split=True, get rid of wordchars/pushback
2014-11-03 21:48:10 +01:00
Florian Bruhin
9180a8b0bb
shlex: Some lint cleanup
2014-11-03 21:43:34 +01:00
Florian Bruhin
b8d9f3b041
shlex: Remove lineno/commenters
2014-11-03 21:37:36 +01:00
Florian Bruhin
861705f655
shlex: Assume posix=True
2014-11-03 21:35:47 +01:00
Florian Bruhin
cab18c248c
shlex: Remove unneeded stuff
2014-11-03 21:30:39 +01:00
Florian Bruhin
3fa8efc34b
Initial shlex fork
2014-11-03 21:27:07 +01:00
Florian Bruhin
45bdf166f8
Add vdebug logging for getting completion part.
...
See #232 .
2014-11-03 19:35:09 +01:00
Florian Bruhin
ef96cd9d02
Add workaround for hang on messages during QNAM init.
...
See http://www.riverbankcomputing.com/pipermail/pyqt/2014-November/035045.html
2014-11-02 22:03:13 +01:00
Florian Bruhin
f705194c00
Fix an exception related to handling IPC connections.
...
See http://paste.the-compiler.org/view/77f58b69
2014-11-02 21:53:12 +01:00
Florian Bruhin
8e713abadf
Add some logging for #232
2014-11-02 20:30:00 +01:00
Florian Bruhin
c3a83bc412
Add hover description to docstring ( #238 )
2014-11-02 20:08:40 +01:00
Florian Bruhin
7b670b134d
Small whitespace fix for #238
2014-11-02 20:04:41 +01:00
Florian Bruhin
07357a81e9
Merge branch 'master' of https://github.com/rikn00/qutebrowser into rikn00-master
2014-11-02 20:00:33 +01:00
rikn00
33b6e17772
Remove unneeded change to ClickTarget
2014-11-02 20:49:18 +02:00
Florian Bruhin
e911a2bd6d
Fix lint
2014-11-02 19:16:13 +01:00
Florian Bruhin
6ede565ffd
Merge branch 'new-crash-dialog'
...
Closes #56 .
2014-11-02 19:09:57 +01:00
Florian Bruhin
2cb383a7d0
Handle URLs opened via QDesktopServices.
2014-11-02 19:09:36 +01:00
Florian Bruhin
adfd1e5b9d
Add text about stacktrace.asciidoc in crash dialog.
...
Closes #140 .
2014-11-02 19:06:43 +01:00
rikn00
4d101eea59
Improve hovering a hint
2014-11-02 16:37:34 +02:00
rikn00
84759a4928
Add support to hover mouse over a hint
2014-11-01 01:54:19 +02:00
Florian Bruhin
6e4759b65a
Better paste metainfo
2014-10-31 07:57:50 +01:00
Florian Bruhin
1c32e72e37
Hide crash dialog before reporting.
...
This makes it feel snappier.
2014-10-31 07:36:35 +01:00
Florian Bruhin
589187ee6b
Set some properties.
2014-10-31 07:13:32 +01:00
Florian Bruhin
a2809e76bb
Handle --debug specially
2014-10-31 07:06:28 +01:00
Florian Bruhin
da0f433260
Start new crash dialog
2014-10-31 06:53:55 +01:00
Florian Bruhin
904d84db7e
Set split=False for :quickmark-load.
...
See #231 .
The completion still hides on the space and reappears on the first letter of
the second word, but it's a start.
2014-10-29 22:55:03 +01:00
Florian Bruhin
8e0e33e89a
Use QWebElement API to set hint elem style.
...
See #225 .
2014-10-29 22:50:29 +01:00