Commit Graph

2561 Commits

Author SHA1 Message Date
qutebrowser bot f4ba52d33f Release v3.0.2 2023-10-19 18:39:49 +00:00
Florian Bruhin b30b569fdc Update PyQt requirements from main
See 315157a3ca8a56db6829a4282463a33ef10ffe70
2023-10-19 20:35:33 +02:00
qutebrowser bot b3b1384037 Release v3.0.1 2023-10-19 18:15:42 +00:00
toofar 87ab35995a userscripts: run view_in_mpv jseval in main world
1. run jseval in main world: the script adds an element that calls the
   `restore_video` function. This was failing with a "not found" message
   on webengine, presumably because the dom click handler runs in the
   main world and the function was over in the jseval world. The the
   script predates webengine which is the backend that implements the
   worlds.
2. remove a console log message, seems to be just noise and easy enough
   to add back later
3. remove href attribute of the restore video link: this seemed to be
   causing the `restore_video` method to be called twice. The second
   time with `this` as the global Window object, which was causing an
   error because that has a null `parentNode` attribute.
4. added the `cursor: pointer` style that was needed since the element
   didn't have an href anymore
5. change the mpv flags `--terminal` -> `--quiet`. This means we get
   error messages (eg from yt-dlp) in error logs and in the `:process`
   page now. It can get a bit spammy though if you are running from a
   terminal. I'm getting a log of keepalive warning and error logs from
   ffmpeg. On the other hand it's really annoying to see a "process
   failed, see :process for details" and having no error messages in
   there.

Fixes: #7838
(cherry picked from commit d4a7619f9c)
2023-09-10 12:09:44 +02:00
qutebrowser bot b11ead8f42 Release v3.0.0 2023-08-18 14:15:48 +00:00
Florian Bruhin 967d0ce291 Revert "Release v3.0.0"
This reverts commit f3692d8f28.
2023-08-18 16:14:34 +02:00
qutebrowser bot f3692d8f28 Release v3.0.0 2023-08-18 13:38:14 +00:00
Florian Bruhin ab820fe8a0 ci: Set up asciidoc properly for releases 2023-08-17 12:39:00 +02:00
Florian Bruhin a25e7c2b64 Fix remaining references to old commands
Follow-up to #7809, see #7214
2023-08-15 20:15:48 +02:00
qutebrowser bot 9115a6212a Update dependencies 2023-08-14 04:21:37 +00:00
bitraid 7599dbc209 nsis: custom error message for Qt5 OS version check
The CheckPlatform macro will prompt the user user to use the 32bit installer
if they are on a 32bit system. But we don't provide a 32bit installer anymore.

This commit changes the OS version check for Qt5 builds to be based on checking
version numbers ourselves too, so that we can have our own error message.

Also moves the Qt5 conditionals to be compile time ones.
2023-08-13 15:14:24 +12:00
toofar 6f7b76f066 nsis: allow Win10 versions back to 1607 2023-08-13 15:14:24 +12:00
toofar c1841c7948 nsis: remove arch from binary path string
We dropped 32bit support in #7804 and as a result removed the arch
suffix from the binary that pyinstaller produces. This commit removes it
form the lookup path in the installer too.

Note that we are leaving the arch string in the installer itself for
now. Mostly because it'll be removed as part of a later change when the
installer itself is refreshed. But it might also be useful to clarify in
the installer names what the arch is? Maybe, that reasoning might not
fit with the previous change to remove the arch strings.
2023-08-13 15:14:24 +12:00
bitraid f903ae4985 nsis: minimum OS version check for Qt6
The Qt docs for 6.5 say that the minimum supported version is Windows 10
1809.

Experimentally it seems qutebrowser and it's dependencies work fine on a
version as early 1607.

There should be no change in OS version requirements for the Qt5 build,
although we've dropped 32 bit support already and in a future version of
the installer we may bring the minimum OS version support in line with
the Qt6 requirements for simplicity too.

Added a new QT5 version into the NSIS scripts so we can do the different
version check per installer build. It just uses the python bool
serialization format so should always be "True" or "False", but I've
added a fallback anyway for consistency.
2023-08-13 15:14:24 +12:00
toofar 0f2d34623c Merge remote-tracking branch 'upstream/main' into feat/mac_sandbox_pre_release_pyinstaller
Only conflict was the removal of support for 32bit builds in
build_release.py
2023-08-12 13:49:01 +12:00
toofar 32470686ce macOS: switch to more suitable bundle ID
Trying to switch the bundle ID again and see if that makes things work.
Will need to check 5.15 too.

ref: https://github.com/qutebrowser/qutebrowser/pull/7803#issuecomment-1657106925
Closes: #5180
2023-08-12 13:36:50 +12:00
toofar 088d6f48c2 Pin PyInstaller to specific commit
I don't want to deal with having to review development changes of
pyinstaller every week. So pin to one commit for now that we can
actually test. I'm subscribed to release notifications on github so I'll
manually change this back to point to the pyinstaller pypi package ones
it does.
2023-08-12 13:36:50 +12:00
qutebrowser bot 38223ecb40 Update dependencies 2023-08-07 04:22:49 +00:00
toofar fc91c976d3 manual update of cryptography (and rich)
When handling the automated dependancy update PR GH warned on push of a
low priority security issue with cryptography. So updating that now.

Rich has an update available too.

ref: https://github.com/qutebrowser/qutebrowser/security/dependabot/32
ref: #7807
2023-08-02 20:55:51 +12:00
qutebrowser bot 4049bac356 Update dependencies 2023-07-31 04:22:34 +00:00
toofar c0d31d399d adjust pyinstaller data paths to match importlib_resources
Not that we are looking up resources via importlib_resources for
pyinstaller builds too we need to change where the data files are
installed to to match what importlib_resources is expecting.

There was a comment in the previous resource lookup special case
complaining about the data files being at the top level so it seems this
is a change for the better anyhow.

Observed paths:

    requested file: qutebrowser.app/Contents/Frameworks/qutebrowser/config/configdata.yml
    actual file   : qutebrowser.app/Contents/Frameworks/config/configdata.yml
2023-07-27 19:17:27 +12:00
toofar a71aff389d Pin latest pyinstaller commit from develop branch
PyInstaller has [recently][symlinks] landed a change that should restore
the webengine sandbox on macOS builds. With a bit more testing we are
hoping that we can go ahead releasing builds based on that
in-development PyInstaller codebase even before they've made a release.

This commit pins our pyinstaller dependency to be the latest commit on
their develop branch.

[symlinks]: https://github.com/pyinstaller/pyinstaller/pull/7619
2023-07-27 19:08:18 +12:00
qutebrowser bot 5b2038c4cb Update dependencies 2023-07-24 11:22:06 +00:00
Florian Bruhin 8ddaef35d0 reuse: Fix more copyright headers
See previous commit, forgot ? after year range
2023-07-23 12:56:13 +02:00
Florian Bruhin 3eb826f664 reuse: Update remaining copyright texts
git ls-files | \
    xargs sed -Ei 's/Copyright [0-9]{4}(-[0-9]{4}) ([^<]*)<([^>]*)>/SPDX-FileCopyrightText: \2<\3>/'
2023-07-23 12:52:01 +02:00
Florian Bruhin 0718b25796 reuse: Initial copyright text update for myself
git ls-files | \
    xargs sed -Ei 's/Copyright [0-9]{4}(-[0-9]{4}) Florian Bruhin \(The Compiler\) <mail@qutebrowser\.org>/SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org>/'
2023-07-23 12:49:05 +02:00
Florian Bruhin 67686bb1a7 reuse: Fix remaining userscripts without extension
reuse annotate --license="GPL-3.0-or-later" --style python \
    misc/userscripts/openfeeds \
    misc/userscripts/qute-bitwarden \
    misc/userscripts/qute-keepass \
    misc/userscripts/qute-keepassxc \
    misc/userscripts/qute-lastpass \
    misc/userscripts/qute-pass \
    misc/userscripts/tor_identity \
    misc/userscripts/dmenu_qutebrowser \
    misc/userscripts/rss
2023-07-23 12:28:23 +02:00
Florian Bruhin d2975c6d09 reuse: Get files in misc/nsis/ to use SPDX
reuse annotate --license="GPL-3.0-or-later" --style python \
    misc/nsis/uninstall_pages.nsh \
    misc/nsis/install.nsh \
    misc/nsis/uninstall.nsh

And fixing qutebrowser.nsi manually as that uses iso-8859-1 and the reuse tool
doesn't like that apparently.
2023-07-23 12:19:27 +02:00
Florian Bruhin ec34865168 Move master branch references to main
Closes #7097
2023-07-23 11:38:19 +02:00
Florian Bruhin 273230eb07 Merge remote-tracking branch 'origin/pr/7789' 2023-07-22 12:36:31 +02:00
qutebrowser bot 4e0180cede Update dependencies 2023-07-20 10:57:42 +00:00
Florian Bruhin 6d1dcc30ad Merge remote-tracking branch 'origin/update-dependencies' 2023-07-10 10:04:14 +02:00
qutebrowser bot 93fb20e67e Update dependencies 2023-07-10 04:23:00 +00:00
Florian Bruhin 5a9027c54e mypy: Switch to upstream stubs for PyQt6
They are getting much better
2023-07-09 01:02:33 +02:00
qutebrowser bot 9d89e16e19 Update dependencies 2023-07-03 04:24:46 +00:00
Florian Bruhin 29dffd782d Update userscripts to PyQt6 2023-06-30 19:29:28 +02:00
Florian Bruhin ffc06e58d6 qt6: Switch most tooling/linting to Qt 6
Only mypy missing now...
2023-06-30 19:29:28 +02:00
Florian Bruhin 904cab911d mypy: Install more typeshed types 2023-06-30 00:49:30 +02:00
Florian Bruhin d27902e054 qt6 mypy: Add PyQt6-stubs
Unfortunately there is no PyPI release yet, so install from git.

243 -> 191 errors
2023-06-29 21:10:01 +02:00
Florian Bruhin 93c7fdd60c Initial Python 3.7 drop 2023-06-26 14:39:54 +02:00
Florian Bruhin 86a83240b9 Update broken userscript links 2023-06-26 13:55:45 +02:00
toofar 937cfa41ad Pin for 3.8 and changelog URL for jaraco.functools 2023-06-26 18:01:15 +12:00
qutebrowser bot faa8091c65 Update dependencies 2023-06-26 04:22:20 +00:00
qutebrowser bot a7282f6235 Update dependencies 2023-06-19 04:22:17 +00:00
qutebrowser bot e502663fe3 Update dependencies 2023-06-12 04:23:46 +00:00
qutebrowser bot daee26c7a7 Update dependencies 2023-06-05 04:22:14 +00:00
toofar 5dd637f444 Merge pull request #7723 from ralsina/use-netloc-in-qute-pass
Use url netloc as a candidate key for qute-pass
2023-06-04 12:04:08 +12:00
Roberto Alsina a31b654252 Use url netloc as a candidate key for qute-pass 2023-05-30 19:13:59 -03:00
qutebrowser bot d907ac795b Update dependencies 2023-05-29 04:23:35 +00:00
qutebrowser bot 6d574f7a4e Update dependencies 2023-05-22 04:22:20 +00:00