Commit Graph

20483 Commits

Author SHA1 Message Date
David Forrester 0bcee3f721 Reading status wiped for older Kobo Touch firmware
Kobo driver: Fix reading status being cleared when connecting to a Kobo
with older firmware and metadata management set to automatic. Fixes #1230018 [Reading status wiped for older Kobo Firmware](https://bugs.launchpad.net/calibre/+bug/1230018)

When a Kobo Touch running a 1.9.x firmware was connected, the reading
status of all books was wiped out. This was to do with the way the
collections were managed. If a shelf/collection attribute was not
defined, the reading status was being cleared when it should not have
been.

Also skipping a loop over the books if shelf and series management is
not being done.
2013-09-25 07:35:16 +05:30
Kovid Goyal dc18dbd5b0 ... 2013-09-24 18:37:14 +05:30
Kovid Goyal 4518d78b2f ... 2013-09-24 10:41:46 +05:30
Kovid Goyal e143dc6642 Content server: Sort virtual libraries by name
Fixes #1229459 [No sorted names of virtual libs. in browser](https://bugs.launchpad.net/calibre/+bug/1229459)
2013-09-24 09:29:24 +05:30
Kovid Goyal 589ef0a5fe Revert "Amazon metadata download: Get tags from amazon best seller rank"
This reverts commit d0f179da82.

There are still many pages where the look for similar items is available
2013-09-23 15:21:32 +05:30
Kovid Goyal de4cddf853 DOCX Input: Convert tabs for indentation into indentation
DOCX Input: Detect if tabs are used for paragraph indentation and
convert those into proper indentation.
2013-09-23 13:13:18 +05:30
Kovid Goyal 178364aa4e ... 2013-09-23 12:18:58 +05:30
Kovid Goyal a4f6d6d19e DOCX Input: Convert tabs to non-breaking spaces
DOCX Input: Convert tabs in the docx file into non-breaking spaces in
the output document. Note that custom tab stops are not supported.
Fixes #1228893 [Converting .docx file fails to preserve para first line indent](https://bugs.launchpad.net/calibre/+bug/1228893)
2013-09-23 10:34:09 +05:30
Kovid Goyal 2c46d54c47 Conversion: Handle the style attribute on the <html> tag 2013-09-22 21:02:49 +05:30
Kovid Goyal 4a82c5f5ac Driver for Woxter Scriba
Fixes #1228690 [Woxter scriba 175 drivers](https://bugs.launchpad.net/calibre/+bug/1228690)
2013-09-22 18:21:36 +05:30
Kovid Goyal 3e522c4e15 newdb: Handle databases with invalid ratings link tables
Fixes #1228517 [crashes on change library](https://bugs.launchpad.net/calibre/+bug/1228517)
2013-09-22 17:24:07 +05:30
Kovid Goyal 50beda31ae Remove the SONY PRS 500 fonts
Remove the bundled SONY PRS500 fonts since they were used only for LRF
conversion, and LRF is now deprecated. The fonts will be substituted with
Liberation fonts instead.
2013-09-22 12:09:24 +05:30
Kovid Goyal d0f179da82 Amazon metadata download: Get tags from amazon best seller rank 2013-09-22 10:01:22 +05:30
Kovid Goyal 7a39bc6368 pep8 and add tags_test 2013-09-22 09:54:23 +05:30
Kovid Goyal 87a8f703be DOCX Input: Handle DOCX files with missing referenced styles
Fixes #1228669 [.docx conversion fails w/ attribute error](https://bugs.launchpad.net/calibre/+bug/1228669)
2013-09-22 08:55:46 +05:30
Charles Haley fc09a57741 Ensure that icons being composed are scaled to a 128x128 box. This handles both down- and up-scaling. 2013-09-21 19:33:32 +02:00
Charles Haley 4881e93d2d Fix not actually setting the compression level 2013-09-21 19:10:27 +02:00
Kovid Goyal bbced250d5 Merge pull request #95 from GRiker/master
Fixed three typos referencing a renamed method self.afc_error
2013-09-21 09:56:40 -07:00
Kovid Goyal ef2d949347 Merge branch 'master' of https://github.com/cbhaley/calibre 2013-09-21 22:25:21 +05:30
GRiker 43908fd1cf Fixed three typos referencing a renamed method self.afc_error 2013-09-21 08:55:54 -07:00
Charles Haley 2bd608cbef Add ability to get more fields to ajax.ajax_books_in. The extra fields are returned in a separate dictionary named "additional_fields" to avoid any name collisions with other items in the dictionary. 2013-09-21 16:09:51 +02:00
Charles Haley 3db2d844cb When editing custom comments from the spreadsheet, add the column name to the title bar 2013-09-21 09:16:34 +02:00
Kovid Goyal 8b820767d0 Windows: Improved device ejection code
Eject individual drives before trying to eject the device. Hopefully,
this fixes incomplete ejection with the Nook devices.
2013-09-21 11:21:47 +05:30
Kovid Goyal ae1d2874d8 Handle yet another amazon website change 2013-09-21 08:15:07 +05:30
Charles Haley 1a2371ffe3 Works, and made it substantially faster too. 2013-09-20 19:05:59 +02:00
Charles Haley b839a2b103 Fix longstanding bug in metadata deepcopy. 2013-09-20 18:37:42 +02:00
Kovid Goyal ab2b4d4abc When ejecting a device from the OS fails, do not think that the device
is still connected when performing various GUI actions, such as deleting
books.
2013-09-20 11:37:47 +05:30
Kovid Goyal d8fef25259 version 1.4 2013-09-20 08:59:23 +05:30
Charles Haley d99c4fea8c Add in the stuff to age the smart device book cache, to avoid requiring conversion later. 2013-09-19 16:46:32 +02:00
Kovid Goyal c480169ec5 Use the cache dir for device metadata cache 2013-09-19 19:17:59 +05:30
Kovid Goyal 2e99bf845e Merge branch 'master' of https://github.com/cbhaley/calibre 2013-09-19 18:36:00 +05:30
Charles Haley 2734241db9 Calibre-side code for caching metadata, to avoid needing to resend it from the device on each connect. The CC side code will go into beta test next week. 2013-09-19 13:11:05 +02:00
Kovid Goyal e7c29dfa7d Merge pull request #89 from cbhaley/master
Two small changes ...
2013-09-19 01:25:50 -07:00
Kovid Goyal ba8f9d10ca Conversion: Fix font subsetting not working for CJK fonts 2013-09-19 12:41:30 +05:30
Kovid Goyal 2bd084ba23 pep8 2013-09-19 12:34:59 +05:30
Kovid Goyal 85d09338d7 Fix cmap table generation not handling contiguous indices
Also fix tab indentation in code imported from fonttools.
2013-09-19 12:03:12 +05:30
Charles Haley b075feb3d7 Make an uncomposed icon rule use all the icons from previous composed icon rules. Lets you express things like "compose icon a if XXX, compose icon b if YYY, icon c if ZZZ, icon d if WWW". This will result in categories icons a and b if their conditions match, then appended with one of: c if its condition matches, d if its condition matches, or nothing. 2013-09-19 08:04:49 +02:00
Charles Haley 1109b373a1 Fix formatter function "count" to return zero for an empty list 2013-09-19 07:54:44 +02:00
Kovid Goyal 46ed78b892 ... 2013-09-19 10:35:45 +05:30
Kovid Goyal 8ce8d331b6 pep8 2013-09-19 09:44:00 +05:30
Kovid Goyal 5d09bc1f79 Fix regression that broke html metadata
HTML Input: Fix a regression that broke processing of HTML files
that contain meta tags with dc: namespaced attribute values.
2013-09-19 09:04:02 +05:30
Kovid Goyal 4e35050879 ... 2013-09-19 08:49:49 +05:30
Kovid Goyal f59d90e68e Fix switching to an empty virtual library not blanking the book details panel 2013-09-18 21:36:10 +05:30
Kovid Goyal 3ab5097788 Speed up the qhash implementation 2013-09-18 21:27:31 +05:30
David Forrester c893f0de7e Add support for new cover handling in Kobo Aura
The new Kobo Aura has firmware version 2.9.0. The main change needed for
the driver is that cover images are stored in a different place.

Version number is set to 2.9.1 to handle the later release for other
Kobo devices.
2013-09-18 21:18:29 +05:30
Kovid Goyal 07547628cc pep8 2013-09-18 17:00:59 +05:30
Kovid Goyal 455afaa08f Allow multiple icons for column icons
Column icons: Allow the use of multiple icons with column icon rules.
You can now have column icon rules display multiple icons in a single
column, side by side. There are two ways to do this, either specify
multiple icons when creating the rule, or create multiple rules that
match the same book and specify the icon type to be 'composed' for every
rule. See Preferences->Look & Feel->Column icons for details.

Merge branch 'master' of https://github.com/cbhaley/calibre
2013-09-18 16:24:14 +05:30
Charles Haley 5acef6ba2f Get rid of over-elaborate cache naming 2013-09-17 15:29:13 +02:00
Charles Haley 2fe01db004 Make icon rules composable. 2013-09-17 14:29:08 +02:00
Charles Haley 9c3e61cee2 Merge branch 'kovidgoyal/master' 2013-09-17 14:28:09 +02:00