Florian Bruhin
a8bbd5fa4d
Update docs for TimestampTemplate
2018-03-21 10:14:48 +01:00
Florian Bruhin
f9d976880e
Disable shared web workers on Qt < 5.11
2018-03-20 21:14:04 +01:00
Florian Bruhin
0ee9d73fe2
Merge remote-tracking branch 'origin/pr/3692'
2018-03-20 07:05:43 +01:00
Florian Bruhin
32145d579b
Merge branch 'pyup-scheduled-update-2018-03-19'
2018-03-20 07:00:37 +01:00
Florian Bruhin
a374698693
Fix lint
2018-03-20 06:38:11 +01:00
Florian Bruhin
32df91fbae
Merge remote-tracking branch 'origin/pr/3604'
2018-03-20 06:24:57 +01:00
Jay Kamat
f6c00babbe
Prevent minimumTabsizeHint from being called when booting on mac
...
Move workaround higher up to the start of tabSizeHint
2018-03-19 18:29:51 -04:00
Florian Bruhin
7eaad59be3
caret: Ignore None value from setInitialCursor
...
See #3583
2018-03-19 22:32:26 +01:00
Florian Bruhin
9031b3e535
Remove @pyqtSlot for on_download_requested
...
For some reason, this breaks when test_pac is run...
2018-03-19 20:17:15 +01:00
Florian Bruhin
f5d7605ae0
Add a :scroll-to-anchor command
...
Fixes #2784
2018-03-19 19:18:33 +01:00
Florian Bruhin
e50068021d
Use signals to update statusbar in caret mode
...
This means we don't use objreg anymore to get the status bar, and also makes the
bar more accurately reflect reality.
See #3583
2018-03-19 18:44:06 +01:00
Florian Bruhin
e43f0a61b9
Move all QWebEngineScript related code out of webenginesettings
...
It looks like there's some issue with QWebEngineScript in a profile, at least
with older Qt versions...
See #3497 , #3377
2018-03-19 17:33:02 +01:00
Florian Bruhin
da8b6fb50a
Decrease maximum repetitions for QtWebEngine scrolling
...
At least for Qt debug builds, 5000 seems to be much too much.
See #3661
2018-03-19 14:11:01 +01:00
Florian Bruhin
f28a39571c
Fix caret.js indent
2018-03-19 11:49:24 +01:00
Florian Bruhin
39d25c1127
Update _chromium_version comment
...
[ci skip]
2018-03-19 11:15:19 +01:00
Florian Bruhin
6465d64738
Fix lint
2018-03-19 10:22:21 +01:00
Florian Bruhin
a4530797ea
Add a ProfileSetter class to webenginesettings
...
Easier than passing a profile around everywhere.
2018-03-19 09:40:57 +01:00
Florian Bruhin
1b84bbd61d
Refactor initialization of internal JavaScript
...
- Initialize JavaScript in webenginesettings.py instead of webenginetab.py
- Move JavaScript snippet into a .js file
- Make sure scripts can be re-run and do nothing if already run.
- Run scripts on DocumentCreation *and* DocumentReady. Closes #3717 .
- Give each script an unique name for debugging.
- Also make custom stylesheets work on chrome:// pages
2018-03-19 09:14:55 +01:00
Florian Bruhin
f2864c6253
Break greasemonkey_wrapper lines differently
2018-03-19 09:13:50 +01:00
AlternateData
62d30fe589
use 0 and maxint as bounds
2018-03-18 10:06:41 +01:00
AlternateData
a52d18b700
Add correct maximum and minimum value for tabs.switching_delay
2018-03-17 17:59:31 +01:00
Florian Bruhin
f7074b80d0
Fix lint
2018-03-16 09:07:25 +01:00
Florian Bruhin
01845faac5
Set window title/icon on correct object
...
This was a regression introduced in #3613 .
Fixes #3727
2018-03-16 08:20:27 +01:00
Florian Bruhin
6f8eb419ae
Emit predicted_navigation when loading sessions
...
This avoids reloads (because of changed settings) after a session has been
loaded.
Related to #3718
2018-03-15 14:51:36 +01:00
Florian Bruhin
1e4b80d1ac
Don't emit predicted_navigation when reloading because of it
...
When we reload because of a config change in _on_load_finished, we can't use
self.reload() as no URL is set yet. Instead, we call self.openurl with the
current URL.
However, we need to make sure we don't emit predicted_navigation again at that
point.
This should (finally) fix #3718
2018-03-15 14:44:44 +01:00
Florian Bruhin
5dbda3016b
Clean up predicted_navigation handling
...
This also adds some more logging for #3718
2018-03-15 14:16:10 +01:00
Florian Bruhin
a60bae30b7
Release v1.2.1
...
(cherry picked from commit 6145786e461b104f2b23faf46a24172ba81fbeea)
2018-03-14 20:20:20 +01:00
Florian Bruhin
84c7c37e8e
Swap Control/Meta back on macOS
...
Fixes #3697
(cherry picked from commit fd9e7bed7fd9842eac22ed304a094a92cc953577)
2018-03-14 19:40:56 +01:00
Florian Bruhin
a22f973c99
Don't emit predicted_navigation for reloads at all
...
When we reload a page because of a config change, we won't get another
titleChanged signal (at least sometimes).
Also, the predicted_navigation signal is worthless when reloading anyways, as
we're going to load the same URL and not something different.
Fixes #3718
2018-03-14 18:19:11 +01:00
Florian Bruhin
5c73910a33
Revert "Insert qutebrowser scripts on DocumentCreation and DocumentReady"
...
This reverts commit fac0f66e52
.
2018-03-14 10:19:23 +01:00
Florian Bruhin
c0fdf19756
Merge remote-tracking branch 'origin/pr/3704'
2018-03-14 08:06:24 +01:00
Florian Bruhin
fac0f66e52
Insert qutebrowser scripts on DocumentCreation and DocumentReady
...
In #3521 , the injection point was changed to DocumentReady as a fix for
https://bugreports.qt.io/browse/QTBUG-66011 / #3490 .
However, that prevents e.g. using hints before a page is fully loaded, which can
be annoying on a mobile connection.
Instead, just run the scripts twice, which won't hurt and makes sure they're
available.
2018-03-14 07:50:41 +01:00
Jay Kamat
7278b7c2e5
Improve wording of documentation
2018-03-13 22:25:26 -04:00
Jay Kamat
a6e94cf30c
Fix hinting in frames on qt5.9 with input ranges
2018-03-13 18:54:08 -04:00
Florian Bruhin
8b9c6ccee2
Split up BaseKeyParser.handle into functions
2018-03-13 14:40:54 +01:00
Florian Bruhin
b88ac51d25
Fall back to non-keypad keys without any keypad bindings
...
Fixes #3701
2018-03-13 14:40:54 +01:00
Ryan Roden-Corrent
27966c94a6
Fix up editor backup patch.
...
- Use qutebrowser-editor-backup as the backup file prefix
- Consistently use message.error instead of cmdexc
- Improve test coverage for the backup function
- Fix lint errors in the unit test code
2018-03-13 07:34:18 -04:00
Florian Bruhin
1c9598d2c0
Don't emit predicted_navigation with invalid URLs
...
Fixes #3706
2018-03-13 09:46:09 +01:00
Florian Bruhin
dcd6bcd2f4
Apply changes from PR review
2018-03-13 08:47:41 +01:00
Florian Bruhin
c590648077
Merge remote-tracking branch 'origin/pr/3613'
2018-03-13 08:39:36 +01:00
Florian Bruhin
14d6e737fa
Merge remote-tracking branch 'origin/pr/3606'
2018-03-13 07:37:57 +01:00
Ryan Roden-Corrent
38bb3673db
Preserve a backup if editor callback fails.
...
Currently the editor deletes its temp file whenever editing is finished.
With this patch, the file will not be deleted if the editor callback
encounters an exception.
One example is if the tab containing the edited element is closed. The
editor errors with "Edited element vanished", but with this patch it
will also print "Backup at ..." so the user does not lose their work.
Resolves #1596 .
Supersedes #3641 , using the cleaner approach started in #1677 .
2018-03-12 08:34:50 -04:00
Florian Bruhin
8c5b7bcd03
Fix lint
2018-03-12 08:51:36 +01:00
Florian Bruhin
9941812127
Normalize keys read from the config
...
This makes sure the internal bindings.commands object only contains normalized
key sequences.
Fixes #3699
2018-03-12 08:00:56 +01:00
Florian Bruhin
990c0707f4
Make from_obj() work for List/Dict configtypes
...
We can't easily make it work for ListOrValue as we don't know which of both we
get at this point.
2018-03-12 08:00:18 +01:00
Florian Bruhin
d72691ee49
Simplify ListOrValue configtype
2018-03-12 07:38:56 +01:00
Florian Bruhin
591883656e
Merge remote-tracking branch 'origin/pr/3700'
2018-03-11 14:34:06 +01:00
Roman Bogorodskiy
d0342bffc4
Show version for POSIX OSes
...
For POSIX OSes other than Linux and macOS set OS Version to
platform.uname() instead of showing 'OS Version: ?'.
2018-03-11 13:28:53 +04:00
Florian Bruhin
d9f7d401c6
Handle ImportError in version.opengl_vendor
...
Fixes #3698
2018-03-11 08:15:22 +01:00
Florian Bruhin
5f01c7e79a
Release v1.2.0
2018-03-09 22:40:59 +01:00