Commit Graph

38946 Commits

Author SHA1 Message Date
Kovid Goyal c60dbbda8f EPUB3 metadata: Recognize a creator as an author even if his first role is not aut 2019-09-19 10:52:31 +05:30
Kovid Goyal d459097e3f Fix duplicate file read 2019-09-19 08:10:43 +05:30
Kovid Goyal a31474804f When inserting a link, preserve the currently selected text, if any 2019-09-19 08:06:26 +05:30
Kovid Goyal 5196b29005 Notarize macOS builds 2019-09-18 18:55:50 +05:30
Kovid Goyal 3c2653eb33 typo 2019-09-18 14:11:59 +05:30
Kovid Goyal 7f165f6735 Make logout link detection a bit more robust
Also fix typo in wsj_free recipe, it should match wsj
2019-09-18 09:44:50 +05:30
Kovid Goyal 94c6624958 Merge branch 'master' of https://github.com/jn8029/calibre 2019-09-18 08:59:37 +05:30
Warren 4293baf36c update the if condition to check successful login
due to i18n, the text "Sign Out" might not appear in the returned html. 

The <i>a<i> tag for logging out:
```
<a href="https://accounts.wsj.com/logout?target=">登出</a>
```
2019-09-18 10:44:26 +08:00
Kovid Goyal 997595dfd4 Viewer: Add option to hide mouse-over tooltips 2019-09-17 19:47:00 +05:30
Kovid Goyal 4d7045d92d Also have right clicking hide the controls help 2019-09-17 19:22:23 +05:30
Kovid Goyal 0c5c492333 On macOS have to control-click since there is no right mouse button 2019-09-17 19:20:31 +05:30
Kovid Goyal d1badedfc7 ... 2019-09-17 18:22:05 +05:30
Kovid Goyal 2d9c0c709d Viewer: Dont show a blank title page for books with not titlepage 2019-09-17 18:18:07 +05:30
Kovid Goyal eb7ee8b9ef Merge branch 'master' of https://github.com/davidfor/calibre 2019-09-17 17:52:46 +05:30
David 0cc6f3628c Bump dbversion in KoboTouch driver
A last minute change from Kobo bumped the database version in the release for the Libra H2O.
2019-09-17 22:19:23 +10:00
Kovid Goyal 721c3e3725 Edit Book: Show the font name in a tooltip when hovering over the font file in the File Browser 2019-09-17 17:40:25 +05:30
Kovid Goyal 9cc6842006 Allow setting remaining standard calibre metadata in ODT files 2019-09-17 15:29:28 +05:30
Kovid Goyal d2eca068fc Use lxml to set ODT metadata as well 2019-09-17 13:57:48 +05:30
Kovid Goyal 329f4d262e Use lxml to read ODT metadata 2019-09-17 10:26:19 +05:30
Kovid Goyal 9790713949 Merge branch '1841506_Embed_MetaData_odt' of https://github.com/pieplu/calibre
Fixes #1841506 [Embed MetaData do not works with .odt files](https://bugs.launchpad.net/calibre/+bug/1841506)
2019-09-17 09:30:51 +05:30
Kovid Goyal 2336168f00 Fallback to keywords if there is no keyword 2019-09-17 09:10:51 +05:30
Kovid Goyal 6e0dd65885 Merge branch '1844210-get-metadata-keyword-from-odt-file' of https://github.com/pieplu/calibre
Fixes #1844210 [When adding .odt file as a book, keywords are ignored](https://bugs.launchpad.net/calibre/+bug/1844210)
2019-09-17 09:09:02 +05:30
Kovid Goyal d6e8d00b52 Enable hardened runtime on macOS
This is needed for notarization
2019-09-17 09:01:25 +05:30
Alexis Piéplu 5dfbe32c13 Use encode('utf-8') insted str on odt ste_metadata
1841506
2019-09-16 22:55:50 -04:00
Alexis Piéplu b4bdf7445b Fix typo keywords -> keyword
On get_metadata for odt file
1844210
2019-09-16 22:17:31 -04:00
Alexis Piéplu 10cd485766 Implement setMetadata for odt files
1841506
2019-09-16 22:02:20 -04:00
Kovid Goyal d1248f8260 Fix the re_group() and eval() formatter functions not working 2019-09-17 07:03:47 +05:30
Kovid Goyal 370ed05c57 Fix series index always 1 in header/footer in the viewer 2019-09-16 21:05:33 +05:30
Kovid Goyal 6d2d0d8201 Skip the webengine build test on macOS build VM as it is flaky 2019-09-16 13:56:41 +05:30
Kovid Goyal e0f5a5aab4 typo 2019-09-16 13:35:41 +05:30
Kovid Goyal f680f10ead typo 2019-09-16 13:31:09 +05:30
Kovid Goyal 523850de45 Fix translation warnings
Apparently msgfmt does not like unicode
2019-09-16 11:23:06 +05:30
Kovid Goyal 7f0469e044 Bump beta version 2019-09-16 11:15:39 +05:30
Kovid Goyal 9448bf3537 Since we can set the user agent font size in the standalone viewer, use that instead of overriding the font size of <html> 2019-09-16 11:13:45 +05:30
Kovid Goyal 15a512f3c8 Typo 2019-09-16 11:09:17 +05:30
Kovid Goyal 2ca39a8066 Fix images longer than a page being rendered on multiple pages instead of being rescaled
Apparently in newer blink engines bounding rect height is set to viewport
height for images even if they stretch over multiple columns.
2019-09-16 11:07:01 +05:30
Kovid Goyal 599d3dbddc Only add element for user stylesheet if needed and add it to html rather
than body
2019-09-16 10:05:42 +05:30
Kovid Goyal 62810e5111 p3 compat: Dont compare None to float 2019-09-16 08:53:32 +05:30
Kovid Goyal ad384c7fd8 Only set the users font size on <html> not <body>
There are apparently books out their that rely on being able to control
the font size of <body>.
2019-09-16 08:43:54 +05:30
Kovid Goyal 380ccbc2d4 Avoid test failures when making multiple pushes in a short time period 2019-09-15 05:09:36 +05:30
Kovid Goyal ecaa920e06 bypass cache on reload 2019-09-15 05:01:34 +05:30
Kovid Goyal d8281cad6b Setting the URL is not really a clear operation 2019-09-15 05:00:38 +05:30
Kovid Goyal 97087b89ab Fix Inspector not working in the viewer 2019-09-15 04:56:44 +05:30
Kovid Goyal 277d1f8bad Report blocked navigation requests 2019-09-15 04:52:00 +05:30
Kovid Goyal b900419810 Micro optimization 2019-09-15 04:34:23 +05:30
Kovid Goyal f3f244c41b Indicate if the viewer code is being compiled or not 2019-09-14 08:58:36 +05:30
Kovid Goyal 3d2c8d3878 Move the webengine part into a separate module for clarity 2019-09-13 21:18:07 +05:30
Kovid Goyal c946f3239e Bump beta version 2019-09-13 21:00:08 +05:30
Kovid Goyal e95ab50cba A demo plugin that shows how to run webengine from a user interface plugin 2019-09-13 20:55:06 +05:30
Kovid Goyal 737bfa44cb Remove ViewerPlugin since the new viewer currently has no plugin architecture 2019-09-13 20:14:18 +05:30