41367 Commits

Author SHA1 Message Date
YOKOTA Hiroshi
0c88f7507d Replace ODF thumbnail icon
Icon image comes from LibreOffice.
Replace license tag to GPL-3.
2020-05-15 08:36:00 +09:00
Adam Williamson
f99a9421d4 Fix test_workers timeout response check with Python 3.5+
This check broke with Python 3.5, because REQUEST_TIMEOUT changed
from being simply an integer constant to being an instance of the
new HTTPStatus enum:
https://docs.python.org/3/library/http.html#http.HTTPStatus
on Python 3.5+, `str(http.client.REQUEST_TIMEOUT)` gives
`"HTTPStatus.REQUEST_TIMEOUT"`, not `"408"`.

Simply comparing as `int` not `unicode_type` should work with all
Pythons (2, 3 before 3.5, and 3.5+). `int(REQUEST_TIMEOUT)` gives
you `408` in all cases.

This may not have been noticed till now because this check seems
to be a kind of safety valve: it seems that usually, the
`res = conn.getresponse()` call should raise `socket.timeout`
itself, and this is some sort of backstop in case it doesn't. I
caught this in Fedora Rawhide package builds: it seems that on
most arches, we don't hit the bug because `conn.getresponse()`
raises `socket.timeout` directly, but on 32-bit ARM for some
reason we almost always hit this backstop, and that was causing
the test to fail because of this problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-14 11:03:29 -07:00
Kovid Goyal
a2b61da9c7
Tag browser: Allow adding/removing tags/authors/etc. to the currently selected book by right clicking on that tag and choosing "Apply to selected books". Fixes #1878308 [[Enhancement] Drag to remove tags](https://bugs.launchpad.net/calibre/+bug/1878308) 2020-05-14 18:17:29 +05:30
Kovid Goyal
986aff2890
Manage categories dialog: When editing a value with multiple values selected, change them all
Merge branch 'master' of https://github.com/cbhaley/calibre
2020-05-14 15:48:55 +05:30
Charles Haley
f08e11d237 Use editorDestroyed to detect when to process the selection 2020-05-14 11:02:57 +01:00
Charles Haley
2259db6657 When editing a selection, change the other items' text to be '*** EDITING ***'. 2020-05-14 11:02:26 +01:00
Charles Haley
43715fb699 Enhancement: allow simultaneous editing in the category editor. Select multiple items (tags, whatever), then edit. When you finish editing, all the items will change to the edited value. 2020-05-14 11:02:26 +01:00
Kovid Goyal
4ecfc43d3d
Book list column header context menu: Add an entry to resize the column to fit its current contents. Fixes #1878450 [[Enhancement] Maximize a column width to fit all text](https://bugs.launchpad.net/calibre/+bug/1878450) 2020-05-14 09:49:52 +05:30
Kovid Goyal
e0dbdf3c9c
String changes 2020-05-14 08:32:38 +05:30
Kovid Goyal
9af6fc5d62
pep8 2020-05-13 21:33:10 +05:30
Kovid Goyal
a4bb2b93f0
Show completions when editing tags/authors/series etc in the Tag browser and Manage tags dialog. Fixes #1878302 [[Enhancement] Tag Manager Edit Enhancements](https://bugs.launchpad.net/calibre/+bug/1878302)
Merge branch 'master' of https://github.com/cbhaley/calibre
2020-05-13 21:30:07 +05:30
Charles Haley
e4c914602a Enhancement #1878302: use completion combo boxes when editing in the tag browser, edit_authors, and category editors (tags, publishers, etc) 2020-05-13 16:54:35 +01:00
Kovid Goyal
5ece776a43
Quickview: Double clicking an item now searches for it
Fixes #1878393 [[Enhancement - Quickview] Remove or edit item](https://bugs.launchpad.net/calibre/+bug/1878393)
Merge branch 'master' of https://github.com/cbhaley/calibre
2020-05-13 18:28:37 +05:30
Charles Haley
ae51f6e347 Enhancement 1878393: make double-click on an item in Quickview search for that item in the tag browser. 2020-05-13 13:48:18 +01:00
Charles Haley
156bd97b17 Minor bug fix: fix search in the tag browser breaking the category name at the second colon, and fix search to use a category name only if that name exists. 2020-05-13 13:47:52 +01:00
Kovid Goyal
9c05bb0ff3
py3: Fix sorting on one-one fields that can have None values
Fixes #1878388 [Private bug](https://bugs.launchpad.net/calibre/+bug/1878388)
2020-05-13 17:00:10 +05:30
Kovid Goyal
e40834080e
Viewer/Edit book fuzzy search: Ignore soft hyphens and zero-width joiner characters when searching for text. Fixes #1878046 [[Enhancement] Fuzzy search mode should ignore soft hyphens](https://bugs.launchpad.net/calibre/+bug/1878046) 2020-05-13 14:26:27 +05:30
Kovid Goyal
5e2a83261c
Fix #1878345 [[Enhancement] Translate default input and output profiles](https://bugs.launchpad.net/calibre/+bug/1878345) 2020-05-13 13:08:49 +05:30
Kovid Goyal
fba75eb5ea
Add a delete button to create highlight UI 2020-05-12 21:43:23 +05:30
Kovid Goyal
6b85665584
Confirm on remove highlight 2020-05-12 19:59:40 +05:30
Kovid Goyal
7d38da5243
Ignore highlight actions if the highight UI is open 2020-05-12 19:52:03 +05:30
Kovid Goyal
d6498bf837
Also use same path for creating highlight 2020-05-12 19:24:13 +05:30
Kovid Goyal
f259e86cb3
Use the same code path for jumping to highlights as for editing/removing 2020-05-12 19:20:18 +05:30
Kovid Goyal
501ee2252c
Removing of highlights works 2020-05-12 17:07:39 +05:30
Kovid Goyal
2c45544a16
Add and edit highlight buttons work 2020-05-12 16:10:09 +05:30
Kovid Goyal
9a02eeb811
Double click to jump to highlight 2020-05-12 10:56:40 +05:30
Kovid Goyal
d49c6677e2
Fix a regression viewing/converting PDB files with exceptional charsets 2020-05-12 09:24:59 +05:30
Kovid Goyal
0d44199a65
String changes 2020-05-12 09:20:55 +05:30
Kovid Goyal
23442569d7
Fix #1878123 [[Enhancement - Viewer] Opening the search panel with text selected should add the selected text in the search field](https://bugs.launchpad.net/calibre/+bug/1878123) 2020-05-12 09:12:48 +05:30
Kovid Goyal
1a1c4359dc
Fix #1877965 [Add Bookeen Diva HD](https://bugs.launchpad.net/calibre/+bug/1877965) 2020-05-11 20:01:43 +05:30
Kovid Goyal
1cad050c2f
Fix #1877994 [[Enhancement] Stack Metadata fields to download in succession instead of below each other](https://bugs.launchpad.net/calibre/+bug/1877994) 2020-05-11 19:57:13 +05:30
Kovid Goyal
be194a775a
String changes 2020-05-11 17:25:47 +05:30
Kovid Goyal
ca14390fef
Fix #1877983 [[Enhancement] Remove unnecessary in the Metadata download screen](https://bugs.launchpad.net/calibre/+bug/1877983) 2020-05-11 16:52:56 +05:30
Kovid Goyal
55e3688097
Comments editor: Add an action to the context menu to smarten punctuation. Fixes #1876381 [Feature request: Smarten punctuation in metadata](https://bugs.launchpad.net/calibre/+bug/1876381) 2020-05-10 14:13:54 +05:30
Kovid Goyal
a8649d2e96
Fix #1877749 [Downloading metadata moves view of book list](https://bugs.launchpad.net/calibre/+bug/1877749) 2020-05-10 13:56:08 +05:30
Kovid Goyal
0039537f9b
String changes 2020-05-10 13:10:45 +05:30
Kovid Goyal
319f289851
Edit book: Fix compress images losslessly failing for a few images on windows when there are a lot of images in the book. Fixes #1877066 [Error in Compressing images losslessly](https://bugs.launchpad.net/calibre/+bug/1877066) 2020-05-10 11:01:04 +05:30
Kovid Goyal
b76b0a6c53
Add a clear search history context menu item to all search boxes 2020-05-10 09:50:37 +05:30
Kovid Goyal
555af8ab0e
Update Ars Technica 2020-05-09 21:55:39 +05:30
Kovid Goyal
8c1de2a921
Content server: Remove tweak for ignoring some top-level custom columns in legacy interfaces.
The server should not be configured using tweaks. And all modern
interfaces dont use this code path anyway.
2020-05-09 13:26:09 +05:30
Kovid Goyal
9dde36036f
Add a Fire specific USB connection FAQ 2020-05-09 07:44:05 +05:30
Kovid Goyal
f0a0fb346a
Fix #1877453 [Viewer ToC context menu](https://bugs.launchpad.net/calibre/+bug/1877453) 2020-05-08 09:29:04 +05:30
Kovid Goyal
070a0e3634
String changes 2020-05-07 08:52:13 +05:30
Kovid Goyal
75a0cb950c
Fix a regression in 4.13 that broke the user category editor for all custom columns. Fixes #1877101 [manage user categories not working in 4.15](https://bugs.launchpad.net/calibre/+bug/1877101)
Merge branch 'master' of https://github.com/cbhaley/calibre
2020-05-06 20:52:38 +05:30
Charles Haley
bd5ac85d4b Fix #1877101. Commit 8a86cc1 on 7 March introduced a regression breaking the user category editor for all custom columns. Fixed. 2020-05-06 16:13:20 +01:00
Kovid Goyal
450b64a6f8
Update Washington Post 2020-05-06 07:46:43 +05:30
Kovid Goyal
876623ab2e
Merge branch 'master' of https://github.com/cbhaley/calibre
Fix #1876840 [[Enhancement - Quickview] Minimize Quickview](https://bugs.launchpad.net/calibre/+bug/1876840)
2020-05-06 07:11:37 +05:30
Charles Haley
4c48e548c7 Variation on enhancement request #1876840: make the Quickview window easier to open and close. When the QV window has the focus the "Toggle Quickview" shortcut will "press" the close button. 2020-05-05 21:10:08 +01:00
Kovid Goyal
6b9b298594
FB2 metadata: Add support for setting publisher and publish year 2020-05-05 20:33:47 +05:30
Kovid Goyal
2af560fe8a
Viewer: Fix font size changes not applying to monospaced fonts. Fixes #1876580 [Re: calibre bug 1875021 (Viewer: Some font size cannot be influenced by A+ or A-)](https://bugs.launchpad.net/calibre/+bug/1876580) 2020-05-03 20:03:44 +05:30