Commit Graph

27068 Commits

Author SHA1 Message Date
Kovid Goyal 32d347ea73 Edit Book: When editing EPUB files, and a file is added in META-INF/ do not automatically add it to the manifest. Also do not warn about unmanifested files inside META-INF/ since a few vendors (Apple) require non standard files in that location. Fixes #1283015 [com.apple.ibooks.display-options.xml](https://bugs.launchpad.net/calibre/+bug/1283015) 2014-02-27 12:52:34 +05:30
Kovid Goyal 2fa6a3b999 Metadata download: Add an option to merge the downloaded comments into existing comments, instead of overwriting (Preferences->Metadata download). Fixes #1285319 [[Enhancment] Enable Undo in the comments field](https://bugs.launchpad.net/calibre/+bug/1285319) 2014-02-27 11:24:14 +05:30
Kovid Goyal 9173a0ee0f ... 2014-02-27 10:47:22 +05:30
Kovid Goyal bcbafb3bf0 ... 2014-02-27 10:33:49 +05:30
Kovid Goyal f472c7d95d Smarten punctuation: Correct handling for decade abbreviations like '60s and measurements in feet and inches like 1' 2". Fixes #1285351 [Edit Book: Smarten Punctuation handles years and measurements incorrectly](https://bugs.launchpad.net/calibre/+bug/1285351) 2014-02-27 10:30:34 +05:30
Kovid Goyal f934e47968 Fix smarypants test runner 2014-02-27 09:27:46 +05:30
Kovid Goyal f9abbe9800 pep8 2014-02-27 09:19:08 +05:30
Kovid Goyal 2aa20b15c3 ... 2014-02-26 21:38:18 +05:30
Kovid Goyal dee8a06a82 ... 2014-02-26 21:35:32 +05:30
Kovid Goyal 8beaa074a6 ... 2014-02-26 21:28:17 +05:30
Kovid Goyal 86df096387 ... 2014-02-26 21:14:46 +05:30
Kovid Goyal 8e202e4e2b Fix Book details popup window not being updated when editing metadata in the main window 2014-02-26 18:31:14 +05:30
Kovid Goyal f1c3e38dc9 Add a mechanism for device drivers to update books in the calibre database
Merge branch 'master' of https://github.com/cbhaley/calibre
2014-02-26 18:08:15 +05:30
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 3b040f585d
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