Kovid Goyal
d203e9cd3a
cdiff: Fix no msg being displayed for identical files
2014-03-03 20:15:32 +05:30
Kovid Goyal
576c9b3476
Fix compilation of bzzdec with Visual Studio
2014-03-03 20:01:44 +05:30
Kovid Goyal
6df7412bbc
...
2014-03-03 19:45:00 +05:30
Kovid Goyal
54b4d5b329
DJVU Input: A fast C based decompressor for DJVU files
2014-03-03 19:41:10 +05:30
Kovid Goyal
139ba8fd5b
Some performance improvements for BZZDecoder
2014-03-03 11:46:52 +05:30
Kovid Goyal
90aa34a473
DJVU Input: When extracting embedded txt from TXTz sections in DJVU files, fix incorrect extraction of txt when the djvutxt external program is not present. Fixes #1286771 [converting DJVU file containing text fails]( https://bugs.launchpad.net/calibre/+bug/1286771 )
2014-03-03 11:02:32 +05:30
Kovid Goyal
2d406eb2a1
Merge branch 'master' of https://github.com/cbhaley/calibre
2014-03-03 08:43:25 +05:30
Charles Haley
011a71efe9
Add ability for device to do a version check for syncing.
2014-03-02 17:41:39 +01:00
Charles Haley
91adef995f
1) Put the embedded import statements back
...
2) Fix syncing not to attempt to sync if either column is bad
3) Make independent syncing of the date read work
2014-03-02 09:33:54 +01:00
Kovid Goyal
9d9d618c88
Fix #1286703 [minor aesthetic error]( https://bugs.launchpad.net/calibre/+bug/1286703 )
2014-03-02 11:32:54 +05:30
Kovid Goyal
cc303e8ea8
Do not try to re-open the db on IOError if the connection is in a transaction, as that will fail anyway and mask the underlying error
2014-03-02 10:37:07 +05:30
Kovid Goyal
281b416406
Database backend: Make the database backend more robust when the calibre library is placed on flaky filesystems. Now when an I/O error occurs while querying the database, the connection to the database is closed and re-opened and the query is retried. See #1286522 (Errors accessing SD card after suspend)
2014-03-02 10:11:24 +05:30
Kovid Goyal
64d48f778c
Edit Book: Fix import HTML file as new book not working on OS X
2014-03-02 08:56:42 +05:30
Charles Haley
130e6d9649
1) Fix crash that is triggered by apps not using caching.
...
2) Don't refresh the GUI when requesting the transfer of unchanged metadata to the device.
2014-03-01 20:34:36 +01:00
Charles Haley
28b998bb19
1) Undo setting _debug as synchronized. It was already synchronized inside itself, and adding the wrapper broke getting the correct method name.
...
2) Import the date methods once.
3) Make date_read sync'able in both directions
2014-03-01 16:31:37 +01:00
Kovid Goyal
c91bb61d6f
Fix a regression in 1.26 that caused width and height attributes on <img> tags to generate CSS width and height properties without a 'px' suffix
2014-03-01 10:27:05 +05:30
Kovid Goyal
b1ddcfa7ee
Make the raw unique identifier field available
2014-03-01 10:02:32 +05:30
Kovid Goyal
15962b8897
Edit book: When exporting files, fill the choose filename popup with the name of the file being exported as the default name
2014-02-28 23:16:09 +05:30
Kovid Goyal
e7a3db383b
More determined temp file removal on program exit in windows
2014-02-28 09:40:26 +05:30
Kovid Goyal
e1bf5349b0
version 1.26
2014-02-28 08:36:35 +05:30
Kovid Goyal
22f4baed8e
Fix virtual library names with ampersands in them not being displayed correctly in the virtual library menu and tab bar
2014-02-28 08:09:17 +05:30
Kovid Goyal
35a95b1d32
...
2014-02-27 19:12:01 +05:30
Kovid Goyal
5081bb93f1
Allow passing importable file formats as arguments to ebook-edit
2014-02-27 18:53:51 +05:30
Kovid Goyal
33a2a38cd7
...
2014-02-27 18:40:42 +05:30
Kovid Goyal
20bff436bf
Edit Book: Allow direct importing of HTML or DOCX files as new books without doing a full conversion. Use File->Import HTML or DOCX to import a file as a new EPUB book with minimal changes from the original.
2014-02-27 18:38:55 +05:30
Kovid Goyal
1eaf6a1de1
Merge branch 'master' of github.com:kovidgoyal/calibre
2014-02-27 15:16:21 +05:30
Kovid Goyal
c6c4b9c128
Merge pull request #193 from cbhaley/master
...
Add some sanity checking to the device read info syncing
2014-02-27 15:16:03 +05:30
Charles Haley
88151e869c
Add some sanity checking to the device read info syncing
2014-02-27 10:26:46 +01:00
Kovid Goyal
8d746b8044
Bulk metadata download: When reviewing downloaded metadata allow hiding the controls on the comments box by right clicking in the comments area. Useful on smaller screens. Fixes #1283251 [review downloaded metadata fix/enhancement]( https://bugs.launchpad.net/calibre/+bug/1283251 )
2014-02-27 14:34:19 +05:30
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
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
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
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
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
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