From ce54d4148f089faa445f8f6ef30c944d73d8dc82 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 3 Jan 2010 19:05:16 -0700 Subject: [PATCH] version 0.6.32 --- Changelog.yaml | 125 +++++++++++++++++++++++++ resources/recipes/national_post.recipe | 10 +- resources/recipes/nejm.recipe | 13 +-- src/calibre/constants.py | 2 +- src/calibre/gui2/viewer/config.ui | 2 +- 5 files changed, 136 insertions(+), 16 deletions(-) diff --git a/Changelog.yaml b/Changelog.yaml index 66daf8ec4f..922a8816c8 100644 --- a/Changelog.yaml +++ b/Changelog.yaml @@ -4,6 +4,131 @@ # for important features/bug fixes. # Also, each release can have new and improved recipes. +- version: 0.6.31 + date: 2010-01-03 + + new features: + - title: Allow users to cutomize where books are placed by the Send to Device action + type: major + description: > + "Uses can now specify the folder structure and file name of files placed on the device when using the + Send to Device action. This is useful for those devices that allow browsing of the on device folder + structure. Customization is available via Preferences->Add/Save->Sending to device and can also + be overriden on a per device basis from Preferences->Plugins->Device Interface plugins" + + - title: "Browse by tags: Make clicking on a tag cause all other tags to be de-selected, unless CTRL or SHIFT is pressed." + + - title: "News downloads: Automagically handle PDF covers" + + - title: Sort tags in the main view alphabetically + tickets: [4234] + + - title: Add command line option to content server to specify the path to the library to be served + + - title: Support for the Hanvon N516, Binatone Readme and the Longshine ShineBook + + bug fixes: + - title: Fix various issues that could prevent calibre from starting on OS X + + - title: "Speed up device detection on windows. Difference will be noticeable for all the EB600 clones in particular" + + - title: Fix regression preventing User style sheets from working in the e-book viewer for the past couple of releases. + tickets: [4331] + + - title: "Don't update main books list when showing Cover Browser. Should speed it up on slow computers." + tickets: [4412] + + - title: Fix detection of iRiver Story on windows + tickets: [4357] + + - title: "EPUB Output: Fix play order in generated NCX being uniformly zero when the input HTML file has a name with special characters." + tickets: [4397] + + - title: "Fix bug that prevented the changing of case of authors/series and publishers." + + - title: Fix editing series name in main screen would cause an extra space to be added at the end + tickets: [4400] + + - title: Fix support for Android devices on linux + tickets: [4404] + + - title: "Allow GUI to start even if home directory does not support sockets on Linux/OS X" + ticket: [4074] + + - title: "TXT Input: Remove specific options for indent and flush paragraphs, use the look and feel remove paragraph spacing option instead." + + - title: "MOBI metadata: Don't leave around a styles.css file when trying to extract embedded metadata" + + - title: "MOBI Input: Change default encoding for files that don't specify a codepage from cp1251 to cp1252" + + - title: "Linux binary: Add system QT_PLUGIN_PATH to enable calibre to use the user specified Qt style" + + new recipes: + - title: Foreign Affairs + author: kwetal + + - title: New England Journal of Medicine + author: Krittika Goyal + + - title: Asia One + author: Bruce + + - title: Mother Jones + author: kwetal + + - title: Entrepreneur Magazine + author: kwetal + + - title: Milwaukee Journal Sentinel + author: Krittika Goyal + + - title: Pilot One + author: Krittika Goyal + + - title: Cyprus Weekly + author: kwetal + + - title: RTE + author: Robin Phillips + + - title: Psychology Today + author: Krittika Goyal + + - title: The Providence Journal + author: Krittika Goyal + + - title: The Denver Post + author: Krittika Goyal + + - title: Pro Publica + author: kwetal + + - title: Big Government + author: kwetal + + - title: El Universal Impressa + author: kwetal + + - title: Journal of Accountancy + author: kwetal + + - title: The New York Magazine + author: Kovid Goyal + + - title: Chowk + author: kwetal + + - title: Dawn + author: kwetal + + - title: The News + author: kwetal + + improved recipes: + - The National Post + - The Economist (free) + - The Independent + - version: 0.6.31 date: 2009-12-27 diff --git a/resources/recipes/national_post.recipe b/resources/recipes/national_post.recipe index 7fe00032a5..a770236585 100644 --- a/resources/recipes/national_post.recipe +++ b/resources/recipes/national_post.recipe @@ -1,5 +1,3 @@ -import string, re -from calibre import strftime from calibre.web.feeds.recipes import BasicNewsRecipe from calibre.ebooks.BeautifulSoup import BeautifulSoup @@ -10,7 +8,7 @@ class NYTimes(BasicNewsRecipe): description = 'Canadian national newspaper' timefmt = ' [%d %b, %Y]' needs_subscription = False - + no_stylesheets = True #remove_tags_before = dict(name='h1', attrs={'class':'heading'}) #remove_tags_after = dict(name='td', attrs={'class':'newptool1'}) @@ -19,8 +17,8 @@ class NYTimes(BasicNewsRecipe): dict(name='div', attrs={'class':'story-tools'}), #dict(name='div', attrs={'id':['qrformdiv', 'inSection', 'alpha-inner']}), #dict(name='form', attrs={'onsubmit':''}), - #dict(name='table', attrs={'cellspacing':'0'}), - ] + #dict(name='table', attrs={'cellspacing':'0'}), + ] # def preprocess_html(self, soup): # table = soup.find('table') @@ -33,7 +31,7 @@ class NYTimes(BasicNewsRecipe): #TO GET ARTICLE TOC def nejm_get_index(self): return self.index_to_soup('http://www.nationalpost.com/todays-paper/index.html') - + # To parse artice toc def parse_index(self): soup = self.nejm_get_index() diff --git a/resources/recipes/nejm.recipe b/resources/recipes/nejm.recipe index 8337ece34b..e6fa32cf95 100644 --- a/resources/recipes/nejm.recipe +++ b/resources/recipes/nejm.recipe @@ -1,7 +1,4 @@ -import string, re -from calibre import strftime from calibre.web.feeds.recipes import BasicNewsRecipe -from calibre.ebooks.BeautifulSoup import BeautifulSoup class NYTimes(BasicNewsRecipe): @@ -10,7 +7,7 @@ class NYTimes(BasicNewsRecipe): description = 'Medical news' timefmt = ' [%d %b, %Y]' needs_subscription = True - + no_stylesheets = True #remove_tags_before = dict(name='h1', attrs={'class':'heading'}) #remove_tags_after = dict(name='td', attrs={'class':'newptool1'}) @@ -19,8 +16,8 @@ class NYTimes(BasicNewsRecipe): #dict(name='div', attrs={'class':'related-articles'}), #dict(name='div', attrs={'id':['qrformdiv', 'inSection', 'alpha-inner']}), dict(name='form', attrs={'onsubmit':"return verifySearch(this.w,'Keyword, citation, or author')"}), - dict(name='table', attrs={'cellspacing':'0'}), - ] + dict(name='table', attrs={'cellspacing':'0'}), + ] def preprocess_html(self, soup): table = soup.find('table') @@ -28,7 +25,7 @@ class NYTimes(BasicNewsRecipe): table.extract() return soup - #TO LOGIN + #TO LOGIN def get_browser(self): br = BasicNewsRecipe.get_browser() br.open('http://content.nejm.org/cgi/login?uri=/') @@ -44,7 +41,7 @@ class NYTimes(BasicNewsRecipe): #TO GET ARTICLE TOC def nejm_get_index(self): return self.index_to_soup('http://content.nejm.org/current.dtl') - + # To parse artice toc def parse_index(self): soup = self.nejm_get_index() diff --git a/src/calibre/constants.py b/src/calibre/constants.py index f75147fee6..8e09fae40b 100644 --- a/src/calibre/constants.py +++ b/src/calibre/constants.py @@ -2,7 +2,7 @@ __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __appname__ = 'calibre' -__version__ = '0.6.31' +__version__ = '0.6.32' __author__ = "Kovid Goyal " import re diff --git a/src/calibre/gui2/viewer/config.ui b/src/calibre/gui2/viewer/config.ui index bf4e390bf9..fe1dc85c93 100644 --- a/src/calibre/gui2/viewer/config.ui +++ b/src/calibre/gui2/viewer/config.ui @@ -245,7 +245,7 @@ - Double click to change a keyborad shortcut + Double click to change a keyboard shortcut true