summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-09-28minibar: update about.html with description of recent changeshallgren
2010-09-24minibar/about.html: fix typos and formattinghallgren
2010-09-24minibar.html: specify charset, move initializationhallgren
Added a meta tag to specify that the file is in UTF-8. This makes the browser (at least Firefox) assume that the JavaScript files are also in UTF-8, it seems. Moved the call to start_minibar() from the <body onload="..."> to the end of the file. The onload action is not executed until all images in the document has been loaded, while javascipt at the end of the file is executed as soon as the HTML file has been loaded. (Calling start_minibar() from the head of the document would be too soon, since it refers to elements in the body, which hasn't been loaded yet.)
2010-09-24pgf-server HTTP mode: omit charset from ContentType for static fileshallgren
When pfg-server servers a static file in HTTP mode, it is output as is, so specifying charset="iso-8859-1" could be wrong. Note: the a charset can be specified with a meta tag in HTML files, e.g. for files in UTF-8: <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
2010-09-24restored the .ebnf grammar formataarne
2010-09-22the first revision of exhaustive and random generation with dependent types. ↵krasimir
Still not quite stable.
2010-09-22cleanup and export the Probabilistic API from PGFkrasimir
2010-09-12bugfix in PGF.Type.pType: Agda style types like {x : A} -> B should not be ↵krasimir
supported in GF
2010-09-14minibar.js: server API code cleanuphallgren
2010-09-14minibar.js: bug fix: the current word should be accepted when you press ↵hallgren
enter if it matches one of the possible completions exactly The current word is also accepted if there is only one remaining possible completion.
2010-09-14minibar.js: add access keys to some of the buttonshallgren
2010-09-10support.js: create buttons with access keyshallgren
2010-09-10pgf-server HTTP mode: support the Accept-Language headerhallgren
It is needed for the userLanguage field in the grammar info from pgf-server
2010-09-10minibar: default input language is now the user's preferred language, if ↵hallgren
possible This is implemented using the userLanguage field in the grammar info output by pgf-server.
2010-09-10minibar: use AJAX instead of JSONP when possiblehallgren
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-05Minibar: PGF server API: pass callback functions directly instead of passing ↵hallgren
function names as strings.
2010-09-05minibar: fix broken link to brushed-metal backgroundhallgren
Solution: include a local copy of brushed-metal.png
2010-09-03pgf-server HTTP mode: workaround for bugs in the httpd-shed package that ↵hallgren
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-02pgf-server HTTP mode feature: return the contents of index.html when the URL ↵hallgren
refers to a directory
2010-09-02Bug fix: add missing error handler for statically served files in pgf-server ↵hallgren
HTTP mode
2010-09-01Standalone HTTP version of pgf-serverhallgren
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-08-30added missing case for GF.Compile.GeneratePMCFG.evalTermkrasimir
2010-08-30PGF.Expr.normalForm does variable renamingkrasimir
2010-08-27Adapt minibar.js to the current GF web service APIhallgren
Quick fix. More work needed for correct behaviour when multiple words are entered at once.
2010-08-09native representation for HOAS in PMCFG and incremental type checking of the ↵krasimir
parse forest
2010-08-24more advanced complete function in the PGFServicekrasimir
2010-08-24revert the TranslateApp to its classical simple variantkrasimir
2010-08-24remove Editor.css as wellkrasimir
2010-08-24remove the canParse flag from the GWT applicationskrasimir
2010-08-24remove the experimental GWT EditorAppkrasimir
2010-08-19GF emacs modeaarne
2010-07-31two new functions in the PGF API: mkAbs, unAbskrasimir
2010-07-31bugfix in the PGF browserkrasimir
2010-07-31the PGF service now generates samples of the syntax in the browsing informationkrasimir
2010-07-31fix: FastCGIUtils.outputHTML should do UTF8 encodingkrasimir
2010-07-31now the meta id of the meta variables is accessible via the PGF APIkrasimir
2010-07-31added function unType in PGFkrasimir
2010-07-31fix: PGFService should type-check the trees that comes from the userkrasimir
2010-07-15fix the algorithm for items cutting in the partial parserkrasimir
2010-07-13detailed information for the type errors from PGFServicekrasimir
2010-07-13fix the loopchecking in PGF.Forest.bracketedToknkrasimir
2010-07-13Add missing <td> tags in the HTML constructed by functio ↵hallgren
show_groupedtranslations
2010-07-13Bug fix in minibar.js: no translations where shown when using option ↵hallgren
show_grouped_translations: false This affected minibar.html but not phrasebook.html and was caused by accidental shadowing of function tr in function show_translations.
2010-07-13Make minibar.js work again after backwards incompatible changes to the data ↵hallgren
structures output by pgf-server. The canParse field was removed without notice.
2010-07-13bugfix in the decoding of literals in PGF.Binarykrasimir
2010-07-08updates in the Eclipse project for GWT UIkrasimir
2010-07-08update the shell scripts and some other configuration files for GWT 2.0.4krasimir
2010-07-08update the package name for the Android UIkrasimir
2010-07-08add src/ui folder for both Android and GWT UIskrasimir
2010-07-08change the package name of the GWT Apps to org.grammaticalframework.ui.gwtkrasimir