summaryrefslogtreecommitdiff
path: root/src/runtime
AgeCommit message (Collapse)Author
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-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-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-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-07-31two new functions in the PGF API: mkAbs, unAbskrasimir
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-15fix the algorithm for items cutting in the partial parserkrasimir
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-08FridgeApp and TranslateApp now show the type errorskrasimir
2010-07-07report type errors in the shell from command "p"krasimir
2010-07-07simplify the monad TcMkrasimir
2010-07-06Access keys for input fields in minibar and feedback formhallgren
2010-07-01redesign the open-literals APIkrasimir
2010-06-30rename isLiteralFCat -> isPredefFId, fcat(String|Int|Float) -> ↵krasimir
fid(String|Int|Float)
2010-06-29in PGF.Printer special output format for SymLitkrasimir
2010-06-29introduce the type synonym Token=String in the PGF APIkrasimir
2010-06-22preliminary version of API for Open Literalskrasimir
2010-06-18Yay!! Direct generation of PMCFG from GF grammarkrasimir
2010-06-18the automatically generated printnames were just junks. Now we store ↵krasimir
printnames only if they are explicitly specified.
2010-06-18PGF.Printer now dumps the printnames as wellkrasimir
2010-06-16grammar loader and unloader in C. Abstract Syntax only!krasimir
2010-06-09dead code elimination for PGF. Note: the produced grammars will not work ↵krasimir
well with metavariables and high-order abstract syntax
2010-06-09filter the duplications when doing 'l -table'krasimir
2010-06-05Changing rec to rec_ in PGFjordi.saludes
To make glasgow extensions happy we had to rename 'rec' to 'rec_' in sources from PGF folder.
2010-06-02feedback list stylinghallgren
2010-06-02minibar feedback: save user_agent, simple feedback viewerhallgren
2010-06-02Feedback form for phrasebook/minibarhallgren
2010-06-02New minibar option: default_source_languagehallgren
2010-06-02Some minibar/phrasebook button and style changeshallgren
* Add help button at top of page. * Change style of word buttons to look like fridge magnets again. * New options to specify locations of other pages: feedback_url, help_url. If they are left undefined, no Help/Feedback buttons will be created. * Shorter test in Google Translate button.
2010-06-02Improved Goolge Translate buttonhallgren
2010-06-01Work on the feedback button for the minibarhallgren
2010-05-29Always show link to Google Translate, and open it in a new window.hallgren
2010-05-29I switched back to the old algorithm for generating dependency trees. This ↵krasimir
required an ugly hack but there is no easy and quick other way :-(