26057 Commits

Author SHA1 Message Date
Kovid Goyal
71908700d0 Content server: Display book title on permalink page
Fixes #1246523 [No title shown in permalink view](https://bugs.launchpad.net/calibre/+bug/1246523)
2013-10-31 10:05:25 +05:30
Kovid Goyal
67e6a01fb2 ebook-convert .recipe: specify number of feeds and articles
When developing recipes using the command line, allow specifying the
number of feeds and articles when using the --test parameter. Fixes #1246061 [[Enhancement] Make --test option to ebooks-convert take parameters specifying the number of feeds to download and number of items per feed to download](https://bugs.launchpad.net/calibre/+bug/1246061).
2013-10-31 09:40:12 +05:30
Kovid Goyal
f959ec195e Driver for Nook Glowlight 2013-10-31 08:20:40 +05:30
Kovid Goyal
dbfbf17146 More refactoring 2013-10-30 21:21:02 +05:30
Kovid Goyal
b637effcb2 ... 2013-10-30 21:14:03 +05:30
Kovid Goyal
2e5808c9de Refactor boilerplate functionality into base class 2013-10-30 18:57:00 +05:30
Kovid Goyal
d565ccc717 Syntax highlight non-breaking spaces 2013-10-30 16:46:47 +05:30
Kovid Goyal
b5be77fe43 Highlight text enclosed by heading/bold/italic tags 2013-10-30 16:01:04 +05:30
Kovid Goyal
952658394b Parse CDATA tags and fix errors in bad attribute parsing 2013-10-30 15:36:11 +05:30
Kovid Goyal
fc4ca20e99 Amazon metadata download: Fix spurious ratings for unrated books
Amazon metadata download: Fix spurious ratings being returned for
unrated books. Fixes #1245449 [Amazon source picks up ratings from ANY book on the page (suggested etc)](https://bugs.launchpad.net/calibre/+bug/1245449)
2013-10-30 11:40:27 +05:30
Kovid Goyal
8111d646ae Syntax highlight namespace prefixes 2013-10-30 11:27:20 +05:30
Kovid Goyal
690644c042 Method to launch editor widget in its own dialog 2013-10-30 11:10:45 +05:30
Kovid Goyal
b50168bbe9 Bulk metadata edit: Fix clearing of series and publishers
Bulk metadata edit: Only clear series if the clear series checkbox is
checked. Also add a clear checkbox for publishers, so that publishers
can be removed. Fixes #1245058 [Calibre is deleting Series field even when it's not being modified](https://bugs.launchpad.net/calibre/+bug/1245058)
2013-10-30 10:26:24 +05:30
Kovid Goyal
059e28e867 Line numbers 2013-10-30 10:03:26 +05:30
Kovid Goyal
0c25bb466c Keep only useful entries in the color theme 2013-10-30 09:40:21 +05:30
Kovid Goyal
aa9e04aeb0 Highlight cursor line 2013-10-30 08:29:53 +05:30
Kovid Goyal
a1a89053f3 Pre-create error formats 2013-10-30 08:23:17 +05:30
Kovid Goyal
a66904da25 Start work on the editor component for Tweak Book 2013-10-29 22:10:52 +05:30
Kovid Goyal
a3ebc6e3ed Remember window size of comments editor dialog 2013-10-29 11:55:09 +05:30
Kovid Goyal
4005b8e502 Use <h2> for inserted ToC title for MOBI and PDF as well
See #1245076 ([Enhancement] Add PDF TOC Title, More Margin Options and ePub TOC Heading 1)
2013-10-29 09:51:13 +05:30
David Forrester
2d69246fa5 Bump firmware version for Kobo Touch driver
New firmware version released, updating versions to match.
Fixes #1245707 [Update to support Kobo firmware 2.10.0](https://bugs.launchpad.net/calibre/+bug/1245707)
2013-10-29 08:49:22 +05:30
Kovid Goyal
b79113cff9 Add instructions on setting environment variables in OS X 2013-10-29 08:48:47 +05:30
Kovid Goyal
b1c59e0c03 Set busy cursor on long job 2013-10-28 21:41:55 +05:30
Kovid Goyal
106b717208 Use the new parser for Tweak Books 2013-10-28 16:22:23 +05:30
Kovid Goyal
a2aae7fa8e A parse method that first tries to parse as XML
Fallback to much slower HTML 5 parsing only if parsing as XML fails.
2013-10-28 15:15:47 +05:30
Kovid Goyal
a228d95678 Speed up parsing by only special casing non-XML safe attributes 2013-10-28 13:34:28 +05:30
Kovid Goyal
2462f6b832 ... 2013-10-28 13:24:57 +05:30
Kovid Goyal
ddec629bd7 Add function to measure performance 2013-10-28 13:22:54 +05:30
Kovid Goyal
45c2211c4b Rename parse to parse_html5 2013-10-28 10:57:42 +05:30
Kovid Goyal
dd676227b8 Preserve attribute order when parsing 2013-10-28 10:57:42 +05:30
Kovid Goyal
12a581786b oops 2013-10-28 10:57:42 +05:30
Kovid Goyal
6310c2feac Handle attributes from multiple body tags 2013-10-28 10:57:42 +05:30
Kovid Goyal
3e986bccf3 Speed up unnecessarily slow and obtuse dict comparison 2013-10-28 10:57:42 +05:30
Kovid Goyal
9503652a4b Add support for line numbers to the HTML 5 parser 2013-10-28 10:57:42 +05:30
Kovid Goyal
0d1c917281 Speed up parsing some more by using a faster stream class 2013-10-28 10:57:42 +05:30
Kovid Goyal
d93467b3a3 Ensure that svg, mathml tags and xlink attrs have the standard namespace prefixes 2013-10-28 10:57:42 +05:30
Kovid Goyal
280add23ca Fix parsing of foreign elements with discard_namespaces
Also small speedup by using direct attributes for the
name/namespace/nameTuple attributes.
2013-10-28 10:57:42 +05:30
Kovid Goyal
2c6d5985a5 Implement namespace less parsing 2013-10-28 10:57:42 +05:30
Kovid Goyal
ea7930ee83 Speed up parsing by not using element __bool__ 2013-10-28 10:57:42 +05:30
Kovid Goyal
002895ff42 Replace entities 2013-10-28 10:57:41 +05:30
Kovid Goyal
03a39f15d1 Ignore DataLossWarnings 2013-10-28 10:57:41 +05:30
Kovid Goyal
62ebb5e3f6 ... 2013-10-28 10:57:41 +05:30
Kovid Goyal
fe32a39f0f Parse namespace prefixed <html:html> correctly 2013-10-28 10:57:41 +05:30
Kovid Goyal
d3352aeec9 Fix html5 conversion parser not handling ascii control chars 2013-10-28 10:57:41 +05:30
Kovid Goyal
62d042d9d4 Basic parsing with the new html5lib lxml tree builder works 2013-10-28 10:57:41 +05:30
Kovid Goyal
6d08762344 Infrastructure for supporting translations of plugins 2013-10-28 10:10:59 +05:30
Kovid Goyal
e4557408a8 Fix comments editor in review metadata becoming too small
Fix comments editor in review metadata becoming too small
on small screens. Fixes #1245275 [review downloaded metadata doesn't show the comments field](https://bugs.launchpad.net/calibre/+bug/1245275)
2013-10-28 08:41:16 +05:30
Kovid Goyal
2e2f74ea09 DOCX Input: Fix hyperlink showing as underlined even if the hyperlink style in word is set to not show underlines. 2013-10-27 18:45:05 +05:30
Kovid Goyal
4992f3fb37 Option to check for duplicates while copying between libraries
Add an option to check for duplicates (books with the same title/author)
when copying between libraries. Option is under Preferences->Adding
books. Fixes #1245089 [When copying or moving book to different library, Calibre does not warn if possible duplicate exists in target library.](https://bugs.launchpad.net/calibre/+bug/1245089)
2013-10-27 17:58:57 +05:30
Kovid Goyal
cbf3dd41c7 pep8 2013-10-27 17:19:45 +05:30