bjorn
117b38e47f
GWT client: set Accept header to get plain text error messages,
2008-09-15 15:43:37 +00:00
bjorn
c72df9914e
Added loading popup to gwt ui
2008-09-15 15:27:33 +00:00
bjorn
6fce3054e3
fastcgi server: decode UTF-8 inputs produced by the gwt client
2008-09-15 15:20:15 +00:00
bjorn
b6635b200f
gwt installball should not contain gf.fcgi
2008-09-15 14:40:05 +00:00
bjorn
ce50458877
GWT: only allow a single compeltion request at a time.
2008-09-15 14:39:25 +00:00
bjorn
6edca9983a
Use abs path for gf.fcgi in gwt client.
2008-09-15 14:16:56 +00:00
bjorn
eb15d88404
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
aecf9597eb
Added partial word completion to fastcgi server and update GWT UI accordingly.
2008-09-15 13:33:40 +00:00
bjorn
3a7888e660
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
dbb0f3f3e4
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
a6345877f8
completing resource api with things needed in WebALT
2008-09-12 22:31:13 +00:00
bjorn
becdc147d2
Somewhat nicer gwt client ui style.
2008-09-12 21:07:14 +00:00
bjorn
426b4e8a5b
GWT client now has the same func
2008-09-12 11:47:41 +00:00
bjorn
e290d744e4
server: changes lang field to name
2008-09-12 11:32:30 +00:00
bjorn
24d82d5a48
Update gf-client.html with new gf.fcgi output types.
2008-09-12 11:14:02 +00:00
bjorn
a7bf88fb32
Change JSON structures returned by the translation server to always be arrays of objects.
2008-09-12 11:05:38 +00:00
bjorn
1a320db136
translation server: added limit argument to /complete.
2008-09-12 10:13:16 +00:00
bjorn
45331ffa9c
Started working on Google Web Toolkit version of translation server ui.
2008-09-12 10:03:12 +00:00
bjorn
92ffc5072a
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
8a0e9077ce
Remove old editor shell script and configure stuff.
2008-09-11 08:30:29 +00:00
bjorn
a66913b00a
Change version number in configure.ac to 3.0-beta2 too.
2008-09-10 12:48:34 +00:00
bjorn
72b11abe72
Added temporary completions button to AJAX translation UI.
2008-09-10 11:57:00 +00:00
bjorn
d6e20ca0bc
Note about deleting /tmp/fcgi_ipc
2008-09-10 11:55:10 +00:00
bjorn
7208ead223
missing sudo in erver README
2008-09-10 11:52:45 +00:00
krasimir
1e2f027d18
bump version number to beta2
2008-09-10 09:59:50 +00:00
krasimir
c4c1f6d076
print the search path when we can't find a module
2008-09-10 08:55:16 +00:00
bjorn
5210d1745c
mod_fastcgi installation instructions in src/server/README
2008-09-10 08:44:18 +00:00
bjorn
6e6efb14f7
Note that Apache must be restarted after config changes.
2008-09-10 08:19:50 +00:00
bjorn
b9066feacc
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
e7106b6181
better error msg for missing record labels
2008-09-09 19:43:33 +00:00
aarne
1bd799d006
completed IdiomCat to compile api and math
2008-09-09 16:11:05 +00:00
aarne
8cde25475b
missing case in param lookup table in GrammartoGFCC
2008-09-09 15:33:56 +00:00
aarne
bc6b91799a
debug information in GrammarToGFCC
2008-09-09 14:04:37 +00:00
bjorn
e566530c4a
More info in src/server/README.
2008-09-09 12:38:45 +00:00
bjorn
6eae3fcf68
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
aarne
033da07c39
show "error" in run interruptibly mode in GFI
2008-09-09 06:58:38 +00:00
aarne
63a706b109
enable matching of ++ strings with regular patterns
2008-09-09 06:36:36 +00:00
aarne
bdcfcda786
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
aarne
b3803424ff
convert all values in shell pipes to strings
2008-09-04 09:03:02 +00:00
bjorn
207ddc4cb6
Added --haskell-prefix option for changing the constructor prefix in generated Haskell modules.
2008-09-03 15:42:11 +00:00
peb
74826158cb
new PGF output format: prolog syntax
...
* output a PGF grammar in prolog readable syntax
* variables in abstract syntax (hypotheses and lambda-abstractions)
are translated to unique logical variables
* PGF terms in concrete syntax are translated to more prolog-like terms
2008-09-03 09:04:09 +00:00
aarne
cf00c0c2a9
treatment of Int: not always PredefAbs but can be PredefCnc
2008-09-03 09:33:37 +00:00
bjorn
d1ebdf8154
gf-server: the readData function given to getData should be m a, not IO a.
2008-08-24 20:44:30 +00:00
bjorn
b3ab690ddd
First (hacky) working version of FastCGI JSON morphology server.
2008-08-24 19:31:12 +00:00
bjorn
a8f0546574
Move CGIError stuff to FastCGIUtils.
2008-08-24 19:12:44 +00:00
bjorn
5c0487200f
URL decode text input in fastcgi server, including %uXXXX sequences.
2008-08-24 17:39:24 +00:00
bjorn
23a6375ced
Completed SISR 1.0 support (untested).
2008-08-24 14:53:21 +00:00
bjorn
a415c83319
Export modifyFlags and modifyModuleFlags from GF.Infra.Options.
2008-08-24 14:52:49 +00:00
bjorn
cc2442bec4
Re-enable Catalan in the server demo grammar.
2008-08-24 10:19:44 +00:00
aarne
ed06f631e9
removed repeated CPU time printing in GFI
2008-08-23 15:35:39 +00:00