Commit Graph

51578 Commits

Author SHA1 Message Date
unkn0w7n 2fa5a9d7ca Update wsj_news.recipe 2025-07-27 11:08:54 +05:30
unkn0w7n 1bec410cf6 Update wsj_mag.recipe
add cover
2025-07-27 11:07:38 +05:30
unkn0w7n 5aa877f6dd Update wsj.recipe
fix cover-changed source
2025-07-27 11:07:14 +05:30
unkn0w7n 612aa3d81a Update 1843.recipe 2025-07-26 22:12:22 +05:30
Kovid Goyal 1d817fdeff string changes 2025-07-26 08:48:11 +05:30
Kovid Goyal 9f33fed800 Merge branch 'fix-tijd-recipe-broken-links' of https://github.com/sterkensmilan/calibre 2025-07-25 20:53:34 +05:30
sterkensmilan 4aae75aefd Fix broken links in tijd.recipe 2025-07-25 17:13:12 +02:00
Kovid Goyal b1df791726 Bump version for preview release 2025-07-25 08:22:39 +05:30
Kovid Goyal 0409a28e00 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-07-25 07:58:46 +05:30
unkn0w7n 7b551046d2 update wapo
Fix order of HTML parsing in preprocess_raw_html
2025-07-25 00:12:40 +05:30
Kovid Goyal 1d2f6fd03b Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-07-24 13:26:31 +05:30
unkn0wn b8cdf762ee ... 2025-07-24 11:39:32 +05:30
unkn0wn d353c5afe6 ... 2025-07-24 11:38:54 +05:30
unkn0w7n fc42e81b6d Washington Post
Updated both wash_post and wash_post_print recipes to improve article formatting. Added support for displaying article labels, promo images, and list items.
2025-07-24 10:03:25 +05:30
Kovid Goyal dc71439ad7 Merge branch 'master' of https://github.com/cbhaley/calibre 2025-07-23 17:29:35 +05:30
Charles Haley 9f195c761e Two independent changes:
1) formatter_functions.py: change a quoted string to an italic string so it is the same as in other functions.

2) ffml_processor.py: use look ahead in the parser to detect parse nodes with text that can be inlined.
2025-07-23 12:49:28 +01:00
Kovid Goyal 3b094d798c Edit book: Reports: Fix sorting by name of CSS rules 2025-07-23 10:13:07 +05:30
Kovid Goyal ecf422e450 Merge branch 'master' of https://github.com/cbhaley/calibre 2025-07-22 20:11:10 +05:30
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
Kovid Goyal 0fc4516bc2 The piper project list of voices has changed format and location
Need to look into updating the actual binary bundled with calibre as
well. Fixes #2117433 [download Neural network metadata with error](https://bugs.launchpad.net/calibre/+bug/2117433)
2025-07-22 07:41:29 +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
Kovid Goyal 5a1ca6edf4 Merge branch 'master' of https://github.com/413Michele/calibre 2025-07-21 15:19:35 +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 b0bc385250 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-07-18 21:31:25 +05:30
unkn0w7n a067737234 Update economist_news.recipe
Enhanced the parse_txt function to handle 'subscript' and 'superscript' tags.
2025-07-18 21:28:16 +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 4d4f845552 ... 2025-07-18 13:45:56 +05:30
Kovid Goyal 38b8f5650f string changes 2025-07-18 13:19:59 +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 v8.7.0 2025-07-18 08:15:47 +05:30
Kovid Goyal 93f15c78c4 pep8 2025-07-18 07:57:54 +05:30
Kovid Goyal d81aae4b71 version 8.7.0 2025-07-18 07:57:21 +05:30