27205 Commits

Author SHA1 Message Date
Kovid Goyal
4cf1539c37 Fix sorting for composite cols that are marked as numeric
Incidentally, the implementation of size suffixes in the old db was
broken.
2013-08-25 10:08:29 +05:30
Kovid Goyal
109066baf3 Tests for searching on composite fields 2013-08-25 09:17:52 +05:30
Kovid Goyal
14d50b58af Avoid reading splitter on every call, only read once at startup 2013-08-25 08:59:48 +05:30
Kovid Goyal
50634ff252 newdb: Handle multiple different case items when setting many-many fields
Fixes #1216398 [Same tag twice in different case causes ConstraintError](https://bugs.launchpad.net/calibre/+bug/1216398)
2013-08-25 08:11:17 +05:30
Kovid Goyal
be776e5900 Fix a regression that broke moving libraries in 1.0
Fixes #1216401 [calibre, version 1.0.0 'function' object has no attribute 'exists_at'](https://bugs.launchpad.net/calibre/+bug/1216401)
2013-08-25 07:23:57 +05:30
Kovid Goyal
91755ac202 Fix searching on is_multiple composite fields
Merge branch 'master' of https://github.com/cbhaley/calibre
2013-08-25 06:52:34 +05:30
Kovid Goyal
2cafeffc2e Fix tweaks not being reset for single tests 2013-08-25 06:47:39 +05:30
Charles Haley
6d41bf2f5e Fix searching on is_multiple composite columns. 2013-08-24 22:18:49 +02:00
Kovid Goyal
a4e0eeb854 reset_tweaks_to_default and with Tweak not co-operating 2013-08-24 17:05:21 +05:30
Kovid Goyal
7214608282 newdb: Fix bools_are_tristate preference not being respected when sorting 2013-08-24 16:59:49 +05:30
Kovid Goyal
d056f8fed7 newdb: Fix tweak to sort dates by visible fields not being respected 2013-08-24 16:38:57 +05:30
Kovid Goyal
7287ca8f59 pep8 2013-08-24 16:27:22 +05:30
Kovid Goyal
2f36a67ff9 VL tabs: Change name of all books tab when hidden VL is activated
Virtual Library tabs: If the user activates a hidden tab via the Virtual
Library button, change the name of the All Books tab to reflect the
hidden virtual library. Fixes #1216174 [Wrong VL tab activitad when the right one is hidden](https://bugs.launchpad.net/calibre/+bug/1216174)
2013-08-24 14:15:09 +05:30
Kovid Goyal
f0e040639c Fix duplicated sections in PDF user manual
Fixes #1215799 [double-sized calibre manual in pdf version](https://bugs.launchpad.net/calibre/+bug/1215799)
2013-08-24 13:59:10 +05:30
Kovid Goyal
e90ba09426 Use pysqlite for db re-init as apsw cannot discard problem statements
Also move the atomic_rename retry logic into atomic_rename itself,
making it simpler.
2013-08-24 13:08:21 +05:30
Kovid Goyal
403865c914 Replace instead of ignoring 2013-08-24 11:22:59 +05:30
Kovid Goyal
14b348b391 newdb: Handle damaged one-one text tables
Ignore text records in the database that are damaged, instead of erroring
out. Lets the rest of the data be used. Fixes #1215981 [calibre 1.0 can't find database](https://bugs.launchpad.net/calibre/+bug/1215981)
2013-08-24 11:22:22 +05:30
Kovid Goyal
4daace5860 newdb: Allow sorting on ids
Fix regression that broke calibredb catalog when sorting on the id
field. Fixes #1216090 [calibredb catalog fails on sort_key - KeyError: 'id'](https://bugs.launchpad.net/calibre/+bug/1216090)
2013-08-24 08:28:48 +05:30
Kovid Goyal
c5472fe489 PocketBook driver: Scan for books files in the entire device not just in the 'books' folder 2013-08-23 22:01:32 +05:30
Kovid Goyal
47d0b6175e Details on how to add formats to an existing book 2013-08-23 22:00:48 +05:30
Kovid Goyal
4e090c09b8 OEB Reader: Properly serialize OPF using utf-8 when reading metadata
HTML Input: Handle malformed OPF files when converting.  Fixes #1215924 [Mobipocket conversion fail with error TypeError: Invalid input object: NoneType](https://bugs.launchpad.net/calibre/+bug/1215924)

When reading metadata from OPF files during conversion, the OPF was
serialized in ascii with no encoding declaration which could break for
some bad OPF files.
2013-08-23 20:53:53 +05:30
Kovid Goyal
f43f0bba89 Increase the max sleep time 2013-08-23 20:35:09 +05:30
Kovid Goyal
86d400d6e8 dump and restore: retry after some time if rename fails 2013-08-23 20:25:46 +05:30
Kovid Goyal
ef3e011d96 pep8 2013-08-23 20:01:38 +05:30
Kovid Goyal
7eb6bcaf39 Update formats composite column in GUI when conversion finishes
Ensure that the Formats custom column (if present) is updated when a new
format is created as a result of a conversion. Fixes #1215885 [calibre 0.9: strange display behavior for formats](https://bugs.launchpad.net/calibre/+bug/1215885)

Merge branch 'master' of https://github.com/cbhaley/calibre
2013-08-23 20:01:06 +05:30
Charles Haley
2015762650 Merge branch 'kovidgoyal/master' 2013-08-23 15:33:09 +02:00
Charles Haley
7bb70415bc Fix (I think) for bug #1215885 - refresh rows when convert finishes so composites can update. 2013-08-23 15:30:24 +02:00
Kovid Goyal
867a51daf2 newdb: Fix dump and restore on non-ascii locales
Fix a bug in the new backend that broke the Check Library function on computers
with non-English locales. Fixes #1215819 [version 1.0 vérification de la bibliothèque](https://bugs.launchpad.net/calibre/+bug/1215819)

Upstream bug: https://code.google.com/p/apsw/issues/detail?id=142
2013-08-23 18:10:49 +05:30
Kovid Goyal
9614b26137 Content server: Fix blank username causing error on startup
Fixes #1215893 [attempted to start server and recieved an error](https://bugs.launchpad.net/calibre/+bug/1215893)
2013-08-23 17:46:52 +05:30
Kovid Goyal
da8910bd90 pep8 2013-08-23 17:45:35 +05:30
Kovid Goyal
aa58f3a559 newdb: Fix sorting of is_multiple fields
Fix sorting of book list by multi-valued fields like tags not correct in
the new backend. Fixes #1215820 [different ordering by tags in the 1.0 version](https://bugs.launchpad.net/calibre/+bug/1215820)
2013-08-23 17:06:52 +05:30
Kovid Goyal
189a280bb7 Fix the virtual_libraries lazy getter
Merge branch 'master' of https://github.com/cbhaley/calibre
2013-08-23 14:44:14 +05:30
Charles Haley
c6948e9abd Fix the virtual_libraries lazy getter. 2013-08-23 10:56:25 +02:00
Kovid Goyal
cf699a8f2b Move the cover grid button to the center 2013-08-23 13:35:30 +05:30
Kovid Goyal
26b5f6a189 Add a button to restore default cover grid background 2013-08-23 13:29:18 +05:30
Kovid Goyal
5f3267d3eb Update Consumerist again 2013-08-23 12:19:33 +05:30
Kovid Goyal
cf7412fc0a version 1.0.0 v1.0.0 2013-08-23 08:59:07 +05:30
Kovid Goyal
eb0eb79801 Update Consumerist 2013-08-22 22:10:42 +05:30
Kovid Goyal
596f58bbcd pep8 2013-08-22 10:00:44 +05:30
Kovid Goyal
521230ac85 Merge branch 'master' of github.com:kovidgoyal/calibre 2013-08-22 06:12:02 +05:30
Kovid Goyal
6a9fe9043a Plugin mirror: Parse plugins that import metadata 2013-08-22 06:11:11 +05:30
Kovid Goyal
aff83ae7bb Merge pull request #66 from t3d/stores
use ads4books in virtualo plugin
2013-08-21 16:54:34 -07:00
Tomasz Długosz
883f4cab8e use ads4books in virtualo plugin 2013-08-21 20:15:41 +02:00
Kovid Goyal
d844b5cb6a Fix extra 'language' entry in metadata download config dialog 2013-08-21 10:31:42 +05:30
Kovid Goyal
d61e0b5be8 pep8 2013-08-21 10:30:05 +05:30
Kovid Goyal
8609f177f8 pep8 2013-08-21 10:25:15 +05:30
Kovid Goyal
f2c537ee55 ... 2013-08-20 21:28:31 +05:30
Kovid Goyal
9cb81a6984 Add note about VLs as tabs to manual 2013-08-20 21:23:29 +05:30
David Forrester
55e8c029e7 No device collections if shelves not maintained
Kobo driver: Display device collections even if the driver is configured
to not manage shelves on the device. Fixes #1214233 [Collections are empty when not maintaining shelves on Kobo devices](https://bugs.launchpad.net/calibre/+bug/1214233)

Skip getting the shelf collections if the Kobo driver is not configured
to maintain them. This was wiping out the device collections.
2013-08-20 11:29:43 +05:30
Kovid Goyal
c65f952f0f Update jeuxvideo 2013-08-20 08:19:25 +05:30