0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Commit Graph

396 Commits

Author SHA1 Message Date
dependabot-preview[bot]
7569166960 Bump powermock-core from 2.0.4 to 2.0.5
Bumps [powermock-core](https://github.com/powermock/powermock) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.4...powermock-2.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-01 21:44:40 -06:00
Mike Hardy
464da436b3 Add lint job in CI, fail NewApi violations 2020-02-12 12:14:53 -05:00
dependabot-preview[bot]
9c1db92899 Bump junit-vintage-engine from 5.5.2 to 5.6.0
Bumps [junit-vintage-engine](https://github.com/junit-team/junit5) from 5.5.2 to 5.6.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.5.2...r5.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 09:52:03 -05:00
Mike Hardy
8c39ee3234 Update google-analytics-java7 library 2020-01-23 09:52:03 -05:00
dependabot-preview[bot]
3f89ce6e5c Bump okhttp from 3.12.7 to 3.12.8
Bumps [okhttp](https://github.com/square/okhttp) from 3.12.7 to 3.12.8.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/docs/changelog_3x.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.7...parent-3.12.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 09:52:03 -05:00
dependabot-preview[bot]
e1b0b31ad1 Bump okhttp from 3.12.6 to 3.12.7
Bumps [okhttp](https://github.com/square/okhttp) from 3.12.6 to 3.12.7.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/docs/changelog_3x.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.6...parent-3.12.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 09:52:03 -05:00
dependabot-preview[bot]
4a7af46c87 Bump com.github.triplet.play from 2.6.1 to 2.6.2
Bumps com.github.triplet.play from 2.6.1 to 2.6.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 09:52:03 -05:00
dependabot-preview[bot]
52ff9ce983 Bump mockito-core from 3.2.0 to 3.2.4
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.2.0 to 3.2.4.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.2.0...v3.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 09:52:03 -05:00
Mike Hardy
a91aead393 Switch to okhttp for http connections, use TLS1.2 on API<=21 (#5658) 2019-12-27 14:00:31 +13:00
dependabot-preview[bot]
849d98c787 Bump mockito-core from 3.1.0 to 3.2.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.1.0...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-12 13:01:51 -05:00
dependabot-preview[bot]
b1fd9b655f Bump recyclerview from 1.0.0 to 1.1.0
Bumps recyclerview from 1.0.0 to 1.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-12 13:01:51 -05:00
dependabot-preview[bot]
8dde707e08 Bump com.github.triplet.play from 2.5.0 to 2.6.1
Bumps com.github.triplet.play from 2.5.0 to 2.6.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-12 13:01:51 -05:00
dependabot-preview[bot]
bf22383633 Bump exifinterface from 1.0.0 to 1.1.0
Bumps exifinterface from 1.0.0 to 1.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-12 13:01:51 -05:00
Mike Hardy
d83a9dc6d3 Optimize CI w/test split; Verify osx/win work 2019-11-04 00:38:02 -05:00
dependabot-preview[bot]
0cde80f387 Bump com.github.triplet.play from 2.4.2 to 2.5.0
Bumps com.github.triplet.play from 2.4.2 to 2.5.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 13:45:17 -05:00
dependabot-preview[bot]
8f670feff3 Bump sqlite-android from 3.29.0 to 3.30.1
Bumps [sqlite-android](https://github.com/requery/sqlite-android) from 3.29.0 to 3.30.1.
- [Release notes](https://github.com/requery/sqlite-android/releases)
- [Changelog](https://github.com/requery/sqlite-android/blob/master/CHANGELOG.md)
- [Commits](https://github.com/requery/sqlite-android/commits/3.30.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 13:45:17 -05:00
dependabot-preview[bot]
94a8f95a12 Bump powermock-core from 2.0.2 to 2.0.4
Bumps [powermock-core](https://github.com/powermock/powermock) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.2...powermock-2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 13:45:17 -05:00
dependabot-preview[bot]
6f5d7d04eb Bump powermock-module-junit4 from 2.0.2 to 2.0.4
Bumps [powermock-module-junit4](https://github.com/powermock/powermock) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.2...powermock-2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 13:45:17 -05:00
dependabot-preview[bot]
ceab7a1d1f Bump powermock-api-mockito2 from 2.0.2 to 2.0.4
Bumps [powermock-api-mockito2](https://github.com/powermock/powermock) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.2...powermock-2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 13:45:17 -05:00
Mike Hardy
ac94ae3571 fix gradle coverage entropy - classes and output moved 2019-10-21 22:19:51 -05:00
Mike Hardy
31b5008177 lint gradle file 2019-10-21 22:19:51 -05:00
Piotr Kubowicz
b2f19a0509 Bump Gradle from 5.6.1 to 5.6.3, JaCoCo to 0.8.4
Remove JaCoCo from build script dependencies as there is no use
of it and it was using a different version than JaCoCo used
for test execution.

Also fix some clumsy Gradle usages:
- duplicate keys in gradle.properties
- casting string jacocoVersion property to string
2019-10-18 16:56:10 -05:00
Mike Hardy
50419ba435 Revert "Bump appcompat from 1.1.0-rc01 to 1.1.0"
This reverts commit 2cc4c46125.

Fixes #5507

Upstream bug to track is https://issuetracker.google.com/issues/141132133
2019-10-16 10:44:19 +13:00
dependabot-preview[bot]
5e12c24c2c Bump gson from 2.8.5 to 2.8.6
Bumps [gson](https://github.com/google/gson) from 2.8.5 to 2.8.6.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-09 12:01:51 -05:00
dependabot-preview[bot]
935a28eaae Bump okhttp from 3.12.5 to 3.12.6
Bumps [okhttp](https://github.com/square/okhttp) from 3.12.5 to 3.12.6.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/docs/changelog_3x.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.5...parent-3.12.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 12:30:41 +09:00
dependabot-preview[bot]
4949019015 Bump com.github.triplet.play from 2.4.1 to 2.4.2
Bumps com.github.triplet.play from 2.4.1 to 2.4.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 12:30:41 +09:00
dependabot-preview[bot]
d222e1b54e Bump mockito-core from 3.0.0 to 3.1.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.0.0...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 12:30:41 +09:00
Mike Hardy
3593ddd055 chore: dependency updates (okhttp, play publishing, junit) 2019-10-02 12:30:41 +09:00
dependabot-preview[bot]
2cc4c46125 Bump appcompat from 1.1.0-rc01 to 1.1.0
Bumps appcompat from 1.1.0-rc01 to 1.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-07 08:31:18 +09:00
dependabot-preview[bot]
fd038eb06e Bump okhttp from 3.12.3 to 3.12.4
Bumps [okhttp](https://github.com/square/okhttp) from 3.12.3 to 3.12.4.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/docs/changelog_3x.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.3...parent-3.12.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-07 08:31:18 +09:00
dependabot-preview[bot]
9bda85fb3b Bump com.github.triplet.play from 2.2.1 to 2.3.0
Bumps com.github.triplet.play from 2.2.1 to 2.3.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-04 22:23:32 +09:00
dependabot-preview[bot]
683b73f20a Bump junit-vintage-engine from 5.5.0 to 5.5.1
Bumps [junit-vintage-engine](https://github.com/junit-team/junit5) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.5.0...r5.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-13 15:52:32 -05:00
dependabot-preview[bot]
6fb4f99749 Bump sqlite-android from 3.28.0 to 3.29.0
Bumps [sqlite-android](https://github.com/requery/sqlite-android) from 3.28.0 to 3.29.0.
- [Release notes](https://github.com/requery/sqlite-android/releases)
- [Changelog](https://github.com/requery/sqlite-android/blob/master/CHANGELOG.md)
- [Commits](https://github.com/requery/sqlite-android/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-13 15:52:32 -05:00
Mike Hardy
0e1c5351cc Update analytics to 2.0.9 / okhttp back to 3.12.x / Android 4.x
The previous analytics 2.0.8 version and a related change here
brought in okhttp 4.x which does not work with Android 4.x

Until we move to API21 as a minimum version, we can't use okhttp 4.x

In fact, until we move to API19 as minimum, we must use okhttp 3.12.x
2019-07-20 09:42:31 +09:00
Mike Hardy
db6988b310 update google auto-service from 1.0-rc5 to 1.0-rc6 2019-07-20 09:42:31 +09:00
dependabot-preview[bot]
b7f55e19cc Bump auto-service from 1.0-rc5 to 1.0-rc6
Bumps [auto-service](https://github.com/google/auto) from 1.0-rc5 to 1.0-rc6.
- [Release notes](https://github.com/google/auto/releases)
- [Commits](https://github.com/google/auto/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-20 09:42:31 +09:00
dependabot-preview[bot]
e77a56316b Bump mockito-core from 2.28.2 to 3.0.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 2.28.2 to 3.0.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.28.2...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-20 09:42:31 +09:00
Mike Hardy
247947c317
20190703 Dependency updates (#5361)
* Bump appcompat from 1.1.0-beta01 to 1.1.0-rc01

Bumps appcompat from 1.1.0-beta01 to 1.1.0-rc01.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump junit-vintage-engine from 5.4.2 to 5.5.0

Bumps [junit-vintage-engine](https://github.com/junit-team/junit5) from 5.4.2 to 5.5.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.4.2...r5.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-03 08:15:43 -05:00
Mike Hardy
faf961c121
20190627 Dependency updates (okhttp, junit, analytics) (#5350)
* Bump okhttp from 3.12.3 to 4.0.0

Bumps [okhttp](https://github.com/square/okhttp) from 3.12.3 to 4.0.0.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update junit minor - 1.1.0 to 1.1.1

* Update google-analytics-java7 to 2.0.8 (OkHTTP 3 -> 4)
2019-06-27 16:56:44 -05:00
Mike Hardy
1ec3f4d2a1 Forward-port to new appcompat libraries, should fix #5262 (#5341) 2019-06-25 12:34:32 +09:00
Mike Hardy
6a77a35a4a
20190530 Dependency updates (#5317)
* Bump mockito-core from 2.27.0 to 2.28.1
* Bump junit from 1.1.0 to 1.1.1
* Bump espresso-contrib from 3.1.1 to 3.2.0
* Bump mockito-core from 2.28.1 to 2.28.2
* Bump rules from 1.1.1 to 1.2.0
* Bump core from 1.1.0 to 1.2.0
* Bump espresso-core from 3.1.1 to 3.2.0
2019-05-30 13:21:42 -05:00
dependabot[bot]
d53ec03c9d Bump okhttp from 3.12.2 to 3.12.3
Bumps [okhttp](https://github.com/square/okhttp) from 3.12.2 to 3.12.3.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.2...parent-3.12.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-16 16:31:42 -05:00
dependabot[bot]
9574834693 Bump jsoup from 1.11.3 to 1.12.1
Bumps [jsoup](https://github.com/jhy/jsoup) from 1.11.3 to 1.12.1.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES)
- [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.11.3...jsoup-1.12.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-16 16:31:42 -05:00
dependabot[bot]
49716d82b1 Bump com.github.triplet.play from 2.1.0 to 2.2.1
Bumps com.github.triplet.play from 2.1.0 to 2.2.1.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-12 14:25:25 +09:00
dependabot[bot]
f5ca8641f3 Bump sqlite-android from 3.27.2 to 3.28.0
Bumps [sqlite-android](https://github.com/requery/sqlite-android) from 3.27.2 to 3.28.0.
- [Release notes](https://github.com/requery/sqlite-android/releases)
- [Changelog](https://github.com/requery/sqlite-android/blob/master/CHANGELOG.md)
- [Commits](https://github.com/requery/sqlite-android/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 21:43:57 -05:00
dependabot[bot]
6e9483c98e Bump powermock-api-mockito2 from 2.0.0 to 2.0.2
Bumps [powermock-api-mockito2](https://github.com/powermock/powermock) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0...powermock-2.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-28 09:20:38 -05:00
dependabot[bot]
e9eeb7b2b7 Bump powermock-module-junit4 from 2.0.0 to 2.0.2
Bumps [powermock-module-junit4](https://github.com/powermock/powermock) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0...powermock-2.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-28 09:20:38 -05:00
dependabot[bot]
acd5aad519 Bump powermock-core from 2.0.0 to 2.0.2
Bumps [powermock-core](https://github.com/powermock/powermock) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0...powermock-2.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-28 09:20:38 -05:00
dependabot[bot]
3cd6cdfe69 Bump mockito-core from 2.26.0 to 2.27.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 2.26.0 to 2.27.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.26.0...v2.27.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-28 09:20:38 -05:00
Fajar Ulin Nuha
9ae84e3ce3 Solve possible deprecation issue for jacoco task 2019-04-08 22:49:01 -05:00
Mike Hardy
30c31fca92
Alter auto-service dep / travis emulators / bump versions
#5271 part 2 based on https://github.com/ACRA/acra/issues/738#issuecomment-477389692
mockito-core from 2.25.1 to 2.26.0
bump junit-vintage-engine from 5.4.1 to 5.4.2
fix Travis a bit more after The Great Emulator Regression
2019-04-08 17:34:38 -05:00
Mike Hardy
3eab7b4a61
Dependency updates 20190327 (auto-service used by ACRA analytics interaction) (#5271)
Hopefully this dependency will get a real/stable release before 2.9.x but the auto-service dependency actually changed maven/gradle artifact organization during an RC cycle 🤷‍♂️

We must use it because using `@AutoService` annotations is the officially-supported mechanism for extending ACRA, and we extend ACRA just a little with a custom interaction so we get an analytics event hit at the same time ACRA posts to ACRAlyzer

Because correctly referencing the new artifact is in the vital crash reporting pathway I used our new advanced preferences test crash button while all using the advanced prefs dev analytics button to connect to the dev analytics instance with hit logging sampled at 100% to make sure it worked. The crash was correctly registered in analytics after this change so I feel confident it worked.
2019-03-27 16:27:35 -05:00
Mike Hardy
3f38f204df
20190319 Dependency updates (#5263)
Just a bunch of minor non-noteworthy updates.
No code changes needed to adapt this time.
Dependabot + Travis helping us with the unglamorous chores...
2019-03-21 22:31:58 -05:00
Mike Hardy
ee463c2a3e Alter Robolectric usage to finish AndroidX migration
Robolectric deprecated some APIs in preference to their new
AndroidX test library support:
http://robolectric.org/androidx_test/

This removes the usage of the deprecated APIs and implements the
necessary project changes to use the AndroidX style

- Activities must have <activity> AndroidManifest configuration, so
  our test-only Activity subclasses have to be public, and declared in
  a mergeable location (debug build variant for merge here)
- Robolectric test runner gone in favor of JUnit Runner
2019-02-20 09:45:41 +09:00
dependabot[bot]
95200ed0f6 Bump robolectric from 4.1 to 4.2
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.1 to 4.2.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.1...robolectric-4.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-20 09:45:41 +09:00
dependabot[bot]
6a94daf936 Bump sqlite-android from 3.26.0 to 3.27.1
Bumps [sqlite-android](https://github.com/requery/sqlite-android) from 3.26.0 to 3.27.1.
- [Release notes](https://github.com/requery/sqlite-android/releases)
- [Changelog](https://github.com/requery/sqlite-android/blob/master/CHANGELOG.md)
- [Commits](https://github.com/requery/sqlite-android/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-20 09:45:41 +09:00
dependabot[bot]
bd4740d585 Bump mockito-core from 2.24.0 to 2.24.5
Bumps [mockito-core](https://github.com/mockito/mockito) from 2.24.0 to 2.24.5.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.24.0...v2.24.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-20 09:45:41 +09:00
Timothy Rae
c2fa4648d0 Update play publisher plugin 2019-02-18 01:09:17 +09:00
Mike Hardy
96a3b30c1e Disable test orchestrator - causing crashes on test
The move to androidx stabilized it a little, but CI has
been much flakier since re-enabling this, so disabling it again
2019-02-15 19:09:05 +09:00
Mike Hardy
4432f409e0 requery depends on sqlite as api now, unneeded here 2019-02-15 19:09:05 +09:00
Mike Hardy
d3a8c7280a Upgrade mockito-core from 3.23.0 to 3.24.0 2019-02-10 10:39:54 -05:00
Mike Hardy
cd61e77574 Bump Junit to 5.4.0, with opt-in concurrency
Shaved 20% off ./gradlew jacocoUnitTestReport on a 4-core / hyperthread
MacBookPro, I imagine the results will scale well, without hurting small
machines (like CI)
2019-02-09 20:25:28 -05:00
Mike Hardy
a2ca1bede5 Use test orchestrator for instrumented tests
This change should isolate individual tests, making test
results more useful as one test won't halt the whole run

This should work okay now with the change to ANDROIDX prefix
2019-02-03 11:23:36 +09:00
Mike Hardy
039bbc8a0c Ignore jdk.internal objects for JaCoCo reports
This improves forward-compatibility for JDK>8
2019-01-28 14:57:37 -05:00
Mike Hardy
4ee048f779 Upgrade robolectric to 4.1 (new PackageManager APIs) 2019-01-28 14:57:37 -05:00
Mike Hardy
8b500b2c2c Upgrade JaCoCo to 0.8.3
Created a variable and used it for the required secondary locations

The project-level version definition is required or jacocoAnt gets the wrong version
The android-block version definition is required or the Jacoco agent is the wrong version
2019-01-28 14:57:37 -05:00
Mike Hardy
f15aeefa5a
Dependency updates 20190108 (#5196)
## Pull Request template

## Purpose / Description

Point release for okhttp 3.12.0 -> 3.12.1
Bring powermock to release status 2.0.0-RC.4 -> 2.0.0

## How Has This Been Tested?

These are tested in CI then I merge them unless they are large version changes
2019-01-08 14:42:03 -05:00
dependabot[bot]
626493a945 Bump sqlite-android from 3.25.3 to 3.26.0
Bumps [sqlite-android](https://github.com/requery/sqlite-android) from 3.25.3 to 3.26.0.
- [Release notes](https://github.com/requery/sqlite-android/releases)
- [Changelog](https://github.com/requery/sqlite-android/blob/master/CHANGELOG.md)
- [Commits](https://github.com/requery/sqlite-android/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-17 09:26:40 -05:00
Mike Hardy
b032a545c6 ependency updates - androidx.test, google-analytics-java7
- google-analytics-java7 is the Java7 version of google analytics library
-- this allows fully async CompletableFuture usage w/out compatibility upstream
   but the Java7 branch is identical code, just using a compatibility library
   tested and working correctly to our API15
- androidx.test.core and junit from 1.0.0 to 1.1.0
- androidx.test espresso dependencies from 3.1.0 to 3.1.1
- androidx.test runner, rules, orchestrator from 1.1.0 to 1.1.1
2018-12-13 09:19:17 -05:00
Mike Hardy
6b639627e2
Dependency Updates - annotation, mockito-core, requery (#5160)
Bumps annotation from 1.0.0 to 1.0.1.
Bumps mockito-core from 2.23.0 to 2.23.4
Bumps sqlite-android from 3.25.2 to 3.25.3
2018-12-12 17:14:24 -05:00
Mike Hardy
d4187deb0c Bump diff-match-patch to 1.2 (includes all upstream changes to this date) 2018-11-28 10:10:36 -05:00
dependabot[bot]
1d88c0ce62 Bump junit-vintage-engine from 5.3.1 to 5.3.2
Bumps [junit-vintage-engine](https://github.com/junit-team/junit5) from 5.3.1 to 5.3.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.3.1...r5.3.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-28 10:10:36 -05:00
Mike Hardy
c7ef2f533f Implement unit-test-only coverage report
Previously coverage was only available with unit + connected tests,
but as we have more testing ability with #5103 unit tests are more
useful and I want to be able to run them by themselves with coverage
2018-11-24 16:19:09 -05:00
Mike Hardy
2524c19b4c Implement standard gradle build/test optimizations
- de-couple api + AnkiDroid by making sure all evaulation may be done separately
- fork and incremental compile
- scale concurrent tests by CPU count, mindful of containerization

All of these are intended to have no impact on CI or small machines
But if you have a lot of cores and RAM and run tests a lot (my case) you feel this

There was one optimization that didn't pan out - setting the heap big enough to
dex in process - but other than this is the full suite of recommended gradle optimizations
2018-11-24 16:19:09 -05:00
Mike Hardy
0b53caca93 Use new framework sqlite API, with injectable conn factory
Modern requery versions and modern android implement a set of
sqlite APIs that make specific sqlite implementations swappable.

This patch moves from requery-specific APIs to those new framework
APIs, and makes the factory that creates connections injectable

This is advantageous for testing as you can swap in testable sqlite
implementations, but also requery itself is falling behind the
Android API implementations and eventually we may want to go native
again

Includes a test to make sure corruption handling is the same, other
parts of the implementation are fully covered by existing tests.
2018-11-24 12:48:21 +09:00
Mike Hardy
b4361f4f6c Use external diff-match-patch reference instead of copy
The Google diff-match-patch library object we had copied has moved
on and been worked on since 2006 (!) - this externalizes the diff algorithm
only keeping the small part where we wrap it for HTML diff display

Also upgrade the ExifInterface to the current recommended androidx reference

Finally, de-lint a bit more since Base64 isn't used and others had easy fixes
2018-11-24 12:32:37 +09:00
Mike Hardy
a348ae5ddd
Dependency updates (powermock, robolectric, okhttp) (#5121)
* Bump robolectric from 4.0.1 to 4.0.2

Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.0.1...robolectric-4.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Bump okhttp from 3.11.0 to 3.12.0

Bumps [okhttp](https://github.com/square/okhttp) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.11.0...parent-3.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Bump powermock-core from 2.0.0-RC.3 to 2.0.0-RC.4

Bumps [powermock-core](https://github.com/powermock/powermock) from 2.0.0-RC.3 to 2.0.0-RC.4.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0-RC.3...powermock-2.0.0-RC.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Bump powermock-api-mockito2 from 2.0.0-RC.3 to 2.0.0-RC.4

Bumps [powermock-api-mockito2](https://github.com/powermock/powermock) from 2.0.0-RC.3 to 2.0.0-RC.4.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0-RC.3...powermock-2.0.0-RC.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Bump powermock-module-junit4 from 2.0.0-RC.3 to 2.0.0-RC.4

Bumps [powermock-module-junit4](https://github.com/powermock/powermock) from 2.0.0-RC.3 to 2.0.0-RC.4.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0-RC.3...powermock-2.0.0-RC.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-19 08:51:54 -05:00
Mike Hardy
cd0e1817a5
Dependency updates (SLF4J-Timber, Powermock, Appcompat) (#5108)
* Bump powermock-module-junit4 from 2.0.0-RC.1 to 2.0.0-RC.3

Bumps [powermock-module-junit4](https://github.com/powermock/powermock) from 2.0.0-RC.1 to 2.0.0-RC.3.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0-RC.1...powermock-2.0.0-RC.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Bump powermock-api-mockito2 from 2.0.0-RC.1 to 2.0.0-RC.3

Bumps [powermock-api-mockito2](https://github.com/powermock/powermock) from 2.0.0-RC.1 to 2.0.0-RC.3.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0-RC.1...powermock-2.0.0-RC.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Bump powermock-core from 2.0.0-RC.1 to 2.0.0-RC.3

Bumps [powermock-core](https://github.com/powermock/powermock) from 2.0.0-RC.1 to 2.0.0-RC.3.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0-RC.1...powermock-2.0.0-RC.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Bump appcompat from 1.0.1 to 1.0.2

Bumps appcompat from 1.0.1 to 1.0.2.

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Bump slf4j-timber from 3.0 to 3.1

Bumps [slf4j-timber](https://github.com/arcao/slf4j-timber) from 3.0 to 3.1.
- [Release notes](https://github.com/arcao/slf4j-timber/releases)
- [Changelog](https://github.com/arcao/slf4j-timber/blob/master/CHANGELOG.md)
- [Commits](https://github.com/arcao/slf4j-timber/compare/3.0...3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-08 08:53:48 -05:00
Mike Hardy
9b049f0257 Bump appcompat from 1.0.0 to 1.0.1 2018-11-06 09:34:08 -05:00
Mike Hardy
3e85740032 Update robolectric dependency to 4.0.1 2018-11-02 09:45:13 +07:00
Mike Hardy
f10b6d44f3 Update robolectric and junit dependencies 2018-10-27 12:24:45 +11:00
Mike Hardy
cf47637ff1 Update test dependencies - androidx.test 1.0, powermock 2rc1 2018-10-25 16:43:25 -05:00
jgscherber
a7b1aac037 Format HTTP error codes
- Added logic for missing HTTP error codes using the same error message text as are used by the desktop client.
- Added unit test to ensure codes are returning the correct values
- grouped all HTTP error string resources
2018-10-23 07:24:58 -05:00
Mike Hardy
f2f8f7e662 Alter startup sequence for analytics, add debug mode
No hits will be accidentally sent during initialization, and
initialization won't interfere with the prompt-on-upgrade dialog

Also, if in debug mode you can switch to a "dev" tag and 100% sample
so you can guarantee hits despite sampling strategy, but not pollute
the main analytics information
2018-10-17 09:08:28 -05:00
Mike Hardy
f36ac26059 Upgrade ACRA to 5.2.1, more specific limiter clear note 2018-10-16 17:09:47 -05:00
Mike Hardy
5efa02ee37 Update test dependencies, remove deprecated test runner 2018-10-13 18:33:47 -05:00
Mike Hardy
97ebc86510 Sample 10% of sessions, anonymize IPs correctly
This bumps the analytics library to 2.0.3 to get the sampling change,
and brings with it a bugfix for batch-mode so that connections
are actually reused between calls, and API compatibility down to 15
2018-10-13 12:26:26 +09:00
Mike Hardy
de1c7d561d Update to requery-3.25.2, can remove ABI filter now 2018-10-09 09:27:51 -05:00
Mike Hardy
1a81df55fb
Implement analytics, Fixes #4969 2018-10-08 23:25:08 -05:00
Mike Hardy
4b5508fcf0 Display all compile problems, error on warnings 2018-10-07 01:48:25 -05:00
Mike Hardy
6e857716c2 Migrate to beta test APIs from alpha 2018-10-06 08:38:41 +09:00
Mike Hardy
e0b45d7a3b Fix coverage on JDK>=9
Remove config options that are actually defaults, simplifies the config
at the same time that it works correctly with higher JDKs, win/win
2018-10-05 15:21:33 +09:00
Mike Hardy
4262abae71 Update requery/sqlite deps
Should have been able to remove the ABI filter but requery packaging had a problem:
https://github.com/requery/sqlite-android/issues/78
2018-10-03 14:17:47 -05:00
Mike Hardy
c25f86027c Refactor->Migrate to AndroidX 2018-09-27 22:57:34 +09:00
Mike Hardy
1cd3c3b64d Dependency updates, and UI test works on API28 2018-09-27 22:57:34 +09:00
Mike Hardy
b804991cbc Add Robolectric test that opens each Activity 2018-09-20 23:12:05 +09:00
Mike Hardy
db681c36fc Use new 27.1.1 support libraries 2018-09-17 11:07:25 +09:00
Mike Hardy
a0218814da Bump junit point release 5.3.0 -> 5.3.1 2018-09-14 13:31:28 -05:00
Mike Hardy
7e2ad05f7e Use ACRA limiter to prevent sending duplicate crash reports (#4954)
Fixes #4949
2018-09-14 14:57:58 +09:00
Mike Hardy
6759201a13 Increase ADB timeouts (helps slow ARM emulators) 2018-09-14 12:32:28 +09:00
Mike Hardy
bcd5451e19 Shrink APK by removing armeabi/mips from requery 2018-09-14 12:32:28 +09:00
Mike Hardy
4652fc2cf8
Isolate support dependencies from test 2018-09-13 00:13:30 -05:00
Mike Hardy
2e98bb0606 Revert support libs to 27.0.x, Fixes #4938 2018-09-11 05:26:57 +09:00
Mike Hardy
03266e8246 Use MaterialDialogs 0.9.6.0 w/req'd refactor 2018-09-10 08:57:05 +09:00
Mike Hardy
0496c58748 Update ACRA to 5.2.0, starts API28 work (#4910) 2018-09-09 17:17:26 +09:00
Mike Hardy
943d70bf51 Remove deprecated jacoco config, use default 2018-09-08 16:43:06 +09:00
Mike Hardy
42a8d912bc Bump junit-vintage-engine to 5.3.0 (dependabot) 2018-09-08 16:43:06 +09:00
Mike Hardy
55a2253206 Use event logic only, target API26, Fixes #4883 2018-09-08 15:21:57 +09:00
Mike Hardy
7acc79e14e Coverage reports / Codacy integration (#4919)
* Add jacoco dependency, bump gradle plugin dependency
* Implement integrated coverage report for debug builds
* Report coverage in Travis, aggregate all API reports in Codacy

Fixes #4914
Fixes #3056
Fixes #4588
Fixes #2254
2018-09-03 17:02:27 +09:00
Mike Hardy
addaac9466 Upgrade to requery 3.24.0 w/extra dependency req'd for compile (#4920) 2018-08-29 20:48:03 +09:00
Mike Hardy
127f599c68 ACRA upgrade to 5.1.3 (#4893) 2018-08-29 00:21:35 +09:00
Mike Hardy
f04cef4bc5 Update dependencies that required no code changes (#4912)
Note the beta android gradle plugin is needed in combo with gradle 4.9,
but it should not have any change on compilation artifacts until D8 is enabled
2018-08-18 10:00:58 +09:00
Mike Hardy
d1c09fe767 Upgrade instrumented tests to Junit4 / Fix permission errors
- Upgrade JUnit3+AndroidTestCase to JUnit4 + Annotations
- Add ATSL (Android Test Support Library, new from google)
- Fix test permission errors w/@GrantPermissionRule from ATSL! API 24 works!
  - https://developer.android.com/reference/android/support/test/rule/GrantPermissionRule
- Run tests with orchestrator to run connected tests; crash+state isolation
- Added a "RetryRule" to re-run a flaky test and used it on MediaImporter, works 2000 times and fails 1...
2018-07-02 07:12:02 +09:00
Mike Hardy
ebd16feb11 Upgrade Timber logging dependency, refactor to new Timber API 2018-06-18 08:39:37 +09:00
Mike Hardy
2434d3e346 Upgrade test dependencies and migrate tests to new APIs
- Junit 4 -> Junit 5 using Vintage Engine
    - Mockito -> 1.10.x -> 2.18.x
    - Powermock 1.6.x -> Powermock 2.0.x
2018-06-14 08:15:42 +09:00
Mike Hardy
76b18e06ef Upgrade gradle and gradle plugin, w/migrations, travis speedups (#4851)
- fix api gradle deprecation, add warn comment in gradle wrapper
- buildtools 27.0.3 needs to be added w/license accepted
- install SDK API 16 to match emulator API 16, remove extra tools
- tools components entry twice per Travis docs
- only including build-tools 26.0.2 as it is default per my read
- only including one android API for the build
- removing non-existent extra-android-support
- changing from API-22 emulator to API-16 per performance documentation on web
- removing "no-skin" emulator argument as it is not supported
- upgrade to gradle 4.5.1 / gradle plugin 3.1.2
- alter gradle dependencies to modern fine-grained declarations
- move api build targetSdk to match main build targetSdk
2018-05-19 11:55:10 +09:00
Mike Hardy
11b3028388 Move minSdkVersion to 15 2018-05-09 11:00:03 +09:00
Mike Hardy
1e760bc633 Decrease targetSdkVersion to pre-26 / 8.0, avoids background limits (#4795) 2018-03-08 17:39:12 +09:00
Mike Hardy
15153b5efc Updating versions for buildtools and gson dependency (#4792) 2018-03-08 17:38:32 +09:00
Timothy Rae
59f46fe5ae Remove the adb install hack
This was for Travis but I don't think it ever worked
2017-12-15 13:51:05 +09:00
Timothy Rae
3e78697111 Update compileSdkVersion and libraries to 26
Also updated to gradle 4
2017-12-15 13:51:05 +09:00
Timothy Rae
8bf61267f0 Bump minimum sdk to 14 (Android 4.0) 2017-11-10 22:24:10 +09:00
Wojciech Śmigaj
3947a5151e #1463 Recognize TTS elements in questions and answers. (#4677)
If the question or answer contains any <tts> elements with the 'service'
attribute set to 'android', then only the text enclosed in these elements
is read aloud using the text-to-speech engine. The 'voice' attribute can
be used to specify the language of the text (details below). If no
<tts service='android'> elements are present in the question or answer,
the user is asked to select the language from a list (as before). <tts>
elements with other values of the 'service' attribute are ignored, which
makes it possible to use the same card format with AnkiDroid and with
the AwesomeTTS add-on to the desktop Anki application (each ignoring
unrecognised services).

'voice' attributes should be given in the format used by the
Locale.toString() function, i.e.

language_code + "_" + country_code [+ "_" + variant_code]

(the second underscore and the variant are optional and typically
unnecessary). Typical examples: en_US, en_GB, fr_FR.

Full example:

<tts service="android" voice="de_DE">{{Back}}</tts> (pl. {{Plural}})

Here only the contents of the 'Back' field are read aloud (in German); the
contents of the 'Plural' field are only displayed, not read.
2017-11-09 13:01:35 +09:00
Timothy Rae
5d15fd17b7 Write the play release channel explicitly 2017-01-05 08:05:18 +09:00
Houssam Salem
e6b63daaa5 Update support libraries 2017-01-05 07:45:49 +09:00
Tim Rae
c4c6af20af Bumped version to
@branch-specific
2016-12-13 20:43:22 +09:00
Tim Rae
97b205bbe5 Merge pull request #4483 from hssm/sqlite-support
Use SQLite support library
2016-11-02 09:48:12 +09:00
Houssam Salem
f3ead441a2 Use SQLite support library 2016-11-02 01:08:36 +11:00
Dmitry Timofeev
60365c9232 Fix PieChart diagram:
* Fix sectors drawing when there are zero values
   * Make clients responsible for providing a color legend
   * Tabs > Spaces in the whole file
   * Add missing @Override
   * Add local unit tests
2016-10-23 14:34:17 +03:00
Houssam Salem
a55a8a38b1 Update build tools and support libraries 2016-10-21 16:33:17 +11:00
Houssam Salem
eee8b4afd0 Update build tools and support libraries 2016-07-28 13:39:02 +10:00
Houssam Salem
7da2be7878 Update support libs and SDK versions 2016-06-27 14:55:48 +10:00
Houssam Salem
c76b539981 Roll back support libs
Might fix the FAB repositioning issue.
2016-05-27 17:48:14 +10:00
Houssam Salem
c68a9f335e Update support libraries 2016-05-18 14:25:19 +10:00
timrae
18d43995d9 Allow unit tests to work on SDK23 from command line 2016-04-22 00:06:51 +09:00
Houssam Salem
bec7f5c784 Update support libraries 2016-04-11 16:43:47 +10:00
Houssam Salem
e27e627de7 Disable pre-dexing on Travis 2016-03-12 09:45:45 +11:00
Houssam Salem
aa043c2bee Support library updates 2016-03-11 15:14:30 +11:00
Houssam Salem
f8f3ab6ec2 Update to newer support libraries and build tools 2016-02-28 22:42:54 +11:00
Timothy Rae
c2c44ba429 Remove material drawer depenency 2015-12-19 17:59:27 +09:00
Timothy Rae
9c4a61d988 Merged 'c51d400' from hotfix-2.5.3: Don't use FloatingActionsMenu below API 14 2015-12-10 02:51:05 +09:00
Timothy Rae
45192f2620 Merged 'b13f9a2' from hotfix-2.5.3: Workaround for crash on Samsung devices on Android 4.2
https://code.google.com/p/android/issues/detail?id=78377
2015-12-10 02:51:03 +09:00
Timothy Rae
3324b32926 Don't use FloatingActionsMenu below API 14 2015-12-10 02:38:55 +09:00
Timothy Rae
10c69b63f4 Workaround for crash on Samsung devices on Android 4.2
https://code.google.com/p/android/issues/detail?id=78377
2015-12-04 02:16:05 +09:00
Timothy Rae
e80ba85ccb Merged '85652a9' from release-2.5: afefa31,9f6a3b1
Commit 'afefa31'
Hide action bar together with system status bar in fullscreen mode

Commit '9f6a3b1'
Add maximum value check to NoteEditorReschedule dialog
2015-11-22 22:13:46 +09:00
Timothy Rae
95c0b9ec58 Merged 'da2623d' from release-2.5: Update support library versions to 23.1.1 2015-11-22 22:13:46 +09:00
Timothy Rae
afefa31706 Hide action bar together with system status bar in fullscreen mode 2015-11-20 20:28:52 +09:00
Timothy Rae
02e992f260 Update support library versions to 23.1.1
#3739 has been fixed so it might be worth updating
2015-11-17 18:34:26 +09:00
Timothy Rae
d1cd946a30 Merged 'b77a4a3' from release-2.5: Revert to old http client
Fixes #3787
2015-11-15 20:52:42 +09:00
Timothy Rae
4041bccced Merged 'ce0fd2a' from release-2.5: 250c9c3,919d577
Commit '250c9c3'
Allow some rendering of browser items while scrolling

Commit '919d577'
Update material libraries with exclude group and fix 2 bugs
Fix #3772
2015-11-15 20:52:42 +09:00
timrae
f864621a4f Revert to old http client
Fixes #3787
2015-11-04 19:48:13 +09:00
Tim Rae
ce0fd2ac46 Merge pull request #3793 from timrae/card-browser-more-changes
Allow some rendering of browser items while scrolling
2015-10-31 23:01:50 +09:00
timrae
919d57749f Update material libraries with exclude group and fix 2 bugs
Fix #3772
2015-10-31 22:18:10 +09:00
timrae
bff66c0abd Make beta branch publish directly to beta channel
@branch-specific
2015-10-31 12:48:04 +09:00
timrae
3cfaee9b10 Get rid of the iconics library 2015-10-27 11:31:14 +09:00
timrae
937dec0eb7 Add gradle task for uploading to Google Play 2015-10-27 11:23:05 +09:00
timrae
f930725bb2 Revert the support library
Fixes #3739
2015-10-17 20:36:50 +09:00
timrae
1263f84db0 Acra 1.7.x is currently non-functional
https://github.com/ACRA/acra/issues/313
2015-10-17 11:10:05 +09:00
timrae
c729979fd3 Update version of most of the dependencies 2015-10-16 12:14:56 +09:00
timrae
960bf6f7d0 Add support for custom tabs library 2015-10-09 18:44:39 +09:00
timrae
b95b8553e3 Simplify CustomStudy context menu code 2015-10-07 18:42:40 +09:00
timrae
0c6a4303ec Remove mini-drawer 2015-10-07 10:32:51 +09:00
timrae
1e73ed6b90 Quick fix for #3702 2015-10-06 08:52:44 +09:00
timrae
df469d0959 Update Acra version and fix #3570 2015-10-05 00:47:11 +09:00
timrae
4a181afe74 Improve tablet layout (add mini-drawer, remove graph, layout refactoring)
also fixes #3681 fullscreen issue
2015-10-03 02:13:44 +09:00
timrae
ab0fec3684 Add switch to navigation drawer and boost minSdk to 10 2015-09-27 22:19:46 +09:00
timrae
8e65953f26 Upgrade HttpClient from stock Android to Apache 4.4.1 2015-09-27 14:20:10 +09:00
timrae
a8bdaf7a3c Update material dialogs version
and drop targetSdkVersion to v22
2015-09-25 19:42:59 +09:00
Tim Rae
a794a54e98 Merge pull request #3644 from timrae/android-m
Update to SDK 23
2015-09-25 15:45:37 +09:00
Tim Rae
52b794da5a Merge pull request #3630 from timrae/api-squash
Create API for easier integration with 3rd party apps
2015-09-11 05:22:22 +09:00
timrae
93b5e4dd08 Create API for easier integration with 3rd party apps 2015-09-11 05:08:18 +09:00
timrae
a5eb3889ad Update to SDK 23 2015-09-09 02:55:47 +09:00
timrae
82f5a58552 Show SnackBar instead of dialog when sync was successful 2015-09-04 13:31:48 +09:00
timrae
2ce42c076d Update design support library version 2015-07-21 17:11:33 +09:00
timrae
1d71406f06 Material design add content menu. Remove ShowcaseView 2015-07-04 17:46:38 +09:00
Tim Rae
c9c4c34b46 Update material-dialogs version 2015-06-14 12:41:15 +09:00
timrae
c71e845341 Replace StyledDialogs with Snackbars in MyAccount 2015-06-10 16:57:59 +09:00
timrae
46a2d7d637 Update AppCompat and other Gradle plugin versions
http://android-developers.blogspot.co.uk/2015/04/android-support-library-221.html
2015-06-04 14:43:20 +09:00
Houssam Salem
de0d08c3c4 Update Material Dialogs to 0.7.3.1 2015-04-30 17:48:49 +10:00
Bruno Azevedo
c29e2f6d56 Updated MaterialDialogs version to 0.7.1.3
We should always use the latest version for the Material Dialogs.
2015-04-12 21:09:24 -03:00
Bruno Azevedo
8dc45532d5 Feature: add/remove saved searches.
Since I was already dealing with the subject, I decided to give it a try and implement the save/delete new searches.
2015-04-09 19:54:39 -03:00
Tim Rae
32445a2dc0 Update build.gradle 2015-04-02 01:45:14 +09:00
timrae
fc1bf98c67 ignore ellipsis lint warnings 2015-04-02 01:37:59 +09:00
Allison Van Pelt
2e3665c0bf RecyclerView for DeckPicker
Replaced ListView with a RecyclerView in DeckPicker. This also replaces the anonymous SimpleAdapter with a custom RecyclerView.Adapter. Our UI is a simple list, which does not require any custom styling depending on whether the item is a deck or subdeck. The items have click & long click actions that function the same as before. There is also a new method inside DeckPicker for finding a deck node given a deck ID.
2015-03-29 22:51:55 -07:00
timrae
ee981a0e8e Do null check for result in sync AsyncTask 2015-03-29 05:29:58 +09:00
Enno Hermann
b9915e1649 Add progress animation, fix contextual action bar 2015-03-28 16:13:43 +01:00
timrae
b585aac4f0 Change compileSdkVersion to 22 and update travis script 2015-03-28 21:54:45 +09:00
hermanne
714652fc94 First Material Design draft 2015-03-27 01:36:33 +01:00
timrae
1d63c2818d Add custom crash report dialog
Conflicts:
	AnkiDroid/src/main/java/com/ichi2/anki/Feedback.java
	AnkiDroid/src/main/java/com/ichi2/async/Connection.java
2015-01-24 08:50:03 +09:00
timrae
bcc3d57c87 Add custom crash report dialog
Rename some constants and methods
2015-01-24 08:31:55 +09:00
timrae
18cf390aa0 Switch Logging over to Timber 2015-01-23 13:00:33 +09:00
timrae
4edacff986 Switch error reporting over to ACRA @ ankidroid.org 2015-01-08 17:11:33 +09:00
timrae
af91023e57 Update project configuration for Android Studio 1.0 stable 2014-12-09 11:11:40 +09:00
timrae
4dd2ac2cad Get tests working 2014-11-10 21:10:07 +09:00
timrae
633fbe5807 Disable proguard 2014-11-10 10:01:54 +09:00
timrae
1fbf16e693 Migrate to new Android Studio project structure 2014-11-10 02:02:29 +09:00