https://git.dkl9.net/memoire/tree/215be5cbcff31f12dab6b0797008425443660099Recent commits to memoire (215be5cbcff31f12dab6b0797008425443660099)2023-07-05T07:02:40-04:00tag:gitlist.org,2012:commit/215be5cbcff31f12dab6b0797008425443660099Add LICENSE (GNU AGPL)2023-07-05T07:02:40-04:00dkl9contact@dkl9.net
<pre></pre>
tag:gitlist.org,2012:commit/44e11a9be653c920f6b7afd548024c6bcd2fe700Add "seq" card type2023-06-29T17:42:36-04:00John Smith
<pre>The `CardType` field of a card can now have value "seq" (rather than
just "bmc" as in b39812d), indicating that each double-semicolon (`;;`)
in the `BaseNote` indicates a point at which to split the text, which
is to be memorised in sequential steps. The text before the first `;;`
is presented in any case as a prompt.
The "a" option (addcards.lua) still produces `bmc` cards. Making a `seq`
card requires a lot of manual effort for now.
</pre>
tag:gitlist.org,2012:commit/3b46e0b1091f255c7424e7a96e127db8d5957c7fOptimise recrw.write2023-06-28T12:30:42-04:00John Smith
<pre>By replacing a frequently-executed line's string.format with direct
string concatenation, this makes recrw.write faster -- about 30% less
execution time, in my tests.
</pre>
tag:gitlist.org,2012:commit/0d0e5dd2dc73c4eea38de7a9637db753c903a8bdFix bug in b39812d2023-06-27T12:53:53-04:00John Smith
<pre></pre>
tag:gitlist.org,2012:commit/10b7415f351417d5458a6f295e3d9c3ec9bf2695Remove braces in Prompt:text() for bmc2023-06-27T12:43:56-04:00John Smith
<pre></pre>
tag:gitlist.org,2012:commit/5b98914ac0298f213c6ae5bdc82995b6f9f48697Remove dead functions from src/prompt.lua2023-06-27T12:38:37-04:00John Smith
<pre></pre>
tag:gitlist.org,2012:commit/b39812d507623ef857d335fc2739c39a930cc3b6Reformulate data structures2023-06-27T12:35:37-04:00John Smith
<pre>To make the code make more sense and be more extensible for potential
future card formats, this replaces the list-of-lists-of-prompts
data model with a list-of-cards model, where each card has an associated
list of prompts. This involved many changes to the code internals
and some changes to the Recfile deck format, but there should be no
significant changes for the end user.
</pre>
tag:gitlist.org,2012:commit/f6c920b1beceb4911647720fd05424d3861ef73aAbbreviate vocal review "hard, good, easy?" to "rating?"2023-06-18T08:55:16-04:00John Smith
<pre></pre>
tag:gitlist.org,2012:commit/318c4dfc14dda51205ffb3dedc8775e311de1d7dClean up iv window title2023-06-11T12:47:58-04:00John Smith
<pre>The title given to iv when displaying an image from a card is no longer
cluttered by terminal-specific control characters.
</pre>
tag:gitlist.org,2012:commit/2f32b5cbe56e5c2a30b0f11a5c3377db7d348fb5Pause between context and prompt2023-06-11T12:43:07-04:00John Smith
<pre>If the BoldContext option is set and a card has a context indicator
at the start, in addition to displaying the context in bold,
the rest of the card will be displayed only after a 0.3-second delay,
forcing the user to distinctly notice the context. This fixes my common
failure mode of giving the wrong answer to a prompt just sith I didn't
actually look at the context and assumed it asked for something
different.
</pre>