31298 Commits

Author SHA1 Message Date
Kovid Goyal
ad8d8cfcb5
py3: Make strip_encoding_declarations() work with both bytes and unicode 2019-04-02 07:08:44 +05:30
Kovid Goyal
36b63758a2
Dont fail if a QPushButton gets added to the toolbars somehow 2019-04-02 06:49:37 +05:30
Kovid Goyal
25e10f1032
py3: Fix ICU to python conversions 2019-04-01 22:46:04 +05:30
Kovid Goyal
3cc148dd6e
py3: Dont use MethodType as it is incompatible in python3 2019-04-01 20:24:17 +05:30
Kovid Goyal
9b3e525610
py3: Get rid of the last cStringIO 2019-04-01 18:42:25 +05:30
Kovid Goyal
d59d91374a
py3: get rid of more cStringIO 2019-04-01 18:38:45 +05:30
Kovid Goyal
a754bf46f1
py3: Replace use of StringIO 2019-04-01 18:34:50 +05:30
Kovid Goyal
e072941c88
py3: Replace another cStringIO 2019-04-01 18:26:21 +05:30
Kovid Goyal
7b544736f8
py3: Fix another broken swigism 2019-04-01 18:22:24 +05:30
Kovid Goyal
5e10e3663b
py3: Port another instance of cStringIO 2019-04-01 16:49:20 +05:30
Kovid Goyal
ce007d8bab
py3: port plistlib 2019-04-01 16:05:31 +05:30
Kovid Goyal
e0205790b9
py3: Port urllib in metadata sources 2019-04-01 15:30:44 +05:30
Kovid Goyal
96f4c4c3a2
py3: Port Queue in metadata sources 2019-04-01 15:20:08 +05:30
Kovid Goyal
ff79cf7113
... 2019-04-01 15:15:48 +05:30
Kovid Goyal
305a1bab29
py3: port use of isinstance(str) 2019-04-01 15:14:44 +05:30
Kovid Goyal
02ff98d8dc
py3: Port DeVendor 2019-04-01 14:58:41 +05:30
Kovid Goyal
45975b0c39
py3: Fix strftime on python3 2019-04-01 14:18:11 +05:30
Kovid Goyal
40491089f1
py3: Port use of maketrans 2019-04-01 14:06:54 +05:30
Kovid Goyal
930376c036
py3: Port calls to ugettext() 2019-03-31 20:13:22 +05:30
Kovid Goyal
67814d2186
py3: misc fixes to get bootstrapping (almost) working 2019-03-31 19:58:00 +05:30
Kovid Goyal
f809313dc5
py3: Couple of fixes for individual byte access in the xz module 2019-03-31 19:42:10 +05:30
Kovid Goyal
65146815d7
pep8 2019-03-31 19:40:00 +05:30
Kovid Goyal
e73dbb0f99
py3: Port calls to json.dump() 2019-03-31 18:30:59 +05:30
Kovid Goyal
8b280c03c3
py3: Port RTF metadata module 2019-03-31 13:45:46 +05:30
Kovid Goyal
dc15aff051
py3: Remove another use of cStringIO 2019-03-31 10:05:15 +05:30
Kovid Goyal
c33768b35e
Move the python imports test out of the build test module
The build test is designed to run with frozen calibre, where the
source files may not be available. So run it only as part of
the setup test suite.
2019-03-31 09:31:38 +05:30
Kovid Goyal
496d8beed8
py3: more cStringIO 2019-03-30 14:55:32 +05:30
Kovid Goyal
dec0a11ec0
py3: replace more cStringIO 2019-03-30 14:46:04 +05:30
Kovid Goyal
f149427104
py3: Port use of (un)hexlify() 2019-03-30 14:34:48 +05:30
Kovid Goyal
fcd5700306
py3: port use as base64 module 2019-03-30 13:01:47 +05:30
Kovid Goyal
a0afe775ba
py3: Disambiguate str() 2019-03-29 20:39:43 +05:30
Kovid Goyal
6bd02c1aae
py3: Disambiguate str() 2019-03-29 20:26:04 +05:30
Kovid Goyal
e9ef5296e7
Fix #1821968 [Epub Catalog using some former value](https://bugs.launchpad.net/calibre/+bug/1821968) 2019-03-29 13:16:23 +05:30
Kovid Goyal
a67857483f
EPUB/MOBI Catalogs: Fix presets not being applied for some options. Fixes #1821968 [Epub Catalog using some former value](https://bugs.launchpad.net/calibre/+bug/1821968) 2019-03-29 09:00:04 +05:30
Kovid Goyal
4ffffb143d
Adding books: When adding with auto-merge and auto-convert enabled, also run conversions for books into which the added files are merged. Fixes #1822018 [Does not auto-convert when adding existing book with overwrite selected](https://bugs.launchpad.net/calibre/+bug/1822018) 2019-03-28 14:38:50 +05:30
Charles Haley
08692f4acb Enhancement #1821992: Add "show books by author in book list" to manage authors dialog. 2019-03-28 08:37:13 +00:00
Kovid Goyal
a811bfa502
py3: Ensure cmp() is available where it is used 2019-03-28 12:25:26 +05:30
Kovid Goyal
0db9c42360
Use a polyglot IO class for device debug output 2019-03-28 12:20:13 +05:30
Kovid Goyal
57e11977b7
py3: get rid of __cmp__ 2019-03-28 11:24:37 +05:30
Kovid Goyal
775ffdee21
EPUB Output: Sort the entries in the manifest by spine position/media-type/filename 2019-03-28 11:00:41 +05:30
Kovid Goyal
cf1a6aea96
Remove unused code 2019-03-28 09:27:18 +05:30
Kovid Goyal
080c19b966
PDF Output: Fix "stroke-dasharray" lines in SVG images in the input document not being rendered correctly. Fixes #1821923 [ebook-convert pdf plugin does not render dasharray](https://bugs.launchpad.net/calibre/+bug/1821923)
Merge branch 'master' of https://github.com/jimbojw/calibre
2019-03-27 19:54:30 +05:30
jimbojw
c22c03b76a Fixing stroke-dasharray rendering bug (#1821923) 2019-03-27 09:43:10 -04:00
Kovid Goyal
9a676b0e06
py3: Replace sort(cmp=) with sort(key=) 2019-03-27 08:08:14 +05:30
Kovid Goyal
fdc64f40ad
sys.maxint -> sys.maxsize 2019-03-27 07:21:14 +05:30
Kovid Goyal
4fa69111ec
Exclude some linux specific modules from import tests on other platforms 2019-03-27 07:11:04 +05:30
Kovid Goyal
f0ab48d1a9
Misc fixes for previous py3 PR 2019-03-27 06:53:58 +05:30
Kovid Goyal
68afcf4598
Clean up python module import test 2019-03-27 06:52:35 +05:30
Eli Schwartz
02be4edee2
test: try to make test_import work better without assuming cwd
Allows it to run properly on Windows.
2019-03-26 16:49:02 -04:00
Eli Schwartz
a75b0730a7
python3: do not use types.*Type which is an alias for str
Just compare to (str, unicode_type) directly, and handle the related
python3 reclassification.
2019-03-26 16:12:18 -04:00