Commit Graph

147 Commits

Author SHA1 Message Date
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
2d371b7681 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
2afa20f197 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
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
ca58233bf7 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
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
aarne
0345bb5d7a refactoring German VP 2012-09-23 07:46:43 +00:00
hallgren
d7890b628f gfse: added a new "matrix view" of grammars 2012-09-21 10:45:10 +00:00
hallgren
b3f6d3612b simple translator: make it possible to delete documents 2012-09-21 09:07:31 +00:00
hallgren
6d24f74393 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
ab173e4adc negative patterns in gfmorpho 2012-09-14 08:56:09 +00:00
hallgren
decefce6bc simple translator: accept DOS, Mac and Unix line breaks when importing text 2012-09-17 15:58:40 +00:00
hallgren
fa3c87fb64 minibar-api.html: documentation fixes 2012-09-17 15:52:57 +00:00
aarne
acb3fa961e First version of a web server for morphological paradigms. 2012-09-12 12:52:03 +00:00
hallgren
8f85daa94a 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
0cc0a03ac9 simple translator: more work on GlobalSight support
Disable editing source segments in GlobalSight documents
2012-09-11 13:23:05 +00:00
hallgren
1874e932e3 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
ae528954a0 minibar: fix links to Wikipedia article on JSONP
Wikipedia moved it.
2012-09-09 23:06:26 +00:00
hallgren
c7fd975c77 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
ffd59fc226 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
7862bfb15b minibar documentation URL typo fix 2012-08-27 15:00:37 +00:00
hallgren
dfcd61de00 minibar documentation updates 2012-08-27 14:56:10 +00:00
hallgren
7f6c248bf1 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
2e968a01fa gfse: matching colors in cloud download/upload icons 2012-08-02 12:12:59 +00:00
hallgren
89026eb963 gf-cloud-api.html: markup fix 2012-08-01 15:39:30 +00:00
hallgren
314662dd09 translator: code cleanup and bug fixes 2012-07-27 15:06:02 +00:00
hallgren
50c1635e34 translator: remove debug logging 2012-07-25 14:31:39 +00:00
hallgren
5c03e5f963 translator: per segment translation method selection 2012-07-25 14:27:27 +00:00
hallgren
650abc4aff translator: parallel text view layout adjustments
And some other small code changes.
2012-06-21 23:06:07 +00:00
hallgren
cd2601bd84 translator: bug fix for copy/paste import 2012-06-21 23:03:12 +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
6e2c7623fd translator: insert and delete segments
You can now insert new segments anywhere, now just at the end.
You can now delete any segment, not just the last one.
2012-06-21 14:14:36 +00:00
hallgren
9d9c453a45 translator: style adjustments 2012-06-19 14:45:50 +00:00
hallgren
b84f6cc3fc translator: expanatory text for local file import 2012-06-19 14:09:24 +00:00
hallgren
9bee6a9050 translator: import text from local files
It works in Chrome, Firefox and Opera, but not Safari.
(The browser must support the File, FileList and FileReader APIs.)
2012-06-19 13:59:19 +00:00
hallgren
3d5efdd2d2 GF cloud api doc fixes 2012-06-18 15:18:02 +00:00
hallgren
71da012626 cloud service: add preliminary cloud service API documentation 2012-06-18 13:08:32 +00:00