39517 Commits

Author SHA1 Message Date
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
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
un-pogaz
69b01f5962 Bookshelf: add option to write the texts up to down 2026-01-02 20:31:48 +01:00
un-pogaz
3afcac8c18 Bookshelf: increase default cache size 2026-01-02 08:39:21 +01:00
Kovid Goyal
04abc273c2
Bump beta version 2026-01-02 12:37:36 +05:30
Kovid Goyal
77ced91799
Fix saving in Edit book broken on Windows by change in Python 3.13
Now fchmod exists on windows as well.
2026-01-02 12:30:15 +05:30
Kovid Goyal
924d38cf56
Bump version for beta 2026-01-02 08:57:26 +05:30
Kovid Goyal
1f0642d876
Fix #2939 (Bookshelf: fix exception when shutdown) 2026-01-01 22:27:21 +05:30
Kovid Goyal
9363de7da7
Bookshelf: Fix hover above cover bounds not being respected when detecting item under mouse 2026-01-01 17:23:18 +05:30
Kovid Goyal
650db60dd8
Bookshelf: Fix scrollTo() co-ordinate calculation 2026-01-01 11:04:03 +05:30
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