25389 Commits

Author SHA1 Message Date
Kovid Goyal
b5f1010d8a Conversion: Fix removal of empty inline tags
Conversion: Fix empty inline tags that are the second child of a
paragraph causing text change location. Fixes #1207735 [Conversion issue from epub to mobi.  Italicized word sometimes moves to end of paragrah.](https://bugs.launchpad.net/calibre/+bug/1207735)
2013-08-05 13:23:56 +05:30
Kovid Goyal
6c630b280f Auto-run .ui file compilation on branch change 2013-08-05 12:54:35 +05:30
Kovid Goyal
1d338fa8c4 ... 2013-08-05 12:09:13 +05:30
Kovid Goyal
34d2b0a64f Allow refering to bugs without closing them in commit messages 2013-08-05 11:06:43 +05:30
Kovid Goyal
8da42d6a70 Do not popup an error dialog for invalid message
Do not popup an error dialog when an invalid message is received from
another instance, unless we are in DEBUG mode. See #1207947
2013-08-05 10:59:36 +05:30
Kovid Goyal
2e3a0e57bf Fix book count in tooltip of choose library button not updating
Fixes #1208217 [library toolbar button not updated on book deletion](https://bugs.launchpad.net/calibre/+bug/1208217)
2013-08-05 10:37:29 +05:30
Kovid Goyal
7d26a22a46 TXT Input: Add support for markdown extensions
TXT Input: Allow using various markdown extensions for more features
when converting markdown formatted txt files. See
http://pythonhosted.org/Markdown/extensions/index.html for details.

Merge branch 'markdown_extensions' of https://github.com/user-none/calibre
2013-08-05 10:12:59 +05:30
Kovid Goyal
e459dee9c6 Add a tweak to debug newdb locking issues 2013-08-05 08:05:32 +05:30
Kovid Goyal
2fbcd61fb4 Add basic debug info to unhandled error dialog 2013-08-05 06:46:11 +05:30
John Schember
a97c86bfe3 TXT Input: Allow shipped markdown extensions to be selected and used. 2013-08-04 16:33:24 -04:00
Kovid Goyal
27b36ebefc Fix write_lock being help on db when postimport plugins are run 2013-08-05 00:00:34 +05:30
Kovid Goyal
d03bfd7f3d Fix holding write lock while calling notify in legacy API 2013-08-04 23:48:52 +05:30
David Forrester
ca0ee594f9 Delete Activity entry for synced shelves
When deleting shelves that have been synced, the Activity entry for the
shelf was not being deleted. This left a tile for the shelf on the home
screen of the Glo and AuraHD. Fixes #1208159 [Delete Activity entry for synced shelves on Kobo devices](https://bugs.launchpad.net/calibre/+bug/1208159)
2013-08-04 17:55:01 +05:30
Kovid Goyal
eb9714c761 Switch to reading plugin index from plugins mirror 2013-08-04 15:21:54 +05:30
Kovid Goyal
66d897893a Support adding images into the comments field
Allow adding images into the comments field, by clicking on the insert
link button in the comments editor in the edit metadata dialog.

When generating a metadata jacket during book polishing or conversion,
embed any images referenced in the comments.
2013-08-04 15:07:03 +05:30
Kovid Goyal
938fe0fa66 EPUB Input: Use raster cover metadata
EPUB Input: If the EPUB file identifies an actual cover image in
addition to the titlepage html file, use the cover image instead of
rendering the titlepage. This is faster and has the advantage that an
EPUB to EPUB conversion preserves internal cover structure.
2013-08-04 12:35:19 +05:30
Kovid Goyal
ba0ce696f4 pep8 2013-08-04 12:07:28 +05:30
Kovid Goyal
e5a8f45879 Make it clear that disabling plugins is prevented by policy 2013-08-04 10:34:33 +05:30
Kovid Goyal
6db94c833f pep8 2013-08-04 10:33:22 +05:30
Kovid Goyal
db4ba9133b Comments editor: Disable insert link until focused
Comments editor: The Insert Link button has no effect until the user
clicks inside the comments box, therefore disable it until it is ready,
to prevent confusion. Fixes #1208073 [Insert Link not working](https://bugs.launchpad.net/calibre/+bug/1208073)
2013-08-04 09:18:18 +05:30
Kovid Goyal
c70b70dd76 Make the punctuation removal faster and more robust 2013-08-04 08:20:37 +05:30
Kovid Goyal
fefee248cf Get Books: Improve searching by removing punctuation
Get Books: Improve searching by removing punctuation from title/authors
before matching.

Merge branch 'master' of https://github.com/user-none/calibre
2013-08-04 08:19:34 +05:30
John Schember
b9307dd4da Further work for dealing with common words and punctuation. 2013-08-03 18:16:22 -04:00
John Schember
a043e21c8e Store: Change punucation into spaces when using author or title searching. 2013-08-03 18:00:18 -04:00
Kovid Goyal
8b372eeb44 Update notes on file server deployment 2013-08-03 17:49:40 +05:30
Kovid Goyal
670184a69a Fix file permissions and user agent 2013-08-03 17:39:16 +05:30
Kovid Goyal
34ed01dbd0 Initial implementation of plugins mirroring 2013-08-03 17:30:45 +05:30
Kovid Goyal
27e5f2c94a Private Eye by Martyn Pritchard 2013-08-03 13:37:10 +05:30
Kovid Goyal
57437fb0b0 Fix incorrect error being raised when trying load a None object as an
image with imagemagick.
2013-08-03 07:53:25 +05:30
Kovid Goyal
ad5a5cc20e Merge pull request #52 from t3d/stores
updates to polish plugins
2013-08-02 18:29:47 -07:00
Tomasz Długosz
8f1bf67ada move format and DRM status detection to get_details() 2013-08-03 00:20:35 +02:00
Tomasz Długosz
1c7a229ebc bump up plugin version 2013-08-03 00:13:02 +02:00
Tomasz Długosz
ed9e3ab436 move format detection to get_details() 2013-08-02 23:34:11 +02:00
Kovid Goyal
211aff74d7 ... 2013-08-02 16:46:15 +05:30
Kovid Goyal
3c777a8154 Update The Scotsman 2013-08-02 16:35:54 +05:30
Kovid Goyal
c92910ea6e version 0.9.42 v0.9.42 2013-08-02 07:38:20 +05:30
Kovid Goyal
e5e2eae97f Allow adding multiple books to running calibre
Allow adding multiple books to an already running calibre by passing
multiple file arguments to calibre.exe. Also change the .desktop file in
linux to indicate calibre can accept file arguments. Fixes #1207518 [Calibre is invisible in Ubuntu 13.04 "Open with" dialog](https://bugs.launchpad.net/calibre/+bug/1207518)
2013-08-02 07:21:27 +05:30
Kovid Goyal
8352b43e28 Unused import 2013-08-01 21:37:43 +05:30
Kovid Goyal
20caf3ac99 pep8 cleanup of kobo/driver.py
Kobo driver: Add an option to modify the styling in books being sent to
the device, based on a template on the device. Fixes #1207151 [Append and modify CSS when sending epubs to Kobo devices](https://bugs.launchpad.net/calibre/+bug/1207151)
2013-08-01 11:21:52 +05:30
David Forrester
08819cb340 Kobo driver CSS modification should use mimetype 2013-08-01 11:14:53 +05:30
David Forrester
7cbad00c25 Append and modify CSS when sending epubs to Kobo devices
This allows users to have a "kobo_extra.css" file in the root of their
device containing CSS rules. This will be appended to all stylesheets in
the epub. As well, if the extra rules contain an @page rule, any
existing @page rules will be stripped from the stylesheets. Finally, if
any of the extra rules include "widows" and "orphans" settings, these
are stripped from the rules in the stylesheets.
2013-08-01 11:14:53 +05:30
Kovid Goyal
d38dffa86d Download tags from Amazon
When downloading metadata from Amazon, convert the amazon categories into
tags. You can turn this off by going to Preferences->Metadata download
and configuring the Amazon source. Fixes #1206763 [[Enhancement] Get tags from Amazon](https://bugs.launchpad.net/calibre/+bug/1206763)
2013-08-01 10:35:31 +05:30
Kovid Goyal
fda8ce7abb newdb: get_metadata() should have sorted formats list in mi.formats 2013-08-01 09:31:02 +05:30
Kovid Goyal
20f414a7f5 Avoid unnecessary tracebacks when backing up metadata for deleted books 2013-08-01 09:10:40 +05:30
Kovid Goyal
49eb89a59a Update PC World 2013-08-01 08:27:30 +05:30
Kovid Goyal
d62006bc11 QDateTime->datetime faster and more robust
Fix editing of book metadata failing when its timestamp is out of range
for the system. Fixes #1191599 [Cannot edit simple ebook metadatas](https://bugs.launchpad.net/calibre/+bug/1191599)
2013-08-01 08:23:06 +05:30
Kovid Goyal
340fda187c Merge branch 'master' of https://github.com/brandizzi/calibre
Fix renaming a user category to the same name it already has erases the
user category. Fixes #1207131 [Renaming a user category to the same name it already has erase this same user category](https://bugs.launchpad.net/calibre/+bug/1207131)
2013-08-01 07:47:05 +05:30
Kovid Goyal
e2c3bb40a5 newdb: Fix default value for identifiers is mutable 2013-08-01 07:41:49 +05:30
Adam Victor Nazareth Brandizzi
ccb3eff05b Fix the issue of renaming user categories to the same name it already has resulting in deletion of the category (see https://bugs.launchpad.net/calibre/+bug/1207131) 2013-07-31 22:18:40 -03:00
Tomasz Długosz
bd456d1b86 add unicode_literals in koobe plugin 2013-07-31 16:53:27 +02:00