aboutsummaryrefslogtreecommitdiff
path: root/src/cgi-bin/conj.scm4
AgeCommit message (Collapse)AuthorFiles
2015-01-10Switch to guile-www-2.38Sergey Poznyakoff1
* am/guile.m4: Remove. * Makefile.am (install-html): Fix generation of symlinks * configure.ac: Fall back to info prefix, if guile-config info bindir returns empty string. * data/db.struct: Minor change * data/pl/Makefile.am: Add missing silent rule markers * data/ru/Makefile.am: Likewise. * scm/dictrans.scm: Call setlocale. * scm/neatrans.scm: Likewise. * scm/verbop.scm: Likewise. * src/cgi-bin/conj.scm4: Call setlocale. Use cgi:value-u8 instead of cgi:value-u8. * src/cgi-bin/dict.scm4: Likewise. * src/cgi-bin/nea.scm4: Likewise. * src/ellinika/cgi.scm4 (cgi-script-name) (cgi-server-hostname,cgi-server-protocol-name) (cgi-server-protocol-version): Define in CGI mode. (cgi:value-u8): New public function. * src/ellinika/i18n.scm: Conditionally use syncase.
2011-07-03Add conjugations samples.Sergey Poznyakoff1
2011-06-21Accept multiple suffixes.Sergey Poznyakoff1
* data/irregular-verbs.xml: Update. * scm/verbop.scm: Allow for multiple suffixes. * src/ellinika/conjugator.scm: Accept multiple suffixes. Fix accent settings. * src/cgi-bin/conj.scm4: Minor changes.
2011-06-20Minor stylistic change: use "stem" for \thema rhmatos.Sergey Poznyakoff1
2011-06-20Allow for alternative stems in a same tense.Sergey Poznyakoff1
* data/irregular-verbs.xml: Add alternative passive aorist stem for "lev". * scm/verbop.scm (conjugation-set): When setting #:root, keep a list of alternative stems. (flush-mood): Update for changes in #:root storage. * src/cgi-bin/conj.scm4 (show-best-matches): If only one match is produced, show it immediately. * src/ellinika/conjugator.scm: Allow for multiple stems. * src/ellinika/sql.scm (->string): Bugfix.
2011-06-20Improve coupling between dict and conj.Sergey Poznyakoff1
* po/pl.po: Update * src/cgi-bin/conj.scm4: Use cgi-program-name to generate references to dict. * src/cgi-bin/dict.scm4: Add a reference to conjugator (for verbs). * src/ellinika/Makefile.am: Define SCRIP_SUFFIX * src/ellinika/cgi.scm4 (cgi-program-name): New function. * style.css: Update.
2011-06-18conj.cgi: Further improvements.Sergey Poznyakoff1
* data/pl/0.xml: Update. * src/cgi-bin/Makefile.am (dict.m4): Define SCRIPT_SUFFIX * src/cgi-bin/conj.scm4 (class-attested?): New function. (show-conjugation): Print a translation, if available. Provide a link to dict.cgi. If conjugation class is not attested, issue a prominent warning. * style.css (div.unattested): New class.
2011-06-18Improve conj.Sergey Poznyakoff1
* data/dbverb.struct: Use utf8_bin collation for the `verb' column in all tables. * data/irregular-verbs.xml: Update. * po/POTFILES.in: Add conj.scm4. * po/pl.po: Update. * src/cgi-bin/conj.scm4: Try to fix some common input errors. Look up the verb in the dictionary. If there are no tones in the input word, look it up in the dictionary using the "soundslike" method. * style.css: Add h2.verb class.
2011-06-18Minor changes.Sergey Poznyakoff1
* src/cgi-bin/conj.scm: Fix a typo. * style.css: Add content-inner class. Limit width of the text. (li span.active): New class. * xml/pl/ellinika.xml: Require at least commit 149 of lingua. * xml/uk/ellinika.xml: Likewise. * xml/ru/ellinika.xml: Likewise.
2011-06-16Various improvements.Sergey Poznyakoff1
* src/cgi-bin/conj.scm4: Expect argument names in lower case. * src/cgi-bin/dict.scm4: Likewise. * src/cgi-bin/nea.scm4: Likewise. * src/ellinika/cgi.scm4: Likewise. * xml/lingua.conf.in: Pass lang argument to CGIs in lower case. * xml/pl/ellinika.xml: Add PREREQ LINGUA attribute. * xml/ru/ellinika.xml: Likewise. * xml/uk/ellinika.xml: Likewise. * .htaccess: Downcase CGI argument names.
2011-06-15Remove unnecessary debugging output.Sergey Poznyakoff1
2011-06-15Minor changesSergey Poznyakoff1
* src/cgi-bin/conj.scm4: Mark unattested stems and verb classes. * src/ellinika/conjugator.scm (conjugate): Fix empty conjugation return. * xml/pl/rhmata.xml: Update.
2011-06-15Improve error handling in conj.Sergey Poznyakoff1
* src/cgi-bin/conj.scm4: Add error handling. * src/ellinika/conjugator.scm: Throw 'conjugator-error instead of calling (error). * src/ellinika/elmorph.c: Use ~A in error messages when referring to elstrs. Guile's ~S sucks on UTF-8. * src/ellinika/utf8scm.c: Likewise. * style.css (.error): Output in red.
2011-06-15Improve template file names (requires Xmltoos commit 144).Sergey Poznyakoff1
* src/cgi-bin/conj.scm4: Use unnumbered template file name. * xml/pl/rhmata.xml: Use unnumbered mode for conj.cgi
2011-06-15Minor change in conj.Sergey Poznyakoff1
* src/cgi-bin/conj.scm4: Use ellinika:translate-kbd * src/ellinika/tests/xlat-kbd.scm: New file.
2011-06-15Implement web conjugator.Sergey Poznyakoff1
* src/cgi-bin/.gitignore: Update. * src/cgi-bin/Makefile.am: Build conj,cgi * src/cgi-bin/conj.scm4: New file. * src/cgi-bin/dict.scm4 (protect): Move to cgi.scm, function cgi-protect-quotes. All uses updated. * src/ellinika/cgi.scm4 (cgi-protect-quotes): New function. * src/ellinika/Makefile.am (guile_DATA): Add conjugator.scm * src/ellinika/conjugator.scm: Minor fixes. * src/ellinika/sql.scm (->string): Fix typo. * src/ellinika/tenses.scm (ellinika-conjugation-term-transtab): New var. (ellinika-conjugation-term): New function. * src/ellinika/test-conjugation.scm: Use ellinika-conjugation-term instead of (term). * xml/lingua.conf.in (install-conj): New macro. * xml/pl/ellinika.xml (GUILE): Call install-conj. * xml/pl/rhmata.xml: Define conjugator template page.

Return to:

Send suggestions and report system problems to the System administrator.