From 706d38d85a73b411a77b19a153575eb157e39c17 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 24 Nov 2009 12:49:40 -0700 Subject: [PATCH] Add PDF to list of supported formats for the Kindle 2 --- Changelog.yaml | 109 +++++++++++++++++++++++++++ setup/upload.py | 3 + src/calibre/devices/kindle/driver.py | 10 +-- 3 files changed, 115 insertions(+), 7 deletions(-) create mode 100644 Changelog.yaml diff --git a/Changelog.yaml b/Changelog.yaml new file mode 100644 index 0000000000..b47bdb867b --- /dev/null +++ b/Changelog.yaml @@ -0,0 +1,109 @@ +# Each release can have new features and bug fixes. Each of which +# must have a title and can optionally have linked tickets and a description. +# In addition they can have a type field which defaults to minor, but should be major +# for important features/bug fixes. +# Also, each release can have new and improved recipes. + +- version: 0.6.24 + date: 2009-11-16 + + new features: + - title: Add option to swap title and author in the Bulk metadata dialog + tickets: #3885 + + - title: Add option to download only social metadata + tickets: #4015 + + - title: Update bundled odfpy library to 0.9.2 for improved conversion of ODT files. + + - title: Output resolved conversion options in conversion log, for easier debugging. + + - title: Add option to Bulk conversion dialog to not use per-book settings from a previous conversion + + + bug fixes: + - title: "Device drivers: Ignore files on the device when there is a file system/file name encoding error" + description: > + Sometimes, the presence of files on the e-book device that have special characters in the file name + would cause calibre to throw an error when scanning the device for books. Now, calibre will simply + ignore the files whose names it cannot decode. + + - title: Fix various bugs in the downloading of social metadata in bulk + tickets: #4028, #4022 + + - title: Do not URL encode paths to files in the XML output of calibredb list + description: Stanza on the iPhone could not handle URL encoded paths + + - title: Fix rendering of stars in rating column in the library view + tickets: #3944 + + - title: Fix PML parsing changes introduced in 0.6.22 as they break PDB eReader input badly. + + - title: "Conversion pipeline: Respect UTF-8/32 BOM mark when decoding files in addition to UTF-16 BOM." + tickets: #4025 + + - title: Restore all sections to Guardian newspaper download + + - title: "Social metadata download: If the user specifies that they dont want social metadata, don't get tags from the basic metadata sources either" + + + new recipes: + - title: The Havard Business Review + author: Kovid Goyal + + - title: Fokke en Sukke + author: kwetal + + improved recipes: + - The Philadelphia Inquirer + +- version: 0.6.22 + date: 2009-11-13 + + new features: + - title: Support downloading of social metadata (ratings/tags/reviews etc.) + - description: > + calibre is now able to download social metadata like tags/rating/reviews etc., + in addition to normal metadata and covers. Currently it uses Amazon as the only + source for social metadata, but the download system supports plugins for the + addition of more sources in the future. + type: major + tickets: #2860 + + - title: Convert metadata download system to plugins, with builtin plugins for isbndb.com, Google Books and Amazon + + - title: PML metadata reader + + - title: "PML Input: Fix handling of images and various other improvements" + + bug fixes: + - title: Fix NYT Top stories, Barrons, New Scientist and Irish Times recipes + tickets: #4009, #3964, #3972, #3987 + + - title: "FB2 Output: Handle large paragraphs" + tickets: #3941 + + - title: "Bulk metadata download: Don't fail on downloading all remaining covers if there is an error downloading a single cover in the list" + + - title: Populate site_customization for Input plugins + tickets: #3957 + + - title: Fix news download scheduler raising an error for scheduled custom recipe that is subsequently deleted + tickets: #4010 + + + + new recipes: + - title: NPR + author: onyxrev + + - title: Welt Online + author: Oliver Niesner + + - title: An Druma Mor + - author: "David O'Callaghan" + + improved recipes: + - Critica Digital + - Infobae + - Spiegel International diff --git a/setup/upload.py b/setup/upload.py index 03ed9a9f5c..545ec5c97f 100644 --- a/setup/upload.py +++ b/setup/upload.py @@ -116,6 +116,9 @@ class UploadToGoogleCode(Command): def delete_old_files(self): self.info('Deleting old files from Google Code...') for fname in self.old_files: + ext = fname.rpartition('.')[-1] + if ext in ('flv', 'mp4', 'ogg', 'avi'): + continue self.info('\tDeleting', fname) self.br.open('http://code.google.com/p/calibre-ebook/downloads/delete?name=%s'%fname) self.br.select_form(predicate=lambda x: 'delete.do' in x.action) diff --git a/src/calibre/devices/kindle/driver.py b/src/calibre/devices/kindle/driver.py index 83f8d064fe..054e0b4c76 100644 --- a/src/calibre/devices/kindle/driver.py +++ b/src/calibre/devices/kindle/driver.py @@ -64,21 +64,17 @@ class KINDLE2(KINDLE): name = 'Kindle 2 Device Interface' description = _('Communicate with the Kindle 2 eBook reader.') - author = _('John Schember') - supported_platforms = ['windows', 'osx', 'linux'] + FORMATS = KINDLE.FORMATS + ['pdf'] PRODUCT_ID = [0x0002] BCD = [0x0100] -class KINDLE_DX(KINDLE): +class KINDLE_DX(KINDLE2): name = 'Kindle DX Device Interface' - description = _('Communicate with the Kindle 2 eBook reader.') - author = _('John Schember') - supported_platforms = ['windows', 'osx', 'linux'] + description = _('Communicate with the Kindle DX eBook reader.') - FORMATS = ['azw', 'mobi', 'prc', 'azw1', 'tpz', 'pdf', 'txt'] PRODUCT_ID = [0x0003] BCD = [0x0100]