Commit Graph

19717 Commits

Author SHA1 Message Date
Kovid Goyal 8020f489ca pep8 2013-06-19 12:39:20 +05:30
Kovid Goyal 8bd6cc840c DOCX metadata: Be more intelligent for covers
DOCX metadata: When reading covers from DOCX files use the first image
as specified in the actual markup instead of just the first image in the
container.
2013-06-19 11:36:33 +05:30
David Forrester 0e14d36438 SQL delete needs firmware check for older Kobo firmare
Kobo driver: Fix a regression when deleting empty shelves on Kobo devices with older firmware.
Fixes #1192441 [Private bug](https://bugs.launchpad.net/calibre/+bug/1192441)

As reported here,
http://www.mobileread.com/forums/showthread.php?t=214760, if the Kobo
device is using firmware before 2.5.0, it doesn't have the Activity
table. The delete from this table when maintaining shelves needs a
version check around it.
2013-06-19 10:19:49 +05:30
Kovid Goyal 07c935b700 Do not show builtin plugins in the get new plugins dialog
If a builtin plugin with the same name as a third party plugin exists,
then the builtin plagin was displayed in the get new plugins dialog as
installed (happened with the new DOCX Input plugin).
2013-06-19 10:12:03 +05:30
Kovid Goyal ccaa960edf pep8 2013-06-19 10:02:20 +05:30
Kovid Goyal 45704e36c5 Add Kobo Aura HD to Welcome Wizard 2013-06-18 09:00:46 +05:30
Kovid Goyal 752bd9e06e DOCX Input: Detect likely cover image
DOCX Input: If a large image that looks like a cover is present at the
start of the document, remove it and use it as the cover of the output
ebook. This can be turned off under the DOC Input section of the
conversion dialog.
2013-06-17 11:03:15 +05:30
Kovid Goyal 7a0675e59a Fix PIL import 2013-06-17 09:29:56 +05:30
Kovid Goyal 1bada2b35b Get Books: Fix error when using internal browser
Get Books: Fix error when using internal browser on some systems. I
cannot replicate this error so my fix is speculative, based on the idea
that not keeping explicit references to the python object is causing
them to be garbage collected. Fixes #1191199 [Python exception downloading books from Barnes & Noble](https://bugs.launchpad.net/calibre/+bug/1191199)
2013-06-16 09:49:50 +05:30
Kovid Goyal b63e0df73f DOCX Input: Fix image name generation
DOCX Input: When converting docx files with large numbers of unnamed
images, do not crash on windows. Fixes #1191354 [Word docx conversion](https://bugs.launchpad.net/calibre/+bug/1191354)
2013-06-16 08:31:05 +05:30
Kovid Goyal bf9263b007 Merge branch 'master' of https://github.com/GRiker/calibre
Fix #1066922 [Catalog shows content under symbols](https://bugs.launchpad.net/calibre/+bug/1066922) again.
2013-06-16 08:09:31 +05:30
GRiker c958710e65 Corrected fix for lp:1066922, error processing sort letters in catalog under OS X 10.6.8, 10.7.5. 2013-06-15 11:04:14 -06:00
Kovid Goyal ca3573b6cb E-book viewer: Make bookmark button instant popup
E-book viewer: Change the bookmark button to always popup a menu when
clicked, makes accessing existing bookmarks easier.
2013-06-15 21:13:32 +05:30
Kovid Goyal 8c261063b4 DOCX Input: Support for Word created ToC
DOCX Input: Support for Table of Contents created using the Word Table
of Contents tool. calibre now first looks for such a Table of Contents
and only if one is not found does it generate a ToC from headings.
2013-06-15 18:44:58 +05:30
Kovid Goyal e444f27de8 Remove incorrect rendering of separator field chars
Unconditionally rendering the separator is wrong, for example, for the
TOC field it causes an extra space at the start of the first entry. In
any case, many common fields are webHidden, so they dont display anyway.
2013-06-15 17:15:16 +05:30
Kovid Goyal e282364459 ... 2013-06-15 17:12:30 +05:30
Kovid Goyal 3abe080023 DOCX Input: Support webHidden
DOCX Input: Hide text that has been marked as not being visible in the
web view in Word.
2013-06-15 16:13:42 +05:30
Kovid Goyal 58233b596c Bulk metadata: focus the Review instead of OK
After a bulk metadata download, focus the review button on the
popup notification, instead of the OK button. Fixes #1190931 [Newly custom added columns keep disappearing on restart](https://bugs.launchpad.net/calibre/+bug/1190931)
2013-06-15 11:49:04 +05:30
Kovid Goyal ba0639c681 Move TOC creation into its own module 2013-06-15 10:46:03 +05:30
Kovid Goyal 8bc65df29a DOCX Input: Add support for contextual spacing
DOCX Input: Add support for the Word setting "No space between
paragraphs with the same style". Fixes #1191001 [docx conversion bug](https://bugs.launchpad.net/calibre/+bug/1191001)
2013-06-15 10:07:07 +05:30
Kovid Goyal 877810c134 Avoid unnecessary QUrl round-tripping 2013-06-14 21:48:01 +05:30
Kovid Goyal 4637e39350 MOBI Output: Fix rasterizing of svg images
MOBI Output: Fix rendering of SVG images that embed large raster images
in 64bit calibre installs.
Fixes #1191020 [Conversion to mobi (from ePub) removes inserted images](https://bugs.launchpad.net/calibre/+bug/1191020)
2013-06-14 21:40:17 +05:30
Kovid Goyal 74cd76d02c Use a https link for the default author link template
Fixes #1190952 [please use https where possible for external requests](https://bugs.launchpad.net/calibre/+bug/1190952)
2013-06-14 16:35:21 +05:30
Kovid Goyal 545344f5eb version 0.9.35 2013-06-14 08:13:40 +05:30
Kovid Goyal a7580f0ce0 ... 2013-06-14 08:10:45 +05:30
Kovid Goyal bc0c8df175 Keep the idiotic epubcheck happy. 2013-06-14 07:46:38 +05:30
Kovid Goyal 836b955571 calibredb list: Handle multibyte chars
calibredb list: When outputting data in columns, handle multibyte and
east asian characters correctly. Fixes #1190476 [calibredb list series result into multilines when series length > 4](https://bugs.launchpad.net/calibre/+bug/1190476)
2013-06-13 16:11:06 +05:30
Kovid Goyal 9992d4f1cb ... 2013-06-13 15:43:42 +05:30
Kovid Goyal d005aa5906 Dont store very short strings in the history 2013-06-13 15:41:18 +05:30
Kovid Goyal b4f35dcaeb Prevent hitting Enter repeatedly causing search to stop and start in Get
Books
2013-06-13 15:37:44 +05:30
Kovid Goyal c41df1537c Get Books: Use a better HistoryLineEdit
Get Books: Fix unable to change case of words in the
title/author/keywords boxes because of completion.
2013-06-13 15:27:16 +05:30
Kovid Goyal 9975b586bf Merge branch 'master' of https://github.com/cbhaley/calibre
Fix #1190463
2013-06-13 14:05:59 +05:30
Kovid Goyal 74d1e247f1 DO not change the query value while looping 2013-06-13 14:03:08 +05:30
Kovid Goyal 4787801c0d Get Books: Fix title/author based query case-sensitive
Get Books: Fix searching using the title/author being case-sensitive and
therefore not returning results if uppercase characters were used in the
query.
2013-06-13 13:57:19 +05:30
Charles Haley 147e1cbd70 Fix [Bug 1190463] [NEW] Bulk Edit - Clear Custom Date Columns.
Problem arose because Qt doesn't emit a changed signal if you set the
widgets value to what it currently contains.
2013-06-13 10:26:21 +02:00
Kovid Goyal 4e6a8ed649 calibredb list: Add an option to limit the number of results 2013-06-13 12:28:41 +05:30
Kovid Goyal aa47ab279e Get Books: Allow stopping an in progress search
While searching, the Search button becomes a Stop button, clicking on
it, stops the current search.
2013-06-13 10:52:23 +05:30
Kovid Goyal bd9bb1bad8 DOCX: Add support for theme fonts 2013-06-13 10:12:57 +05:30
Kovid Goyal 19cb39873c Some logging for the stages of the DOCX input plugin 2013-06-13 09:26:24 +05:30
Kovid Goyal 1cf55c1fca ... 2013-06-13 08:07:12 +05:30
Kovid Goyal c2278d2442 Fix too small images being identified as cover in DOCX files 2013-06-13 08:04:35 +05:30
Kovid Goyal 1dad6584de Add some space before teh book counts in the status bar 2013-06-13 06:54:25 +05:30
Kovid Goyal c07db5e194 DOCX: Get rid of <span> tags with no attributes 2013-06-12 17:00:51 +05:30
Kovid Goyal b8be1a27b2 Use <b> and <i> instead of <span> where possible 2013-06-12 16:36:16 +05:30
Kovid Goyal 9961ada770 DOCX: Improve style cascading
1) Add cascading for colors
    2) Remove unnecessary text-decoration:none entries
    3) Only cascade font properties if they are the same for all runs in a
    block.
    4) Set sensible defaults for cascaded properties that are never
    specified.
2013-06-12 16:26:12 +05:30
Kovid Goyal e9ff43ab78 ... 2013-06-12 15:29:48 +05:30
Kovid Goyal 6a0fb83859 Dont remove <span> tags if they have ids 2013-06-12 15:21:05 +05:30
Kovid Goyal 49c9b2279f DOCX: Simplify markup for the common <p><span></span></p> case 2013-06-12 14:51:38 +05:30
Kovid Goyal 83b0ef58fe DOCX: Merge runs with the same styling to reduce amount of generated
markup
2013-06-12 12:43:22 +05:30
Kovid Goyal 0cc7a43ded DOCX: Fix partially broken style cascading
Style cascading for font sizes was not working fully because of
premature evaluation of run css while checking the borders.
2013-06-12 11:23:45 +05:30