Commit Graph

3021 Commits

Author SHA1 Message Date
bjorn e1584715cc First version of ajax / fastcgi interface with completion. 2008-08-19 12:29:31 +00:00
bjorn bd977e7587 Remove src/server/grammar.pgf from the repo, use 'make food' if you want it. 2008-08-19 08:14:22 +00:00
bjorn d33fe739a7 Added parse and linearize functions to the fastcgi server. Some refactoring. 2008-08-19 08:13:51 +00:00
bjorn bc3281d5e7 Fix order in the cncnames list in unionPGF. It was made in reverse. 2008-08-19 07:40:45 +00:00
bjorn 55603b78f6 Ajax: use onsubmit instead of onclick, to catch Firefox auto-submit-on-enter. 2008-08-18 20:56:30 +00:00
bjorn c102ab157a Ajax translator: copied iPhone viewport stuff from Aarne's JS translator, untested. 2008-08-18 20:28:22 +00:00
bjorn 972d7e4058 AJAX translator: update translation when the from or to language is changed. 2008-08-18 20:26:52 +00:00
bjorn 401d1cd7d1 Some peacekeeping clean-up, still far from compiling. 2008-08-18 20:22:25 +00:00
bjorn 256ab54807 Include all languages in the demo pgf for the fastcgi server. 2008-08-18 20:21:02 +00:00
bjorn c6c9028022 Sort languages in fastcgi /languages output. 2008-08-18 20:20:32 +00:00
bjorn dc1db399f6 When producing PGF, do UTF-8 encoding of the whole file after pretty printing instead of walking through the PGF structure before pretty-printing.
The old code was brittle, and only converted strings in the lins and opers, not in printnames and parsers. The old code also double encoded some grammars when using gfc to combine PGF files.
2008-08-18 12:34:56 +00:00
bjorn 255b5488f4 Updated AJAX translator to make use of canParse and the fixed parseAllLangs. 2008-08-18 09:38:21 +00:00
bjorn 7007a875e3 Added canParse function to the PGF API. Make parseAllLang and parseAll skip languages which don't have parsers, instead of always throwing exceptions when some language is missing a parser. 2008-08-18 09:26:24 +00:00
bjorn 3a21fcd4ba Added languageCode function to the PGF API. 2008-08-18 09:25:43 +00:00
bjorn d22474ea8d Updated resource grammar fle list in GF.cabal 2008-08-18 08:47:39 +00:00
bjorn f28dc5ac16 gfc can now combine PGF files. 2008-08-15 21:10:54 +00:00
bjorn 137133b742 Added peacekeeping example back in. Doesn't compile yet. 2008-08-15 20:21:12 +00:00
aarne 66c927937a bronzeage grammar restored except for three ones with issues ; arabic transliteration added 2008-08-16 18:55:28 +00:00
aarne ddbeff3028 improved error message in pgf compilation to help debugging 2008-08-16 12:27:59 +00:00
bjorn 22c434a39b Added Makefile for fastcgi server. 2008-08-15 20:33:04 +00:00
bjorn 5bdfedcedf Qualify PGF import in fastcgi server, to avoid hiding Language, which breaks with older cgi versions. 2008-08-15 20:31:23 +00:00
aarne 38cdd44001 numerals demo on the web 2008-08-15 15:28:09 +00:00
aarne ba78322409 examples of morphological synthesis/analysis as top-level grammars 2008-08-15 12:41:04 +00:00
bjorn 0475ef3414 Added a basic stylesheet for the js and ajax translators. 2008-08-15 11:46:36 +00:00
bjorn 7a2268d9d5 JS translator: fixed typo, before a ul was produced instead of an li 2008-08-15 11:28:41 +00:00
bjorn 08fae303df First working version of the AJAX translation client. 2008-08-15 11:14:13 +00:00
aarne 0ce04f1a6e forgiving names in concrete that are not in abstract, with a warning (no warning guaranteed if this is because restricted inheritance) 2008-08-14 20:25:52 +00:00
bjorn bf7ec18141 Started working on an AJAX client for the fastcgi server. 2008-08-14 15:56:52 +00:00
bjorn 094150fde1 Added /cats and /langs to fastcgi server. 2008-08-14 15:56:38 +00:00
bjorn b2e7b6f89d Better error handlig in the GF FastCGi server. 2008-08-14 12:08:38 +00:00
bjorn a7aa8fb981 Added first version of the GF FastCGI server. 2008-08-14 09:06:26 +00:00
bjorn 77270a010a Remove the grammars directory. It was full of old grammars that don't compile these days. See the old source distributions if you want them. 2008-08-14 07:58:04 +00:00
bjorn 0bbb906141 Remove src/module-structure.txt, it's about the restructuring in GF 2.2. 2008-08-14 07:14:22 +00:00
bjorn 6619326df0 Include concrete syntax flags in generated JS. 2008-08-13 12:08:11 +00:00
bringert ff39552e41 gfc command now looks for gf executable in the same directory 2008-08-12 14:11:17 +00:00
aarne a9893f4572 ported numerals to GF3 and encoded in UTF8; some problematic ones in todo 2008-08-04 18:26:48 +00:00
aarne a401820e37 corrected links in index 2008-08-04 18:17:41 +00:00
krasimir 776ba32373 change the path from resource-1.4 to resource in cabal 2008-06-28 08:41:48 +00:00
aarne e625f93153 new tramdemo link 2008-06-27 18:31:38 +00:00
bjorn d6f2d6d170 Don't build lib twice in make binary-dist. 2008-06-27 18:16:46 +00:00
bjorn c10ce9ccf0 Build gfdoc in binary-dist, since the tarball includes it. 2008-06-27 18:15:27 +00:00
bjorn 5f6691dac3 Set charset to utf-8 when printing html code. This is needed to get Safari to display resdemo.html correctly. 2008-06-27 18:14:19 +00:00
bjorn a6e7b8d2a3 Drop java-related stuff from Makefile.binary. 2008-06-27 18:02:54 +00:00
bjorn 0dde13ed6f Changed version number in configure.ac. 2008-06-27 18:02:05 +00:00
aarne f6621af538 final adjustments in doc 2008-06-27 17:54:04 +00:00
aarne 65b6780384 finishing doc 2008-06-27 17:50:46 +00:00
aarne 00e2740039 updated readme and install 2008-06-27 17:34:17 +00:00
aarne f6b10c5214 rm obsolete download file 2008-06-27 17:11:54 +00:00
aarne 75abc89350 tiger binary 2008-06-27 17:10:44 +00:00
aarne 9aa2eb23d1 file names in download index 2008-06-27 16:54:21 +00:00