Commit Graph

52514 Commits

Author SHA1 Message Date
un-pogaz df84d98c1a ... 2025-12-31 17:16:40 +01:00
Kovid Goyal 4a5899413b string changes 2025-12-31 21:42:28 +05:30
Kovid Goyal 835208f09d Bookshelf: Fix click drag to select not working 2025-12-31 20:55:43 +05:30
Kovid Goyal cb3fcbac3a Change the default hover action back to shift
The problem with above is that it can cause neighboring books to be
completely hidden meaning you have to move the mouse right and then left
again to hover over a neighboring book. This problem is much less
pronounced in the shift case, where it tends to happen only for very
narrow books and only if one keeps moving the mouse after a book
expands.

Also, while I agree the shift is a little unusual, I think most people
whether new users or not will like it.
2025-12-31 20:43:17 +05:30
Kovid Goyal 9a5bd9ecac Move the conditional out of the loop
Also, when hover is above the width of the CaseItem is not changed
since nothing shifts.
2025-12-31 20:40:18 +05:30
Kovid Goyal a95d980d7a Merge branch 'hover-setting' of https://github.com/un-pogaz/calibre 2025-12-31 20:25:42 +05:30
Kovid Goyal 4f83f00cf2 Merge branch 'fix-old-grouping_mode' of https://github.com/un-pogaz/calibre 2025-12-31 20:20:23 +05:30
un-pogaz 444bcf0a03 removed unused code 2025-12-31 13:45:27 +01:00
un-pogaz 03bcfb0387 fix old bookshelf_grouping_mode value 2025-12-31 13:33:57 +01:00
un-pogaz b6163955c2 add settings for hovered book 2025-12-31 12:33:24 +01:00
Kovid Goyal e9115c46b2 Cleanup previous PR
Use a non-recursive algorithm to handle deeply nested documents. Fix
error caused by comments. Use a more comprehensive list of block tags.
Add some tests.
2025-12-30 23:25:11 +05:30
Kovid Goyal 51fb35844b Remove unneeded guard 2025-12-30 22:30:15 +05:30
Kovid Goyal 38847324e6 Merge branch 'emulate-page-count' of https://github.com/un-pogaz/calibre 2025-12-30 22:29:37 +05:30
un-pogaz c674a4c09e improve epub page count 2025-12-30 16:34:27 +01:00
un-pogaz 135daabddd ... 2025-12-30 14:14:39 +01:00
Kovid Goyal 9bfb182dc9 Update apsw in the hopes that it will fix the macOS CI crash 2025-12-30 16:06:34 +05:30
Kovid Goyal b54043877c ... 2025-12-30 15:43:06 +05:30
Kovid Goyal 5d4e501adf string changes 2025-12-30 15:35:08 +05:30
Kovid Goyal c92c387d11 Merge branch 'improve-cb-page-count' of https://github.com/un-pogaz/calibre 2025-12-30 15:28:49 +05:30
un-pogaz 8afee97598 improve comic book page count 2025-12-30 10:11:16 +01:00
Kovid Goyal 4c867ea08f Add an action to the book details context menu to recount pages 2025-12-30 11:51:06 +05:30
Kovid Goyal 57ca878ce2 Dont show remove context menu item for pages in BD panel 2025-12-30 11:35:55 +05:30
Kovid Goyal 7906ed2d57 ... 2025-12-30 11:34:57 +05:30
Kovid Goyal 03646bac52 Queues page count scan if pages is configured to be shown in book details 2025-12-30 11:33:20 +05:30
Kovid Goyal a81946674c Pages should not be displayed in book details by default 2025-12-30 11:16:12 +05:30
Kovid Goyal 893d250dae Allow stdout to work in develop mode 2025-12-30 11:00:58 +05:30
Kovid Goyal 7223282925 ... 2025-12-30 10:32:57 +05:30
Kovid Goyal ea4982f795 Redo shelf layout when a large number of pending to be counted books are recounted 2025-12-30 10:02:55 +05:30
Kovid Goyal 46eb353b14 ... 2025-12-30 09:38:46 +05:30
Kovid Goyal aeda521151 Print crash report when CI test process crashes 2025-12-30 09:24:21 +05:30
Kovid Goyal c6b44d5ef7 Do not import webengine when running viewer annotations test 2025-12-30 09:14:24 +05:30
Kovid Goyal 1f63730ca4 Run webengine test in a worker process
Otherwise we get sporadic crashes on macOS.
2025-12-30 08:53:00 +05:30
Kovid Goyal 2cc7a0c516 Removed unused code 2025-12-30 08:03:00 +05:30
Kovid Goyal d7c3e23c62 ... 2025-12-30 08:03:00 +05:30
Kovid Goyal 704b539302 Add a button to trigger a pages recount 2025-12-30 08:03:00 +05:30
Kovid Goyal e8aea1194b Show DRM in the Pages column if calculating pages failed because book is DRMed 2025-12-30 08:02:59 +05:30
Kovid Goyal a19691fd4a Allow the Pages column to be added to the book list view 2025-12-30 08:02:59 +05:30
Kovid Goyal 2f2ec54e2c Some more test closures 2025-12-30 08:02:59 +05:30
Kovid Goyal 94b30d3927 ... 2025-12-30 08:02:59 +05:30
Kovid Goyal 4859204809 Some more test closures 2025-12-30 08:02:59 +05:30
Kovid Goyal 669e408cc6 Ensure various Cache objects used in tests are properly closed rather than relying on their __del__ method 2025-12-30 08:02:59 +05:30
Kovid Goyal 0435f0a0c0 Ignore connection closed in maintain page counts thread
Exit thread cleanly in such cases
2025-12-30 08:02:59 +05:30
Kovid Goyal 479692c324 Implement page based spine widths
Change the number of pages for a max width book to 2000 from 150
2025-12-30 08:02:59 +05:30
Kovid Goyal bb35553a58 Make tear down more robust on Unix 2025-12-30 08:02:59 +05:30
Kovid Goyal d06a89bc15 Use the more efficient shutil.copyfile for copying formats out of the library 2025-12-30 08:02:59 +05:30
Kovid Goyal bd43e9204e ... 2025-12-30 08:02:59 +05:30
Kovid Goyal 12c9444ce2 Add tests for page count semantics in the db 2025-12-30 08:02:59 +05:30
Kovid Goyal 078285845c ... 2025-12-30 08:02:59 +05:30
Kovid Goyal d1cd49d8a9 Specialize page counting for text files 2025-12-30 08:02:58 +05:30
Kovid Goyal d992305e8e Start work on maintaining page counts for spine width calculations in the shelf view 2025-12-30 08:02:58 +05:30