29576 Commits

Author SHA1 Message Date
Kovid Goyal
eedd0a6dfb Fix regression that broke error reporting for save to disk for books that contain no formats. Fixes #1405674 [Save to disk, ValueError too many values to unpack](https://bugs.launchpad.net/calibre/+bug/1405674) 2014-12-26 09:16:08 +05:30
Kovid Goyal
9106c49b49 Metadata download: Fix metadata download not working for titles that contain a apostrophes in languages other than English. Fixes #1403677 [Search metadata fails](https://bugs.launchpad.net/calibre/+bug/1403677) 2014-12-25 08:48:05 +05:30
Kovid Goyal
c33d682de7 Fix deleting a book from both the library and the device causing the next selected book to be incorrect, when the library is sorted by the On Device column. Fixes #1404629 [Deleting a book both in device and library makes cursor jump](https://bugs.launchpad.net/calibre/+bug/1404629) 2014-12-24 20:41:51 +05:30
Kovid Goyal
febd725abe Make the text on the selection buttons in the get books dialog more clear 2014-12-24 17:44:45 +05:30
Kovid Goyal
f715fe8dd8 FB2 Output: Fix generation of FB2 sections based on a multi-level Table of Contents in the input document. Fixes #1393514 [Incorrect nesting of sections in FB2 output](https://bugs.launchpad.net/calibre/+bug/1393514) 2014-12-24 05:53:54 +05:30
Kovid Goyal
caf343b826 ... 2014-12-24 05:49:23 +05:30
Kovid Goyal
a9a214b3ac Merge branch 'rename-poche-to-wallabag' of https://github.com/nicosomb/calibre 2014-12-23 22:22:08 +05:30
Nicolas Loeuillet
48fec89c1c change poche for wallabag 2014-12-23 15:21:45 +01:00
Kovid Goyal
7f0b0e281f Merge branch 'master' of https://github.com/cbhaley/calibre 2014-12-23 16:20:45 +05:30
Charles Haley
4a7f3f5717 Fix problem generating file names in send-to-device and possibly save-to-disk. The original code assumed that the last component always had an extension, which isn't true when evaluating templates to generate a file name. If the resulting string was too long and if last segment of the string contained a period then the remainder of the string after the period was assumed to be an extension. If that remainder was longer than permitted, shorten_components_to generated a path consisting of a single letter.
Example: if the template generated this string:
"Some of the Best From Tor.com, 2013 Edition_ A Tor.Com Original - A. B. C. Personn & Aa Angstrom & Anne McCaffrey & Banks, Iain M & Bruce Sterling & Cajkovskij, Petr Ilic & Chacko, David & Charlie Huston & Collins, Wilkie & D'Ansey, Leigh & Dahl, Roland & Edward Elmer _Doc_ Smith & Eric Flint & George Charon & Jules Verne (1422)"
then the "extension" was everything after the A. B. C., with a length that can easily exceed the max path len.
2014-12-23 11:31:17 +01:00
Kovid Goyal
010dcde552 Update FAQ entry on running calibre on a server 2014-12-23 09:46:26 +05:30
Kovid Goyal
fb178cbdd1 Merge branch 'master' of https://github.com/cbhaley/calibre 2014-12-23 08:50:49 +05:30
Kovid Goyal
52854113af Merge branch 'article_fix_str' of https://github.com/spacekpe/calibre 2014-12-23 08:49:59 +05:30
Kovid Goyal
dc1199c110 Merge branch 'master' of https://github.com/t3d/calibre 2014-12-23 08:44:25 +05:30
Petr Spacek
310721ddc2 news: Fix Article.__str__ to print date and TOC thumbnail in the right order. 2014-12-22 23:25:27 +01:00
Charles Haley
86517c15a4 Wireless device driver: fix incorrect maximum file name length computation. The extensions in the dict supplied by the device do not have leading dots. 2014-12-22 18:11:59 +01:00
Kovid Goyal
556221fdf4 Update Nikkei News 2014-12-22 21:02:32 +05:30
Kovid Goyal
b86ebc076f ... 2014-12-22 21:00:44 +05:30
Kovid Goyal
a86fc43ed4 OSEL.cz by spacekpe
Merge branch 'recipe_osel_cz' of https://github.com/spacekpe/calibre
2014-12-22 20:43:54 +05:30
Petr Spacek
12e9fb1f34 recipes: osel_cz: add recipe for OSEL.cz 2014-12-22 15:55:01 +01:00
t3d
b245f5b03e Allegro store is no more 2014-12-22 10:43:01 +01:00
Kovid Goyal
8ba9e10afa Metadata review dialog: Automatically insert series number when selecting a series from the completion dropdown. Also if the user does not specify a series number, use 1 as the default, instead of not setting the series. See #1404692 (Allow to create new series via 'Review downloaded metadata' dialog) 2014-12-22 13:07:05 +05:30
Kovid Goyal
cd333e17dd Tolino Shine driver: Fix option to swap main memory and SD card not working on OS X. Fixes #1404793 [Tolino Shine (Device Settings not recognized)](https://bugs.launchpad.net/calibre/+bug/1404793) 2014-12-22 12:46:25 +05:30
Kovid Goyal
83caa9d866 Workaround for bug in Qt that caused the marked book icon to not always appear immediately after marking a book. Fixes #1404697 [Mark icon appears only after you select another book](https://bugs.launchpad.net/calibre/+bug/1404697) 2014-12-22 11:57:08 +05:30
Kovid Goyal
4a811b931c Run the completion worker process automatically 2014-12-22 10:31:20 +05:30
Kovid Goyal
8d8d21ee7d ... 2014-12-22 10:16:21 +05:30
Kovid Goyal
b34f4d34d0 Use a callback instead of a queue for results from the worker, makes for easier integration with signals 2014-12-22 10:05:58 +05:30
Kovid Goyal
e2c6d4e5c0 FB2 Input: Workaround for broken FB2 files produced by convertonlinefree.com. See #1404701 (Does not display some fb2 books) 2014-12-22 09:30:12 +05:30
Kovid Goyal
555445824e Use openntpd instead of ntp 2014-12-21 13:21:38 +05:30
Kovid Goyal
b8becfa1dd Pass through tracebacks that occur while getting data 2014-12-21 12:02:34 +05:30
Kovid Goyal
2309a0cca5 Refactoring 2014-12-21 11:57:41 +05:30
Kovid Goyal
ab3cfe7f0e Allow name manipulations to be performed without a full container object 2014-12-21 11:15:18 +05:30
Kovid Goyal
a19441dc88 Apparently there exist a lot of Macs out there with completely broken permissions on the home folders. Workaround that. 2014-12-21 10:22:56 +05:30
Kovid Goyal
1f44713c4b MOBI Input: Dont crash on corrupted JPG images
Use ImageMagick instead of PIL, which handles corrupted JPG files
better. Fixes #1404590 [calibre misbehaves when bad jpeg in mobi file](https://bugs.launchpad.net/calibre/+bug/1404590)
2014-12-21 09:55:07 +05:30
Kovid Goyal
71c11a7de1 Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1404526 ["Series" in plural in quickview](https://bugs.launchpad.net/calibre/+bug/1404526)
2014-12-20 22:43:18 +05:30
Charles Haley
e97557a3a8 Fix for bug #1404526 using the template I found in gui2.library.models.py: ngettext("Series", 'Series', 1). Note that the same problem existed in the match_books dialog. 2014-12-20 17:51:57 +01:00
Kovid Goyal
148c26b4a2 Courier Mail by Krittika Goyal 2014-12-20 19:59:08 +05:30
Kovid Goyal
584512cd61 Make the shortcut for displaying the jobs list configurable 2014-12-20 12:01:06 +05:30
Kovid Goyal
59fcd4d823 ... 2014-12-20 10:11:17 +05:30
Kovid Goyal
328f6231c5 Add a note about codesign breaking due to network congestion 2014-12-20 09:59:35 +05:30
Kovid Goyal
9339ed74f1 Fix #1404234 [Icon not showing on Comments custom column](https://bugs.launchpad.net/calibre/+bug/1404234) 2014-12-20 09:12:29 +05:30
Kovid Goyal
c7b18b6373 Metadata review dialog: Show a confirmation for the "Reject all remaining" button. Fixes #1404386 [Reject All Remaining - Confirmation box please!](https://bugs.launchpad.net/calibre/+bug/1404386) 2014-12-20 08:44:49 +05:30
Kovid Goyal
e1d7ce455b More work on the completion worker 2014-12-19 18:09:43 +05:30
Kovid Goyal
8d16c274fe Small perf improvement 2014-12-19 14:02:33 +05:30
Kovid Goyal
f8aea31f40 Make singleinstance() more robust on OS X
It now handles EINTR and also does not hide all errors in opening the
file or calling lockf()

An error is now reported to the user in a nice error dialog before
aborting startup.
2014-12-19 13:28:59 +05:30
Kovid Goyal
e486e67d57 Do not use a file for the single instance mutex on linux 2014-12-19 13:00:30 +05:30
Kovid Goyal
d23edad6b9 Prevent sockets launched for IPC communication on linux from being inherited by processes launched from the GUI
Previously only the listen socket was marked as CLOEXEC, now the actual
fd used for communication is also marked as CLOEXEC
2014-12-19 12:52:44 +05:30
Kovid Goyal
288ef018df ... 2014-12-19 12:49:56 +05:30
Kovid Goyal
f77df61e65 ... 2014-12-19 10:35:00 +05:30
Kovid Goyal
f7631b879f Report builder errors in stage2 properly 2014-12-19 10:28:44 +05:30