Anki/rslib/src
RumovZ b0890b0e47 Manually namespace enum variants in SearchTerm
In protobuf "...enum values use C++ scoping rules, meaning that
enum values are siblings of their type, not children of it.
Therefore, [an enum variant] must be unique within [a message],
not just within [the enum.]"
So we must prefix enum variants with their enum's name, but can
also call them directly from the message namespace.
The protobuf crate is smart, though, and strips the prefixes.

(Simultaneously change some SearchTerm variant names.)
2021-01-30 17:56:29 +01:00
..
backend Manually namespace enum variants in SearchTerm 2021-01-30 17:56:29 +01:00
deckconf update schema to fix default initial ease in deck configs 2020-09-22 08:16:39 +10:00
decks handle decks/notetypes with a duplicate name being sent in a sync 2021-01-23 12:59:24 +10:00
media fix some comments in wrong position after format 2021-01-09 14:26:51 +10:00
notetype handle missing deck ID in templates 2021-01-25 16:47:23 +10:00
sched tidy up UTC offset handling/timing calculations 2021-01-12 21:32:56 +10:00
search Fix nid search test 2021-01-28 16:29:34 +01:00
stats Add FutureDueShowBacklog as preferences 2021-01-27 01:15:19 +01:00
storage Add comment explaining why sfld column has type integer 2021-01-25 18:39:59 +08:00
sync coerce some more invalid decimal values to ints during sync 2021-01-25 09:43:50 +10:00
backend_proto.rs initial Bazel conversion 2020-11-01 14:26:58 +10:00
card.rs fix reposition not being applied in browser sort order 2020-12-16 10:58:46 +10:00
cloze.rs handle multiple clozes in cloze-only filter 2020-07-29 12:54:29 +10:00
collection.rs allow normal sync tests to run offline 2021-01-12 18:47:08 +10:00
config.rs Add FutureDueShowBacklog as preferences 2021-01-27 01:15:19 +01:00
dbcheck.rs simplify unused tags and DB check 2021-01-16 20:38:16 +10:00
err.rs suggest DB check if HTTP status 400 is returned 2021-01-27 14:23:28 +10:00
filtered.rs fix filtered decks not honoring sort order 2020-12-09 22:50:49 +10:00
findreplace.rs fix some clippy lints 2020-08-26 19:02:56 +10:00
fluent_proto.rs initial Bazel conversion 2020-11-01 14:26:58 +10:00
i18n.rs plural rules and decimal separator should use bundle's language 2020-12-14 14:23:49 +10:00
latex.rs Add Alt text to latex image 2020-12-30 18:00:06 +01:00
lib.rs initial Bazel conversion 2020-11-01 14:26:58 +10:00
log.rs skip terminal logging unless LOGTERM defined 2020-04-07 10:25:47 +10:00
notes.rs Hierarchical tags 2021-01-09 17:10:13 +03:00
preferences.rs tidy up UTC offset handling/timing calculations 2021-01-12 21:32:56 +10:00
prelude.rs handle notes with invalid utf8 2020-11-06 10:21:51 +10:00
revlog.rs log manual reschedule, but ignore the log entry in the stats 2020-09-02 17:56:23 +10:00
serde.rs handle missing deck ID in templates 2021-01-25 16:47:23 +10:00
tags.rs have register_tag mutate the tag if it changes it, instead of copying 2021-01-19 12:37:51 +10:00
template.rs fix new Clippy lints 2020-11-25 09:12:19 +10:00
template_filters.rs add cloze-only filter 2020-07-21 12:59:28 +10:00
text.rs Merge branch 'master' of https://github.com/ankitects/anki into tagtree 2021-01-12 23:31:58 +03:00
timestamp.rs tidy up UTC offset handling/timing calculations 2021-01-12 21:32:56 +10:00
types.rs add note/card removal to backend 2020-06-04 18:21:04 +10:00
undo.rs move unbury/unsuspend routines into backend 2020-09-01 10:24:38 +10:00
version.rs don't pass BUILDINFO into build script 2020-12-21 16:04:29 +10:00