...
newdb: Handle renaming of many-many items when new name contains separator

Fix a regression that broke splitting of multiple valued field like tags
into many items during a rename. Fixes #1216699 [Renaming tags and adding "," to split tags does not work anymore](https://bugs.launchpad.net/calibre/+bug/1216699)
Ensure no comments in the apsw dump cause problems
Remember last used sort when sorting on an unsorted col

Book list: When sorting on a currently unsorted column, use the last
used sort for that column, instead of always sorting in ascending order.
Fixes #1216714 [[Feature request] I'd like Calibre to memorize the sorting order of a column](https://bugs.launchpad.net/calibre/+bug/1216714)
EPUB metadata: Handle multiple title elements when setting titles

EPUB metadata: When changing the title in an EPUB 2.0 file that has
multiple titles, remove the extra titles. Fixes #1211949 [Private bug](https://bugs.launchpad.net/calibre/+bug/1211949)
Do not delete titles in EPUB 3

In EPUB 3 titles are not titles they can be series or sub titles or
hobgoblins and we have no well defined way to find out what they are, so
just replace the first title and call it quits.
Fix content server error if return to top level after using virt libs

Fix content server giving an error if you return to the top level page
after using the virtual libraries. Fixes #1216838 [500 Internal Server Error  The server encountered an unexpected condition which prevented it from fulfilling the request.](https://bugs.launchpad.net/calibre/+bug/1216838)
use ads4books in ebookpoint plugin
use ads4books in legimi plugin
Fix error in MTP driver debug on some non english windows locales
newdb: Optimize setting the same value as before for author data

Do not mark books as dirty if the same value as before is set for
author_sort or author_link.
Merge pull request #70 from t3d/stores

Update affiliate links
newdb: Fix temp duplicate catalog entries in book list

Creating a catalog with an already existing catalog in the library would
cause a temporary duplicate entry in the book list (the entry would go
away on restart. Also fix the author sort for catalogs generated in the
AZW3 format not being correct.
Fix a regression that broke downloading news when output format is set to PDF
newdb: Fix replacing formats in a book creating orphans

When replacing formats in a book with a very long title+authors on
windows, newdb could leave behind the old format file, because the
filename shortening algorithm has changed. Handle that case.
Fix bug #1217096
newdb: Fix timezone problem in custom column date edit widgets

Fix a regression that could cause the dates in custom date-type columns
to change in some timezones when using th edit metadata dialog to make
unrelated changes. Fixes #1217096 [After updating metadata (i.e. new cover) home made date column (YYYY) is adjusted too](https://bugs.launchpad.net/calibre/+bug/1217096)

Merge branch 'master' of https://github.com/cbhaley/calibre
Move delete to recycle bin into a separate process on windows

This will hopefully fix any remaining locking errors on windows.
Move apsw_shell.py as the build system does not support modules in src/

And I have better things to do than fix and test the build system.
E-book viewer: Indicate if a KF8 file is a joint MOBI