Commit Graph

37 Commits

Author SHA1 Message Date
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
585368e003 Started working on Google Web Toolkit version of translation server ui. 2008-09-12 10:03:12 +00:00
bjorn
f772cded9e Added temporary completions button to AJAX translation UI. 2008-09-10 11:57:00 +00:00
bjorn
3f4d79eba1 Note about deleting /tmp/fcgi_ipc 2008-09-10 11:55:10 +00:00
bjorn
a49362f225 missing sudo in erver README 2008-09-10 11:52:45 +00:00
bjorn
a16bb8b40d mod_fastcgi installation instructions in src/server/README 2008-09-10 08:44:18 +00:00
bjorn
6dbc576426 Note that Apache must be restarted after config changes. 2008-09-10 08:19:50 +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
7826a445b0 More info in src/server/README. 2008-09-09 12:38:45 +00:00
bjorn
9e3b3f1bd2 Disable translation on every keystroke, and completion, in the gf FastCGI AJAX client, since it can be too slow. 2008-09-09 12:19:28 +00:00
bjorn
1919fe99a6 gf-server: the readData function given to getData should be m a, not IO a. 2008-08-24 20:44:30 +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
b8fae8f5a4 Re-enable Catalan in the server demo grammar. 2008-08-24 10:19:44 +00:00
bjorn
c80538e068 Added target for building translation server grammar for LangX. 2008-08-23 10:33:16 +00:00
bjorn
45ab3ea0d9 Added README with build instructions for the fastcgi server. 2008-08-22 13:16:31 +00:00
bjorn
0e80a79e1d Don't include DemoCat in server example grammar, since some parts are missing. 2008-08-22 13:15:51 +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
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
ae90af3211 Updated AJAX translator to make use of canParse and the fixed parseAllLangs. 2008-08-18 09:38:21 +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
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