33789 Commits

Author SHA1 Message Date
Kovid Goyal
e4cce88002
Dont use deprecated QApplication.fontMetrics() 2021-01-13 18:35:35 +05:30
Kovid Goyal
1d89aa737a
Fix detection of missing speech-dispatcher on linux 2021-01-12 07:15:49 +05:30
Kovid Goyal
e91ebda5e8
When detecting plugin zip safety dont use a hardcoded list of native code extensions 2021-01-11 07:19:25 +05:30
Kovid Goyal
31a1ce8d4a
Fix #1910904 [[Enhancement] Use a Cancel button instead of a Discard button](https://bugs.launchpad.net/calibre/+bug/1910904) 2021-01-10 16:42:34 +05:30
Guido Falsi
fc9a480cd4 Use python 3.7 compatible syntax.
The := operator was introduced in python 3.8. I don't think making calibre incompatible with previous python versions is worth the use of the new operator here.

FreeBSD at least uses python 3.7 by default and this would cause problems in providing calibre to users, and require them to custom compile software to get it.
2021-01-09 11:44:07 +01:00
Kovid Goyal
986408809c
Bulk metadata edit: Fix regression that inverted the meaning of the case sensitivity setting in the Search & replace tab 2021-01-09 06:25:30 +05:30
Kovid Goyal
78a001b335
calibredb list: Fix incorrect output when redirecting to file
py3 compat, caused by mix of text and binary output streams.
2021-01-09 06:08:51 +05:30
Charles Haley
84b0c4a318 Bug #1910662: Composite column shows as one string 2021-01-08 10:27:31 +00:00
Kovid Goyal
b33ea2fcd3
Add a reference to Qt bug for mediaplaypause 2021-01-08 14:40:37 +05:30
Kovid Goyal
8eb56f4e1d
version 5.9.0 2021-01-08 08:32:31 +05:30
Kovid Goyal
f3e5461d00
Remove ctypes based sendfile wrapper since os.sendfile is available in py3 2021-01-07 10:39:59 +05:30
Kovid Goyal
2b08beb226
Fix #1909314 [[Enhancement - Content server] Delete book by pressing Delete key on the Book details page](https://bugs.launchpad.net/calibre/+bug/1909314) 2021-01-06 18:57:49 +05:30
Kovid Goyal
54c6c6e3d7
Add a download button to the export highlights dialog 2021-01-06 15:09:49 +05:30
Kovid Goyal
13d829c74a
Add links in markdown export for browser viewer 2021-01-06 14:57:06 +05:30
Kovid Goyal
fa85e012dd
Content server viewer: Allow exporting all highlights
Fixes #1909529 [Browser viewer: Highlight management](https://bugs.launchpad.net/calibre/+bug/1909529)
2021-01-06 14:38:14 +05:30
Kovid Goyal
a30d4be28d
Merge branch 'patch-1' of https://github.com/madphysicist/calibre 2021-01-06 08:34:05 +05:30
Joseph Fox-Rabinovitz
61b88e5288
Code formatting issue in comment
Original rendering here: https://manual.calibre-ebook.com/plugins.html#catalog-plugins
2021-01-05 16:24:40 -06:00
Kovid Goyal
ed0f7e9684
Add an alias fo rthe play/pause toggle key 2021-01-05 16:22:07 +05:30
Kovid Goyal
78e967edc6
py3 compat: Fix diff on non HTML files not working 2021-01-05 08:42:25 +05:30
Kovid Goyal
a6840fb462
pep8 2021-01-04 22:15:31 +05:30
Charles Haley
a2411ef0a0 Add hierarchical search to the tag browser context menu 2021-01-04 15:57:03 +00:00
Kovid Goyal
23f0086ab7
Cancel any speech in progress when hiding the selection_bar after triggering the speak aloud action on it 2021-01-03 22:29:51 +05:30
Charles Haley
a965d310f0 Enhancement #1909892: Add context menu actions to search and filter items in Category editor 2021-01-03 12:32:29 +00:00
Charles Haley
746ae8e37a Add new template function list_split. Fix python 3 imcompatibility getting source code from the built-in functions class. 2021-01-03 11:13:59 +00:00
Charles Haley
5a3d65a132 Add a method to db.cache to return the size of a format stored in the database table 'data'. With this method one can compare the real size to the stored size. 2021-01-02 15:07:21 +00:00
Kovid Goyal
c4c1c5f841
Amazon metadata download: Ignore ' and " in titles when matching results 2021-01-01 19:38:42 +05:30
Charles Haley
b2f9b48a05 Bug #1909786: add drop-down list to preference "Tag browser: Categories not to partition" 2021-01-01 10:51:23 +00:00
Charles Haley
4131efa270 Fix for Bug #1909738: Strangeness with hierarchical searches
Because it is useful I decided to continue to permit hierarchy for saved searches even though behavior will be a bit strange.

The following behaviors exist and will not be changed.
- Renames will not rename all items in the the hierarchy.
- Intermediate nodes that aren't 'real' searches will not offer the rename option.
- Drag & drop is disabled.

In addition I changed the behavior of "Add search" in "Manage saved searches". It used to act like a rename if the target name already exists, throwing away the old search expression. It now refuses.
2020-12-31 12:51:07 +00:00
Kovid Goyal
1eb424dcb7
Edit book: Errors in loading third party plugins should not prevent editor from starting 2020-12-29 21:52:30 +05:30
Charles Haley
e62a22f000 Bug #1909507: Enhancement: permit disambiguation of columns such as formats and #formats in rules editor. 2020-12-29 09:17:29 +00:00
Charles Haley
d61540d065 Bug #1909442: saved searches don't work in the device view 2020-12-28 16:16:29 +00:00
Kovid Goyal
94d68db7af
LRF Output: Fix conversion broken in calibre 5 when font size rescaling is active. Fixes #1909224 [Error al convertir a LRF](https://bugs.launchpad.net/calibre/+bug/1909224) 2020-12-28 19:46:13 +05:30
Kovid Goyal
568e9851a4
py3 compat 2020-12-28 19:28:31 +05:30
Kovid Goyal
fe1886393b
Use a monotonic clock 2020-12-27 19:26:10 +05:30
Kovid Goyal
ca6e78008d
Merge branch 'master' of https://github.com/davidfor/calibre 2020-12-27 18:04:37 +05:30
Kovid Goyal
51a21c3887
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1909380 [Tag Browser: Drag & drop doesn't give VL prompt](https://bugs.launchpad.net/calibre/+bug/1909380)
2020-12-27 18:03:40 +05:30
Kovid Goyal
1bec527eb7
Ensure timeouts are respected by all fetches in BasicNewsRecipe 2020-12-27 18:02:48 +05:30
Charles Haley
74e6a375fc Enhancement #1909380: make drag & drop give VL prompt 2020-12-27 11:31:30 +00:00
David
28e36d7efd Fix handling of subtitle option in KoboTouch driver 2020-12-27 22:24:37 +11:00
Kovid Goyal
0e19f6a399
Use an up-to-date UA when downloading news 2020-12-27 12:56:45 +05:30
Kovid Goyal
e0ec185ea2
Improve random user agent selection
Dont hardcode a default user agent. Also, when picking randomnly pick
according to relative popularity.
2020-12-27 11:12:47 +05:30
Kovid Goyal
18a3d945c6
Get common user agents from the calibre website logs 2020-12-27 10:21:14 +05:30
Kovid Goyal
ffdf794246
Allow re-use of method to get any URL 2020-12-27 10:18:01 +05:30
Charles Haley
10e227c70c Bug 1909339]: Enhancement Request: Rules editors: Button to open icons folder 2020-12-26 10:14:53 +00:00
Charles Haley
530238b2fb Bug #1909332: Duplicated rules appear to overwrite next item in list Edit
Actually the duplicated rule was exchanged with the last rule.
2020-12-26 09:22:12 +00:00
Kovid Goyal
d7a7dd755f
show-book -> view-book in markdown highlights export 2020-12-26 14:33:29 +05:30
Charles Haley
a92ee3ecb5 Bug #1909258: Fix for tags-like composite columns "shown in the tag browser" not considered categories in quickview. 2020-12-25 21:11:38 +00:00
Charles Haley
301844ae38 Bug #1909293:Composite tag-like column: problem with case 2020-12-25 20:38:47 +00:00
Kovid Goyal
c071bb5be1
Fix dropping files onto book details causing an error if the confirmation dialog is disabled. Fixes #1909291 [Cannot add additional formats via drag-and-drop in 5.8.1](https://bugs.launchpad.net/calibre/+bug/1909291) 2020-12-25 18:30:06 +05:30
Kovid Goyal
673f779b4c
Forgot to bump version number 2020-12-24 17:23:48 +05:30