0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00
AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
Go to file
David Allison 06e8ac2ef3 remove Kotlin's "Context Receiver" feature
Context Receivers are an experimental Kotlin feature
. They will be removed and replaced with Context Parameters.
It is unlikely that there will be any overlap period, so we need
to remove our Context Receiver code, with the intention of replacing it
at a later date

> * **2.0.20**: A warning is introduced for declarations that use
> context receivers.
> The warning should mention that the design of context receivers
> is about to change, according to the new design (add a link to the KEEP/YT).
> The safest workaround is to migrate your code to extensions.
>  * **2.1.20**: The implementation of context receivers is removed from the compiler.
> Effectively, this warning is turned into an error.
> Note that this part is most likely inevitable as the implementation
> of context parameters requires  quite extensive refactoring in the compiler,
> and there are significant chances that we won't have either
> context receivers or context parameters at that time.
>  [There is a slight chance that we'll have an early prototype of context parameters,
> but we are not counting on that.]
> * **2.2.0**: Context parameters are introduced under a new compiler flag.

https://youtrack.jetbrains.com/issue/KT-67119/Migration-warning-from-context-receivers-to-context-parameters

> **Phased removal of context receivers feature**
> In Kotlin 1.6.20, we introduced context receivers as an
> Experimental feature. After listening to community
> feedback, we've decided not to continue with it. Instead,
> we plan to introduce a replacement in future Kotlin
> releases: context parameters. You can find the proposal
> for context parameters in the KEEP.

https://kotlinlang.org/docs/whatsnew-eap.html#phased-removal-of-context-receivers-feature

Deprecated:
https://redirect.github.com/Kotlin/KEEP/blob/context-parameters/proposals/context-receivers.md
* https://redirect.github.com/Kotlin/KEEP/issues/259

To be replaced by:
https://redirect.github.com/Kotlin/KEEP/blob/context-parameters/proposals/context-parameters.md
* https://redirect.github.com/Kotlin/KEEP/issues/367

Fixes 16863

Reverts: 672b075a54
Reverts: 1c01e4cb6f
2024-08-14 22:40:48 +00:00
.github Change conflicts workflow to allow more PRs to be checked 2024-07-18 15:05:34 +00:00
.idea NF: add Sargam to usernames 2024-07-07 16:57:58 +00:00
AnkiDroid remove Kotlin's "Context Receiver" feature 2024-08-14 22:40:48 +00:00
annotations [Clean Up] annotations README.md (#15633) 2024-02-29 18:01:46 +00:00
api Remove wildcard from imports 2024-07-17 09:16:28 +00:00
common Change source/kotlin compatibility in common module to Java 11 2024-06-20 13:23:24 +00:00
docs Updated strings from Crowdin 2024-07-30 12:31:06 +00:00
gradle docs: dependencies - changelogs (Apache Commons) 2024-08-09 17:10:08 +00:00
lint-rules Remove wildcard from imports 2024-07-17 09:16:28 +00:00
testlib Remove wildcard from imports 2024-07-17 09:16:28 +00:00
tools NF: delete tools/crashes-data-mining 2024-07-07 18:02:14 +00:00
.codecov.yml ci: stop codecov from failing CI 2022-08-29 09:22:33 -05:00
.editorconfig Prevent CRLF line endings 2024-07-23 09:54:01 +00:00
.git-blame-ignore-revs Adding commit of wildcards removal in ignore-revs 2024-07-18 13:18:01 +00:00
.gitattributes Prevent CRLF line endings 2024-07-23 09:54:01 +00:00
.gitignore chore: ignore Kotlin 2 .salive files 2024-06-19 14:22:01 +00:00
.prettierignore fix(prettier): Ignore 'build' folder 2022-03-16 11:48:12 +05:30
.prettierrc Change .prettierrc endOfLine to auto 2022-03-17 11:01:04 -05:00
build.gradle.kts remove Kotlin's "Context Receiver" feature 2024-08-14 22:40:48 +00:00
CONTRIBUTING.md Created CONTRIBUTING.md (#8222) 2021-03-15 07:53:28 -05:00
COPYING Add readme and license file back after accidentally deleting 2014-11-10 02:23:41 +09:00
gradle.properties Dependency updates 20230630 (#14058) 2023-07-01 10:09:10 -05:00
gradlew Dependency updates 20240718 (#16755) 2024-07-18 17:57:13 -05:00
gradlew.bat Dependency updates 20240718 (#16755) 2024-07-18 17:57:13 -05:00
jitpack.yml Replace CRLF with LF 2024-07-23 09:54:01 +00:00
lint-release.xml fix: "MissingDefaultResource" lint: iw 2024-07-19 15:38:08 -03:00
lint.gradle chore(lint): cleanup CI output on failure 2023-11-30 20:40:45 -05:00
pre-commit Fix prettier throwing errors (#12895) 2022-11-29 19:30:07 -05:00
README.md Add alt text to images 2024-04-04 14:16:15 +00:00
settings.gradle.kts Remove "app.brant.amazonappstorepublisher" plugin 2024-07-19 06:18:30 -05:00

release build Open Collective backers and sponsors commit-activity forks stars contributors license

AnkiDroid

A semi-official port of the open source Anki spaced repetition flashcard system to Android. Memorize anything with AnkiDroid!

Features

  • Night mode
  • Whiteboard
  • Progress widget
  • Detailed statistics
  • Syncing with AnkiWeb
  • Write answers (optional)
  • Text-to-speech integration
  • More than 6000 premade decks
  • Spaced repetition (supermemo 2 algorithm)
  • Supported contents: text, images, sounds, MathJax
  • Add cards by intent from other applications like dictionaries

Install

Wiki

View Wiki

Help

Check the user manual and the wiki for usage instructions. See the help page for how to submit a bug report or contact a project member, etc.

Contribute

You can contribute to AnkiDroid by beta testing, translating, or submitting code. See the contribution wiki page for more info.

Join Us On

Credits

Code Contributors

Thanks to these awesome code contributors who keep this project going

Sponsors

AnkiDroid Sponsors

Backers

A big thank you to each of our backers 🙏

Your generous donations mean the world to us, and we can't express our gratitude enough. Your support fuels our mission and helps us make a real difference

Donate to AnkiDroid

Translators

Thanks to our 1400 translators, for allowing us to be available, partially or totally, in 99 languages as of July 2022.

License