Commit Graph

49369 Commits

Author SHA1 Message Date
Kovid Goyal cfe9c58db8 Use atexit to add another layer of protection
Hopefully should make process leaks vanishingly rare. Basically only
on crashes.
2024-08-17 08:52:42 +05:30
Kovid Goyal f82da06184 Get rid of the simple backend in favor of WebEngineBrowser 2024-08-16 20:24:50 +05:30
Kovid Goyal 5b00e588b2 Allow using the webengine backend in recipes 2024-08-16 20:01:50 +05:30
Kovid Goyal 5c8332e438 Remove the webengine download backend
Superseded by the new webengine backend which should hopefully
be more browser-like.
2024-08-16 19:51:07 +05:30
Kovid Goyal 1e2cd173f2 Fix recipe browser tests 2024-08-16 19:46:04 +05:30
Kovid Goyal 6b907d8ec2 ... 2024-08-16 19:26:35 +05:30
Kovid Goyal b01d756329 Add extended key usage and dont use subprocess for verification 2024-08-16 18:54:11 +05:30
Kovid Goyal 60db6aae2f Proper fix for ssl server test
Needed to generate subject key id for the CA cert and authority key id
for the server cert
2024-08-16 17:18:00 +05:30
Kovid Goyal c278d6de5c Add key usage to generated CA certificate 2024-08-16 15:43:33 +05:30
Kovid Goyal ee92957837 Add authority and subject key identifiers to self signed certificates 2024-08-16 15:04:28 +05:30
Kovid Goyal 6d4d11dc9e Implement POST and headers 2024-08-16 13:08:28 +05:30
Kovid Goyal 71e8654c80 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-08-16 12:47:12 +05:30
unkn0w7n 63ca3ff11a Update Nautilus Magazine 2024-08-16 12:41:02 +05:30
Kovid Goyal aad7f706d5 Implement a default HTTP reason 2024-08-16 12:37:36 +05:30
Kovid Goyal 5a1d5c21ff develop with multiple urls 2024-08-16 12:05:05 +05:30
Kovid Goyal 885961acc0 Get basic fetching working 2024-08-16 11:58:14 +05:30
Kovid Goyal 3c5e4ed751 Fix deprecation warning from SIP 2024-08-16 09:56:23 +05:30
Kovid Goyal 954316b543 Fix tarball arch name 2024-08-16 09:30:26 +05:30
Kovid Goyal f1f57e179a Fix build on macOS 2024-08-16 08:59:25 +05:30
Kovid Goyal bc8b734f34 Bump version for preview build 2024-08-16 08:29:13 +05:30
Kovid Goyal 0930904897 Work on webengine browser backend 2024-08-16 08:16:41 +05:30
Kovid Goyal f17dd504b3 No need for a separate scraper.js for a few lines of JS 2024-08-15 22:39:59 +05:30
Kovid Goyal b712d19eba Make headers and http status available on fake response objects 2024-08-15 22:39:43 +05:30
Kovid Goyal 03851ec6b3 Make the subprocess browser class re-useable 2024-08-15 17:09:57 +05:30
Kovid Goyal 3e7bce7131 string changes 2024-08-15 16:16:08 +05:30
Kovid Goyal 8947b275e0 ... 2024-08-15 13:37:36 +05:30
Kovid Goyal a54cc071db Fix JS human_readable not working for sizes >= 1GB 2024-08-15 13:36:45 +05:30
Kovid Goyal aee1560736 Show leading/trailing whitespace in completion popup 2024-08-15 12:06:18 +05:30
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 a42eaa8c5e ... 2024-08-15 11:07:40 +05:30
Kovid Goyal 14f60e6968 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-08-15 11:06:03 +05:30
unkn0w7n b02496e7d5 Create Süddeutsche Zeitung Magazin 2024-08-15 09:58:33 +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 9f76ddb56f Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-08-15 08:21:22 +05:30
unkn0w7n 630ae6365c ... 2024-08-15 08:15:54 +05:30
unkn0w7n 14055f575e Fix Süddeutsche Zeitung 2024-08-15 08:12:25 +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
Kovid Goyal 72ce908b73 Merge branch 'py3.13' of https://github.com/eli-schwartz/calibre 2024-08-15 06:56:39 +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 4232224213 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-08-14 18:47:33 +05:30
unkn0w7n 17806d034e Update theindiaforum.recipe 2024-08-14 18:39:18 +05:30
unkn0w7n aae0ca3b2c Update WSJ
add options for hi-res images
2024-08-14 18:26:14 +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 6017835712 ... 2024-08-14 13:52:38 +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