summaryrefslogtreecommitdiff
path: root/src/www/gfse/editor.js
AgeCommit message (Collapse)Author
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-26gfse: add Prelude to the list of RGL modules that can be openedhallgren
2012-11-26gfse: more readable layout for not so simple grammars + bug fixhallgren
To make definitions that span multiple lines more readable in guided mode, preserve line breaks and indentation when lin and oper definitions are displayed and edited in guided mode. Bug fix: moving the cursor by clicking and selecting text by dragging did not work in textareas and input fields, because those mouse event were intercepted by the sort-by-drag-and-drop handler.
2012-11-23gf -server + gfse: show modification time of public grammarshallgren
2012-11-20gfse: remove obsolete fileshallgren
2012-10-22Add Chinese to the list of installed RGL languages and support it in the web ↵hallgren
apps Aarne says the Chinese resource grammar is complete, but not yet completely correct.
2012-10-18gfse: grammars can now contain one-line descriptionshallgren
Also fixed two small problems with public grammars.
2012-10-16gfse: small fixhallgren
2012-10-16gfse: identify inherited grammars by their unique idhallgren
This helps avoiding problems if an inherited grammar is renamed, or if there is more than one grammar with the same name.
2012-10-09gfse: show the grammar list if the currently selected grammar can not be loadedhallgren
Avoid showing a blank page if there is an unexpected problem with the grammars in localStorage.
2012-10-04gfse: various code improvements and prelimiary support for public grammarshallgren
2012-10-03gfse: fix a bug caused by sharing when copying a linearization function in ↵hallgren
the row view Functional programming is easier than imperative programming!
2012-10-03gfse: some refactoringhallgren
2012-10-03gfse: row view: add a button to copy a linearizationhallgren
When adding a new function, you can enter a linearization for one language and then copy it to the other languages with one button click.
2012-10-02gfse and cloud service documentation updatehallgren
2012-10-02gfse: you can now add new functions from the matrix viewhallgren
2012-10-02gfse: more intuitive buttons for switching between the column, matrix & row ↵hallgren
views
2012-10-01gfse: adding a "row" viewhallgren
Accessed by clicking on a function in the Abstract column in the matrix view.
2012-10-01gfse: matrix view improvementshallgren
+ You can click on a column header to switch to column view (i.e. the corresponding abstract/concrete syntax tab). + The categories and functions in the abstract syntax can be edited directly in the matrix view.
2012-09-30gfse: small linearization type display adjustmenthallgren
2012-09-30gfse: display "??" instead of "null" in linearization types when lincats are ↵hallgren
missing
2012-09-30gfse: show the types of linearization functions when hovering over their nameshallgren
2012-09-28gfse & cloud improvementshallgren
+ Added "Symbolic" to the list of resource modules that can be opened. + Clicking on the name of an opened resource module now displays the list operations it provides. (Implemented using show_operations in the GF shell.) + Added a GF version info link to the cloud service start page.
2012-09-21gfse: added a new "matrix view" of grammarshallgren
2012-08-02gfse: matching colors in cloud download/upload iconshallgren
2012-06-21gfse/sort.js: make it more resusablehallgren
Move the gfse-specific list of sortable tags and class names from sort.js to editor.js.
2012-06-12gfse & translator: change language code for Japanese to Jpnhallgren
2012-05-15Integrate Japanesehallgren
* Update Setup.hs to build Japanese by default. * News item about Japanese on the home page. * Add Japanese to the supported RGL imports in the grammar editor (gfse).
2012-04-24minibar&gfse: grammar extension user interface improvementshallgren
The grammar extension is now done with a regular HTML form, so you can use the TAB key to move between the fields and press ENTER to submit the extension when you are done. TODO: more immediate error feedback
2012-04-05minibar&gfse: grammar extension user interface fixeshallgren
It works OK now, but it could be better, e.g. the number of mouse clicks required to enter an extension could to be reduced...
2012-04-04minibar&gfse: first working grammar extension interface in minibarhallgren
There are still some user interface wrinkles to iron out.
2012-03-29gfse&minibar: work in progress on grammar extension fromminibarhallgren
2012-03-29gfse: show an informative error message in browsers that lack support for ↵hallgren
localStorage
2012-03-26gfse: enable word replacement in minibar when activated from the editorhallgren
2012-03-26gfse&minibar: fix bug caused by function name clashhallgren
+ Function div_id was defined in both editor.js and support.js. Solution: moved the more general version from editor.js to support.js. + Function div_class was defined in both editor.js and support.js. Solution: resolv incompatibility with an argument type test and put the generalized function in support.js.
2012-03-06gfse: small usability improvementshallgren
2012-03-05gfse: more helpful hints about grammar parts and RGL moduleshallgren
2012-03-05gfse: bug fix: avoid hickup when inhertiting from a missing concrete syntaxhallgren
2012-03-01gfse: bug fixhallgren
Fix a problem opening grammars created before grammar extension was introduced.
2012-02-28gfse: Translation Quiz integrationhallgren
Also moved the translation quiz from demos/TransQuiz to src/www/TransQuiz so that it will be installed by 'cabal install' along with the other files that are installed for use by gf -server mode.
2012-02-27gfse: recognize Predef categories Int, Float and Stringhallgren
but don't show them in the startcat menu.
2012-02-24gfse: text mode editing: accept grammars with printname judgementshallgren
But printname judgements are ignored for now. Also fixed an UTF-8 encoding bug when parsing uploaded grammars in gf -server mode.
2012-02-24gfse: text mode tweakshallgren
2012-02-22gfse: layout fixhallgren
Style options inteded for some buttons used in example-based editing was unintensionally applied to some other OK/Cancel buttons as well.
2012-02-22gfse: experimental support for editing concrete syntax in text modehallgren
2012-02-22gfse: some refactoringhallgren
2012-02-21gfse: edit abstract syntax in text mode with instant syntax error reportinghallgren
This is an experimental feature. It requires server support for parsing and is thus not available while offline, unlike most other editing functionality.
2012-02-17gfse: when uploading/compiling a grammar, automatically upload inherited ↵hallgren
grammars as well
2012-02-16gfse: bug fixhallgren
...in the function that computes the transitive closure of the grammar inheritance relation.
2012-02-16gfse: you can now remove grammars from the list of inherited grammarshallgren