Commit Graph

30536 Commits

Author SHA1 Message Date
Kovid Goyal 53ffa30767 ... 2019-10-08 12:55:19 +05:30
Kovid Goyal 9fa545f5d9 Book details: Automatically adjust the link color when using a dark theme 2019-10-08 11:16:45 +05:30
Kovid Goyal 551c868899 Add macOS specific shortcuts for changing font size 2019-10-08 08:25:44 +05:30
Kovid Goyal fd2eb6b6d8 Content server; Fix regression that caused series name in book details view not not be blue to indicate it is clickable 2019-10-08 08:24:12 +05:30
Kovid Goyal 77f240a4d3 version 4.1.0 2019-10-08 07:03:45 +05:30
Kovid Goyal 3c1c90ba7d Refactor the viewer preferences
DRYer and add restore default/OK/Cancel buttons to all preferences
sections
2019-10-07 22:23:40 +05:30
Kovid Goyal a2708e8ea2 Viewer: Also apply changes to preferences when pressing esc as there are a number of people who do this and then complain that the preferences dont stick, and I have only so much patience 2019-10-07 20:16:08 +05:30
Kovid Goyal b1ef8dc2fb Right clicking in overlays should act like Esc 2019-10-07 16:16:23 +05:30
Kovid Goyal b7af7c7df6 Fix dragging scrollbar slider not working when mouse leaves window 2019-10-07 16:09:12 +05:30
Kovid Goyal 696a93deea Edit book: Font manager: Fix removing embedded font failing if @font-face rule has no src. Fixes #1847052 [Unable to remove font from font manager](https://bugs.launchpad.net/calibre/+bug/1847052) 2019-10-07 16:01:22 +05:30
Kovid Goyal 9ee5bc98c5 Automatically adjust scrollbar colors to match current color scheme 2019-10-07 13:38:13 +05:30
Kovid Goyal 63fda1fed3 Implement the scrollbar inside the web view
This allows it to be hidden naturally when displaying the overlay.
Also gives nice control when clicking in the gutter to scroll by page
2019-10-07 13:18:24 +05:30
Kovid Goyal bb5b7b0253 Fix clicking on scrollbar arrows/gutter not scrolling text 2019-10-07 07:22:03 +05:30
Kovid Goyal 6b224f2a35 Use an all files filter when adding links unless treat as image is checked 2019-10-07 07:09:52 +05:30
Kovid Goyal e6b44cf5fa PDF Output: Ignore 4 byte differences in glyph sizes when merging. Fixes #1846982 [Conversion from ePub to PDF fails](https://bugs.launchpad.net/calibre/+bug/1846982) 2019-10-07 06:57:17 +05:30
Kovid Goyal 2207a86ea7 Better error message when there is a glyph mismatch 2019-10-07 06:41:14 +05:30
Kovid Goyal c668fec87b Edit metadata: Use a border rather than background color to indicate correct title and author sort values. Works better with dark themes. Fixes #1846967 [Private bug](https://bugs.launchpad.net/calibre/+bug/1846967) 2019-10-07 06:19:20 +05:30
Kovid Goyal d84626293c PDF Output: Fix a bug that prevented the first style property in the header or footer template from being applied 2019-10-06 23:07:56 +05:30
Kovid Goyal 77dc63cab9 Fix typo in dropbox fw version in kobo driver 2019-10-06 22:53:43 +05:30
Kovid Goyal 7e49092f17 Move scrollbar suppression into the load pipeline and only suppress until load is completed 2019-10-06 22:51:54 +05:30
Kovid Goyal 0ccedfdcc7 Viewer: Add an option to display a scrollbar 2019-10-06 22:36:57 +05:30
Kovid Goyal 42ae6dea61 ... 2019-10-06 21:09:56 +05:30
Kovid Goyal d3c0452d6f Viewer: Hide the browser provided scrollbar that flashes momentarily on page load. Fixes #1846922 [Scroll bar in new viewer](https://bugs.launchpad.net/calibre/+bug/1846922) 2019-10-06 20:20:57 +05:30
Kovid Goyal 0e8d5d3793 Merge branch 'master' of https://github.com/davidfor/calibre 2019-10-06 19:19:32 +05:30
David 48d1bf424c Bump supported Kobo firmware version
Plus add a tag for Dropbox support. Will be adding something for that
later, but, won't harm anything at the moment.
2019-10-07 00:43:09 +11:00
Kovid Goyal 73077b2207 Same fix for bottom margin as well 2019-10-06 12:36:01 +05:30
Kovid Goyal cd2049befd Viewer: Fix clicking on margins causing keyboard shortcuts to not work until the main text is clicked on again 2019-10-06 12:34:11 +05:30
Kovid Goyal 87be626af7 Viewer: Add options to control scrolling using the mouse in paged mode.
Fixes #1846800 [Feature request: Add an option for mouse scroll to scroll by screen fulls rather than a single page](https://bugs.launchpad.net/calibre/+bug/1846800)
2019-10-06 12:32:22 +05:30
Kovid Goyal db583073de Viewer: Add a keyboard shortcut (Ctrl+m) to toggle between paged mode and flow mode 2019-10-06 08:58:19 +05:30
Kovid Goyal 91438dd8f1 Viewer: Fix a couple of bugs in flow mode. Scrolling to anchors was not working and remembering last read position was not working 2019-10-06 08:46:53 +05:30
Kovid Goyal 995e9ecd79 Viewer: Allow copying images by right clicking on them. Fixes #1846903 [Right Click Copy Image v 4](https://bugs.launchpad.net/calibre/+bug/1846903) 2019-10-06 08:08:10 +05:30
Kovid Goyal 5e25ebd6f1 Viewer: Fix text after comments not being rendered. Fixes #1846875 [text after HTML comment in epub is not displayed](https://bugs.launchpad.net/calibre/+bug/1846875) 2019-10-06 07:21:40 +05:30
Kovid Goyal e93a01aa3d Content server: Make the book size useable in custom book list templates. Fixes #1846839 [Custom book list template doesn't work with {size}](https://bugs.launchpad.net/calibre/+bug/1846839) 2019-10-05 12:50:05 +05:30
Kovid Goyal a87c59e8c8 Viewer: Add a preference under Miscellaneous to allow only a single instance of the viewer 2019-10-05 12:35:23 +05:30
Kovid Goyal fc9bbd7ca2 String changes 2019-10-05 12:09:53 +05:30
Kovid Goyal 34d3011726 Get rid of busy loop retries for connecting to inspector dock 2019-10-05 11:10:38 +05:30
Kovid Goyal d2d188215c Editor: Fix inspector not working when running from source. Fixes #1846819 [Editor Inspector doesn't work when running from source](https://bugs.launchpad.net/calibre/+bug/1846819) 2019-10-05 11:03:19 +05:30
Kovid Goyal e0630cadd3 Viewer: Fix failing to open books if path to cache contains symbolic links. Fixes #1846834 [symlinked .cache cause calibre 4 reader fail](https://bugs.launchpad.net/calibre/+bug/1846834) 2019-10-05 10:27:48 +05:30
Kovid Goyal e9250df828 Prevent esc key from closing the loading msg and the initial open book screen 2019-10-05 10:23:12 +05:30
Kovid Goyal b72922e94c Fix a regression that broke reading metadata from ODT files that do not have keywords. Fixes #1846828 [e-book reader does not read .odt files](https://bugs.launchpad.net/calibre/+bug/1846828) 2019-10-05 10:11:19 +05:30
Kovid Goyal 644071ff0c Viewer: When restoring from fullscreen go back to maximized state if window was maximized when entering full screen. Fixes #1846753 [Window Size not retained when exiting from full screen in ebook-viewer](https://bugs.launchpad.net/calibre/+bug/1846753) 2019-10-05 10:07:46 +05:30
Kovid Goyal 46dbd9b24b Use macOS specific modifier names in UI 2019-10-05 07:26:15 +05:30
Kovid Goyal f542ac933d Viewer: Add a configurable Quit shortcut 2019-10-05 06:59:58 +05:30
Kovid Goyal 13e2bf077f Fix weirdness when closing customize individual shortcut panel 2019-10-04 22:44:01 +05:30
Kovid Goyal 95c71e3cd0 Viewer: Fix shortcut changes not being applied after pressing OK if shortcut list is closed by pressing Esc. Fixes #1846765 [ebook viewer preferences not saved](https://bugs.launchpad.net/calibre/+bug/1846765) 2019-10-04 22:39:09 +05:30
Kovid Goyal 67aca61d0c Avoid zero-div 2019-10-04 20:00:59 +05:30
Kovid Goyal 8ef6938e03 Viewer: Allow showing the "position in book" as was displayed in the top left of the viewer in calibre 3 in the header and footer. Fixes #1846700 [Absolute position for book viewer](https://bugs.launchpad.net/calibre/+bug/1846700) 2019-10-04 19:55:17 +05:30
Kovid Goyal cc54251368 Increase rename retries since we could have file sync programs in the mix as well 2019-10-04 18:51:56 +05:30
Kovid Goyal f0b3091a18 Viewer: Fix loading progress screen sometimes getting stuck if changing pages rapidly with mouse wheel. Fixes #1846751 [New Viewer App gets stuck at "Loading next section from … please wait…" when scrolling](https://bugs.launchpad.net/calibre/+bug/1846751) 2019-10-04 18:50:45 +05:30
Kovid Goyal 7ca2f68e53 Comments editor: Workaround for Qt converting ids into anchors 2019-10-04 15:42:25 +05:30