Eli Schwartz
1423dfbbbe
remove references to deleted dbus code
...
In commit 06847efbeef3fc52501222f8d7afcb19f9d853f2 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
Kovid Goyal
0885b45097
Fix #1933684 [Error converting ePUB to MOBI]( https://bugs.launchpad.net/calibre/+bug/1933684 )
v5.22.1
2021-06-25 23:20:58 +05:30
Kovid Goyal
eda2a4421f
version 5.22.1
2021-06-25 23:12:45 +05:30
Kovid Goyal
ffe2207022
Fix a typo that broke device detection on Linux
2021-06-25 23:11:03 +05:30
Kovid Goyal
fe81410c74
Fix linking of libstemmer.dylib
v5.22.0
2021-06-25 08:45:07 +05:30
Kovid Goyal
e699841551
Fix another resource warning
2021-06-25 08:07:48 +05:30
Kovid Goyal
28fc61d74e
version 5.22.0
2021-06-25 08:05:51 +05:30
Kovid Goyal
c99e6d00d1
Fix #1933559 [Content Server: Series edit error]( https://bugs.launchpad.net/calibre/+bug/1933559 )
2021-06-25 07:56:42 +05:30
Kovid Goyal
b8ec9c5809
another resource warning
2021-06-24 22:16:35 +05:30
Kovid Goyal
ffb77face1
Ignore syntaxerror when importing dbus
2021-06-24 11:45:06 +05:30
Kovid Goyal
e168c30867
ANother resourcewarning
2021-06-24 11:23:33 +05:30
Kovid Goyal
42c85dfab8
Missed a couple of cssValue usages
2021-06-24 11:21:01 +05:30
Kovid Goyal
efdf661457
Remove DBUS based global menu and system tray code
...
This was mainly present to support GNOME and GNOME has decided to ditch
system trays and global menus. Since the python-dbus package this code
uses is not maintained, ditch it entirely.
2021-06-24 10:55:12 +05:30
Kovid Goyal
009e82c9df
Turn on deprecation warnings in CI
2021-06-24 10:20:19 +05:30
Kovid Goyal
785d74bda4
More deprecation warnings in test suite
2021-06-24 09:25:53 +05:30
Kovid Goyal
c21a482080
Remove unused code
2021-06-24 09:24:44 +05:30
Kovid Goyal
6c95f9719d
Fix more deprecation warnings in the test suite
2021-06-24 09:17:41 +05:30
Kovid Goyal
618bf197e2
Fix more deprecation warnings in the test suite
2021-06-24 09:09:04 +05:30
Kovid Goyal
dd8aa42c17
Fix some resourcewarnings in the test suite
2021-06-24 08:57:22 +05:30
Kovid Goyal
f1b3ed07f8
Silence some ResourceWarnings
2021-06-24 08:35:54 +05:30
Kovid Goyal
ca8e54cc02
another py3.10 compat fix
2021-06-24 08:24:05 +05:30
Kovid Goyal
e7397bda52
E-book viewer: Fix searching for short strings in text with lots of similar entries displaying incorrect matches. Fixes #1931566 [some bad search results using regex]( https://bugs.launchpad.net/calibre/+bug/1931566 )
...
Up the amount of context used for matches from 10 to 30 chars to
reduce probability of false matching.
2021-06-23 17:18:35 +05:30