37211 Commits

Author SHA1 Message Date
Kovid Goyal
80cf6f447a
Add a title bar to the profiles page 2024-03-15 10:46:02 +05:30
Kovid Goyal
9a38ad9121
DRYer 2024-03-15 05:33:03 +05:30
Kovid Goyal
9330217e9b
Fix trim button not being activated by initial region specification 2024-03-15 05:31:21 +05:30
Kovid Goyal
8072ea11a3
version 7.7.0 2024-03-14 08:49:04 +05:30
Kovid Goyal
a185e4b400
... 2024-03-14 08:24:20 +05:30
Kovid Goyal
c8b2cb4c90
Merge branch 'fix_desc' of https://github.com/IceflowRE/calibre 2024-03-14 08:23:19 +05:30
Iceflower
563c6f7763
Fix comic description 2024-03-13 19:21:02 +01:00
Kovid Goyal
4bd400c7d6
... 2024-03-13 21:37:17 +05:30
Kovid Goyal
5b53a49ba1
Trim image: Allow specifying the size of the trim rectangle using numbers. Fixes #2056116 [Trim Cover: Trim to specified size/ratio](https://bugs.launchpad.net/calibre/+bug/2056116) 2024-03-13 21:33:49 +05:30
Kovid Goyal
361eb92708
Canvas: When dragging with Alt key pressed preserve aspect ratio 2024-03-13 20:37:19 +05:30
Charles Haley
08c33d01cb Pass the set of book_ids already matched by previous search terms to the template search.
Reason: the template can use the candidate set to limit work to books already matched.
2024-03-13 12:24:42 +00:00
Kovid Goyal
8fc35d8999
Some more long path support in the add code path 2024-03-13 09:07:28 +05:30
Kovid Goyal
2fc2b59331
Handle long paths when auto adding better
Havent really tested it since long paths arent officially supported but
this *should* mostly work
2024-03-13 09:01:23 +05:30
Kovid Goyal
cd13fbfe27
... 2024-03-12 19:08:40 +05:30
Kovid Goyal
91120754a3
CHM Input: Handle CHM files with no HHC ToC. Fixes #2056470 [Ablity to render CHM when there is no TOC/.hhc file present:](https://bugs.launchpad.net/calibre/+bug/2056470) 2024-03-12 19:05:02 +05:30
Kovid Goyal
4b88d010ef
Fix #2056793 [ebook-edit: Keyboard navigation error in file browser](https://bugs.launchpad.net/calibre/+bug/2056793) 2024-03-12 07:01:47 +05:30
Charles Haley
2a2b1a4af8 Add a tweak to set the first day of the week in the Calendar widget in the DateTimeEdit class. 2024-03-11 13:41:18 +00:00
Kovid Goyal
cbc2bcfe9a
Fix #2056727 [[Bug] Removing Size from a book doesn't do anything](https://bugs.launchpad.net/calibre/+bug/2056727) 2024-03-11 15:55:44 +05:30
Kovid Goyal
4555f8f591
... 2024-03-11 09:17:56 +05:30
Kovid Goyal
9b481c42d8
Remove leftover debugging print 2024-03-11 08:53:43 +05:30
Kovid Goyal
11e4edf56d
E-book viewer: Fix a few settings such as pages per screen and header/footers not being saved in profiles 2024-03-11 08:52:30 +05:30
Kovid Goyal
88d926143e
Full text search: Allow pressing Ctrl+S to select the current book in the calibre book list. Fixes #2056664 [[Enhancement] Shortcut in the Full search window to jump/select book in calibre library](https://bugs.launchpad.net/calibre/+bug/2056664) 2024-03-10 19:29:24 +05:30
Kovid Goyal
f6e7d13bee
Fix #2056623 [[Enhancement] Move the Show options closer to the search field in the Manage items window](https://bugs.launchpad.net/calibre/+bug/2056623) 2024-03-10 10:05:59 +05:30
Kovid Goyal
e9fa788d8f
Merge branch 'master' of https://github.com/cbhaley/calibre 2024-03-10 08:53:19 +05:30
Kovid Goyal
99467a5c8c
string changes 2024-03-10 08:50:17 +05:30
Charles Haley
96676fc715 Fix formatter function book_values() not to ignore empty strings or zero values. 2024-03-09 11:40:31 +00:00
Kovid Goyal
cd61132d9d
Merge branch 'master' of https://github.com/cbhaley/calibre 2024-03-09 14:50:54 +05:30
Kovid Goyal
81fe8448ee
Add some tooling to build "preview" releases
They are available at: https://download.calibre-ebook.com/preview/
They will have version numbers with a patch level >= 100 so its
relatively easy for us to know when a bug report pertains to a preview
release.
2024-03-09 14:50:03 +05:30
Charles Haley
82610b34ec Re string changes commit: all the search types are capitalized except the one that was changed. I changed it to capitalize the "Not". Alternative change I didn't make: uncapitalize all of them. 2024-03-09 07:28:04 +00:00
un-pogaz
62916ee574 Full text search: imporve <ruby> parsing when indexing books
Following the spec of the <ruby> tag, it's better to ignore only the sub-tags
<rt>, <rp> and <rtc>, because the root text inside the <ruby> tag is what
we want indexing.
2024-03-09 08:01:28 +01:00
Kovid Goyal
25ad85a69c
Full text search: Ignore text inside <ruby> tags when indexing books. Fixes #2056614 [Ruby text interferes with fulltext search](https://bugs.launchpad.net/calibre/+bug/2056614) 2024-03-09 11:30:52 +05:30
Kovid Goyal
abb75711b2
string changes 2024-03-09 08:26:57 +05:30
Kovid Goyal
bb4807cf99
Allow adding fonts in WOFF formats
Switch to using fontools to read font metadata instead of calibre code
since it supports WOFF as well.
2024-03-08 16:50:51 +05:30
Charles Haley
894f495f2e Improve the tooltip for template search in the advanced dialog. 2024-03-07 15:43:48 +00:00
Kovid Goyal
7059a322a0
Rather than recreating QTimer objects on every update use a single one per context
Also change the timeout to 100ms which is the commonly accepted
threshold for human visual response. And stop the book details panel
debounce timer during shutdown.

The debounce timers in the popups are independent and use only data
local to the popup object so probably dont need to be shutdown.
2024-03-04 21:37:39 +05:30
Charles Haley
642d44abbf Another try at debouncing book details.
1) The debouncing is done where the display is called: views.py and book_details.py.
2) The 250ms timeout defined in book_info.py is arbitrary. I like it but some might want it smaller.
3) This commit implements delayed evaluation of composites when using get_metadata().
2024-03-04 15:23:00 +00:00
Charles Haley
57da1f5320 Fix save-to-disk templates containing template expressions like {:'current_library_name()'} printing an exception. The exception doesn't appear to break anything, but it shouldn't be there. 2024-03-03 14:12:33 +00:00
Kovid Goyal
d99570a2b6
Use a more intuitive to type maximum 2024-03-03 09:57:02 +05:30
Kovid Goyal
d5360885ae
Cleanup previous PR 2024-03-03 09:19:27 +05:30
Charles Haley
47ae06f28e Change the template function get_note() to return the html note with all resources expanded to be inline. It uses the same code as export_note(), but removing the <html>, <head>, and <body> tags. 2024-03-02 13:03:04 +00:00
Charles Haley
cb97f51108 Support composite columns in book jackets. 2024-03-02 13:00:50 +00:00
Kovid Goyal
c38bacc0ba
Also handle soft hyphens with trailing spaces 2024-03-02 16:57:25 +05:30
Kovid Goyal
b0d3fe6677
DOCX Output: Preserve space before soft hyphen 2024-03-02 14:09:35 +05:30
Kovid Goyal
f8abcadf2f
Book details popup: Copy the original cover image to the clipboard even when the image is rescaled to fit into view 2024-03-02 09:49:11 +05:30
Kovid Goyal
eb05330943
Fix changing disabled colors overriding non-disabled colors 2024-03-01 19:40:43 +05:30
Kovid Goyal
a8a3bc9844
Content server: Fix deletion of viewer profiles not working 2024-03-01 11:11:04 +05:30
Kovid Goyal
f2be7dffef
version 7.6.0 2024-03-01 08:15:53 +05:30
Kovid Goyal
49e06d0cda
... 2024-02-29 14:04:03 +05:30
Kovid Goyal
544d34fa42
... 2024-02-29 14:02:19 +05:30
Kovid Goyal
b10eebf7a0
Workaround chromium causing selection start to also change when end is changed in some circumstances
Fixes #2054934 [Extra text copied when selecting across pages](https://bugs.launchpad.net/calibre/+bug/2054934)
2024-02-29 14:00:52 +05:30