27205 Commits

Author SHA1 Message Date
Charles Haley
8ede2d4666 Make the set of books to refresh into a local variable buy using it as an object instance instead of by assignment. 2014-02-26 12:36:46 +01:00
Kovid Goyal
00932e5683 ... 2014-02-26 16:51:06 +05:30
Charles Haley
cab3cba813 Pass the current row to refresh_ids so that the book_data signal is emitted. 2014-02-26 12:11:21 +01:00
Charles Haley
deea793c21 1) Change the new sync method to return a list of changed book ids instead of a simple boolean.
2) Make the wireless device driver synchronization more robust in the face of multiple libraries where the sync column might not always exist.
2014-02-26 11:30:22 +01:00
Kovid Goyal
59efd0a9c7 Edit book: Fix editor not marking the book as modified when doing a Replace All that does not affect any currently open files. 2014-02-26 13:54:21 +05:30
Kovid Goyal
a9c9c4ad93 Update Zeit Online 2014-02-26 13:43:27 +05:30
Kovid Goyal
c758c5be30 ... 2014-02-26 12:19:27 +05:30
Kovid Goyal
0c0618178f ... 2014-02-26 11:48:27 +05:30
Kovid Goyal
822d71f45e ... 2014-02-26 11:31:54 +05:30
Kovid Goyal
b8bfd37da4 ... 2014-02-26 08:27:35 +05:30
Tomasz Długosz
726613a2ba fix book id fetching from legimi store 2014-02-25 22:32:24 +01:00
Tomasz Długosz
6a2b5e71f1 strip formats in Publio store 2014-02-25 21:50:12 +01:00
Tomasz Długosz
4a04e0895e bump store version
wasn't bumped on 3b040f585dd526ee7fb2c9981d64d48350876559
2014-02-25 21:06:57 +01:00
Kovid Goyal
54d7657527 ... 2014-02-25 22:57:42 +05:30
Kovid Goyal
f5301dbfef Windows: Use a separate worker process to move files to the recycle bin. Fixes the problem of the recycle bin icon not being updated when deleting books into an empty recycle bin. Also avoids the overhead of launching a new, short-lived worker process for every delete. 2014-02-25 22:45:41 +05:30
Kovid Goyal
c8ddf2858f Some minor maintenance on the nytimes 2014-02-25 20:48:59 +05:30
Charles Haley
8fe4db7040 Infrastructure for allowing a device to "synchronize" data with calibre's database. The exact meaning of "synchronize" is left to the device. This implementation adds almost zero overhead (nanoseconds per book) if the device driver does not do any synchronization.
During book matching in gui2.device, whenever a book on the device is matched to a book in the DB, the (new) device method synchronize_with_db is called. It can copy information from the device to calibre's db or vice versa. If it returns True then the book's metadata is updated from calibre's DB even if it otherwise would not be. This permits the synchronization process to request that data in calibre be unconditionally sent to the device.

Note that the synchronize_with_db method is called on the GUI thread. It is the device driver's responsibility to be threadsafe with respect to the device manager thread.

A lightly-tested implementation in the wireless driver is included to show how the new method might be used. It implements syncing a yes/no "is read" column and a "read date" column from the device to calibre.
2014-02-25 14:41:53 +01:00
Kovid Goyal
2e20f1aa83 calibredb: When deleting books/formats wait for deleted files to be moved to recycle bin, before quitting 2014-02-25 18:06:55 +05:30
Kovid Goyal
255f6888ce Update Spektrum 2014-02-25 14:20:37 +05:30
Kovid Goyal
22d59bac3c Edit book: Add an option to automatically beautify individual files whenever they are opened for editing. Look under "Editor Settings" in the Edit Book Preferences. 2014-02-25 09:37:43 +05:30
Kovid Goyal
37fcd4093b Merge branch 'master' of https://github.com/t3d/calibre 2014-02-25 08:22:34 +05:30
Kovid Goyal
9937b2b6b8 Fix test failing because of change in behavior of dateutil module 2014-02-25 08:19:09 +05:30
Kovid Goyal
abd0186ff8 Merge branch 'master' of https://github.com/cbhaley/calibre 2014-02-25 08:11:10 +05:30
Charles Haley
62c78290c1 Allow the empty string when writing to bool custom columns. Bulk edit uses the empty string for None, at least in this case. 2014-02-24 18:44:35 +01:00
Charles Haley
215f86ccd2 Add a debug line in hopes that it will help (eventually) find why in some cases the incorrect series sort values are being sent to CC. 2014-02-24 10:03:12 +01:00
Kovid Goyal
552738a436 py3 compat 2014-02-24 14:30:01 +05:30
Kovid Goyal
6dc9091911 ... 2014-02-24 13:46:47 +05:30
Kovid Goyal
5807e56bde ... 2014-02-24 13:45:18 +05:30
Kovid Goyal
a004fca78e Nicer error message on failure 2014-02-24 10:06:15 +05:30
Kovid Goyal
0ff4a12538 ... 2014-02-24 09:49:14 +05:30
Kovid Goyal
d3a01fc18e Various Russian news source by bug_me_not 2014-02-24 08:43:40 +05:30
Kovid Goyal
e5b381f460 RTF Output: Fix invalid RTF being produced when the text contains a double backslash. Fixes #1268118 [epub converted produces invalid .rtf file](https://bugs.launchpad.net/calibre/+bug/1268118)
Also updates to various Get Books plugins

Merge branch 'master' of https://github.com/user-none/calibre
2014-02-24 08:24:04 +05:30
Kovid Goyal
6ad895cd72 Make the installer run non-interactively with installation dir specified via environment variable 2014-02-24 08:07:39 +05:30
John Schember
7d27ee5803 Update store versions. 2014-02-23 20:42:18 -05:00
John Schember
89e3dfb97a Remove eharlequin store because it no longer works. 2014-02-23 20:39:49 -05:00
John Schember
8782ec322a Fix smashworks store not showing any results. 2014-02-23 20:37:28 -05:00
John Schember
18871b185d Fix kobo store not showing any results. 2014-02-23 20:12:22 -05:00
John Schember
3b040f585d Fix amazon store plugins not showing cover. 2014-02-23 19:37:45 -05:00
John Schember
c71690d510 Fix Bug #1268118: epub converted produces invalid .rtf file 2014-02-23 16:04:42 -05:00
Kovid Goyal
b2b2f61e96 ... 2014-02-23 22:51:21 +05:30
Kovid Goyal
8039327eda Edit book: Fix option to disable showing the character before cursor not working 2014-02-23 22:48:39 +05:30
Kovid Goyal
ac35a5bddc Move the linux installer download script into the calibre source tree 2014-02-23 18:58:03 +05:30
Kovid Goyal
ec2567b580 Py3 compat for https downloader 2014-02-23 18:24:31 +05:30
Kovid Goyal
1e64794997 Add support for HTTP proxies to the HTTPS fetcher 2014-02-23 15:24:15 +05:30
Kovid Goyal
39ec9d5960 Use the TLSv1 SSL protocol version by default 2014-02-23 13:38:42 +05:30
Kovid Goyal
4e1cd543f5 When downloading recipes/get books plugins use HTTPS 2014-02-23 13:25:22 +05:30
Kovid Goyal
f969151e9f Utility code to download https URLs securely 2014-02-23 13:13:53 +05:30
Kovid Goyal
f73fc4670f Add test for ssl module being importable 2014-02-23 12:52:37 +05:30
Tomasz Długosz
09f9d7348f add masthead picture and fix feed name 2014-02-23 02:05:42 +01:00
Kovid Goyal
7698a06ad5 Update Le Temps
http://www.mobileread.com/forums/showthread.php?t=232489
2014-02-22 22:54:50 +05:30