25145 Commits

Author SHA1 Message Date
Kovid Goyal
a1581e1433 Speed up reading the db
Principally by storing dates as UTC instead of local time. Includes some
micro optimizations in the code paths to build the maps.
2013-07-23 08:16:55 +05:30
Kovid Goyal
627375e091 Merge branch 'master' of https://github.com/cbhaley/calibre 2013-07-22 21:04:10 +05:30
Kovid Goyal
e500792586 Conversion: Fix a regression in the last release that broke conversion
of a few files with comments just before a chapter start. See #1188635
2013-07-22 18:47:25 +05:30
Charles Haley
61c1703402 Remove broken code that does nothing useful 2013-07-22 13:51:53 +02:00
Kovid Goyal
c6bdca08aa Micro-optimization for get_categories() by using __slots__ 2013-07-22 14:10:48 +05:30
Kovid Goyal
ef50b1a823 More micro-optimizations 2013-07-22 13:49:21 +05:30
Kovid Goyal
98924814ad Fix metadata backup not being written if book directory does not exist 2013-07-22 13:37:52 +05:30
Kovid Goyal
e105493d78 Micro-optimizations when reading from the db 2013-07-22 13:17:10 +05:30
Kovid Goyal
d336d75a81 Add a comment explaining the use of a bytestring for default sort key 2013-07-22 12:59:07 +05:30
Kovid Goyal
dcedc5b87d Proper fix for unicode sorting error 2013-07-22 12:54:56 +05:30
Kovid Goyal
4f5764b1a8 Handle undecodable bytes in text columns 2013-07-22 12:20:52 +05:30
Kovid Goyal
d1609037ab Handle number like values stored in datetime columns 2013-07-22 12:09:16 +05:30
Kovid Goyal
8241d78c16 Handle case of bulk series changing index of existing book 2013-07-22 11:57:48 +05:30
Kovid Goyal
6423745c0c ... 2013-07-22 10:53:13 +05:30
Kovid Goyal
3b345d3ff5 On windows add a wait when hardlinking to account for broken network
filesystems
2013-07-22 10:46:29 +05:30
Kovid Goyal
f5eda364e6 ... 2013-07-22 10:05:09 +05:30
Kovid Goyal
78bf4d1478 Fix the remove_formats test 2013-07-22 10:02:57 +05:30
Kovid Goyal
39d0693816 Fix backup test broken 2013-07-22 09:58:43 +05:30
Kovid Goyal
fa02915eb9 Fix various minor issues with the new API in the content server 2013-07-22 09:57:29 +05:30
Kovid Goyal
4a423ddaae mem usage behavior when switching libraries appears to be similar for
both backends.
2013-07-22 09:55:40 +05:30
Kovid Goyal
b2d5b3abb0 ... 2013-07-22 09:17:50 +05:30
Kovid Goyal
51cc7275f3 ... 2013-07-22 09:06:25 +05:30
Kovid Goyal
b4b97a1c17 More fixes to make bulk series editing behave like before 2013-07-22 08:35:15 +05:30
Kovid Goyal
67b7aa8d11 Respect series nunmbering increment tweak when bulk editing series 2013-07-22 08:23:47 +05:30
Kovid Goyal
5727ff9fa4 Bulk metadata S&R 2013-07-21 21:32:15 +05:30
Kovid Goyal
5b4e96e6b1 Finish off remaining bulk metadata fields 2013-07-21 21:00:00 +05:30
Kovid Goyal
b38e1c45fc Covers and formats 2013-07-21 17:40:48 +05:30
Kovid Goyal
17b1cb5115 Fix remove_formats() not actually removing the files 2013-07-21 17:31:14 +05:30
Kovid Goyal
8c24464ba6 Show [newdb] in the status bar when using the new backend 2013-07-21 17:10:29 +05:30
Kovid Goyal
9a6c322d87 Sort plugins list case insensitively 2013-07-21 17:10:00 +05:30
Kovid Goyal
cd509fc995 ... 2013-07-21 15:52:08 +05:30
Kovid Goyal
b2733f6052 Start work on porting the bulk metadata dialog to the new API 2013-07-21 15:48:42 +05:30
Kovid Goyal
a5e32b4ad4 Some missing API 2013-07-21 15:37:28 +05:30
Kovid Goyal
30ee950706 pep8 2013-07-21 14:20:37 +05:30
Kovid Goyal
3cec1c5f30 Merge branch 'master' of https://github.com/cbhaley/calibre 2013-07-21 12:45:29 +05:30
Kovid Goyal
7cf5da528f oops, forgot one file in the last commit 2013-07-21 12:41:36 +05:30
Kovid Goyal
176da67d82 Database restore now works with the new API 2013-07-21 12:40:53 +05:30
Charles Haley
8a5c71f36a 1) Fix silly regression in template_functions preference that caused all functions to be added to the custom function preference.
2) Change function registration and deregistration to restore function bodies if the name conflict goes away.
2013-07-21 09:09:02 +02:00
Kovid Goyal
4b1a61d7ce Fix backups not working in new backend 2013-07-21 11:55:31 +05:30
Kovid Goyal
b5bc636178 Fix queueing of all dirtied books 2013-07-21 11:50:20 +05:30
Kovid Goyal
e7777df9ae Update taz.de (RSS) 2013-07-21 09:29:52 +05:30
Kovid Goyal
1a11c09d3c When reloading on dn modification, re-open the connection
This ensures that the content server does not continue to use a deleted
metadata.db.
2013-07-21 09:12:37 +05:30
Kovid Goyal
39425a15a3 New API version of library check 2013-07-20 15:46:34 +05:30
Kovid Goyal
d05935ea2a Minor fixes 2013-07-20 15:14:03 +05:30
Kovid Goyal
8ac82e6b47 pep8 2013-07-20 12:54:04 +05:30
Kovid Goyal
c77613d615 Implement reinit_db() with apsw 2013-07-20 12:40:16 +05:30
Kovid Goyal
9134866ad6 ... 2013-07-20 11:44:36 +05:30
Kovid Goyal
067ed5b978 Add tests for composite cache invalidation 2013-07-20 11:40:56 +05:30
Kovid Goyal
9f83d3b59d Fix refresh_ids() and rendering of size and datetime fields 2013-07-20 10:55:14 +05:30
Kovid Goyal
f6d8c8f1cd ... 2013-07-20 10:41:36 +05:30