Commit Graph

44995 Commits

Author SHA1 Message Date
Kovid Goyal e1f6f82d6e QFontDatabase is all static in Qt 6 2022-07-06 19:19:32 +05:30
Kovid Goyal 13867e75fc Replace a couple more Qt 5 references 2022-07-06 19:19:32 +05:30
Kovid Goyal e3d0259d70 Get the Qt plugins building with Qt6 2022-07-06 19:19:32 +05:30
Kovid Goyal 28e6d251da More PyQt6 nonsense
QCombobox::activated[str] no longer exists renamed to
QComboBox::textActivated
2022-07-06 19:19:32 +05:30
Kovid Goyal 053fd6f5bf More PyQt6 nonsense
SIP can apparently no longer auto-convert QVector<Rgb>
2022-07-06 19:19:32 +05:30
Kovid Goyal 9957480ddb Install Qt 6 on Arch 2022-07-06 19:19:32 +05:30
Kovid Goyal 1dddbe95e6 Redirect PyQt5 imports to PyQt6 2022-07-06 19:19:32 +05:30
Kovid Goyal f56d0b5ec0 Replace references to PyQt5 in the source 2022-07-06 19:19:32 +05:30
Kovid Goyal b1686441bd More PyQt6 nonsense 2022-07-06 19:19:32 +05:30
Kovid Goyal 5363c147ba pyqt6 FindFlags(0) -> FindFlag(0) 2022-07-06 19:19:32 +05:30
Kovid Goyal eb1e096c92 pyqt6 croaks if you pass a QPoint instead of a QPointF to QGradient classes 2022-07-06 19:19:32 +05:30
Kovid Goyal 381a042206 pyqt6 remove Qapplication::fontMetrics 2022-07-06 19:19:32 +05:30
Kovid Goyal d99b1bd628 more pyqt6 busyword QFontMetrics::width -> horizontalAdvance 2022-07-06 19:19:32 +05:30
Kovid Goyal d63d8190bd more pyqt busywork 2022-07-06 19:19:32 +05:30
Kovid Goyal f622d1e13c Migrate touch detection to use QInputDevice instead of QTouchDevice which no longer exists 2022-07-06 19:19:31 +05:30
Kovid Goyal 985283c4d0 icon_map needs ints 2022-07-06 19:19:31 +05:30
Kovid Goyal 984a070e2b Remove the HiDPI setting as it is no longer really tuneable in Qt 6 2022-07-06 19:19:31 +05:30
Kovid Goyal 920d1e27d6 Redirect Qt imports to PyQt 6 2022-07-06 19:19:31 +05:30
Kovid Goyal d7b7791990 Merge branch 'mimetypes-improvements' of https://github.com/pinotree/calibre 2022-07-06 13:02:14 +05:30
Pino Toscano 85977afe26 Assume shared-mime-info 1.8
Assume the system version of shared-mime-info is 1.8, which seems to
be a good low-enough baseline according to:
https://repology.org/metapackage/shared-mime-info/versions
(e.g. CentOS 7, Debian 9)

This makes it possible to drop the definition of application/epub+zip,
provided by newer versions of shared-mime-info (and with more details
than this removed definition).
2022-07-06 08:59:45 +02:00
Kovid Goyal cc2d5c23f5 Make calibre-debug --run-test a bit smarter 2022-07-04 21:24:35 +05:30
Kovid Goyal 4654742f87 Change the default for try_to_guess_cover to False 2022-07-04 21:00:56 +05:30
Tsukurururu 87d2167270 Get rid of guess_cover()
It was returning a bool rather than a path before and no one seemed to
have noticed, so it cant be needed.

See #1678 (opf2.py's OPF.guess_cover doesn't return the path)
2022-07-04 20:57:04 +05:30
Kovid Goyal 34bba138e0 reset DEBUG before importing run_tests 2022-07-04 20:39:59 +05:30
Kovid Goyal fbddb6bde2 Avoid repeated import 2022-07-04 20:39:24 +05:30
Kovid Goyal be43cc25db Make a dedicated entry point in calibre-debug for running tests
Fixes #1677 (One difference: using the new run_test() I see all the debug output …)
2022-07-04 20:37:20 +05:30
Kovid Goyal 8002c9c8bb Allow changing buffer when calling run_test 2022-07-04 20:33:05 +05:30
Kovid Goyal 7f3e976bf5 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-07-04 19:15:10 +05:30
Kovid Goyal 51d2a08501 Allow running individual tests by name using calibre-debug
calibre-debug -c "from calibre.utils.run_tests import *; import sys; run_test(sys.argv[-1])" some_test_name
2022-07-04 19:14:48 +05:30
Charles Haley 29d0ae3597 Another one. This is the end for today. 2022-07-04 14:36:55 +01:00
Charles Haley 5fbbdfa297 Fix typos 2022-07-04 14:33:40 +01:00
Kovid Goyal 29afd852ba Remove code to select tests
This can be done with

./setup.py test --test-name=whatever
2022-07-04 19:01:14 +05:30
Kovid Goyal d4540f6ca3 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-07-04 19:01:07 +05:30
Charles Haley 173f6644e6 Tests for the new formatter db functions, and fixes for the errors that the tests found.
I left in the code I used to select specific tests. Yank it out if you don't want it.
2022-07-04 13:47:31 +01:00
Kovid Goyal f34ab14e78 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-07-04 07:35:51 +05:30
Charles Haley 6acfebf8c1 The template database functions we discussed. 2022-07-03 19:03:55 +01:00
Kovid Goyal 1d40ba6436 Various minor recipe updates 2022-07-03 14:14:19 +05:30
Kovid Goyal 7f6f66007a Merge branch 'patch-2' of https://github.com/aareet/calibre 2022-07-02 12:18:29 +05:30
Aareet Mahadevan 532875c19b Update New Statesman RSS feed URL 2022-07-01 23:45:52 -07:00
Kovid Goyal fd1c2142ff pycryptodome patch should not be needed anymore 2022-07-01 19:10:53 +05:30
Kovid Goyal 0ef5e879f5 dukpy is not needed anymore 2022-07-01 18:58:52 +05:30
Kovid Goyal 50c95494b5 Fix #1980492 [Reports' links error](https://bugs.launchpad.net/calibre/+bug/1980492) 2022-07-01 18:49:15 +05:30
Kovid Goyal 65c55a6d44 pep8 2022-06-30 21:36:14 +05:30
Kovid Goyal 248fbd3192 Merge branch 'master' of https://github.com/itsirc/calibre 2022-06-30 21:35:25 +05:30
Kovid Goyal 49a1d469ce ... 2022-06-30 21:33:49 +05:30
Cristi Ghera f96086a021 Updated NRC, Volkskrant to download the daily editions 2022-06-30 17:29:20 +02:00
Kovid Goyal c808876807 Switch to GA4 2022-06-30 18:33:46 +05:30
Kovid Goyal f70e39ca03 Remove affiliate links for Kobo Get books plugin
They dont work anymore and I cant be bothered working with Rakuten to
fix them.
2022-06-30 08:57:06 +05:30
Kovid Goyal d148645902 Update Eenadu 2022-06-29 20:11:54 +05:30
Kovid Goyal c52f11532b ... 2022-06-29 19:57:21 +05:30