Commit Graph

38755 Commits

Author SHA1 Message Date
Kovid Goyal 466e0d4a13 Update Private Eye
Fixes #1836333 [Private Eye Online failing](https://bugs.launchpad.net/calibre/+bug/1836333)
2019-07-12 14:26:04 +05:30
Kovid Goyal a5bf5344ec version 3.45.1 v3.45.1 2019-07-12 13:49:12 +05:30
Kovid Goyal 15f69b8fa3 Clean up usage of app uids on windows 2019-07-12 13:43:48 +05:30
Kovid Goyal f09f10ab8b Fix incorrect conversion of python unicode objects to wchar_t strings in the winutil module
This fixes the various strange windows specific errors or viewer/editor
shutdown in windows
2019-07-12 13:42:33 +05:30
Kovid Goyal 519a90abdf Ensure we send a mimetype when upload to github 2019-07-12 09:21:01 +05:30
Kovid Goyal e52d62e71d Fix ordered_dither not building on older gcc v3.45.0 2019-07-12 06:17:01 +05:30
Kovid Goyal 44fe5e7793 Fix some warnings from sphinx 2019-07-12 05:52:29 +05:30
Kovid Goyal 36ff1b15b8 py3: port a bunch of places where individual byes are accessed from a bytestring 2019-07-12 05:52:07 +05:30
Kovid Goyal 1b0ce5c17f version 3.45.0 2019-07-12 04:55:42 +05:30
Kovid Goyal 081f4989b7 pep8 2019-07-11 14:10:39 +05:30
Kovid Goyal b0d18ffb41 Content server: Allow adding or removing formats to a book via the edit metadata page. Fixes #1831304 [Request: Delete Formats on Content Server](https://bugs.launchpad.net/calibre/+bug/1831304) 2019-07-10 10:41:22 +05:30
Kovid Goyal 46afc39739 misc fixes for last py3 merge 2019-07-07 19:03:41 +05:30
Kovid Goyal ec4d9f109d Remove unused code 2019-07-07 18:44:28 +05:30
Kovid Goyal b86e9f0f27 py3: Various MOBI fixes found while reviewing the previous py3 merge 2019-07-07 18:14:13 +05:30
Kovid Goyal 134692af38 Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-07-07 10:31:51 +05:30
Kovid Goyal 17daad19ad Increase contrast for links in the manual 2019-07-07 10:10:52 +05:30
Kovid Goyal 224d35cb79 EPUB Output: If there are no guide elements do not output an empty guide tag. Makes the asinine epubcheck happy. Fixes #1835560 [epub file fails at epub check](https://bugs.launchpad.net/calibre/+bug/1835560) 2019-07-07 09:11:59 +05:30
Eli Schwartz cc30b3f408 py3: port oeb rasterize string types
The problem is I'm not sure what manifest's item.data is supposed to be.
The docs for calibre.ebooks.oeb.base.Manifest.Item.data say "it should
be a str type", but that doesn't seem to make sense for a binary file
(at least for python3). More likely it should be a string_or_bytes, and
consumers should check whether the item data is an instance of bytes
(which it should be for image files that aren't representable as decoded
bytes).
2019-07-05 16:51:45 -04:00
Eli Schwartz 73ea548159 py3: name for file-from-fd is unneeded, since py3 won't show it anyway
"Changed in version 3.2: Ignore name attribute."
2019-07-05 16:51:45 -04:00
Eli Schwartz de17dd27c9 use context managers to open files where possible 2019-07-05 16:51:45 -04:00
Eli Schwartz 31bd771cf9 misc cleanup 2019-07-05 16:51:45 -04:00
Eli Schwartz 2d3d1aca50 py3: more work towards universal __future__s 2019-07-05 16:51:45 -04:00
Eli Schwartz 436f864371 py3: use unicode_literals string type in dynamically updated code 2019-07-05 16:51:45 -04:00
Eli Schwartz 6ca1739d6b use raw strings where possible to avoid escaping issues 2019-07-05 16:51:45 -04:00
Kovid Goyal 7f978f859c Use a less intrusive workaround for the Linux kernel bug causing Kindle disconnects 2019-07-04 11:01:50 +05:30
Kovid Goyal f27b3d7c28 py3: More unicode literals porting 2019-07-03 18:09:15 +05:30
Kovid Goyal e2b51378ad ... 2019-07-02 16:20:46 +05:30
Kovid Goyal 8088902fa8 Workaround for sortByColumn being partially broken in Qt 5.13.0
Fixes #1834989 [Qt 5.13 seems to break sorting the book list](https://bugs.launchpad.net/calibre/+bug/1834989)
2019-07-02 16:18:16 +05:30
Kovid Goyal a48220a182 Merge branch 'master' of https://github.com/cbhaley/calibre 2019-07-02 13:22:50 +05:30
Kovid Goyal fbc5d44435 Fix some incorrect rgb specs being passed to Qt 2019-07-02 11:46:33 +05:30
Kovid Goyal 8eac004f89 py3: Ensure all builting recipes are in utf-8 and have the functions to get recipe code return unicode 2019-07-02 07:30:16 +05:30
Charles Haley d034b81ce3 Corrected CC URLs. 2019-07-01 22:49:12 +01:00
Kovid Goyal 7c07d114ac Merge branch 'sort' of https://github.com/bmwiedemann/calibre 2019-07-01 18:26:15 +05:30
Bernhard M. Wiedemann 53298f87ff Sort input file list
so that calibre/plugins/lzma_binding.so builds in a reproducible way
in spite of indeterministic filesystem readdir order
and http://bugs.python.org/issue30461

See https://reproducible-builds.org/ for why this is good.
2019-07-01 14:47:32 +02:00
Kovid Goyal 745a3ef952 py3: Fix bulk convert not working 2019-07-01 11:27:58 +05:30
Kovid Goyal 442354bce9 Merge branch 'master' of https://github.com/cbhaley/calibre 2019-06-30 18:36:16 +05:30
Charles Haley 04322bdb39 Change URLs for CC 2019-06-30 13:54:08 +01:00
Kovid Goyal 416986eb76 Handle malformed data from NYT 2019-06-30 16:31:59 +05:30
Kovid Goyal 0f4c2c23bd py3: Fix #1834768 [Unable to customise builtin recipe (Python 3)](https://bugs.launchpad.net/calibre/+bug/1834768) 2019-06-30 13:31:16 +05:30
Kovid Goyal 465ca0573b News download: Fix the check for empty feeds when generating man ToC page
Fixes #1834684 [TOC missing in news download (Python 3)](https://bugs.launchpad.net/calibre/+bug/1834684)
2019-06-30 07:07:10 +05:30
Kovid Goyal 07f80229e9 ToC Editor: Allow user to control whether duplicate headings are included or not when generating ToC from headings 2019-06-29 13:34:58 +05:30
Kovid Goyal 0d9047cfa3 DOCX Input: When autodetecting the Table of Contents from headings, work even if the headings use numbering. Fixes #1834661 [Private bug](https://bugs.launchpad.net/calibre/+bug/1834661) 2019-06-29 12:16:42 +05:30
Kovid Goyal ce01b4c571 Dont fail if the workaround for linux brokenness raise an exception 2019-06-29 11:09:52 +05:30
Kovid Goyal 5b1941a833 ... 2019-06-29 10:23:34 +05:30
Kovid Goyal a4de767848 Linux: Workaround for bug in recent Linux kernels that causes the Kindle to eject after calibre connects to it. Fixes #1834641 [Opening Kindle devices in Calibre will cause a disconnect from Linux LTS 4.19.51+ onwards](https://bugs.launchpad.net/calibre/+bug/1834641) 2019-06-29 10:17:50 +05:30
Kovid Goyal 0d1ab933c9 py3: unicode literals porting 2019-06-27 06:19:51 +05:30
Kovid Goyal 4634768d3f Fix a regression that broke the per_lang_title_sort_articles tweak
There must not be blank lines in tweak definitions in default_tweaks.py
Fixes #1834329 ["articles" for sort strings do not working/save](https://bugs.launchpad.net/calibre/+bug/1834329)
2019-06-27 06:15:37 +05:30
Kovid Goyal 099b0cd726 py3: Fix icon theme download not working 2019-06-26 09:00:57 +05:30
Kovid Goyal 73493976e8 Sending email: Fix an error on some windows machines with non-ASCII hostnames 2019-06-26 08:41:36 +05:30
Kovid Goyal 1a7a1b27e8 Update Art and Letters Daily 2019-06-26 08:30:21 +05:30