36653 Commits

Author SHA1 Message Date
Kovid Goyal
f36d2ce149
string changes 2023-10-18 20:42:26 +05:30
Kovid Goyal
6eb593f663
Fix #2039587 [A minor correction](https://bugs.launchpad.net/calibre/+bug/2039587) 2023-10-18 06:49:33 +05:30
Kovid Goyal
8375128374
E-book viewer: Fix the occasional search result being marked as not found even though it is found
See #2038747 (Private bug)
2023-10-17 11:02:12 +05:30
Kovid Goyal
337bbb3c90
... 2023-10-17 09:05:15 +05:30
Kovid Goyal
2b5b161379
E-book viewer: Fix a regression that could cause the viewer to enter an infinite loop when displaying the result of a search that has only one match that is not found. Fixes #2038747 [Private bug](https://bugs.launchpad.net/calibre/+bug/2038747) 2023-10-17 09:02:56 +05:30
Kovid Goyal
3efaad9553
Yet another workaround for broken getBoundingClientRect. Fixes #2038672 [E-book viewer: clicking on a ToC item jumps to an incorrect position](https://bugs.launchpad.net/calibre/+bug/2038672)
Use a range to ge tthe rect instead more efficient than our offset based
JS function.
2023-10-17 08:01:28 +05:30
Kovid Goyal
33d9e13cd9
... 2023-10-17 07:20:33 +05:30
Kovid Goyal
79db6e1f75
TXTZ Output plugin: Only keep images if the text format is one that can reference images. Fixes #2039474 [Images should not be saved when converting to TXTZ](https://bugs.launchpad.net/calibre/+bug/2039474) 2023-10-17 05:24:18 +05:30
Kovid Goyal
c86de09698
TXTZ Output: Fix cover not being properly identified in the generated TXTZ metadata. Fixes #2038848 [Ebook-viewer: book cover for a TXTZ file is not shown](https://bugs.launchpad.net/calibre/+bug/2038848) 2023-10-16 20:18:47 +05:30
Kovid Goyal
b9385fb982
Fix #2038961 [E-book viewer: two cover pages for an AZW3 book](https://bugs.launchpad.net/calibre/+bug/2038961) 2023-10-16 18:44:10 +05:30
Kovid Goyal
ac0ae71ae8
E-book viewer: Add a command line flag --new-instance to force the viewer to open a new window even if the option to always use a single viewer window is set. Fixes #2038760 [Enhancement Request: Parameter to open second instance of viewer](https://bugs.launchpad.net/calibre/+bug/2038760) 2023-10-16 18:04:30 +05:30
Kovid Goyal
9d3fdf2214
Annotations browser: Fix exporting highlights in markdown not including all chapter titles for books with only a single highlight per chapter or a multi level ToC. Fixes #2039336 [Annotation export to markdown fails to include chapter titles](https://bugs.launchpad.net/calibre/+bug/2039336) 2023-10-16 16:53:06 +05:30
Kovid Goyal
32d80a0cfe
Have initialize_socket() set socket_was_preactivated always 2023-10-16 14:04:08 +05:30
Kovid Goyal
77f303179c
Linux: Content server: Do not call listen on pre-activated sockets
Fixes #2039395 [Don't call listen() for systemd-allocated sockets](https://bugs.launchpad.net/calibre/+bug/2039395)
Fixes #2069 (calibre-server: don't call listen() on pre-allocated sockets)
2023-10-16 14:01:21 +05:30
Kovid Goyal
347b911b8d
Allow using get_obfuscated-article without using temp files 2023-10-16 11:25:40 +05:30
Kovid Goyal
41e9ac0840
Cleanup simple scraper overseers after recipe download in case any were used by the recipe 2023-10-16 11:24:32 +05:30
Kovid Goyal
5a7e02afb4
Change order of cmake directives to fix warning from cmake 2023-10-15 20:31:17 +05:30
Kovid Goyal
ac7957941f
Use immutable objects for hierarchical_categories for better performance 2023-10-12 08:12:20 +05:30
Charles Haley
7f5be63f25 Forgot to update the default value after changing to using sets 2023-10-11 18:37:58 +01:00
Charles Haley
a25d08e268 Fix sort order of similarly-named hierarchical categories.
See https://www.mobileread.com/forums/showthread.php?t=356598
2023-10-11 18:34:53 +01:00
Kovid Goyal
ac0e00e60b
E-book viewer: Image popup: Add a checkbox to remember the last used zoom level. Fixes #2038862 [[Enhancement] E-book viewer: options for a better comic book reading experience](https://bugs.launchpad.net/calibre/+bug/2038862) 2023-10-10 20:39:09 +05:30
Kovid Goyal
ff7e9006b1
... 2023-10-10 06:29:41 +05:30
Kovid Goyal
c4c2575096
... 2023-10-09 21:02:46 +05:30
Kovid Goyal
97825e0467
Fix a regression that broke reading of covers from HTMLZ and TXTZ files. Fixes #2038778 [Book cover is not shown after converting from FB2 to HTMLZ](https://bugs.launchpad.net/calibre/+bug/2038778) 2023-10-09 20:58:05 +05:30
Kovid Goyal
f70c8e3d6b
Fix another compiler warning about an unused variable 2023-10-08 08:49:13 +05:30
Kovid Goyal
664e620fab
Fix a bunch of compiler warnings
Caused by ancient (K&R?) syntax
2023-10-08 08:42:01 +05:30
Kovid Goyal
8f074ed42f
version 6.28.1 2023-10-07 16:37:30 +05:30
Kovid Goyal
b0552e399b
Better error reporting in certgen
Also require alt_names to already be prefixed
2023-10-06 16:30:43 +05:30
Kovid Goyal
4c50a6fa7b
Get alt_names for certgen 2023-10-06 16:02:17 +05:30
Kovid Goyal
e2d846deb3
Provide EVP_RSA_gen on legacy OpenSSL 2023-10-06 15:15:24 +05:30
Kovid Goyal
4605c43101
Dont use deprecated OpenSSL APIs in certgen 2023-10-06 14:58:30 +05:30
Kovid Goyal
d463f34b7b
Fix regression that broke merging metadata for some books 2023-10-06 11:53:01 +05:30
Kovid Goyal
b2b885117b
version 6.28.0 2023-10-06 07:59:25 +05:30
Kovid Goyal
05bb0d9f73
... 2023-10-05 20:11:01 +05:30
Charles Haley
fe5a546367 Add Metadata methods to ProxyMetadata when reasonable to avoid AttributeError exceptions.
Add tests for the new methods.
2023-10-05 15:35:31 +01:00
Kovid Goyal
fedafa4978
Fix #2038432 [[Enhancement] Support for .cb7 files](https://bugs.launchpad.net/calibre/+bug/2038432) 2023-10-04 18:45:49 +05:30
Kovid Goyal
464c3a4c76
Only use dictionaries path workaround for HTTP 404 errors 2023-10-04 15:11:13 +05:30
Kovid Goyal
0979c1a25c
Merge branch 'fix-dictionaries' of https://github.com/un-pogaz/calibre 2023-10-04 15:03:21 +05:30
un-pogaz
8374353d51 fix script variante includes in the lang_code
Some dictionaries add a script variante in their lang_code, for example:
https://github.com/LibreOffice/dictionaries/tree/master/mn_MN
2023-10-04 11:19:29 +02:00
un-pogaz
a43d86a0af fix alternative string-list representation in xcu
A alternative representation for string-list use <it> tag for each item of the list, for example:
https://github.com/LibreOffice/dictionaries/tree/master/tr_TR
2023-10-04 10:46:32 +02:00
un-pogaz
9551f021ec fix incorrectly relative paths
Some dictionaries apparently put the dic and aff file in a sub-directory dictionaries and incorrectly make paths relative to that directory instead of the root, for example:
https://github.com/LibreOffice/dictionaries/tree/master/ca
2023-10-04 10:17:46 +02:00
Kovid Goyal
2a6158e05e
Save to disk: Do not limit the total path length to 240 characters on non-Windows platforms. Fixes #2038238 [file and folder names garbled if too long in "save to disk".](https://bugs.launchpad.net/calibre/+bug/2038238) 2023-10-04 13:46:15 +05:30
Kovid Goyal
1daa020a4f
Fix incorrect cover for AZW3 version of calibre User Manual. Fixes #2037898 [Incorrect cover for an .azw3 book](https://bugs.launchpad.net/calibre/+bug/2037898) 2023-10-04 13:30:19 +05:30
Kovid Goyal
7897c92a3a
Fix #2038378 [[Enhancement] Use a darker or different color in the Change library access permission popup](https://bugs.launchpad.net/calibre/+bug/2038378) 2023-10-04 05:47:21 +05:30
Kovid Goyal
503d0e0113
Also decode bytes in comparable_price() 2023-10-03 07:40:27 +05:30
Kovid Goyal
da24ae6480
Fix #2052 (Improve error handling in get_results method) 2023-10-03 07:39:37 +05:30
Kovid Goyal
2d000bf23e
Make merge_metadata a db API
Since it operates on the database and is a fairly small function,
no sense in having it in a separate module
2023-10-02 15:44:11 +05:30
Charles Haley
125bc94ac8 Separate out merge_metadata as discussed on MobileRead 2023-10-02 10:40:26 +01:00
Kovid Goyal
b284d3661e
Content server: Change formatting of book details to match new de-emphasized titles based formatting in the main calibre program. Fixes #2029723 [[Enhancement] Suggestions to make the Book details panel look nicer](https://bugs.launchpad.net/calibre/+bug/2029723) 2023-10-02 08:38:11 +05:30
Kovid Goyal
4d20e70ea1
Edit book: When adding dictionaries allow directly a LibreOffice adding the dictionary just by choosing the language
Cleanup previous PR that implement this functionality
2023-10-01 20:19:07 +05:30