20001 Commits

Author SHA1 Message Date
Kovid Goyal
645ff7aaaa jsbrowser: Add API for common browser actions 2013-06-11 10:22:47 +05:30
Kovid Goyal
26a113a77c Conversion settings: show profile screen sizes
Conversion settings: When selecting the input/output profiles, show the
profile screen size along with its description.
2013-06-10 16:28:35 +05:30
Kovid Goyal
1651eedea8 jsbrowser: API to get resources from current page 2013-06-10 13:24:20 +05:30
Kovid Goyal
6306fbcd8c pep8 2013-06-10 06:13:58 +05:30
Kovid Goyal
fc4f0f4379 Dump mobi and docx easily with calibre-debug
You can now directly run calibre-debug file.mobi or calibre-debug file.docx to
dump the contents of the file for debugging/inspection.
2013-06-10 06:13:05 +05:30
Kovid Goyal
773b7d4127 jsbrowser: fix dom_ready not working for file:// URLs 2013-06-09 21:54:39 +05:30
Kovid Goyal
d33609785a Easy access to jsbrowser 2013-06-09 16:01:55 +05:30
Kovid Goyal
8eca0cd853 BasicNewsRecipe re-useable cover and masthead code
Allow the code to generate covers and mastheads be more easily re-used
in sub classes.
2013-06-09 10:53:56 +05:30
Kovid Goyal
31c2b8b3d1 pep8 2013-06-09 07:56:43 +05:30
Trevor Merrifield
734ddd2943 Disable preferences toolbar context menu
The unwanted preferences context menu allowed the user to hide the
apply, cancel and restore defaults buttons.  This should stop the
menu from appearing.
2013-06-08 15:22:59 -04:00
Kovid Goyal
eaed92987f Various improvements for jsbrowser
Add APIs to get DOM elements by selector, get resources
(images/stylesheets/etc) and get image data for displayed images. Fix
waiting till the DOM is ready. Make the default timeout a per
browser-object setting.
2013-06-08 22:42:03 +05:30
Kovid Goyal
d9635111d2 Keep ancestors in second tree when splitting
EPUB/AZW3 Output: When splitting HTML on page breaks, preserve tag
structure in the split files. This fixes splitting losing some styling
information for HTML files that define page breaks on deeply nested
tags. Fixes #1188768 [fonts change midfile without being ordered to](https://bugs.launchpad.net/calibre/+bug/1188768)
2013-06-08 09:08:11 +05:30
Kovid Goyal
0339c6396e Viewer: Spec compliant encoding detection for EPUB
E-book viewer: When viewing EPUB files, ignore any encoding declarations
in the HTML and assume that the HTML is encoded in UTF-8 unless
decoding with UTF-8 fails. Fixes #1188843 [importing epub on mac mixes control characters in with typography](https://bugs.launchpad.net/calibre/+bug/1188843)
2013-06-08 07:45:43 +05:30
Kovid Goyal
f5c9ad8661 MOBI Output: Fix regression that breaks conversion of some documents
Fixes #1188635 [Mobi conversion crashed](https://bugs.launchpad.net/calibre/+bug/1188635)
2013-06-07 20:24:39 +05:30
Kovid Goyal
9e105ec028 Make set_cover() test more comprehensive 2013-06-07 16:31:56 +05:30
Kovid Goyal
c160fcd93f Finish implementation of set_cover() 2013-06-07 16:25:24 +05:30
Kovid Goyal
4d637f7212 Fix handling of shortcuts in db test runner 2013-06-07 16:07:30 +05:30
Kovid Goyal
b595198dd2 ... 2013-06-07 15:02:01 +05:30
Kovid Goyal
cc59241524 version 0.9.34 2013-06-07 08:22:08 +05:30
David Forrester
f83d72a564 Kobo released new firmware as 2.6.1
They tested the beta as 2.6.0, but bumped the version number when they
released.
2013-06-07 07:50:41 +05:30
Kovid Goyal
a210f681a7 DOCX: Performance improvement 2013-06-06 14:00:33 +05:30
Kovid Goyal
02a28056de DOCX: Fix incorrect styling of hyperlinks
The <w:r> tags for hyperlinks are not children of <w:p>, use the
ancestor axis instead of getparent().
2013-06-06 13:52:31 +05:30
Kovid Goyal
376db2d0cc DOCX: Table run style override hierarchy to match Word 2013-06-06 10:17:37 +05:30
Kovid Goyal
a6e4a9bef9 DOCX: Fix narrow double borders not rendering 2013-06-06 09:34:35 +05:30
Kovid Goyal
59c6ec11b1 DOCX: Fix margins / positioning of floating tables 2013-06-06 09:27:59 +05:30
Kovid Goyal
2e7d406aac DOCX: Text borders must be >= 1pt to be rendered 2013-06-06 08:25:38 +05:30
David Forrester
26b2670d94 Kobo driver fix for deleting shelves on the Aura HD
Remove empty shelves from the Aura HD home page when deleting books.
Fixes #1187791 [Kobo driver fix for deleting shelves and the Aura HD home page](https://bugs.launchpad.net/calibre/+bug/1187791)
2013-06-05 20:56:11 +05:30
Kovid Goyal
ced5676aa1 DOCX: Remove dependency on lxml > 3 2013-06-05 14:02:29 +05:30
Kovid Goyal
2ec590f068 DOCX: Handle table styles with no overrides 2013-06-05 10:23:37 +05:30
Kovid Goyal
76fa3a16b3 DOCX: Ensure images always have filenames 2013-06-05 10:15:40 +05:30
Kovid Goyal
925726e166 DOCX: Insert space for separator fldChar 2013-06-05 10:01:39 +05:30
Kovid Goyal
bc3ecb9521 DOCX: Do not set a default indent on paragraphs 2013-06-05 09:45:14 +05:30
Kovid Goyal
fb860f7bcf DOCX: Fix typo whitespace => white-space 2013-06-05 09:44:51 +05:30
Kovid Goyal
bd248e1a58 ... 2013-06-05 09:18:51 +05:30
Kovid Goyal
82b06b765a DOCX: Turn off default pagebreaks before headings 2013-06-05 09:18:27 +05:30
Kovid Goyal
77913d28f3 Merge branch 'master' of https://github.com/GRiker/calibre
Fixes #1066922
2013-06-05 07:39:18 +05:30
GRiker
8d513f09f2 Fixed lp:1066922, error processing sort letters in catalog under OS X 10.6.8, 10.7.5. 2013-06-04 10:59:43 -06:00
Kovid Goyal
ca36afdfae DOCX Input, finally done. Let the bugs roam! 2013-06-04 16:31:07 +05:30
Kovid Goyal
c73c00ad0b DOCX: Handle images in v:pict tags 2013-06-04 16:09:56 +05:30
Kovid Goyal
587603c95a DOCX tables: Handle merged cells 2013-06-04 15:43:59 +05:30
Kovid Goyal
a9d4321620 DOCX: Table borders
The conversion is not perfect, but it produces decent output for a lot
of common cases.
2013-06-04 14:18:47 +05:30
Kovid Goyal
dcbd1550e9 Fit the viewer preferences on 600px screens
Fixes #1186927 [Configuration dialogs too wide on small screens](https://bugs.launchpad.net/calibre/+bug/1186927)
2013-06-04 14:09:44 +05:30
Kovid Goyal
b002773b66 ... 2013-06-03 17:13:16 +05:30
Kovid Goyal
9a9dc3e9cb Fix sub table double rendering 2013-06-03 16:55:20 +05:30
Kovid Goyal
edbf314d4c DOCX tables: Cell styling 2013-06-03 16:35:25 +05:30
Kovid Goyal
aab5d9707a pep8 2013-06-03 15:23:53 +05:30
Kovid Goyal
5c9dea7064 E-book viewer: Keyboard shortcuts for Back/Forward
Fixes #1186928 [Missing keyboard shortcut in the viewer](https://bugs.launchpad.net/calibre/+bug/1186928)
2013-06-03 15:22:20 +05:30
Kovid Goyal
230cbf46b0 HTML Input: Avoid spurious log warnings
HTML Input: Avoid spurious log warnings about unspecified
language/creator when these are actually specified on the command line.
Fixes #1186899 [Apparently-spurious "Language not specified" errors from caliber-convert](https://bugs.launchpad.net/calibre/+bug/1186899)
2013-06-03 14:04:33 +05:30
Kovid Goyal
279594b1a3 DOCX Tables: Row styling 2013-06-03 13:08:11 +05:30
Kovid Goyal
20cc3e2c7a DOCX: Floating and justified tables 2013-06-03 11:03:41 +05:30