Commit Graph

43585 Commits

Author SHA1 Message Date
Kovid Goyal e9ea68aee2 Annotations browser: Show highlight color in the preview panel. Fixes #1934204 [Enhancement Request: Display highlight colour in Annotation Browser](https://bugs.launchpad.net/calibre/+bug/1934204) 2021-07-05 10:37:51 +05:30
Kovid Goyal ae81ae2b72 Handle passing None to unicode_normalize 2021-07-05 10:35:09 +05:30
Kovid Goyal 0c03155074 Make line edit clear buttons available in more places. Fixes #1933538 [[Enhancement] Add clear buttons to the fields in the Convert book window](https://bugs.launchpad.net/calibre/+bug/1933538) 2021-07-05 09:12:17 +05:30
Kovid Goyal 8eb05c2a69 Fix empty cover browser caption template handling 2021-07-05 08:06:42 +05:30
Kovid Goyal 16ca7f1987 Update National Geographic 2021-07-04 15:33:14 +05:30
Kovid Goyal c621941789 News download: Fix urls with spaces in them not being downloaded since calibre 5.0
py3: Yet another stupid API
2021-07-04 15:30:33 +05:30
Kovid Goyal 1b240e8882 Update Handelsblatt
Merge branch 'handelsblatt-jul2021' of https://github.com/aimylios/calibre
2021-07-04 13:18:49 +05:30
Aimylios 882c6d5c51 Update Handelsblatt 2021-07-04 09:31:03 +02:00
Kovid Goyal ab6d8bbd9f Update Huffington Post 2021-07-03 13:17:36 +05:30
Kovid Goyal 3e68ccd7a2 Removed non-working recipe 2021-07-03 12:54:29 +05:30
Kovid Goyal b1c714fc34 Output GHA fold markers when building 2021-07-02 09:29:44 +05:30
Kovid Goyal 566f087ccb Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1934211 [[Enhancement] Show warning in User category editor](https://bugs.launchpad.net/calibre/+bug/1934211)
2021-07-01 21:19:26 +05:30
Charles Haley 8b25db556b Enhancement #1934211: Show warning in User category editor 2021-07-01 16:46:37 +01:00
Kovid Goyal d5b6005a34 String changes 2021-07-01 17:22:44 +05:30
Kovid Goyal 37a8413c9a Fix #1467 (Change MOBI EXTH cdeType metadata to EBOK if it's not EBOK) 2021-07-01 08:22:34 +05:30
Kovid Goyal f893013435 py3: Fix regression causing uuid to not be inserted as ASIN 2021-06-30 22:10:40 +05:30
Kovid Goyal 6ab3534103 Edit metadata dialog: Allow holding ctrl and clicking the item editor buttons to instead open the manage dialog. Fixes #1934043 [[Enhancement] Right click on item in the Manage items window to open the window to manage it](https://bugs.launchpad.net/calibre/+bug/1934043)
Merge branch 'master' of https://github.com/cbhaley/calibre
2021-06-30 18:15:31 +05:30
Charles Haley d4187664af Enhancement #1934043: Right click on item in the Manage items window to open the window to manage it.
One can now bring up the Manage ??? dialog by holding the SHIFT or CTRL key when clicking the button. If you want a particular item then copy the text to the clipboard before opening the editor then pasting it into the search or filter box.
2021-06-30 13:39:05 +01:00
Kovid Goyal ac0969b9e9 Workaround for some element nodes not having dataset 2021-06-30 07:41:45 +05:30
Kovid Goyal 9a6b7ae923 Merge branch 'cleanup' of https://github.com/eli-schwartz/calibre 2021-06-30 07:30:28 +05:30
Kovid Goyal 1fb0ba6799 Merge branch 'master' of https://github.com/cbhaley/calibre
Fix #1933989 [[Enhancement] Remove author in the Manage author window](https://bugs.launchpad.net/calibre/+bug/1933989)
2021-06-30 07:29:39 +05:30
Eli Schwartz 1423dfbbbe remove references to deleted dbus code
In commit 06847efbee the init_dbus
function got removed due to not being needed in jeepney. But it still
got imported and run in a manually launched __main__ test.
2021-06-29 18:50:39 -04:00
Charles Haley cac555c99f Enhancement #1933989: search the booklist using exact match in the manage authors dialog 2021-06-29 18:12:27 +01:00
Kovid Goyal 1ba7e41464 Check for libstemmer.h in two places 2021-06-29 07:25:55 +05:30
Kovid Goyal 55862e8aa9 Fix failing test 2021-06-28 20:31:11 +05:30
Kovid Goyal 1c366a46bd Remember language used to create stemmer 2021-06-28 20:22:18 +05:30
Kovid Goyal 5b10767860 Case folding should happen after diacritics removal not before 2021-06-28 20:03:29 +05:30
Kovid Goyal 558b477328 Add a test for Chinese FTS via the DB object 2021-06-28 18:38:30 +05:30
Kovid Goyal d8752252e6 Annotations browser: Fix searching for words in languages such as Chinese that do not have word delimiters not working. Fixes #1929325 [browsing annotations in the main interface the results cannot be searched in Chinese](https://bugs.launchpad.net/calibre/+bug/1929325)
Now calibre has its own custom ICU based FTS tokenizer. I really have no
clue about Chinese, so I can only hope I got it right.
2021-06-28 18:24:13 +05:30
Kovid Goyal bdb030f33e remove dupe function definition 2021-06-28 15:01:36 +05:30
Kovid Goyal 47ec4b5521 MOBI Output: Fix invalid color specification as plain numbers causing conversion to fail. Fixes #1933797 [ebook-convert fails with TypeError: Argument must be bytes or unicode, got 'float'](https://bugs.launchpad.net/calibre/+bug/1933797)
More generally have the conversion pipeline validate values for color
just as it does for background-color
2021-06-28 14:19:48 +05:30
Kovid Goyal 582e13ba6e Handle mtime as number or datetime object 2021-06-28 07:37:57 +05:30
Kovid Goyal 78da380d11 ... 2021-06-28 06:20:16 +05:30
Kovid Goyal ad36ac19c0 Dont store mtimes in RAM
This was originally done because of Apple's HFS+ having a one second
timestamp resolution. However APFS which has nanosecond resolution has
been out now for almost four years.
2021-06-28 06:17:37 +05:30
Kovid Goyal 4dc0502a29 Fix failing tests 2021-06-27 20:13:57 +05:30
Kovid Goyal 360e00722f Add a build test for monkeypatching zeroconf 2021-06-27 20:04:53 +05:30
Kovid Goyal c32052eaa5 remove unreachable statement 2021-06-27 16:07:35 +05:30
Kovid Goyal 54e510a415 Port freebsd device open/eject code to use jeepney
Note that I have no way to test this code
2021-06-27 16:01:10 +05:30
Kovid Goyal 5319cacd41 dbus -> jeepney for network status 2021-06-27 12:32:24 +05:30
Kovid Goyal 27a68efb7a Replace dbus build test with jeepney build test 2021-06-27 10:37:15 +05:30
Kovid Goyal 06847efbee Remove initialization of DBUS
Not needed anymore all remaining uses of dbus dont require an event loop
as far as I can tell
2021-06-27 10:37:15 +05:30
Kovid Goyal d630ca0674 Replace dbus-python by jeepney in sources 2021-06-27 10:37:15 +05:30
Kovid Goyal 3e2c8ef699 Finish porting UDisks to use jeepney 2021-06-27 10:37:15 +05:30
Kovid Goyal 29d2fcf40c Start work on replacing dbus in udisks 2021-06-27 10:37:14 +05:30
Kovid Goyal 58d392ca65 Replace python-dbus with jeepney for notifications 2021-06-27 10:37:14 +05:30
Kovid Goyal 9fd0cf0cc7 ... 2021-06-27 10:23:44 +05:30
Kovid Goyal 1ec75da6e3 Update bundled zeroconf
It's internal structures that calibre uses/monkeypatches have changed,
neccessitating that the calibre code change as well.
2021-06-27 09:44:45 +05:30
Kovid Goyal b3e723e8ca Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1933591 [Possible column template bug: Unknown identifier](https://bugs.launchpad.net/calibre/+bug/1933591)
2021-06-26 18:18:18 +05:30
Charles Haley ee26f5740f Bug #1933591: Possible column template bug: Unknown identifier.
The problem: recursion triggered by field references of composite columns changed the state of the 'calling' interpreter.
2021-06-26 12:39:35 +01:00
Kovid Goyal 3247692512 Cache downloads by etag during repeated building 2021-06-26 07:20:10 +05:30