Ryan Roden-Corrent
2965f954ba
Resolve empty completion.timestamp_format crash.
...
Resolves #3628 .
2018-03-01 07:54:20 -05:00
Florian Bruhin
7fd0b52360
Add missing newline
...
[ci skip]
2018-02-28 08:11:23 +01:00
Florian Bruhin
8ea6cf352b
Remove unneeded version check
...
The option isn't going to magically change as the config system prevents that.
2018-02-28 08:08:47 +01:00
Florian Bruhin
f3aaa1084a
Migrate spell tests to unittests
2018-02-28 08:08:23 +01:00
Florian Bruhin
824825e67d
Make sure we only show dictionary warnings once
...
After 3956f81e73
where this was made a function,
the warning was shown twice, causing AppVeyor to fail.
2018-02-28 08:01:11 +01:00
Florian Bruhin
889b03169a
Upgrade to PyQt 5.10.1
2018-02-28 06:28:01 +01:00
Florian Bruhin
e6aa6b8235
Add missing docs for {url:host}
2018-02-27 17:29:36 +01:00
Florian Bruhin
5eb340d481
Add missing tests for completions
2018-02-27 15:55:00 +01:00
Florian Bruhin
60f0175a36
Fix getting customized options
...
This was broken with per-domain settings
Fixes #3649
2018-02-27 15:39:57 +01:00
Florian Bruhin
b906d92053
Remove now uneeded pylint ignore
2018-02-27 10:06:11 +01:00
Florian Bruhin
93ff9006ad
Merge remote-tracking branch 'origin/pr/3643'
2018-02-27 06:24:33 +01:00
Florian Bruhin
bc3e1b316d
Use "command -v" instead of "which" in bash scripts
...
shellcheck recently added SC2330 checking for this. "which" is non-standard, and
not guaranteed by POSIX to have a meaningful exit status, while "command -v" is
specified by POSIX: https://stackoverflow.com/q/592620
2018-02-27 06:23:00 +01:00
Florian Bruhin
53fb5af99c
Paste version information privately
2018-02-26 23:09:55 +01:00
pyup-bot
416712d2dc
Update pytest from 3.4.0 to 3.4.1
2018-02-26 17:04:18 +01:00
pyup-bot
3dedd0d178
Update hypothesis from 3.45.2 to 3.46.0
2018-02-26 17:04:17 +01:00
Florian Bruhin
cdf6f52d15
Update changelog
...
[ci skip]
2018-02-26 08:15:34 +01:00
Florian Bruhin
6f9c62b24a
Improve marker descriptions
2018-02-26 07:56:51 +01:00
Florian Bruhin
353753c03c
Merge remote-tracking branch 'origin/pr/3620'
2018-02-26 07:26:24 +01:00
Florian Bruhin
de0aa32c11
Merge remote-tracking branch 'origin/pr/3626'
2018-02-26 07:20:34 +01:00
Florian Bruhin
edd2f89d5d
Update changelog
2018-02-26 07:16:55 +01:00
Florian Bruhin
bd79d7e071
Merge remote-tracking branch 'origin/pr/3637'
2018-02-26 07:16:19 +01:00
Jay Kamat
76bf35cbdd
Add qtbug60673 markers to relevant tests
2018-02-25 19:00:15 -05:00
Jay Kamat
7a8fa5f46e
Implement deduplication of searches on webkit
2018-02-25 18:40:16 -05:00
Anton S
eeb565319f
Handle invalid URLs on Apple events
2018-02-25 23:58:49 +03:00
Florian Bruhin
3df066c694
Update changelog
2018-02-25 21:10:35 +01:00
Florian Bruhin
54713f57e5
Merge remote-tracking branch 'origin/pr/3624'
2018-02-25 21:09:56 +01:00
Florian Bruhin
a98466336e
Update changelog
2018-02-25 19:58:23 +01:00
Florian Bruhin
52b5492c6a
Merge branch 'per-url'
2018-02-25 19:44:51 +01:00
Florian Bruhin
ba88fc43e0
Stabilize error page test
2018-02-25 19:40:38 +01:00
Florian Bruhin
abf4d10d5b
Add a test for :set -p with a pattern
2018-02-25 19:33:27 +01:00
Florian Bruhin
4c147b77c1
Add a test for the error page workaround
2018-02-25 16:35:02 +01:00
Florian Bruhin
a32d74e983
Fix lint
2018-02-25 16:08:15 +01:00
Florian Bruhin
d44ff5ba01
Don't load the URL immediately on :undo
...
On some pages like Qt's Gerrit, Indiegogo or Telegram Web, this caused a crash
with QtWebEngine and Qt 5.10.1 in
QtWebEngineCore::WebContentsAdapter::webContents().
I'm not sure what causes the crash exactly, but I'm guessing it's some kind of
race condition between loading the URL initially and deserializing the history,
which both ends up loading the URL.
Since restoring the history means we end up on the given URL anyways, let's just
not open the URL beforehand, which seems to fix this.
Fixes #3619 .
2018-02-25 15:55:20 +01:00
Florian Bruhin
97e00ba4b5
Only reload after setting changes when needed
...
Apparently, things work fine with Type.link_clicked even if we don't emit
predicted_navigation there...
2018-02-25 15:17:03 +01:00
Florian Bruhin
eade305965
Add a predicted_navigation signal
...
This is emitted when we know that we're going to visit some URL, but Qt doesn't
know yet. This way, we can change the settings early, and since we know which
settings have actually changed, prevent a change needing a reload in
_on_navigation_request.
2018-02-25 15:04:04 +01:00
Florian Bruhin
65a62b67a5
Go back to using tab.openurl on config changes
...
This seems to work most reliably at the moment...
2018-02-25 14:45:30 +01:00
Florian Bruhin
638e880604
Improve workaround for missing error pages
2018-02-25 14:45:30 +01:00
Florian Bruhin
bfb3a6594f
Try using tab.reload() on setting changes instead
2018-02-25 14:45:19 +01:00
Florian Bruhin
08bc55995b
First attempt at reloading pages after setting changes
2018-02-25 14:45:09 +01:00
Jay Kamat
4602afe770
Add a webengine duplicate search test
2018-02-23 18:13:20 -05:00
Jay Kamat
820ffed07f
Remove test blacklists for 5.10
2018-02-23 18:06:57 -05:00
Jay Kamat
f926e7b850
Emulate webkit duplicate search behavior on webengine
2018-02-23 18:06:21 -05:00
Florian Bruhin
2c96446bb9
Track which settings changed for a URL
...
This is currently only used so only changed settings are logged, but will used
for more in the next commit.
2018-02-23 18:11:33 +01:00
Florian Bruhin
75b65e2f11
Simplify attribute handling in Web(Kit|Engine)Settings
...
Let's just have lists in _ATTRIBUTES for WebEngineSettings as well, that allows
us to share some more code.
2018-02-23 17:59:12 +01:00
Florian Bruhin
fc6a0dbe64
Show a simple error page on loading errors without JS
...
We can't tell what exactly the error is, but it's surely better than nothing.
2018-02-23 17:29:17 +01:00
Florian Bruhin
98b2b67b8b
Add tests for per-URL JavaScript settings
2018-02-23 15:08:07 +01:00
Florian Bruhin
3956f81e73
Refactor websettings
...
This refactors the whole web(kit|engine|) settings mess a bit so there's a
Web(Kit|Engine)Settings object for (non-static) settings set on a
QWeb(Engine)Settings object in Qt. Everything else is set on module-level a bit
less declaratively.
The whole inheritance mess is gone, and we can now also construct a
Web(Kit|Engine)Settings object for a given tab.
Fixes #2701
2018-02-23 09:51:28 +01:00
Florian Bruhin
49ead32f13
Update urlmatch tests for Chromium changes
...
See:
0ab1294c92
%5E%21/
https://bugs.chromium.org/p/chromium/issues/detail?id=812543
2018-02-23 06:31:49 +01:00
Jay Kamat
cb8d62866c
Blacklist qt versions 5.8.0 through 5.9.4 for caret tests
2018-02-22 18:34:15 -05:00
Jay Kamat
7ecbae765d
Use baseNode over anchorNode in follow-selected
...
baseNode isn't documented anywhere that I can find, but it seems to be
getting us what anchorNode used to get us.
2018-02-22 16:42:58 -05:00