Commit Graph

308 Commits

Author SHA1 Message Date
john.j.camilleri
03a64e2ec7 Syntax editor: work on importing AST as string (eg for generate random)
But it's still not complete. Need an efficient way of getting the cat info to accompany funs.
2012-11-16 14:35:37 +00:00
john.j.camilleri
cb92b80aba Syntax editor: select subset of available languages
Also added a basic readme file with a list of todo's
2012-11-16 09:33:55 +00:00
john.j.camilleri
48dbabcbbe Syntax editor: jump to next hole in tree 2012-11-15 15:38:17 +00:00
john.j.camilleri
3216a5def6 Syntax editor: fix bug in Firefox, Seamonkey 2012-11-15 12:40:14 +00:00
john.j.camilleri
7a69d9d5e5 Add first demo of new syntax editor
As part of the GF cloud stuff, it can be accessed from
http://cloud.grammaticalframework.org/syntax-editor/editor.html
2012-11-13 15:14:49 +00:00
hallgren
78120c84b5 TransQuiz: use the grammars from the same server
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-30 14:36:55 +00:00
john.j.camilleri
bcabfbc72e Minibar: cursor over editable words is now a "hand"
This had been bugging me for ages!
2012-10-26 15:00:19 +00:00
hallgren
3c24b72147 gf-cloud-api.html: document the new command=remake
Also improve the documentation of the responses to the upload and make
commands.
2012-10-23 21:16:31 +00:00
hallgren
c70c01745b 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
cf44576573 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
a74e619c3f gfse: small fix 2012-10-16 23:06:37 +00:00
hallgren
d63d350cef 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
ea4ed8b4db gfse: adding a section about public grammars in about.html 2012-10-09 14:54:50 +00:00
hallgren
02e128d493 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
3d47d7b6f9 simple translator: make it usable on iOS devices
To make the popup menus accessible, use a simple trick to activate the
simulate-hovering-by-tapping behaviour.
2012-10-04 22:29:42 +00:00
hallgren
99b0e42e12 simple translator: bug fix
"Edit/Add a segment..." stopped working at some point.
(Importing text still worked.)
2012-10-04 18:02:31 +00:00
hallgren
5e1da255a3 gfse: various code improvements and prelimiary support for public grammars 2012-10-04 15:21:30 +00:00
hallgren
dad8d4a0ea 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
edc51c6a2f gfse: some refactoring 2012-10-03 13:22:50 +00:00
hallgren
432a354b91 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
a64b4a7c79 gfse and cloud service documentation update 2012-10-02 17:32:52 +00:00
hallgren
57a63d2512 gfse: you can now add new functions from the matrix view 2012-10-02 13:50:35 +00:00
hallgren
2925aed17c gfse: more intuitive buttons for switching between the column, matrix & row views 2012-10-02 13:09:56 +00:00
hallgren
5ec3f70224 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
00e333dc11 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
8b1cec5610 gfse: small linearization type display adjustment 2012-09-30 19:53:57 +00:00
hallgren
bd00109cc5 gfse: display "??" instead of "null" in linearization types when lincats are missing 2012-09-30 19:47:30 +00:00
hallgren
3c826315d7 gfse: show the types of linearization functions when hovering over their names 2012-09-30 19:33:25 +00:00
hallgren
fc09b7e604 PGF service & minibar: put a limit on the number of parse trees
+ In the PGF web service API, the commands parse, translate and translategroup
  now accept a limit parameter. It limits the number of parse trees returned.
  If no limit is given, the behaviour is backwards compatible, i.e. no limit
  is applied.
+ In minibar, the limit is now set to 25 by default.

This change is based on a suggestion by Kaarel Kaljurand.
2012-09-30 15:35:25 +00:00
hallgren
253ddde6c3 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
aarne
c8ac4a9551 refactoring German VP 2012-09-23 07:46:43 +00:00
hallgren
620207802f gfse: added a new "matrix view" of grammars 2012-09-21 10:45:10 +00:00
hallgren
29e2e8c9a4 simple translator: make it possible to delete documents 2012-09-21 09:07:31 +00:00
hallgren
efedb1f7ba simple translator: bug fix
A bug in the line break change prevented text import from working.
2012-09-20 07:49:13 +00:00
aarne
a38588fc08 negative patterns in gfmorpho 2012-09-14 08:56:09 +00:00
hallgren
1a4f828870 simple translator: accept DOS, Mac and Unix line breaks when importing text 2012-09-17 15:58:40 +00:00
hallgren
fd298007be minibar-api.html: documentation fixes 2012-09-17 15:52:57 +00:00
aarne
fa683d7ce2 First version of a web server for morphological paradigms. 2012-09-12 12:52:03 +00:00
hallgren
f55d644e90 simple translator: export GlobalSight Download Files
TODO: consider using a better way to save to a local file
2012-09-11 14:30:09 +00:00
hallgren
9748da631f simple translator: more work on GlobalSight support
Disable editing source segments in GlobalSight documents
2012-09-11 13:23:05 +00:00
hallgren
e5fd93b213 simple translator: more work on GlobalSight support
+ Retain metadata from GlobalSight Download Files.
+ Disable adding&removing segments when editing a GlobalSight documents.
2012-09-10 21:16:58 +00:00
hallgren
2687d1fae9 minibar: fix links to Wikipedia article on JSONP
Wikipedia moved it.
2012-09-09 23:06:26 +00:00
hallgren
bccc2a3ad0 simple translator: support for importing GlobalSight Download Files
TODO: support for export translations in the same format.
2012-09-09 21:17:31 +00:00
hallgren
25144980ba simple translator: make it work even if Apertium is unavailable
Since Apertium is unavaiable at the moment, I can't check that things
still work properly when Aprtium *is* availalbe.
2012-08-30 13:09:22 +00:00
hallgren
ffedf0a165 minibar documentation URL typo fix 2012-08-27 15:00:37 +00:00
hallgren
9ab4c04b5c minibar documentation updates 2012-08-27 14:56:10 +00:00
hallgren
636d0649f8 translator: keep cloud docs and local docs apart
+ show a cloud icon next to the document name if it is stored in the cloud
+ in addition to the name of the current document, remember if it is stored in
  the cloud, so that the right document is loaded next time you open the
  translator.
2012-08-02 12:54:15 +00:00
hallgren
4d526b152a gfse: matching colors in cloud download/upload icons 2012-08-02 12:12:59 +00:00
hallgren
dca98c3533 gf-cloud-api.html: markup fix 2012-08-01 15:39:30 +00:00
hallgren
8da1bbd17d translator: code cleanup and bug fixes 2012-07-27 15:06:02 +00:00