24761 Commits

Author SHA1 Message Date
Kovid Goyal
1cf55c1fca ... 2013-06-13 08:07:12 +05:30
Kovid Goyal
c2278d2442 Fix too small images being identified as cover in DOCX files 2013-06-13 08:04:35 +05:30
Kovid Goyal
395f21054b Update La Nacion
Fixes #1190381 [Updated recipe for La Nacion argentina](https://bugs.launchpad.net/calibre/+bug/1190381)
2013-06-13 07:06:35 +05:30
Kovid Goyal
1dad6584de Add some space before teh book counts in the status bar 2013-06-13 06:54:25 +05:30
Kovid Goyal
2f8a25654b Update Frontline 2013-06-12 17:58:48 +05:30
Kovid Goyal
c07db5e194 DOCX: Get rid of <span> tags with no attributes 2013-06-12 17:00:51 +05:30
Kovid Goyal
b8be1a27b2 Use <b> and <i> instead of <span> where possible 2013-06-12 16:36:16 +05:30
Kovid Goyal
9961ada770 DOCX: Improve style cascading
1) Add cascading for colors
    2) Remove unnecessary text-decoration:none entries
    3) Only cascade font properties if they are the same for all runs in a
    block.
    4) Set sensible defaults for cascaded properties that are never
    specified.
2013-06-12 16:26:12 +05:30
Kovid Goyal
cc81908994 Fix New York Time Sports Beat 2013-06-12 15:57:50 +05:30
Kovid Goyal
e9ff43ab78 ... 2013-06-12 15:29:48 +05:30
Kovid Goyal
6a0fb83859 Dont remove <span> tags if they have ids 2013-06-12 15:21:05 +05:30
Kovid Goyal
49c9b2279f DOCX: Simplify markup for the common <p><span></span></p> case 2013-06-12 14:51:38 +05:30
Kovid Goyal
83b0ef58fe DOCX: Merge runs with the same styling to reduce amount of generated
markup
2013-06-12 12:43:22 +05:30
Kovid Goyal
0cc7a43ded DOCX: Fix partially broken style cascading
Style cascading for font sizes was not working fully because of
premature evaluation of run css while checking the borders.
2013-06-12 11:23:45 +05:30
Kovid Goyal
a447b0818d DOCX Input: Simplify generated markup
DOCX Input: Simplify generated markup by avoiding the use of unnecessary
<span> tags for whitespace preservation.
2013-06-12 09:45:59 +05:30
Kovid Goyal
02bf6b9aec DOCX Input: Fix some manual page breaks being ignored
Fixes #1188573 [Private bug](https://bugs.launchpad.net/calibre/+bug/1188573)
2013-06-12 09:08:05 +05:30
Kovid Goyal
a83e99485a DOCX Input: Fix empty paragraphs not being rendered 2013-06-12 08:56:27 +05:30
Kovid Goyal
082aed8f86 DOCX Input: Fix some text being underlined incorrectly
The "none" underline style was being translated incorrectly.
Fixes #1189311 [Private bug](https://bugs.launchpad.net/calibre/+bug/1189311)
2013-06-12 08:39:11 +05:30
Kovid Goyal
7b57d6e4d5 AZW3 Output: Fix a typo that could prevent conversion of some files 2013-06-12 07:49:23 +05:30
Kovid Goyal
37ba626af4 Merge branch 'master' of https://github.com/GRiker/calibre 2013-06-12 06:59:00 +05:30
GRiker
40eacd40da Corrected parsing of _house_arrest_get_result() 2013-06-11 14:38:44 -06:00
Kovid Goyal
208504f337 Add a start time column to the jobs view
When viewing the list of jobs in calibre, also display the time at which
the job was started. Fixes #1188906 [Calibre - "Job" status window needs a date/time stamp](https://bugs.launchpad.net/calibre/+bug/1188906)
2013-06-11 15:58:23 +05:30
Kovid Goyal
f2affe550c Update time.com
Fixes #1188901 [Time Magazine download failing](https://bugs.launchpad.net/calibre/+bug/1188901)
2013-06-11 14:46:20 +05:30
Kovid Goyal
c6cbaeb27f jsbrowser: Fix disk cache
The Qt Disk Cache cannot share the same dir between instances, so we
ensure that never happens by using a temp dir for the cache. This means
that caching is not persistent, but it prevents problems, especially on
windows with its file locking.
2013-06-11 14:31:05 +05:30
Kovid Goyal
8f3a202019 jsbrowser: Release file system locks in the disk cache immediately 2013-06-11 13:22:00 +05:30
Kovid Goyal
8790fe9cb8 jsnews: Remove failed images/stylesheets 2013-06-11 12:59:10 +05:30
Kovid Goyal
7d5e556507 jsnews: Fix delay and timeout parameters unused 2013-06-11 12:52:53 +05:30
Kovid Goyal
29269e807a jsnews: fix top navbar not being inserted and add some API docs 2013-06-11 12:14:16 +05:30
Kovid Goyal
c4c63b3a78 News download: Full WebKit based framework
News download: Add a framework for scraping javascript heavy sites using
a full javascript enabled WebKit based browser.
2013-06-11 11:22:27 +05:30
Kovid Goyal
29b4c093f6 Remove redundant API 2013-06-11 11:16:27 +05:30
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
30b85e3dcb Update Times of India 2013-06-10 16:03:38 +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
67800c7d17 Neu Osnabrucker Zeitung by Krittika Goyal 2013-06-09 21:07:54 +05:30
Kovid Goyal
38a668b850 Update Las Vegas Review Journal 2013-06-09 16:09:36 +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