[B]Version 1.3.9[/B] - 01 Sep 2013
Fix for users who do not have any Extra CSS in their defaults trying to use the Append Extra CSS option.

[B]Version 1.3.8[/B] - 30 Aug 2013
Add a "Append extra CSS" option to allow appending any css style information from Preferences->Common Options->Look & Feel->Extra CSS to each .css file in the ePub.
Respect the tweak "save_original_format_when_polishing" if set to make a .ORIGINAL_EPUB copy of the book before making modifications if no such copy exists.
After running Modify ePub ensure the book details panel is updated in case an ORIGINAL_EPUB was added
Fix for encrypted font ePubs being treated as DRM protected preventing Font removal

[B]Version 1.3.7[/B] - 15 Feb 2013
Fix for dependency on calibre code removed in 0.9.19

[B]Version 1.3.6[/B] - 09 Dec 2012
Fix for "Rewrite CSS margins" to ensure it only processes manifest xhtml files when replacing inline styles.

[B]Version 1.3.5[/B] - 22 Nov 2012
Add a separate me.py script to allow Modify ePub to be run from the command line. Unzip it and refer to the script for help on how to use it.
Change to ensure when running via command line the lack of an opf file allows plugin to still run.

[B]Version 1.3.4[/B] - 16 Nov 2012
Workaround for calibre "bug" to ensure that if user has both remove javascript and smarten punctuation checked, that remove javascript runs first which ensures smarten punctuation will actually work correctly for quotes.

[B]Version 1.3.3[/B] - 08 Nov 2012
Fix the fix (for when Update metadata is "not" selected... sigh...

[B]Version 1.3.2[/B] - 08 Nov 2012
Fix regression from last release where only selecting the "Update metadata" option would not apply changes.

[B]Version 1.3.1[/B] - 06 Nov 2012
Ensure than the "Remove non dc: metadata" option will always run after "Update metadata" if both are selected.
Reorganise some of the layout and groups.

[B]Version 1.3.0[/B] - 04 Nov 2012
Add a "Encode HTML in UTF-8" option strip charset meta tags and re-encode in UTF-8 for books that do not display correctly in calibre viewer
Change the UI appearance to look more balanced.

[B]Version 1.2.10[/B] - 31 Aug 2012
Rewrite the playOrder to make sure it is an incremental sequence after actions that delete from the TOC.
Change indenting from mucking up self-closing tags in NCX.

[B]Version 1.2.9[/B] - 04 Jul 2012
Alter the "Proceed" message text to hopefully make it clearer to new users.
Fix "Rewrite CSS margins" bug where if default margins are set to zero and an epub has margins specified it would error
Fix "Rewrite CSS margins" bug where if default margins are set to zero it should not add an empty @page directive
Change "Rewrite CSS margins" so that if default margins are zero it writes out margin attributes with a value of zero, rather than removing them
Change "Rewrite CSS margins" so that if default margins are negative then it omits the margin attribute from the style
Enhance "Rewrite CSS margins" so that if CSS file has no content it is deleted from the epub
Rename "Rewrite CSS margins" to "Modify @page and body style margins"
Bug fix for "Remove unused images" not detecting svg images in an svg section containing sibling tags
Fix for "Remove Adobe xpgt links" so that it includes removal of links using the @import format.

[B]Version 1.2.7[/B] - 29 Jun 2012
When inserting covers, if guide points to a non-existent cover href, make sure the log does not error.
In the CSS margin updating, if adding page declaration at it to start rather than end of CSS file to workaround Sigil bug

[B]Version 1.2.6[/B] - 24 Jun 2012
Add buttons to save and restore the current settings, to allow setting your own easily switched to defaults

[B]Version 1.2.5[/B] - 15 Jun 2012
Bug fix for when using the Add/replace jacket and Insert/replace cover options together if book has no jacket currently

[B]Version 1.2.4[/B] - 05 Jun 2012
Add some non-standard guide types of "coverimagestandard" and "thumbimagestandard" to increase cover replacement coverage
If the guide has incorrect casing of an image href, auto-correct it

[B]Version 1.2.3[/B] - 05 Jun 2012
Further optimise the CSS margins feature to minimise which files get changed

[B]Version 1.2.2[/B] - 05 Jun 2012
Add a "Remove inline javascript and files" option to remove any javascript leftover from html conversions
Fix for CSS margins feature which was not always updating the css file in the epub after resetting margins

[B]Version 1.2.1[/B] - 01 Jun 2012
Fix for remove Adobe xpgt links so it no longer is dependent on link attribute ordering to find them

[B]Version 1.2.0[/B] - 01 Jun 2012
Change to require minimum calibre version 0.8.53 in order to utilise some calibre bug fixes/changes
Change to calibre API for deprecated dialog in 0.8.49 which caused issues that intermittently crashed calibre on Mac OS
Add a "Insert or replace cover" option to attempt to insert or replace a cover without doing a conversion
Add a "Remove cover" option to attempt to completely remove an identified cover from the ePub.
Rewrite "Removed unused image files" and "Remove broken cover images" features to use lxml rather than regex for better accuracy
Add protection for numerous options against trying to apply them to a DRM encrypted book
Better handle ebooks where the ncx file is not in same directory as opf manifest
If user chooses redundant options (e.g. "Remove all jackets" makes "Remove legacy jackets" redundant) do not run the redundant option

[B]Version 1.1.7[/B] - 17 May 2012
Re-release of 1.1.6 to cater for missing file

[B]Version 1.1.6[/B] - 17 May 2012
Bug fix for the last_modified column not being updated if multiple books modified
Add a "Remove broken cover images" option to remove html pages which contain only an image tag to a broken image.
Add a "Remove broken TOC entries in NCX" option to remove ncx entries that point to non-existent html pages
Fix for remove unused images to include svg and bmp files as possible image extensions

[B]Version 1.1.5[/B] - 09 May 2012
Fix for Remove xpgt files and links to remove the xpgt file from the manifest
When performing any Modify action, update the last_modified column in calibre for the book.

[B]Version 1.1.4[/B] - 07 May 2012
Fix for remove unused images to check encrypted and unencrypted names, skip DRM ebooks
When using the Remove xpgt files and links option, remove trailing whitespace after the removed <link>
When no epubs are modified, ensure the log detail is available to review

[B]Version 1.1.3[/B] - 07 May 2012
Fix for remove unused images to better handle image paths with other characters like commas

[B]Version 1.1.2[/B] - 07 May 2012
Fix for remove unused images to better handle image paths with spaces

[B]Version 1.1.1[/B] - 05 May 2012
Fix for remove unused images to url encode image paths with spaces in them, and handle namespaced images

[B]Version 1.1.0[/B] - 05 May 2012
Move the "Remove margins from Adobe .xpgt files" into a new Adobe section on the UI
Add a "Remove Adobe .xpgt files and links" option for complete clean xpgt file removal
Add a "Remove Adobe resource DRM meta tags" option for stripping DRM <meta> resource identifiers from xhtml content.
Extend "Remove embedded fonts" to also remove @font-face declarations from the CSS and html files
Add a "Remove unused image files" option to remove orphaned images not referenced from the html content to save space.
Add a "Flatten TOC hierarchy in NCX file" option to move all the navPoints to a single level if they are nested.

[B]Version 1.0.2[/B] - 12 Feb 2012
Add ability to smarten punctuation of HTML files

[B]Version 1.0.1[/B] - 23 Nov 2011
When updating metadata, ensure that if calibre has no tags any dc:subject elements are removed
Improve the logging output when removing non dc: metadata elements

[B]Version 1.0.0[/B] - 22 Oct 2011
Preparation for deprecation for db.format_abspath() function in future Calibre for network backends
Merge in remaining CSS/margin changes from Idolse for initial release
Support keyboard shortcut for opening dialog

[B]Version 0.3.5[/B] - 26 Jun 2011
Fix an issue with css margin rewriting that used property names using '_' instead of '-'

[B]Version 0.3.4[/B] - 21 Jun 2011
Fix issue with some NCX files not parsing correctly causing error with OS artifact removal
Remove dependency on the Calibre epub-fix Container class to allow plugin to develop independently
Incorporate ldolse's rewrite CSS margin code to reset page/body margins

[B]Version 0.3.1[/B] - 12 Jun 2011
No longer look in manifest for NCX file, look for physical file instead to get around media-type variant issues
If cancel updating the ePubs, remove the temp directory
Additional mime type for xpgt files as supplied by Idolse

[B]Version 0.3[/B] - 06 Jun 2011
Add ability to remove embedded fonts
Add ability to update the metadata (including cover)
Add an error dialog if the user clicks ok with no options selected
Ensure rebuilding the ePub uses the Calibre zip code as per change to Tweak ePub

[B]Version 0.2.2[/B] - 03 Jun 2011
Treat iTunesArtwork the same as iTunes plist files
Add an option to remove OS artifacts of .DS_Store and thumbs.db files
Ensure that any xml elements inserted in the manifest are "tailed" correctly for indenting
When adding items to manifest, if a .htm* file check for xmlns indicating mimetype of xhtml+xml

[B]Version 0.2.1[/B] - 30 May 2011
Ensure Calibre bookmarks and iTunes files are removed from the manifest if present there

[B]Version 0.2[/B] - 30 May 2011
Add option to remove iTunesArtwork files
Add option to remove non dc: metadata elements
Add option to add/update calibre jackets
Rename Select none to Clear all on dialog

[B]Version 0.1[/B] - 26 May 2011
Initial release of Modify ePub plugin
