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
Kovid Goyal
ab2e9a50d9
Amazon metadata download: Add an option to prefer the Kindle edition when multiple book types are returned by the search (Preferences->Metadata download->Configure the Amazon plugin). Fixes #1976105 [Add option to only scrape kindle ASIN]( https://bugs.launchpad.net/calibre/+bug/1976105 )
2022-06-16 13:43:05 +05:30
Kovid Goyal
4abda26e92
Edit book: Live CSS: Fix @namespace rules causing jumping to rule definition to go to the wrong definition. Fixes #1978500 [Private bug]( https://bugs.launchpad.net/calibre/+bug/1978500 )
2022-06-16 12:49:56 +05:30
Kovid Goyal
c0a2656cb2
Use the IANA registered mimetypes for fonts in the pipeline
...
Also use the IANA types for EPUB versions > 3.1
Fixes #1659 (Update fonts MIME following IANA recommendation)
2022-06-16 11:08:57 +05:30
Kovid Goyal
0cecc77a22
The exception raised by datetime when converting epochs has changed
2022-06-14 07:58:31 +05:30
Kovid Goyal
53924284c8
Possible fix for Apple screwing with device node names reported in statfs structures in macOS 13
2022-06-10 22:34:49 +05:30
Kovid Goyal
8b1ae42869
Show full blocked url request
2022-06-10 10:14:46 +05:30
Kovid Goyal
89d26dade1
Print debug info from USBMS driver when running in normal GUI as well
2022-06-10 09:51:01 +05:30
Kovid Goyal
609b431c91
A new API so that plugins are notified before the library is about to change
...
Fix #1977979 [Private bug](https://bugs.launchpad.net/calibre/+bug/1977979 )
2022-06-08 19:57:18 +05:30
David
fc8d5e9ec8
Missed change for collections template and bump firmware version
...
Missed a check in determining if collection management should be done.
And Kobo have released another firmware versions. No changes are needed to support it.
2022-06-08 14:31:15 +10:00
Kovid Goyal
cf3ca9395e
Manage tags dialog: If tags are present in the add tags input when OK is clicked, add them automatically, without needing to click the plus button first
2022-06-06 08:41:53 +05:30
Kovid Goyal
741ecc3cce
Dont abort the quit if the in progress save finishes while the finish saving first popup is visible
2022-06-06 08:30:11 +05:30
Kovid Goyal
491f57b071
pep8
2022-06-06 08:24:46 +05:30
Charles Haley
9e5b656bd5
This commit works the way I want, ensuring the checked button is focused while using 'vanilla' Qt. It doesn't work around the odd behavior of backtab.
...
Apologies for the multiple commits. I don't know what happens if I remove commits in a pull request so I left them all.
2022-06-05 21:37:47 +01:00
Charles Haley
8d3d28da09
Make the accelerator on &Show work.
...
I am a bit concerned about why shift-tab works differently from tab. It clearly does, but perhaps because of a bug in Qt? In any event, without the code one gets stuck in the group box.
2022-06-05 17:40:51 +01:00
Kovid Goyal
0e9e771d1b
Cleanup previous PR
2022-06-05 20:43:41 +05:30
Charles Haley
2ff3814a80
Forgot the keyboard accelerators.
2022-06-05 16:07:13 +01:00
Charles Haley
f500c9a45b
Enhancement #1977681 : additional display options for custom yes/no column
2022-06-05 15:55:18 +01:00
Kovid Goyal
303380ba37
Merge branch 'master' of https://github.com/cbhaley/calibre
...
Fixes ##1977496
2022-06-03 19:01:01 +05:30
Charles Haley
b341100d12
I forgot the Key enum ...
2022-06-03 14:20:15 +01:00
Charles Haley
9db4584517
Bug #1977496 : shortcut for OK buttons
2022-06-03 14:17:23 +01:00
Kovid Goyal
6a30220c8f
Dont use commas in filenames when sending to pbsync and kindle email addresses
2022-05-28 13:24:35 +05:30
Kovid Goyal
b33630ec1b
Fix sphinx warnings
2022-05-27 07:57:24 +05:30
Kovid Goyal
2bfb5c102a
version 5.43.0
2022-05-27 07:19:14 +05:30