Commit Graph

28573 Commits

Author SHA1 Message Date
Kovid Goyal 9dbd6fa65a ToC Editor: Allow undo for renaming single items as well. Fixes #1769442 [TOC editor undo issue with renamed entries](https://bugs.launchpad.net/calibre/+bug/1769442) 2018-05-06 16:18:58 +05:30
Kovid Goyal 47433bd1ac version 3.23.0 2018-05-04 08:03:13 +05:30
Kovid Goyal 78d6bbe25e pep8 2018-05-04 08:02:33 +05:30
Kovid Goyal cd56a25bb9 Edit book: Insert special character: Add an option to select if searching should match all words or any of the words 2018-05-01 18:41:05 +05:30
Kovid Goyal b71584154a Edit book: Insert special character: When searching by name match prefixes in addition to whole words. So you can now type "horiz" to match "horizontal". 2018-05-01 14:57:17 +05:30
Kovid Goyal b1ee6be746 Edit Book: Fix an error caused by a landmark entry in EPUB 3 files that has an <a> tag without an href attribute. 2018-05-01 14:49:18 +05:30
Kovid Goyal 499578beaa Try to get unicode_names compiling on ancient compilers 2018-05-01 11:31:21 +05:30
Kovid Goyal 5d95d13935 Edit Book: Fix names for some control characters not being displayed in the status bar
Uses the unicode names database I created for kitty. Much more
comprehensive than the one in ICU.
2018-05-01 10:23:50 +05:30
Kovid Goyal 88e9494e6b Replace use of deprecated ICU unorm.h API 2018-05-01 09:48:44 +05:30
Kovid Goyal ff952ad851 Book polishing: Add an option to upgrade EPUB 2 to EPUB 3 2018-04-30 13:39:16 +05:30
Kovid Goyal bff950e52d TXT Input: Add support for embedded images that use relative URLs when converting markdown or textile. Note that this will only work if you are converting using the ebook-convert command line tool as the main calibre program moves files around, so relative references will not be valid. 2018-04-30 11:53:48 +05:30
Kovid Goyal 49c048a028 DOCX Input: Convert text written with dingbat fonts such as Wingding or Symbol correctly. 2018-04-30 11:19:43 +05:30
Charles Haley bca1e6a0c5 Add search query test to check a parenthesized expression after an implied "AND" 2018-04-29 11:38:31 +02:00
Charles Haley c6a6fe07cf Search parsing: fix using a parenthesized expression following an implied "and". 2018-04-29 11:00:37 +02:00
Kovid Goyal 2723d9f2cf When converting python string to ICU strings replace invalid UTF-16 surrogate codepoints with the erplacement character. Needed because various ICU functions fail if invalid surrogates are present. Fixes #1713892 [calibredb add cannot avoid duplicates](https://bugs.launchpad.net/calibre/+bug/1713892) 2018-04-29 11:42:58 +05:30
Kovid Goyal 684bbe6dab Merge branch 'master' of https://github.com/davidfor/calibre
Kobo driver: Add support for new firmware

Kobo driver: Add an option to not maintain bookmarks/read status/etc. when resending a book already on the device.

Fixes #1767589 [New Kobo Glo driver not supported](https://bugs.launchpad.net/calibre/+bug/1767589)
2018-04-28 14:28:38 +05:30
David f8251613dc New option to override KoboTouch driver book resend behaviour and bump the supported firmware version
Adding an option for overriding the Kobo firmware behaviour when a book
is replaced. The defualt behaviour is for the book to be removed from
the internal database and then treated as a new book. This means the
reading status is lost. But, the KoboTouch driver has always overriden
this behaviour and to allow the reading status to be kept. The option is
to override the firmware behaviour and defaults to on to keep the
existing driver behaviour.

Kobo has released new firmware. The only change is to bump the firmware
and database versions.
2018-04-28 18:31:07 +10:00
Kovid Goyal 392e89ccd4 Split up the pinview splitter save/restore API to make it re-useable 2018-04-27 07:37:52 +05:30
Kovid Goyal 5e72273aa9 DOCX Input: Ignore complex script font styles. Fixes conversion of documents that specify only complex script styles and no simple script styles. Fixes #1766650 [Private bug](https://bugs.launchpad.net/calibre/+bug/1766650) 2018-04-25 14:11:10 +05:30
Kovid Goyal 5346902c6f Use a progress spinner in the PDF covers dialog 2018-04-23 18:19:53 +05:30
Kovid Goyal 57f712d1b6 When choosing the page to use as a cover from a PDF file, add a button to render more pages, if needed 2018-04-23 18:07:47 +05:30
Kovid Goyal 7d6a4d54c1 When upgrading EPUB 2 to EPUB 3 add the epub namespace to all HTML files, for convenience. Fixes #1765944 [Editor:EPUB2 to EPUB3 tool enhancement](https://bugs.launchpad.net/calibre/+bug/1765944) 2018-04-22 09:39:50 +05:30
Kovid Goyal 24ece3b623 ... 2018-04-21 18:04:33 +05:30
Kovid Goyal d0ea6b31c4 When updating EPUB 2 to EPUB 3 ensure only a single dc:date element is present in the OPF 2018-04-21 18:03:00 +05:30
Kovid Goyal 00de2544a2 Add a right click menu ation to set the date to today 2018-04-21 15:21:30 +05:30
Kovid Goyal 557a048d10 version 3.22.1 2018-04-20 12:55:09 +05:30
Kovid Goyal 7f7e73f4d2 Edit book: Fix upgrade book tool accidentally rplacing remove unused css tool 2018-04-20 12:54:44 +05:30
Kovid Goyal 15cf4064fe Fix things sphinx complains about 2018-04-20 10:08:07 +05:30
Kovid Goyal 54f3b9007c version 3.22.0 2018-04-20 09:15:55 +05:30
Kovid Goyal f16d2cbb15 pep8 2018-04-19 17:49:40 +05:30
Kovid Goyal 4dc44f144f Edit book: When bulk renaming files add an option to rename by the order in which the files appear in the book. 2018-04-19 09:00:05 +05:30
Kovid Goyal 3462cd4653 Refactor return type for method 2018-04-19 07:56:06 +05:30
Kovid Goyal fa00093b21 On second thoughts use the first file-as value instead of the last. 2018-04-19 07:18:33 +05:30
Kovid Goyal fb4504382b EPUB 3 metadata: If the book defines more than one author sort value for an author use all of them instead of only the last one 2018-04-19 07:08:42 +05:30
Kovid Goyal c795791223 String changes 2018-04-16 09:26:33 +05:30
Kovid Goyal 4a9f5d2a18 Edit Book: Add a tool to upgrade EPUB 2 books to EPUB 3. Accessed via Tools->Upgrade book internals 2018-04-15 19:47:18 +05:30
Kovid Goyal 7167103401 Check Book: Dont warn for nav document not in spine 2018-04-15 19:44:37 +05:30
Kovid Goyal a37d55c96d Allow running the new upgrade book tool via ebook-polish 2018-04-15 17:58:14 +05:30
Kovid Goyal 7973f8798a Upgrade the NCX page list as well 2018-04-15 13:19:20 +05:30
Kovid Goyal c9a8e46d1a Mark title page in OPF when upgrading 2018-04-15 11:07:40 +05:30
Kovid Goyal 31f642e951 Polishing: Recognize titlepages that are marked as covers in the EPUB 3 landmarks section 2018-04-15 11:04:21 +05:30
Kovid Goyal 0e9991c331 Implement upgrade for NCX 2018-04-15 10:26:33 +05:30
Kovid Goyal 6eb67b9b80 Amazon metadata plugin: Fix metadata for adult books not being downloaded because google does not cache those pages. 2018-04-15 07:57:44 +05:30
Kovid Goyal 449191df19 ... 2018-04-14 22:43:14 +05:30
Kovid Goyal 3860b3b77e String changes 2018-04-14 10:57:32 +05:30
Kovid Goyal 8e89d862fb Browser viewer: Show an error message when trying to use the Sync function without being logged in 2018-04-13 16:02:10 +05:30
Kovid Goyal 8fa2c9a54f OPF23: Also migrate the rater cover property 2018-04-13 15:29:30 +05:30
Kovid Goyal a9f8b465b7 DRYer 2018-04-13 11:34:53 +05:30
Kovid Goyal d00ccaafba Change font files media type to application/font-sfnt 2018-04-13 11:23:29 +05:30
Kovid Goyal b604aa7acc Apply content based manifest properties 2018-04-13 11:16:47 +05:30