23451 Commits

Author SHA1 Message Date
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
Kovid Goyal
d32e13ba23 Fix reading/write of metadata from FB2 file that uses FB2.1 namespace 2014-12-14 12:36:58 +05:30
Kovid Goyal
cf01a5b969 Handle spurious encoding match when detecting encoding for diff 2014-12-14 12:35:53 +05:30
Kovid Goyal
2c9ca9ea7e Fix cover detection in FB2.1 fb2 files 2014-12-14 12:19:39 +05:30
Kovid Goyal
610f2e32cb FB2 Input: Add support for FB2 books that use the FictionBook 2.1 XML schema. Fixes #1401915 [can't read fb2, saved from samlib.ru](https://bugs.launchpad.net/calibre/+bug/1401915) 2014-12-14 10:52:46 +05:30
Kovid Goyal
74b391f1c7 Allow generating a cover from metadata by right clicking the cover are in the book details panel also. Fixes #1401972 [[Enhancement] Generate Cover from Book Details](https://bugs.launchpad.net/calibre/+bug/1401972) 2014-12-14 10:35:50 +05:30
Kovid Goyal
0f42e57132 Fix command line arguments not being ignored on windows and linux when restarting calibre. Fixes #1401991 [Restarting calibre passes filenames](https://bugs.launchpad.net/calibre/+bug/1401991) 2014-12-14 10:10:04 +05:30
Kovid Goyal
8aaf03ef28 E-book viewer: Fix sorting of bookmarks by position in book not working on windows and OS X. Fixes #1402152 [error when sorting bookmarks by position](https://bugs.launchpad.net/calibre/+bug/1402152) 2014-12-13 17:03:30 +05:30
Kovid Goyal
cfbf573c1b Fix #1401536 [wrapped C/C++ object of type QAction has been deleted (on device unmount)](https://bugs.launchpad.net/calibre/+bug/1401536) 2014-12-13 16:26:46 +05:30
David Forrester
6320ea10a0 Delete bookmarks from the database when deleting a book
Not sure how I missed this, but the bookmarks where being left in the
database when the books were deleted. This brings it in line with what
happens when using the device to delete a book.

Fixes #1401502 [Delete bookmarks from the database when deleting a book](https://bugs.launchpad.net/calibre/+bug/1401502)
2014-12-13 12:40:11 +05:30
Kovid Goyal
e10538e05c A nicer repr for Tag objects 2014-12-11 08:56:41 +05:30
Kovid Goyal
d31bf5a1ac Edit book: Fix auto-complete of closing tag not working when typing the closing tag at just before a word (the word would become the closing tag name). 2014-12-11 08:56:17 +05:30
Kovid Goyal
4d7b2a379a Fix #1401357 [Harmless error when merging files in the editor](https://bugs.launchpad.net/calibre/+bug/1401357) 2014-12-11 08:32:20 +05:30
Kovid Goyal
a82cf81975 Fix #1401085 ['calibredb list --for-machine' ignores custom columns](https://bugs.launchpad.net/calibre/+bug/1401085) 2014-12-10 22:43:55 +05:30
Kovid Goyal
3feee82566 Edit metadata dialog: Allow editing identifiers in a dedicated window by right clicking on the identifiers edit box. Fixes #1400925 [[Enhancement] Improve the method for managing Indentifiers](https://bugs.launchpad.net/calibre/+bug/1400925) 2014-12-10 11:12:14 +05:30
Kovid Goyal
609c2de0e4 Small performance improvements for the content server kepub patch 2014-12-10 08:37:04 +05:30
David Forrester
a3afa17761 Serve kepubs with extension "kepub.epub"
Change the extension of kepuns to "kepub.epub" so that the browser on
the Kobo ereaders will download them from the server. This checks the
useragent so that only Kobo browser is affected.

Fixes #1400029 [Serve kepubs with extension "kepub.epub"](https://bugs.launchpad.net/calibre/+bug/1400029)
2014-12-10 08:29:11 +05:30
Kovid Goyal
e9f1b2f726 When doing "Add files to selected books" do not add the same format multiple times when the user selects multiple files of a particular format 2014-12-08 09:46:26 +05:30
Kovid Goyal
54909e3a59 More robust against buggy FileType plugins on book import 2014-12-05 18:54:26 +05:30
Kovid Goyal
2791ba0332 Workaround for FileType plugins that override the output streams with buggy implementations 2014-12-05 18:53:26 +05:30
Charles Haley
f730962943 Use the new "other device connected" API to tell the wireless device which other device is blocking connections. 2014-12-04 12:13:40 +01:00
Kovid Goyal
7c80c4cfe4 ... 2014-12-04 09:03:39 +05:30
Kovid Goyal
cd50b844ea Merge branch 'master' of https://github.com/cbhaley/calibre 2014-12-03 20:32:03 +05:30
Charles Haley
740b7337b5 1) Change the wireless device driver to manage its own connections.
2) Add an API for devices to determine if some other device is connected.
2014-12-03 14:46:22 +01:00
Kovid Goyal
e4013c9e11 Edit book/Book polishing: Fix subsetting of fonts whose @font-face rules use the local() or format() CSS functions not working 2014-12-03 19:09:54 +05:30
Kovid Goyal
b8b794175f Forgot the list of supported format for the MUSE driver 2014-12-03 18:15:39 +05:30
Kovid Goyal
05f50b3a2b Driver for the new CYBOOK MUSE ebook reader
Fixes #1398672 [[Enhancement] device support for Cybook Muse](https://bugs.launchpad.net/calibre/+bug/1398672)
2014-12-03 18:12:50 +05:30
David Forrester
3ca1206135 Bump Kobo firmware version for release of 3.12.0
Bumping firmware version in preparation for release of 3.12.0 with an
allowance for 3.12.1. Fixes #1398794 [Kobo firmware version bumped to 3.12.0](https://bugs.launchpad.net/calibre/+bug/1398794)
2014-12-03 18:03:22 +05:30
Kovid Goyal
623926db15 Fix #1398198 [Edit Book: Strange backwards selection when you type XML entities](https://bugs.launchpad.net/calibre/+bug/1398198) 2014-12-02 08:41:29 +05:30
Kovid Goyal
cfff3734da Edit metadata dialog: Add a keyboard shortcut to swap title and author [Alt+Down]. Fixes #1397701 [[Enhancement]](https://bugs.launchpad.net/calibre/+bug/1397701) 2014-12-01 07:57:25 +05:30
Charles Haley
9c9925850e Performance improvement: don't run the device info sync code when adding or deleting a book. The code was already run when the device connected, and nothing critical could change between then and an add/delete. 2014-11-30 10:31:49 +01:00
Kovid Goyal
9229cdc402 Edit Book: Do not change the current selected text when right clicking on a mis-spelled word 2014-11-30 08:52:35 +05:30
Kovid Goyal
bd7bba7fae ... 2014-11-28 23:35:34 +05:30
Kovid Goyal
b41de66b6f ... 2014-11-28 12:43:50 +05:30
Kovid Goyal
0dab878ad5 Proper text color for highlighted comment cells 2014-11-28 12:41:53 +05:30
Kovid Goyal
c049cdfe8d Fix #1397183 [Stand Alone Comments - Editor OK button & cell highlight](https://bugs.launchpad.net/calibre/+bug/1397183) 2014-11-28 12:04:15 +05:30
Kovid Goyal
261eae0758 version 2.12.0 2014-11-28 09:13:13 +05:30
Kovid Goyal
bbbea665d3 Change str() to unicode() should prevent errors when running heuristics on UTF-8 encoded books on linux/windows systems with a non-UTF-8 character encoding 2014-11-26 22:36:49 +05:30
Kovid Goyal
7a65bafac7 ... 2014-11-26 18:54:56 +05:30
Kovid Goyal
f97cc09c21 Localize links to the User Manual 2014-11-26 14:16:35 +05:30
Kovid Goyal
cc908ac22e Function to localize links to the user manual 2014-11-26 13:12:19 +05:30
Kovid Goyal
bf974e83ef Add a "Change Language" link to the User Manual sidebar 2014-11-26 12:39:55 +05:30
Kovid Goyal
37439fecf6 Add a convenient cached CSSSelect method to jsnews 2014-11-25 21:13:31 +05:30
Kovid Goyal
55b7bb8c25 ... 2014-11-25 17:25:06 +05:30
Kovid Goyal
edda5bd29d ... 2014-11-25 16:22:02 +05:30
Kovid Goyal
16ca5d9c3c Edit Book: Automatically complete the closing tag in HTML/XML files when typing </ 2014-11-25 10:31:39 +05:30
Kovid Goyal
690b84ce12 Edit Book: Implement auto-indent, now when pressing the Enter key to start a new line, the new line's indentation is automatically created 2014-11-25 10:14:02 +05:30