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

15431 Commits

Author SHA1 Message Date
Brayan Oliveira
eaa5ec0a42 refactor: Rename PieChartTest.java to .kt
com.wildplot.android.rendering.PieChartTest
2022-05-06 18:07:10 -05:00
Nishant Bhandari
7c004b65d3
Renamed files extension to .kt extension in string xmls (#11239) 2022-05-06 17:48:15 -05:00
David Allison
3e41664fdb refactor: Convert Previewer to Kotlin
com.ichi2.anki.Previewer
2022-05-06 17:47:05 -05:00
David Allison
30a197a957 refactor: Rename Previewer.java to .kt
com.ichi2.anki.Previewer
2022-05-06 17:47:05 -05:00
David Allison
cdf58eadb6 refactor: Convert MetaDB to Kotlin
com.ichi2.anki.MetaDB
2022-05-06 17:38:56 -05:00
David Allison
e89f5b3be7 refactor: Rename MetaDB.java to .kt
com.ichi2.anki.MetaDB
2022-05-06 17:38:56 -05:00
lukstbit
62c43a8b42 Migrate NoteUtils.java to Kotlin 2022-05-06 17:09:51 -05:00
lukstbit
6ec572a308 Rename NoteUtils.java to .kt 2022-05-06 17:09:51 -05:00
lukstbit
86ff822ee2 Migrate TemplateError.java to Kotlin 2022-05-06 17:02:32 -05:00
lukstbit
36641bbfae Rename TemplateError.java to .kt 2022-05-06 17:02:32 -05:00
DONG Tingzhen
5867506aba
long-click on tag allows you to add sub-tag (#11199) 2022-05-06 16:51:33 -05:00
Shridhar Goel
9ca1a7272b
Add 'Any' constraint for 'CTX' (#11188) 2022-05-06 16:42:12 -05:00
oyeraghib
3f76d071db [Kotlin Cleanup] GestureProcessorTest 2022-05-06 16:32:33 -05:00
oyeraghib
d3fcd6df84 [Kotlin Cleanup] PieChartParameterizedTest 2022-05-06 16:29:06 -05:00
Nishant
5d41b08fb9 Removed meta data elements from AndroidManifest.xml 2022-05-06 16:27:59 -05:00
David Allison
a5c496b8ec refactor: convert DuplicateTextInPreferencesXml to Kotlin
com.ichi2.anki.lint.rules.DuplicateTextInPreferencesXml

Moved the companion object to the top of the class to keep the diff clean
2022-05-06 16:20:43 -05:00
David Allison
214a79385f refactor: Rename DuplicateTextInPreferencesXml.java to .kt
com.ichi2.anki.lint.rules.DuplicateTextInPreferencesXml
2022-05-06 16:20:43 -05:00
Brayan Oliveira
1057f1dffb Fix CardTemplateBrowserAppearanceEditor title
It wasn't being set before, so it defaulted to system's language instead of AnkiDroid's
2022-05-06 16:18:31 -05:00
Elizalll
f55c119969
Add the 'Always Show' and 'Show if room' to "Set TTS language" (#10941) 2022-05-06 16:03:48 -05:00
SIDDHARTH
6d9a7ed870
DeckOverview screen Overflow menu icon changed #10868 error solved (#10906) 2022-05-06 16:02:10 -05:00
oyeraghib
af5c02214e [Kotlin Cleanup] DirectDateInstantiation 2022-05-06 18:36:04 +01:00
lukstbit
66681aa71e Update the material library dependency to 1.6.0 2022-05-06 11:13:10 -05:00
Brayan Oliveira
bbd6904f00 refactor: Convert PieChartParameterizedTest to Kotlin
com.wildplot.android.rendering.PieChartParameterizedTest
2022-05-03 23:34:24 -05:00
Brayan Oliveira
f71f3ae832 refactor: Rename PieChartParameterizedTest.java to .kt
com.wildplot.android.rendering.PieChartParameterizedTest
2022-05-03 23:34:24 -05:00
Prince kushwaha
d109eb503e Migrate StringUtilsTest.java to Kotlin 2022-05-03 23:24:26 -05:00
Prince kushwaha
2c7c0e905a Rename StringUtilsTest.java to StringUtilsTest.kt 2022-05-03 23:24:26 -05:00
Prince kushwaha
a582349586 Migrate TemplateTest.java to Kotlin 2022-05-03 22:07:19 -05:00
Prince kushwaha
9d690e922f Rename TemplateTest.java to TemplateTest.kt 2022-05-03 22:07:19 -05:00
Brayan Oliveira
78148b7fbd NF: Use same param names on NavigationDrawerActivity inheritors
This is necessary to kotlin migration of NavigationDrawerActivity
2022-05-03 21:18:05 -05:00
David Allison
a42802d7e1 refactor: Fix lint weak warnings
one remains: Format string '`studyoptions_congrats_undo`' is not a valid format string
so it should not be passed to `String.format`
2022-05-03 21:06:00 -05:00
David Allison
ca039c7c3e refactor: Fix lint warnings
Parameter was always false - turns out we could simplify the call
2022-05-03 21:06:00 -05:00
Yuvraj S Bhadauria
3d6d145605
Category heading on the toolbar of settings section 2022-05-03 20:58:02 -05:00
Brayan Oliveira
8f9f8c2261 Use JUnit5 on tests
1. Extract JUnit version to a constant, so all 3 testImplementations uses the same version
2. Add JUnitPlatform use to `build.gradle`
3. Fix imports to `kotlin.test.junit5.JUnit5Asserter`
4. Fix `AbstractFlashcardViewerTest.getSignalFromUrlTest`
- It is currently the only parameterized test that uses jupiter-params. It wasn't being discovered before, so it haven't raised any exception.
- Now that it's discovered, it needed to be fixed
2022-05-01 19:13:49 -05:00
Brayan Oliveira
2458c6ae63 Set title on SharedDecksActivity creation
Fixes the problem of using system's language instead of AnkiDroid's
2022-05-01 21:07:48 +01:00
oyeraghib
ac79fcd376 [Kotlin Cleanup] RustTest 2022-05-01 13:05:25 +01:00
oyeraghib
081b1f2b56 [Kotlin Migration] RustTest 2022-04-30 18:28:47 -05:00
oyeraghib
8617d260db Rename RustTest.java to RustTest.kt 2022-04-30 18:28:47 -05:00
Mike Hardy
f50aef7ec1 Bumped version to 2.16alpha63 2022-04-30 19:26:59 +00:00
AnkiDroid Translations
8630b14873 Updated strings from Crowdin 2022-04-30 14:03:02 -05:00
krmanik
4644d2416e enhance reschedule js api 2022-04-30 13:43:26 -05:00
krmanik
7c42493f14 reset progress 2022-04-30 13:43:26 -05:00
oyeraghib
5862bfad77 [Kotlin Cleanup] LanguageUtilsTest 2022-04-30 13:36:33 -05:00
oyeraghib
91ae67b7f9 [Kotlin Cleanup] MockContentResolver 2022-04-30 13:20:18 -05:00
oyeraghib
ce5b9e13b9 [Kotlin Cleanup] MissingImageHandlerTest 2022-04-30 13:09:26 -05:00
David Allison
424c7ddae8 refactor: convert DirectGregorianInstantiation to Kotlin
com.ichi2.anki.lint.rules.DirectGregorianInstantiation

Moved the companion object to the top of the class to keep the diff clean
2022-04-30 12:51:07 -05:00
David Allison
2ecbde9a45 refactor: Rename DirectGregorianInstantiation.java to .kt
com.ichi2.anki.lint.rules.DirectGregorianInstantiation
2022-04-30 12:51:07 -05:00
oyeraghib
ac39a3db4a [Kotlin Cleanup] DBTest 2022-04-30 12:25:56 -05:00
David Allison
f0ae612e89 refactor: convert DirectDateInstantiation to Kotlin
com.ichi2.anki.lint.rules.DirectDateInstantiation

Moved the companion object to the top of the class to keep the diff clean
2022-04-30 12:25:24 -05:00
David Allison
8a22c5f83b refactor: Rename DirectDateInstantiation.java to .kt
com.ichi2.anki.lint.rules.DirectDateInstantiation
2022-04-30 12:25:24 -05:00
oyeraghib
76cd977479 [Kotlin Cleanup] CardTemplateTest 2022-04-30 12:22:25 -05:00