summaryrefslogtreecommitdiff
path: root/src/www/js
AgeCommit message (Collapse)Author
2013-04-23js/localstorage.js: don't throw an exception if JSON parsing failshallgren
Return the given default value instead.
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-18gfrobust.js: add a method for constructing parse tree image URLs.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-12gfrobust.js: adding a JavaScript API to the GF Robust Parser translation servicehallgren
Factored out from the Simple Translation Tool.
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-03Adding src/www/js/localstorage.jshallgren
A common interface to localStorage, to store JSON data under a unique prefix.
2013-03-27support.js: add function replaceNodehallgren
2012-12-07Syntax editor: various small improvements...john.j.camilleri
- separate tree edit buttons from option buttons - fix bug when wrapping on freshly imported ast - add interface for import & export of ast - cleaner internal implementation of Editor.add_refinement - small style updates
2012-11-29minibar: add tool tips to some of the buttonshallgren
Also move the functions title and attr from editor/editor.js to js/support.js. Also mention recent changes in minibar/about.html.
2012-11-27Syntax editor: improvements and fixes with grammar managerjohn.j.camilleri
2012-11-23gfse: use POST requests when parsing grammar modules after editing as texthallgren
instead of GET, to avoid the Apache httpd URI length limitation. This means that gfse can no longer use JSONP when parsing grammars, so it has to be located on the same host as the cloud service. Also clean away trailing white space in support.js.
2012-11-23Syntax editor: now uses common GrammarManager objectjohn.j.camilleri
2012-11-22Syntax editor: can now load minibar (in-place) from a linearised treejohn.j.camilleri
2012-11-21support.js: elem() returns false when as is undefinedjohn.j.camilleri
2012-11-20GF cloud: move support.js and pgf_online.jshallgren
Created the folder js and moved minibar/support.js and minibar/pgf_online.js there, to emphasize their status as app independent support libraries. There are probably more files that should be moved here. The cloud apps have been updated, externally hosted apps that link directly to our server need to be updated too.