Commit Graph

3408 Commits

Author SHA1 Message Date
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
bjorn
3857f4a6a6 A somewhat better solution to the words/UTF-8 problem: do encoding last, but only on what appears to be string literals. 2008-09-15 13:16:04 +00:00
bjorn
a39f8cc5da Temporary fix for the grave accent a encoding problem: change compatPrint to id.
The problem is that lower case a with a grave accent is coded in UTF-8 as \195\160. 
Unicode character \160 is non-breaking space, so Haskell's words function
will break a UTF-8 encoded string at this character.
String literals in the .gfo file are UTF-8 encoded in generateModuleCode,
just before the call to prGrammar (which uses compactPrint, which used words).
The real solution would be to pretty-print the grammar to Unicode, and then
encode as UTF-8. The problem with that is Latin-1 identifers. They are now
kept in Latin-1 in the .gfo file, since Alex can't handle Unicode.
The real solution to that would be to fix Alex to handle Unicode, but 
that is non-trivial. GHC interally uses a very hacky .x file to be
able to lex UTF-8 source files. 

An alternative solution that doesn't address the weirdness of using two different
encodings in the same .gfo as we do now, is to incorporate compactPrint
into the grammar printer, to avoid having to do any postprocessing.
2008-09-15 12:38:37 +00:00
aarne
994c2f349f moved Symbol and Symbolic to new places to eliminate mathematical in next-resource 2008-09-13 10:39:18 +00:00
aarne
c3ea6a7399 reimplemented Combinators with Constructors in next-resource 2008-09-13 10:18:52 +00:00
aarne
04e8c2458e "quello" in next-resource Italian corrected 2008-09-13 09:38:41 +00:00
aarne
ffc93ff544 removed inheritance of Numerals in Syntax, added Combinators (for all langs now) 2008-09-13 06:33:42 +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
f5d3c17777 Fix binary-dist to include gfc and exclude compiled grammars, since the latter didn't work anyway. NOTE: you must re-run autoconf (actually the previous patch is the one that requires this). 2008-09-11 08:35:17 +00:00
bjorn
257636ec21 Remove old editor shell script and configure stuff. 2008-09-11 08:30:29 +00:00
bjorn
b2e874b057 Change version number in configure.ac to 3.0-beta2 too. 2008-09-10 12:48:34 +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
krasimir
23f2f0ae00 bump version number to beta2 2008-09-10 09:59:50 +00:00
krasimir
2d6e7ad625 print the search path when we can't find a module 2008-09-10 08:55:16 +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
aarne
b764d6e5b0 Make for compatibility 2008-09-09 20:02:19 +00:00
aarne
279c0367d8 better error msg for missing record labels 2008-09-09 19:43:33 +00:00
aarne
e228fc897a compatibility module for Finnish 2008-09-09 16:30:13 +00:00
aarne
3da1d10eb9 completed IdiomCat to compile api and math 2008-09-09 16:11:05 +00:00
aarne
fa02871525 missing case in param lookup table in GrammartoGFCC 2008-09-09 15:33:56 +00:00
aarne
95866cbe6c more compatibility modules 2008-09-09 14:06:46 +00:00
aarne
4f560ea668 debug information in GrammarToGFCC 2008-09-09 14:04:37 +00:00
aarne
6f9efe9373 Possessive constructor in Romance: un-record arguments to work around a PGF bug 2008-09-09 13:11:08 +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
af2dbf293a Updated JS editor to the latest version from Moises. 2008-09-09 09:32:32 +00:00
aarne
b3af35a88e show "error" in run interruptibly mode in GFI 2008-09-09 06:58:38 +00:00
aarne
56173a9fdb enable matching of ++ strings with regular patterns 2008-09-09 06:36:36 +00:00
aarne
5fde12f8f4 compatibility modules started to deal with WebALT grammars 2008-09-08 16:02:05 +00:00
aarne
940f7894ec added romance in next-resource ; some French determiners and definite articles in other languages to revisit 2008-09-05 16:20:38 +00:00
aarne
da76aa68ff finnish in next-resource; articles to check 2008-09-05 15:09:30 +00:00
aarne
2bbd5b21e9 updated exx-resource.gft to the new tree structure 2008-09-05 14:56:06 +00:00
aarne
3312bb9dde fixed new tense structure in next-resourc/demo 2008-09-05 14:38:59 +00:00
aarne
7ab51924dc carried over Art and Temp changes to next-resource/api/Constructors 2008-09-05 13:51:59 +00:00
aarne
7d82132b9e Temp = Tense + Ant in next-resource 2008-09-05 13:27:56 +00:00
aarne
98184c5016 starting next-resource by fusing Art and Quant in english and scandinavian; substantival forms added for e.g. possessive pronouns 2008-09-05 13:12:47 +00:00
aarne
efd1b4fb73 capitals in lextext and unlextext; notice that a sentence starting with a proper name now gets lexed with a small letter if lextext is used 2008-09-05 09:21:48 +00:00