39255 Commits

Author SHA1 Message Date
Kovid Goyal
997333f0b0
DRYer 2019-10-17 16:37:20 +05:30
Kovid Goyal
51fddd3415
Move book extraction out of Container constructor 2019-10-17 16:34:48 +05:30
Kovid Goyal
15d9fc23f2
FB2 Output: Speed up conversion of images and handle external links
Merge branch 'fb2-fixes' of https://github.com/PalmtopTiger/calibre
2019-10-17 16:17:57 +05:30
Kovid Goyal
bf3236db9b
... 2019-10-17 15:30:16 +05:30
Kovid Goyal
f8e4485bc3
Add a class to the footnote container 2019-10-17 15:26:29 +05:30
Kovid Goyal
609c8a2215
Edit book: Apply the same workaround for use of 100% instead of 100vh in full screen SVG images as is used in the viewer. This should give the same rendering as in the viewer, leading to less confusion.
I of course dont like implementing this kind of hackery, but...
2019-10-17 13:12:08 +05:30
Kovid Goyal
27d3a28a1d
Viewer: Don't map epub:type to ARIA role
Apparently the EPUB committee has decided not to phase out epub:type
after all, so keep it around. This way it can be used in namespaced
CSS stylesheets.
2019-10-17 12:23:59 +05:30
Kovid Goyal
7369171e33
Move spinner implementation into native code
Should make it more performant and allow drawing without
holding the GIL. Note that have not currently replaced the
actual python implementation as that would break running from source.
Will do that after the next release.
2019-10-17 11:39:41 +05:30
Kovid Goyal
10d5d8b6bc
Fix a regression in 4.0 that broke rendering of PDF covers for PDF files that used JPEG2000 compression. Fixes #1847567 [Cover generation from PDF files is not working](https://bugs.launchpad.net/calibre/+bug/1847567) 2019-10-17 11:10:42 +05:30
Kovid Goyal
6abbf2221e
Viewer: Fix an error when processing a CFI with an invalid text offset. Fixes #1848320 [E-book viewer - Error: Unhandled error](https://bugs.launchpad.net/calibre/+bug/1848320) 2019-10-16 18:26:08 +05:30
Kovid Goyal
95da08c893
Clean up error handling 2019-10-16 14:29:45 +05:30
Kovid Goyal
c5a48c8ae5
Viewer: Fix scrolling backwards to previous chapter not always scrolling to the end of the chapter, if the chapter loads external resources. Fixes #1847818 [Private bug](https://bugs.launchpad.net/calibre/+bug/1847818) 2019-10-16 09:38:20 +05:30
Kovid Goyal
d87abcce3b
Viewer: Fix hang on books with namespaced attributes on <html> that do not belong to a known ebook namespace. Fixes #1846886 [New ebook viewer hangs on some large EPUB](https://bugs.launchpad.net/calibre/+bug/1846886) 2019-10-16 08:04:58 +05:30
Kovid Goyal
667d4586fd
Fix keyboard shortcuts not working after closing footnote popup 2019-10-16 07:14:31 +05:30
Kovid Goyal
04d3066594
Properly log FAKE_PROTOCOL failed requests 2019-10-16 07:12:37 +05:30
Kovid Goyal
df2756faa3
Sandboxed network requests must start with book/ 2019-10-16 07:03:33 +05:30
Kovid Goyal
a8bd8f806d
Viewer: Fix search history not persisting between viewer restarts. Fixes #1847976 [feature request: viewer 4 search history as in viewer 3](https://bugs.launchpad.net/calibre/+bug/1847976) 2019-10-16 06:57:32 +05:30
Kovid Goyal
9e9a863e19
Output time to prepare book in debug mode 2019-10-16 06:30:09 +05:30
Kovid Goyal
3bf9fe32ac
Micro-optimization 2019-10-16 06:26:27 +05:30
Kovid Goyal
bf18b7273f
Filter out <base> when rendering books 2019-10-16 06:19:28 +05:30
Kovid Goyal
7ca139a210
Fix loading of non-virtualized resources when html files are not in the book root 2019-10-16 06:16:33 +05:30
Kovid Goyal
ac036ccf1b
Update RapydScript compiler 2019-10-16 06:14:56 +05:30
Kovid Goyal
3aac652c0b
Update various Polish News sources
Merge branch 'master' of https://github.com/t3d/calibre
2019-10-16 04:49:59 +05:30
Kovid Goyal
47e69cb545
Only run the link regex over virtualized resources client side 2019-10-16 04:44:29 +05:30
Kovid Goyal
8c3c634650
... 2019-10-16 04:36:32 +05:30
Kovid Goyal
adad3b4d1f
Viewer: Fix rendering of books with mathematics failing 2019-10-16 04:34:57 +05:30
Tomasz Długosz
dd7f03b859 update Krytyka Polityczna 2019-10-16 01:04:29 +02:00
Kovid Goyal
504501de7f
Revert workaround for Qt Bug that caused calibre to not start full screen in windows 10 tablet mode
The bug has been fixed as of Qt 5.8 https://bugreports.qt.io/browse/QTBUG-56831
And maybe calling restoreGeometry() fter show will help with offscreen
positioning in multi-monitor setups.
2019-10-16 04:14:56 +05:30
Tomasz Długosz
7d54f6325d update kresy.pl 2019-10-15 22:41:04 +02:00
Tomasz Długosz
5b78ef3810 powrót Krula 2019-10-15 21:38:19 +02:00
Tomasz Długosz
e96490d78f jazzpress doesn't publish epub any more 2019-10-15 21:14:06 +02:00
Kovid Goyal
9868c1cc5e
Force reload of all books on next update
There have been a lot of changes to the viewer code
2019-10-15 21:30:09 +05:30
Kovid Goyal
a046eb67ea
Viewer: Dont virtualise resources
We dont need to virtualize since we can override network access. This
should improve individual HTML file loading performance a bit. Since we
dont need to replace virtualised links and load content as blobs
2019-10-15 21:27:17 +05:30
Kovid Goyal
6fb1eab8d7
... 2019-10-15 19:12:12 +05:30
Kovid Goyal
a1171d71fb
Better solution to avoid flash of unstyled text
Simply hide the iframe while loading
2019-10-15 18:40:11 +05:30
Kovid Goyal
d9284fe6ab
Separate miscellaneous transforms from virtualization 2019-10-15 18:03:56 +05:30
Kovid Goyal
07bd906363
Make inline style transformation its own re-useable function 2019-10-15 18:01:50 +05:30
Kovid Goyal
be58929e95
Clean up progress_frac reporting in flow mode 2019-10-15 11:58:58 +05:30
Kovid Goyal
d66ed41ef9
Viewer: Fix scrolling by screenfuls not working correctly in flow mode 2019-10-15 11:10:59 +05:30
Kovid Goyal
a1d51ea302
Various improvements to dark mode support
Now colors can be dynamically changed and more widgets
react appropriately. Also use err/ok indicator colors
that work in both light and dark mode
2019-10-15 10:36:07 +05:30
Kovid Goyal
5469beeeb6
Disable alternating row colors when using dark color themes as the alternate color Qt picks is pretty bad 2019-10-15 06:42:34 +05:30
Kovid Goyal
5b431a8c6a
Forgot to remove content load delay for testing 2019-10-15 06:25:13 +05:30
Kovid Goyal
f38a7d15ba
EPUB 2 metadata: Fix obfuscated fonts being broken when updating metadata if the file uses Adobe font obfuscation and the identifier with the key has an uppercase UUID scheme name. Fixes #1847890 [dc:identifier line being removed from content.opf](https://bugs.launchpad.net/calibre/+bug/1847890) 2019-10-15 06:21:28 +05:30
Kovid Goyal
0bf8898ca4
Viewer: prevent flash of unstyled text while loading individual HTML files 2019-10-15 05:25:54 +05:30
Kovid Goyal
dfdf3e113a
Viewer: Fix right clicking on margins not showing controls 2019-10-15 05:00:07 +05:30
Kovid Goyal
8f8a5f7561
Update FilmWed and Fdb.pl
Merge branch 'master' of https://github.com/t3d/calibre
2019-10-15 04:28:26 +05:30
Kovid Goyal
c0c6872249
Add a note about tapping to show controls 2019-10-15 04:25:13 +05:30
Kovid Goyal
428f576c26
Merge branch 'master' of https://github.com/cbhaley/calibre 2019-10-15 04:22:11 +05:30
Charles Haley
91d571ffc7 Display lookup key and description in tooltips for custom column widgets in edit metadata. 2019-10-14 22:50:30 +01:00
Tomasz Długosz
2db371f7de update filmweb 2019-10-14 23:21:49 +02:00