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

8737 Commits

Author SHA1 Message Date
Timothy Rae
efad125935 Vertically center text in card browser list view 2018-07-29 16:16:14 +09:00
Timothy Rae
6bf263c4bb Bumped version to 2.9alpha26
@branch-specific
2018-07-29 16:02:39 +09:00
Timothy Rae
40e942f095 Maintain vertical position of selected item when entering/exiting multiselect mode 2018-07-29 15:58:22 +09:00
Timothy Rae
845571e57d Revert "To prevent rows from getting much larger in multi-select mode (because of the checkbox) and jumping out of view: set smaller margins so cells have about the same height even though extra space for the checkbox is needed"
This reverts commit 81ddbd690d.
2018-07-29 15:58:22 +09:00
Timothy Rae
722684adbb Updated strings from Crowdin 2018-07-05 00:19:03 +09:00
Timothy Rae
6fed42e611 Update manage-crowdin script to python3
pycurl isn't that easy to install for python2 on modern linux systems
2018-07-05 00:18:31 +09:00
Timothy Rae
c06b9790f4 Bumped version to 2.9alpha25
@branch-specific
2018-07-04 08:23:11 +09:00
Valentin
81ddbd690d To prevent rows from getting much larger in multi-select mode (because of the checkbox) and jumping out of view: set smaller margins so cells have about the same height even though extra space for the checkbox is needed 2018-07-04 08:19:24 +09:00
Mike Hardy
27c2d06f2d Specify reason for exceptions on schema mods 2018-07-02 07:12:28 +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
Timothy Rae
b1ee58c21c Bumped version to 2.9alpha24
@branch-specific
2018-06-26 09:25:47 +09:00
Valentin Rublack
d98f676d09 Browser multiselect (#4839)
Fixes #2339 

Originally based on @chickendude's fork (see issue #2339)
2018-06-26 09:24:10 +09:00
Timothy Rae
90fa958d09 Bumped version to 2.9alpha23
@branch-specific
2018-06-26 09:16:47 +09:00
Timothy Rae
93d2f80e8e Updated strings from Crowdin 2018-06-26 08:58:16 +09:00
Timothy Rae
752e9afb8a Add support for Esperanto 2018-06-26 08:57:28 +09:00
Mike Hardy
56773418d9 Expose deprecation details, examine+suppress one 2018-06-18 22:01:38 +09:00
Mike Hardy
944a587e72 Update two javadocs to indicate there may be errors 2018-06-18 22:01:38 +09:00
Mike Hardy
ebd16feb11 Upgrade Timber logging dependency, refactor to new Timber API 2018-06-18 08:39:37 +09:00
Mike Hardy
d7bf29784e Update codestyle, small addition auto-added by AndroidStudio 2018-06-17 11:12:44 +09:00
Mike Hardy
6ce278ddde Use more API levels in CI, move to sdkmanager/avdmanager 2018-06-16 13:45:01 +09:00
Mike Hardy
c4377db1e3 Allow Android Studio formatting settings in git as exception
code style itself was imported to Android Studio via Checkstyle plugin
using the file docs/code_conventions/eclipse/ankidroid.checkstyle.xml,
with the only alterations being to implement blank line rules from
/docs/code_conventions/AnkiDroid_code_conventions.html
2018-06-15 06:09:28 +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
c42f374428 Init mocks prior to using them to avoid NPEs, Fixes #4873 2018-06-14 07:32:45 +09:00
Mike Hardy
6157e125bd move templates to main .github folder to be single templates 2018-06-11 16:24:32 +09:00
Mike Hardy
10fe4a04ec gradle plugin to 3.1.3 to match Android Studio update 2018-06-11 08:37:49 +09:00
Mike Hardy
9a3b9d2795 google() is sufficient for deps, but it should be first 2018-06-11 08:37:49 +09:00
Mike Hardy
2c51ed0782 Add pull request template 2018-06-11 08:34:49 +09:00
Mike Hardy
60d2ec8e84 move issue template to current github recommended dir 2018-06-11 08:34:49 +09:00
Ryan Radford
22c2592123 Make first FieldEditText the initial focus when editing a note (#4817) 2018-06-10 12:23:13 +09:00
Mike Hardy
a42492795a Safely use HTML 5 for Java10; use google repos first (#4862) 2018-06-08 12:42:25 +09:00
Mike Hardy
7bfffab398 Add method verifying one path is inside another, with tests (#4860) 2018-05-31 22:27:03 +09:00
Timothy Rae
a1f22682c1 Fix inconsistent version number in API 2018-05-30 05:46:25 +09:00
Timothy Rae
64d68ef885 Remove html5 option from API build
This led to a build error
2018-05-30 05:45:51 +09:00
Mike Hardy
ef4993232d Update API to 1.1.0alpha6 (#4858) 2018-05-30 05:27:52 +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
d7c248ae30 Remove escaped % sign for AAPTv2, fixes #4801 (#4850) 2018-05-18 08:01:50 +09:00
Timothy Rae
ae82e19fb8 Updated strings from Crowdin 2018-05-17 06:00:02 +09:00
Mike Hardy
4898c8aff8 Use HTTPS to connect to Beolingus now, fixes #4789 (#4847) 2018-05-16 09:59:29 +09:00
Timothy Rae
9e14ad4bf8 Bumped version to 2.9alpha22
@branch-specific
2018-05-16 06:17:42 +09:00
Mike Hardy
016b4810a8 removing nook/safeDisplay compatability remnant from api<15 (#4846) 2018-05-16 06:12:45 +09:00
Mike Hardy
1f75ea7182 Remove nook safeDisplay workaround, nook is api 8 (#4844) 2018-05-15 09:53:18 +09:00
Austin Hasten
08b884fd0b Add gamepad support to Reviewer (#4842) 2018-05-14 09:28:48 +09:00
Ryan Radford
f4146efc5d added common shortcuts from Anki desktop (#4815)
Added keyboard shortcuts to NoteEditor and DeckPicker that didn't impact overall usability/UI flow.
2018-05-11 15:41:11 -05:00
Timothy Rae
fb1a5e898a Bumped version to 2.9alpha21
@branch-specific
2018-05-12 05:39:41 +09:00
Valentin Rublack
eb540c2fd3 Fixed issue where File.createNewFile() sometimes caused an IOException (#4783)
Fixed issue where File.createNewFile() caused an IOException for unknown reasons (maybe hardware-related) but works on retries. Fixed by retrying the operation a set number of times before it fails.
2018-05-10 23:55:34 -05:00
Timothy Rae
ce90674d2a Bumped version to 2.9alpha20
@branch-specific
2018-05-11 07:49:41 +09:00
Timothy Rae
d4b462fa92 Updated strings from Crowdin 2018-05-11 07:47:57 +09:00
Timothy Rae
01785c2ebf Fix apk location in build script
It's changed in the new gradle
2018-05-11 07:46:39 +09:00
Kieran Clancy
665df9d1e7 Use long type when intervals are handled in seconds (#4816) 2018-05-09 11:19:00 +09:00
Mike Hardy
50a4b54615 further refactoring compat up to minSdk 15 2018-05-09 11:00:03 +09:00