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
Kovid Goyal
10a2cd77d0
Merge branch 'documentation' of https://github.com/eli-schwartz/calibre
2019-04-14 20:51:27 +05:30
Eli Schwartz
9853451a74
Update comment to be accurate about the current state of calibre
...
See 781a5e3287 (commitcomment-33165094)
2019-04-14 10:59:36 -04:00
Kovid Goyal
c95e064e53
py3: Port more content server tests
2019-04-14 20:00:27 +05:30
Kovid Goyal
333dab88c2
py3: misc fixes for the server
...
20 out of 34 tests for the server now pass
2019-04-14 19:22:50 +05:30
Kovid Goyal
2e8f88394b
py3: Fix share_open
...
In py3 it can just be builtin open thanks to PEP 446
2019-04-14 18:34:07 +05:30
Kovid Goyal
5500e03a12
py3: Start work on porting the server
2019-04-14 15:27:06 +05:30
Kovid Goyal
1f86d92f7a
py3: Port thumbnail cache
...
All db tests now pass on python3
2019-04-14 15:14:24 +05:30
Kovid Goyal
cb117bf118
py3: Fix sorting on comments and identifiers fields
2019-04-14 14:52:57 +05:30
Kovid Goyal
c6d993cfdd
py3: Fix sorting on marked field
2019-04-14 14:41:59 +05:30
Kovid Goyal
828c1f394a
py3: Workaround inability to set name attribute on SpooledTemporaryFile
2019-04-14 14:36:03 +05:30
Kovid Goyal
a5324474d8
py3: port legacy conversion options test
2019-04-14 14:29:57 +05:30
Kovid Goyal
3e68346e4e
Remove code to reset temp folder permissions on windows
...
Being unable to chdir ot the temp folder is going to break a lot of
things, so that workaround would not really help anyway.
Also port ptempfile to use unicode_literals
2019-04-14 13:29:36 +05:30
Kovid Goyal
ed42a7c1b6
py3: Fix legacy_coverage test
2019-04-14 12:20:43 +05:30
Kovid Goyal
1529fb2f8b
Do not use detect_types in legacy sqlite code
...
This code is unused anywhere except tests. detect_types did not work
with python3 so make the type co-ercion explicit. fixes a whole lot of
failing tests on py3
2019-04-14 12:06:47 +05:30
Kovid Goyal
4c7e194a92
...
2019-04-14 09:25:07 +05:30
Kovid Goyal
2bdf7f7508
Fix for weird type error passing sys.maxsize to xrange
2019-04-13 22:04:56 +05:30
Kovid Goyal
33bb570277
...
2019-04-13 19:45:27 +05:30
Kovid Goyal
55f9f88d91
Fix regression that broke the Get books dialog
2019-04-13 15:40:37 +05:30
Kovid Goyal
b68dbb2bf5
Fix regression that broke the unhandled exception handler
2019-04-13 15:34:12 +05:30
Kovid Goyal
880b3acc1d
py3: Port builtins.py
2019-04-13 15:27:03 +05:30
Kovid Goyal
c8509ffcf2
Test importing bs4 in the build tests as well
2019-04-13 10:11:02 +05:30
Kovid Goyal
e0d33736f3
Bump version for beta
2019-04-13 10:07:58 +05:30
Kovid Goyal
b177f0a109
Nicer fix for lru_cache() that does not require meta_path trickery
2019-04-13 10:01:46 +05:30
Kovid Goyal
b968cbdb5d
Ensure meta_path is setup for soupsieve build test
2019-04-13 09:54:14 +05:30
Kovid Goyal
79f5a6c18b
Add lru_cache() to polyglot
...
I decided to vendor the implementation from
https://raw.githubusercontent.com/jaraco/backports.functools_lru_cache/master/backports/functools_lru_cache.py
as it depends on setuptools_scm installing which is failing on the macOS
build machine with SSL errors that I cant be bothered to track down. Not
to mention that installing a an extra dependency just for a single
function is absurd.
2019-04-13 09:42:27 +05:30