29858 Commits

Author SHA1 Message Date
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
745a3ef952
py3: Fix bulk convert not working 2019-07-01 11:27:58 +05:30
Charles Haley
04322bdb39 Change URLs for CC 2019-06-30 13:54:08 +01:00
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
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
f663fff3ad
py3: Fix extracting raster cover from titlepage
Fixes #1012 (py3: fix 'in' operation)
2019-06-25 13:45:26 +05:30
Kovid Goyal
1b6b234c59
Various cleanups and fixes for the last py3 merge 2019-06-23 10:59:27 +05:30
Kovid Goyal
2c1a1813ce
Use cp1252 instead of utf-8 for ereader metadata as per spec 2019-06-22 05:09:33 +05:30
Kovid Goyal
cc7eaf016a
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-06-22 05:04:22 +05:30
Kovid Goyal
abee667506
py3: fix py_compress_doc 2019-06-22 04:57:50 +05:30
Eli Schwartz
0048c43a9e
py3: use unicode literals for casting strings
Since unicode_type cannot be used in dynamically updated code, cast to
the same type as type('') -- which we know will be unicode because of
unicode_literals.
2019-06-21 17:29:12 -04:00
Eli Schwartz
7c89277408
fix documentation typos 2019-06-21 17:29:12 -04:00
Eli Schwartz
5c7fa28d38
misc cleanup 2019-06-21 17:29:12 -04:00
Eli Schwartz
7993757099
py3: fix bytes handling by using bytes as needed 2019-06-21 17:29:12 -04:00
Eli Schwartz
2da800aa6e
use context managers for open() 2019-06-21 17:29:12 -04:00
Eli Schwartz
67f8b23baa
use more raw strings to prevent escaping 2019-06-21 17:29:12 -04:00
Eli Schwartz
1f794c4cd2
py3: more work on universal __future__s 2019-06-21 17:29:12 -04:00
Eli Schwartz
824f909627
do not shadow builtins as variable names 2019-06-21 15:27:29 -04:00
Eli Schwartz
c18eb0cb8c
standardize on one is_py3 representation 2019-06-21 15:27:29 -04:00
Kovid Goyal
abd9e6bcf7
py3: Fix None comparison when sorting the device books list 2019-06-21 17:52:35 +05:30
Kovid Goyal
2b639d6ea0
Use QTextBrowser instead of WebKit to display downloaded metadata
We are getting rid of WebKit
2019-06-20 15:10:47 +05:30
Eli Schwartz
0a5dc07da1
fix qt 5.13 compatibility
In 01e1df90a7,
screenAdded was deprecated, and as of qt 5.13 it is fully removed. Adapt
to this change by using the new API in QWindowSystemInterface.
2019-06-19 11:04:06 -04:00
Kovid Goyal
2635e23ed5
calibre now builds fully on windows
The duktape tests are crashing have to figure out why at some point
2019-06-19 17:48:41 +05:30
Kovid Goyal
46bc83be18
Remove webkit from build test since we are transitioning off it 2019-06-19 17:03:57 +05:30
Kovid Goyal
424de7f8fe
Advanced search dialog: Remember the last focused field in the search by ttiel/authors tab 2019-06-18 11:38:49 +05:30
Kovid Goyal
01326d69cf
py3: Use os.cpu_count() 2019-06-16 18:47:36 +05:30
Kovid Goyal
d782fa0ae4
py3: More unicode porting 2019-06-14 18:39:58 +05:30
Kovid Goyal
89284513a7
EPUB Output: When generating EPUB 3 preserve the old style meta tag to identify the cover as Google Play Books does not recognize EPUB 3 cover markup. See #1832660 (add cover to epub) 2019-06-14 11:03:21 +05:30
Kovid Goyal
ca4fd1f381
Conversion: Performance improvement for books that have many HTML files that all include the same CSS stylesheets
Now the conversion engine will flatten the same sequence of sheets
only once.

Merge branch 'master' of https://github.com/princesse-framboise/calibre
2019-06-14 10:10:05 +05:30