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
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
Wireless device: remove books from the metadata cache that are no longer on the device.