Commit Graph

39675 Commits

Author SHA1 Message Date
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
Kovid Goyal d102aca175 Dont resolve entities in the RECOVER_PARSER 2019-12-29 18:17:20 +05:30
Kovid Goyal 631f266270 ... 2019-12-29 18:12:58 +05:30
Kovid Goyal 712258df81 http -> https and remove some non-working recipes 2019-12-29 18:10:25 +05:30
Kovid Goyal 68febe94ca Do not resolve entities when parsing XML
Resolving entities is dangerous since lxml will actually
read file:// URLs in entity definitions. Fixes #1857800 [Private bug](https://bugs.launchpad.net/calibre/+bug/1857800)
2019-12-29 18:01:43 +05:30
Kovid Goyal 589079c6aa UI to set margin colors in viewer preferences 2019-12-29 18:01:31 +05:30
Kovid Goyal c2b299aee5 Update London Review of Books 2019-12-29 17:44:14 +05:30
Kovid Goyal 4e776ca18b macOS: Fix regression in previous release that caused link color to be light blue even when not using dark color themes 2019-12-29 10:09:52 +05:30
Kovid Goyal 834f08747a Fix #1857770 [Clicking Show more books opens last book](https://bugs.launchpad.net/calibre/+bug/1857770) 2019-12-29 09:43:48 +05:30
Kovid Goyal 4c1032ba5c A toolbar button for auto-scrolling 2019-12-28 21:14:38 +05:30
Kovid Goyal 38736d9412 Add an auto-scroll button to the viewer controls 2019-12-28 20:49:37 +05:30
Kovid Goyal d94c2f21e7 Case independent 2019-12-28 18:02:18 +05:30
Kovid Goyal 7c143c7207 Fix auto-scroll across file boundaries 2019-12-28 14:31:43 +05:30
Kovid Goyal 9be75841ba Show an error message when trying to use auto scrolling in paged mode 2019-12-28 14:22:13 +05:30
Kovid Goyal fc5f471682 Viewer: Implement auto-scroll in flow mode. Can be toggled by pressing Ctrl+Spacebar. Its speed can be controlled in Viewer preferences under scrolling behavior.
Viewer: Allow configuring the speed with which the viewer scolls wheh
pressing the down key in flow mode (Viewer preferences->Scrolling behavior)

Merge branch 'scrolling' of https://github.com/mgziminsky/calibre
2019-12-28 14:13:47 +05:30
Kovid Goyal 4c2d255d86 RTF Output: Fix a regression that slowed down conversion. Fixes #1857732 [RTF Conversion Failure](https://bugs.launchpad.net/calibre/+bug/1857732) 2019-12-28 12:36:59 +05:30
Kovid Goyal c4afe06792 Release the GIL while drawing the snake spinner 2019-12-28 11:02:18 +05:30
Kovid Goyal 60b9cd1d8d Use native code to draw wait spinner 2019-12-28 10:58:39 +05:30
Kovid Goyal e228e601d5 String changes 2019-12-27 21:48:38 +05:30
Kovid Goyal 7ee4ce0d14 http -> https 2019-12-27 21:42:44 +05:30
Kovid Goyal 1e5657172f ... 2019-12-27 21:42:17 +05:30
Kovid Goyal 8c53305a4c Server viewer: Make exit fullscreen action available in viewer controls. Fixes #1857677 [Add Exit full screen option in Content server controls](https://bugs.launchpad.net/calibre/+bug/1857677) 2019-12-27 15:21:32 +05:30
Kovid Goyal 1044fb014c Fix typo causing a harmless error message when downloading covers and only a single cover is found 2019-12-27 14:26:28 +05:30
Kovid Goyal a158386e56 String changes 2019-12-27 14:07:54 +05:30
Kovid Goyal e271b4564a version 4.7.0 v4.7.0 2019-12-27 09:31:11 +05:30
Kovid Goyal 02343fd965 Possible fix for offscreen dialogs on windows
See https://bugreports.qt.io/browse/QTBUG-77385
2019-12-27 09:21:25 +05:30
Kovid Goyal 55dc27c9fa Merge branch 'master' of https://github.com/davidfor/calibre 2019-12-27 07:55:39 +05:30
David a9e07d9313 Add Kobo driver update. 2019-12-27 11:48:09 +11:00
Michael Ziminsky (Z) 0a9e52d212 Additional scroll options...
Option for whether or not to load next file after reaching the start/end when using key based scrolling
Configurable delay before loading the next file after reaching the end with auto-scroll
2019-12-26 12:28:42 -07:00
Michael Ziminsky (Z) 568d32ec16 Fix goto start/end of file in flow mode 2019-12-26 11:40:22 -07:00
Kovid Goyal ef3f0a8929 pep8 2019-12-26 21:56:11 +05:30
Kovid Goyal eb10773b6f py3: Fix calls to supportedImageFormats() 2019-12-26 18:08:16 +05:30
Kovid Goyal e721f8aa3e String changes 2019-12-26 08:52:53 +05:30
Michael Ziminsky (Z) b70ec30869 More robust line_height computation and settings init 2019-12-25 11:04:59 -07:00
Kovid Goyal 8ca694376b Put back login code for LRB since it is only open access temporarily 2019-12-25 19:43:19 +05:30
Kovid Goyal 6de56e8f93 Compile changelog translations 2019-12-25 16:47:01 +05:30
Kovid Goyal ff5039dd31 Split website and changelog translations 2019-12-25 09:58:58 +05:30
Kovid Goyal aca252eacf String changes 2019-12-25 08:20:37 +05:30
Michael Ziminsky (Z) 1ecf881cb4 Add settings elements to change scroll speeds 2019-12-24 10:50:41 -07:00
Michael Ziminsky (Z) e028bbb3f6 Add auto-scroll with keyboard shortcut 2019-12-24 10:20:39 -07:00
Michael Ziminsky (Z) 0229c684f3 Make smooth scroll speed configurable
Includes keyboard shortcuts, will add menu options next
2019-12-24 10:20:39 -07:00
Michael Ziminsky (Z) 208734f47b Sort default settings and larger handler definitions
Use session defaults in reader settings to reduce code duplication
2019-12-24 10:19:00 -07:00
Michael Ziminsky (Z) 94ac5ef102 Rework flow mode scrolling to be smoother and deterministic
This is the first step towards built-in autoscroll and configurable scroll speed. The old impl is jumpy and inconsistent, ie: scrolling up N times then down N times may not result in the same start and end positions.
2019-12-24 10:17:54 -07:00
Michael Ziminsky (Z) 281592bdaa Fix what I assume is a copy/paste oversight 2019-12-24 10:17:54 -07:00
Kovid Goyal b13f5d6a0c Viewer: Allow modifying the current selection using Ctrl+Shift+arrow. Fixes #1855942 [[Enhancements] Comments and select text with keyboard](https://bugs.launchpad.net/calibre/+bug/1855942) 2019-12-24 21:21:15 +05:30
Kovid Goyal 431d55dbca Book details: Add an option in Preferences->Look & feel->Book details to show a heading for the comments in the book details panel
See #1855942 ([Enhancements] Comments and select text with keyboard)
2019-12-24 20:24:23 +05:30