31298 Commits

Author SHA1 Message Date
Kovid Goyal
850b2b8a9d
Edit book: Check book: Improved checking of CSS, with support for CSS 3 2020-01-08 18:53:57 +05:30
Kovid Goyal
7a16568127
Fix #1858779 [Fails to load KIPEO plugin](https://bugs.launchpad.net/calibre/+bug/1858779) 2020-01-08 16:23:17 +05:30
Kovid Goyal
7474547bd2
py3: Fix decoding of CFF font tables 2020-01-08 08:23:36 +05:30
Kovid Goyal
09aae8b299
String changes 2020-01-08 08:01:33 +05:30
Kovid Goyal
38d463220c
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2020-01-07 21:29:54 +05:30
Eli Schwartz
cc2eefbb17
py3: fix creation of empty record with .txt format
Metadata objects are unicode strings, but we tried to write the content
directly to a .txt file opened in binary mode.
2020-01-07 10:53:44 -05:00
Kovid Goyal
788278b97e
Fix #1858606 [Smooth scrolling settings doesn't fit on small screens](https://bugs.launchpad.net/calibre/+bug/1858606) 2020-01-07 15:02:26 +05:30
Kovid Goyal
464fafd047
String changes 2020-01-06 18:37:01 +05:30
Kovid Goyal
aa9bfb5c59
Viewer: Forgot to add shift+space as default shortcut for pageup 2020-01-06 18:13:07 +05:30
Kovid Goyal
1eba328f26
DRYer 2020-01-06 17:52:29 +05:30
Kovid Goyal
15a0112b47
Use an id selector 2020-01-06 17:23:39 +05:30
Kovid Goyal
f5abd0e252
... 2020-01-06 15:53:07 +05:30
Kovid Goyal
6f1e8c863f
Avoid unnecessary python object creation/destruction in count_words() 2020-01-06 15:47:39 +05:30
Kovid Goyal
3cc55b16fe
Change O(n^2) algorithm to O(n) when splitting using the ICU break iterator 2020-01-06 15:24:33 +05:30
Kovid Goyal
f3a877f404
Viewer: Fix data displayed in side margins getting moved out of position when mouse hovers over side margin. Fixes #1858263 [Top, middle and bottom margin data shown in the middle margin when mouse hovers](https://bugs.launchpad.net/calibre/+bug/1858263) 2020-01-06 14:36:13 +05:30
Kovid Goyal
b2c4abd9b0
Fix #1858284 [Automatic adding dialog has an unnecessary scrollbar](https://bugs.launchpad.net/calibre/+bug/1858284) 2020-01-06 14:16:45 +05:30
Kovid Goyal
9a452f67b8
Book details panel: When right clicking to save the cover, replace invalid characters in the suggested filename 2020-01-06 11:52:11 +05:30
Kovid Goyal
994fae5f94
Fix #1858198 [Error adding SSL certificate and private key files for the Content server](https://bugs.launchpad.net/calibre/+bug/1858198) 2020-01-04 09:40:04 +05:30
Kovid Goyal
513f9a3a30
Avoid stack overflow due to unbounded recursion in safe_walk 2020-01-04 09:03:50 +05:30
Kovid Goyal
e6657d999a
Viewer: Fix Ctrl+Shift shortcuts not being displayed properly on windows 2020-01-04 08:58:44 +05:30
Kovid Goyal
d327cedc82
Fix #1858180 [Error when enabling auto scroll on server in paged mode](https://bugs.launchpad.net/calibre/+bug/1858180) 2020-01-03 14:12:42 +05:30
Kovid Goyal
75bf8b69c3
version 4.8.0 2020-01-03 06:59:53 +05:30
Kovid Goyal
fc8659e07a
Viewer: Fix error when trying to change more than a single keyboard shortcut at once. Fixes #1858117 [ERROR: Unhandled error: Uncaught TypeError when setting custom keyboard shortcut in viewer](https://bugs.launchpad.net/calibre/+bug/1858117) 2020-01-02 22:13:36 +05:30
Kovid Goyal
dcc5757a24
Make font italic for current tab in editor 2020-01-02 00:12:54 +05:30
Kovid Goyal
ad4d1f882a
No need to subclass 2020-01-01 14:10:57 +05:30
Kovid Goyal
fbfebda03f
Dont use a recovering XML parser in a few places where we are expected to fail on invalid XML 2020-01-01 14:00:36 +05:30
Kovid Goyal
3eb28b395e
Ignore double removes 2020-01-01 13:25:03 +05:30
Kovid Goyal
6b348a0940
PDF Output: Fix extracting text from generated PDFs not working if more than 100 characters per font are used in the text. Fixes #1857886 [Convert epub to pdf, pdf appearance looks correct, but some of the copied text is incorrect](https://bugs.launchpad.net/calibre/+bug/1857886) 2020-01-01 12:45:20 +05:30
Kovid Goyal
3bcf55d571
macOS: Fix viewer controls not using system UI font 2020-01-01 10:45:37 +05:30
Kovid Goyal
b966cdcef7
Viewer: Allow right clicking in the lookup panel to zoom in/out. Fixes #1857989 [Increase font size of "Lookup" pop-up [enhancement]](https://bugs.launchpad.net/calibre/+bug/1857989) 2020-01-01 10:08:50 +05:30
Kovid Goyal
3630ae9d8f
... 2019-12-31 13:17:25 +05:30
Kovid Goyal
330d5d1b42
... 2019-12-31 08:43:25 +05:30
Kovid Goyal
d50b849e1d
Viewer: Allow showing data in left and right margins in addition to headers/footers. Fixes #1855121 [Feature Request: Add Entries to Side Margins](https://bugs.launchpad.net/calibre/+bug/1855121) 2019-12-31 08:38:37 +05:30
Kovid Goyal
bf83df219c
Fix #1857923 [[Enhancement] Remeber last paths in automatic adding](https://bugs.launchpad.net/calibre/+bug/1857923) 2019-12-31 08:08:02 +05:30
Kovid Goyal
f24fbd5312
Add ctrl+, and meta+, and meta+esc to show preferences 2019-12-30 15:33:13 +05:30
Kovid Goyal
85486ea260
Cleanup 2019-12-30 14:58:35 +05:30
Kovid Goyal
018b685000
DRYer 2019-12-30 13:05:55 +05:30
Kovid Goyal
3b45583ddb
UI for showing data in side margins 2019-12-30 11:24:15 +05:30
Kovid Goyal
d768e69e2a
Viewer: Override border colors as well when overriding book colors 2019-12-30 11:02:03 +05:30
Kovid Goyal
971df45055
Viewer: Allow setting colors for the margins when creating new color schemes in Preferences->Colors 2019-12-30 10:50:25 +05:30
Kovid Goyal
007823983b
More appropriate function name 2019-12-30 10:47:04 +05:30
Kovid Goyal
3305fe4a14
Fix set_radio_group_value and make it re-useable 2019-12-30 10:43:23 +05:30
Kovid Goyal
9b982d3f18
Make blockquote detection a bit more fine-grained
See #1857852 (Comment editor converting p's to blockquotes)
2019-12-30 08:41:44 +05:30
Kovid Goyal
e4b00a3573
Viewer: Ctrl+esc to show preferences 2019-12-30 08:27:45 +05:30
Kovid Goyal
746381d179
A few more etree.fromstring 2019-12-29 22:02:16 +05:30
Kovid Goyal
3932fb8b5a
Viewer: Fix images not being rendered at certain sizes when they are the only content on the page in paged mode with single page per screen. Fixes #1857803 [Viewer doesn't show some images](https://bugs.launchpad.net/calibre/+bug/1857803) 2019-12-29 21:37:16 +05:30
Kovid Goyal
034d561be7
Forgot to add int version of setDisplaySize 2019-12-29 20:42:09 +05:30
Kovid Goyal
fd8ee8bff0
String changes 2019-12-29 20:13:12 +05:30
Kovid Goyal
127fc7cffa
Viewer: Fix svg links not working. Fixes #1857812 [Private bug](https://bugs.launchpad.net/calibre/+bug/1857812) 2019-12-29 20:07:07 +05:30
Kovid Goyal
e5d6a6ef9f
Use a per-thread XML parser instance 2019-12-29 18:24:56 +05:30