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
Kovid Goyal
03e862aa70
py3: Fix passing stdout/stderr to RotatingLog not working
2019-04-17 09:27:57 +05:30
Kovid Goyal
3a9dd02e04
Fix server auto reload not working because of non-inherited file objects
2019-04-17 08:50:27 +05:30
Kovid Goyal
953eb7029d
Make server auto-reload work win run-local
2019-04-17 08:49:39 +05:30
Kovid Goyal
14a8056a3c
py3: Fix logging not flushing
...
Because we use sys.stdout.buffer, automatic line-wrapping does not work.
So instead issue a manual flush after every log call.
2019-04-17 08:49:09 +05:30
Kovid Goyal
d2bcc94034
py3: Use native string for singleinstance address format
2019-04-17 08:32:56 +05:30
Kovid Goyal
5623d8c7f4
py3: Fix a couple of env var checks
2019-04-17 08:20:12 +05:30
Kovid Goyal
dd328bdb8c
Merge branch 'py3' of https://github.com/eli-schwartz/calibre
2019-04-17 08:04:26 +05:30
Eli Schwartz
7fbf985870
py3: make SNB output work
...
variables initialized as implicit bytes '' on python2, should be b''
python2 used integer division, make this explicit on python3
2019-04-16 18:49:27 -04:00
Eli Schwartz
6583e1e2fb
don't print exceptions directly, use traceback.print_exc() instead
...
This makes debugging actually useful, by seeing what failed.
2019-04-16 18:32:54 -04:00
Eli Schwartz
660b4233aa
py3: remove unneeded use of cmp
...
No need to carry around a polyglot implementation of cmp here, when
sort(key=) works too.
Fixes unnoticed error due to .sort(function) being implied as cmp= on
python2, and not being permitted a positional argument on python3.
2019-04-16 18:31:08 -04:00
Kovid Goyal
e020bbd946
Amazon metadata plugin: Add a option to use the mobi-asin to find books
...
Fixes #1823520 [[Enhancement] use mobi-asin id in amazon meta data search](https://bugs.launchpad.net/calibre/+bug/1823520 )
2019-04-16 20:45:56 +05:30
Kovid Goyal
f51263ff23
py3: Make clean_ascii_chars() polyglot
2019-04-16 20:43:03 +05:30
Kovid Goyal
5435126c7f
Add sources for deps
2019-04-16 17:54:36 +05:30
Kovid Goyal
dbd33868c3
...
2019-04-16 09:34:34 +05:30
Kovid Goyal
4e2556ee63
py3: misc fixes
...
Connecting to a folder device and converting LRF files now work
2019-04-16 09:31:42 +05:30
Kovid Goyal
4f1a6c16c6
py3: Fix positions for non-BMP chars in the matcher
...
All tests now pass on python3
2019-04-15 20:12:18 +05:30
Kovid Goyal
c8355e17b2
py3: Port check_isbn()
2019-04-15 20:06:02 +05:30
Kovid Goyal
204ab15119
py3: port parser tests
2019-04-15 19:57:59 +05:30
Kovid Goyal
03df438219
py3: Port bytes()
2019-04-15 19:48:42 +05:30
Kovid Goyal
a07ad9633f
py3: Port basic AZW3 output
2019-04-15 15:08:13 +05:30
Kovid Goyal
2a2a08b660
DRYer
2019-04-15 14:46:10 +05:30
Kovid Goyal
976a3f9b4a
py3: All tests in srv module now pass
2019-04-15 14:34:16 +05:30
Kovid Goyal
0f4e37dfca
typo
2019-04-15 14:34:01 +05:30