39538 Commits

Author SHA1 Message Date
Kovid Goyal
5230b6bf9d
Update Il Sole 24 Ore 2019-10-13 09:49:27 +05:30
Kovid Goyal
dec7a51650
py3 compat 2019-10-13 09:40:49 +05:30
Kovid Goyal
5679a596d0
Viewer: Preselect text in search box when showing it. Fixes #1847677 [New Viewer Search](https://bugs.launchpad.net/calibre/+bug/1847677) 2019-10-11 07:12:19 +05:30
Kovid Goyal
b17b3f358d
Content server: Fix detection of iOS on iPAD with iOS 13 which defaults to desktop mode 2019-10-09 20:31:39 +05:30
Kovid Goyal
4a3df07974
Viewer: If the book has no ToC try to generate one from headings, if any. Fixes #1847277 [Book viewer don't display content of fb2](https://bugs.launchpad.net/calibre/+bug/1847277) 2019-10-09 20:20:18 +05:30
Kovid Goyal
02a9da1681
py3 compat 2019-10-09 18:19:28 +05:30
Kovid Goyal
74303fe6d8
Viewer: Restore print to PDF functionality 2019-10-09 17:30:41 +05:30
Kovid Goyal
5ea542b13c
Viewer: Improve rendering of comics. No blank pages after large images or after every image in multi-page mode. 2019-10-09 16:41:05 +05:30
Kovid Goyal
871b0386de
Hide loading overlay on book load failure 2019-10-09 16:36:58 +05:30
Kovid Goyal
7b1e665186
Viewer: Show nicer error message for DRMed books
Fixes #1847468 [Error when reading DRM protected file from amazon](https://bugs.launchpad.net/calibre/+bug/1847468)
2019-10-09 16:26:38 +05:30
Kovid Goyal
be146674de
Apparently layoutStyle() is deprecated 2019-10-09 15:01:32 +05:30
Kovid Goyal
83dd9c375d
Viewer: Fix a regression that broke creating new color schemes
Fixes #1847407 [Unhandled error when adding new color scheme](https://bugs.launchpad.net/calibre/+bug/1847407)
2019-10-09 14:32:27 +05:30
Kovid Goyal
21df277dc4
Viewer: Make it easier to use the bookmarks panel with only keyboard. Fixes #1847423 [[Feature] Make ebook viewer keyboard-friendly](https://bugs.launchpad.net/calibre/+bug/1847423) 2019-10-09 14:11:23 +05:30
Kovid Goyal
e2ded28390
Viewer: Set the classes calibre-viewer-paginated and calibre-viewer-scrolling on the <body> tag in Paged and Flow modes. This allows the User styles to target these modes, if needed. Fixes #1847427 [Request New Feature](https://bugs.launchpad.net/calibre/+bug/1847427) 2019-10-09 13:06:14 +05:30
Kovid Goyal
6f09624280
When calculating CFI in paged mode go column-by-column from left to right and in each column start form midpoint and expand outwards 2019-10-09 12:55:45 +05:30
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