Commit Graph

34819 Commits

Author SHA1 Message Date
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 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 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 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 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
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
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
Charles Haley 6acfebf8c1 The template database functions we discussed. 2022-07-03 19:03:55 +01:00
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 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
Charles Haley 116a8f8250 Typo in sorting custom series single widget completion lists 2022-06-23 18:58:20 +01:00
Kovid Goyal ccb6ff9d3e Forgot the custom series edit widgets in my last commit 2022-06-23 22:50:02 +05:30
Kovid Goyal 98dea95759 Use the correct sort order for completions on the series edit boxes
Now will sort based on the tweak and using the current UI language
2022-06-23 22:31:02 +05:30
Charles Haley cc07ae92fc Bug #1979544: incorrect detection of recursion in a saved search 2022-06-22 21:23:38 +01:00
Kovid Goyal 13db00d50c Merge branch 'patch-2' of https://github.com/felagund/calibre 2022-06-18 05:42:43 +05:30
Tomáš Hnyk dc06bf67ed Use proper date in recipes
As discussed here: #1642 (comment), this makes the title in a recipe use the date when a given publication was issued (if set by a recipe) instead of current time.
2022-06-17 23:34:26 +02:00
Tomáš Hnyk b2fce54f1f Document publication_date
I think this should appear here: https://manual.calibre-ebook.com/news_recipe.html
so documenting it.
2022-06-17 23:32:00 +02:00
Kovid Goyal c53cc30b22 version 5.44.0 2022-06-17 08:05:27 +05:30