33789 Commits

Author SHA1 Message Date
Kovid Goyal
1247a0d512
Server viewer: Fix error when triple clicking in firefox
Firefox does not support extending selection to pargraphs so instead
extend to line.
2020-09-03 23:29:50 +05:30
Kovid Goyal
e759eefc28
Viewer: Extend workaround for Chrome resize in column mode after layout complete bug for all scrolling, not just end scrolling since it seems to affect all scrolling. Fixes #1894093 [Viewer not opening to exact spot it was closed at](https://bugs.launchpad.net/calibre/+bug/1894093) 2020-09-03 22:50:24 +05:30
Kovid Goyal
df00db28f6
No need to use a larger than zero timeout for QV initialization 2020-09-03 16:38:59 +05:30
Charles Haley
4d02b04ecf Fix for QV Refresh button not working.
Possible fix for startup problems on Linux
2020-09-03 11:20:37 +01:00
Kovid Goyal
b0633f3db0
String changes 2020-09-03 14:06:09 +05:30
Kovid Goyal
e0926d1dfe
Fix adding of more than one custom highlight style broken 2020-09-03 08:57:40 +05:30
Kovid Goyal
d862d271f2
Revert "Avoid deprecation message in console about legacy fullscreen APIs"
This reverts commit d6f7b55e21471cad94ebd536d9ab2b6d66bcf195.
2020-09-03 07:47:50 +05:30
Charles Haley
2eae83f34d Fix (I think) for exception:
SMART_DEV (   0.24:  0.015) _startup_on_demand registration with bonjour failed
Traceback (most recent call last):
  File "C:\CBH_Data\calibre.git\calibre_dev\src\calibre\devices\smart_device_app\driver.py", line 1957, in _startup_on_demand
  File "C:\CBH_Data\calibre.git\calibre_dev\src\calibre\utils\mdns.py", line 168, in publish
  File "C:\CBH_Data\calibre.git\calibre_dev\src\calibre\utils\mdns.py", line 149, in create_service
TypeError: __init__() got an unexpected keyword argument 'address'
2020-09-02 22:52:41 +01:00
Kovid Goyal
2fffec0ece
Bump beta version 2020-09-02 10:32:59 +05:30
Kovid Goyal
99c1292a55
Simplify notes display widget 2020-09-02 10:24:53 +05:30
Kovid Goyal
cac8628fa0
Make notes display a bit nicer 2020-09-02 10:16:14 +05:30
Kovid Goyal
8dd3f055e2
Viewer highlights panel: Show highlights grouped by chapter 2020-09-02 09:29:15 +05:30
Kovid Goyal
db0b338682
Add a border to menus in dark mode 2020-09-01 22:18:35 +05:30
Kovid Goyal
5ce9010cc3
Store current toc node information when creating highlights 2020-09-01 20:08:10 +05:30
Kovid Goyal
ce4db74039
String changes 2020-09-01 10:39:36 +05:30
Kovid Goyal
13259a4c9c
Dont call __setitem__ while holding db connection open 2020-09-01 09:26:19 +05:30
Kovid Goyal
4d992eaa69
Bulk metadata edit dialog: Fix customize cover generation button hidden 2020-09-01 09:06:11 +05:30
Kovid Goyal
24e1fa90d1
More cleanups 2020-08-31 17:22:01 +05:30
Kovid Goyal
8c00352dce
Prevent selection from being cleared if handle is released after drag far away from end of selection 2020-08-31 15:13:21 +05:30
Kovid Goyal
500ad8948e
Cleanups 2020-08-31 14:59:54 +05:30
Kovid Goyal
9b79b12239
Avoid unnecessary selection change events 2020-08-31 14:50:12 +05:30
Kovid Goyal
3d685b46b9
... 2020-08-31 14:42:53 +05:30
Kovid Goyal
39dede0a58
Cleanup range_extents 2020-08-31 11:46:15 +05:30
Kovid Goyal
569c38f505
Merge branch 'py3' of https://github.com/mwgabby-li/calibre into selrtl 2020-08-31 09:59:50 +05:30
Kovid Goyal
d6f7b55e21
Avoid deprecation message in console about legacy fullscreen APIs 2020-08-31 08:49:14 +05:30
Kovid Goyal
452e46c248
Dont make the page turn arrows red on click 2020-08-31 08:38:48 +05:30
Kovid Goyal
bfa1fbba6f
Ignore entries without an anchor 2020-08-31 07:59:28 +05:30
Kovid Goyal
bc634e02bd
Infrastructure for internal ToC entries per article 2020-08-31 07:52:38 +05:30
Kovid Goyal
547cc40f8c
Use fractional sizes when creating pages for PDF Output, slightly more accurate 2020-08-30 21:12:03 +05:30
Charles Haley
f46f80dfb0
Fix bug 1893539: ebook.de not allows to search for books. 2020-08-30 20:52:58 +05:30
Reynard
0f32b98fd2
Updated DOUBAN_API_KEY
The original apikey (0df993c66c0c636e29ecbb5344252a4a) has been banned for a while. Detailed discussion can be found here (https://www.v2ex.com/t/699393).
The new one (054022eaeae0b00e0fc068c0c0a2102a) is valid in my curl tests.

Please check the validity of a new build though.

Thanks for your efforts. 😀
2020-08-30 18:54:42 +08:00
Kovid Goyal
72aa1ee196
String changes 2020-08-30 08:05:30 +05:30
Kovid Goyal
cb161b4f76
Use the FULLCASE flag for db and filename searches 2020-08-29 10:23:20 +05:30
Kovid Goyal
9f1e1e5a18
Use the more powerful regex engine for book list and metadata from filename
Fixes #1893371 [regex [[\w--[A-Z]] does not work](https://bugs.launchpad.net/calibre/+bug/1893371)
2020-08-29 10:06:06 +05:30
Mark W. Gabby-Li
9b79d6a5fa Support Selection Handles on Vertical/RTL Books
- Pass vertical/rtl mode into selection code.
 - Added new image for vertical selection handle.

selection_bar.pyj:
 - Made code agnostic to text direction.
 - Changed names to start and end rather than left and right to reflect new behavior.
 - Track vertical/rtl state from selection message.
 - Handle selection position modified to support all possible text orientations.
 - Switch to vertical selection handle in vertical mode.
 - Cap selection size at 60px to avoid comically large (and unusable) handles when selecting large element, such as an image.

select.pyj:
 - Improved selection behavior when selected range extents are on nodes by search the node's DOM tree for something with a reasonable bounding box.
 - To work around bugs with collapsed range rects and vertical text, use character bounding boxes in most cases.
 - Add width to selection range extents.
2020-08-28 00:26:18 -07:00
Kovid Goyal
1b5bfd9078
MTP driver: Add Android/data/com.amazon.kindle/files to the list of folders looked for to send books to
Fixes #1893253 [Android Kindle Folder](https://bugs.launchpad.net/calibre/+bug/1893253)
2020-08-28 08:55:08 +05:30
Kovid Goyal
69a9ffadf5
Copy should only copy selected text if there is any 2020-08-25 18:43:10 +05:30
Kovid Goyal
35f770955e
Dont subclass QLineEdit in QDateEdit
This causes crashed on Linux with accessibility enabled. Fixes #1892646 [Mysterious crash in Qt since bug #1885004 when clicking "Edit Metadata"](https://bugs.launchpad.net/calibre/+bug/1892646)
2020-08-25 18:34:09 +05:30
Kovid Goyal
5e53142d0c
Add book titles when exporting annots from the browse annots tool 2020-08-25 13:31:19 +05:30
Kovid Goyal
59b8c156c3
Possible fix for #1892646 2020-08-24 09:01:44 +05:30
Kovid Goyal
0334b03cfe
py3 compat 2020-08-23 18:30:52 +05:30
Charles Haley
3fcebec354 Monkeypatch zeroconf to remove the 15 character service name limit. 2020-08-23 12:32:38 +01:00
Charles Haley
3c135c1eeb Fix bug #1892611: Random book appears in the Quickview panel when calibre starts. 2020-08-23 12:32:10 +01:00
Kovid Goyal
fcdcf1bc84
Fix #1892594 [[Enhancement] Remove unnecessary empty lines in No library found screen](https://bugs.launchpad.net/calibre/+bug/1892594) 2020-08-23 07:52:03 +05:30
Kovid Goyal
836397603d
String changes 2020-08-23 07:33:32 +05:30
Kovid Goyal
0b202f78ca
String changes 2020-08-22 18:48:40 +05:30
Kovid Goyal
15e1ad7d7e
forkserver is not available on windows 2020-08-22 18:48:39 +05:30
Kovid Goyal
c7c3d1382c
Get multiprocessing to work
Some calibre plugins apparently use multiprocessing. In python 3.8
multiprocessing on macOS was changed to use spawn instead of fork. So
those plugins broke. This fixes multiprocessing+spawn by monkeypatching
the stdlib to use calibre-debug as the python interpreter
2020-08-22 18:48:39 +05:30
Kovid Goyal
940e655bef
Change default for asciiizing filenames on save to disk to false
By now most platforms support unicode filenames.
2020-08-22 18:48:39 +05:30
Kovid Goyal
05ccd5c348
Render plain text comments in book file metadata as HTML 2020-08-22 18:48:39 +05:30