Kovid Goyal
9bb34dffa3
Conversion: Convert images encoded as data URIs in the input document into normal images, as some ebook reader software cannot handle data URIs. Fixes #1405803 [Can't see images in *.mobi in Kindle after convertation]( https://bugs.launchpad.net/calibre/+bug/1405803 )
2014-12-27 10:19:39 +05:30
Kovid Goyal
b055c70cb5
MOBI Input: Fix incorrect conversion of MOBI files that wrap their content inside <a> anchor tags. Fixes #1405858 [A mobi file will not display or convert properly]( https://bugs.launchpad.net/calibre/+bug/1405858 )
2014-12-27 09:34:39 +05:30
Kovid Goyal
84af615192
version 2.14.0
2014-12-26 09:31:27 +05:30
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
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
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
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
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
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
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
584512cd61
Make the shortcut for displaying the jobs list configurable
2014-12-20 12:01:06 +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
6703980121
Better error message when startup fails because of singleinstance failing
2014-12-19 09:38:49 +05:30
Kovid Goyal
99b8a76b00
version 2.13.0
2014-12-19 08:33:58 +05:30
Kovid Goyal
b17ff26950
Some work on completion for the editor
2014-12-18 18:43:03 +05:30
Kovid Goyal
d102bc256c
Workaround for Ubuntu/Debian's brilliant decision to partially backport patches from python 2.7.9 to 2.7.8
2014-12-18 17:33:52 +05:30
Kovid Goyal
5707063b08
...
2014-12-18 07:57:58 +05:30
Kovid Goyal
ea222f75be
Save to disk: Fix a regression that prevented saving of files into the root of a drive on windows
2014-12-17 08:46:46 +05:30
Kovid Goyal
b5849698c0
Use a functionality check on the SSL module instead of checking version numbers, since there are distros out there that backport patches without changing version numbers
2014-12-16 09:30:01 +05:30
Kovid Goyal
6a349b9c30
Use TLS 1.2 when available for https
2014-12-16 09:00:50 +05:30
Kovid Goyal
d9a6538dea
Merge branch 'master' of https://github.com/cbhaley/calibre
2014-12-16 08:20:20 +05:30
Charles Haley
f98e92ab74
Fix problem of invalid datetime metadata coming from a device.
...
1) Catch errors in the smart device driver
2) Return None in the json_codec if a date cannot be parsed.
2014-12-15 18:47:06 +01:00
Kovid Goyal
4f6ca8d7d2
When downloading https resources with a self-signed certificate, handle python 2.7.9's API breakage
...
See #1402579 (Can't install calibre due "ssl.SSLError: [SSL] PEM lib (_ssl.c:2525)")
2014-12-15 22:45:02 +05:30
Kovid Goyal
6c7edef679
Download metadata dialog: Get rid of the Next button
...
I am tired of being asked why the Next button and the OK button do the
same thing, even though they dont, quite. Since the purpose of the Next
button is to prevent the Back button from changing button positions,
when it appears, remove the Next button and move the Back button out of
the button box, so that it cannot change button positions.
2014-12-15 08:25:26 +05:30
Kovid Goyal
3afe76ab30
Fix change that broke restarting with calibre-debug -g
2014-12-15 07:37:31 +05:30
Kovid Goyal
c5a68289ad
Fix header and footer template boxes too small in PDF output options in calibre 2.x
2014-12-15 07:30:11 +05:30