37501 Commits

Author SHA1 Message Date
Kovid Goyal
459bc57ec1
Fix #2075415 [Ebook-viewer: spaces are lost when showing/retrieving items in/from search history](https://bugs.launchpad.net/calibre/+bug/2075415) 2024-08-15 11:29:59 +05:30
Kovid Goyal
da187adea6
Edit book: Fix searching marking incorrect text in the presence of non-BMP unicode characters. Fixes #2075970 [regex does not properly select match](https://bugs.launchpad.net/calibre/+bug/2075970) 2024-08-15 08:49:53 +05:30
Kovid Goyal
edeb5cb1eb
Conversion: Do not embed a second copy of a font when using the option to embed font family if the font is already embedded in the book. Fixes #2074002 [Private bug](https://bugs.launchpad.net/calibre/+bug/2074002) 2024-08-15 07:57:01 +05:30
Eli Schwartz
4bc75833ff
tests: fix SSL test on python 3.13 by being more lenient about VERIFY_X509_STRICT
In python 3.13, this flag was added to the default created ctx. This
seems reasonable for production validation, but the unittest code
generates a certificate that fails this. Inside test code, it seems fine
to relax the constraints again. Our goal is to test the server itself,
anyway, not the ssl module.

See also: https://github.com/python/cpython/issues/107361
2024-08-14 21:19:29 -04:00
Kovid Goyal
5fc10a7af1
Edit book: When text is selected allow changing the indentation of all lines in the selection by pressing Tab to increase one level or Shift+Tab to decrease one level. Fixes #2076251 [[Edit Book][Enhancement] Allow to indent all selected lines at once](https://bugs.launchpad.net/calibre/+bug/2076251) 2024-08-14 21:42:00 +05:30
Kovid Goyal
3d477b904c
PDF Output: Disable subsetting of embedded TrueType fonts to workaround a bug in chromium as of Qt 6.7.2 2024-08-14 19:45:04 +05:30
Kovid Goyal
7717572f6e
... 2024-08-14 14:22:11 +05:30
Kovid Goyal
593e4089bc
Support custom HTTP verbs 2024-08-14 14:20:29 +05:30
Kovid Goyal
c867bcaf99
... 2024-08-14 13:41:28 +05:30
Kovid Goyal
73a5036134
Use the same function name for cookie setting 2024-08-14 13:39:36 +05:30
Kovid Goyal
918eb72335
Implement ignoring ssl errors in qt backend 2024-08-14 13:30:00 +05:30
Kovid Goyal
7a43916d6c
... 2024-08-14 13:09:54 +05:30
Kovid Goyal
a26f6dcee3
Cleanup data handling 2024-08-14 12:58:05 +05:30
Kovid Goyal
4b78c60724
pep8 2024-08-14 12:50:47 +05:30
Kovid Goyal
e8453ed590
Switch over to Qt browser rather than webengine download based browser as alternative to mechanize
Seems to work better. I am guessing the download() implementation in
QtWebEngine restricts itself to HTTP 1.1
2024-08-14 12:45:23 +05:30
Kovid Goyal
e28f9c3ed3
Qt browser frontend is not functional with tests 2024-08-14 12:32:45 +05:30
Kovid Goyal
8c0bb15478
Qt backend basically works 2024-08-14 11:34:04 +05:30
Kovid Goyal
91b6a64777
Rename some modules 2024-08-14 11:23:46 +05:30
Kovid Goyal
48b4faec95
More work on the Qt browser backend 2024-08-14 11:18:13 +05:30
Kovid Goyal
ecebe2acef
Various Russian and Ukranian news sources by bugmen00t 2024-08-14 09:35:27 +05:30
Kovid Goyal
149d680e60
Support building in container 2024-08-13 21:39:41 +05:30
Kovid Goyal
66f8ae20fc
Fetch news: Allow using the chromium network stack to make HTTP requests 2024-08-13 18:43:37 +05:30
Kovid Goyal
3d092909d6
Merge branch 'fix_tolino_mimetype' of https://github.com/beedaddy/calibre 2024-08-12 09:25:09 +05:30
Martin Brodbeck
2682901d78 Handle more tolino specific cases. 2024-08-11 18:38:36 +02:00
Martin Brodbeck
e75ea57e41 Check for tolino device. 2024-08-11 18:37:22 +02:00
Kovid Goyal
34f7b9eaf4
Fix #2076515 [calibredb list command ignores fields option](https://bugs.launchpad.net/calibre/+bug/2076515) 2024-08-11 20:18:29 +05:30
Martin Brodbeck
2ac0d0fcf0 Books from the Tolino Cloud are EPUBs (not KEPUBs).
Add MimeType 'application/epub+zip' so that these books are also being listed.
2024-08-11 15:55:36 +02:00
Kovid Goyal
408193c895
Get print() working in fetch worker 2024-08-09 19:33:55 +05:30
Kovid Goyal
339ec662d4
Implement changing user-agent and setting cookies 2024-08-09 19:27:22 +05:30
Kovid Goyal
1c5c36b1d7
Add tests for redirection and request objects 2024-08-09 13:12:32 +05:30
Kovid Goyal
d7404bcf1b
More tests including for timeouts 2024-08-09 12:53:53 +05:30
Kovid Goyal
d437f1b644
Add a basic test for the fetch backend 2024-08-09 10:44:02 +05:30
Kovid Goyal
4f077f1934
Write a fake browser object to help integrate the new webengine based fetcher into the recipe system 2024-08-09 08:59:34 +05:30
Kovid Goyal
40d217d7e7
More work on new fetch engine 2024-08-08 20:47:07 +05:30
Kovid Goyal
6f307021a0
More work on the new fetch backend 2024-08-08 15:02:17 +05:30
Kovid Goyal
d1589e00f3
Email delivery: When sending emails to Kindle's dont convert filenames to English letters as Amazon appears to have finally fixed their email servers to handle non-English filenames.
Fixes #2378 (use ebook title (name) as the email attachment name)
2024-08-08 12:46:06 +05:30
Kovid Goyal
e62f7427b4
Move scraper test into its own module 2024-08-08 10:46:36 +05:30
Kovid Goyal
5031269baf
Start work on using browser network stack for recipes 2024-08-06 08:56:41 +05:30
Kovid Goyal
0ce8e9af3c
Cleanup previous PR 2024-08-04 14:42:46 +05:30
Kovid Goyal
74d685ffa4
Merge branch 'opf' of https://github.com/lidavidm/calibre 2024-08-04 14:42:39 +05:30
Kovid Goyal
64cb4b3fc6
Bump Qt to version 6.7.2
Also fix some pep8 warnings in recipes
2024-08-04 14:26:28 +05:30
David Li
f1827e40d1 Feedback 2024-08-04 17:29:02 +09:00
luzpaz
e666ac3144
Fix various typos in codebase
Foiund via `codespell -q 3 -S "./Changelog.*,./resources/dictionaries" -L alo,ans,bu,fo,lokale,lokales,nd,pard,ro,tha,te,ths,ue,vai `
2024-08-02 13:12:09 -04:00
Kovid Goyal
f198b029e7
When adding books that do not have title sort metadata auto-generate it based on the book's language 2024-08-02 21:36:47 +05:30
Kovid Goyal
d597d59b25
Ensure field metadata is initialised before constructing downloaded books list 2024-08-02 21:01:03 +05:30
Kovid Goyal
8fa1980710
Another try at #2073972 2024-08-02 20:56:55 +05:30
Kovid Goyal
679848a577
Fix #2075562 [[Enhancement] MDE: Keep focus on current field when navigating books](https://bugs.launchpad.net/calibre/+bug/2075562) 2024-08-02 19:12:31 +05:30
Charles Haley
358aa8c4c6 Enhancement #2075565: Quickview: Tooltip displaying cell contents 2024-08-02 11:21:26 +01:00
Kovid Goyal
5203dc48d3
Windows: Book details panel: Fix selection not visible when using the system default theme 2024-08-02 12:19:49 +05:30
luzpaz
7d557904d5
Fix various typos
Found via `codespell -q 3 -S "./Changelog.*,./resources/dictionaries" -L alo,ans,nd,pard,ro`
2024-08-01 11:25:44 -04:00