40106 Commits

Author SHA1 Message Date
Kovid Goyal
53ec8c5b8e
Micro-optimization 2019-12-20 11:18:05 +05:30
Kovid Goyal
13df7004df
String changes 2019-12-20 07:53:42 +05:30
Kovid Goyal
1bc5389576
Edit Book: Spell Check: Fix words surrounded by narrow non-breaking spaces being incorrectly detected as mis-spelled 2019-12-19 23:10:52 +05:30
Kovid Goyal
511d3c6ba4
Better fix for ignoring soft-hyphens when checking spelling live 2019-12-19 23:01:05 +05:30
Kovid Goyal
ae962ae3b1
Remove unused code 2019-12-19 22:50:55 +05:30
Kovid Goyal
a0420c9820
... 2019-12-19 18:31:44 +05:30
Kovid Goyal
8ce99d51c7
Another py3 compat fix 2019-12-19 15:14:31 +05:30
Kovid Goyal
47b3638371
macOS: Fix drag and drop to re-arrange items in the viewer toolbar not working 2019-12-19 11:19:21 +05:30
Kovid Goyal
f925349d9d
Update Global Times 2019-12-19 11:08:04 +05:30
Kovid Goyal
17caace497
Update London Review of Books 2019-12-19 10:55:01 +05:30
Kovid Goyal
dcbed07c95
PDF Output: When an inline image is placed alone inside a block tag, ensure that it is not split over two pages. 2019-12-18 22:28:35 +05:30
Kovid Goyal
89b0adfb43
Fix deprecation warning 2019-12-18 16:55:09 +05:30
Kovid Goyal
78cb1b9c47
Fix #1856232 [[Enhancement] Remove lines and add border to the Review downloaded metadata window](https://bugs.launchpad.net/calibre/+bug/1856232) 2019-12-18 16:50:33 +05:30
Kovid Goyal
783e1875d3
Viewer: Add an option to keep the toolbar visible in full screen mode 2019-12-18 16:43:48 +05:30
Kovid Goyal
27e2b265e4
ToC Editor: Fix generate from links not working correctly when links have no fragments. Fixes #1856395 [Private bug](https://bugs.launchpad.net/calibre/+bug/1856395) 2019-12-18 16:14:28 +05:30
Kovid Goyal
3484c9bddf
Fix #1856741 [[Enhancement] Group builtin recipes by language and make it searchable](https://bugs.launchpad.net/calibre/+bug/1856741) 2019-12-18 14:16:43 +05:30
Kovid Goyal
4706561f57
PDF Output: Dont dedup images that cannot be uncompressed
Fixes #1856564 [pdf conversion error](https://bugs.launchpad.net/calibre/+bug/1856564)
2019-12-18 10:49:05 +05:30
Kovid Goyal
5ad63e6d9a
Edit book: Spell check: Ignore soft hyphens in words 2019-12-18 10:26:38 +05:30
Kovid Goyal
ab81c2f309
Better error message when trying to unzip file with reserved filenames on windows 2019-12-18 08:49:23 +05:30
Kovid Goyal
72efa745c7
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-12-18 07:41:48 +05:30
Eli Schwartz
0d7ae5b1b9
Don't pass the "format" argument of struct.pack as a bytestring.
It's the format argument, not actual data, and it's perfectly happy to
be a plain str. But using a b'' string in python3 means we cannot
interpolate an int inside, so we get the error message:

>>> serialize_binary('foo', True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/eschwartz/git/calibre/src/calibre/gui2/win_file_dialogs.py", line 61, in serialize_binary
    return struct.pack(b'=B%ssB' % len(key), len(key), key, int(val))
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'int'
2019-12-17 20:09:46 -05:00
Kovid Goyal
e082b67a6e
Fix #1856720 [Calibre activates discrete gpu on MacBook Pro](https://bugs.launchpad.net/calibre/+bug/1856720) 2019-12-17 20:56:08 +05:30
Kovid Goyal
362597ac87
py3 compat: forgot to port oneinstance of ungettext 2019-12-17 18:13:12 +05:30
Kovid Goyal
d775ae3582
string changes 2019-12-17 08:50:20 +05:30
Kovid Goyal
034c22de8c
Viewer: In multiple pages per screen mode, When paging back to a chapter we have just paged forward from return to the exact position we left from in terms of number of blank trailing pages displayed. Fixes #1856472 [Scrolling backwards at section boundaries causes incorrect page display](https://bugs.launchpad.net/calibre/+bug/1856472) 2019-12-16 22:56:58 +05:30
Kovid Goyal
018d673023
Merge branch 'master' of https://github.com/roman-mkh/calibre 2019-12-16 19:44:31 +05:30
Roman Mukhin
bf6f617800 Added currency symbol for RUB 2019-12-16 15:07:16 +01:00
Roman Mukhin
8dddfb9c05 corrected handling with http response headers 2019-12-16 15:01:21 +01:00
Kovid Goyal
fc216a9ffe
Update The Telegraph (UK)
Merge branch 'patch-11' of https://github.com/a10kiloham/calibre
2019-12-15 18:56:36 +05:30
a10kiloham
062fe39393
Updating for paywall added 2 years ago
Cleanup and login now required.
2019-12-15 13:10:19 +00:00
Kovid Goyal
8c382e7e4f
... 2019-12-15 18:19:32 +05:30
Kovid Goyal
c7f8350eca
Fix error highlighting in search and replace tab of bulk metadata edit in dark mode 2019-12-15 18:09:25 +05:30
Kovid Goyal
e9780b2a35
Make colors used by python highlighter work with dark theme as well 2019-12-15 18:01:53 +05:30
Kovid Goyal
307680a019
Viewer: Add a setting under Preferences->Colors to control when the viewer will override all book colors or not. 2019-12-15 17:48:00 +05:30
Kovid Goyal
e9b09b0066
Viewer: Add a class to <body> indicating if we are using light or dark color scheme. Can be used in the user stylesheet 2019-12-15 16:42:01 +05:30
Kovid Goyal
4ea2bd2a90
Avoid un-needed conversion to hsv to check if a color is dark
The V is HSV is anyway defined as max(r, g, b)
2019-12-15 16:28:05 +05:30
Kovid Goyal
6ca7282fd9
Viewer toolbar: Add an action to toggle the inspector 2019-12-15 14:42:13 +05:30
Kovid Goyal
4b077904c0
Viewer: have the toolbar actions for the docks indicate visibility 2019-12-15 14:38:33 +05:30
Kovid Goyal
ba95c2b363
Conversion dialogs: Dont allow a single large pane to change the size of all other panes. Fixes #1856382 [Changing the Output format to PDF in the conversation settings changes the cover size in the window](https://bugs.launchpad.net/calibre/+bug/1856382) 2019-12-15 13:30:22 +05:30
Kovid Goyal
36dfc37887
Fix #1856384 [[Enhancement] Show metadata from the beginning](https://bugs.launchpad.net/calibre/+bug/1856384) 2019-12-15 12:29:09 +05:30
Kovid Goyal
b861197248
Unify reference mode icon 2019-12-15 11:03:28 +05:30
Kovid Goyal
7b22d7f51a
Viewer: Fix occasional skipping over a chapter when flick scrolling in flow mode 2019-12-15 10:53:41 +05:30
Kovid Goyal
5bf261244d
Viewer: Fix flick scrolling in flow mode jumping to next chapter. Fixes #1856398 [Unable to scroll on touchscreen in e-book viewer](https://bugs.launchpad.net/calibre/+bug/1856398) 2019-12-15 10:12:05 +05:30
Kovid Goyal
ae3208c606
Advanced search dialog: Fix an error when closing dialog if on the second tab and no field is focused 2019-12-15 09:18:14 +05:30
Kovid Goyal
3185b543de
Use share_open for server log files in preferences 2019-12-15 09:07:22 +05:30
Kovid Goyal
5ef79c742a
Add support for sip5 2019-12-14 12:40:08 +05:30
Kovid Goyal
a3a2e8bd48
... 2019-12-14 11:31:02 +05:30
Kovid Goyal
537a27d098
macOS; Use transient scrollbars unless they are disabled in system preferences 2019-12-14 11:15:33 +05:30
Kovid Goyal
180c15bcb1
Merge branch 'master' of github.com:kovidgoyal/calibre 2019-12-14 10:33:31 +05:30
Kovid Goyal
c139aac5ab
Code to get cocoa transient scroller setting 2019-12-14 10:29:09 +05:30