27032 Commits

Author SHA1 Message Date
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
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
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
Kovid Goyal
7698a06ad5 Update Le Temps
http://www.mobileread.com/forums/showthread.php?t=232489
2014-02-22 22:54:50 +05:30
Kovid Goyal
3a08791865 Workaround for bug in xgettext
https://savannah.gnu.org/bugs/index.php?41668
2014-02-22 19:17:58 +05:30
Kovid Goyal
225a7e0723 E-book viewer: When displaying metadata for the book, also display custom column metadata 2014-02-22 16:43:52 +05:30
Kovid Goyal
5da59094c9 Show an error message if the user tries to edit books on the device instead of editing the last selected book in the library 2014-02-22 15:28:14 +05:30
Kovid Goyal
26656583fc ... 2014-02-22 14:37:21 +05:30
Kovid Goyal
c551895b83 Clean up error handling in the linux installer 2014-02-22 13:31:11 +05:30
Kovid Goyal
ddca079000 Linux binary build: Create an uninstall script named calibre-uninstall
Fixes #1283154 [linux uninstaller (/usr/bin/calibre-uninstall)](https://bugs.launchpad.net/calibre/+bug/1283154)
2014-02-22 12:42:58 +05:30
Kovid Goyal
64cb14a094 EPUB Output: If the output profile is set to one of the Nook profiles, do not use shorthand CSS properties as the Nook cannot handle them. 2014-02-22 08:21:33 +05:30
Kovid Goyal
70779d9ff4 Conversion: Fix incorrect CSS being generated when converting files that have <img> tags with width or height attributes that contain fractional numbers. Fixes #1283108 [Private bug](https://bugs.launchpad.net/calibre/+bug/1283108) 2014-02-22 08:07:08 +05:30
Kovid Goyal
f6b32541e6 Fix #1282970 [Editor crashes when changing <p> tag to <h1>](https://bugs.launchpad.net/calibre/+bug/1282970) 2014-02-21 16:29:38 +05:30
Kovid Goyal
70d96e7a07 Fix #1282898 [Broken Edit Metadata in Bulk commits 1.25.0](https://bugs.launchpad.net/calibre/+bug/1282898) 2014-02-21 13:15:55 +05:30
Kovid Goyal
84057eb3be ... 2014-02-21 10:46:17 +05:30
Kovid Goyal
170612acab ... 2014-02-21 10:29:54 +05:30
Kovid Goyal
d778ec16e8 ... 2014-02-21 10:24:17 +05:30
Kovid Goyal
d0fcd63485 ... v1.25.0 2014-02-21 09:11:02 +05:30
Kovid Goyal
15f9e96441 version 1.25 2014-02-21 09:09:59 +05:30
Kovid Goyal
69e8be5eab Updated Quick Start Guide 2014-02-21 08:45:43 +05:30
Kovid Goyal
f5335a41ce Merge branch 'master' of https://github.com/t3d/calibre 2014-02-21 08:32:21 +05:30
Tomasz Długosz
23249ad434 add articles not assigned to any category 2014-02-21 03:07:32 +01:00
Tomasz Długosz
e5cc63b1c6 translate comments 2014-02-20 23:27:52 +01:00
Kovid Goyal
15c3a466e5 Edit book: Fix an error that occurs if more than 100 checkpoints are created. Fixes #1282583 [book editor error when adding 100 items](https://bugs.launchpad.net/calibre/+bug/1282583) 2014-02-20 21:13:09 +05:30
Kovid Goyal
526e7882bb Nicer icon for beautify file
From http://findicons.com/icon/207143/flower?id=207153 (freeware
non-commercial)
2014-02-20 10:36:14 +05:30