summaryrefslogtreecommitdiff
path: root/src/www
AgeCommit message (Collapse)Author
2014-02-19Wide coverage demo web app: add link to Google Translatehallgren
2014-02-19src/www/js/langcode.js: functions for converting language codeshallgren
factored out from src/www/translator/translator.js
2014-02-12Wide coverage demo: show up to 10 translationshallgren
The translations are loaded one at a time so you don't have to wait for all 10 to see the first one.
2014-02-11Work on web api & apps based on the C run-time systemhallgren
+ PGFService.hs: add command c-grammar, include probability in parse results + js/gftranslation.js: add start position and limit parameters, return more info to applications + Simple Translator: show two wide coverage translations + Wide coverage demo: show parse tree and probability (intended as grammar debugging aids)
2014-01-28Wide coverage translation web demo improvementshallgren
+ Add lexing/unlexing + Add a button to swap input and output + Minor layout adjustments
2014-01-21simple translator: Replaced 'GF Robust Parser' with 'GF Wide Coverage ↵hallgren
Translation' The interface to the wide coverage translation is in js/gftranslate.js and it assumes that the grammar is installed on the cloud server as /robust/Translate8.pgf. The list of supported languages is hardwired in gftranslate.js, since there is no support for obtaining this info from the C run-time system at the moment.
2013-11-14gfse: re-enable example-based grammar constructionhallgren
2013-11-06minibar: fix a mistake the previous bracket fixhallgren
2013-11-06minibar: adapt to changed bracket structure in linearization outputhallgren
2013-08-21gfse: don't use multiline text boxes everywhere, just for concrete syntaxhallgren
2013-08-19gfse: only try to upload/compile grammars when browser is onlinehallgren
Show error message "Offline" if browser is offline.
2013-08-19gfse: always open a resizable text box when editing concrete syntaxhallgren
(Also fixed a broken link in gf-web-api-examples.html)
2013-08-13Syntax editor: minor CSS fixjohn.j.camilleri
2013-07-29minibar: more robust test for availability localStoragehallgren
Minibar should now work if localStorage is disabled or unavailable. (In Firefox, disabling cookies also disables localStorage.)
2013-07-25RGL Browser: now includes Syntax Editor tab!john.j.camilleri
2013-06-13Syntax editor: minor CSS tweak to resemble Minibar morejohn.j.camilleri
2013-06-13Syntax editor: AST string always shown, remove export buttonjohn.j.camilleri
2013-04-26gfse: use alltenses/ instead of present/ when looking up RGL oper typeshallgren
2013-04-26Add greek to Setup.hs and the web appshallgren
2013-04-25minibar: remove two more uses of with()hallgren
2013-04-25minibar: fix bug that prevented minibar from working in Webkit browsershallgren
The with(...) {...} statement has different scoping rules in Webkit browsers and Gecko browsers, so it is better to avoid it.
2013-04-23js/localstorage.js: don't throw an exception if JSON parsing failshallgren
Return the given default value instead.
2013-04-23gfse: add access to the syntax editorhallgren
via the minibar
2013-04-23js/gfrobust.js: don't try to translate sentenses that are too longhallgren
The C run-time responds badly to input that is too long, so we return an error message here instead. The limit is 200 URL-encoded characters.
2013-04-23js/localstorage.js: improved faked localStorage if real localStorage is missinghallgren
2013-04-23minibar: use the common interface to localStoragehallgren
...for more streamlined code and better browser compatibility.
2013-04-20gfse: don't add --# -path=.:present hallgren
Nowadays GF includes alltenses by default in the grammar search path.
2013-04-19simple translation tool: minor documentation fixhallgren
2013-04-19gf-cloud-api.html: fixed a typohallgren
in the documentation of command=remake.
2013-04-19gf-cloud-api.html: clarificationhallgren
Unrecoginzed parameter in cloud service requests are silently ignored.
2013-04-18simple translator: improved translation with the GF robust parserhallgren
by separate punctuation from the string sent to the robust parser. Also added buttons to view parse trees from the robust parser.
2013-04-18gfrobust.js: add a method for constructing parse tree image URLs.hallgren
2013-04-17minibar: syntax editor integration bug fixhallgren
The minibar has the alternative "All" in the target language menu. This should not be included when transfering to the syntax editor.
2013-04-17minibar: fixes for phrasebookhallgren
Add minibar option to_multiple to be able to turn off selection of multiple target languages.
2013-04-12GF cloud: work on syntax editor integrationhallgren
+ The syntax editor is now accessible from the Simple Translaton Tool. + The minibar now automatically provides access to the syntax editor (provided the necessary JavaScript files and style sheets have been loaded). + Preparations for making the syntax editor accessible from the grammar editor.
2013-04-12syntax editor: fix references to global object 'server'hallgren
2013-04-12minibar/syntax editor integration fixeshallgren
When starting from the minibar, the selected set of target languages is now preserved when switching back and forth.
2013-04-12Simple Translation Tool: eliminate &+ in translations from GFhallgren
Also fixed a bug introduced in previous refactoring.
2013-04-12gfrobust.js: adding a JavaScript API to the GF Robust Parser translation servicehallgren
Factored out from the Simple Translation Tool.
2013-04-11minibar.html: add debug elementhallgren
to allow debug output from the syntax editor when it is started from the minibar. Also fix broken markup.
2013-04-07minibar: add a visual hint that linearizations can be expanded into tableshallgren
2013-04-05Simple Translator: add GF Robust Parser to the menu for individual segmentshallgren
2013-04-05Simple Translator: use lextext/unlextext for translations with the robust parserhallgren
2013-04-05Simple Translator: initial support for translation with the GF robust parserhallgren
2013-04-04minibar/syntax editor integration improvementshallgren
Work in progress on preserving the start category and selected target languages when switching between the minibar and the syntax editor.
2013-04-03Simple Translation Tool: initial support for editing source segments in the ↵hallgren
minibar
2013-04-03Adding src/www/js/localstorage.jshallgren
A common interface to localStorage, to store JSON data under a unique prefix.
2013-04-02minibar: remember the selected set of target langaugeshallgren
2013-04-02minibar: abstract syntax trees are now shown with or without category nameshallgren
Function names are always shown.
2013-03-28minibar: show abstract syntax trees without or with function nameshallgren
Click once to show abstract syntax trees without function names. Click again to add function names.