31298 Commits

Author SHA1 Message Date
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 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
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
Andrey Efremov
906b8773c5 FB2 Output: Remove extra space in short tags 2019-10-06 18:27:17 +07:00
Andrey Efremov
0f5b72b437 FB2 Output: Use short xlink namespace 2019-10-06 18:27:17 +07:00
Andrey Efremov
88159288a8 FB2 Output: Remove extra line breaks and prettify XML markup 2019-10-06 18:27:17 +07:00
Andrey Efremov
6071352d67 FB2 Output: Fix id for PNG images 2019-10-06 18:27:17 +07:00
Andrey Efremov
2ce345e5dd FB2 Output: Speed up image data splitting 2019-10-06 15:20:38 +07: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