Commit Graph

44207 Commits

Author SHA1 Message Date
Kovid Goyal df3a19ef42 Change supernote folder from Documents to Document 2021-12-22 21:19:24 +05:30
Kovid Goyal d51a453a73 Equestria Daily by Timothee Andres 2021-12-20 10:29:51 +05:30
Kovid Goyal aec2c1a551 AZW3 Input: Handle AZW3 files with incorrect TAGX Offset INDX header fields. Fixes #1955308 [MOBI reader loads TAGX from wrong offset](https://bugs.launchpad.net/calibre/+bug/1955308) 2021-12-19 08:56:36 +05:30
Kovid Goyal 172ee5d531 Update The BBC
For some reason it now serializes the article JSON as a dict serialized
as string.
2021-12-19 08:30:13 +05:30
Kovid Goyal 559bba5fa9 Also remember all files for the add formats button in the edit metadata dialog 2021-12-19 08:10:55 +05:30
Kovid Goyal b50a2449fe py310: More float->int goodness
Fixes #1955311 [Error converting ePUB to MOBI during Rasterizing SVG images](https://bugs.launchpad.net/calibre/+bug/1955311)
2021-12-19 07:58:19 +05:30
Kovid Goyal dafa08e921 Fix path used to init_calibre module installation
Fixes #1553 (Fix python site-package libdir creation in FreeBSD)
2021-12-17 17:23:35 +05:30
Kovid Goyal 07b4563c36 py3compat: Another PDB ereader output fix 2021-12-17 17:13:25 +05:30
Kovid Goyal 1127c285bb Merge branch 'fix_socket_close' of https://github.com/pawl/calibre 2021-12-17 11:28:54 +05:30
Paul Brown 4763f4363b close Connection socket after server disconnect 2021-12-16 23:49:13 -06:00
Kovid Goyal c91d35ffa4 Use the correct enum for acceptnavrequest 2021-12-17 08:38:03 +05:30
Kovid Goyal 0759ab8589 Fix closing open book panel not quitting viewer 2021-12-17 08:36:17 +05:30
Kovid Goyal ba1b75e9fd Sort the names in the manage file excludes list 2021-12-17 07:29:41 +05:30
Kovid Goyal 3477e6395c version 5.34.0 v5.34.0 2021-12-17 06:10:19 +05:30
Kovid Goyal 5e695e8d96 py310: And another. Fixes #1955069 [Quick-select Virtual Library broken w/ python3.10](https://bugs.launchpad.net/calibre/+bug/1955069) 2021-12-17 05:29:24 +05:30
Kovid Goyal 1cdb757969 Merge branch 'master' of https://github.com/cbhaley/calibre 2021-12-16 22:43:57 +05:30
Charles Haley a66904bd9e Minor message error I happened to notice. 2021-12-16 17:05:46 +00:00
Kovid Goyal b83560f85c string changes 2021-12-16 21:58:01 +05:30
Kovid Goyal 535dd78c6f Remove unused imports 2021-12-16 21:36:03 +05:30
Kovid Goyal d350a121d8 Edit book: Spell check: Add an exclude files button 2021-12-16 21:26:44 +05:30
Kovid Goyal a507bb01ce py310: More float->int goodness
Fixes #1955024 [Failed to start Calibre](https://bugs.launchpad.net/calibre/+bug/1955024)
2021-12-16 16:14:16 +05:30
Kovid Goyal 183e5c3be3 Merge branch 'close' of https://github.com/xxyzz/calibre 2021-12-16 10:48:55 +05:30
Kovid Goyal c615bf8b1c Edit book: Fix pressing F8 to jump to next misspelled word not working after last word in current file 2021-12-16 10:46:38 +05:30
xxyzz b37a4b1f7a close sysfs file 2021-12-16 13:15:21 +08:00
Kovid Goyal c3925db827 py310: Yet another float->int 2021-12-16 08:18:09 +05:30
Kovid Goyal ff1ee01b3b py310: Fix #1954951 [manual trimming of cover throws exception w/ python 3.10](https://bugs.launchpad.net/calibre/+bug/1954951) 2021-12-16 08:16:46 +05:30
Kovid Goyal 0a9778caa3 py3 compat: Fix PDB ereader output broken in calibre 5
Fixes #1954889 [Error when converting to pdb ereader](https://bugs.launchpad.net/calibre/+bug/1954889)
2021-12-15 13:36:24 +05:30
Kovid Goyal 2c6a73534a Fix #1953469 [Private bug](https://bugs.launchpad.net/calibre/+bug/1953469) 2021-12-15 13:33:41 +05:30
Kovid Goyal c1dc45a79f Edit book: Reports: Include descendant selectors that use classes when counting class usage. Fixes #1954839 [Style classes wrongly reported as 0 (unused)](https://bugs.launchpad.net/calibre/+bug/1954839) 2021-12-15 10:46:17 +05:30
Kovid Goyal 8c2aa4182c DRYer 2021-12-15 08:15:26 +05:30
Kovid Goyal 4669ca7d8b EPUB/MOBI Catalogs: Increase the maximum thumbnail size to 3 inches from 2 inches 2021-12-14 20:43:40 +05:30
Kovid Goyal 5101ca89de Fix #1954645 [Private bug](https://bugs.launchpad.net/calibre/+bug/1954645) 2021-12-14 20:14:55 +05:30
Kovid Goyal 9ed24d754b Allow creating a shortcut in preferences->Shortcuts->Edit metadata to paste metadata ignoring the value of the exclude_fields tweak. Fixes #1953739 [[Enhancement] Paste metadata - Override 'exclude_fields_on_paste' setting](https://bugs.launchpad.net/calibre/+bug/1953739) 2021-12-14 18:28:06 +05:30
Kovid Goyal 988b7d97f2 Edit book: Allow adding a comment to an individual HTML/OPF/NCX file to exclude it from being checked when running the spell check tool 2021-12-14 15:46:20 +05:30
Kovid Goyal 4142b93443 string changes 2021-12-14 14:44:45 +05:30
Kovid Goyal 1dfe4bd1c0 Use a UA based on random english words
Cloudflare appears to block http requests with common browser user
agents, probably it checks for some other header field with the user
agent
2021-12-14 12:52:34 +05:30
Kovid Goyal 07f72d2d94 E-book viewer: Fix an error when opening some books with highlights that span inline text formatting
Fixes #1954726 [epub file no longer opens](https://bugs.launchpad.net/calibre/+bug/1954726) [epub file no longer opens](https://bugs.launchpad.net/calibre/+bug/1954726)

normalize() modifies the text nodes, and can potentially result in a
previously selected node no longer having a parent causing wrap() to
throw an exception. In any case normalizing once after all nodes have
been wrapped is faster.
2021-12-14 12:30:54 +05:30
Kovid Goyal 27b2f3a92a E-book viewer: Displays links marked up as glossary and bibliography links as popups. Fixes #1954715 [Support ARIA doc-biblioref and doc-glossref](https://bugs.launchpad.net/calibre/+bug/1954715) 2021-12-14 11:54:03 +05:30
Kovid Goyal 842e99428e py310 compat: QWebEngineSettings::setFontSize
Fixes #1954688 [--pdf-default-font-size is read as float](https://bugs.launchpad.net/calibre/+bug/1954688)
2021-12-14 11:44:33 +05:30
Kovid Goyal 643de95a64 Merge branch 'master' of https://github.com/davidfor/calibre 2021-12-14 11:37:30 +05:30
Kovid Goyal 9085cc2846 Merge branch 'master' of https://github.com/michaeldleslie/calibre
Fixes #1954708 [Unhandled exception when downloading covers and metadata](https://bugs.launchpad.net/calibre/+bug/1954708)
2021-12-14 11:36:26 +05:30
David 616d9bfbbb Don't exclude slashes when parsing URLs for identifier rules
Not sure why I had excluded the slash as a valid character in the identifier. There are a few sites that do this.
2021-12-14 15:03:45 +11:00
Michael Leslie b23064a54d py310 support: explicit cast to int 2021-12-13 18:52:59 -08:00
Kovid Goyal aed39272af Ignore deprecation warning from apsw 2021-12-13 22:19:04 +05:30
Kovid Goyal f01268b2ec Remove deprecated distutils 2021-12-13 21:55:53 +05:30
Kovid Goyal b6da6d9680 Another 3.10 deprecation 2021-12-13 20:35:03 +05:30
Kovid Goyal 7632beb8e0 Replace use of distutils to get installation location for init_env.py 2021-12-13 20:29:35 +05:30
Kovid Goyal 821f71cc4c Fix test failing on python 3.10 2021-12-13 20:11:30 +05:30
Kovid Goyal a445a73e66 A simpler solution for word wrapping in the tweaks list view 2021-12-13 20:02:53 +05:30
Kovid Goyal c171839304 more pyqt6 nonsense 2021-12-13 19:47:15 +05:30