26194 Commits

Author SHA1 Message Date
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
Kovid Goyal
1854a412ec Driver for Lenovo IdeaPad
Fixes #1244857 [Lenovo android ideatab tablet not recognized](https://bugs.launchpad.net/calibre/+bug/1244857)
2013-10-27 09:51:40 +05:30
Kovid Goyal
bf686caf97 Ebook viewer: remember inspector windows size
E-book viewer: Remember the size of the "Inspect" window used to examine
the book's code. Fixes #1245068 [Feature request: web inspector window size and font size](https://bugs.launchpad.net/calibre/+bug/1245068)
2013-10-27 09:49:21 +05:30
Kovid Goyal
9d5ea30749 PDF Output: Option to control title of generated Table of Contents
Fixes #1245076 [[Enhancement] Add PDF TOC Title, More Margin Options and ePub TOC Heading 1](https://bugs.launchpad.net/calibre/+bug/1245076)
2013-10-27 08:51:15 +05:30
Kovid Goyal
b05be6f902 PDF metadata: If one of the keywords in the PDF is a valid ISBN, use it as the ISBN for the book 2013-10-26 21:15:40 +05:30
Kovid Goyal
395eba9518 Update Reuters (Japan) 2013-10-26 17:02:07 +05:30
Kovid Goyal
92741af8e2 Wireless driver: Fix bug that prevented different formats of the same book on the device from being recognized
Merge branch 'master' of https://github.com/cbhaley/calibre
2013-10-26 07:50:47 +05:30
Kovid Goyal
c83d9e245c Update MIT Technology Review 2013-10-25 16:20:18 +05:30
Kovid Goyal
ae285264c5 Update dotNet Magazine 2013-10-25 16:17:35 +05:30
Kovid Goyal
7360075e04 Update Science Based News 2013-10-25 15:59:30 +05:30
Charles Haley
7460eaf760 Fix cache bug that prevented recognizing different formats of the same book as being on the device. Also add an option to disable the cache. 2013-10-25 10:01:13 +02:00
Kovid Goyal
a6567a7c03 linux freeze: Handle six.py v1.8.0 2013-10-25 09:01:29 +05:30
Kovid Goyal
1326dfe243 ... 2013-10-25 08:55:37 +05:30
Kovid Goyal
9ea3b6b398 version 1.8 2013-10-25 08:52:37 +05:30