Commit Graph

16828 Commits

Author SHA1 Message Date
Florian Bruhin
ee5d98d5d0 Make sure PDF.js doesn't try to use the Fetch API
Closes #4235
2018-09-22 20:10:57 +02:00
Florian Bruhin
22a4aaa73c Handle empty session files gracefully
There's still much more to do for #1926, but with this we at least handle one
common case gracefully.

No tests because test_sessions.py is still in a kinda bad place...
2018-09-22 19:29:36 +02:00
Florian Bruhin
737db48c14 build_release: Patch macOS app to save some space 2018-09-22 18:22:48 +02:00
Ryan Roden-Corrent
0fed563a02
Use QSyntaxHighlighter for completion.
This is a more "Qt" way of highlighting syntax, and works around the
problems of #4199 without resorting to complicated html escaping.

The tests are more straightforward with less mocking, but do involve
testing a private class.
2018-09-22 12:13:28 -04:00
Florian Bruhin
b63af145d9 Fix shutil call in update_3rdparty.py
shutil.unpack_archive takes a filename.
2018-09-22 09:58:09 +02:00
Florian Bruhin
d97e1741e0 Remove most macOS patching
Closes #4232
2018-09-22 09:57:49 +02:00
Florian Bruhin
442ad05dc9 Use develop branch of PyInstaller again
https://github.com/pyinstaller/pyinstaller/pull/3661 was merged into
PyInstaller, so we now can use that directly.

See #4232

This reverts commit b89b38fd3c.
2018-09-22 09:53:32 +02:00
Jay Kamat
f0568ece57
Make convert_js_arg public and use it for dispatch_element in webkit 2018-09-21 18:08:04 -07:00
Jay Kamat
1ea45780df
Only repaint tabs when they are needed 2018-09-21 00:15:02 -07:00
Jay Kamat
84a8845905
Use qt to equally size tabs 2018-09-20 23:21:11 -07:00
Florian Bruhin
0147ff192a Update docs 2018-09-20 20:27:24 +02:00
Florian Bruhin
bee806b2e2 Merge remote-tracking branch 'origin/pr/4231' 2018-09-20 20:26:21 +02:00
zaowen
0680f84ca4 fix auto merge problem 2018-09-20 11:56:12 -06:00
Zarthur
b41d7ba203
Merge branch 'master' into master 2018-09-20 11:02:27 -06:00
zaowen
a75587f270 blah 2018-09-20 10:51:33 -06:00
zaowen
5ecfe43ebb ci dumb 2018-09-20 10:49:37 -06:00
zaowen
c4cca4755e Add adblock import directory unit test 2018-09-20 10:38:50 -06:00
Jay Kamat
1da2bdb1e5
Add bubbles, cancelable, and composed options to dispatch_event 2018-09-19 23:53:53 -07:00
Florian Bruhin
b4a0e16db9 Fix appending text
This was broken in 6e954a1596.
2018-09-19 21:56:39 +02:00
Florian Bruhin
d4e388f9d5 Do exist_ok at the right place... 2018-09-19 15:14:24 +02:00
Florian Bruhin
bcf9b0ec37 build_release: Set exist_ok 2018-09-19 14:17:02 +02:00
Olmo Kramer
5bf6c97a68
Add bindings to toggle content.images 2018-09-19 12:48:13 +02:00
Florian Bruhin
f05efcc47f build_release: Fix running with --no-asciidoc 2018-09-19 11:39:21 +02:00
Florian Bruhin
7763287b10 build_release: Remove patch_windows
Looks like this works fine with PyInstaller 3.4
2018-09-19 11:14:38 +02:00
Florian Bruhin
7a8110c83e build_release: Add --no-asciidoc 2018-09-19 11:13:01 +02:00
Florian Bruhin
9417ed6c8e build_release: Run smoke tests before building installers 2018-09-19 11:10:17 +02:00
Ryan Roden-Corrent
2eacf4bd94
Clean up completiondelegate tests.
Respond to code review comments to reduce mocking and clean up comments.
2018-09-18 20:40:06 -04:00
Florian Bruhin
51c9e0c1c6
Merge pull request #4029 from sim590/qurlshare-userscript
userscripts: README page and qurlshare userscript
2018-09-18 21:05:24 +02:00
Florian Bruhin
ac5238a797
Merge pull request #4207 from wildente/master
add proper multiline support for qute-pass
2018-09-18 21:03:06 +02:00
Florian Bruhin
94117bc6b2 Update docs 2018-09-18 20:29:28 +02:00
Florian Bruhin
93ec3e3fad Make some stuff in adblock.py private 2018-09-18 20:27:58 +02:00
Florian Bruhin
1a0c6964e3 Fix lint 2018-09-18 20:25:58 +02:00
Ellis
398519762b Merge branch 'master' of https://github.com/qutebrowser/qutebrowser 2018-09-18 13:33:30 -04:00
Ellis
343de2db51 Added case for whitelisted url with * wildcard 2018-09-18 13:33:05 -04:00
Ellis
2dec2b0c53 Reworded docs in whitelist config setting 2018-09-18 13:21:22 -04:00
Ellis
c3d8f66673 Renamed is_whitelisted_host to is_whitelisted_url, removed unused try block 2018-09-18 13:17:02 -04:00
Florian Bruhin
4c221d60f4
Merge pull request #4228 from qutebrowser/pyup-scheduled-update-2018-09-17
Scheduled weekly dependency update for week 37
2018-09-18 18:35:58 +02:00
Florian Bruhin
c56b950cc5 Don't open any error pages in test_invocations 2018-09-18 17:25:24 +02:00
Florian Bruhin
46435bcd2f Use always/never instead of force-on/force-off 2018-09-18 11:12:50 +02:00
Florian Bruhin
45529c59a9 Add QtWebKit warning to backendproblem dialogs 2018-09-18 08:53:13 +02:00
Florian Bruhin
ca5a831f5f Remove wrong gitignore line 2018-09-18 08:53:13 +02:00
Florian Bruhin
5218d35385 Also style h2 in styled.html 2018-09-18 08:53:13 +02:00
Florian Bruhin
f2e91cc82e Add warnings for QtWebKit and old Qt
See #3839, #4039
2018-09-18 08:53:11 +02:00
Florian Bruhin
d759846189 Remove old qute_backend_warning 2018-09-18 08:52:50 +02:00
Florian Bruhin
4d0a776599 Upgrade tox 2018-09-17 22:47:56 +02:00
Florian Bruhin
86aef26686 Downgrade and pin pytest 2018-09-17 22:47:44 +02:00
Florian Bruhin
7cf76c622f Delete old pylint-master requirement files 2018-09-17 22:46:38 +02:00
Florian Bruhin
ce532654cb Clean up _open_special_pages() 2018-09-17 22:05:07 +02:00
Florian Bruhin
8211183567 Work around Travis CI crash
test_caret.py crashes on Travis with this stack:

    ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
    ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
    ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
    QSGBatchRenderer::Renderer::renderBatches() () from .../site-packages/PyQt5/Qt/lib/libQt5Quick.so.5
    QSGBatchRenderer::Renderer::render() () from .../site-packages/PyQt5/Qt/lib/libQt5Quick.so.5
    QSGRenderer::renderScene(QSGBindable const&) () from .../site-packages/PyQt5/Qt/lib/libQt5Quick.so.5
    QSGRenderer::renderScene(unsigned int) () from .../site-packages/PyQt5/Qt/lib/libQt5Quick.so.5
    QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from .../site-packages/PyQt5/Qt/lib/libQt5Quick.so.5
    QQuickWindowPrivate::renderSceneGraph(QSize const&) () from .../site-packages/PyQt5/Qt/lib/libQt5Quick.so.5
    QQuickRenderControl::render() () from .../site-packages/PyQt5/Qt/lib/libQt5Quick.so.5
    ?? () from .../site-packages/PyQt5/Qt/lib/libQt5QuickWidgets.so.5
    ?? () from .../site-packages/PyQt5/Qt/lib/libQt5QuickWidgets.so.5
    QObject::event(QEvent*) () from .../site-packages/PyQt5/Qt/lib/libQt5Core.so.5
    QWidget::event(QEvent*) () from .../site-packages/PyQt5/Qt/lib/libQt5Widgets.so.5
    QQuickWidget::event(QEvent*) () from .../site-packages/PyQt5/Qt/lib/libQt5QuickWidgets.so.5
    ?? () from .../site-packages/PyQt5/Qt/lib/libQt5WebEngineWidgets.so.5
    QApplicationPrivate::notify_helper(QObject*, QEvent*) () from .../site-packages/PyQt5/Qt/lib/libQt5Widgets.so.5
    QApplication::notify(QObject*, QEvent*) () from .../site-packages/PyQt5/Qt/lib/libQt5Widgets.so.5
    sipQApplication::notify(QObject*, QEvent*) () from .../site-packages/PyQt5/QtWidgets.so
    QCoreApplication::notifyInternal2(QObject*, QEvent*) () from .../site-packages/PyQt5/Qt/lib/libQt5Core.so.5
    QTimerInfoList::activateTimers() () from .../site-packages/PyQt5/Qt/lib/libQt5Core.so.5
    ?? () from .../site-packages/PyQt5/Qt/lib/libQt5Core.so.5
    g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from .../site-packages/PyQt5/Qt/lib/libQt5Core.so.5
    QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from .../site-packages/PyQt5/Qt/lib/libQt5Core.so.5
2018-09-17 20:56:34 +02:00
Florian Bruhin
7858beee06 Fix lint 2018-09-17 20:33:37 +02:00