43942 Commits

Author SHA1 Message Date
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
Kovid Goyal
844457e32e
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1933210 [[Enhancement] Sort Tag browser categories alphabetically](https://bugs.launchpad.net/calibre/+bug/1933210)
2021-06-23 16:53:32 +05:30
Charles Haley
8d2eb02da8 Enhancement 1933210: Sort Tag browser categories alphabetically. Done with a new tweak. 2021-06-23 11:40:26 +01:00
Kovid Goyal
ea522df226
Use std::make_unique for cleaner code 2021-06-23 13:53:18 +05:30
Kovid Goyal
e520c70025
... 2021-06-23 13:15:51 +05:30
Kovid Goyal
46c3613ce4
Fix unintialized error parameter to u_scriptgetcode 2021-06-23 13:14:01 +05:30
Kovid Goyal
2e235a9e7a
pep8 2021-06-23 10:59:29 +05:30
Kovid Goyal
53d0d1c249
Use an unordered_map with std::string keys
This is needed because we use references to values in the map and
std::map invalidates references on insertion while std::unordered_map
does not
2021-06-23 10:42:16 +05:30
Kovid Goyal
78dea8e439
E-book viewer: Allow clicking links in popup footnotes. Fixes #1931646 [Footnotes/Endnotes don't return to text](https://bugs.launchpad.net/calibre/+bug/1931646) 2021-06-23 10:17:02 +05:30
Kovid Goyal
cff4d491ea
Close a bunch of file objects explicitly 2021-06-23 09:07:39 +05:30
Kovid Goyal
cf44d16964
Merge branch 'py3.10' of https://github.com/eli-schwartz/calibre 2021-06-23 08:46:08 +05:30
Kovid Goyal
2a057203e2
MOBI Output: Fix using percentage units for margins resulting in too large margins when using the tablet output profile. Fixes #1932392 ["margin-top" property is converted into <number>em when converting into MOBI breaking iOS rendering](https://bugs.launchpad.net/calibre/+bug/1932392) 2021-06-23 08:43:51 +05:30
Eli Schwartz
d395a910e5
python 3.10: explicitly cast some numbers to int
These currently raise deprecation warnings, but will no longer get
autoconverted in python 3.10

- Some Qt functions expect int, not float, and got truncated automatically.
- The QSocketNotifier is sip.voidptr wrapping an int file descriptor
2021-06-22 23:09:58 -04:00
Kovid Goyal
298ede817b
Merge branch 'python3.10_2' of https://github.com/swt2c/calibre 2021-06-23 07:47:00 +05:30
Scott Talbert
82fecc9e0d Fix ThrobbingButton init with Python 3.10
It is no longer possible to pass floats to C functions where ints are
expected, so explicitly convert to int in this case.
2021-06-22 21:46:34 -04:00
Kovid Goyal
83ede77029
E-book viewer: Fix back button not working after jumping to a bookmark. Fixes #1931599 [[Enhancement] E-book viewer: clicking on bookmarks should create jump positions](https://bugs.launchpad.net/calibre/+bug/1931599) 2021-06-22 08:53:08 +05:30
Kovid Goyal
f77a5f5c1a
Fix #1933032 [[Viewer] Using comma in reference doesn't work](https://bugs.launchpad.net/calibre/+bug/1933032) 2021-06-22 08:17:38 +05:30
Kovid Goyal
a0e2b1c5b0
Content server: OPDS feed: Fix incorrect up URL in category group feeds. Fixes #1932992 [OPDS 'up' navigation issue](https://bugs.launchpad.net/calibre/+bug/1932992) 2021-06-21 17:09:44 +05:30
Kovid Goyal
3dccfae35a
String changes 2021-06-21 12:37:46 +05:30
Kovid Goyal
7fe5fff311
Add tests for stemming 2021-06-21 11:48:22 +05:30
Kovid Goyal
2bfc3d1e7f
... 2021-06-20 22:00:22 +05:30
Kovid Goyal
ff01e16610
Fix #1459 (Recipe: slight improvement to Hindu) 2021-06-20 21:15:06 +05:30
Kovid Goyal
9904f33941
Add libstemmer to Arch CI deps 2021-06-20 14:55:22 +05:30