38012 Commits

Author SHA1 Message Date
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
Kovid Goyal
4f6ae4b4bd
Update Il Post 2019-04-15 14:04:21 +05:30
Kovid Goyal
51ae5ee86f
py3: port websocket tests 2019-04-15 14:00:12 +05:30
Kovid Goyal
440d174284
py3: misc fixes 2019-04-15 12:11:09 +05:30
Kovid Goyal
3d795076c6
py3: Full fix for svg2painterpath (I hope) 2019-04-15 12:10:13 +05:30
Kovid Goyal
e5b32b2c2f
py3: More misc fixes only 4 failing tests left in the srv module 2019-04-15 11:23:38 +05:30
Kovid Goyal
15c4080567
py3: Port SSL test 2019-04-15 11:04:14 +05:30
Kovid Goyal
96746583a2
Limit the amount of time to wait for BonJour to shutdown 2019-04-15 10:26:57 +05:30
Kovid Goyal
7548a52e3d
py3: Port Zeroconf/mdns
Requires zeroconf and ifaddr dependencies on python3
2019-04-15 09:43:44 +05:30
Kovid Goyal
ef3d0cfe6c
Bump version for beta 2019-04-15 08:59:08 +05:30
Kovid Goyal
d0d609c715
Also ignore unserializable settings when migrating pickle files 2019-04-15 08:58:31 +05:30
Kovid Goyal
7f4ca92b5a
Port ancient LRF viewer settings not serializable to JSON
Also just ignore non-serializable settings, making them None
when migrating .py files. Such settings are very rare and likely
in unused/rarely used corners of calibre so better to hav those fail
than the entire migration process.
2019-04-15 08:53:43 +05:30