25389 Commits

Author SHA1 Message Date
Kovid Goyal
727944a4b5 Update Telegraph UK 2013-08-06 21:51:56 +05:30
Kovid Goyal
a0fb42865d Add an icon for the sort by context menu entry 2013-08-06 21:46:46 +05:30
Kovid Goyal
5c7124b999 Ensure that text is anti-aliased in the grid view 2013-08-06 16:52:42 +05:30
Kovid Goyal
a33ce97c17 Search highlighting for the grid view 2013-08-06 16:48:20 +05:30
Kovid Goyal
5f518fba1d Jot Down by desUbiKado 2013-08-06 15:56:37 +05:30
Kovid Goyal
66c5a1072b newdb: Workaround windows spinning the event loop when deleting files
Windows, being deigned by the geniuses that it is, spins the event loop
while deleting files to the recycle bin, and there exists *no other way* to
move files to the Recycle Bin, since the Recycle Bin format is not
documented or stable.

So we move only files out of the library in the thread calling
delete_books(). The files are moved to the Recycle Bin in a worker
thread. This has two advantages:

1) Faster deletes, since the main thread does not have to wait on the
Recycle Bin (some windows' installs are so badly messed up that moving a
single file to the Bin takes seconds)

2) Restoring deleted files from the bin will not restore them inside the
calibre library folder, where they become orphed. They will be restored
elsewhere.

Disadvantages:

1) If the user deletes a lot of books and quits calibre, they might not
be finished deleting on quit, this can probably be mitigated by popping
up a warning at shutdown
2013-08-06 15:52:27 +05:30
Kovid Goyal
7b7f5c81dc newdb: More efficient deleteing of multiple books 2013-08-06 13:13:29 +05:30
Kovid Goyal
cc7c53289f Ensure the recycle bin is not used while running tests 2013-08-06 13:08:40 +05:30
Kovid Goyal
44545b0c34 ... 2013-08-06 12:47:48 +05:30
Kovid Goyal
b458cf07c4 Another test fix for windows 2013-08-06 12:41:47 +05:30
Kovid Goyal
2affa5bf4e Fix test failure on windows because of slowness 2013-08-06 12:37:00 +05:30
Kovid Goyal
17dcc39aff Fix test failures due to file locking on windows 2013-08-06 12:31:47 +05:30
Kovid Goyal
37484fb02c Fix refresh() test failling on OS X because of file system resolution 2013-08-06 12:04:38 +05:30
Kovid Goyal
562f8f16b4 newdb: Fix move_library() broken on case-insenstive file systems
get_top_level_move_items() was not checking that the items it returned
actually existed on case-insensitive file systems. This bug is actually
present in olddb as well.
2013-08-06 11:58:16 +05:30
Kovid Goyal
666248454b Move lock testing into the main test suite 2013-08-06 07:44:19 +05:30
Kovid Goyal
cf293a6232 Remove the unused RecordLock class 2013-08-06 07:39:04 +05:30
Kovid Goyal
beca8ecf79 A lot more verbose lock debugging 2013-08-06 07:37:16 +05:30
Kovid Goyal
768cd4d887 Plugin updater dialog: Use index names
Use index names as the key for plugins rather than names from the
plugin zip file, as deprecated plugins sometimes have the same name in
the zip file, but different names in the index.
2013-08-05 22:33:05 +05:30
Kovid Goyal
8d3fd8b05c newdb: Fix true/false searches on numeric columns 2013-08-05 22:07:24 +05:30
Kovid Goyal
602c3d22a5 newdb: Handle duplicate values when setting many-many fields
Fixes an error when merging book records that have the same tags.
2013-08-05 21:43:29 +05:30
Kovid Goyal
31666454f3 Merge branch 'master' of github.com:kovidgoyal/calibre 2013-08-05 21:07:52 +05:30
Kovid Goyal
c5baa30f7b ... 2013-08-05 21:07:41 +05:30
Kovid Goyal
efea963e87 Merge pull request #56 from sylvaindurand/master
New icon for Le Monde: Edition abonnés recipe
2013-08-05 08:37:13 -07:00
Kovid Goyal
157184a21d Merge pull request #55 from sylvaindurand/patch-1
Update Le Monde: Typography, error message and description
2013-08-05 08:36:44 -07:00
Sylvain Durand
71c7489cc1 New icon for Le Monde: Edition abonnés 2013-08-05 17:09:22 +02:00
sylvaindurand
3cf7988c25 Typography, error message and description
- french typography (apostrophes, guillemets);
- error message if using a free account (which can't download the newspaper);
- description.
2013-08-05 16:04:04 +02:00
Kovid Goyal
10b4b9d39c Show authors in addition to title when cover not available 2013-08-05 14:13:05 +05:30
Kovid Goyal
0e64b0c886 Make spacing between covers adjustable 2013-08-05 14:08:54 +05:30
Kovid Goyal
1121be459f Allow running with olddb 2013-08-05 13:43:06 +05:30
Kovid Goyal
579fd8a485 ... 2013-08-05 13:43:06 +05:30
Kovid Goyal
fb0410b04c D'nD fixes
Fix dragging a single book in the book list using the multi-book icon.
Also use a class decorator for the API, looks nicer :)
2013-08-05 13:43:06 +05:30
Kovid Goyal
85ef13a6ff Animate double clicks in the grid view 2013-08-05 13:43:06 +05:30
Kovid Goyal
a914e95d9f Ensure that QPixmap objects are never deleted on non-GUI threads 2013-08-05 13:43:06 +05:30
Kovid Goyal
0541a118e6 Make the cover grid customizable 2013-08-05 13:43:06 +05:30
Kovid Goyal
5737ead466 pep8 2013-08-05 13:43:06 +05:30
Kovid Goyal
ae3aa44596 Port preserve_view_state to work with the grid view 2013-08-05 13:43:06 +05:30
Kovid Goyal
5522a2bf94 Drag 'n drop for the grid view
Refactor the D'nD code from the main view so that it can be re-used for
the grid view directly.
2013-08-05 13:43:06 +05:30
Kovid Goyal
0c427b046b Add sorting to grid view context menu 2013-08-05 13:43:06 +05:30
Kovid Goyal
f17708760d Double click to read in grid view 2013-08-05 13:43:06 +05:30
Kovid Goyal
0b70899dfd Add context menu to grid view 2013-08-05 13:43:06 +05:30
Kovid Goyal
d97ca53593 Scroll per pixel 2013-08-05 13:43:06 +05:30
Kovid Goyal
3ae7205720 Speed up cover rendering by caching QPixmaps 2013-08-05 13:43:06 +05:30
Kovid Goyal
2e6b37ee7f Document shortcut for toggling grid view 2013-08-05 13:43:06 +05:30
Kovid Goyal
7717fe6d05 Sync the main and grid views 2013-08-05 13:43:06 +05:30
Kovid Goyal
b95b0942da Remember grid view state 2013-08-05 13:43:05 +05:30
Kovid Goyal
f3bb9ea4ed Register cover caches with the db 2013-08-05 13:43:05 +05:30
Kovid Goyal
0b9fe18d91 Grid view renders 2013-08-05 13:43:05 +05:30
Kovid Goyal
fe363c95f5 Wire up the grid view button 2013-08-05 13:43:05 +05:30
Kovid Goyal
0889f6f0c6 Shortcut for grid view 2013-08-05 13:43:05 +05:30
Kovid Goyal
3d7b8b939e Start work on cover grid 2013-08-05 13:43:05 +05:30