https://git.dkl9.net/memoire/tree/d1e6e70a7b334d547960272010a590cb80e539ca Recent commits to memoire (d1e6e70a7b334d547960272010a590cb80e539ca) 2022-01-01T21:26:59-05:00 tag:gitlist.org,2012:commit/d1e6e70a7b334d547960272010a590cb80e539ca Split prompts-for-review enumeration out from `main.lua` 2022-01-01T21:26:59-05:00 John Smith <pre>`main.lua`'s algorithm to construct a shuffled list of prompts to review has been moved into `review.lua`. &lt;/pre&gt; tag:gitlist.org,2012:commit/0886a7a082eb1912574f580042894a0b27f5e58f Fix bug in %-escape bugfix 2021-12-24T13:03:06-05:00 John Smith <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/4d8e6bf445a35b3270d611f7914bd56faad5f41b Fix error with percent signs (%) in answer text 2021-12-24T12:38:04-05:00 John Smith <pre>Lua's `str:gsub(pattern, repl)` interprets `%` as a sort of escape character in `repl`, so the presence of a `%` in answer text would cause an error or undefined behaviour. &lt;/pre&gt; tag:gitlist.org,2012:commit/4ceac060a85e2bd1125df7704ea7dab72c6ac834 Fix breaking typo in `prompt.lua` 2021-12-24T12:33:22-05:00 John Smith <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/c21b9ac91646db187d5cd7a16b298a1fb2d3a2cf Add `Created` field to card records 2021-12-24T12:24:35-05:00 John Smith <pre>Each record in Memoire's Rec serialisation, representing a card (set of prompts), may now have a `Created` field -- the timestamp of the card's creation. The `Created` value is only read and written for new records or records that have it, so this should be backwards-compatible. &lt;/pre&gt; tag:gitlist.org,2012:commit/d1285d11b12db8b8ff7ca1b6f078c5d87982bdc6 Shuffle prompts when reviewing 2021-12-22T23:09:26-05:00 John Smith <pre>Before this, prompts from the same card that all needed review would be reviewed right after each other, tempting the user to remember parts of the card in working memory, rather than recalling from long-term memory. &lt;/pre&gt; tag:gitlist.org,2012:commit/15dbfadea6ecd027223b2efd3efff91b8cc3b9b7 Allow user to limit prompts reviewed per session 2021-12-22T22:57:54-05:00 John Smith <pre>Whenever a review session starts, the user is prompted for a number of prompts to review, which limits the scale of the review. &lt;/pre&gt; tag:gitlist.org,2012:commit/ee7e35344eeb68bef3d22136fc10c30e5b03aa3c Allow user to select repository file 2021-12-22T22:15:38-05:00 John Smith <pre>Whilst a hardcoded default remains, the second command-line argument is now read as a repository path. Errors in loading decks are now handled with error messages. &lt;/pre&gt; tag:gitlist.org,2012:commit/fa19e88352219b7de39ef9772eb15adaa65a9180 Update and "lock" `example.rec` 2021-12-20T21:26:02-05:00 John Smith <pre>I had added (not tracked in Git) many personal cards to `example.rec`; `example.rec` will now contain only a small set of examples; my personal deck will be in another file. &lt;/pre&gt; tag:gitlist.org,2012:commit/b75c890b561bba26775f1980cdd7246a0a32266e Split Recfile reading/writing out from `main.lua` 2021-12-16T21:53:44-05:00 John Smith <pre>`main.lua`'s `loaddeck` and `savedeck` functions have been moved out into `loader.lua`. &lt;/pre&gt;