52582 Commits

Author SHA1 Message Date
Kovid Goyal
1c344af0c8
... 2026-01-05 08:08:37 +05:30
Kovid Goyal
4d9d879390
DRYer 2026-01-05 07:52:17 +05:30
Kovid Goyal
2184a9cfbc
Merge branch 'fix-button-author' of https://github.com/un-pogaz/calibre 2026-01-05 07:08:47 +05:30
un-pogaz
05248d48f2 Bookshelf: fix button author template not working 2026-01-04 22:18:47 +01:00
Kovid Goyal
ef29a57a03
Merge branch 'fix-miss-match-color' of https://github.com/un-pogaz/calibre 2026-01-05 00:05:12 +05:30
un-pogaz
17779375e8 Bookshelf: fix miss match between spine color and hover animation 2026-01-04 19:17:02 +01:00
Kovid Goyal
2f3ec7ea25
Use a different base temporary directory for each page count job 2026-01-04 22:34:07 +05:30
Kovid Goyal
3aaa938481
Allow the author template to return an empty result 2026-01-04 22:09:27 +05:30
Kovid Goyal
58409ed3c0
silly typo 2026-01-04 22:08:54 +05:30
Kovid Goyal
8ae38e213c
... 2026-01-04 22:08:06 +05:30
Kovid Goyal
8a0ea00986
... 2026-01-04 22:05:11 +05:30
Kovid Goyal
4b6f06ea3b
... 2026-01-04 21:58:00 +05:30
Kovid Goyal
dd675f96d5
Double the threshold of image area coverage for a fallback dominant color 2026-01-04 21:41:06 +05:30
Kovid Goyal
e41a94d45b
string changes 2026-01-04 21:37:03 +05:30
Kovid Goyal
62220a51c5
Speedup contrast ration calculation 2026-01-04 21:34:02 +05:30
Kovid Goyal
94a54215fc
Improve selection of spine text color
Use the WCAG contrast ratio to pick the color with the higher contrast
2026-01-04 21:26:03 +05:30
Kovid Goyal
3c402fca64
DRYer 2026-01-04 21:00:47 +05:30
Kovid Goyal
366c936554
Fix bottom margin for spine title text 2026-01-04 20:58:54 +05:30
Kovid Goyal
934bb4e14a
Bookshelf: Add an optional second line to the spine controllable by a template 2026-01-04 20:55:36 +05:30
Kovid Goyal
797b3cf114
Draw spine text on top of highlight rect
Also allow slightly larger font size by not reuiring leading of the font
to fit in the rect
2026-01-04 20:38:00 +05:30
Kovid Goyal
0d721617bb
Bookshelf: Clean up spine text drawing code
Make the range of text sizes a function of the current UI font size.
Also prepare for multiline spine text.
2026-01-04 20:02:33 +05:30
Kovid Goyal
b19b01fbc1
Group related fields 2026-01-04 15:29:00 +05:30
Kovid Goyal
75952e9039
Merge branch 'fix-default-hover' of https://github.com/un-pogaz/calibre 2026-01-04 15:26:16 +05:30
un-pogaz
fa90cd4d06 forget to increase default hover 2026-01-04 10:49:05 +01:00
Kovid Goyal
f7c38fded5
Merge branch 'fix-current-highlight-color' of https://github.com/un-pogaz/calibre 2026-01-04 15:15:55 +05:30
un-pogaz
6512d80574 Bookshelf: separated current selected and unselected highlight color 2026-01-04 10:28:34 +01:00
Kovid Goyal
fee83e6352
Also adjust hover width 2026-01-04 14:49:02 +05:30
Kovid Goyal
c704890740
Bookshelf: Make height configurable
The default is 1/3rd of screen height.
2026-01-04 09:51:18 +05:30
Kovid Goyal
2bcb83db19
Bookshelf: Respect disable animations setting 2026-01-04 07:43:46 +05:30
Kovid Goyal
50c5b86310
Restore importing of timed_print from calibre.gui2 for plugin compat 2026-01-04 07:32:08 +05:30
Kovid Goyal
e6cfed40cb
Break early for backup worker loop 2026-01-04 07:13:34 +05:30
Kovid Goyal
58abd0d203
Fix 2 second wait during shutdown for FTS worker
Have the FTS worker sleep using Event.wait instead of time.sleep.
Also, use shutdown on the fts job queue for immediate shutdown
2026-01-04 07:12:17 +05:30
Kovid Goyal
dcbe1c498c
Output how long shutdown takes 2026-01-04 06:41:33 +05:30
Kovid Goyal
12ed833716
Move timed_print into calibre so it can be use din other places 2026-01-04 06:36:49 +05:30
Kovid Goyal
8234f9c695
Add more debug prints for shutdown timing 2026-01-04 06:26:20 +05:30
Kovid Goyal
ec9ac3e541
Add API to invalidate existing page counts and force re-count 2026-01-04 06:14:07 +05:30
Kovid Goyal
def0e4e77c
DOCX Input: Delete tempdir after input plugin runs rather than at program exit 2026-01-04 06:07:07 +05:30
Kovid Goyal
fe8bd5b550
Add descriptions for some builtin columns 2026-01-03 16:45:15 +05:30
Kovid Goyal
26b5368a06
Forgot to bump algorithm number for change to page counting algorithm 2026-01-03 13:26:54 +05:30
Kovid Goyal
d02f129b11
Fix <i> tags being given a very large weight in page counting
Also fix <video> tags not being given any weigth in page counting
2026-01-03 13:21:25 +05:30
Kovid Goyal
63fdf6340b
DRYer 2026-01-03 12:41:14 +05:30
Kovid Goyal
389e31605d
Bookshelf: Use author sort value when grouping by author 2026-01-03 12:34:56 +05:30
Kovid Goyal
01879b0c70
When trigerring recount from book details make sure format size in the db is accurate 2026-01-03 12:18:17 +05:30
Kovid Goyal
a41154d56d
Suppress debug printout of errors evaluating user templates when counting pages in EPUB 2026-01-03 10:29:09 +05:30
Kovid Goyal
cd6762cf2b
Fix #2137378 [Template editor minor issue (unrelated to latest beta)](https://bugs.launchpad.net/calibre/+bug/2137378) 2026-01-03 09:42:21 +05:30
Kovid Goyal
bd1122f90e
Ignore failure to disconnect during shutdown 2026-01-03 09:39:32 +05:30
Kovid Goyal
4ab897cc8d
string changes 2026-01-03 01:14:50 +05:30
Kovid Goyal
4961d7bf0e
Merge branch 'up-to-down-text' of https://github.com/un-pogaz/calibre 2026-01-03 01:11:57 +05:30
un-pogaz
69b01f5962 Bookshelf: add option to write the texts up to down 2026-01-02 20:31:48 +01:00
Kovid Goyal
f0ec227141
Merge branch 'increase-default-cache-size' of https://github.com/un-pogaz/calibre 2026-01-02 17:16:34 +05:30