Kovid Goyal
7e670497eb
Move pickle implementation into the serialize module
...
And make it work on both py2 and py3. Note that unpickling of data
between python major versions is not likely to work well.
2019-03-15 14:49:56 +05:30
Kovid Goyal
6ad782cb29
Replace use of pickle for sending data to viewer print worker
2019-03-15 14:39:06 +05:30
Kovid Goyal
74e316e20b
Replace use of pickle in update URL
2019-03-15 14:04:54 +05:30
Kovid Goyal
1e6d9e9583
Replace use of pickle for the editor completion worker
2019-03-15 11:59:46 +05:30
Kovid Goyal
fc61fc88bc
Replace use of pickle for D'nD in the tag browser
2019-03-15 11:50:31 +05:30
Kovid Goyal
046f43446e
Replace use of pickle when repairing db on windows
2019-03-15 11:43:17 +05:30
Kovid Goyal
52c371e8b5
Replace another use of pickle
2019-03-14 21:05:13 +05:30
Kovid Goyal
54ef601e91
Get rid of a pointless use of pickle
2019-03-14 20:46:20 +05:30
Kovid Goyal
7fcf90ba97
Dont use pickle for the db thumbnail cache index
2019-03-14 20:17:58 +05:30
Kovid Goyal
6b9d4a16d5
Fix a regression that caused a harmless error popup when displaying tooltips in the select format dialog
2019-03-14 11:57:27 +05:30
Eli Schwartz
373f300ed7
Fix syntax error introduced while getting rid of basestring
2019-03-14 01:53:52 -04:00
Kovid Goyal
9cf2e2f671
Finish getting rid of xrange
2019-03-13 18:44:05 +05:30
Kovid Goyal
b4e467ea18
Get rid of more xrange
2019-03-13 18:30:31 +05:30
Kovid Goyal
2d4127f7b9
Get rid of more xrange
2019-03-13 18:19:24 +05:30
Kovid Goyal
ea33a5d6ad
Get rid of more xrange
2019-03-13 15:51:21 +05:30
Kovid Goyal
6b5c3bd7c9
Get rid of more xrange
2019-03-13 15:44:45 +05:30
Kovid Goyal
d1e30dfcac
Get rid of some xrange
2019-03-13 15:34:10 +05:30
Kovid Goyal
55151a3cdd
Get rid of basestring
2019-03-13 14:57:26 +05:30
Kovid Goyal
073e97121e
Micro-optimization
2019-03-13 13:46:40 +05:30
Kovid Goyal
7fd5940ef8
Merge branch 'py3' of https://github.com/eli-schwartz/calibre
2019-03-13 13:31:24 +05:30
Kovid Goyal
2d21a8efa2
Some more fixes for the unicode type
...
Now replaced in all dynamically loaded code. Recipes/metadata
sources/etc. In the case of recipes, since they get compiled by calibre
we simply make the unicode/unichr names available, no need for any
changes to the actual recipes themselves.
2019-03-13 12:04:47 +05:30
Eli Schwartz
1a687a3d57
Port lzma_binding plugin to build on python2/python3
2019-03-13 01:08:25 -04:00
Eli Schwartz
9139fccbf4
Port cpalmdoc plugin to build on python2/python3
2019-03-13 01:08:25 -04:00
Eli Schwartz
1d5c89f69b
Port libusb plugin to build on python2/python3
2019-03-13 01:08:25 -04:00
Eli Schwartz
190b8c73d8
Port usbobserver plugin to build on python2/python3
2019-03-13 01:08:25 -04:00
Eli Schwartz
aa56c26f71
Port winfonts plugin to build on python2/python3
2019-03-13 00:42:43 -04:00
Eli Schwartz
3acac495d0
Port wpd plugin to build on python2/python3
2019-03-13 00:42:00 -04:00
Eli Schwartz
ccfe12e4f3
Port winutil plugin to build on python2/python3
2019-03-13 00:36:42 -04:00
Kovid Goyal
6ad22b392b
pep8 and misc fixes
2019-03-13 09:21:07 +05:30
Kovid Goyal
5b76089839
Various py3 related fixes exposed by the unicode patch
2019-03-13 06:41:39 +05:30
Eli Schwartz
56af613e10
py3: add polyglot imports for BeautifulSoup3
...
upstream bs4 has changed self.unicode to self.unicode_markup, but
calibre does not use UnicodeDammit. Leave this in its historic, horribly
confusing state, as it should not cause harm to have a class instance
attribute with the same name as a python2 object type.
2019-03-13 06:41:38 +05:30
Eli Schwartz
cbc42bec23
python3: add unicode/unichr wrappers to polyglot
2019-03-13 06:41:38 +05:30
Kovid Goyal
3e73c9243d
Edit book: Fix pasting images into a book with no Images folder not working correctly. Fixes #1817405 [[Enhancement] Inserting image with same name]( https://bugs.launchpad.net/calibre/+bug/1817405 )
2019-03-10 18:23:19 +05:30
Kovid Goyal
28145e76b0
A couple of fixes for the last py3 compat PR
2019-03-10 17:30:38 +05:30
Eli Schwartz
c53322db0d
Port podofo plugin to build on python2/python3
2019-03-10 00:10:19 -05:00
Eli Schwartz
9ad1ebf487
libmtp: make update script run on python3
...
Also make it not clone tons of useless history.
2019-03-10 00:10:19 -05:00
Eli Schwartz
6aa1592052
Port libmtp plugin to build on python2/python3
2019-03-10 00:10:19 -05:00
Eli Schwartz
c0754900fe
C extensions: format strings with the right type of values on python2/python3
2019-03-10 00:10:14 -05:00
Eli Schwartz
a14454a857
py3: fix PyInt types for python2/python3
2019-03-10 00:03:53 -05:00
Kovid Goyal
f4a5b3edb0
version 3.40.1
2019-03-08 11:39:34 +05:30
Kovid Goyal
e3c295f252
Fix regression that broke calibre starting when using a custom date column
2019-03-08 11:36:11 +05:30
Kovid Goyal
409aac87dd
Donate buttons should link to localized donate pages
...
Fixes #1819064 [Clicking on the heart (donate) button will not get you to the donate page in your language](https://bugs.launchpad.net/calibre/+bug/1819064 )
2019-03-08 10:32:08 +05:30
Kovid Goyal
94fc460f8c
Content server: Book details page: Fix close button not going back to book list after using Next/previous buttons. Fixes #1819060 [Clicking X (close) in the book details on the server should get you back to the covers view (library)]( https://bugs.launchpad.net/calibre/+bug/1819060 )
2019-03-08 10:18:12 +05:30
Kovid Goyal
7d9f51cd9e
Content server: Allow clicking on book cover in details page to read the book. Fixes #1819058 [[Feature] Clicking on cover in book details to read it]( https://bugs.launchpad.net/calibre/+bug/1819058 )
2019-03-08 10:15:56 +05:30
Kovid Goyal
36136bcdb2
version 3.40.0
2019-03-08 08:59:19 +05:30
Kovid Goyal
893c8a970c
pep8
2019-03-08 08:58:47 +05:30
Kovid Goyal
d205255cb7
Update amazon Get books plugin for markup change
2019-03-08 08:51:43 +05:30
Kovid Goyal
7667b177d8
Fix a regression in the previous release that broke Copy to library and delete after when copying a duplicated book. Fixes #1816224 [Bug when copying an existing book from one library to another]( https://bugs.launchpad.net/calibre/+bug/1816224 )
2019-03-08 08:37:09 +05:30
Kovid Goyal
293571cb8a
Update Amazon metadata download plugin for changes to amazon results page markup
2019-03-08 05:17:22 +05:30
Kovid Goyal
59ec0ad2a7
Allow adding files to selected book records from the clipboard. To use copy a file from windows explorer, right click the Add books button and choose: Add files to selected books from clipboard
...
See #1815419 ([Enhancement] New option for calibre command)
2019-03-07 14:17:10 +05:30