43434 Commits

Author SHA1 Message Date
Kovid Goyal
e158c41ce3
Remove edge special case and allow connecting to IDB in workers 2021-05-16 11:17:57 +05:30
Kovid Goyal
486413f267
Code to launch WebWorkers 2021-05-16 11:02:28 +05:30
Kovid Goyal
d7efe7d8f9
... 2021-05-16 10:56:27 +05:30
Kovid Goyal
dcc0818e81
Micro-optimization 2021-05-16 08:55:08 +05:30
Kovid Goyal
d0c34d2131
Avoid unnecessary replace on JS
Also makes the JS available for use in Web Workers
2021-05-16 08:52:50 +05:30
Kovid Goyal
8988cbcf56
Remove top-level references to window and document 2021-05-16 05:43:02 +05:30
Kovid Goyal
5993017df9
String changes 2021-05-15 14:24:27 +05:30
Kovid Goyal
85e8d8c82f
DRYer 2021-05-15 13:44:26 +05:30
Kovid Goyal
5f2f110f9f
Merge branch 'patch-1' of https://github.com/flaregunner/calibre 2021-05-14 14:43:21 +05:30
flaregunner
8d61fde1d5
Added periods in sentences
Added periods at the end of few sentences for consistency.
2021-05-14 14:41:10 +05:30
Kovid Goyal
e1f1353247
Fix format metadata cache not being invalidated when updating path 2021-05-13 21:09:24 +05:30
Kovid Goyal
73a312dd64
Workaround for sip version mismatch on Arch 2021-05-13 08:40:37 +05:30
Kovid Goyal
d368c4f96e
Dont chdir as part of sip-build command
Instead chdir overall, makes the command simpler.
2021-05-13 07:48:08 +05:30
Kovid Goyal
4b5f899366
E-book viewer: Disable toolbar buttons when no book is open 2021-05-13 07:12:13 +05:30
Kovid Goyal
505c92df47
Avoid error on startup with toc panel open and no book 2021-05-13 07:07:49 +05:30
Kovid Goyal
f06afd8437
string changes 2021-05-12 21:19:44 +05:30
Kovid Goyal
2b2e1414ea
... 2021-05-12 08:30:39 +05:30
Kovid Goyal
e50e00b855
Add a few more ensure books 2021-05-12 07:45:27 +05:30
Kovid Goyal
1c9d837e08
String changes 2021-05-12 07:41:25 +05:30
Kovid Goyal
5cb5c5d0c9
Fix #1928006 [subtlepatterns has changed URL](https://bugs.launchpad.net/calibre/+bug/1928006) 2021-05-11 07:14:34 +05:30
Kovid Goyal
aaa60d85ba
... 2021-05-11 07:12:49 +05:30
Kovid Goyal
eb251e0976
Remove not working Overdrive metadata source
Fixes #1927973 [overdrive search HTTP Error 404](https://bugs.launchpad.net/calibre/+bug/1927973)
2021-05-10 19:45:30 +05:30
Kovid Goyal
d447613b2b
Annotations browser: Sort the entries in order of position in book.
Fixes #1922691 [Calibre Viewer annotations/highlights are not sorted correctly](https://bugs.launchpad.net/calibre/+bug/1922691)
2021-05-10 17:00:49 +05:30
Kovid Goyal
53e42361d5
string changes 2021-05-10 07:44:02 +05:30
Kovid Goyal
24c5feff3e
Increase the limit at which the languages are expanded when searching for a recipe 2021-05-10 06:19:07 +05:30
Kovid Goyal
f48028aec4
Remove a couple of extra ad elements from the NYT download 2021-05-09 18:12:44 +05:30
Kovid Goyal
accf3df2ca
Use editor settings when running ToC editor inside main editor 2021-05-09 13:55:04 +05:30
Kovid Goyal
57fc7739d3
ToC editor: Dark mode: Fix colors in location selection panel not dark 2021-05-09 13:39:54 +05:30
Kovid Goyal
26b8d40b12
Move dark mode script generation into own function 2021-05-09 13:39:24 +05:30
Kovid Goyal
a4672db7bc
E-book viewer: Allow expanding/collapsing all items in the Table of Contents at a particular level by right clicking on one item of that level and choosing the option to expand/collapse 2021-05-09 12:57:12 +05:30
Kovid Goyal
b9dd3758ea
E-book viewer: Add shortcuts shift+home and shift+end to extend current selection to start/end of line 2021-05-09 12:37:52 +05:30
Kovid Goyal
1095dc4dc6
E-book viewer: Fix right or shift-clicking to extend selection not shrinking selection when the click is inside the selection. Fixes #1926793 [E-book viewer: right-clicking inside the selection does nothing](https://bugs.launchpad.net/calibre/+bug/1926793) 2021-05-09 12:28:45 +05:30
Kovid Goyal
333f42945a
Book details: When creating rules to convert identifiers to URLs allow using {id_unquoted} to avoid quoting the identifier value. Fixes #1927520 [hashtag in identifier breaks url](https://bugs.launchpad.net/calibre/+bug/1927520) 2021-05-09 12:20:53 +05:30
Kovid Goyal
3e1fff5fcf
E-book viewer: Ignore mouse scroll events that would turn pages when editing notes. Fixes #1925961 [Scrolling within annotation window doesn't work properly](https://bugs.launchpad.net/calibre/+bug/1925961) 2021-05-09 12:13:10 +05:30
Kovid Goyal
de9a1a8ca2
Fix #1927818 [Private bug](https://bugs.launchpad.net/calibre/+bug/1927818) 2021-05-08 16:35:21 +05:30
Kovid Goyal
43c70c10d0
Fix #1927688 [Open icon folder produces error](https://bugs.launchpad.net/calibre/+bug/1927688) 2021-05-07 13:17:42 +05:30
Kovid Goyal
752f8de057
String changes 2021-05-07 11:44:33 +05:30
Kovid Goyal
ba0c253e90
string changes 2021-05-07 07:37:56 +05:30
Kovid Goyal
fabf0e621f
Fix #1927537 [Clicking Copy in the Auto merged window copies explanation text](https://bugs.launchpad.net/calibre/+bug/1927537) 2021-05-07 07:33:01 +05:30
Kovid Goyal
88ba140db9
Retry sending message after a sleep
Avoids spurious errors on multiple simultaneous calibre launches. Fixes #1927546 ["ERROR: Contacting calibre failed"](https://bugs.launchpad.net/calibre/+bug/1927546)
2021-05-07 07:22:51 +05:30
Kovid Goyal
dc88a74caa
Oops, forgot to move test for lock failure above cache access 2021-05-06 15:18:11 +05:30
Kovid Goyal
5ff45a7ee7
Hold the VLs cache lock when checking if the cache exists 2021-05-06 07:26:02 +05:30
Kovid Goyal
e9ee3e0546
Use a context manager for vls_cache_lock 2021-05-06 07:21:50 +05:30
Kovid Goyal
d31612edec
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-05-06 07:17:15 +05:30
Charles Haley
312e44dc3b Ensure that updating the vl_book cache is both thread safe and recursion safe. 2021-05-05 18:59:45 +01:00
Kovid Goyal
0a6010e712
No need to explicitly get the write lock since clear_composite_caches gets it for us 2021-05-05 22:06:32 +05:30
Kovid Goyal
1f50076bb8
When trying to upgrade a shared lock a LockingError is raised not a DowngradeError 2021-05-05 21:52:13 +05:30
Kovid Goyal
d8918f1dd8
Merge branch 'master' of https://github.com/cbhaley/calibre
Fix #1927179 [VL set to wildcard crashes Calibre](https://bugs.launchpad.net/calibre/+bug/1927179)
2021-05-05 21:43:52 +05:30
Charles Haley
224d3a68fa Get a write lock to clear the composite caches. Fail gracefully if we can't get the lock. 2021-05-05 16:46:05 +01:00
Kovid Goyal
cb9bec2b36
... 2021-05-05 20:33:52 +05:30