When installing plugins, if an error occurs while installing the plugin, the plugin was not automatically un-installed due to a typo.
Edit book: Fix check book failling in the presence of empty <style/> tags. Fixes #1292841 [Edit book / check crashes on empty inline style tag](https://bugs.launchpad.net/calibre/+bug/1292841)
Edit book: Fix syntax highlighting in HTML files breaks if the closing of a comment or processing instruction is a tthe start of a new line.
Edit Book: When inserting hyperlinks, allow specifying the text for the hyperlink in the insert hyperlink dialog
If the user closes calibre while connected to a wireless device, cleanly disconnect and flush the metadata cache.
Merge branch 'master' of https://github.com/cbhaley/calibre
Update Wired Daily Edition
Edit book: Fix a regression in the previous release that broke saving a copy of the current book on linux and OS X
Edit Book: Preview panel: Add a copy selected text action to the context menu
Edit Book: Fix saving of empty files not working
Fix side margin not defined in paged mode
E-book viewer: Fix right margin for last page in a chapter sometimes disappearing when changing font size. Fixes #1292822 [Right margin of text when resize in reader](https://bugs.launchpad.net/calibre/+bug/1292822)
Update TIME

Fixes #1292474 [Private bug](https://bugs.launchpad.net/calibre/+bug/1292474)
...
Edit book: When generating inline Table of Contents, mark it as such in the guide section of the OPF. Fixes #1287018 [ebook-edit should add coresponding guide reference element <reference href="Text/toc.xhtml" type="toc" title="TOC" /> after adding inline toc.xhtml](https://bugs.launchpad.net/calibre/+bug/1287018)
Remember no more than 100 search expressions in the history
Sort items in completion popups for history by MRU
Edit Book: New tool to specify semantics in EPUB books (semantics are items in the guide such as preface, title-page, dedication, etc.). Fixes #1287025 [[ebook-edit] Implement of defining more reference types of guide section](https://bugs.launchpad.net/calibre/+bug/1287025)
Wireless device: remove books from the metadata cache that are no longer on the device.
Update the CC production release version number