summaryrefslogtreecommitdiff
path: root/src/www
AgeCommit message (Collapse)Author
2012-11-23gf -server + gfse: show modification time of public grammarshallgren
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-23minibar_online.js: updated to launch Editor using a GrammarManager objectjohn.j.camilleri
2012-11-23Syntax editor: now uses common GrammarManager objectjohn.j.camilleri
2012-11-23syntax editor + minibar: fix bug with repeated switching back and forthhallgren
By avoiding "this" in callback functions, the code can be kept cleaner.
2012-11-23Syntax editor: return to editor after having switched to minibarjohn.j.camilleri
2012-11-23Minibar: call abstract_action with 'this' bound to minibar objectjohn.j.camilleri
2012-11-23Minibar: add show/hide functionsjohn.j.camilleri
2012-11-22minibar: can now switch back to the minibar after switching to the syntax editorhallgren
This is done by including a lin_action when starting the syntax editor from the minibar. Also: added some minibar options in the syntax editor for consistency...
2012-11-22Syntax editor: can now load minibar (in-place) from a linearised treejohn.j.camilleri
2012-11-21minibar: fix bug introduced in previous updatehallgren
It could case JavaScript error ReferenceError: initial_grammar is not defined
2012-11-21minibar+syntax editor integration, work in progress 2hallgren
+ Transfer current astract syntax tree when activating the syntax editor from the minibar. + Add options to start the minibar with given input. You need to include the current grammar url, the current language and the input, like this: initial_grammar: "/grammars/Foods.pgf", initial: { from: "FoodsEng", input:["that","fish","is","fresh"]} + Fix a style sheet clash.
2012-11-21Syntax editor: start with initial ASTjohn.j.camilleri
Note that the argument has been renamed to initial.abstr (Where abstr means an abstract syntax tree in string form, NOT an AST object)
2012-11-21minibar+syntax editor integration, work in progresshallgren
2012-11-21Syntax editor: start with initial grammar, startcat, to: languagesjohn.j.camilleri
2012-11-21support.js: elem() returns false when as is undefinedjohn.j.camilleri
2012-11-20gfse: remove obsolete fileshallgren
2012-11-20GF cloud: move gf-web-api-examples.html out of minibar directoryhallgren
2012-11-20Syntax editor: update to use common js filesjohn.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.
2012-11-20Syntax editor: random generation of trees (and subtrees!)john.j.camilleri
2012-11-17GF web service API examples: update examples of the browse commandhallgren
Also some style tweaks.
2012-11-17GF web service API examples: added the "abstrjson" commandhallgren
It converts an abstract syntax tree (represented as a string) to a JSON structure. Also some HTML code cleanup.
2012-11-16Syntax editor: work on importing AST as string (eg for generate random)john.j.camilleri
But it's still not complete. Need an efficient way of getting the cat info to accompany funs.
2012-11-16Syntax editor: select subset of available languagesjohn.j.camilleri
Also added a basic readme file with a list of todo's
2012-11-15Syntax editor: jump to next hole in treejohn.j.camilleri
2012-11-15Syntax editor: fix bug in Firefox, Seamonkeyjohn.j.camilleri
2012-11-13Add first demo of new syntax editorjohn.j.camilleri
As part of the GF cloud stuff, it can be accessed from http://cloud.grammaticalframework.org/syntax-editor/editor.html
2012-10-30TransQuiz: use the grammars from the same serverhallgren
Unlike the other web apps in the cloud, the translation quiz was configured to use the grammars at http://www.grammaticalframework.org/grammars.
2012-10-26Minibar: cursor over editable words is now a "hand"john.j.camilleri
This had been bugging me for ages!
2012-10-23gf-cloud-api.html: document the new command=remakehallgren
Also improve the documentation of the responses to the upload and make commands.
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: adding a section about public grammars in about.htmlhallgren
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-04simple translator: make it usable on iOS deviceshallgren
To make the popup menus accessible, use a simple trick to activate the simulate-hovering-by-tapping behaviour.
2012-10-04simple translator: bug fixhallgren
"Edit/Add a segment..." stopped working at some point. (Importing text still worked.)
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