Commit Graph

1455 Commits

Author SHA1 Message Date
aarne
b962c3a0d3 alternative prtType to help debugging overload resolution errors 2008-08-20 06:44:58 +00:00
bjorn
5477222a4d tweak ajax client html 2008-08-19 12:40:17 +00:00
bjorn
c43e5bf979 First version of ajax / fastcgi interface with completion. 2008-08-19 12:29:31 +00:00
bjorn
07e0449132 Remove src/server/grammar.pgf from the repo, use 'make food' if you want it. 2008-08-19 08:14:22 +00:00
bjorn
9f9bb2d5b7 Added parse and linearize functions to the fastcgi server. Some refactoring. 2008-08-19 08:13:51 +00:00
bjorn
6d0cdf3cda Fix order in the cncnames list in unionPGF. It was made in reverse. 2008-08-19 07:40:45 +00:00
bjorn
6856723e48 Ajax: use onsubmit instead of onclick, to catch Firefox auto-submit-on-enter. 2008-08-18 20:56:30 +00:00
bjorn
8767009f7e Ajax translator: copied iPhone viewport stuff from Aarne's JS translator, untested. 2008-08-18 20:28:22 +00:00
bjorn
33b71088ec AJAX translator: update translation when the from or to language is changed. 2008-08-18 20:26:52 +00:00
bjorn
018b8e2f0d Include all languages in the demo pgf for the fastcgi server. 2008-08-18 20:21:02 +00:00
bjorn
ca667318cf Sort languages in fastcgi /languages output. 2008-08-18 20:20:32 +00:00
bjorn
4925580877 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
ae90af3211 Updated AJAX translator to make use of canParse and the fixed parseAllLangs. 2008-08-18 09:38:21 +00:00
bjorn
78cd216243 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
5e1836d4f9 Added languageCode function to the PGF API. 2008-08-18 09:25:43 +00:00
bjorn
95cdaaf4c4 gfc can now combine PGF files. 2008-08-15 21:10:54 +00:00
aarne
65a25ad181 bronzeage grammar restored except for three ones with issues ; arabic transliteration added 2008-08-16 18:55:28 +00:00
aarne
20fe8a8c20 improved error message in pgf compilation to help debugging 2008-08-16 12:27:59 +00:00
bjorn
e2f5add011 Added Makefile for fastcgi server. 2008-08-15 20:33:04 +00:00
bjorn
e121f8f4cf Qualify PGF import in fastcgi server, to avoid hiding Language, which breaks with older cgi versions. 2008-08-15 20:31:23 +00:00
bjorn
c00007c49e Added a basic stylesheet for the js and ajax translators. 2008-08-15 11:46:36 +00:00
bjorn
310d7cc63a JS translator: fixed typo, before a ul was produced instead of an li 2008-08-15 11:28:41 +00:00
bjorn
a4bc886a31 First working version of the AJAX translation client. 2008-08-15 11:14:13 +00:00
aarne
1302960992 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
b8de42f050 Started working on an AJAX client for the fastcgi server. 2008-08-14 15:56:52 +00:00
bjorn
f29fac369e Added /cats and /langs to fastcgi server. 2008-08-14 15:56:38 +00:00
bjorn
4792a92eb5 Better error handlig in the GF FastCGi server. 2008-08-14 12:08:38 +00:00
bjorn
38d37c4149 Added first version of the GF FastCGI server. 2008-08-14 09:06:26 +00:00
bjorn
a709c654d1 Remove src/module-structure.txt, it's about the restructuring in GF 2.2. 2008-08-14 07:14:22 +00:00
bjorn
b296099441 Include concrete syntax flags in generated JS. 2008-08-13 12:08:11 +00:00
bringert
d5a7595e7f gfc command now looks for gf executable in the same directory 2008-08-12 14:11:17 +00:00
bjorn
ff80576666 Don't build lib twice in make binary-dist. 2008-06-27 18:16:46 +00:00
bjorn
99762c4bbc Build gfdoc in binary-dist, since the tarball includes it. 2008-06-27 18:15:27 +00:00
bjorn
428d92eac0 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
7d9a48788d Drop java-related stuff from Makefile.binary. 2008-06-27 18:02:54 +00:00
bjorn
c1c125d1b1 Changed version number in configure.ac. 2008-06-27 18:02:05 +00:00
aarne
a2dbdb0163 updated readme and install 2008-06-27 17:34:17 +00:00
aarne
070d198e7e added api/Combinators for Eng 2008-06-27 16:48:28 +00:00
krasimir
bff0a96b0b the shell now supports cp1251 coding with se command. works with the word completion as well 2008-06-27 10:33:46 +00:00
aarne
ae83ab19ed version-related changes in Makefile and help 2008-06-27 09:09:29 +00:00
aarne
ba6407cacd interrupt in proper place in GFI 2008-06-27 06:50:50 +00:00
aarne
334394f3ea debugging arabic 2008-06-26 21:40:21 +00:00
aarne
d1a491653c removed Transfer interpreter 2008-06-26 21:05:50 +00:00
aarne
4a9bc587a5 moved interruption to GFI level to capture all commands 2008-06-26 21:01:51 +00:00
aarne
9d909f32cf fixed decodeUTF8 for pgf; removed old resources from darcs 2008-06-26 19:41:25 +00:00
aarne
544fc47489 oops, forgot add Coding 2008-06-26 18:48:28 +00:00
aarne
7f9a0cdd34 uniform encoding: gfo and pgf in UTF8, internal in unicode 2008-06-26 16:35:45 +00:00
aarne
712717e461 utf8 adjustments 2008-06-26 06:52:01 +00:00
bjorn
83318d0757 Include coding flag in .gfo files.
Because the PGF file gets all the flags from the GFO file automatically, we get the coding flag in the PGF file too. This is undesirable, since PGF is supposed to always by in UTF-8.
2008-06-25 18:14:45 +00:00
aarne
5fcd5c4f73 added a slot for Urdu in Text.Transliterations 2008-06-25 17:42:19 +00:00