32929 Commits

Author SHA1 Message Date
Charles Haley
9718fa6c99 Fix for #593910: column description for authors-like fields says they are comma separated. 2016-06-18 12:31:28 +02:00
Kovid Goyal
01361987e8 Update Antyweb
Merge branch 'master' of https://github.com/adrianf0/calibre
2016-06-18 14:30:51 +05:30
Adrian Fiergolski
e69022d822 Fix Antyweb recipe. 2016-06-18 10:53:40 +02:00
Kovid Goyal
07e1840afa Implement saving of images as GIF 2016-06-18 11:37:46 +05:30
Kovid Goyal
244dc86a68 ... 2016-06-18 11:26:59 +05:30
Kovid Goyal
c72a6315c2 EPUB metadata: Add an option to disable adding of cover images to EPUB files that declare no cover image in their metadata (Preferences->Plugins->Customize the Set EPUB metadata plugin) 2016-06-18 10:46:12 +05:30
Kovid Goyal
8ff668d26c When adding a new cover image to an EPUB file that does not have a marked cover image, also check the guide for any images that are marked as covers 2016-06-18 10:16:24 +05:30
Kovid Goyal
525216d957 ... 2016-06-18 09:41:37 +05:30
Kovid Goyal
673e84d4be ... 2016-06-18 09:10:02 +05:30
Kovid Goyal
9e6ee404b9 Setting of application_id
Also when deleting elements, remove all refines that refer to them
2016-06-17 21:04:08 +05:30
Kovid Goyal
1d7eaaafac Implement setting of identifiers 2016-06-17 20:07:39 +05:30
Kovid Goyal
5cd5ba746c HTML Input: Fix error when converting HTML file with URL encoded filename. Fixes #1593632 [ebook-convert crashes on files with urlencoded characters in file name](https://bugs.launchpad.net/calibre/+bug/1593632) 2016-06-17 19:27:16 +05:30
Kovid Goyal
eb1adb69de ... 2016-06-17 18:12:39 +05:30
Kovid Goyal
ce9d5f4104 Convert more URLs to use https 2016-06-17 10:26:44 +05:30
Kovid Goyal
d410cc8962 ... 2016-06-17 10:13:08 +05:30
Kovid Goyal
7773746a26 Start work on supporting EPUB 3 metadata 2016-06-17 10:09:59 +05:30
Kovid Goyal
1c7012507c Fix #1593520 [metadata refactoring in HEAD broke polish book](https://bugs.launchpad.net/calibre/+bug/1593520) v2.59.0 2016-06-17 07:54:09 +05:30
Kovid Goyal
390884076a version 2.59.0 2016-06-17 07:21:29 +05:30
Kovid Goyal
58ae632731 Dont use ctypes for setmaxstdio() on windows
Once we move to the Universal CRT ctypes will not be able to load libc
at all.
2016-06-16 21:30:49 +05:30
Kovid Goyal
e9c8ffe5e9 ... 2016-06-16 21:06:03 +05:30
Kovid Goyal
7bf24395a8 ... 2016-06-16 21:05:07 +05:30
Kovid Goyal
f733b10876 flush() after writing reset to stream 2016-06-16 21:00:00 +05:30
Kovid Goyal
a4ddfc4a58 Windows console output: Handle consoles with non black and white default colors correctly 2016-06-16 20:53:00 +05:30
Kovid Goyal
8211335683 Get rid of code using the CRT on windows via ctypes as with the Universal CRT there is no way to load it 2016-06-16 20:04:09 +05:30
Kovid Goyal
a5f9faaa5d ... 2016-06-16 19:45:26 +05:30
Kovid Goyal
0ba86c31f4 Use find_msvcrt() to load the CRT instead of globbing 2016-06-16 19:29:40 +05:30
Kovid Goyal
96e743c5b1 Copy to library: Speed up checking for duplicates when copying multiple books to a large library. Fixes #1593027 [Copy to library takes 30 times longer than import](https://bugs.launchpad.net/calibre/+bug/1593027) 2016-06-16 14:50:26 +05:30
Kovid Goyal
5a2c70e91e Make parsing of OPF major version more robust 2016-06-16 12:59:39 +05:30
Kovid Goyal
72115a92b1 Move parse_opf_version() into utils 2016-06-16 12:57:13 +05:30
Kovid Goyal
5cf7fb6b2c Edit Book: Check Book: Do not warn if a cover image is not referenced in the text 2016-06-16 12:42:15 +05:30
Kovid Goyal
0bed0edd6d Edit Book: Detect cover images in EPUB 3 files 2016-06-16 12:41:43 +05:30
Kovid Goyal
8ca77820b6 ... 2016-06-16 12:32:02 +05:30
Kovid Goyal
dd6bf9a21c ... 2016-06-16 12:23:31 +05:30
Kovid Goyal
78be5af05a EPUB metadata: When setting a cover image for an EPUB file that has no cover image defined, add the new cover image instead of aborting.
Note that this is not a full EPUB cover, for that you still have to
convert/use book polishing. However, this limited support should at
least allow the cover image to work with those applications that support
the EPUB raster cover metadata standard.
2016-06-16 12:18:19 +05:30
Kovid Goyal
46f9c7c780 Forgot to add support for missing bytestring replacements 2016-06-16 11:13:44 +05:30
Kovid Goyal
c9a8bd9884 ... 2016-06-16 10:27:16 +05:30
Kovid Goyal
3e93f8f51e Change references to the calibre website to use https 2016-06-16 10:13:27 +05:30
Kovid Goyal
ec2671b809 Refactor setting of EPUB metadata
Move it into the new opf module and also avoid several unnecessary mem
copies
2016-06-16 10:07:23 +05:30
Kovid Goyal
e214e3c86c Allow passing bytestrings as replacements to the localunzip module as well 2016-06-16 09:39:31 +05:30
Kovid Goyal
bab29014b1 More EPUB metadata speedups 2016-06-16 08:28:56 +05:30
Kovid Goyal
fca3f5d24b Forgot to commit these in my last commit 2016-06-16 08:27:09 +05:30
Kovid Goyal
cde906b936 Allow passing in bytestrings as replacements, not just file like objects 2016-06-16 08:17:47 +05:30
Kovid Goyal
ca2d3986cd Speedup reading metadata from OPF files by not reading the NCX
Also do not render the first page of the EPUB if it is encrypted. The
old logic for detecting this was broken in the case where the OPF file
is not in the root of the EPUB. Also make the OPF metadata reading code
no longer depend directly on the opf2.OPF class.
2016-06-16 08:06:03 +05:30
Kovid Goyal
921a579d35 EPUB Input: Implement reading of Table of Contents from EPUB 3 files that do not specify a fallback NCX ToC 2016-06-15 23:50:58 +05:30
Kovid Goyal
f315b1cacb ... 2016-06-15 23:03:43 +05:30
Kovid Goyal
8544b1c53b Add the ToC emblem for the EPUB 3 nav file 2016-06-15 22:06:47 +05:30
Kovid Goyal
fadba2dfa1 Nicer formatting for generated nav toc
Also handle the case of the nav toc having a link to itself
2016-06-15 20:13:35 +05:30
Kovid Goyal
60c1948130 Refactor method to make it more widely useable 2016-06-15 19:58:01 +05:30
Kovid Goyal
16870db206 Edit Book: Add support for EPUB 3 to the Table of Contents tool. Now when editing EPUB 3 files using the tool will automatically generate both the EPUB 3 navigation document and the NCX table of contents for backwards compatibility 2016-06-15 19:44:20 +05:30
Kovid Goyal
e622cee5ed ... 2016-06-15 09:17:02 +05:30