39481 Commits

Author SHA1 Message Date
Kovid Goyal
fdc15d2f3b
When finding book in same column pick the book with the maximum overlap 2026-01-01 10:52:17 +05:30
Kovid Goyal
9315f2f7ba
Bookshelf: Allow grouping by custom datetime columns 2026-01-01 09:43:27 +05:30
Kovid Goyal
4509183212
Use the date display format tweak to control grouping 2026-01-01 09:23:33 +05:30
Kovid Goyal
9e99f81461
Bookshelf: Allow using custom columns for grouping 2026-01-01 09:14:50 +05:30
Kovid Goyal
4a994ac4d4
Ensure correct types in set_pages 2026-01-01 08:46:38 +05:30
Kovid Goyal
efd9342139
Invalidate composite caches when using set_pages() 2026-01-01 08:45:02 +05:30
Kovid Goyal
6f8fee9f38
Make the composite cache invalidation tests less resource intensive 2026-01-01 08:13:19 +05:30
Kovid Goyal
20b73d0e90
string changes 2026-01-01 07:42:04 +05:30
Kovid Goyal
c7930b740d
Cleanup previous PR and change default spine thumbnail to cropped
IMO, cropped looks better. Once the beta is released we can ask users
what the defaults for thumbnail and hover should be, in case there are
differing opinions.
2025-12-31 23:53:58 +05:30
un-pogaz
a94f742568 Bookshelf: extend thumbnail settings 2025-12-31 18:27:54 +01:00
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
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
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
5d4e501adf
string changes 2025-12-30 15:35:08 +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
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