52399 Commits

Author SHA1 Message Date
Kovid Goyal
bf446c26ac
Implement mouse based selection in bookshelf view 2025-12-24 12:05:01 +05:30
Kovid Goyal
ec736febe2
... 2025-12-22 20:30:01 +05:30
Kovid Goyal
4b26278c56
change colors in bookshelf icon to match other icons 2025-12-22 20:19:30 +05:30
Kovid Goyal
8c3626331e
Also fix dpr handling for expanded cover 2025-12-22 20:06:40 +05:30
Kovid Goyal
f1efd5fee5
Use device pixel ration when generating thumbnails for high res rendering 2025-12-22 19:59:04 +05:30
Kovid Goyal
e9e23e8075
Render shadow around hovered cover 2025-12-22 19:42:07 +05:30
Kovid Goyal
ccf828d984
Implement cached rendering for expanded cover animation 2025-12-22 17:17:35 +05:30
Kovid Goyal
87c1404906
... 2025-12-22 15:08:46 +05:30
Kovid Goyal
7dae299143
Use extra space at right edge unconditionally when shifting 2025-12-22 14:34:39 +05:30
Kovid Goyal
b287fb671f
Refactor hovered cover
This fixes transitions as mouse moves from one book to the next.
Implement shift off both edges except when hovering over books close to
either edge.

Still need to implement drop shadows

Can also possibly make shift preferentially use leftover space at right
edge.
2025-12-22 14:06:21 +05:30
Kovid Goyal
319dc8c8fa
Update Ars Technica 2025-12-22 08:58:44 +05:30
Kovid Goyal
cc2ab8bc0d
Dont reserve space for transient scrollbars 2025-12-21 22:51:06 +05:30
Kovid Goyal
64126fd10a
Refactor shelf layout code
Layout is now done in a separate thread, shelf by shelf. As each shelf
is layouted it is rendered if visible. Also fix various bugs in the old
layout code, such as not taking width of vertical scrollbar into
account.

Note that cover hover functionality is currently broken, it needs to be
refactored and changed to always shift books, to the left or the right
depending on which edge the hovered books is closer too. We might also
want to always expand the cover for the current book not just the
hovered book. Or maybe not, to be decided.
2025-12-21 21:22:33 +05:30
Kovid Goyal
8cc962c7d9
Dont run test_rs in windows CI 2025-12-21 14:30:59 +05:30
Kovid Goyal
a88dbd4a63
Fix boolean searchingin Vietnamese not wroking for Yes as opposed to yes
For the good Lord alone knows what reason in Vietanamese
yes is translated as "đồng ý" and Yes as "Đúng"
2025-12-21 14:19:30 +05:30
Kovid Goyal
baeb9a577d
Cleanup unicode normalisation in boolean searches 2025-12-21 14:16:20 +05:30
Kovid Goyal
6776f6c05d
Use the actual max number of variable supported by the sqlite connection 2025-12-19 15:38:30 +05:30
Kovid Goyal
12b4b50969
API to efficiently group books by year/month for builtin datetime fields 2025-12-19 12:36:24 +05:30
Kovid Goyal
2fb0f42571
Only report corrupted files in an import at the end 2025-12-19 08:49:20 +05:30
Kovid Goyal
44a0942331
Edit book: Add copy from preview to clipboard action (Ctrl+Alt+C) 2025-12-18 11:58:33 +05:30
Kovid Goyal
8962dc0aae
macOS: Diff view: Fix scrollbar flickering continuously when transient scrollbars are enabled 2025-12-17 13:03:51 +05:30
Kovid Goyal
e825d96553
Fix #2136450 [OpenRouter.AI integration doesn't work in 8.16.2](https://bugs.launchpad.net/calibre/+bug/2136450) 2025-12-17 09:49:45 +05:30
Kovid Goyal
9a0f3e2c35
Pick a non-conflicting shortcut for show bookshelf 2025-12-16 13:16:55 +05:30
Kovid Goyal
304f41cd90
Keyboard shortcuts: Prefer user customizes key mappings over default ones when they conflict. Fixes #2136184 [[Enhancement] don't add/change shortuts in updates](https://bugs.launchpad.net/calibre/+bug/2136184) 2025-12-16 13:14:08 +05:30
Kovid Goyal
d788da05f2
Fix #2136280 [Disabling all AI plugins errors configure dialog](https://bugs.launchpad.net/calibre/+bug/2136280) 2025-12-16 12:07:06 +05:30
Kovid Goyal
e2899e558a
Allow configuring size of RAM cache used in shelf view 2025-12-15 15:08:20 +05:30
Kovid Goyal
6f91439871
Use constBits to avoid QImage copy 2025-12-15 11:09:25 +05:30
Kovid Goyal
4155f45f75
... 2025-12-15 11:05:05 +05:30
Kovid Goyal
0ec156f864
Fix getting dominant color of null qimage 2025-12-15 11:04:13 +05:30
Kovid Goyal
e55140e5bd
... 2025-12-15 10:59:00 +05:30
Kovid Goyal
be83055dce
Use a native implementation of dominant_color() for performance 2025-12-15 10:55:05 +05:30
Kovid Goyal
a7c2d8b5cb
Fix get books kobo plugin 2025-12-14 21:16:28 +05:30
Kovid Goyal
970a46fd23
update kobo get books plugin but it is still being blocked 2025-12-14 20:58:25 +05:30
Kovid Goyal
00fbfa6077
Cache dominant color as well when caching thumbnails
Additionally, re-use the cache code used by the cover grid. Also
draw the cover over the full spine rather than just a part of it.

Cache the most recently drawn covers in RAM.
2025-12-14 18:56:48 +05:30
Kovid Goyal
ef2742f4bd
Port cover grid preferences 2025-12-14 15:03:44 +05:30
Kovid Goyal
d7c9553330
Remove cbz from list of formats to update metadata in since calibre doesnt support writing of metadata to cbz 2025-12-14 09:41:24 +05:30
Kovid Goyal
4665027c8e
Use rapydscript.cmd as exe name on windows 2025-12-14 09:29:07 +05:30
Kovid Goyal
38793816b7
Fix #2135853 [[fr] plugboard format limits are antiquated](https://bugs.launchpad.net/calibre/+bug/2135853) 2025-12-14 09:19:51 +05:30
Kovid Goyal
f4f34640ca
... 2025-12-13 16:33:07 +05:30
Kovid Goyal
f5e5a1a1a9
string changes 2025-12-13 16:31:42 +05:30
Kovid Goyal
5f595907c8
Try installing rapydscript on windows CI as well 2025-12-13 11:55:58 +05:30
Kovid Goyal
96429b06d2
Merge branch 'shelf' 2025-12-13 11:13:07 +05:30
Kovid Goyal
eea4dce3a3
Update San Francisco Chronicle 2025-12-13 10:45:42 +05:30
Kovid Goyal
e637ef7687
Update Vox
Compress images as Vox downloads extremely high res images
2025-12-13 10:08:07 +05:30
Kovid Goyal
55669eb45f
Do same thing for editor
I wasnt getting the segfaults there, but no harm in being defensive
2025-12-13 09:59:49 +05:30
Kovid Goyal
ab44a0762c
Fix occassional segfault on exit of viewer
Force destruction of main window and application object before
interpreter shutdown.
2025-12-13 09:57:25 +05:30
Kovid Goyal
33ba0468d6
Fix using readability on trees not parsed by lxml.html 2025-12-13 09:45:09 +05:30
Kovid Goyal
d774faf29c
Fix #2135263 [Adding *.tif image as cover causes segfault](https://bugs.launchpad.net/calibre/+bug/2135263) 2025-12-13 09:21:35 +05:30
Kovid Goyal
f1639119bb
Merge branch 'master' of https://github.com/h-holm/calibre 2025-12-13 08:52:02 +05:30
Henrik Holm
433ad77cef
Remove distracting images, ads and teasers 2025-12-13 02:08:13 +01:00