Commit Graph

40403 Commits

Author SHA1 Message Date
Kovid Goyal dc4021d153 Simplify ratings editor widget
Hopefully also Fixes #1879057 [Strange symbols appearing when changing the rating](https://bugs.launchpad.net/calibre/+bug/1879057)
2020-05-17 19:40:26 +05:30
Kovid Goyal d46dfacac2 Use standard Qt table sort indicators in the manage authors dialog 2020-05-17 19:02:40 +05:30
Kovid Goyal de1041ff30 Use the modifiedicon to indicate modified cells 2020-05-17 15:13:16 +05:30
Kovid Goyal db14695c6e Tag browser: Add options in Preferences->Look & feel->Tab browser to hide empty categories and als to have the Find in the Tb browser show all matches instead of jumping from match to match.
Tag browser: The Find function for searching for items in the Tag
browser can now do exact matching by using = as a prefix.

Manage authors dialog: Add a checkbox to show only authors from the
current Virtual library. Fixes #1878940 [[Enhancement] Add Show only available items in current Virtual library option in the Manage authors screen](https://bugs.launchpad.net/calibre/+bug/1878940)

Manage authors dialog: Show a modified icon next to entries that have
changed

Merge branch 'master' of https://github.com/cbhaley/calibre
2020-05-17 15:04:23 +05:30
Kovid Goyal 79a7d9885f Now that there is a unicode symbol for half stars, use it 2020-05-17 12:17:38 +05:30
Charles Haley 682ce7f233 Small change so that the saved search box in create VL isn't empty. 2020-05-16 18:13:55 +01:00
Charles Haley c9314ccc10 Change to my last fix. This way preserves interface compatibility by not changing the constructor. 2020-05-16 18:12:52 +01:00
Charles Haley dbf596e421 Fix not being able to reset a collapsed tag browser with the X in the find box. 2020-05-16 16:43:13 +01:00
Charles Haley b2e108042b Enhancement #1878940: allow restricting manage authors to the current virtual library.
Other improvements:
- Get rid of sort buttons, instead sorting by clicking on the header
- Support sorting by the author link column
- Add an "edited" icon to any cell that has been changed
2020-05-16 15:39:00 +01:00
Kovid Goyal 47f3283ab1 Fix #1878992 [[Enhancement - Virtual library] Select and deselect entries by clicking when creating a Virtual library based on a category](https://bugs.launchpad.net/calibre/+bug/1878992) 2020-05-16 16:34:01 +05:30
Charles Haley 2ff634034e Tag browser 'Find' improvements:
- Add exact match searching by using '=' as prefix, as in "=Science Fiction"
- Add option to show only categories containing items, as if a '*' prefix had been used
- Override the collapse option using a prefix of ':', as in :foo
- Make Quickview use exact match searching when items are double-clicked
2020-05-16 11:49:29 +01:00
Kovid Goyal 41db0eb6e3 Fix #1879045 [[Enhancement] Rename E-book Viewer, E-book Editor and LRF Viewer](https://bugs.launchpad.net/calibre/+bug/1879045) 2020-05-16 15:25:31 +05:30
Kovid Goyal f6d1097ae2 Fix #1879040 [[Viewer] Right clicking in the Viewer opened without a book closes it](https://bugs.launchpad.net/calibre/+bug/1879040) 2020-05-16 15:18:53 +05:30
Kovid Goyal 6cecd089ee Update ABC News 2020-05-16 15:05:19 +05:30
Kovid Goyal fefe7f10ed Book details panel contenxt menu: Add an action to open the Book details window. Fixes #1878768 [[Enhancement] Open separate popup window by right clicking in Book details panel](https://bugs.launchpad.net/calibre/+bug/1878768) 2020-05-16 14:09:36 +05:30
Kovid Goyal 19154e17a0 Viewer: Add Next and Previous buttons in the bookmarks panel. Fixes #1878691 [[Enhancement - Viewer] Previous and Next buttons for the Bookmark panel](https://bugs.launchpad.net/calibre/+bug/1878691) 2020-05-16 13:30:30 +05:30
Kovid Goyal bd49530b71 Ensure nested and tabbed docks are allowed in the viewer 2020-05-16 13:11:59 +05:30
Kovid Goyal 500d3ae983 Fix #1879031 [[Enhancement - Viewer] Make the text look more lika a title](https://bugs.launchpad.net/calibre/+bug/1879031) 2020-05-16 12:46:07 +05:30
Kovid Goyal b3b6272e49 String changes 2020-05-16 12:29:31 +05:30
Kovid Goyal b121e7d4f5 Conversion: Change the default white-space CSS for <pre> tags to pre-wrap as this suits ebooks better (most ebook readin programs dont do
horizontal scrolling in paged mode well).
2020-05-16 10:04:02 +05:30
Kovid Goyal ff6747d0a4 FB2 metadata: Fix setting dates before 1900 failing 2020-05-16 08:06:25 +05:30
Kovid Goyal 82e43ba7fd Independent Australia by Pat Stapelton 2020-05-15 16:33:58 +05:30
Kovid Goyal 966d4303b1 Merge branch 'master' of https://github.com/cbhaley/calibre 2020-05-15 15:09:55 +05:30
Kovid Goyal f5be77f77a String changes 2020-05-15 15:04:25 +05:30
Charles Haley 15746713f7 Collapse tag browser categories when doing a filtered tag browser search as in *foo. 2020-05-15 10:32:57 +01:00
Kovid Goyal a1a27fe58f string changes 2020-05-15 12:36:50 +05:30
Kovid Goyal 0e0fd406d8 String changes 2020-05-15 10:33:32 +05:30
Kovid Goyal b7d82235b8 Update ABC News 2020-05-15 09:41:15 +05:30
Kovid Goyal 9015530224 and again 2020-05-15 09:15:09 +05:30
Kovid Goyal 069e3e69b4 ... 2020-05-15 09:13:10 +05:30
Kovid Goyal 64b56e4aec Move hosting script to python 3 2020-05-15 09:09:23 +05:30
Kovid Goyal 86300075cf Merge branch 'master' of https://github.com/davidfor/calibre v4.16.0 2020-05-15 07:57:50 +05:30
David 53dc28c1a3 Update KoboTouch driver for upcoming firmware release
Kobo will be updating the firmware soon. There are no changes except to update the supported firmware and database version numbers.
2020-05-15 12:21:08 +10:00
Kovid Goyal f806f3c192 version 4.16.0 2020-05-15 07:38:54 +05:30
Kovid Goyal 0217375bcf Merge branch 'fix-test-workers' of https://github.com/AdamWill/calibre 2020-05-15 07:27:28 +05:30
Kovid Goyal 5a1173ddab Merge branch 'odf-thumbnail-icon' of https://github.com/qykth-git/calibre 2020-05-15 07:25:17 +05:30
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