38896 Commits

Author SHA1 Message Date
Eli Schwartz
bca47af433
py3: make Polish Book work
str() template cannot be formatted with an encoded bytestring because
b''.__str__() is unuseful. So just defer encoding to right before
writing.
2019-04-23 00:49:42 -04:00
Eli Schwartz
adbe76079e
py3: make Check Book work
when working with lxml.etree strings, everything is explicitly bytes
2019-04-23 00:49:42 -04:00
Kovid Goyal
570b02c59b
Update Corriere della Serra 2019-04-23 10:14:17 +05:30
Kovid Goyal
76bcf5ca41
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-04-23 09:56:15 +05:30
Eli Schwartz
4fc124adb0
py3: also make plugin installer work
We check if versions compare favorably to the installed version, and if
it None, then we report that it can be installed. But this check always
returns None < available_version on python2, and on python3 it is a
comparison error -- so lift out the None handling to return as early as
possible.
2019-04-22 21:36:57 -04:00
Eli Schwartz
eab2c99b60
py3: make plugin updater work
calibre's internal version representation is a tuple. On python3, it no
longer suffices to compare this to json.loads() list-based
representations.

Also update one instance of map where we need something subscriptable.
2019-04-22 13:34:01 -04:00
Kovid Goyal
2aa2de4a68
TXT Output: Fix Vietnamese  character being stripped from output. Fixes #1825770 [Miss character when convert to txt](https://bugs.launchpad.net/calibre/+bug/1825770) 2019-04-22 08:41:44 +05:30
Kovid Goyal
d9c22e7e1c
py3: misc fixes 2019-04-22 08:38:56 +05:30
Kovid Goyal
6d5ce1c79a
Update NYTimes
Fixes #1825721 [Failure to get New York Times](https://bugs.launchpad.net/calibre/+bug/1825721)
2019-04-21 20:20:43 +05:30
Kovid Goyal
c4298eda59
Re-arrange sources.json in build order 2019-04-21 12:09:11 +05:30
Kovid Goyal
fa0e1c66ca
E-book viewer: Fix specifying a non-existen location via --open-at causing viewer to hang 2019-04-20 10:39:25 +05:30
Kovid Goyal
9a264ebf28
... v3.41.3 2019-04-20 07:41:48 +05:30
Kovid Goyal
3564f97b6d
version 3.41.3 2019-04-20 07:40:39 +05:30
Kovid Goyal
e94ac035b0
Fix a regression that broke connecting to MTP devices on macOS/Linux
Fixes #1825542 [Since 3.40.{0,1} Onyx Boox (mtp device) is not detected](https://bugs.launchpad.net/calibre/+bug/1825542)
2019-04-20 07:27:58 +05:30
Kovid Goyal
92a8ef3240
version 3.41.2 v3.41.2 2019-04-19 18:06:13 +05:30
Kovid Goyal
67e25c3eaa
Fix an error migrating preferences to JSON that were stored as non-UTF-8 encoded bytestrings
These preferences are no longer used, but are present in config files of
people that have very old calibre installations.
2019-04-19 18:03:37 +05:30
Kovid Goyal
aee761ae14
py3: Fix find_opf() not working in EPUB input 2019-04-19 17:40:31 +05:30
Kovid Goyal
423e061719
Fix a regression that broke PDF output 2019-04-19 17:38:23 +05:30
Kovid Goyal
2d34c8a9ed
Fix regression 3.41.0 that broke ODT input 2019-04-19 16:24:04 +05:30
Kovid Goyal
85eb72e59e
version 3.41.1 v3.41.1 2019-04-19 13:54:51 +05:30
Kovid Goyal
fc5fb1ddf6
py3: Ensure read_string_from_net always returns bytes 2019-04-19 12:27:02 +05:30
Kovid Goyal
41b3705925
Fix regression in smart device driver
Accidentally changed bytes(0) to b'\0' instead of b'0'
Fixes #1825472 [cannot connect (Calibre Companion) as wireless device](https://bugs.launchpad.net/calibre/+bug/1825472)
2019-04-19 12:25:13 +05:30
Kovid Goyal
9233abc5c7
Update some beautifulsoup doc links 2019-04-19 09:49:33 +05:30
Kovid Goyal
9371724d86
version 3.41.0 v3.41.0 2019-04-19 08:43:50 +05:30
Kovid Goyal
6c02a2c2a7
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-04-18 22:18:58 +05:30
Eli Schwartz
39ad9795b9
py3: make linux file deletion work 2019-04-18 12:32:11 -04:00
Kovid Goyal
8b75374b4b
Cover grid: Check for cover size change due to screen scale change on every paint event and invalidate cache if there is a change. Fixes #1723972 [Small covers in Calibre](https://bugs.launchpad.net/calibre/+bug/1723972) 2019-04-18 21:47:22 +05:30
Kovid Goyal
9ae7a26cb0
Merge branch 'recent_uas' of https://github.com/eli-schwartz/calibre 2019-04-18 21:28:58 +05:30
Eli Schwartz
bb4438eca3
fix recent_uas due to firefox site changes 2019-04-18 10:32:32 -04:00
Kovid Goyal
16ac42d357
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-04-18 13:49:49 +05:30
Eli Schwartz
1edab4b818
py3: store plugins always receive bytes query
... and cannot be further encoded. When interpolating into strings,
however, they do need to decode it.
2019-04-18 03:04:01 -04:00
Eli Schwartz
69cf3d345a
py3: fix sort method being called with implicit parameters
Passing None as the first argument in order to not use cmp, is not
portable.
2019-04-18 03:04:01 -04:00
Eli Schwartz
52f915d707
py3: allow SearchResult instances to be hashed 2019-04-18 03:04:01 -04:00
Eli Schwartz
85378356db
py3: cannot decode the result of urlencode()
It is already both a str, and reduced to url-friendly ascii.
2019-04-18 03:04:01 -04:00
Eli Schwartz
4a615ee09c
py3: when shuffling dictionary keys, use an explicit list 2019-04-18 03:04:01 -04:00
Kovid Goyal
71d13c9482
document --open-at=toc-href: 2019-04-18 10:53:56 +05:30
Kovid Goyal
4cdf76309b
E-book viewer: Allow specifying ToC hrefs via the --open-at command line parameter. Fixes #1656573 [[Enhancement] viewer command-line parameter to go to ePub TOC entry/bookmark](https://bugs.launchpad.net/calibre/+bug/1656573) 2019-04-18 10:39:28 +05:30
Kovid Goyal
c1333ea71b
py3: fixes for docx input 2019-04-18 08:55:20 +05:30
Kovid Goyal
7e303f6503
... 2019-04-18 08:26:09 +05:30
Kovid Goyal
6b794d42ca
py3: Misc fixes for PDF output 2019-04-18 06:25:40 +05:30
Kovid Goyal
6be3e3b580
Merge branch 'master' of https://github.com/j-howell/calibre 2019-04-17 20:54:28 +05:30
j-howell
b99645bbbc Improve handling of KFX metadata 2019-04-17 11:16:05 -04:00
Kovid Goyal
11f2b80063
py3: Port email preferences widget 2019-04-17 19:51:29 +05:30
Kovid Goyal
23f22906b3
py3: Fix failure in Unhandled exception handler 2019-04-17 19:44:28 +05:30
Kovid Goyal
116ef1cc4d
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-04-17 18:25:36 +05:30
Eli Schwartz
5402785205
py3: more fixes to the mobi format 2019-04-17 03:14:22 -04:00
Kovid Goyal
a5aec9233f
py3: Fix console_print 2019-04-17 11:22:30 +05:30
Kovid Goyal
1a3d09a61b
Content server: Add an option to control which book list mode is used by default for new users (Preferences->Sharing over the net->Choose book list mode) 2019-04-17 11:22:27 +05:30
Kovid Goyal
1cae595984
Add ifaddr and zeroconf to sources
Needed on python >= 3
2019-04-17 10:14:42 +05:30
Kovid Goyal
8029bef98b
Content server: Fix links to external resources in book details and the viewer not working 2019-04-17 09:45:48 +05:30