diff --git a/Changelog.yaml b/Changelog.yaml
index a7fc86c98e..9b62adff7b 100644
--- a/Changelog.yaml
+++ b/Changelog.yaml
@@ -19,6 +19,189 @@
# new recipes:
# - title:
+- version: 0.8.43
+ date: 2012-03-16
+
+ new features:
+ - title: "Template language: Speedup evaluation of general program mode templates by pre-compiling them to python. If you experience errors with this optimization, you can turn it off via Preferences->Tweaks. Also other miscellaneous optimizations in evaluating templates with composite columns."
+
+ - title: "MOBI Output: Add an option to not convert all images to JPEG when creating MOBI files. For maximum compatibility of the produced MOBI files, do not use this option."
+ tickets: [954025]
+
+ - title: "Add iPad3 Output Profile"
+
+ bug fixes:
+ - title: "KF8 Input: Add support for KF8 files with obfuscated embedded fonts"
+ tickets: [953260]
+
+ - title: "Make the stars in the book list a little larger on windows >= vista"
+
+ - title: "Revised periodical Section layout, for touchscreen devices resolving iBooks problem with tables spanning multiple pages"
+
+ - title: "Read dc:contributor metadata from MOBI files"
+
+ - title: "MOBI Output: Fix a regression that caused the generated thumbnail embedded in calibre produced MOBI files to be a large, low quality image instead of a small, high quality image. You would have been affected by this bug only if you directly used the output from calibre, without exporting it via send to device or save to disk."
+ tickets: [954254]
+
+ - title: "KF8 Input: Recognize OpenType embedded fonts as well."
+ tickets: [954728]
+
+ - title: "Fix regression in 0.8.41 that caused file:/// URLs to stop working in the news download system on windows."
+ tickets: [955581]
+
+ - title: "When setting metadata in MOBI files fix cover not being updated if the mobi file has its first image record as the cover"
+
+ - title: "Fix column coloring rules based on the size column not working"
+ tickets: [953737]
+
+ improved recipes:
+ - Microwaves and RF
+ - idg.se
+
+ new recipes:
+ - title: SatMagazine
+ author: kiavash
+
+- version: 0.8.42
+ date: 2012-03-12
+
+ new features:
+ - title: "Support for reading Amazon's new KF8 format"
+ type: major
+ description: "calibre can now both view and convert MOBI files that contain Amazon's new KF8 (Kindle Fire) format"
+
+ - title: "Add a tweak to Preferences->Tweaks to control the font size used in the book details panel"
+ tickets: [948357]
+
+ - title: "Allow specifying a list of file types to exclude when automatically adding files from a folder"
+ tickets: [943025]
+
+ - title: "Show ratings in the book details panel as stars. Also allow the user to change the alignment of the ratings column in the main books list. No longer display the stars in blue, instead their color can be customized via the column coloring rules, like any other column"
+
+ - title: "When setting metadata in EPUB ensure that the tag has its name attribute first. Needed for the Nook."
+
+ - title: "Drivers for Novo 7, LG G2x and Zenithink T-280"
+ tickets: [941671, 940625, 940527]
+
+ - title: "Update linux binaries to Qt 4.8.0"
+
+ bug fixes:
+ - title: "Fix some rar files causing crashes on OS X (updated libunrar.dylib in the OS X build)"
+ tickets: [951185]
+
+ - title: "MOBI Output: Ignore the Table of Contents pointed to by the guide, if it contains no links"
+
+ - title: "ODT Input: Ignore margin declaration in ODT styles if more specific margin-* declarations are present"
+ tickets: [941134]
+
+ - title: "Conversion pipeline: Fix @import rules in CSS stylesheets that have comments on their first few lines being ignored."
+
+ - title: "EPUB Input: When extracting the contents of epub files on windows, do not error out if one or more of the components in the epub file have filepaths containing characters that are invalid for the windows filesystem, instead, just replace those characters, since those entries are likely to be errors in the zip container anyway."
+ tickets: [950081]
+
+ - title: "Textile output: Fix issue with blockquotes and sentences getting removed."
+
+ - title: "MOBI Output: When using the prefer author sort conversion option, handle multiple authors better."
+ tickets: [947146]
+
+ - title: "Fix regression in 0.8.41 that broke direct connection to iDevices in windows"
+ tickets: [944534]
+
+ - title: "Fix the download bulk metadata completed popup causing a crash if the Esc key is pressed."
+ tickets: [943056]
+
+ - title: "Fix rating values doubled in CSV/XML catalogs"
+ tickets: [942790]
+
+ - title: "EPUB Input: Remove non markup documents from the spine automatically, instead of erroring out"
+
+ - title: "When formatting ratings in templates, etc., do not have an unnecessary .0"
+
+ - title: "Calibre portable: Do not allow calibre portable to run if it is placed in a location whose path is too long. Also hide the library location setup in the welcome wizard when running the portable build."
+
+ - title: "Fix regression in 0.8.41 that broke calibre if the TMP or TEMP environment variable is set to the root of a drive."
+ tickets: [952284]
+
+ - title: "Fix display of ratings type custom fields in the content server"
+ tickets: [940600]
+
+
+ improved recipes:
+ - La Jornada
+ - Chicago Tribune
+ - Mediapart
+ - rue89
+
+ new recipes:
+ - title: Racjonalista
+ author: Racjonlista
+
+ - title: JAPAA
+ author: adoucette
+
+
+- version: 0.8.41
+ date: 2012-02-24
+
+ new features:
+ - title: "Driver for Sony Experia Play 4G"
+ tickets: [938831]
+
+ - title: "News download system: Allow use of __future__ in recipes, and do not change line numbers of code in the recipe when compiling it"
+
+ - title: "Use the My Documents folder as the default location for the Calibre Library folder on first start in windows"
+ tickets: [934840]
+
+ - title: "Add a tweak to Preferences->Tweaks to control the order in which categories appear in the Tag Browser"
+
+ - title: "Tag Browser: Add an entry to the right click menu to quickly delete tags"
+ tickets: [934509]
+
+ - title: "Amazon metadata download: Try to scrape series information from the amazon details page. Note that currently very few books have series info available. Often the page for hardcover will have series, but the Kindle edition will not. In such cases calibre may or may not find the series, depending on which page it ends up using."
+
+ - title: "Content server: Add favicon to OPDS feeds."
+ tickets: [934731]
+
+ bug fixes:
+ - title: "RTF Input: Fix some WMF images embedded in RTF files being distorted on conversion."
+ tickets: [934167]
+
+ - title: "Fix long standing bug preventing calibre from working on east asian windows installs when the user name in windows has non-ascii characters"
+ tickets: [937389]
+
+ - title: "Get Books: Fix Baen Webscription and O'Reilly stores. Fix price detection for Google Books"
+
+ - title: "MOBI Output: When the same anchor is present more than once in the input document, use the first occurrence rather than the last one."
+ tickets: [934031]
+
+ - title: "Use the 'default cover font' tweak when generating default masthead images as well"
+ tickets: [939256]
+
+ - title: "Fix content server does not correctly display custom field of type 'rating'"
+ tickets: [938303]
+
+ - title: "Fix welcome wizard does not save send-from email info unless send-to field is filled"
+ tickets: [937087]
+
+ - title: "When reading metadata from odt files, use initial-creator in preference to creator for setting the author field"
+ tickets: [934564]
+
+ - title: "Fix conversion erroring out when the input document has very long and thin images"
+ tickets: [935234]
+
+ improved recipes:
+ - The Sun
+ - Various Polish news sources
+ - Mediapart
+
+ new recipes:
+ - title: La pausa caffe
+ author: faber1971
+
+ - title: Various Polish news sources
+ author: fenuks
+
+
- version: 0.8.40
date: 2012-02-17
diff --git a/imgsrc/calibreSymbols.spd b/imgsrc/calibreSymbols.spd
new file mode 100644
index 0000000000..1ef6f532c5
--- /dev/null
+++ b/imgsrc/calibreSymbols.spd
@@ -0,0 +1,152 @@
+SplineFontDB: 3.0
+FontName: calibreSymbols
+FullName: calibre Symbols
+FamilyName: calibre Symbols
+Weight: Medium
+Copyright: Created by Kovid Goyal with FontForge 2.0 (http://fontforge.sf.net)
+UComments: "2012-2-27: Created."
+Version: 001.000
+ItalicAngle: 0
+UnderlinePosition: -100
+UnderlineWidth: 50
+Ascent: 800
+Descent: 200
+LayerCount: 2
+Layer: 0 0 "Back" 1
+Layer: 1 0 "Fore" 0
+NeedsXUIDChange: 1
+XUID: [1021 913 325894820 11538708]
+FSType: 0
+OS2Version: 0
+OS2_WeightWidthSlopeOnly: 0
+OS2_UseTypoMetrics: 1
+CreationTime: 1330331997
+ModificationTime: 1330487767
+OS2TypoAscent: 0
+OS2TypoAOffset: 1
+OS2TypoDescent: 0
+OS2TypoDOffset: 1
+OS2TypoLinegap: 90
+OS2WinAscent: 0
+OS2WinAOffset: 1
+OS2WinDescent: 0
+OS2WinDOffset: 1
+HheadAscent: 0
+HheadAOffset: 1
+HheadDescent: 0
+HheadDOffset: 1
+MarkAttachClasses: 1
+DEI: 91125
+Encoding: UnicodeFull
+UnicodeInterp: none
+NameList: Adobe Glyph List
+DisplaySize: -24
+AntiAlias: 1
+FitToEm: 1
+WidthSeparation: 150
+WinInfo: 9600 75 22
+BeginPrivate: 0
+EndPrivate
+BeginChars: 1114112 3
+
+StartChar: uni2605
+Encoding: 9733 9733 0
+Width: 979
+VWidth: -26
+Flags: W
+LayerCount: 2
+Fore
+SplineSet
+551.923 352.862 m 1
+ 749.497 369.592 l 2
+ 804.954 374.123 833.379 376.389 834.765 376.389 c 0
+ 852.095 376.389 860.761 368.896 860.761 353.907 c 0
+ 860.761 347.981 859.028 343.363 855.562 340.052 c 0
+ 852.095 336.74 825.578 319.225 776.012 287.506 c 2
+ 609.635 180.323 l 1
+ 716.22 -88.417 l 2
+ 717.606 -91.2051 718.301 -95.3877 718.301 -100.965 c 0
+ 718.301 -106.193 716.394 -110.725 712.58 -114.558 c 0
+ 708.769 -118.393 704.608 -120.31 700.104 -120.31 c 0
+ 695.943 -120.31 691.61 -118.828 687.103 -115.866 c 0
+ 682.598 -112.902 658.162 -92.251 613.795 -53.9082 c 2
+ 466.134 74.71 l 1
+ 320.554 -51.8184 l 2
+ 274.802 -91.5547 249.758 -112.902 245.426 -115.866 c 0
+ 241.092 -118.828 236.846 -120.31 232.688 -120.31 c 0
+ 227.835 -120.31 223.415 -118.306 219.429 -114.297 c 0
+ 215.442 -110.289 213.449 -105.844 213.449 -100.965 c 0
+ 213.449 -97.8281 223.329 -71.3379 243.087 -21.4932 c 2
+ 322.115 180.323 l 1
+ 152.618 289.598 l 2
+ 104.783 320.271 79.2217 337.176 75.9297 340.313 c 0
+ 72.6357 343.45 70.9893 347.981 70.9893 353.907 c 0
+ 70.9893 369.243 79.8291 376.912 97.5059 376.912 c 0
+ 98.8926 376.912 123.155 374.82 170.296 370.638 c 2
+ 379.825 352.862 l 1
+ 427.14 555.201 l 2
+ 439.271 607.834 446.811 636.764 449.757 641.992 c 0
+ 452.702 647.221 458.162 649.834 466.134 649.834 c 0
+ 474.454 649.834 480 646.96 482.772 641.208 c 0
+ 485.545 635.457 493.518 604.173 506.689 547.357 c 2
+ 551.923 352.862 l 1
+EndSplineSet
+Validated: 524289
+EndChar
+
+StartChar: zero
+Encoding: 48 48 1
+Width: 1303
+VWidth: 2048
+Flags: W
+HStem: -43.3789 76.7998<582.097 721.09> 623.341 76.7998<582.097 721.091>
+VStem: 403.82 97.4395<148.044 508.66> 802.221 96.959<148.044 508.659>
+LayerCount: 2
+Fore
+SplineSet
+651.5 623.341 m 0
+ 601.58 623.341 564.061 598.78 538.939 549.66 c 0
+ 513.82 500.541 501.26 426.7 501.26 328.141 c 0
+ 501.26 229.9 513.82 156.221 538.939 107.101 c 0
+ 564.061 57.9805 601.58 33.4209 651.5 33.4209 c 0
+ 701.74 33.4209 739.42 57.9805 764.54 107.101 c 0
+ 789.66 156.221 802.221 229.9 802.221 328.141 c 0
+ 802.221 426.7 789.66 500.541 764.54 549.66 c 0
+ 739.42 598.78 701.74 623.341 651.5 623.341 c 0
+651.5 700.141 m 0
+ 731.82 700.141 793.18 668.38 835.58 604.859 c 0
+ 877.979 541.341 899.18 449.101 899.18 328.141 c 0
+ 899.18 207.5 877.979 115.421 835.58 51.9004 c 0
+ 793.18 -11.6201 731.819 -43.3789 651.5 -43.3789 c 0
+ 571.18 -43.3789 509.82 -11.6201 467.42 51.9004 c 0
+ 425.021 115.421 403.82 207.5 403.82 328.141 c 0
+ 403.82 449.101 425.021 541.341 467.42 604.859 c 0
+ 509.82 668.38 571.18 700.141 651.5 700.141 c 0
+EndSplineSet
+Validated: 1
+EndChar
+
+StartChar: period
+Encoding: 46 46 2
+Width: 516
+VWidth: 2048
+Flags: W
+HStem: 53.4004 166.199<203.263 309.297>
+VStem: 174.6 163.801<82.9501 190.955>
+LayerCount: 2
+Fore
+SplineSet
+338.4 142.8 m 0
+ 338.4 119.2 330.5 98.4004 314.7 80.4004 c 0
+ 298.9 62.4004 277 53.4004 249 53.4004 c 0
+ 225.4 53.4004 207.1 61.2002 194.1 76.7998 c 0
+ 181.1 92.4004 174.6 111 174.6 132.6 c 0
+ 174.6 155.8 182.6 176.1 198.6 193.5 c 0
+ 214.6 210.9 236.8 219.6 265.2 219.6 c 0
+ 288.8 219.6 306.9 212.2 319.5 197.4 c 0
+ 332.1 182.6 338.4 164.4 338.4 142.8 c 0
+EndSplineSet
+Validated: 1
+EndChar
+EndChars
+EndSplineFont
diff --git a/recipes/archeowiesci.recipe b/recipes/archeowiesci.recipe
index 3c93d3644f..e121ba4d42 100644
--- a/recipes/archeowiesci.recipe
+++ b/recipes/archeowiesci.recipe
@@ -7,6 +7,7 @@ class Archeowiesci(BasicNewsRecipe):
language = 'pl'
cover_url='http://archeowiesci.pl/wp-content/uploads/2011/05/Archeowiesci2-115x115.jpg'
oldest_article = 7
+ needs_subscription='optional'
max_articles_per_feed = 100
auto_cleanup = True
remove_tags=[dict(name='span', attrs={'class':['post-ratings', 'post-ratings-loading']})]
@@ -16,6 +17,16 @@ class Archeowiesci(BasicNewsRecipe):
feeds = BasicNewsRecipe.parse_feeds(self)
for feed in feeds:
for article in feed.articles[:]:
- if 'subskrypcja' in article.title:
+ if self.username is None and 'subskrypcja' in article.title:
feed.articles.remove(article)
return feeds
+
+ def get_browser(self):
+ br = BasicNewsRecipe.get_browser()
+ if self.username is not None and self.password is not None:
+ br.open('http://archeowiesci.pl/wp-login.php')
+ br.select_form(name='loginform')
+ br['log'] = self.username
+ br['pwd'] = self.password
+ br.submit()
+ return br
\ No newline at end of file
diff --git a/recipes/astronomia_pl.recipe b/recipes/astronomia_pl.recipe
index a142520ec5..89a0e4c889 100644
--- a/recipes/astronomia_pl.recipe
+++ b/recipes/astronomia_pl.recipe
@@ -1,15 +1,18 @@
from calibre.web.feeds.news import BasicNewsRecipe
-
+import re
class Astronomia_pl(BasicNewsRecipe):
title = u'Astronomia.pl'
__author__ = 'fenuks'
description = 'Astronomia - polish astronomy site'
+ masthead_url = 'http://www.astronomia.pl/grafika/logo.gif'
cover_url = 'http://www.astronomia.pl/grafika/logo.gif'
category = 'astronomy, science'
language = 'pl'
oldest_article = 8
max_articles_per_feed = 100
- #no_stylesheets=True
+ extra_css='#h2 {font-size: 18px;}'
+ no_stylesheets=True
+ preprocess_regexps = [(re.compile(ur'Przeczytaj także:.*?