Commit Graph

32688 Commits

Author SHA1 Message Date
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
Kovid Goyal 23fd53cf1b Fix typo that broke grayscaling of images in the previous release 2016-06-15 08:06:05 +05:30
Kovid Goyal 2929ba8686 Fix crash on exit if any plugins have loaded code that raises exceptions during shutdown. Fixes #1592414 [Crash on quit (v2.57.1, OS X El Capitan)](https://bugs.launchpad.net/calibre/+bug/1592414) 2016-06-14 19:56:15 +05:30
Kovid Goyal 92937a12da Workaround for Firefox bug that broke <style> tags 2016-06-14 15:35:39 +05:30
Kovid Goyal b0c9198a04 Allow the add_file() method to modify the file name if not unique 2016-06-14 12:59:29 +05:30
Kovid Goyal ec625be3b4 Use a single stylesheet instead of per widget instance style sheets
Better for DOM mutation performance
2016-06-14 10:28:47 +05:30
Kovid Goyal bdaa808886 Start work on completion popups 2016-06-14 09:08:54 +05:30
Kovid Goyal f3b17074e9 ... 2016-06-13 09:13:23 +05:30
Kovid Goyal ed1d51bf6b Re-render the book on the server when reloading 2016-06-13 09:05:10 +05:30
Kovid Goyal cc6101a62f ... 2016-06-12 22:33:01 +05:30
Kovid Goyal b0cf1e8c05 Prevent un-lloadable resources in link tags (non-CSS stylesheets) from causing the resource loading check to timeout 2016-06-12 17:28:40 +05:30
Kovid Goyal 45fbdbea30 Fix a regression in 2.57 that caused auto-removal of borders from covers to become much less proficient at detecting borders 2016-06-12 13:22:49 +05:30
Kovid Goyal 3e686018d3 Fix passing data into remove_image_borders() not working 2016-06-12 12:38:21 +05:30
Kovid Goyal 2c41c0f472 ... 2016-06-12 12:27:18 +05:30
Kovid Goyal 231ee3bcfb Add missing random icon 2016-06-11 11:24:17 +05:30
Kovid Goyal fb43704dcd Fix random book view not working 2016-06-11 11:17:28 +05:30
Kovid Goyal b3007159cc Fix top bar button hiding broken 2016-06-11 11:10:06 +05:30
Kovid Goyal b45a6366cb Use a link tag instead of a button tag for buttons
There are various rendering artifacts when trying to override the
rendering of buttons on different browsers
2016-06-11 10:59:51 +05:30
Kovid Goyal 72a9cafdb5 E-book viewer: Remove workaround for bug in old versions of WebKit that could cause incorrect rendering of chapter titles in some rare circumstances. 2016-06-11 09:59:48 +05:30
Kovid Goyal 7d4676232b Remove unused attributes 2016-06-11 08:33:16 +05:30
Kovid Goyal 48ba6080ea Implement searching the TOC view 2016-06-11 08:06:03 +05:30
Kovid Goyal 53649d9cf3 ... 2016-06-11 08:00:03 +05:30
Kovid Goyal de1aeb1e7f ... 2016-06-11 07:35:22 +05:30
Kovid Goyal bc2f455b51 ... 2016-06-11 06:48:54 +05:30
Kovid Goyal 534e378abb ... 2016-06-10 16:22:46 +05:30
Kovid Goyal 7760f53a70 Header for TOC view 2016-06-10 11:34:56 +05:30
Kovid Goyal 18754ac18f Start work on ToC view 2016-06-10 09:41:22 +05:30
Kovid Goyal c295219a28 A simple TreeView widget 2016-06-10 09:41:17 +05:30
Kovid Goyal e7fe3f771f Get Books: Update Smashwords plugin for website changes. Fixes #1590653 [can't find book from "Smashwords"](https://bugs.launchpad.net/calibre/+bug/1590653) 2016-06-09 12:42:42 +05:30
Kovid Goyal f193a3aac3 ... 2016-06-08 12:39:37 +05:30
Kovid Goyal c7439742e3 Implement reloading of book from server 2016-06-08 10:10:25 +05:30
Kovid Goyal f7a7150f28 ... 2016-06-08 09:29:05 +05:30
Kovid Goyal 34f94e2033 Implement deleting of book from local storage 2016-06-08 09:20:19 +05:30
Kovid Goyal 6018ad88e5 Another common series-in-title pattern 2016-06-07 18:25:03 +05:30
Kovid Goyal 2f9f3503e3 Losslessly optimize images automatically when creating a custom icon theme 2016-06-07 10:21:34 +05:30
Kovid Goyal 150d6762f7 Amazon metadata download: Recognize common patterns of embedding the series name after the title and remove it automatically 2016-06-06 18:19:04 +05:30
Kovid Goyal f915daed36 Fix #509 (Fix for composite column sorting problem …) 2016-06-06 16:24:20 +05:30
Kovid Goyal 09242c8f7a ... 2016-06-06 16:14:42 +05:30
Kovid Goyal d5099a01f6 ... 2016-06-06 16:13:49 +05:30
Kovid Goyal 7a53b7dd61 Make code to detect thousands separator a little more robust 2016-06-06 16:11:21 +05:30
Kovid Goyal 7f6ade6be0 Function to get number formatting characters on windows 2016-06-06 16:04:28 +05:30
Kovid Goyal f06ce03121 Treat YYYY-MM-DD dates as unambiguous even when using / or . as separators 2016-06-06 10:00:31 +05:30