Commit Graph

92 Commits

Author SHA1 Message Date
June
9596bcf082 add pdfjs-dist submodule and symlink minified files
This should make the update process of pdf.js far easier and more maintainable as we can just use the pdfjs-dist tags

Signed-off-by: June <june@eridan.me>
2022-01-22 22:12:31 -05:00
June
df63e56bed solve deprecations in app build.gradle.kts
Signed-off-by: June <june@eridan.me>
2022-01-22 20:34:03 -05:00
June
846757d3fb update appcompat and material
Signed-off-by: June <june@eridan.me>
2022-01-22 20:33:31 -05:00
Daniel Micay
94f4cb6362 set Java bytecode version for Kotlin 2021-11-24 23:13:47 -05:00
Daniel Micay
e4b107e1e4 update text layer CSS 2021-11-24 22:22:33 -05:00
Daniel Micay
c7329644b2 disable idle-detection in Permissions-Policy 2021-11-24 02:19:18 -05:00
smdyv
90d4b22799 Add Kotlin Android plugin to module 2021-11-22 10:48:57 -05:00
Daniel Micay
290000687a increment version to 7 2021-11-21 17:42:53 -05:00
Daniel Micay
1c69280219 update pdf.js to 2.10.377 2021-11-21 17:30:18 -05:00
Daniel Micay
24d8d32c5c remove unnecessary lint ignore 2021-11-21 16:05:04 -05:00
Daniel Micay
2cdd5f967e handle deprecation of resource ids as constants 2021-11-21 16:02:22 -05:00
Daniel Micay
fb44da509c return true for action_open 2021-11-21 15:59:45 -05:00
Daniel Micay
6a9f7e11b1 remove setSaveFormData since minSdkVersion >= 26 2021-11-21 15:54:29 -05:00
Daniel Micay
216195954e enable web content debugging in debug builds 2021-11-21 15:49:26 -05:00
Daniel Micay
bcef367a58 replace Feature-Policy with Permissions-Policy 2021-11-21 15:45:58 -05:00
Daniel Micay
262d110266 remove legacy script-src directive 2021-11-21 15:41:15 -05:00
Daniel Micay
0d08f3606d explicitly set pdf.js worker to avoid deprecation 2021-11-21 15:40:04 -05:00
Daniel Micay
a40708ce02 use Gradle Kotlin DSL 2021-11-21 15:10:47 -05:00
Daniel Micay
a68bac16d6 enable strict mode for resource shrinking 2021-11-21 14:54:17 -05:00
smdyv
9ed8422ae7 Renew Google Play icon 2021-11-21 14:46:14 -05:00
smdyv
e41739832e Delete legacy launcher icons
API level 26 introduces adaptive launcher icons.
Our minSdkVersion is 26.
2021-11-21 14:33:22 -05:00
smdyv
4ca7135287 Renew launcher icon 2021-11-21 14:33:22 -05:00
dependabot[bot]
b8c01139d3 Bump appcompat from 1.3.1 to 1.4.0
Bumps appcompat from 1.3.1 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-17 16:20:33 -05:00
Daniel Micay
eb25091112 target Java 11 2021-09-30 12:16:00 -04:00
June
90b2b5f989 target API 31
API 31 requires intents to set android:exported true or false

Signed-off-by: June <zanthed@riseup.net>
2021-09-29 09:37:57 -04:00
Daniel Micay
a8fcbf6404 update SDK build tools to 31.0.0 2021-09-22 09:20:59 -04:00
Daniel Micay
5e4ca28f75 update SDK to 31 2021-09-22 09:20:32 -04:00
Daniel Micay
6d76e2472c use only double quotes for Gradle Groovy syntax 2021-09-21 14:07:36 -04:00
Daniel Micay
7cd3a188e1 use newer gradle plugins syntax 2021-09-21 14:04:38 -04:00
dependabot[bot]
186fc3a299 Bump appcompat from 1.3.0 to 1.3.1
Bumps appcompat from 1.3.0 to 1.3.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-21 17:30:39 -04:00
dependabot[bot]
2a81f0eeb1 Bump material from 1.3.0 to 1.4.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.3.0...1.4.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-03 00:33:58 -04:00
Daniel Micay
f19ee95965 update appcompat to 1.3.0 2021-05-18 18:20:15 -04:00
inthewaves
ce254aecc0 bump build tools version to 30.0.3 2021-03-20 03:55:20 -04:00
Daniel Micay
31ca9b5c9f raise minSdkVersion to 26 2021-02-10 23:09:40 -05:00
dependabot-preview[bot]
701435a72b Bump material from 1.2.1 to 1.3.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.2.1...1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-10 23:09:03 -05:00
Daniel Micay
42185aa0a9 update build tools to 30.0.2 2020-11-24 02:55:36 -05:00
Daniel Micay
7d4679f05b update compileSdkVersion 2020-11-24 01:34:29 -05:00
anupritaisno1
9547b55a9a update pdf.js to 2.5.207 release
Signed-off-by: anupritaisno1 <www.anuprita804@gmail.com>
2020-11-10 18:20:55 -05:00
Daniel Micay
eb7884d6c1 update targetSdkVersion to 30 2020-11-09 22:11:03 -05:00
Daniel Micay
e9f159bdc4 update libraries 2020-11-09 22:10:28 -05:00
inthewaves
42de305b7c move initial showSystemUi call to loadPdf
The reasoning for calling showSystemUi() in the onCreate method
before was to make the transitions for immersive mode more smooth.
However, it's only needed when the PDF has actually loaded, i.e. when
the immersive mode makes sense to use.

Before, Snackbars were partially covered by the navigation UI due to the
showSystemUi() setting the View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
flag. Moving it so that the function is only called when a PDF is loaded
fixes this issue.
2020-08-28 21:49:05 -04:00
Atrate
f3d322ddc1 Mime -> MIME
Signed-off-by: Atrate <Atrate@protonmail.com>
2020-08-28 21:45:30 -04:00
anupritaisno1
64407e3a85 update pdf.js to 2.4.456
Signed-off-by: anupritaisno1 <www.anuprita804@gmail.com>
2020-06-01 15:49:46 -04:00
Daniel Micay
b4f18f8b97 increment version to 6 2020-05-28 14:42:52 -04:00
Daniel Micay
f7956bd0da Revert "Revert "reuse findViewById result to avoid lint error""
This reverts commit c8058db470.
2020-05-28 14:42:40 -04:00
Daniel Micay
b968ff2596 move code checking for file scheme 2020-05-28 14:02:44 -04:00
Daniel Micay
c8058db470 Revert "reuse findViewById result to avoid lint error"
This reverts commit b5e9dcc78b.
2020-05-28 13:51:31 -04:00
Daniel Micay
c53b7c6745 increment version to 5 2020-05-27 19:11:14 -04:00
Daniel Micay
b5e9dcc78b reuse findViewById result to avoid lint error 2020-05-17 06:37:27 -04:00
Daniel Micay
1fd99ae3b4 add user-facing error reporting 2020-04-11 13:21:36 -04:00