1
0
forked from GitHub/gf-core
Commit Graph

76 Commits

Author SHA1 Message Date
bjorn
547f362f83 gf-server: New URL format: /grammar.pgf/command 2008-10-20 08:45:00 +00:00
bjorn
95fca30b5d lighttpd.conf tweak 2008-10-20 08:43:23 +00:00
bjorn
dd17e7a2cc fastcgi: better grammar cache implementation: don't deadlock on exceptions 2008-10-20 08:24:01 +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
333efb4063 lighttpd.conf: use default server.event-handler = "select" 2008-10-17 12:57:52 +00:00
bjorn
7317d41c84 gf-server-jsapi: clean up old callbacks 2008-10-17 12:57:34 +00:00
bjorn
2df86ad3fb Don't include parsers for Ger, Dan, Nor in server/demo.pgf and server/lang.pgf 2008-10-17 12:41:48 +00:00
bjorn
647164ed64 Fixed URL in gwt-client/Translate-shell-external to work with lighttpd 2008-10-17 12:41:19 +00:00
bjorn
d8568d4f66 Use JSON-P in gf-server-jsapi.js 2008-10-17 11:14:46 +00:00
bjorn
9b920a0b73 Added JSON-P support to fastcgi server. 2008-10-17 10:49:34 +00:00
bjorn
c59103a27f Delete gf.fcgi in src/server/Makefile. 2008-10-17 10:05:29 +00:00
bjorn
3ee2a7b072 A bunch of changes that make it easy to run the gf server with lighttpd 2008-10-16 13:39:09 +00:00
bjorn
e94cfd8567 Multithreaded gf.fcgi. 2008-10-16 13:00:44 +00:00
bjorn
bc87219f8e server/makefile added test.pgf target. 2008-10-16 13:00:16 +00:00
bjorn
1f724b36bb build pgf files in src/server with erasing parsing 2008-10-16 11:27:12 +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
3d11bf48a3 GWT: somewhat nicer iterable() hack. 2008-09-22 10:11:15 +00:00
bjorn
491a829105 Added iterable() method for nicer iteration through GF method results. (GWT) 2008-09-21 20:37:27 +00:00
bjorn
bc2447bcbb GWT: disable translation until the language info has been loaded from the server, 2008-09-17 13:25:08 +00:00
bjorn
7c79fd0aa9 GWT: update to use new /grammar resource. Select from language based on Accept-Language header. 2008-09-17 13:04:10 +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
ee40c265b7 GWT: comment out flag icon stuff in CSS. 2008-09-17 11:40:35 +00:00
bjorn
64bbd08edd Towards looking at the locale for default language. Added flag icons. 2008-09-17 10:12:36 +00:00
bjorn
64728d1205 Better error handling in GWT UI. 2008-09-16 13:53:07 +00:00
bjorn
a691f4dfaf GWT client: set Accept header to get plain text error messages, 2008-09-15 15:43:37 +00:00
bjorn
62a872b033 Added loading popup to gwt ui 2008-09-15 15:27:33 +00:00
bjorn
a43ed0f99f fastcgi server: decode UTF-8 inputs produced by the gwt client 2008-09-15 15:20:15 +00:00
bjorn
1579174e14 gwt installball should not contain gf.fcgi 2008-09-15 14:40:05 +00:00
bjorn
ca9b011b27 GWT: only allow a single compeltion request at a time. 2008-09-15 14:39:25 +00:00
bjorn
59065bb6fc Use abs path for gf.fcgi in gwt client. 2008-09-15 14:16:56 +00:00
bjorn
b9ec6b089f Fixes to the GWT UI to be able to run it on other machines (still some hardcoded paths in the compilation). 2008-09-15 13:49:55 +00:00
bjorn
c2da4129ed Added partial word completion to fastcgi server and update GWT UI accordingly. 2008-09-15 13:33:40 +00:00
aarne
219eab4c1f completing resource api with things needed in WebALT 2008-09-12 22:31:13 +00:00
bjorn
1c16b6b6e2 Somewhat nicer gwt client ui style. 2008-09-12 21:07:14 +00:00
bjorn
75b0279a11 GWT client now has the same func 2008-09-12 11:47:41 +00:00
bjorn
ddd4d418c0 server: changes lang field to name 2008-09-12 11:32:30 +00:00
bjorn
9cebc28e8e Update gf-client.html with new gf.fcgi output types. 2008-09-12 11:14:02 +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
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