Commit Graph

3752 Commits

Author SHA1 Message Date
hallgren
e13e47be8a minibar: default input language is now the user's preferred language, if possible
This is implemented using the userLanguage field in the grammar info output by
pgf-server.
2010-09-10 11:03:46 +00:00
hallgren
46da64cc72 minibar: use AJAX instead of JSONP when possible
Using AJAX instead of JSONP can give better caching in the browser, since the
URL doesn't need to contain a (dynamically generated) callback function name.
But because of the same origin policy in JavaScript, AJAX can only be used when
the HTML file is served from the same server as the PGF. The new function
http_get_json in support.js uses AJAX if this is the case, and falls back to
JSONP otherwise.
2010-09-10 08:38:11 +00:00
krasimir
e099336afa add QoSontologyEng and linearization for ProcessTask 2010-09-06 09:12:49 +00:00
ramona.enache
8c2e696f27 added Model and ProcessTask in SumoFre and SumoRon 2010-09-06 08:58:30 +00:00
ramona.enache
4143834e69 changed SUMOFre encodings 2010-09-06 08:30:22 +00:00
ramona.enache
1edd84c21a added basic concepts of the SUMO ontology for French and Romanian 2010-09-04 21:19:03 +00:00
hallgren
5290659c2c Minibar: PGF server API: pass callback functions directly instead of passing function names as strings. 2010-09-05 18:06:45 +00:00
hallgren
c85c1e1c11 minibar: fix broken link to brushed-metal background
Solution: include a local copy of brushed-metal.png
2010-09-05 18:01:44 +00:00
aarne
d62c7b8dc1 added Urd to Setup 2010-09-03 14:05:07 +00:00
hallgren
5b09b82f31 pgf-server HTTP mode: workaround for bugs in the httpd-shed package that prevented the fridge and translate web apps from working
queryToArguments "?&input=bla+bla"
           returns [("&input","bla+bla")]
 but should return [("input","bla bla")]
2010-09-03 13:12:08 +00:00
aarne
9fc58ce0e7 kein Deutsch and some other Phrasebook fixes 2010-09-03 09:02:00 +00:00
aarne
1527d470ec prepared German for kein Deutsch 2010-09-02 16:48:22 +00:00
aarne
952fb7685b word order in indirect 'how far' questions in Eng and Dan 2010-09-02 16:18:35 +00:00
hallgren
b1bf971066 pgf-server HTTP mode feature: return the contents of index.html when the URL refers to a directory 2010-09-02 14:10:07 +00:00
hallgren
daa726d742 Bug fix: add missing error handler for statically served files in pgf-server HTTP mode 2010-09-02 13:54:16 +00:00
jordi.saludes
1fd51c0580 Autocompute python version in py-binds. 2010-09-01 12:49:47 +00:00
jordi.saludes
f0c0648905 Fixing assertion in py-binds test. 2010-09-01 11:10:24 +00:00
jordi.saludes
e3e525ff6e Removing obsolete code in py-bindings. 2010-07-28 14:21:43 +00:00
jordi.saludes
c3e35728eb Changed calling style in py-bindings. 2010-07-28 14:15:06 +00:00
jordi.saludes
dcac7254f3 Added 'functions' and 'functionType' to py-bindings. 2010-07-27 15:42:48 +00:00
jordi.saludes
b9de5c36c0 Added inferExpr to py-bindings. 2010-07-27 07:50:48 +00:00
jordi.saludes
1209cd8f9e Added testing of Expr unapplying in py-bindings. 2010-07-25 17:07:14 +00:00
jordi.saludes
23eb7b6df6 Added unapplying of Expr in py-bindings. 2010-07-25 14:48:25 +00:00
hallgren
ac23280320 Standalone HTTP version of pgf-server
pgf-server can now act as a standalone HTTP server. To activate this mode,
start it with

	pfg-server http

to use the default port number (41296), or give an explicit port number, e.g.,

	pgf-server http 8080

The HTTP server serves PGF files in the same way as the old FastCGI interface.
In addition, it also serves static files. The document root for static files
is the www subdirectory of the current directory where pgf-server is started.

In spite of these addition, backwards compatibility is maintaned. The old
FastCGI interface continues to work as before. (It is activated when
pgf-server is started without arguments.)
2010-09-01 14:08:52 +00:00
krasimir
31ee0bc804 linearization for PrimaryColor in SUMO 2010-08-31 09:52:30 +00:00
krasimir
fad0512c94 added missing case for GF.Compile.GeneratePMCFG.evalTerm 2010-08-30 07:54:53 +00:00
krasimir
ab9d27f995 PGF.Expr.normalForm does variable renaming 2010-08-30 07:37:12 +00:00
hallgren
509ccb0db0 Adapt minibar.js to the current GF web service API
Quick fix. More work needed for correct behaviour when multiple words are
entered at once.
2010-08-27 16:46:14 +00:00
aarne
db06000701 embedded questions in phrasebook 2010-08-27 15:14:06 +00:00
krasimir
b0e110cf4f native representation for HOAS in PMCFG and incremental type checking of the parse forest 2010-08-09 10:10:08 +00:00
aarne
68d04c9136 typo (?) in Dutch "cost" 2010-08-25 11:56:23 +00:00
aarne
f6b7d46892 verbosity in make phrasebook ; removed own hacks in LexiconBul 2010-08-25 11:30:16 +00:00
aarne
c67a50b869 updates in Phrasebook and resources 2010-08-25 09:08:31 +00:00
krasimir
d3a6866277 more advanced complete function in the PGFService 2010-08-24 15:58:22 +00:00
krasimir
4df7b04935 revert the TranslateApp to its classical simple variant 2010-08-24 15:17:11 +00:00
krasimir
34c252d974 remove Editor.css as well 2010-08-24 15:04:34 +00:00
krasimir
bd3c833b14 remove the canParse flag from the GWT applications 2010-08-24 14:59:59 +00:00
krasimir
af137d65a5 remove the experimental GWT EditorApp 2010-08-24 14:41:37 +00:00
krasimir
545cd9396e exclude two redundant modules from the cabal desciption of the compiler 2010-08-24 14:19:08 +00:00
aarne
acb838eb79 silence in Compile in phrasebook 2010-08-24 14:17:09 +00:00
aarne
bf6857f43e adjective forms fixed in Phrasebook 2010-08-23 07:47:05 +00:00
aarne
30071b8046 GF emacs mode 2010-08-19 11:36:24 +00:00
krasimir
a4cf8b2a52 linearizations for few class names in SUMO 2010-08-08 10:38:31 +00:00
krasimir
94bd76df72 two new functions in the PGF API: mkAbs, unAbs 2010-07-31 16:40:16 +00:00
krasimir
98c22ef92b bugfix in the PGF browser 2010-07-31 16:04:15 +00:00
krasimir
6a1dbd0a53 the PGF service now generates samples of the syntax in the browsing information 2010-07-31 15:54:03 +00:00
krasimir
f5fb69d3cd add coding=utf8 to BasicRon.gf 2010-07-31 14:27:57 +00:00
krasimir
c033bbccff fix: FastCGIUtils.outputHTML should do UTF8 encoding 2010-07-31 13:56:55 +00:00
krasimir
d78aaf18da move class Apple from MidLevelOntology to Economy for French and Romanian 2010-07-31 13:54:01 +00:00
krasimir
067d908aa3 now the meta id of the meta variables is accessible via the PGF API 2010-07-31 12:52:20 +00:00