33789 Commits

Author SHA1 Message Date
Kovid Goyal
8b3b008c3c
Dont fail if sorting throws an exception, instead just fallback to sorting by id 2020-10-21 09:09:27 +05:30
Charles Haley
d1b0b457ea Edit metadata custom column widgets.
- Add tweaks to move the elision point and to disable elision.
- Fix some problems with the tooltips
- Make the gutter between the label and the widget the same as the standard fields
- Various other cleanups
2020-10-20 10:49:17 +01:00
Kovid Goyal
9aeaacfb01
Use the new event loop based Listener
This means one less thread in the main and viewer UIs and no more polling for
messages.
2020-10-20 12:45:24 +05:30
Kovid Goyal
eed32b595e
Edit book: Fix a regression in the previous release that caused the completion popups used in the search panel to not render multiple entries correctly. 2020-10-20 08:44:10 +05:30
Kovid Goyal
276c26ff26
Annotations browser: Fix regression that caused an error when searching. Fixes #1900463 [Annotation Browser: search error](https://bugs.launchpad.net/calibre/+bug/1900463) 2020-10-20 08:32:30 +05:30
Kovid Goyal
051bd1a35f
Name send_message variants better 2020-10-20 08:30:14 +05:30
Kovid Goyal
790a34d5d9
A module to implement listeners integrated with the Qt event loop 2020-10-20 01:09:45 +05:30
Kovid Goyal
59b31d0724
Wrap pipe write APIs 2020-10-20 01:09:32 +05:30
Kovid Goyal
8a76807594
API to toggle uniform item sizes 2020-10-19 18:55:09 +05:30
Kovid Goyal
95abe9d072
Viewer: handle editing of missing highlights more gracefully
Fixes #1900358 [ebook-viewer Reapplying missing annotation highlight after modifying ePub](https://bugs.launchpad.net/calibre/+bug/1900358)
2020-10-19 17:54:37 +05:30
Kovid Goyal
9c1e6ccb03
html is anyway ignored in copy_selection 2020-10-19 17:05:19 +05:30
Kovid Goyal
87629e32a7
Browser viewer: Try using document.execCommand to copy since it works on non-secure origins as well 2020-10-19 17:04:02 +05:30
Kovid Goyal
20e84ebcc8
Ensure valid data written to icon_data on windows 2020-10-19 09:40:34 +05:30
Kovid Goyal
f9cacdff88
Try loading icon_data when it is a string assuming base64 encoded data 2020-10-19 09:32:13 +05:30
Kovid Goyal
653af227c1
Add support for syntax highlighting box-sizing 2020-10-19 09:17:12 +05:30
Kovid Goyal
51e94dcc65
Container: Make detecting OPF files a bit more robust 2020-10-19 08:30:17 +05:30
Kovid Goyal
7b6ec6515a
Fix #1900337 [Error when replacing db.prefs settings](https://bugs.launchpad.net/calibre/+bug/1900337) 2020-10-18 22:03:50 +05:30
Kovid Goyal
f9dfae2bc9
... 2020-10-18 22:03:42 +05:30
Kovid Goyal
448b90425a
Fix winutil import not being run when CALIBRE_CONFIG_DIRECTORY is set 2020-10-18 19:01:56 +05:30
Charles Haley
d3a5730222 Add option to allow the tag browser to get keyboard focus 2020-10-18 10:49:47 +01:00
Charles Haley
5dbf65c1ad Ensure that the book list gets the keyboard focus on startup instead of Quickview 2020-10-18 10:48:30 +01:00
Kovid Goyal
94d5775047
Remove all remaining uses of plugins dict 2020-10-18 12:33:56 +05:30
Kovid Goyal
e90770509f
Remove more uses of plugins dict 2020-10-18 12:10:11 +05:30
Kovid Goyal
861fb8144f
Fix #1900299 [icon_data corruption in windows_open_with.json](https://bugs.launchpad.net/calibre/+bug/1900299) 2020-10-18 12:00:33 +05:30
Kovid Goyal
20150e3368
Remove more uses of the plugins dict 2020-10-18 11:57:23 +05:30
Kovid Goyal
c41a389437
Remove more uses of the plugins dict 2020-10-18 11:42:15 +05:30
Kovid Goyal
4d47176100
Remove more uses of the plugins dict 2020-10-18 11:36:09 +05:30
Kovid Goyal
8a3dbc3061
More uses of plugins dict replaced 2020-10-18 10:48:03 +05:30
Kovid Goyal
8504ed08e8
Remove more uses of the plugins dict 2020-10-18 09:45:44 +05:30
Kovid Goyal
830b1a94e6
Replace more uses of plugins dict 2020-10-18 09:33:09 +05:30
Kovid Goyal
983bb2aabb
Remove more usage of plugins dict 2020-10-18 08:58:01 +05:30
Kovid Goyal
c9f2ae20fc
Replace some uses of plugins dict 2020-10-18 08:58:01 +05:30
Kovid Goyal
8311f0a8d3
Cleanup calibre initialization 2020-10-18 08:58:00 +05:30
Kovid Goyal
c58e1db9a0
Dont import fcntl into calibre.__init__ 2020-10-18 08:58:00 +05:30
Kovid Goyal
ad2e6ded83
Dont import winutil in calibre.__init__ 2020-10-18 08:58:00 +05:30
Kovid Goyal
79dfb222ab
Remove unused imports 2020-10-18 08:58:00 +05:30
Kovid Goyal
cbf6e80b08
Dont import any pywin32 modules during startup
Also dont import fcntl
2020-10-18 08:58:00 +05:30
Kovid Goyal
21214f9dc3
Restore win file dialog build test 2020-10-18 08:58:00 +05:30
Kovid Goyal
dce343b488
Release GIL while creating hardlinks 2020-10-18 08:58:00 +05:30
Kovid Goyal
e087f086bd
Remove pywin32 from filenames.py 2020-10-18 08:58:00 +05:30
Kovid Goyal
5701a6c2c5
Use winutil to get disk free space 2020-10-18 08:58:00 +05:30
Kovid Goyal
c9df881fd9
Dont use pywin32 for share_file.py 2020-10-18 08:58:00 +05:30
Kovid Goyal
6bcbd1b42e
/proc/bus/usb doesn't exist anymore 2020-10-18 08:57:59 +05:30
Kovid Goyal
191ce078e7
plugin_err must always be a string 2020-10-18 08:57:59 +05:30
Kovid Goyal
fe40196c06
Use winutil for lock.py 2020-10-18 08:57:59 +05:30
Kovid Goyal
8ef10231ae
Use winutil for winreg 2020-10-18 08:57:59 +05:30
Kovid Goyal
c6ca0a95db
Use winutil for the file dialog helper 2020-10-18 08:57:59 +05:30
Kovid Goyal
e48db37839
Use the python builtin methods for setting socket inheritance 2020-10-18 08:57:59 +05:30
Kovid Goyal
d57c4d369b
Move the meta path finders in constants since it depends on winutil in particular 2020-10-18 08:57:59 +05:30
Kovid Goyal
6690187e0a
Allow importing calibre extension modules using import statements
from calibre_extensions import speedup
2020-10-18 08:57:59 +05:30