Commit Graph

39225 Commits

Author SHA1 Message Date
Kovid Goyal c0fa79d58b Viewer: Fix non-ASCII content in stylesheets not being interpreted correctly. Fixes #1848858 [Issue with viewer: '::before'](https://bugs.launchpad.net/calibre/+bug/1848858) 2019-10-20 16:52:00 +05:30
Kovid Goyal f10f23d4f6 Remove some mozilla specific rules from the default css 2019-10-20 13:52:49 +05:30
Kovid Goyal 06a6ef5612 PDF Output: When a link with a fragment points to a non-existent anchor link to the top of the file instead of not linking at all 2019-10-20 13:19:06 +05:30
Kovid Goyal 882d09b7e0 ... 2019-10-20 11:21:30 +05:30
Kovid Goyal 70a2ec517e oops 2019-10-20 11:00:36 +05:30
Kovid Goyal 459e30d82f PDF Output: Fix standard svg fullscreen image markup not working 2019-10-20 10:58:24 +05:30
Kovid Goyal ac2d44e4dc Clean up fs_images 2019-10-20 10:46:44 +05:30
Kovid Goyal 579049affd PDF Output: Fix some books with full screen images failing to convert.
Fixes #1848701 [Private bug](https://bugs.launchpad.net/calibre/+bug/1848701)
2019-10-20 10:13:26 +05:30
Kovid Goyal 5f33ca0224 ... 2019-10-20 08:09:57 +05:30
Kovid Goyal 205754891e Cleaner viewer launch 2019-10-19 13:42:29 +05:30
Kovid Goyal 5e611db7db Compile HTML preproc regexps on demand rather than at import time 2019-10-19 10:51:27 +05:30
Kovid Goyal e5dc6b4002 Make the regexps used for pre-processing pdftohtml output more efficient 2019-10-19 10:03:21 +05:30
Kovid Goyal 2014e6520e ... 2019-10-18 20:29:28 +05:30
Kovid Goyal 1b0efe04d9 Viewer: use absolute file paths for books passed in on the command line.
This allows them to be re-opened via the Open Books screen even if the
viewer was launched from a different starting directory.
2019-10-18 18:52:34 +05:30
Kovid Goyal 45f55d8a44 Forgot to add a ticket reference 2019-10-18 09:53:10 +05:30
Kovid Goyal 65c4f2afa2 version 0.4.2 v4.2.0 2019-10-18 08:49:15 +05:30
Kovid Goyal a3f4736b4b Metadata jacket: Fix <br> tags in the comments not being rendered correctly when inserting the comments into the jacket page. Fixes #1848327 [Imported metadata is truncated in conversion](https://bugs.launchpad.net/calibre/+bug/1848327) 2019-10-18 08:39:52 +05:30
Kovid Goyal 99ebcf838a Make color scheme changing more robust 2019-10-18 08:08:59 +05:30
Kovid Goyal ca1b3967b0 Fix #1848515 [Faile to compile translation file on 4.1.0](https://bugs.launchpad.net/calibre/+bug/1848515) 2019-10-17 19:51:32 +05:30
Kovid Goyal c0a9270f0f ... 2019-10-17 16:44:01 +05:30
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