Commit Graph

25460 Commits

Author SHA1 Message Date
Kovid Goyal 601f6e87db Update Instapaper 2013-09-01 08:31:39 +05:30
Kovid Goyal fb8ab757f5 newdb: Automatically sanitize ratings tables that contain rating records 2013-08-30 21:21:19 +05:30
Kovid Goyal 6d667dbc8f newdb: Handle databases that have empty author records
Fixes #1218465 [Can not Edit Metadata](https://bugs.launchpad.net/calibre/+bug/1218465)
2013-08-30 17:25:59 +05:30
Kovid Goyal 5b1ba794b1 newdb: Automatically fix broken link tables
Fixes #1218783 [Beim Starten von Calibre bleibt das Startlogo bestehen und Pythons meldet einen Fehler.](https://bugs.launchpad.net/calibre/+bug/1218783)
2013-08-30 16:06:27 +05:30
Kovid Goyal e35a7bd6fb ... 2013-08-30 15:06:29 +05:30
Kovid Goyal ae439f110e Fix for broken file type plugins
Prevent file type plugins that spin the event loop by displaying a
dialog from causing locking errors. The lock is now acquired only after
the file type plugin has run on import.
2013-08-30 14:58:57 +05:30
Kovid Goyal 610f29d223 Use sanitize file name instead of ascii_filename when saving to disk from device 2013-08-30 11:18:33 +05:30
Kovid Goyal 9d73fd3750 Fix save to disk with books on an MTP device not working on windows. 2013-08-30 09:53:31 +05:30
Kovid Goyal 394ef2d785 version 1.1.0 v1.1.0 2013-08-30 08:51:38 +05:30
Kovid Goyal 726e4cd5fc Test for sort by id 2013-08-30 08:50:41 +05:30
Kovid Goyal fd3978d9d1 Fix warnings from pyflakes 2013-08-30 08:46:50 +05:30
Kovid Goyal e933f57798 newdb: Do not error out if the db contains null entries in the authors table 2013-08-30 08:27:28 +05:30
Kovid Goyal 6908eea3e9 Ensure that the all_ids() call does not cause locking issues 2013-08-30 08:10:01 +05:30
Kovid Goyal c10d73e5c6 multisort: Sort only once on any given field 2013-08-29 12:33:25 +05:30
Kovid Goyal c16d95877e ... 2013-08-29 11:28:23 +05:30
Kovid Goyal 746c268928 newdb: Fix refreshdb not working in GUI
Fix calibredb not updating the running calibre instance properly.
Fixes #1218177 [Running app does not refresh list when book added with calibredb add](https://bugs.launchpad.net/calibre/+bug/1218177)
2013-08-29 11:24:17 +05:30
Kovid Goyal f4de88d780 Refactor HTML metadata parser
Rewrite the HTML metadata parser to make it faster and more robust.
Fixes #1217751 [adding XHTML book: some METADATA  is not used](https://bugs.launchpad.net/calibre/+bug/1217751)
2013-08-29 10:54:24 +05:30
Kovid Goyal 0feb5749a0 ... 2013-08-28 16:26:46 +05:30
Kovid Goyal 6dafe81eaf VFR Magazine by Krittika Goyal 2013-08-28 16:00:27 +05:30
Kovid Goyal f1d71a068e newdb: Speed up multisort() by lazy evaluation
The sort keys for the sub-sorted columns are now only evaluated on demand.
The common case is that the keys from the first column will differ,
therefore we can speed up sorting on average by delaying evaluation of
the sort keys for the second and later columns, only evaluating them
when the sort keys of the first column for a particular book differ.
The gains will be particularly noticeable for columns where calculating
the sort key is expensive, like composite columns or the series column.
2013-08-28 15:58:32 +05:30
Kovid Goyal 20817c3992 ... 2013-08-28 10:17:49 +05:30
Kovid Goyal 9f09120346 Fix #1217623 [Set Undefined 'date'](https://bugs.launchpad.net/calibre/+bug/1217623) 2013-08-28 09:19:56 +05:30
Kovid Goyal 4954e91a62 Update Daily Mirror 2013-08-28 08:04:15 +05:30
Kovid Goyal 097ea82129 E-book viewer: Indicate if a KF8 file is a joint MOBI 2013-08-27 18:54:25 +05:30
Kovid Goyal d5a7efdefa 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.
2013-08-27 18:46:04 +05:30
Kovid Goyal 838c832f01 Move delete to recycle bin into a separate process on windows
This will hopefully fix any remaining locking errors on windows.
2013-08-27 18:40:02 +05:30
Kovid Goyal 4343fc777b 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
2013-08-27 15:20:32 +05:30
Charles Haley c7d5ac84e7 Fix bug #1217096 2013-08-27 11:36:40 +02:00
Kovid Goyal 41bcffea92 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.
2013-08-27 14:23:42 +05:30
Kovid Goyal 121469daa5 Fix a regression that broke downloading news when output format is set to PDF 2013-08-27 10:27:27 +05:30
Kovid Goyal 4751aa1286 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.
2013-08-27 09:38:37 +05:30
Kovid Goyal 40cf046a07 Merge pull request #70 from t3d/stores
Update affiliate links
2013-08-26 20:50:06 -07:00
Kovid Goyal c281600581 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.
2013-08-27 09:18:36 +05:30
Kovid Goyal f542b8babe Fix error in MTP driver debug on some non english windows locales 2013-08-27 08:52:08 +05:30
Tomasz Długosz efc4ac3446 use ads4books in legimi plugin 2013-08-26 22:06:24 +02:00
Tomasz Długosz b0d36402c2 use ads4books in ebookpoint plugin 2013-08-26 21:57:13 +02:00
Kovid Goyal e469703793 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)
2013-08-26 15:37:52 +05:30
Kovid Goyal aad985ad06 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.
2013-08-26 15:30:44 +05:30
Kovid Goyal 8a1f46a389 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)
2013-08-26 15:14:09 +05:30
Kovid Goyal ed35c29f69 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)
2013-08-26 14:27:27 +05:30
Kovid Goyal 106f7d5b34 Ensure no comments in the apsw dump cause problems 2013-08-26 13:48:12 +05:30
Kovid Goyal a9992f90b8 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)
2013-08-26 09:25:11 +05:30
Kovid Goyal a94af603ff ... 2013-08-26 09:18:12 +05:30
Kovid Goyal 819f4b1daa Retry cleanup to avoid errors due to transient file locks on windows 2013-08-25 18:47:47 +05:30
Kovid Goyal 308b7cfb23 Add a prominent reference to the user manual in the adv search dialog 2013-08-25 17:36:14 +05:30
Kovid Goyal 138de9b699 newdb: Speed up S&R in the bulk metadata edit dialog 2013-08-25 17:30:34 +05:30
Kovid Goyal 1ea50f3d40 ... 2013-08-25 14:16:35 +05:30
Kovid Goyal 50ce1c08af ... 2013-08-25 14:13:52 +05:30
Kovid Goyal 302b68135f Print out how long each test takes and slowest tests 2013-08-25 14:10:03 +05:30
Kovid Goyal ec1c6d43cf Fis reset tweaks in test not applying to field_metadata in Metadata objects 2013-08-25 12:53:56 +05:30