37923 Commits

Author SHA1 Message Date
Kovid Goyal
efa6ae353a
py3: Fix colored output for console logger not working 2019-04-11 15:10:05 +05:30
Kovid Goyal
cf0ae84e80
py3: port logging.py 2019-04-11 14:52:45 +05:30
Kovid Goyal
b972584f4b
py3: port LIT Input 2019-04-11 14:44:32 +05:30
Kovid Goyal
94d5b27128
py3: misc fixes for conversion pipeline 2019-04-11 12:12:29 +05:30
Kovid Goyal
c569f857bb
py3: Port LIT Output 2019-04-11 12:11:52 +05:30
Kovid Goyal
73f58e6868
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-04-11 11:36:05 +05:30
Eli Schwartz
df072f7cae
py3: encode string before writing ebook mimetypes to the container
Fixes saving books in the editor.
2019-04-11 01:49:53 -04:00
Kovid Goyal
11537ddd46
py3: Misc AZW3 input fixes 2019-04-11 10:29:37 +05:30
Kovid Goyal
2c3c25da02
py3: Fix incorrect conversion of bytes args in palmdoc module 2019-04-11 10:17:53 +05:30
Kovid Goyal
6e87989022
Ensure 0 version updates are not reported 2019-04-11 09:03:17 +05:30
Kovid Goyal
0e1a89c338
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-04-11 08:58:25 +05:30
Eli Schwartz
92052e79d4
py3: miscellaneous strings need to be marked as bytes 2019-04-10 13:30:36 -04:00
Eli Schwartz
8c6698abf7
py3: decode uuid4().hex using python3-compatible syntax
Also skip the additional uuid import, as it is already imported at the
top of the file.
2019-04-10 13:30:35 -04:00
Kovid Goyal
75d3542287
py3: misc fixes 2019-04-10 22:37:22 +05:30
Kovid Goyal
601c5ca255
py3: misc fixes to get the editor to start 2019-04-10 22:29:49 +05:30
Kovid Goyal
683212da39
Merge branch 'haiku_support' of https://github.com/extrowerk/calibre 2019-04-10 22:22:28 +05:30
Zoltán Mizsei
eb1a8d72fe Haiku doesn't support pthread_set_name_np yet 2019-04-10 18:11:27 +02:00
Kovid Goyal
12fefdd7b1
py3: Port uses of compiled_coffeescript to load JS 2019-04-10 21:18:41 +05:30
Kovid Goyal
edfff91424
py3: fix for sort_func returning None as None cannot be ordered in py3 2019-04-10 21:02:08 +05:30
Kovid Goyal
eced0f25b3
py3: misc fixes 2019-04-10 20:56:52 +05:30
Kovid Goyal
1a602a7873
py3: Port urlunquote
Also take the opportunity to make unquote correct on python 2 by moving
urlunquote to the polyglot module
2019-04-10 20:53:01 +05:30
Kovid Goyal
50dd4952cb
Fix removal of invalid directories in import test 2019-04-10 20:48:09 +05:30
Kovid Goyal
63f1996b5f
... 2019-04-10 20:02:33 +05:30
Kovid Goyal
8e2ea0c2a6
Kobo driver: Fix update device metadata setting not being saved
Also fix book language not being set correctly on newer firmware.

Merge branch 'master' of https://github.com/davidfor/calibre
2019-04-10 19:38:09 +05:30
David
07572c441e Fix language metadata on device and an option
Kobo changed what format the language is expected to be in the database.
Plus I somehow missed saving an option.
2019-04-10 23:13:57 +10:00
Kovid Goyal
15e075f2d7
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-04-10 18:37:41 +05:30
Eli Schwartz
3243aeaa04
py3: check if quote_plus returns bytes or str
On python3, there is explicit decoding already, so this would fail.
2019-04-10 08:41:02 -04:00
Kovid Goyal
57eaee584d
Fix checkout hook trying to delete chroot pyc files 2019-04-10 16:53:52 +05:30
Kovid Goyal
34b86d8227
py3: port filter() 2019-04-10 16:46:50 +05:30
Kovid Goyal
7f4728e29c
py3: More IPC fixes 2019-04-10 15:38:29 +05:30
Kovid Goyal
a3c2f867f1
py3: More list(filter()) ports 2019-04-10 15:36:10 +05:30
Kovid Goyal
dce8ea7719
py3: Fix spurious warning when reading EPUB metadata 2019-04-10 15:10:28 +05:30
Kovid Goyal
46b9a7a325
py3: Fix various call sites of ascii_filename() that assume the result is a bytestring 2019-04-10 15:05:46 +05:30
Kovid Goyal
09ae07631b
... 2019-04-10 14:59:53 +05:30
Kovid Goyal
8569717d98
py3: misc fixes. calibre GUI now starts under python 3 2019-04-10 14:31:53 +05:30
Kovid Goyal
d6b6d4c892
Use unicode keys for the ISO lang code maps
This means the same stored maps can be used on python2 and 3
2019-04-10 14:10:06 +05:30
Kovid Goyal
4775fc780c
py3: Fix prints() 2019-04-10 14:07:04 +05:30
Kovid Goyal
86ffa4f717
Allow running calibre under both python2 and python3 from the same source checkout 2019-04-10 13:47:10 +05:30
Kovid Goyal
4e3c64d09f
Allow running calibre from source without needing to run either develop or install 2019-04-10 11:26:47 +05:30
Kovid Goyal
d3e42a4cf3
py3: Port linux.py
All literals are now unicode and converted to bytes only at write time.
2019-04-10 10:18:59 +05:30
Kovid Goyal
d9cd1884af
Handle passing both str and bytes to add_option_group 2019-04-10 10:07:16 +05:30
Kovid Goyal
5818091cad
py3: Port string literals and file I/O in setup/install.py 2019-04-10 08:34:18 +05:30
Kovid Goyal
f9f3d2b2fc
py3: Have the generated launcher scripts use the correct python exe name 2019-04-10 08:26:50 +05:30
Kovid Goyal
cbed9a385f
Merge branch 'error-codes' of https://github.com/eli-schwartz/calibre 2019-04-10 06:35:53 +05:30
Eli Schwartz
378c78429e
do not exit with an error when $command --help is successfully used
When checking for a minimum requirement of arguments and aborting with
the help text otherwise, we should first check to see if the help text
was explicitly asked for.
2019-04-09 20:02:13 -04:00
Kovid Goyal
2edc343f77
Bump version for beta 2019-04-09 18:54:34 +05:30
Kovid Goyal
0e90d6356f
Fix viewer widow size not being restored 2019-04-09 18:52:03 +05:30
Kovid Goyal
bacf2704e0
Fix double import causing an exception on MOBI input 2019-04-09 17:58:45 +05:30
Kovid Goyal
70600166f0
... 2019-04-09 14:41:58 +05:30
Kovid Goyal
1f7a9be8e0
Bump version for beta 2019-04-09 14:11:21 +05:30