51596 Commits

Author SHA1 Message Date
Kovid Goyal
d2ead9eaaa
Terminate espeak on module free 2025-07-30 21:00:08 +05:30
Kovid Goyal
7dfc7340a6
Finish wrapping espeak-ng APIs
Only need the text to phonemes and voice by name APIs
2025-07-30 21:00:08 +05:30
Kovid Goyal
c46e58d479
Start work on getting rid of piper code and only using the model data
The inference code if a few hundred lines anyway, piper is unmaintained
and forked and the fork depends on the gigantic python ONNXRuntime
bindings. Just write the few hundred lines myself.
2025-07-30 21:00:08 +05:30
Kovid Goyal
920b87ac2b
Merge branch 'master' of https://github.com/Monkfishare/calibre 2025-07-30 13:33:41 +05:30
Monkfishare
abd0a2efe3
Revert: Bring back publication_date functionality 2025-07-30 15:57:01 +08:00
unkn0w7n
4954092a08
Update economist.recipe 2025-07-30 10:46:35 +05:30
unkn_wn
4374ff2380
Update wsj_news.recipe
cover source.
2025-07-29 14:42:28 +05:30
unkn_wn
72cba9ee74
Update wsj.recipe
change cover source
2025-07-29 14:40:17 +05:30
Kovid Goyal
194116a302
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-07-28 20:27:22 +05:30
unkn0w7n
be184385ca update 1843
Handle BLOCK_QUOTE nodes
2025-07-28 18:16:28 +05:30
Kovid Goyal
fe690dbafc
Merge branch 'master' of https://github.com/413Michele/calibre 2025-07-27 20:14:07 +05:30
413Michele
a8103c650e
Change [/]. to .[/] 2025-07-27 13:27:18 +02:00
413Michele
2f59fa2a8b
Empty line before aliases 2025-07-27 13:03:06 +02:00
413Michele
ff8a8b4cb2
Add quotes to function reference 2025-07-27 12:45:43 +02:00
413Michele
e5a226cda2
Remove comma for consistency 2025-07-27 12:39:53 +02:00
413Michele
ab9a0d3e57
Update formatter_functions.py
Remove spurious parentheses
2025-07-27 12:22:09 +02:00
Kovid Goyal
a3b113c5b8
pep8 2025-07-27 11:30:17 +05:30
Kovid Goyal
2b02cde533
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-07-27 11:29:47 +05:30
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