12-27-2020, 05:37 PM
- Refactored the Book Source classes, to make a better separation between ViewModel and Model code.
- Fixed DropBox authentication / authorisation to use the new ‘refresh token’ workflow and the PKCE auth flow. Note: Some time in ~ Sep 2021 existing DropBox users will be forced to reauthenticate (because their access tokens will expire, and they will need to obtain a refresh token, in order to refresh them). There does not seem to be a good way around that problem.
- Fixed the CSS loader so it will also load sheets referenced by @import directives.
- Fixed the CSS parser to handle pseudos like :not([foo]).
- Added a special case to the renderer, so as not to render elements that are explicitly assigned height=1px (they are placeholders, and should be treated a bit like ‘display=none’).
- Added support for MathML, by converting MathML to SVG.
- Made my ‘advancedrenderingoverridesmargins’ setting a bit more comprehensive (ignore margins, padding, line spacing and page breaks in all their forms).
- BUG FIX: OPDS reader was inadvertently consuming some elements, which meant that the Ubooquity OPDS feed did not work.
- BUG FIX (Android): SVG image scaling was wrong (didn't account for device pixel scale correctly).
- BUG FIX: background image scaling was sometimes distorting the background image when tiling the background.
- WORK-AROUND: (Android) Addressed, for now, the problem with access to local files and storage card folders, by adding android:requestLegacyExternalStorage="true" in the <application … > declaration in the manifest file, so that the scoped external storage restrictions won’t apply to Freda just yet.