Add PDF to list of supported formats for the Kindle 2

This commit is contained in:
Kovid Goyal 2009-11-24 12:49:40 -07:00
parent df73dd322b
commit 706d38d85a
3 changed files with 115 additions and 7 deletions

109
Changelog.yaml Normal file
View File

@ -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

View File

@ -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)

View File

@ -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]