Eli Schwartz
26871566ce
Nexto store: remove use of type('') with better xpath
...
There's no need to run regular expressions on a str(list()) of lxml
element results, to see if anything contains a string -- simply use the
XPath grammar contains() and check if any results were returned.
2019-09-26 20:15:25 -04:00
Kovid Goyal
448b412c9d
Bump beta version
2019-09-26 15:25:38 +05:30
Kovid Goyal
6db937bca6
Dont use simple-link for next buttons
2019-09-26 13:26:29 +05:30
Kovid Goyal
0641384bc7
Server: Use overlay buttons as next/prev on boo details page
...
See #1845417 ([Enhancement] Book details on calibre-server)
2019-09-26 11:55:30 +05:30
Kovid Goyal
ff162a2b8f
Fix #1845416 [Repetition in error message]( https://bugs.launchpad.net/calibre/+bug/1845416 )
2019-09-26 09:30:32 +05:30
Kovid Goyal
d83698bdd2
Viewer: Allow using ctrl+wheel to change font size
2019-09-26 06:36:51 +05:30
Kovid Goyal
ddd5b0315e
Use calibre code rather than Qt to get font names. More robust. Appears
...
that on windows QRawFont chokes on OTF fonts with CFF outlines
2019-09-25 14:21:28 +05:30
Kovid Goyal
317a2b9a14
Viewer: Allow fading the background image by blending it with the background color
2019-09-25 11:25:40 +05:30
Kovid Goyal
7d6d5b71c6
Use a URL for the web viewer background image setting
2019-09-25 10:34:40 +05:30
Kovid Goyal
3b1753f134
Code to control background attachment
2019-09-25 10:09:38 +05:30
Kovid Goyal
ac6271d4c0
Merge branch 'patch-2' of https://github.com/zazaho/calibre-1
2019-09-25 06:08:01 +05:30
Kovid Goyal
0fb8b26f6e
Merge branch 'patch-1' of https://github.com/zazaho/calibre-1
2019-09-25 06:05:19 +05:30
Sacha
c68bb58ffa
Avoid error on python3 about str and bytes
...
When I launch the calibre application build for python3 I get two errors about expecting bytes not str and the other way around.
in src/calibre/devices/mtp/driver.py and src/calibre/devices/mtp/unix/driver.py
I found that theses edits remove the error.
2019-09-24 22:43:43 +02:00
Sacha
01a549eae6
Avoid error on python3 about str and bytes
...
When I launch the calibre application build for python3 I get two errors about expecting bytes not str and the other way around.
in src/calibre/devices/mtp/driver.py and src/calibre/devices/mtp/unix/driver.py
I found that theses edits remove the error.
2019-09-24 22:40:48 +02:00
Kovid Goyal
92ffeebb4a
Work on viewer setting for background image
2019-09-24 20:21:25 +05:30
Kovid Goyal
62d38e6706
Use a single class for blue links
2019-09-24 18:16:18 +05:30
Kovid Goyal
15cb1aaccc
Fix examples link not working in user stylesheets prefs
2019-09-24 17:52:32 +05:30
Kovid Goyal
d35e5c78ed
Set background color on ifrae rather than iframe contents
2019-09-24 17:05:27 +05:30
Kovid Goyal
0ed3a5e636
FB2 Output: Dont convert PNG images to JPEG as FB2 supports PNG
...
Fixes #1844911 [ebook-convert hangs when converting to FB2](https://bugs.launchpad.net/calibre/+bug/1844911 )
2019-09-22 20:15:16 +05:30
Kovid Goyal
d9ee5cc326
Qt change makes ampersand visible in wizard welcome message
2019-09-22 18:29:16 +05:30
Kovid Goyal
119e6bfb7b
PDF Output: Fix typo that broke option to output toc in PDF is the last file in the input document is shorter than the generated toc
2019-09-22 18:15:54 +05:30
Kovid Goyal
db486c684f
Viewer: Show full path to book in the metadata display
...
Fixes #1843312 [ENHANCEMENT: ePub Reader metadata should show filepath for current open ePub book](https://bugs.launchpad.net/calibre/+bug/1843312 )
2019-09-20 11:19:05 +05:30
Kovid Goyal
519c87d989
...
2019-09-20 08:30:35 +05:30
Kovid Goyal
7661bb00d1
Viewer: Add option under Page layout to control if the aspect ratio of the cover is preserved or not
2019-09-19 21:51:54 +05:30
Kovid Goyal
ae7a86e73b
...
2019-09-19 20:25:02 +05:30
Kovid Goyal
b4fe349df8
Use a generated image cover instead of a plain text one
2019-09-19 20:24:38 +05:30
Kovid Goyal
7bef47a452
Bump beta version
...
Stupid EPUB cover handling bug.
2019-09-19 18:31:01 +05:30
Kovid Goyal
4e6353468b
Fix small cover images not being vertically centered
2019-09-19 18:29:24 +05:30
Kovid Goyal
1e57c4180e
Proper fix for EPUB files without title pages
2019-09-19 18:16:09 +05:30
Kovid Goyal
4aa0ee3ccd
...
2019-09-19 15:35:48 +05:30
Kovid Goyal
ba89de0def
Add a fonts sub-menu to the comments editor context menu
...
Matches the v3 context menu
2019-09-19 15:28:32 +05:30
Kovid Goyal
268f36b8cc
Bump beta version
2019-09-19 13:26:51 +05:30
Kovid Goyal
c2e1e00f09
Set UI font size for viewer in pixels
...
Seems to match the actual font size in the main UI better on Linux with
both hidpi on and off.
2019-09-19 11:22:19 +05:30
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
3c2653eb33
typo
2019-09-18 14:11:59 +05:30
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