aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2019-04-19added a manpage and finalized READMERobin Haberkorn1-2/+6
2019-04-19make check: test page generation for all words; various fixesRobin Haberkorn1-0/+8
* using the new `make check` target various bugs have been discovered. All of them were related to missing database fields.
2019-04-18major changes (unfortunately not done systematically)Robin Haberkorn1-6/+10
* keep the openrussian-sql.zip to avoid bitrot (sudden breakage when building the project against a recent DB) * allow lookups against inflections. A special table `bare_inflections` was added to the DB in order to speed this up. * authentic autocompletions taking every parameter into account, using a magic `-C` parameter * language selection via locale or -L<lang> * translation lookup * allow multiple search terms on the command line without escaping * all SQL strings are properly escaped now to avoid (accidental) code insertion * luautf8 is mandatory now and used much more, which is safer than handling Unicode strings with the builtin functions * ignore "disable" database entries * added option -V (verbatim) * more protections against empty fields * print "DERIVED FROM", "AUDIO", "USAGE" and various word relation sections * print word ranking and level (A1-C2...)
2019-03-15added Makefile and simple Bash completionsRobin Haberkorn1-0/+36
* this allows precompiling openrussian.lua, automatically downloads, converts and VACUUMs the openrussian database and provides an `install` target * Bash completions allow completing "bare" Russian words for the time being. Unfortunately we cannot complete with accents, since Bash completions do not allow to change the already typed word (apparently) and users aren't going to type in accents.