Commit Graph

33919 Commits

Author SHA1 Message Date
Kovid Goyal c39dfdec96 Hide clear buttons in book list editor widgets as space is at a premium there 2021-07-10 07:41:30 +05:30
Kovid Goyal cefd9b1563 pep8 2021-07-09 08:34:31 +05:30
Kovid Goyal 99616ba400 version 5.23.0 2021-07-09 08:33:33 +05:30
Kovid Goyal 8bc07171ff Workaround Qt bug that broke restoring of dock widget states in the editor 2021-07-09 08:29:28 +05:30
Kovid Goyal fb5cc7b649 ... 2021-07-08 12:39:55 +05:30
Kovid Goyal 8702b759b1 Fix #1934685 [[Enhancement - Content server] Add shortcuts to actions in the Book details page and display them in the tooltips](https://bugs.launchpad.net/calibre/+bug/1934685) 2021-07-08 08:44:11 +05:30
Kovid Goyal 99fbccc8a1 Fix #1934689 [[Enhancement] Add clear buttons inside the fields of the Advanced search of the Get books](https://bugs.launchpad.net/calibre/+bug/1934689) 2021-07-08 07:29:48 +05:30
Kovid Goyal d83ef28bdf ... 2021-07-08 07:18:06 +05:30
Kovid Goyal c2c85534ea Fix formatting of tweak docs
New para lines should not be appended to the preceding blank line with a
space
2021-07-07 21:36:21 +05:30
Kovid Goyal d938936ab6 ... 2021-07-07 21:21:02 +05:30
Kovid Goyal 17be87e85a TXTZ format: Store type of text formatting in the metadata and use it automatically when converting from TXTZ 2021-07-05 12:02:34 +05:30
Kovid Goyal dfa0e29927 Dont show popup tooltip for page profiles as this is already displayed in window. Fixes #1934623 [The same profile information is displayed in three places in the same window](https://bugs.launchpad.net/calibre/+bug/1934623) 2021-07-05 11:42:20 +05:30
Kovid Goyal 50d2b10315 Pretty print the metadata in txtz files 2021-07-05 11:38:14 +05:30
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 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
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
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
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 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 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
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