Skip to content

Commit 9d9fbe0

Browse files
committed
Squashed commit of the following:
commit 1b57014 Author: qnga <[email protected]> Date: Wed Jun 19 13:32:43 2024 +0200 Add `ExoPlayerDataSourceProvider` to offer support for caching in media3 audio navigator (readium#539) commit 4a2e9d3 Author: qnga <[email protected]> Date: Mon Jun 17 18:20:30 2024 +0200 TTS fixes (readium#536) commit 62f8fb8 Author: Mickaël Menu <[email protected]> Date: Fri Jun 14 13:55:56 2024 +0200 Normalize URLs (readium#534) commit c4eab48 Author: qnga <[email protected]> Date: Tue Jun 11 13:47:20 2024 +0200 Remove `SuspendingCloseable` (readium#532) commit 636e1fd Author: qnga <[email protected]> Date: Mon Jun 10 14:31:19 2024 +0200 Never report audio progress beyond duration (readium#531) commit acac9b4 Author: qnga <[email protected]> Date: Fri Jun 7 16:06:26 2024 +0200 Don't restart utterance in TTS when submitting the same preferences again (readium#530) commit 852d1c9 Author: qnga <[email protected]> Date: Fri Jun 7 12:44:40 2024 +0200 Prevent crash in case of misuse of AudioEngine.asPlayer().release (readium#529) commit a226128 Author: Mickaël Menu <[email protected]> Date: Fri May 24 17:25:17 2024 +0200 Bump dependencies (readium#521) commit 8b95d2d Author: Mickaël Menu <[email protected]> Date: Wed May 22 18:17:15 2024 +0200 Optimize scrolling to an EPUB locator with a CSS selector (readium#520) commit ac6392c Author: qnga <[email protected]> Date: Tue May 21 16:39:28 2024 +0200 Add a retrieveLicenseDocument method to LcpService (readium#519) commit a91e76f Author: Mickaël Menu <[email protected]> Date: Wed May 15 16:17:12 2024 +0200 Fix sniffing media types when acquiring an LCP publication (readium#518) commit 5ee94a2 Author: Mickaël Menu <[email protected]> Date: Wed May 15 15:39:41 2024 +0200 Disable EPUB pagination with vertical text (readium#517) commit 0d6efa0 Author: Mickaël Menu <[email protected]> Date: Tue May 14 16:45:13 2024 +0200 3.0.0-beta.1 (readium#515) commit 5ac1b6d Author: Mickaël Menu <[email protected]> Date: Tue May 14 16:24:48 2024 +0200 Rename `archive` Link property (readium#514) commit 091f9ac Author: Mickaël Menu <[email protected]> Date: Tue May 7 18:20:15 2024 +0200 Deprecate media1 and media2 navigators (readium#512) commit 0f23b6b Merge: b77fa79 b88e104 Author: Mickaël Menu <[email protected]> Date: Tue May 7 12:28:10 2024 +0200 Merge branch 'main' into develop # Conflicts: # CHANGELOG.md # README.md # build.gradle.kts # readium/lcp/src/main/java/org/readium/r2/lcp/license/LicenseValidation.kt # test-app/build.gradle.kts commit b88e104 Author: Mickaël Menu <[email protected]> Date: Tue May 7 10:04:28 2024 +0200 2.4.1 (readium#511) commit b77fa79 Author: Mickaël Menu <[email protected]> Date: Mon May 6 13:19:48 2024 +0200 Support for the new 2.x LCP Profiles (readium#510) commit 8fb7ccb Author: Mickaël Menu <[email protected]> Date: Fri May 3 16:51:40 2024 +0200 Change LCP device name strategy (readium#508) commit d08819a Author: Mickaël Menu <[email protected]> Date: Fri May 3 13:23:10 2024 +0200 Fix applying preferences while recreating EPUB fragments (readium#507) commit ff983dc Author: Mickaël Menu <[email protected]> Date: Wed May 1 08:05:41 2024 +0200 Documentation (readium#486) Co-authored-by: qnga <[email protected]> commit 374c9c3 Author: Mickaël Menu <[email protected]> Date: Tue Apr 30 22:00:28 2024 +0200 Replace `Date` with `Instant` (readium#506) commit 2cc906c Author: qnga <[email protected]> Date: Tue Apr 30 17:58:17 2024 +0200 Revamp format specifications and other changes (readium#500) commit 5a6a239 Author: qnga <[email protected]> Date: Tue Apr 30 13:53:17 2024 +0200 Make possible crashes of PSPDFKit more explicit (readium#495) commit e42d495 Author: Mickaël Menu <[email protected]> Date: Mon Apr 29 14:29:04 2024 +0200 Fix broken EPUB selection in paginated mode (readium#502) commit 3abdb8c Author: Mickaël Menu <[email protected]> Date: Mon Apr 29 13:51:27 2024 +0200 Fix handling EPUB `noteref` with nested elements (readium#503) commit 30727af Author: Mickaël Menu <[email protected]> Date: Fri Apr 26 15:04:30 2024 +0200 Fix various EPUB positioning issues (readium#499) commit bccfabc Author: Mickaël Menu <[email protected]> Date: Sat Apr 20 10:32:46 2024 +0200 Enable core library desugaring (readium#496) commit 611ea81 Author: Mickaël Menu <[email protected]> Date: Wed Apr 17 11:19:21 2024 +0200 Prevent reporting the current position while loading a locator (readium#487) commit d335bde Author: Mickaël Menu <[email protected]> Date: Tue Apr 16 09:12:37 2024 +0200 Remove `completion` from `Navigator` APIs (readium#488) Co-authored-by: qnga <[email protected]> commit 27d64b1 Author: Mickaël Menu <[email protected]> Date: Tue Apr 16 08:56:24 2024 +0200 Fix a bunch of thread violations (readium#490) Co-authored-by: qnga <[email protected]> commit 9d18784 Author: qnga <[email protected]> Date: Mon Apr 15 15:13:12 2024 +0200 Fix opening LCP-protected publication in restricted mode (readium#494) commit 1f59afa Author: Mickaël Menu <[email protected]> Date: Tue Apr 9 20:50:09 2024 +0200 Downgrade to jsoup 1.16.1 (readium#489) commit a561e89 Author: qnga <[email protected]> Date: Mon Apr 8 15:56:26 2024 +0200 Don't read content whose length is unknown in sniffing (readium#485) Co-authored-by: Mickaël Menu <[email protected]> commit 975e8af Author: Mickaël Menu <[email protected]> Date: Mon Apr 8 13:05:59 2024 +0200 Fix various crashes (readium#484) commit 2786fb4 Author: qnga <[email protected]> Date: Fri Mar 29 18:06:33 2024 +0100 Various improvements in LcpService (readium#483) commit af16ea9 Author: qnga <[email protected]> Date: Fri Mar 29 11:39:44 2024 +0100 Prevent Opds2Sniffer from reading the whole blob (readium#482) commit 3cb8e61 Author: Mickaël Menu <[email protected]> Date: Mon Mar 4 12:14:38 2024 +0100 3.0.0-alpha.2 (readium#480) commit e129905 Author: qnga <[email protected]> Date: Fri Mar 1 10:57:49 2024 +0100 Simplify LcpService.injectLicense (readium#479) commit 5746e7f Author: qnga <[email protected]> Date: Wed Feb 28 16:44:29 2024 +0100 Update media3 and fix some issues with MediaService (readium#478) commit 8d74923 Author: qnga <[email protected]> Date: Wed Feb 28 13:45:45 2024 +0100 Fix TTS player crash (readium#477) commit 11a1737 Author: qnga <[email protected]> Date: Mon Feb 26 16:49:53 2024 +0100 Prevent infinite recursion in format sniffing (readium#476) commit 82b1238 Author: Mickaël Menu <[email protected]> Date: Mon Feb 26 15:41:07 2024 +0100 Fix EPUB deobfuscation (readium#475) commit 449b20d Author: qnga <[email protected]> Date: Thu Feb 22 14:38:54 2024 +0100 Add `LcpService.injectLicenseDocument` (readium#473) commit 33a0c77 Author: Steven Zeck <[email protected]> Date: Tue Feb 13 09:51:02 2024 -0600 Use material3 for Compose views (readium#460) commit 9696c43 Author: qnga <[email protected]> Date: Fri Feb 9 20:14:42 2024 +0100 Small fix (readium#467) commit ee61210 Author: qnga <[email protected]> Date: Fri Feb 9 15:04:45 2024 +0100 Remove the download manager (readium#465) commit f7c7e8d Author: Mickaël Menu <[email protected]> Date: Thu Feb 8 15:43:36 2024 +0100 Bump `css-selector-generator` script dependency (readium#466) commit d5a53ff Author: Steven Zeck <[email protected]> Date: Mon Feb 5 09:24:26 2024 -0600 Use `Flow` instead of `LiveData` in the Test App (readium#461) commit 2a3fbfe Author: Steven Zeck <[email protected]> Date: Mon Feb 5 09:03:16 2024 -0600 Cleanup Gradle and Version files, fix Dokka (readium#456) commit 6246f10 Author: Mickaël Menu <[email protected]> Date: Fri Feb 2 11:34:06 2024 +0100 Remove `android:clearTaskOnLaunch` (readium#459) commit 9dffa11 Author: Mark Raynsford <[email protected]> Date: Wed Jan 31 16:50:42 2024 +0000 Implement sniffing of CSS and JS files (readium#455) commit 5e807f6 Author: qnga <[email protected]> Date: Tue Jan 30 14:30:58 2024 +0100 Extract footnote popups from the Epub navigator (readium#448) Co-authored-by: Mickaël Menu <[email protected]> commit b3b4033 Author: Mickaël Menu <[email protected]> Date: Fri Jan 26 13:01:11 2024 +0100 Use canonical EPUB HREFs (readium#453) commit 7564f19 Author: Mickaël Menu <[email protected]> Date: Tue Jan 23 15:17:57 2024 +0100 Fix Maven Central publishing and refactor Gradle configurations (readium#452) commit 361d2d4 Author: Mickaël Menu <[email protected]> Date: Fri Jan 19 15:03:49 2024 +0100 3.0.0-alpha.1 (readium#450) commit 5dd7818 Merge: 286dbb2 7649378 Author: Mickaël Menu <[email protected]> Date: Fri Jan 19 14:44:50 2024 +0100 Merge branch 'main' into develop commit 286dbb2 Merge: 56e88ca b13bc52 Author: Mickaël Menu <[email protected]> Date: Fri Jan 19 14:34:32 2024 +0100 Merge pull request readium#442 from readium/v3 commit b13bc52 Author: Mickaël Menu <[email protected]> Date: Fri Jan 19 13:26:11 2024 +0100 Minor fixes (readium#449) commit b0967f7 Author: Mickaël Menu <[email protected]> Date: Tue Jan 16 14:45:05 2024 +0100 Display error details in the Test App (readium#444) commit eb2f4e3 Author: qnga <[email protected]> Date: Tue Jan 16 14:21:31 2024 +0100 Minor media3 navigator fixes (readium#447) commit cb9d2c0 Author: Steven Zeck <[email protected]> Date: Tue Jan 16 03:25:28 2024 -0600 Update dependencies (readium#445) commit 54383a5 Author: Mickaël Menu <[email protected]> Date: Mon Jan 15 17:37:49 2024 +0100 Update dependencies (readium#443) commit 5b718ad Author: Mickaël Menu <[email protected]> Date: Mon Jan 15 12:39:56 2024 +0100 Update the documentation for Readium 3.0.0-alpha.1 (readium#441) commit 4bd2893 Author: qnga <[email protected]> Date: Fri Jan 12 16:47:54 2024 +0100 Fix import through intent (readium#438) commit 3965b06 Author: qnga <[email protected]> Date: Fri Jan 12 16:27:02 2024 +0100 EPUB 2 meta tags should be superseded by EPUB 3 ones (readium#437) commit 97b9ec0 Author: qnga <[email protected]> Date: Fri Jan 12 16:08:02 2024 +0100 Check hash of LCP acquisitions (readium#439) commit 09e338b Author: qnga <[email protected]> Date: Wed Jan 10 13:05:14 2024 +0100 Merge `AssetOpener` and `AssetSniffer` public APIs into `AssetRetriever` (readium#434) commit 1ba1223 Author: qnga <[email protected]> Date: Tue Jan 9 17:17:24 2024 +0100 Small changes for v3 and guide to open a publication (readium#432) commit 2f04d5e Author: Mickaël Menu <[email protected]> Date: Tue Jan 9 13:17:06 2024 +0100 Simplify the `PublicationOpener` by adding a `DefaultPublicationParser` (readium#433) commit 7649378 Author: Mickaël Menu <[email protected]> Date: Tue Jan 9 10:17:22 2024 +0100 Add a new form-based bug report issue template (readium#431) commit 94463c7 Merge: b247622 56e88ca Author: Mickaël Menu <[email protected]> Date: Mon Jan 8 19:25:12 2024 +0100 Merge branch 'develop' into v3 commit b247622 Author: qnga <[email protected]> Date: Mon Jan 8 16:37:54 2024 +0100 Revamp format (readium#428) commit bfadfa8 Author: qnga <[email protected]> Date: Thu Dec 21 17:00:54 2023 +0100 Various changes including introducing Format (readium#427) commit c9a09ac Author: qnga <[email protected]> Date: Mon Dec 11 10:39:51 2023 +0100 Refactor errors (readium#422) commit 56e88ca Author: Mickaël Menu <[email protected]> Date: Thu Nov 9 11:21:55 2023 +0100 Fix documentation publishing (readium#420) commit 011e0d7 Author: Mickaël Menu <[email protected]> Date: Tue Nov 7 14:36:57 2023 +0100 2.4.0 (readium#419) commit 8bf59ed Author: Mickaël Menu <[email protected]> Date: Tue Nov 7 11:44:11 2023 +0100 Fix crash when restoring the fragment hierarchy after process death (readium#418) commit f87dd95 Author: Christian Falch <[email protected]> Date: Fri Sep 1 18:41:32 2023 +0200 Add `VisualNavigator`'s `shouldJumpToLink` listener callback (readium#375) commit 83a424a Author: Christian Falch <[email protected]> Date: Fri Sep 1 18:05:45 2023 +0200 Add custom `readingOrder` to `EpubNavigatorFragment` (readium#376) commit af78d31 Author: Christian Falch <[email protected]> Date: Mon Aug 28 16:04:19 2023 +0200 Scroll to top when navigating to locators in scroll mode (readium#384)
1 parent 4f9d2aa commit 9d9fbe0

File tree

527 files changed

+14484
-12572
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

527 files changed

+14484
-12572
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 68 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Bug report
2+
description: File a bug report to help improve the Readium toolkit
3+
title: "[Bug] "
4+
labels: ["bug", "triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for filing a bug report! Please [search for existing issues](https://github.com/readium/kotlin-toolkit/issues?q=is:issue) before submitting.
10+
- type: textarea
11+
id: bug-description
12+
attributes:
13+
label: Describe the bug
14+
description: Also, please let us know what your expectations were.
15+
placeholder: A clear and concise description of what the bug is.
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: bug-steps
20+
attributes:
21+
label: How to reproduce?
22+
description: |
23+
Step by step explanation to reproduce the issue in the Test App.
24+
25+
If you can, drag and drop:
26+
- the publication used to reproduce the problem, after zipping it.
27+
- screenshots or a screencast showing the issue
28+
29+
placeholder: |
30+
1. Open book X
31+
2. Go to chapter Y
32+
3. Swipe left twice
33+
4. See error
34+
...
35+
validations:
36+
required: true
37+
- type: input
38+
id: bug-readium-version
39+
attributes:
40+
label: Readium version
41+
description: What version of the Readium toolkit are you running?
42+
validations:
43+
required: true
44+
- type: input
45+
id: bug-api-version
46+
attributes:
47+
label: Android API version
48+
description: On which Android API version(s) did you reproduce the problem?
49+
validations:
50+
required: true
51+
- type: textarea
52+
id: bug-additional
53+
attributes:
54+
label: Additional context
55+
description: |
56+
Share additional code showing how you use Readium, if relevant. Output logs are useful as well.
57+
If you already went through the codebase to find the bug, you can explain your findings here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ on:
99
jobs:
1010
docs:
1111
name: Update documentation
12-
runs-on: ubuntu-18.04
12+
runs-on: ubuntu-latest
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Fetch tags
1919
run: git fetch --prune --unshallow
2020

2121
- name: Set up Python
2222
uses: actions/setup-python@v4
2323
with:
24-
python-version: 3.6
24+
python-version: 3.11.6
2525

2626
- name: Install Python dependencies
2727
run: |
@@ -37,7 +37,7 @@ jobs:
3737
run: echo "READIUM_VERSION=`git describe --tag --match [0-9]* --abbrev=0`" >> $GITHUB_ENV
3838

3939
- name: Run Dokka
40-
run: ./gradlew dokkaGfmMultiModule
40+
run: ./gradlew :dokkaGfmMultiModule
4141

4242
- name: Copy README.md into docs to replace Dokka index.md
4343
run: cp README.md index.md
@@ -48,4 +48,4 @@ jobs:
4848
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
4949
mike deploy ${{ env.READIUM_VERSION }}
5050
mike set-default ${{ env.READIUM_VERSION }}
51-
mike deploy --rebase --push --update-aliases ${{ env.READIUM_VERSION }} latest
51+
mike deploy --push --update-aliases ${{ env.READIUM_VERSION }} latest

.github/workflows/publish.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Inspired by https://getstream.io/blog/publishing-libraries-to-mavencentral-2021/
21
name: Publish
32

43
on:
@@ -13,30 +12,17 @@ jobs:
1312
steps:
1413
- name: Checkout
1514
uses: actions/checkout@v3
16-
with:
17-
ref: develop
1815
- name: Set up JDK 17
1916
uses: actions/setup-java@v3
2017
with:
2118
distribution: adopt
2219
java-version: 17
2320

24-
# Builds the release artifacts of the library
25-
- name: Release build
26-
run: ./gradlew assembleRelease
27-
28-
# Generates other artifacts (javadocJar is optional)
29-
- name: Source jar and dokka
30-
run: ./gradlew androidSourcesJar javadocJar
31-
32-
# Runs upload, and then closes & releases the repository
3321
- name: Publish to Maven Central
34-
run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository
22+
run: ./gradlew publishToMavenCentral --no-configuration-cache
3523
env:
36-
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
37-
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
38-
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
39-
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
40-
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
41-
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
42-
24+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }}
25+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }}
26+
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }}
27+
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
28+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ captures/
4848
.idea/libraries
4949
.idea/jarRepositories.xml
5050
.idea/misc.xml
51+
.idea/migrations.xml
5152
# Android Studio 3 in .gitignore file.
5253
.idea/caches
5354
.idea/modules.xml
@@ -84,3 +85,9 @@ docs/index.md
8485
docs/package-list
8586
site/
8687
androidTestResultsUserPreferences.xml
88+
89+
# Custom Git patch enabling LCP in the Test App
90+
lcp.patch
91+
92+
# direnv file containing Maven Central secrets
93+
.envrc

.idea/.gitignore

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)