31298 Commits

Author SHA1 Message Date
Kovid Goyal
7fb27f7fa3
... 2018-05-23 15:27:51 +05:30
Kovid Goyal
4fba18f974
PDF Output: Allow using images in the header/footer templates
Images can be loaded using <img> tags with data URIs
2018-05-23 15:23:47 +05:30
Kovid Goyal
5012d9066c
pep8 2018-05-23 14:08:37 +05:30
Kovid Goyal
68bbec179a
Qt 5.11 compatibility 2018-05-22 19:40:13 +05:30
Kovid Goyal
10ab8bfa26
Conversion EPUB Output: Add an option to output EPUB 3 files. 2018-05-22 12:13:32 +05:30
Kovid Goyal
3048b56905
Edit Book: Spell check: Update the number of misspelled words/total words displayed when correcting/ignoring words. Fixes #1772276 [[enhancement] editor spelling check count](https://bugs.launchpad.net/calibre/+bug/1772276) 2018-05-21 09:48:13 +05:30
Kovid Goyal
ae10633c58
DOCX Output: Fix <pre> tags not being converted correctly. Fixes #1772219 [fail to keep the original program code format while converting](https://bugs.launchpad.net/calibre/+bug/1772219) 2018-05-20 11:57:08 +05:30
Kovid Goyal
a0e845be91
Fix handling of private entities
Conversion: Fix private entities that use the same name as an HTML entity not being handled correctly

Viewer: Fix HTML files with private entities displaying an artifact at
the top

Editor: Check Book: Show an error for HTML files with private entities

Editor: Fix HTML: Automatically resolve private entities

Fixes #1772157 [Private Named Entities problems](https://bugs.launchpad.net/calibre/+bug/1772157)
2018-05-19 18:02:46 +05:30
Charles Haley
0cdfd6bb44 Fix #1772151: the size column displays as blank. 2018-05-19 13:45:57 +02:00
Kovid Goyal
5d8ad82758
Add a UNKNOWN format if an input plugin results in a file without an extension 2018-05-18 18:55:47 +05:30
j-howell
ccfa34c9ec Detect when format has changed during import 2018-05-18 08:51:48 -04:00
Kovid Goyal
fc924d5fc6
calibredb add: Run the input plugins before reading metadata instead of after.
Matches the behavior in the GUI. Means that metadata reading now happens
in the server process instead of the client process when coonencting
remotely. Fixes #1771863 [Metadata is read as the first step when importing books from the CLI but as the last when importing from the GUI](https://bugs.launchpad.net/calibre/+bug/1771863)
2018-05-18 13:21:52 +05:30
Kovid Goyal
b0fa6bdd2e
Ensure custom metadata plugins are used in preference to builtin ones 2018-05-18 08:34:56 +05:30
Kovid Goyal
6272a790a4
Micro-optimization 2018-05-16 15:27:51 +05:30
Kovid Goyal
4422ba06b9
DOCX Input: Fix incorrect conversion of a framed block that contains a list. Fixes #1771279 [wrong tags order in list from DOCX](https://bugs.launchpad.net/calibre/+bug/1771279) 2018-05-16 15:20:53 +05:30
Kovid Goyal
46f19333c9
Improve formatting of help in Preferences->Tweaks
Lines are now wrapped by default and blockquotes are formatted uniformly
with four leading spaces.
2018-05-16 10:50:44 +05:30
Kovid Goyal
c1ef1a8557
Edit book: Compress images tool: Do not mark the book as changed if no images could be further compressed. 2018-05-16 01:28:09 +05:30
Kovid Goyal
96f600eab6
Fix #1770506 [ZeroDivisionError prevents display of Look & feel preferences (hidpi)](https://bugs.launchpad.net/calibre/+bug/1770506) 2018-05-11 05:14:42 +05:30
Kovid Goyal
6dc5ba94a7
Book list splitview: Fix horizontal scroll position of split view can change when changing the current column in one view.
Merge branch 'master' of https://github.com/JimmXinu/calibre
2018-05-09 07:37:22 +05:30
Jim Miller
03845e4c92 Save/restore horz scroll when mirroring selection across splitter. 2018-05-08 17:16:52 -05:00
Kovid Goyal
10b1829fe8
Dont make the splash screen unnecessarily large 2018-05-08 20:32:43 +05:30
Kovid Goyal
2a406cb55d
Fix Bookeen Saga not being recognized on macOS/Linux. Fixes #1769681 [New device "Bookeen Saga" not detected](https://bugs.launchpad.net/calibre/+bug/1769681) 2018-05-07 21:54:55 +05:30
Kovid Goyal
3b1238325d
Edit metadata dialog: Fix undo last trim not working for automatic trims. Fixes #1769606 [Undo automatic trim not working.](https://bugs.launchpad.net/calibre/+bug/1769606) 2018-05-07 15:59:24 +05:30
Kovid Goyal
eb1d951802
Content server: Fix series field blank in Italian translation 2018-05-07 08:25:06 +05:30
Kovid Goyal
6e91a17650
BeautifulSoup: Port fix from upstream for outputting bare ampersands in strings. Fixes #1769481 [Calibre inserting semicolons](https://bugs.launchpad.net/calibre/+bug/1769481) 2018-05-07 08:00:27 +05:30
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