bump crengine: parsing, lists, 2-pages mode fixes & tweaks (#7138)

Includes:
- EPUB: fix truncated HEAD>STYLE stylesheet
- XML parsing: slightly better parsing of <script>
- Update German hyphenation patterns
- (chore) Silence some clang warnings
- (Upstream) CSS content: fix regression with open-quote/close-quote
- (Upstream) HTML lists: support the 'reversed' attribute
- (Upstream) Tweak list items disc/circle/square symbols
- 2-pages mode: option to skip geometry checks

CRE bottom menu: allow toggling Dual Pages in portrait mode.
pull/7142/head
poire-z 3 years ago committed by GitHub
parent 1148e46651
commit 396d1fbf46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
Subproject commit 22d3b504d43e058a0d06c585fda8459749de0c3e
Subproject commit b0f821d2920c257ab2ee80169e98a3e104a3f0c2

@ -1134,7 +1134,7 @@ end
function CreDocument:setVisiblePageCount(new_count)
logger.dbg("CreDocument: set visible page count", new_count)
self._document:setVisiblePageCount(new_count)
self._document:setVisiblePageCount(new_count, false)
end
function CreDocument:setBatteryState(state)

@ -40,6 +40,7 @@ local CreOptions = {
args = {1, 2},
default_arg = 1,
event = "SetVisiblePages",
--[[ Commented out, to have it also available in portrait mode
current_func = function()
-- If not in landscape mode, shows "1" as selected
if Device.screen:getScreenMode() ~= "landscape" then
@ -48,9 +49,10 @@ local CreOptions = {
-- if we return nil, ConfigDialog will pick the one from the
-- configurable as if we hadn't provided this 'current_func'
end,
]]--
enabled_func = function(configurable)
return Device.screen:getScreenMode() == "landscape" and
optionsutil.enableIfEquals(configurable, "view_mode", 0) -- "page"
return optionsutil.enableIfEquals(configurable, "view_mode", 0) -- "page" mode
-- and Device.screen:getScreenMode() == "landscape"
end,
name_text_hold_callback = optionsutil.showValues,
help_text = _([[In landscape mode, you can choose to display one or two pages of the book on the screen.

Loading…
Cancel
Save