Commit Graph

21 Commits

Author SHA1 Message Date
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