39523 Commits

Author SHA1 Message Date
Kovid Goyal
1ca6398471
Viewer: Also show book position in Goto list 2019-10-09 11:39:49 +05:30
Kovid Goyal
4a074eb2bf
Viewer: Fix preferences under Scrolling behavior not being saved correctly 2019-10-09 11:34:34 +05:30
Kovid Goyal
3faa52ee58
Viewer: Allow jumping to a book position, in addition to a CFI location via Go to->Location 2019-10-09 11:23:22 +05:30
Andrey Efremov
3e680ac307 FB2 Output: Merge ifs 2019-10-09 12:18:31 +07:00
Andrey Efremov
c42d2db421 FB2 Output: Handle external links 2019-10-09 12:13:25 +07:00
Kovid Goyal
1cdface5ad
Viewer: Fix remembered position sometimes off by one page in paged mode. Fixes #1847322 [Viewer opens to wrong page](https://bugs.launchpad.net/calibre/+bug/1847322) 2019-10-09 09:13:09 +05:30
Kovid Goyal
5d272e86e8
... 2019-10-09 09:10:51 +05:30
Kovid Goyal
a79c83cb9e
Viewer: Fix scrollbar showing up on initial book open even if disabled in preferences. Fixes #1847323 [Scrollbar shows even when disabled on book open](https://bugs.launchpad.net/calibre/+bug/1847323) 2019-10-09 07:43:18 +05:30
Kovid Goyal
0605ec0054
Viewer: restrict max size of margin page turn indicators to 25px rather than 75px 2019-10-08 22:43:20 +05:30
Kovid Goyal
acad92b5a3
Viewer: Fix SVG images that use xlink:href to refer to paths not being displayed. Note you will have to reload the book to see the fix. Fixes #1847181 [Private bug](https://bugs.launchpad.net/calibre/+bug/1847181) 2019-10-08 21:45:14 +05:30
Kovid Goyal
32382b7b37
Simplify loading overlay implementation 2019-10-08 21:31:27 +05:30
Kovid Goyal
29899bec68
Remove unused code 2019-10-08 19:32:40 +05:30
Kovid Goyal
c264cf7a21
Viewer: Dont flash the home page before loading a book if a book has been specified 2019-10-08 19:23:08 +05:30
Kovid Goyal
96ebc4bda3
Prevent loading overlay from slowing actual loading
The python GIL means quick pre-emption is too costly
2019-10-08 18:34:20 +05:30
Kovid Goyal
5385df337e
Viewer: Fix ctrl+m shortcut not working on windows 2019-10-08 18:08:51 +05:30
Kovid Goyal
88ed3546be
Viewer: Use Qt for errors and the loading spinner
Makes the UI more consistent with the rest of calibre.

Also, change the initial loading text depending on
whether the prepared book is already cached or not.
2019-10-08 15:42:14 +05:30
Andrey Efremov
e7175e802b FB2 Output: Remove section regexp what do nothing and rearrange regexps 2019-10-08 16:10:33 +07:00
Andrey Efremov
d7a4e10c60 FB2 Output: Revert some changes in regular expressions due to different behavior 2019-10-08 15:57:13 +07:00
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
Andrey Efremov
162d86429d FB2 Output: Ignore case flag is not required because the writer outputs only lowercase tag names 2019-10-08 12:19:02 +07:00
Andrey Efremov
cb45766216 FB2 Output: Put line breaks between paragraphs on a separate line 2019-10-08 12:16:35 +07:00
Andrey Efremov
3b8d769128 FB2 Output: Simplify regular expressions 2019-10-08 12:16:06 +07:00
Andrey Efremov
abe408bc39 FB2 Output: Dedent the header to position it on the same level as the body 2019-10-08 11:16:51 +07:00
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 v4.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
Andrey Efremov
8b11947309 FB2 Output: Keep contents of empty tags if they placed between words 2019-10-07 17:48:17 +07:00
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
Andrey Efremov
0c1ca17192 FB2 Output: Annotation should be wrapped in p 2019-10-07 12:28:49 +07:00
Andrey Efremov
d02966423c FB2 Output: Remove empty tags 2019-10-07 12:28:18 +07:00
Andrey Efremov
58352097ad FB2 Output: Proper join of XML parts 2019-10-07 12:27:00 +07:00
Andrey Efremov
62757eadff FB2 Output: Remove empty lines from header 2019-10-07 12:22:07 +07:00
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