hallgren
0d4c64703e
gfse/sort.js: enable dragging on touch screens
2016-05-16 12:57:01 +00:00
hallgren
bde9dc7cfd
Add a few missing languages in js/langcode.js. Use it also in gfse/editor.js.
...
gfse/editor.js had its own list with 34 languages, while js/langcode.js
only had 30 languages. The missing languages have been added to
js/langcode.js and all apps now use that list.
2016-05-13 13:03:28 +00:00
hallgren
7d509d6933
GFSE: add Latvian to the list of RGL languages
2016-04-03 17:29:10 +00:00
hallgren
9bed116878
GFSE: add Afrikaans to the list of available RGL languages.
2016-01-19 13:59:17 +00:00
hallgren
8039633528
Fixed a problem with minibar when invoked from gfse or the syntax editor
...
Minibar needs js/langcode.js now, so need to include it in gfse/index.html
and syntax-exitor/editor.html too.
2015-05-21 08:00:49 +00:00
hallgren
9d21b73a81
GF cloud: updated lists of supported RGL languages and some minor style updates
2015-05-18 13:16:45 +00:00
hallgren
0386334f49
Wide coverage translation web demo improvements
...
+ Add lexing/unlexing
+ Add a button to swap input and output
+ Minor layout adjustments
2014-01-28 16:51:21 +00:00
hallgren
982befac20
gfse: re-enable example-based grammar construction
2013-11-14 12:54:25 +00:00
hallgren
9efb9ce2fb
gfse: don't use multiline text boxes everywhere, just for concrete syntax
2013-08-21 14:19:05 +00:00
hallgren
2aa14bfef8
gfse: only try to upload/compile grammars when browser is online
...
Show error message "Offline" if browser is offline.
2013-08-19 15:00:55 +00:00
hallgren
029f1d40e5
gfse: always open a resizable text box when editing concrete syntax
...
(Also fixed a broken link in gf-web-api-examples.html)
2013-08-19 14:19:18 +00:00
hallgren
8d866541d3
gfse: use alltenses/ instead of present/ when looking up RGL oper types
2013-04-26 15:01:11 +00:00
hallgren
b88065e250
Add greek to Setup.hs and the web apps
2013-04-26 13:42:01 +00:00
hallgren
1146b94685
gfse: add access to the syntax editor
...
via the minibar
2013-04-23 13:55:00 +00:00
hallgren
a0bcea3076
gfse: don't add --# -path=.:present
...
Nowadays GF includes alltenses by default in the grammar search path.
2013-04-20 07:25:38 +00:00
hallgren
d35790e656
GF cloud: work on syntax editor integration
...
+ 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-12 18:29:15 +00:00
hallgren
a22a419bc7
Simple Translation Tool: initial support for editing source segments in the minibar
2013-04-03 20:24:57 +00:00
hallgren
8c22a380f7
minibar: add tool tips to some of the buttons
...
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-29 16:05:42 +00:00
hallgren
def375e588
gfse: add Prelude to the list of RGL modules that can be opened
2012-11-26 15:08:16 +00:00
hallgren
818faee27e
gfse: more readable layout for not so simple grammars + bug fix
...
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-26 14:11:12 +00:00
hallgren
18c8ff3579
gf -server + gfse: show modification time of public grammars
2012-11-23 23:21:17 +00:00
hallgren
e0e8f89484
gfse: use POST requests when parsing grammar modules after editing as text
...
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-23 18:51:44 +00:00
hallgren
29d8b182ab
gfse: remove obsolete files
2012-11-20 15:31:31 +00:00
hallgren
3eaeaed8fd
GF cloud: move support.js and pgf_online.js
...
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-20 12:56:48 +00:00
hallgren
0bf9627d79
Add Chinese to the list of installed RGL languages and support it in the web apps
...
Aarne says the Chinese resource grammar is complete, but not yet completely
correct.
2012-10-22 10:16:10 +00:00
hallgren
9a022a141e
gfse: grammars can now contain one-line descriptions
...
Also fixed two small problems with public grammars.
2012-10-18 12:48:39 +00:00
hallgren
7ca6426807
gfse: small fix
2012-10-16 23:06:37 +00:00
hallgren
d01e790d95
gfse: identify inherited grammars by their unique id
...
This helps avoiding problems if an inherited grammar is renamed, or if there
is more than one grammar with the same name.
2012-10-16 22:10:49 +00:00
hallgren
be84d37c41
gfse: adding a section about public grammars in about.html
2012-10-09 14:54:50 +00:00
hallgren
4c0b6f29f2
gfse: show the grammar list if the currently selected grammar can not be loaded
...
Avoid showing a blank page if there is an unexpected problem with the grammars
in localStorage.
2012-10-09 13:44:34 +00:00
hallgren
1eef49ac93
gfse: various code improvements and prelimiary support for public grammars
2012-10-04 15:21:30 +00:00
hallgren
ec9dc23f46
gfse: fix a bug caused by sharing when copying a linearization function in the row view
...
Functional programming is easier than imperative programming!
2012-10-03 13:54:35 +00:00
hallgren
3582ae6e08
gfse: some refactoring
2012-10-03 13:22:50 +00:00
hallgren
a1d2d11057
gfse: row view: add a button to copy a linearization
...
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-03 12:37:47 +00:00
hallgren
a47d2da448
gfse and cloud service documentation update
2012-10-02 17:32:52 +00:00
hallgren
63e589372e
gfse: you can now add new functions from the matrix view
2012-10-02 13:50:35 +00:00
hallgren
357b8b33ba
gfse: more intuitive buttons for switching between the column, matrix & row views
2012-10-02 13:09:56 +00:00
hallgren
24f362ec00
gfse: adding a "row" view
...
Accessed by clicking on a function in the Abstract column in the matrix view.
2012-10-01 21:08:09 +00:00
hallgren
a782207841
gfse: matrix view improvements
...
+ 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-10-01 16:29:59 +00:00
hallgren
00490c07dd
gfse: small linearization type display adjustment
2012-09-30 19:53:57 +00:00
hallgren
5f3e3e8fa2
gfse: display "??" instead of "null" in linearization types when lincats are missing
2012-09-30 19:47:30 +00:00
hallgren
996f79f875
gfse: show the types of linearization functions when hovering over their names
2012-09-30 19:33:25 +00:00
hallgren
999d02eb30
gfse & cloud improvements
...
+ 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-28 14:27:18 +00:00
hallgren
d7890b628f
gfse: added a new "matrix view" of grammars
2012-09-21 10:45:10 +00:00
hallgren
2e968a01fa
gfse: matching colors in cloud download/upload icons
2012-08-02 12:12:59 +00:00
hallgren
b12e6ec1e4
gfse/sort.js: make it more resusable
...
Move the gfse-specific list of sortable tags and class names from sort.js
to editor.js.
2012-06-21 15:39:31 +00:00
hallgren
cc58e2d05f
translator: documents can now be saved in the cloud
...
some other small fixes
2012-06-12 15:36:41 +00:00
hallgren
3af1dbde67
gfse & translator: change language code for Japanese to Jpn
2012-06-12 13:07:54 +00:00
hallgren
5db5c8a203
GF home page: link to GF clouds service (cloud.grammaticalframework.org)
...
Also some small cloud service documentation updates.
2012-06-11 15:34:16 +00:00
hallgren
b19ae37d9c
GFServer.hs: apply UTF8 encoding when saving uploaded files
...
This fixes a bug introduced on May 16.
2012-05-28 11:21:30 +00:00