mirror of
https://github.com/ankitects/anki.git
synced 2025-11-20 11:37:12 -05:00
- use dataclasses for the review/checkpoint undo cases, instead of the nasty ad-hoc list structure - expose backend review undo to Python, and hook it into GUI - redo is not currently exposed on the GUI, and the backend can only cope with reviews done by the new scheduler at the moment - the initial undo prototype code was bumping mtime/usn on undo, but that was not ideal, as it was breaking the queue handling which expected the mtime to match. The original rationale for bumping mtime/usn was to avoid problems with syncing, but various operations like removing a revlog can't be synced anyway - so we just need to ensure we clear the undo queue prior to syncing |
||
|---|---|---|
| .. | ||
| .cargo | ||
| build | ||
| cargo | ||
| src | ||
| templates | ||
| tests/support | ||
| .clang-format | ||
| .gitignore | ||
| backend.proto | ||
| BUILD.bazel | ||
| Cargo.toml | ||
| clang_format.bzl | ||
| proto_format.py | ||
| README.md | ||
| rustfmt.bzl | ||
Anki's Rust code.
backend.proto stores the interfaces used to communicate backend messages between Rust, Python and TypeScript.