Kovid Goyal
41bcffea92
newdb: Fix replacing formats in a book creating orphans
...
When replacing formats in a book with a very long title+authors on
windows, newdb could leave behind the old format file, because the
filename shortening algorithm has changed. Handle that case.
2013-08-27 14:23:42 +05:30
Kovid Goyal
121469daa5
Fix a regression that broke downloading news when output format is set to PDF
2013-08-27 10:27:27 +05:30
Kovid Goyal
4751aa1286
newdb: Fix temp duplicate catalog entries in book list
...
Creating a catalog with an already existing catalog in the library would
cause a temporary duplicate entry in the book list (the entry would go
away on restart. Also fix the author sort for catalogs generated in the
AZW3 format not being correct.
2013-08-27 09:38:37 +05:30
Kovid Goyal
40cf046a07
Merge pull request #70 from t3d/stores
...
Update affiliate links
2013-08-26 20:50:06 -07:00
Kovid Goyal
c281600581
newdb: Optimize setting the same value as before for author data
...
Do not mark books as dirty if the same value as before is set for
author_sort or author_link.
2013-08-27 09:18:36 +05:30
Kovid Goyal
f542b8babe
Fix error in MTP driver debug on some non english windows locales
2013-08-27 08:52:08 +05:30
Tomasz Długosz
efc4ac3446
use ads4books in legimi plugin
2013-08-26 22:06:24 +02:00
Tomasz Długosz
b0d36402c2
use ads4books in ebookpoint plugin
2013-08-26 21:57:13 +02:00
Kovid Goyal
e469703793
Fix content server error if return to top level after using virt libs
...
Fix content server giving an error if you return to the top level page
after using the virtual libraries. Fixes #1216838 [500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request.](https://bugs.launchpad.net/calibre/+bug/1216838 )
2013-08-26 15:37:52 +05:30
Kovid Goyal
aad985ad06
Do not delete titles in EPUB 3
...
In EPUB 3 titles are not titles they can be series or sub titles or
hobgoblins and we have no well defined way to find out what they are, so
just replace the first title and call it quits.
2013-08-26 15:30:44 +05:30
Kovid Goyal
8a1f46a389
EPUB metadata: Handle multiple title elements when setting titles
...
EPUB metadata: When changing the title in an EPUB 2.0 file that has
multiple titles, remove the extra titles. Fixes #1211949 [Private bug](https://bugs.launchpad.net/calibre/+bug/1211949 )
2013-08-26 15:14:09 +05:30
Kovid Goyal
ed35c29f69
Remember last used sort when sorting on an unsorted col
...
Book list: When sorting on a currently unsorted column, use the last
used sort for that column, instead of always sorting in ascending order.
Fixes #1216714 [[Feature request] I'd like Calibre to memorize the sorting order of a column](https://bugs.launchpad.net/calibre/+bug/1216714 )
2013-08-26 14:27:27 +05:30
Kovid Goyal
106f7d5b34
Ensure no comments in the apsw dump cause problems
2013-08-26 13:48:12 +05:30
Kovid Goyal
a9992f90b8
newdb: Handle renaming of many-many items when new name contains separator
...
Fix a regression that broke splitting of multiple valued field like tags
into many items during a rename. Fixes #1216699 [Renaming tags and adding "," to split tags does not work anymore](https://bugs.launchpad.net/calibre/+bug/1216699 )
2013-08-26 09:25:11 +05:30
Kovid Goyal
a94af603ff
...
2013-08-26 09:18:12 +05:30
Kovid Goyal
819f4b1daa
Retry cleanup to avoid errors due to transient file locks on windows
2013-08-25 18:47:47 +05:30
Kovid Goyal
308b7cfb23
Add a prominent reference to the user manual in the adv search dialog
2013-08-25 17:36:14 +05:30
Kovid Goyal
138de9b699
newdb: Speed up S&R in the bulk metadata edit dialog
2013-08-25 17:30:34 +05:30
Kovid Goyal
1ea50f3d40
...
2013-08-25 14:16:35 +05:30
Kovid Goyal
50ce1c08af
...
2013-08-25 14:13:52 +05:30
Kovid Goyal
302b68135f
Print out how long each test takes and slowest tests
2013-08-25 14:10:03 +05:30
Kovid Goyal
ec1c6d43cf
Fis reset tweaks in test not applying to field_metadata in Metadata objects
2013-08-25 12:53:56 +05:30
Kovid Goyal
172e4def71
Remove unused olddb code paths
2013-08-25 12:09:09 +05:30
Kovid Goyal
167d44f234
Sort is_multiple composite columns when displaying them in the book list
2013-08-25 11:52:15 +05:30
Kovid Goyal
7c9b460f52
Fix sorting for is_multiple custom cols
2013-08-25 11:43:15 +05:30
Kovid Goyal
f8463a2ddc
Composite column bool sorting
2013-08-25 11:17:18 +05:30
Kovid Goyal
521320657d
Sorting for composite cols marked as dates
2013-08-25 10:36:47 +05:30
Kovid Goyal
798baa863b
...
2013-08-25 10:16:26 +05:30
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