Fred Chasen
589f27eb63
Use bottom of rect to get height in textHeight
2020-06-03 13:56:02 -07:00
Fred Chasen
0adbb08dac
Merge pull request #1059 from alidbc/master
...
Fix left offset calculation of RTL prev navigation
2020-05-22 18:49:00 -07:00
Fred Chasen
d8bfe16d82
Merge pull request #1062 from simonminer/1061-error-with-special-characters-in-epub-file-names
...
Account for special characters in ePub content file URL substitutions
2020-05-22 18:37:48 -07:00
Fred Chasen
2e5b2ec684
Merge pull request #1063 from christiaan/master_fix-coverUrl-thows-unexpected-error
...
Bugfix calling coverUrl throws error on book without cover
2020-05-22 18:37:00 -07:00
Fred Chasen
0e4d194039
Merge pull request #1064 from futurepress/vertical_fixes
...
Fixes for vertical text flow
2020-05-22 18:36:06 -07:00
Fred Chasen
7001f86eda
Remove rtl progression dir for vertical, fix textHeight offset and set column-axis for vertical
2020-05-22 18:26:46 -07:00
Christiaan Baartse
d690dd9d68
Change Book.coverUrl to return null when there is no cover
...
CoverUrl now returns an undefined when there is no cover. However not
having a cover is expected behavior for an epub without a cover.
2020-05-22 11:34:03 +02:00
Christiaan Baartse
0b0f2e1b2d
Bugfix calling coverUrl throws error on book without cover
...
When calling coverUrl on a book that has no cover a error is thrown
> TypeError: Cannot read property 'substr' of undefined
This is because Archive.getBlob is called with this.cover which is
undefined.
2020-05-22 11:17:07 +02:00
Simon Miner
38ef2aeeff
Account for special characters in ePub content file URL substitutions
2020-05-21 14:59:28 -04:00
Fred Chasen
08a069555f
Merge pull request #1057 from christiaan/master_fix-opening-array-buffer
...
Fix opening an ArrayBuffer without options
2020-05-21 11:28:15 -07:00
Christiaan Baartse
2732e172cd
Fix opening an ArrayBuffer without options
...
Opening an archived Epub in an ArrayBuffer without passing in options will
never resolve its `book.opened` Promise.
2020-05-21 06:25:30 +02:00
Fred Chasen
0e3104461d
Merge pull request #1056 from christiaan/master_test-and-fix-coverUrl
...
Fix broken coverUrl for archived Epubs
2020-05-19 14:41:16 -07:00
Fred Chasen
7185b8a968
Merge pull request #1054 from christiaan/master_remove-unnecessary-script-paths
...
Remove unnecessary absolute paths to npm scripts
2020-05-19 14:40:17 -07:00
Christiaan Baartse
2f63b16276
Fix broken coverUrl for archived Epubs
...
When calling coverUrl for an archived epub the resolved promise contains
undefined and not a string.
Also the documentation everywhere is lying about coverUrl() returning a
string whereas it actually returns a Promise that resolves to a string.
2020-05-19 06:48:19 +02:00
Ali Dubaisi
290ffc8eef
Fix left offset calculation of RTL prev navigation
2020-05-18 21:25:53 +03:00
Christiaan Baartse
9b807985ff
Remove unnecessary absolute paths to npm scripts
...
When using NPM scripts the ./node_modules/.bin directory is added to the
PATH.
See https://docs.npmjs.com/misc/scripts#path
2020-05-17 15:35:57 +02:00
Fred Chasen
26075c2d49
Version bump to 0.3.87
2020-05-16 17:52:37 -07:00
Fred Chasen
84df48cef4
Merge pull request #1052 from futurepress/update_rtl_detection
...
Update scrollType detection
2020-05-15 11:17:40 -07:00
Fred Chasen
dcf6ef77d0
Update types for scrollType
2020-05-15 11:11:41 -07:00
Fred Chasen
e539c38f7d
Fix typos, remove console.log
2020-05-15 11:02:58 -07:00
Fred Chasen
da430d6cb1
Add scrollType detection util, remove lang rtl guess
2020-05-15 10:55:29 -07:00
Fred Chasen
5081589d25
Merge pull request #961 from alidbc/master
...
Major RTL fixes
2020-05-15 09:09:57 -07:00
Fred Chasen
a0cd9d422a
Remove specific xhtml path in display
2020-05-15 08:57:38 -07:00
Fred Chasen
9c3f60364e
Version bump to 0.3.86
2020-05-14 23:21:28 -07:00
Fred Chasen
7b8480fde0
Merge pull request #927 from mikkelvp/dev
...
Respect pre-paginated page spreads
2020-05-14 23:01:21 -07:00
Fred Chasen
915ab2e107
Always run check again after display of new views
2020-05-14 22:09:08 -07:00
Fred Chasen
20f5ea5372
Merge pull request #1031 from frasermince/master
...
Map over display function instead of displayed value.
2020-05-14 22:07:28 -07:00
Fred Chasen
7e604ca131
Merge pull request #1051 from futurepress/980_add_offset_to_pre_paginated
...
Add offset to start calculation
2020-05-14 19:43:20 -07:00
Fred Chasen
992a3f7461
Add offset to start calculation
2020-05-14 19:40:27 -07:00
Fred Chasen
5c04784ab8
Merge pull request #844 from lvscar/master
...
Adding a search method to section for find out result spanning multiple nodes.
2020-05-13 21:46:05 -07:00
Fred Chasen
9bd844036d
Merge pull request #889 from yellowtree/css_serialized
...
Implement serialized themes CSS
2020-05-13 21:44:41 -07:00
Fred Chasen
faab7416c8
Merge pull request #984 from cceglia/master
...
Added access to NavItem and Location
2020-05-13 21:33:57 -07:00
Fred Chasen
33376c0b91
Merge pull request #1016 from m8524769/fix-parent-type
...
Fix the parent type of NavItem interface (NavItem -> string)
2020-05-13 21:33:10 -07:00
Fred Chasen
7f8dfa1575
Merge pull request #1017 from bibliolabs/ignore_search_string_input_type
...
Ignore url search string when determining INPUT_TYPE
2020-05-13 21:32:41 -07:00
Fred Chasen
0794ac9a08
Merge pull request #1018 from bibliolabs/request_headers_on_open
...
Send requestHeaders on Book open request
2020-05-13 21:31:06 -07:00
Fred Chasen
f3fdd2e159
Merge pull request #1029 from yowmamasita/patch-1
...
Fix the themes example (dark -> light)
2020-05-13 21:15:41 -07:00
Fraser Mince
0127e9e83f
Map over display function instead of displayed value.
...
Previously we were mapping over the displayed status boolean and
treating it like a promise when it wasn't one. I assume we meant to
instead call the display function.
2020-02-11 15:34:31 -06:00
Ben Adrian Sarmiento
c0a3b6d484
Fix the themes example
2020-02-10 01:35:46 +08:00
Evan Muller
de843ff51b
Ignore url search string when determining INPUT_TYPE
2019-12-20 15:09:52 -05:00
Evan Muller
90b247c20f
Send requestHeaders on Book open request
2019-12-20 15:08:44 -05:00
Fred Chasen
d75b47e05b
Merge pull request #1015 from m8524769/issue-831
...
Fix wrong TOC item retruns by Navigation.get()
2019-12-19 11:48:58 -08:00
m8524769
139e9efb22
Fix parent type of NavItem (NavItem -> string)
2019-12-19 00:15:41 +08:00
m8524769
920846bda2
Fix wrong TOC item retruns by Navigation.get() ( #831 )
2019-12-16 18:56:05 +08:00
Fred Chasen
a6bbf71363
Merge pull request #971 from strattonpress/master
...
Added removeOverride() in rendition.themes to remove a css property in rendition.themes._overrides
2019-11-07 09:44:04 -08:00
Fred Chasen
91f1e45d36
Merge pull request #985 from daniel-j/fix-glyph-clipping
...
Fix glyph clipping in WebKit. Fixes #983
2019-11-07 09:42:57 -08:00
Fred Chasen
f1386c504f
Merge pull request #992 from wnabil/master
...
Bypass iframe dynamic html security for Cordova windows platform, Fix for #991
2019-11-07 09:39:34 -08:00
Fraser Mince
589f5ce9e5
Chrome tab background performance fixes ( #977 )
...
* Add listener to detect when in background and disable polling.
* Remove polling.
2019-11-07 09:37:43 -08:00
Mikkel Vester Petersen
8f83c91aaa
Fix typo
2019-10-24 15:12:09 +02:00
Mikkel Vester Petersen
f5d55e039d
Generate word locations without start cfi
2019-10-22 14:48:17 +02:00
Mikkel Vester Petersen
cc77d079fc
Generate locations with word count
2019-10-22 14:00:49 +02:00