9502 Commits

Author SHA1 Message Date
Charles Haley
5626418d1a Correct regression in device handing -- sorting after sending a book. 2010-09-12 14:51:21 +01:00
Charles Haley
8b09f4c293 Restore the second 'tags' to the tests 2010-09-12 13:42:37 +01:00
Charles Haley
bcd0430791 Starting from Kovid's multisort:
1) change _map_filtered to an ordered dict to make 'in' operations much faster
2) add a method to field_metadata to return a dict of database fields.
3) fix a couple of places where field_metadata needed to be used.
4) make changes so gui2.library.models.resort uses multisort
2010-09-12 13:37:28 +01:00
Charles Haley
b99f36a615 Merge from trunk 2010-09-12 10:06:43 +01:00
Kovid Goyal
7382552d18 Much faster sorting code 2010-09-11 19:11:30 -06:00
Kovid Goyal
e531b51767 Code organization 2010-09-11 16:16:57 -06:00
Charles Haley
721e61ef2a Clean up tweaks.py formatting (add blank lines) 2010-09-11 21:05:05 +01:00
Charles Haley
6eaa75527b resort maximum_resort_levels tweak implemented 2010-09-11 21:01:26 +01:00
Charles Haley
64f881f3a6 Merge from trunk 2010-09-11 19:19:47 +01:00
Kovid Goyal
1e77e6538f TXT Output: When using preserve spaces, output tab characters as a sequence of four non-breaking spaces as some readers dont handle the \x09 char code. Fix #6770 (Problem converting pmlz to epub). PDF Input: More unicode character matching. 2010-09-11 11:58:32 -06:00
Kovid Goyal
3766f34aab Fix regression in filename shortening that caused loss of filename extension 2010-09-11 11:54:54 -06:00
Kovid Goyal
fc8bcdc6f0 Fix various regressions that could be triggered when using serach restrictions and/or multi-sorts and connecting a device 2010-09-11 11:50:45 -06:00
Charles Haley
a58aa5f0e5 Fix bug reported in forum: http://www.mobileread.com/forums/showthread.php?t=98242
cache.refresh still used a parameter when calling search that was removed some releases ago.
2010-09-11 15:37:11 +01:00
John Schember
ef8408869c TXT Output: preserve spaces, handle tab character correct. 	 is reduced to a single space by many renderers. 2010-09-11 09:13:23 -04:00
John Schember
c2b3c445e1 PML Input: Remove emtpy lines. 2010-09-11 09:09:08 -04:00
John Schember
dc7bc5dd5d PML Input: Fix bug #6770, put toc link after header so toc link goes to correct page. 2010-09-11 09:01:34 -04:00
John Schember
96478da323 PLM Input: Fix cleanup code. 2010-09-11 08:48:47 -04:00
Charles Haley
c4071a245d Fix library sorting problem introduced by calling model.refresh() in the device connection sequence. 2010-09-11 13:40:27 +01:00
John Schember
86e68579f3 PDF Input: Fix bug #6734, add additional matching for unicode characters. 2010-09-11 08:39:40 -04:00
John Schember
8b80241676 Sync to trunk. 2010-09-11 07:41:59 -04:00
Kovid Goyal
a3fc9b0a4f Fix #6771 (Search renaming exception) 2010-09-11 04:27:22 -06:00
Charles Haley
ddd67dbd49 Merge from trunk 2010-09-11 09:52:28 +01:00
Charles Haley
f1be85806e Fix #6771 - Search renaming exception. 2010-09-11 09:51:42 +01:00
Kovid Goyal
ec83ad38e8 Kobo driver cleanups 2010-09-10 19:50:43 -06:00
Kovid Goyal
d1bbd2c498 Fix #6764 (maximum_recursion_depth on shorten_components_to (function recursively calls itself on the same data)) 2010-09-10 19:34:30 -06:00
Timothy Legge
fd7f23f7c2 Update book.device_collections before add_book is called 2010-09-10 22:13:52 -03:00
Timothy Legge
0fe81939ea Fix long standing bug in date shown for kobo books 2010-09-10 20:53:26 -03:00
Timothy Legge
86298ef50e Pull from trunk 2010-09-10 20:10:36 -03:00
Timothy Legge
b1b099d7e8 Fix bug processing kobo books introduced in 6084.1.4 - no one mentioned it so it must not have caused any real issues 2010-09-10 19:12:52 -03:00
Timothy Legge
619ea1f5c2 Move the lookup of content id by extension to a function - cleanup/preparation for device collections 2010-09-10 19:08:18 -03:00
Kovid Goyal
f821c5721c IGN:Tag release 2010-09-10 13:44:10 -06:00
Kovid Goyal
a1dd9efed0 version 0.7.18 2010-09-10 13:03:14 -06:00
Kovid Goyal
286afdba34 Updated translations 2010-09-10 12:43:27 -06:00
Kovid Goyal
661b72e017 SONY driver: Nicer error message when SONY XML db is corrupted 2010-09-10 12:38:59 -06:00
Charles Haley
683f204466 Merge from trunk 2010-09-10 16:32:11 +01:00
Kovid Goyal
e7bf395f0b Cleaner library<->device book matching 2010-09-10 09:29:50 -06:00
Kovid Goyal
e8f6b4e659 ... 2010-09-10 09:01:29 -06:00
Charles Haley
b71c37f000 Simplify code, and make non-UUID matches sane. 2010-09-10 15:13:12 +01:00
Charles Haley
0b6b78713a Last changes for book matching. Make both book on device and book in library respect the exact-match semantics that Kovid implemented. 2010-09-10 14:07:11 +01:00
Charles Haley
98bc0e53ec Fix several ondevice display problems, such as news overwriting books with the flag not changing. Also repair/add some explanatory comments. 2010-09-10 11:33:17 +01:00
Charles Haley
947fa2769d Fix matching books with no 2010-09-10 09:58:39 +01:00
Kovid Goyal
74a63ac46f Fix #6755 (Time Magazine does not work) 2010-09-10 01:57:25 -06:00
Kovid Goyal
3706c371fb Allow book_on_device to be called before set_books_in_library 2010-09-10 01:48:16 -06:00
Charles Haley
6fa4ce8603 Merge from trunk 2010-09-10 08:42:19 +01:00
Kovid Goyal
6e24780d47 On device column: Only use metadata based matching if the book on the device does not have a uuid, or its uuid is not in the current library 2010-09-09 17:57:58 -06:00
Kovid Goyal
10d5d64590 Same optimization for set_books_in_library 2010-09-09 17:16:56 -06:00
Kovid Goyal
8769c07451 Have book_on_device() return the type of match and also the matched paths. Also clean it up and improve performance by no recompiling the regex for every book. 2010-09-09 17:08:01 -06:00
Charles Haley
f51d0a1c31 Remove print in gui.devices when books match but db_ids don't. 2010-09-09 21:56:36 +01:00
Kovid Goyal
bc6e622d25 ... 2010-09-09 08:30:04 -06:00
Kovid Goyal
7d6c284dfb Fix #6750 (el_pais updated recipe) 2010-09-09 08:24:15 -06:00