Commit Graph

50749 Commits

Author SHA1 Message Date
Kovid Goyal 249052d6e7 Move delegate dependent code to base class 2025-02-10 10:00:56 +05:30
Kovid Goyal 8f44ab81df ... 2025-02-10 09:47:41 +05:30
Kovid Goyal a7a00de9c7 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-02-10 09:42:58 +05:30
Kovid Goyal c02b3182ee Simplify db retrieval when creating editor 2025-02-10 09:41:19 +05:30
unkn0w7n ff8e342269 Update barrons.recipe 2025-02-10 09:37:39 +05:30
Kovid Goyal 5da6c49d8f Multiple inheritance makes me nervous 2025-02-10 09:34:57 +05:30
Kovid Goyal 773a5206b3 Fix the root cause of all the book list edit cell problems
The root cause was that Qt doesnt support sharing a delegate between
multiple views. So give the main view and pin view their own delegate
instances. Hopefully I didnt break anything else.
2025-02-10 09:27:26 +05:30
Kovid Goyal 3a64034055 Tabbing should move to next/previous row automatically when editing 2025-02-10 08:10:22 +05:30
Kovid Goyal f6167d7f0e Better fix for the Qt book list phantom edits issue
The phantom edits are happening because of the mirroring with the pin
view. Apparently in some update Qt has started triggering edits on
currentChanged events. Sigh.

For the moment we disable editing of cells in the mirrored view when it
is hidden this worksaround the problem for most people, need a better
fix for when the view is being used.
2025-02-10 07:52:16 +05:30
Kovid Goyal b56849623f ... 2025-02-09 19:37:52 +05:30
Kovid Goyal ec259a4b78 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-02-09 19:35:21 +05:30
unkn0w7n 6e85714db8 Update barrons.recipe 2025-02-09 19:26:53 +05:30
Kovid Goyal dfb0308e5a Book list: Fix a regression that caused editing cells in a split book list not working in the second split. Fixes #2097677 [Calibre v7.25 List View no longer allow direct edit of fields in Split Window](https://bugs.launchpad.net/calibre/+bug/2097677)
Note that tabbing in the split list also isnt working, will look at that
next.
2025-02-09 18:37:03 +05:30
Kovid Goyal 4b6d6560f2 Fix DeprecationWarning 2025-02-09 10:04:49 +05:30
Kovid Goyal c4cca578e4 Merge branch 'fix-variable-cc_url' of https://github.com/un-pogaz/calibre 2025-02-09 09:29:47 +05:30
un-pogaz 5ff898af7b DRY
also fix regresion of displaying search terms
2025-02-08 10:41:22 +01:00
un-pogaz b84daddb74 never reached code 2025-02-08 10:35:14 +01:00
un-pogaz b5094f2f5d fix UnboundLocalError
cannot access local variable 'x' where it is not associated with a value
2025-02-08 10:33:00 +01:00
Kovid Goyal 2575737679 Kobo driver: Fix a regression that broke working with very old Kobo devices. Fixes #2092732 [Tolino device detection bug with my Kobo](https://bugs.launchpad.net/calibre/+bug/2092732) 2025-02-08 13:13:04 +05:30
Kovid Goyal 496a9630f1 Add a no-plus quoted value variant 2025-02-08 13:06:14 +05:30
Kovid Goyal a632436c60 URL quote item_value in CC web search templates 2025-02-08 12:56:54 +05:30
Kovid Goyal 65f89bda7a Content server: Get custom column web search templates as well 2025-02-08 12:52:23 +05:30
Kovid Goyal 0efd8c7b6d Content server: When clicking on author names in the book details page perform the same action as clicking it in the calibre program's book details panel 2025-02-08 12:32:52 +05:30
Kovid Goyal ae15a85e73 Refactor book details web search link generating code to make it re-useable in server 2025-02-08 10:37:19 +05:30
Kovid Goyal cc8b7ad47b pep8 and misc cleanups 2025-02-08 09:33:35 +05:30
Kovid Goyal 78be0f69a4 Merge branch 'master' of https://github.com/cbhaley/calibre 2025-02-08 09:26:21 +05:30
Kovid Goyal 32059852d2 ... 2025-02-08 09:16:39 +05:30
Kovid Goyal 88f5310317 When calculating body font size clear cache if window.devicePixelRatio changes 2025-02-08 09:12:36 +05:30
Kovid Goyal bd10c248a0 E-book viewer: Fix header/footer text size too small when using multiple monitors and the primary monitors DPI is much less than secondary monitor DPI. Fixes #2097563 [Header and Footer text in eBook Viewer Illegible on 4k monitor](https://bugs.launchpad.net/calibre/+bug/2097563) 2025-02-08 09:08:43 +05:30
Kovid Goyal 161000b587 And another bad regex conversion to raw string 2025-02-08 08:17:31 +05:30
Kovid Goyal d01d6d689c And another place that conversion to raw string broke a regex 2025-02-08 08:09:09 +05:30
Kovid Goyal 748e4c77e8 Conversion: Fix a regression in the previous release that broke heuristic processing 2025-02-08 08:03:46 +05:30
Charles Haley b48b5d34c8 The real work: interpreting the template and putting into links in book details. This code could use some refactoring and more testing. 2025-02-07 22:16:31 +00:00
Charles Haley cc93a1a8a5 Changes for the custom column web url template. These aren't particularly risky.
* Change to permit using arbitrary fields added to mi. (base.py)
* Add new action type "cc_url" (book_details.py)
* Code to add the template when creating a custom column
2025-02-07 22:15:24 +00:00
Charles Haley d7cc86be2e Add a template button to Pref / L&F / book details. Add necessary code for the tester to evaluate the template. 2025-02-07 22:12:38 +00:00
Kovid Goyal 2242151ea6 ... 2025-02-07 16:09:20 +05:30
Kovid Goyal f9b3416db0 Update paths to images.qrc in all the l&f tab UI files 2025-02-07 13:57:34 +05:30
Kovid Goyal e223bdcb07 Fix #2097597 [[Enhancement] No space between lines in Toolbar box of Look & feel](https://bugs.launchpad.net/calibre/+bug/2097597) 2025-02-07 13:53:00 +05:30
Kovid Goyal a16e609763 ... 2025-02-07 13:16:30 +05:30
Kovid Goyal 96829d89fd Change default body font size to 16 2025-02-07 12:02:13 +05:30
Kovid Goyal cd3cc7a9b5 version 7.25.0 v7.25.0 2025-02-07 10:15:07 +05:30
Kovid Goyal 0e58469834 Print timing information for shutdown in debug mode
Fixes #2654 (Add shutdown log message)
2025-02-06 20:45:22 +05:30
Kovid Goyal 54ab4e3863 ... 2025-02-06 20:43:09 +05:30
Kovid Goyal a9f1260021 Ignore exceptions when flushing during shutdown 2025-02-06 16:27:42 +05:30
Kovid Goyal 98484d9f88 Merge branch 'master' of https://github.com/cbhaley/calibre 2025-02-06 16:27:37 +05:30
Charles Haley 528119bde4 Flush stdout just before finishing shutdown so the last messages are written to the log file. 2025-02-06 10:38:25 +00:00
Kovid Goyal 951a8e58e3 Cleanup previous PR 2025-02-05 20:41:55 +05:30
Kovid Goyal 5f84f8ce33 Merge branch 'master' of https://github.com/cbhaley/calibre 2025-02-05 20:38:08 +05:30
Charles Haley e6a1a191f6 Add the east Asian language transliteration tweak we discussed.
I tested it with the Gutenberg book "苦悶の欄" by Earl Derr Biggers (https://www.gutenberg.org/ebooks/39287). With the tweak empty the title was transliterated to "Ku Men noLan". With the tweak set to 'ja' it was transliterated to "Kumon no Ran". Is this transliteration correct? I don't know.
2025-02-05 14:57:59 +00:00
Kovid Goyal 159750527b Merge branch 'ffmpeg' of https://github.com/eli-schwartz/calibre 2025-02-05 11:36:14 +05:30