38834 Commits

Author SHA1 Message Date
Charles Haley
73b8bd7ae0 1) Eliminate the space at the end of some lines such as list items.
2) Remove a spurious backslash from the FFML documentation.

NB: removing the space means that the generated rst and html are slightly different from what they were before the change. The changes are white space and don't appear to change what one sees in the interpreted html and rst.

The html and rst output remains identical with original input or rst-formatted input.
2025-07-22 15:34:12 +01:00
Kovid Goyal
95d788d9fa
Add the two remaining ffml strings to be translated 2025-07-22 19:20:00 +05:30
Kovid Goyal
bca0b9526b
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-07-22 18:56:52 +05:30
Kovid Goyal
29c309d23a
Restore formatter function help texts to Transifex
We now use the form processed for easy translation. Fixes #2117352 [Translatable raw strings cause spurious newlines on Transifex](https://bugs.launchpad.net/calibre/+bug/2117352)
2025-07-22 18:53:27 +05:30
Charles Haley
91b1b8445c Two small optimizations in the FFML transifex processor. It is possible that using the ternary expressions will be faster, and it looks better. 2025-07-22 12:36:54 +01:00
Charles Haley
ab9ba6a3af Move the FFML general documentation to formatter_functions() so it can be processed before sending it to transifex. 2025-07-22 12:26:07 +01:00
Charles Haley
1aaedb60f4 Show FFML-processed text in the documentation widget instead of the markup. 2025-07-22 12:24:58 +01:00
Kovid Goyal
4e66d2fff6
... 2025-07-22 16:16:49 +05:30
Kovid Goyal
e38f7f2346
Delay load various bits of the builtin formatter functions
This reduces import time of the module from 21ms to 1.5ms as measured
using python -X importtime

Note that translations are currently broken pending adding support for
ffml_translate() to the code generating the POT file.
2025-07-22 16:09:52 +05:30
Kovid Goyal
5c608d42a7
pep8 2025-07-22 15:33:50 +05:30
Kovid Goyal
917079781d
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-07-22 15:27:45 +05:30
Charles Haley
efae3e8382 String change. 2025-07-21 19:38:08 +01:00
Charles Haley
665221c4cd Fix escape sequence problem 2025-07-21 19:32:03 +01:00
Charles Haley
8013777a0f Add "document_to_transifex()" and "tree_to_transifex()" methods. 2025-07-21 19:16:34 +01:00
Charles Haley
66f101c8b4 Fix two syntax errors in the FFML documentation. 2025-07-21 19:15:26 +01:00
Kovid Goyal
f25ef1ed2a
When importing exported calibre data ignore "Appledouble" files created by macOS if the user copies the exported data onto a non-native filesystem using macOS tools 2025-07-21 19:33:36 +05:30
413Michele
816acd8e15
tag_list_editor.ui - Fix double space 2025-07-21 11:46:37 +02:00
Kovid Goyal
d428b95fc1
Fix #2117336 [Another page-list in EPUB 3 nav can be broken by conversion bug](https://bugs.launchpad.net/calibre/+bug/2117336) 2025-07-20 19:57:50 +05:30
Kovid Goyal
a8079709a4
listdir must return full paths 2025-07-20 13:35:51 +05:30
Kovid Goyal
1845c11990
Fix attempt to add directories whose names end with a known ebook extension
These will fail anyway, so dont return them when iterating a folder to
scan for books.
2025-07-20 13:25:47 +05:30
Kovid Goyal
1f0403dfd3
EPUB3 Output: Do not split the nav HTML file in the input document, if any. Prevents duplication of nav and broken links in output nav. Fixes #2117255 [Page-list in EPUB 3 nav can be broken by conversion](https://bugs.launchpad.net/calibre/+bug/2117255) 2025-07-18 20:18:53 +05:30
Kovid Goyal
34b6f7e9bd
... 2025-07-18 11:27:07 +05:30
Kovid Goyal
813db96cd3
Fix failing test comparing date searching with old and new dbs
Ensure date comparison is done in the same timezone. This change only
affects legacy code path that is not actually used anywhere other than
for tests.
2025-07-18 11:22:25 +05:30
Kovid Goyal
ff1df09c4a
temporarily disable test pending investigation for why its failing onmy new machine 2025-07-18 08:15:47 +05:30
Kovid Goyal
d81aae4b71
version 8.7.0 2025-07-18 07:57:21 +05:30
Charles Haley
54b4076778 Detect templates that return a constant string in save to disk/send to device. 2025-07-17 18:53:13 +01:00
Kovid Goyal
6d3af52614
MTP driver: Use APNX config values from the Kindle plugin
This means APNX settings will be shared across all Kindle devices in one
place. They will apply the same to both USBMS and MTP based Kindles.
2025-07-17 13:53:51 +05:30
Kovid Goyal
aa2aef48f8
When finding similar books by author ignore "et al." suffix on author names. Fixes #2116804 [[Enhancement] Books by same author should ignore "et al."](https://bugs.launchpad.net/calibre/+bug/2116804) 2025-07-17 11:16:29 +05:30
Kovid Goyal
1ddbaa2bd8
Kobo driver: Fix a regression that caused ancient, pre-Touch kobo devices to no longer work with calibre. Fixes #2117113 [Calibre can't communicate with kobo](https://bugs.launchpad.net/calibre/+bug/2117113) 2025-07-17 10:43:23 +05:30
Kovid Goyal
1ce22c9aea
MTP driver: Workaround for LibMTP no longer returning device serial numbers on some systems
Fixes #2810 (MTP Kindle Serial not detected)
2025-07-16 21:57:09 +05:30
Kovid Goyal
b67e54744a
string changes 2025-07-16 14:45:17 +05:30
un-pogaz
730ac72ee8 pep8: fix bare except
ruff 'E722'
2025-07-16 08:55:16 +02:00
Kovid Goyal
0cac76f515
Cleanup previous PR 2025-07-16 05:37:16 +05:30
Daniel Pecos Martinez
2c6084700a
Fix for APNX file name 2025-07-15 22:28:12 +02:00
Daniel Pecos Martinez
b1f84b9b31
UI to configure APNX settings 2025-07-15 22:28:03 +02:00
Daniel Pecos Martinez
84a3f8818d
Feeback from forum applied 2025-07-15 19:33:27 +02:00
Daniel Pecos Martinez
7d2afdcec2
Use tempfile API to create local APNX file 2025-07-15 07:54:02 +02:00
Daniel Pecos Martinez
6d5c681a86
Options for APNX generation in MTP devices - No UI 2025-07-14 23:33:04 +02:00
Daniel Pecos Martinez
35f701fb9f
Only upload APNX for Kindle devices 2025-07-14 23:01:19 +02:00
Daniel Pecos Martinez
8a2b027e39
APNX generation for MTP devices 2025-07-14 22:46:50 +02:00
Charles Haley
8f97765868 Bug #2116864: Save Preferences Naming Error. This affects Preferences / Send to device 2025-07-14 12:40:29 +01:00
Kovid Goyal
764ce83290
Edit book: Fix the next/previous buttons in the Text search tool not working 2025-07-13 12:22:50 +05:30
Kovid Goyal
5ee36ba214
Fix #2116065 [series mapping rules cut off replacement at "," - in metadata download view](https://bugs.launchpad.net/calibre/+bug/2116065) 2025-07-13 09:45:00 +05:30
Kovid Goyal
477891f072
Fix #2116790 [Blacklisted Plugins.](https://bugs.launchpad.net/calibre/+bug/2116790) 2025-07-13 09:33:53 +05:30
Kovid Goyal
3b762b9781
Fix #2116784 [author_use_surname_prefixes is always false when surname contains accented character](https://bugs.launchpad.net/calibre/+bug/2116784) 2025-07-13 09:27:40 +05:30
Kovid Goyal
acbbe86141
string changes 2025-07-13 09:25:45 +05:30
Kovid Goyal
6d222be1ab
Merge branch 'master' of https://github.com/Mikescher/calibre 2025-07-13 08:56:03 +05:30
Kovid Goyal
48ed5c63f5
pep8 2025-07-12 22:35:56 +05:30
Charles Haley
ce0b6c243f Add a formats_path_segments() template function. 2025-07-12 13:39:02 +01:00
Kovid Goyal
78bf3c11e1
string changes 2025-07-12 06:42:11 +05:30