28274 Commits

Author SHA1 Message Date
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
Kovid Goyal
37e969502b Add debug output for 32bit calibre on 64bit windows 2013-10-25 08:33:51 +05:30
Kovid Goyal
a8237e30ea Merge branch 'master' of https://github.com/GRiker/calibre
Hide the connect to itunes menu item on os x 10.9
2013-10-24 18:43:29 +05:30
GRiker
f40c189515 Disable 'Connect to iTunes' when OS X >= 10.9 2013-10-24 06:55:59 -06:00
Kovid Goyal
39701cdaa8 Conversion: When converting TXT set <title> in HTML
TXT Input: Ensure that <title> in the generated HTML has a
meaningful value. Fixes #1236923 [txt → epub When I don't give a title, the <title> tag is set to unknown. It should default to the chapter name and chapter ID for each fragment. Or use the name of the converted file](https://bugs.launchpad.net/calibre/+bug/1236923)
2013-10-24 14:31:48 +05:30
Kovid Goyal
b9bfb53fa2 Add a pointer to the launchpad bug tracker in the README 2013-10-24 14:15:37 +05:30
Kovid Goyal
238be8d5c0 PDF Output: Fix rendering of translucent images
PDF Output: Fix rendering of semi-transparent images. All
semi-transparent images are now rendered using soft masks. Fixes #1243829 [Images in PDF conversion corrupted](https://bugs.launchpad.net/calibre/+bug/1243829)
2013-10-24 13:45:47 +05:30
Kovid Goyal
795ae4e84f Nicer duplicate list when automerging books on add
When automerging books during during an add, include the author as well
as the title in the report of merged books.
2013-10-24 12:37:36 +05:30
Kovid Goyal
54508172a4 DOCX Input: Support linked images
DOCX Input: Support linked (as opposed to embedded) images, if the
linked image is found on the local computer. Fixes #1243597 [MS Word linked pictures don't get converted](https://bugs.launchpad.net/calibre/+bug/1243597)
2013-10-24 12:01:11 +05:30
Kovid Goyal
78e8ba74a0 Add the six module required by html5lib 2013-10-24 11:35:49 +05:30
Kovid Goyal
9211f72cd3 OSX: Fix font size in completion popups too small on Mavericks (I hope)
Fixes #1243761 [In OS 10.9 pull-down menus are to small](https://bugs.launchpad.net/calibre/+bug/1243761)
2013-10-24 09:52:26 +05:30
Kovid Goyal
849fd5dbeb Fix OS X version detection on Mavericks
OS X: Fix system tray notifications causing crashes on some OS X 10.9
(Mavericks) systems (those that had Growl installed at some point).
See #1224491 (Calibre Crashes on Mac OS X Mavericks)
2013-10-24 09:39:27 +05:30
Kovid Goyal
7fc33c08f4 ... 2013-10-24 09:15:01 +05:30
Kovid Goyal
15c87a19d5 pep8 2013-10-24 09:11:53 +05:30
Kovid Goyal
38e447e519 Nicer error msg when loading covers too large for RAM 2013-10-24 08:57:28 +05:30
Kovid Goyal
446c8c9676 Disable javascript in the web view used to display book metadata 2013-10-24 08:53:14 +05:30
Kovid Goyal
79ab8184f4 Book details panel: Fix HTML in author names and identifiers not being escaped
Fixes #1243976 [Private bug](https://bugs.launchpad.net/calibre/+bug/1243976)
2013-10-24 08:45:34 +05:30
Kovid Goyal
8e27841421 Start work on my own html5lib tree builder with proper (x)html->xhtml parsing and source line numbers 2013-10-23 20:58:33 +05:30
Kovid Goyal
f03c4634f9 Merge branch 'master' of github.com:kovidgoyal/calibre
Conflicts:
	src/calibre/ebooks/oeb/polish/tests/parsing.py
2013-10-23 20:53:49 +05:30
Kovid Goyal
c20db472eb FB2 Input: Add support for note and cite back references
FB2 Input: Add support for note and cite back references. Link pairs of
type="note" and type="cite" now automatically generate the correct back
reference. Fixes #1243714 [Fb2 return link is lost when converted to mobi or epub](https://bugs.launchpad.net/calibre/+bug/1243714)
2013-10-23 20:50:20 +05:30
Kovid Goyal
3f6c88f0ae FB2 Input: Fix paras with both id and style
FB2 Input: Fix a regression that broke conversion of FB2 files with
paragraphs having both a style and an id attribute. Fixes #1243709 [xls:attribute error in FB2 files](https://bugs.launchpad.net/calibre/+bug/1243709)
2013-10-23 20:50:20 +05:30