summaryrefslogtreecommitdiff
path: root/src/www
AgeCommit message (Collapse)Author
2012-04-01support.js: add an implementation of Array.isArray for older browsers that ↵hallgren
lack it
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-26minibar: support for adding grammars from several servers to the grammar menuhallgren
You can also add grammars from several directories on the same server of course. The included minibar configuration file adds the user's own grammars from the grammar editor.
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-22minibar: word-for-word replacement fixeshallgren
Check that the reconstructed abstract syntax tree is type correct before enabling word-for-word replacement. Show an error message if word replacement nevertheless fails.
2012-03-22pgf_online.js: error callbackshallgren
To enable customized error handling, the methods in the pgf_online objects and the AJAX server call functions in support.js accept an error callback function as an extra argument, in addition to the callback (continuation) for normal results.
2012-03-19minibar: word-for-word replacement fixhallgren
Turn off the highlighting that indicates that word-for-word replacement is enabled when it is no longer available (e.g if a word is deleted and there no longer is a complete parse).
2012-03-19minibar: fix for recently introduced bug affacting Webkit browsershallgren
It seems that in Gecko browsers, the effect of "with(x) stmts" reaches inside the bodies of local functions in stmts, but in Webkit browers it does not.
2012-03-19minibar: don't try to select the most recently used grammar if it isn't in ↵hallgren
the current grammar list
2012-03-18minibar: automatically select the most recently used grammar when returning ↵hallgren
to the minibar
2012-03-18minibar: word-for-word replacement (experimental)hallgren
The new functionality also needs some new PGF service functionality, which will be provided in a separate patch.
2012-03-17Cloud service start page layout fix for small screenshallgren
2012-03-08minibar: add an option to make it easy to select png or svg outputhallgren
for abstract synax trees, parse trees and word alignment diagrams.
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-05minibar: tool tip on the feedback button and hint in the feedback formhallgren
that the user should select a language from the To: menu to suggest a better translation to a particular language.
2012-03-01gfse: bug fixhallgren
Fix a problem opening grammars created before grammar extension was introduced.
2012-02-29gfse & minibar: minor style adjustmentshallgren
2012-02-29gf -server: update start page, add links to some documentationhallgren
2012-02-29gfse: add missing file sort.js to the repositoryhallgren
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-27Phrasebook feedback: hide feedback submitted by Googlebothallgren
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
2012-02-16gfse: style sheet fixeshallgren
2012-02-15gfse: more work on grammar extensionhallgren
Grammars can now inherit from several other grammars. Hovering over a catagory name in a function type in the abstract syntax shows where the category was inherited from.
2012-02-15minibar_translations.js: bug fixhallgren
Two methods used the global variable p instead of declaring a local variable p. This caused the function p (that constructs HTML <p> elements) in support.js to suddenly be redefined as a number.
2012-02-14gfse: make categories from inherited grammars available in the startcat menuhallgren
2012-02-13gfse: bug fix in grammar download from cloudhallgren
2012-02-13gfse & minibar: small fixeshallgren
2012-02-13minibar: fix problems with the feedback formhallgren
2012-02-13gfse: better integration of the minibarhallgren
The minibar is now displayed inside the editor, intead of on a separate page. This makes the context clearer and makes it more obiovous how to return to the editor.
2012-02-13minibar: bug fix: accidental reference to global variable "server"hallgren
2012-02-13gfse: added a button to go directly from the editor to the minibarhallgren
If there is an error in the grammar, the error message is shown below the grammar instead. Also: GFServer.hs now returns compiler output in a JSON structure instead of as a HTML page.
2012-02-10gfse: stay on the same page when compiling grammarshallgren
The link to the minibar (or compiler errors) are now shown below the grammar on the same page. If you go to the minibar, you only have to press the back button once to get back to the editor. Also some output formatting changes in GFServer.hs.
2012-02-10gfse&minibar: select the right grammar in minibar when invoked from gfsehallgren
The grammar that the user is currently working is now the one shown initially in minibar, instead of the first grammar in alphabetical order. Also GFServer.hs now removes absolute paths to the grammar files on the server in error messages from GF returned to to gfse.
2012-02-10gfse: bug fix: syntax check in concrete syntax wasn't workinghallgren
In newer versions of GF the shell says "syntax error" instead of "parse error".
2012-02-09gfse: initial support for module extensionhallgren
There is a new way to create a new grammar based on an existing grammar: by extending it. (It is also possible to clone an existing grammar, a before.)
2012-02-07gfse: document the representation of GF grammars used by the editor.hallgren