Commit Graph

29 Commits

Author SHA1 Message Date
bjorn
7ae8c798e9 gf-server: move some general stuff to FastCGIUtils 2008-10-20 15:17:57 +00:00
bjorn
ae3dac1b56 Update gf-server to compile with changed PGF API. 2008-10-20 12:07:05 +00:00
bjorn
0c442d9ac9 Added Read and Show instances for Type. This required moving some code around. 2008-10-20 11:36:17 +00:00
bjorn
29ca3b692b Replace Category with Type in the PGF API. Added readLanguage and showLanguage. 2008-10-20 11:35:05 +00:00
bjorn
547f362f83 gf-server: New URL format: /grammar.pgf/command 2008-10-20 08:45:00 +00:00
bjorn
e7656c9d2e (fastcgi) replace DataRef with a more general Cache type, which can hold several PGF grammars. 2008-10-17 14:12:53 +00:00
bjorn
9b920a0b73 Added JSON-P support to fastcgi server. 2008-10-17 10:49:34 +00:00
bjorn
e94cfd8567 Multithreaded gf.fcgi. 2008-10-16 13:00:44 +00:00
bjorn
f377af2617 Added 'complete' function to the PGF API. This is a higher-level API to the completion functionality. 2008-09-26 13:17:21 +00:00
bjorn
0896d6dee1 fastcgi: rename /info to /grammar 2008-09-17 12:42:05 +00:00
bjorn
4a2bac3cf2 fastcgi: replace /categories, /languages and /mylanguage with /info. 2008-09-17 12:37:34 +00:00
bjorn
9265be0326 fastcgi server: add /mylanguage resource, which selects the language that best matches the Accept-language header. 2008-09-17 12:22:17 +00:00
bjorn
a43ed0f99f fastcgi server: decode UTF-8 inputs produced by the gwt client 2008-09-15 15:20:15 +00:00
bjorn
c2da4129ed Added partial word completion to fastcgi server and update GWT UI accordingly. 2008-09-15 13:33:40 +00:00
bjorn
ddd4d418c0 server: changes lang field to name 2008-09-12 11:32:30 +00:00
bjorn
a282f868bc Change JSON structures returned by the translation server to always be arrays of objects. 2008-09-12 11:05:38 +00:00
bjorn
78a86d6092 translation server: added limit argument to /complete. 2008-09-12 10:13:16 +00:00
bjorn
26d8a7254d Fix type error in fastcgi server.
I forgot to fix this after I copied the modified FastCGIUtils from morpho-server.
2008-09-10 07:09:44 +00:00
bjorn
f8487ec6b9 Move CGIError stuff to FastCGIUtils. 2008-08-24 19:12:44 +00:00
bjorn
646bf9c4d8 URL decode text input in fastcgi server, including %uXXXX sequences. 2008-08-24 17:39:24 +00:00
bjorn
c43e5bf979 First version of ajax / fastcgi interface with completion. 2008-08-19 12:29:31 +00:00
bjorn
9f9bb2d5b7 Added parse and linearize functions to the fastcgi server. Some refactoring. 2008-08-19 08:13:51 +00:00
bjorn
ca667318cf Sort languages in fastcgi /languages output. 2008-08-18 20:20:32 +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
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
a4bc886a31 First working version of the AJAX translation client. 2008-08-15 11:14:13 +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