mirror of
https://github.com/ankitects/anki.git
synced 2025-12-02 01:17:10 -05:00
* Fix steps being mistaken for seconds * Cap steps at `u32::max` seconds * Fix overflow of steps in Rust * Prevent overflow of `IntervalKind` * Prevent overflow in `revlod/mod.rs` Also replace some `as` with `from` and `try_from` as is recommended to highlight potential issues. * Ensure v2 doesn't store overflowing revlog ivls * Lower steps cap in deck options Whereas large card intervals are converted to days, revlog intervals use i32s to store large numbers of seconds. * Format |
||
|---|---|---|
| .. | ||
| filtered.rs | ||
| fuzz.rs | ||
| interval_kind.rs | ||
| learning.rs | ||
| mod.rs | ||
| new.rs | ||
| normal.rs | ||
| preview_filter.rs | ||
| relearning.rs | ||
| rescheduling_filter.rs | ||
| review.rs | ||
| steps.rs | ||