Commit Graph

45020 Commits

Author SHA1 Message Date
Kovid Goyal c2fef7f5ec Fix check for ok to import webengine 2022-07-06 19:19:34 +05:30
Kovid Goyal e750217e99 Qt mac extras are removed 2022-07-06 19:19:34 +05:30
Kovid Goyal 950f6bfb24 Qt windows extras are removed 2022-07-06 19:19:34 +05:30
Kovid Goyal 30761d8a4d Update comment 2022-07-06 19:19:34 +05:30
Kovid Goyal d17ea4b735 cmake is needed to build the headless plugin 2022-07-06 19:19:34 +05:30
Kovid Goyal 5ab70747a9 X11extras does not exist on Qt 6 2022-07-06 19:19:34 +05:30
Kovid Goyal a484a02dfd Restore various missing enum values from various PyQt classes 2022-07-06 19:19:34 +05:30
Kovid Goyal a6b29994e1 Call setModal correctly 2022-07-06 19:19:34 +05:30
Kovid Goyal 7fe3d006d8 Need to store a python reference to the menu on the action to avoid the menu being deleted in case it is not stored anywhere else 2022-07-06 19:19:33 +05:30
Kovid Goyal a8ba150cb8 QMutex -> QRecursiveMutex 2022-07-06 19:19:33 +05:30
Kovid Goyal 9e9f593877 Missed a const marking 2022-07-06 19:19:33 +05:30
Kovid Goyal abf7e4ac09 Silence the webengine context debug print 2022-07-06 19:19:33 +05:30
Kovid Goyal 563d9ca2f3 Restore QModelIndex::child 2022-07-06 19:19:33 +05:30
Kovid Goyal 6928a3a0f5 Restore the ability to associate menus with actions 2022-07-06 19:19:33 +05:30
Kovid Goyal 2eb32da7d6 Port use of webengine in store downloader 2022-07-06 19:19:33 +05:30
Kovid Goyal 4f3dd5dd28 Remove unused code 2022-07-06 19:19:33 +05:30
Kovid Goyal 54c126d8dd Make the webengine test more robust 2022-07-06 19:19:33 +05:30
Kovid Goyal bd354daa0e A couple more QFontMetrics::width 2022-07-06 19:19:33 +05:30
Kovid Goyal 8846f7fd44 Replace QTextLayouts::*additionalFormats methods 2022-07-06 19:19:33 +05:30
Kovid Goyal 83cd7bfa12 Restore the removed exec_ methods 2022-07-06 19:19:33 +05:30
Kovid Goyal 1d2cdda5d0 Put the methods in QMouseEvent that PyQt6 removed back 2022-07-06 19:19:33 +05:30
Kovid Goyal 21d4a3b7cb More PyQt6 nonsense 2022-07-06 19:19:33 +05:30
Kovid Goyal 22bc316836 More PyQt nonsense
Some more enums that werent previous migrated
2022-07-06 19:19:33 +05:30
Kovid Goyal 8eb7706b8a In Qt6 QWebEnginepage and QWebEngineView can be imported separately before constructing the QApplication 2022-07-06 19:19:32 +05:30
Kovid Goyal 1c0c88a2f9 fix deprecation warnings building pictureflow 2022-07-06 19:19:32 +05:30
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