Commit Graph

2326 Commits

Author SHA1 Message Date
Kovid Goyal 0221d5cedb MSVC requires c++ 20 for designated initializers 2026-01-18 11:41:15 +05:30
Kovid Goyal 8f7b8238d3 ... 2026-01-18 11:23:13 +05:30
Kovid Goyal d55ffcf46a Start work on replacing python gettext with native code version
Needed to use translations for both python and Qt without invoking the
GIL when used from Qt.
2026-01-18 10:13:33 +05:30
Kovid Goyal 46b05794a8 Automated upgrade of source code to python 3.14 2026-01-16 12:20:27 +05:30
Kovid Goyal 75fd04c97b Upgrade type annotations for newer python 2026-01-16 11:28:53 +05:30
Kovid Goyal a8bf77546e Replace use of deprecated datetime.timezone.utc 2026-01-16 11:19:53 +05:30
Kovid Goyal dd15cf7ce1 Prune list of ignored dependency CVEs
Various deps have now been updated
2026-01-10 12:49:19 +05:30
Kovid Goyal 9ffa9298bf Install grype from my own server
Far higher reliability than github
2026-01-10 12:42:47 +05:30
Kovid Goyal 1e915f5b00 ... 2026-01-06 07:38:29 +05:30
Kovid Goyal 6ce194ecc2 ... 2026-01-05 21:23:46 +05:30
Kovid Goyal 2153e684d5 Nicer download_with_retry 2026-01-05 21:07:49 +05:30
Kovid Goyal 9bfb182dc9 Update apsw in the hopes that it will fix the macOS CI crash 2025-12-30 16:06:34 +05:30
Kovid Goyal b54043877c ... 2025-12-30 15:43:06 +05:30
Kovid Goyal 46eb353b14 ... 2025-12-30 09:38:46 +05:30
Kovid Goyal aeda521151 Print crash report when CI test process crashes 2025-12-30 09:24:21 +05:30
Kovid Goyal c68cf2e130 Normalize file permissions on the installers 2025-12-29 09:13:56 +05:30
Kovid Goyal 0f63c37a28 Install rapydscript on arch CI
Reduces failures due to webengine flakiness in CI
2025-12-26 11:15:29 +05:30
Kovid Goyal 8cc962c7d9 Dont run test_rs in windows CI 2025-12-21 14:30:59 +05:30
Kovid Goyal 4665027c8e Use rapydscript.cmd as exe name on windows 2025-12-14 09:29:07 +05:30
Kovid Goyal f4f34640ca ... 2025-12-13 16:33:07 +05:30
Kovid Goyal 5f595907c8 Try installing rapydscript on windows CI as well 2025-12-13 11:55:58 +05:30
Kovid Goyal 86e8d2a276 Dont run test_rs in CI on macOS 2025-12-11 23:51:03 +05:30
Kovid Goyal 1da24f0407 Try installing rapydscript in CI
WebEngine is flaky on macOS CI
2025-12-11 20:20:14 +05:30
Kovid Goyal d81047e595 Another CVE against an unused filetype in ffmpeg 2025-12-04 15:20:21 +05:30
Kovid Goyal bf51250406 Ignore DoS in python stdlib when reading from malicious HTTP server
Not important enough to risk updating past python 3.11. Will be fixed if
and when there is a fixed version of python 3.11 released.
2025-12-04 15:12:23 +05:30
Kovid Goyal aecb0ed407 Another tarfile.extract call site 2025-12-02 20:36:28 +05:30
Kovid Goyal 3612060714 Forgot to add tzdata install to arch CI 2025-11-30 20:37:57 +05:30
Kovid Goyal 2a10f39e68 Use std::to_chars for formatting float numbers as well
this gives us a larger representation in many cases since it tries to
represent floats to max precision, but that tradeoff is worth it for
dropping 2000 lines of C code.
2025-11-19 10:56:27 +05:30
Kovid Goyal be304b6f99 Use std::to_chars instead of stb for uint->hex 2025-11-19 10:39:38 +05:30
un-pogaz ce13dfbb43 iteritems (manual 2) 2025-11-18 16:14:51 +01:00
un-pogaz 8ed12a2e78 itervalues (regex 3)
(set|frozenset|list|tuple|enumerate|sorted|max|min|sum)\(itervalues\(([\w\.]+)\)
\1(\2.values()

replace itervalues() used on simple variables/attributs in a know iterable
2025-11-18 16:14:51 +01:00
un-pogaz 1903f69416 urllib.request import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz 2ca38cb2c1 http_server import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz 072d8f2fec unicode_type (regex)
unicode_type(
str(
2025-11-18 15:39:51 +01:00
un-pogaz 47257e1262 codepoint_to_chr (regex)
codepoint_to_chr(
chr(
2025-11-18 15:39:51 +01:00
un-pogaz bb9272f300 iteritems (regex 1)
in iteritems\(([\w\.]+)\)
in \1.items()

replace iteritems() used on simple variables/attributs in a for loop
2025-11-18 15:39:50 +01:00
Kovid Goyal bfd86222ae Dont scan grype itself with grype 2025-11-02 15:43:19 +05:30
Kovid Goyal 54dfc86710 ... 2025-10-17 10:59:55 +05:30
Kovid Goyal cb56da890c Update grype db as part of installation 2025-10-17 10:29:45 +05:30
Kovid Goyal ced66a2815 Fix false positive CVEs 2025-10-17 09:54:37 +05:30
Kovid Goyal c41ff6ef85 Ignore spurious dep CVE 2025-10-12 07:01:48 +05:30
un-pogaz f9d745f500 slice to remove prefix or suffix (auto-fix)
ruff 'FURB188'
2025-10-11 17:21:25 +02:00
un-pogaz e428bb13ce refurbishing code (auto-fix)
ruff 'FURB'
2025-10-11 17:21:25 +02:00
un-pogaz 4553b9dc28 pep8 2025-10-11 17:21:25 +02:00
Kovid Goyal 1798fb5439 Merge branch 'ruff-pylint' of https://github.com/un-pogaz/calibre 2025-10-11 08:35:13 +05:30
Kovid Goyal 8820bffc86 Only change CMakeLists.txt for headless if actually building with Qt >= 6.10 2025-10-11 08:26:28 +05:30
un-pogaz 2c3edf5ad7 repeated equality comparison (extra-edit) 2025-10-10 08:24:40 +02:00
un-pogaz 0dc4e67529 repeated equality comparison (auto-fix)
ruff 'PLR1714' --unsafe-fixes
2025-10-10 08:24:40 +02:00
un-pogaz 9ef0ef4a8b collapsible else if (auto-fix)
ruff 'PLR5501'
2025-10-10 08:24:40 +02:00
un-pogaz a2e4515353 manual from import (auto-fix)
ruff 'PLR0402'
2025-10-10 08:24:39 +02:00