Jonathan Almeida
0f98a52da7
Bug 1872235 - Fix unit test failures from new lint check
2024-02-20 18:34:24 +00:00
mcarare
b26144be8e
Bug 1859017 - Use SocketPolicy NO_RESPONSE instead of delay.
2023-10-16 13:39:23 +00:00
mcarare
0860fc8f9a
Bug 1859017 - Use extension functions instead of deprecated constructors/methods.
2023-10-16 13:39:23 +00:00
mcarare
063c553913
Bug 1849833 - Replace deprecated compileSdkVersion.
...
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00
Ryan VanderMeulen
0e5e70291c
Bug 1820233 - Remove unneeded kotlin_stdlib inclusions and re-enable Werror in detekt build.gradle
2023-03-07 00:12:18 +00:00
mcarare
1f589a2e0b
Bug 1802817 - Set namespace via DSL in gradle build files.
...
See https://developer.android.com/studio/build/configure-app-module#set-namespace
and https://issuetracker.google.com/issues/172361895
2023-03-02 17:13:09 +00:00
mcarare
cd1b348c9b
Bug 1802817 - Rename DSL object from lintOptions to lint.
...
DSL object for configuring lint options lintOptions is deprecated.
2023-03-02 17:13:09 +00:00
mcarare
922b5f6643
Bug 1802817 - Rename AC Dependencies to ComponentsDependencies.
...
This change is needed in order to avoid clashes with Dependencies class introduced
in Gradle from 7.6 version.
2023-03-02 17:13:09 +00:00
Gabriel Luong
d9d783b698
[components] Issue https://github.com/mozilla-mobile/android-components/issues/12939 : Address all ktlint issues
2022-10-17 17:07:40 -04:00
Sebastian Kaspari
ce323400dd
[components] Run ktlintFormat to fix new ktlint errors.
2021-07-28 12:03:23 +00:00
Emilio Cobos Álvarez
41d375b7d9
[components] ktlint: Add missing newlines.
...
Running ./gradlew ktlint locally reports a lot of stuff like:
/home/emilio/src/moz/android-components/components/support/migration/src/test/java/mozilla/components/support/migration/MigrationIntentProcessorTest.kt:1:1: File must end with a newline (\n)
This fixes it with:
for f in $(cat files | cut -d : -f 1); do echo "" >> $f; done
Making ./gradlew ktlint pass.
2020-12-03 17:24:44 +00:00
Sebastian Kaspari
a8b7b69812
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7719 : Remove all default headers from GeckoViewFetchClient.
2020-09-21 13:53:27 +02:00
Sebastian Kaspari
9d854eb6b7
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7719 : Remove default headers for "User-Agent" and "Connection".
2020-09-17 11:01:02 +02:00
Christian Sadilek
26d4b79b8c
[components] Issue https://github.com/mozilla-mobile/android-components/issues/6314 : Support fetching non base64 encoded data URIs
2020-04-07 13:28:50 -04:00
MozLando
5b6ddff60d
[components] Merge https://github.com/mozilla-mobile/android-components/pull/6475
...
6475: Closes https://github.com/mozilla-mobile/android-components/issues/6314 : Support fetching / downloading data URIs r=Amejia481,pocmo a=csadilek
With this we can fetch from data URIs and downloads "just work" (we don't require any special handling). So, e.g. this works now (which is also used by uBlock to save backups):
```html
<a href="data:text/plain;base64,SGVsbG8sIFdvcmxkIQ==" download="backup.txt">Backup</a>
```
08d370d32e/platform/chromium/vapi-common.js (L172)
GV didn't want to add API for it so I took a stab at adding this to our fetch libs: https://github.com/mozilla-mobile/android-components/issues/6314#issuecomment-606278886
@pocmo can you take a look since we looked at download stuff today :). I've time-boxed this and limited to base64 encoded URIs. The device and unit tests pass and the download works / can be tested here:
https://jsfiddle.net/nue9rg0L/2/
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com >
2020-04-02 18:25:20 +00:00
Christian Sadilek
b8ab3fdcf3
[components] Closes https://github.com/mozilla-mobile/android-components/issues/6314 : Support fetching / downloading data URIs
2020-04-02 10:44:52 -04:00
Sebastian Kaspari
05ac0d430a
[components] Issue https://github.com/mozilla-mobile/android-components/issues/6407 : FetchTestCases: Ignore "Sec-Fetch-*" headers.
2020-04-01 12:44:25 +02:00
Arturo Mejia
c148451bee
[components] Update Android Gradle plugin and Gradle version
2019-11-28 09:54:59 -05:00
Sebastian Kaspari
5c54ec453d
[components] Closes https://github.com/mozilla-mobile/android-components/issues/842 : Migrate from support libraries to AndroidX.
2019-05-02 16:08:55 +02:00
Michael Comella
4a9f66ab40
[components] Closes https://github.com/mozilla-mobile/android-components/issues/2262 : Rename Response.X to isX.
...
This follows Java naming conventions.
2019-03-08 20:13:53 +01:00
Christian Sadilek
69ff6c67ca
[components] Closes https://github.com/mozilla-mobile/android-components/issues/2086 : Crash caused by WebRequestError if device offline
2019-02-15 17:44:53 +01:00
Christian Sadilek
12d8b54dd4
[components] concept-fetch: Add API/flag to force network request
2019-02-15 10:26:59 +01:00
Christian Sadilek
401f946ca0
[components] Closes https://github.com/mozilla-mobile/android-components/issues/1515 : Incorrect decoding of search suggestions
2019-02-14 09:42:40 +01:00
Christian Sadilek
88bf1ebdd2
[components] Closes https://github.com/mozilla-mobile/android-components/issues/2025 : concept-fetch: Add API to control if cookies should be sent
2019-02-13 11:40:51 -05:00
Christian Sadilek
dc56439e36
[components] Closes https://github.com/mozilla-mobile/android-components/issues/1328 : Provide GeckoView based implementation of concept-fetch
2019-02-11 15:44:18 -05:00
Mitchell Hentges
3ee4d96a84
[components] Reads componentsVersion from .buildconfig.yml
2019-01-11 10:08:32 +01:00
ali-abdullah
89f3263d12
[components] included buildSrc in ktlint and detekt checks
2018-11-16 12:40:04 +01:00
Sebastian Kaspari
a2794e745a
[components] Issue https://github.com/mozilla-mobile/android-components/issues/1325 : (lib-fetch-httpurlconnection): A concept-fetch implementation using HttpURLConnection.
2018-11-16 11:17:44 +01:00
Sebastian Kaspari
f682aa9132
[components] Issue https://github.com/mozilla-mobile/android-components/issues/1348 : (tooling-fetch-tests) Ignore external jars when running lint.
2018-11-14 09:43:08 -05:00
Sebastian Kaspari
3f1dc9f039
[components] Issue https://github.com/mozilla-mobile/android-components/issues/1327 : (tooling-fetch-tests): A generic test suite for components that implement concept-fetch.
2018-11-13 17:33:53 +01:00