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
Kovid Goyal
ebba389a6a
Fix search highlight color in dark mode
2019-12-14 09:40:53 +05:30
Kovid Goyal
15e247f88a
Merge branch 'master' of github.com:kovidgoyal/calibre
2019-12-13 18:09:42 +05:30
Kovid Goyal
283dbdf392
Dont run update since it breaks on github CI
2019-12-13 18:09:23 +05:30
Kovid Goyal
36fbbb6ae1
Update The Economist
2019-12-13 14:48:45 +05:30
Kovid Goyal
a2bf48c929
Make building manual more reliable
2019-12-13 09:48:25 +05:30
Kovid Goyal
e5ee211dd1
String changes
2019-12-13 08:40:55 +05:30
Kovid Goyal
326b7b7798
...
2019-12-13 08:27:09 +05:30
Kovid Goyal
e1570706e1
version 4.6.0
v4.6.0
2019-12-13 01:41:30 +05:30
Kovid Goyal
b509cfefbc
Fix #1856234 [Text under icons not shown in the Preferences for Edit book]( https://bugs.launchpad.net/calibre/+bug/1856234 )
2019-12-13 01:14:10 +05:30
Kovid Goyal
e89f8efb9c
Make file browser and toc view use window background in editor
2019-12-12 11:17:14 +05:30
Kovid Goyal
76de4ffe1c
Viewer: Fix max text width/height settings not being applied correctly on window resize. Fixes #1854211 [The text becomes very narrow when making the window smaller if a max weight is set]( https://bugs.launchpad.net/calibre/+bug/1854211 )
2019-12-12 10:38:51 +05:30
Kovid Goyal
edf231e3ff
Use a token for github
2019-12-12 10:04:36 +05:30
Kovid Goyal
9aa4a426e7
Fix #1855820 [Configure metadata download field sizes]( https://bugs.launchpad.net/calibre/+bug/1855820 )
2019-12-12 08:47:55 +05:30
Kovid Goyal
e9576e8559
Fix rendering of checkbox outlines in dark mode
2019-12-12 08:37:11 +05:30
Kovid Goyal
aa0da824a5
Dont draw ugly border line under editor tab bar in dark mode
2019-12-11 21:04:47 +05:30
Kovid Goyal
3d42f724f3
Fix #1855957 [[Enhancement] Increase Max. OPDS items per query]( https://bugs.launchpad.net/calibre/+bug/1855957 )
2019-12-11 11:49:47 +05:30
Kovid Goyal
5c2d0e7934
More dark mode icon fixes
2019-12-10 20:59:24 +05:30
Kovid Goyal
44b196ba0d
More dark mode icon adaptation
2019-12-10 20:35:30 +05:30
Kovid Goyal
7bdf5fff0f
Fix document type icons for dark themes
2019-12-10 14:29:50 +05:30