hallgren
fe1ce8389c
feedback.cgi: exclude empty submission when showing the feedback list
2015-12-11 13:08:46 +00:00
hallgren
75aa394dc1
minibar: moved 2 reusable functions from minibar_translations.js to minibar_support.js
2015-05-27 13:28:40 +00:00
hallgren
a37d792d14
minibar: cosmetic fix for the "To:" menu
2015-05-19 14:26:39 +00:00
hallgren
1018171bca
minibar: more work on speech output
2015-05-19 13:38:42 +00:00
hallgren
1edd58fff8
minibar: speech output (experimental) (in browsers that support it)
2015-05-18 15:58:57 +00:00
hallgren
011e980e9d
minibar: use SVG instead of PNG for trees and alignment diagrams if supported by the browser
2015-05-18 14:54:29 +00:00
hallgren
0715cfe2ae
minibar: include the grammar's last modification in the grammar info shown by the "i" button
...
Also bumped version number in gf.cabal to 3.6-darcs.
Also removed some unecessary use of CPP.
2014-06-24 13:59:09 +00:00
hallgren
667a1c0ef0
minibar: fix a mistake the previous bracket fix
2013-11-06 16:54:21 +00:00
hallgren
72a58a8114
minibar: adapt to changed bracket structure in linearization output
2013-11-06 16:45:24 +00:00
hallgren
3b334b5707
minibar: more robust test for availability localStorage
...
Minibar should now work if localStorage is disabled or unavailable.
(In Firefox, disabling cookies also disables localStorage.)
2013-07-29 11:58:17 +00:00
hallgren
c841c2c3c9
minibar: remove two more uses of with()
2013-04-25 15:08:26 +00:00
hallgren
7fe4ff8c46
minibar: fix bug that prevented minibar from working in Webkit browsers
...
The with(...) {...} statement has different scoping rules in Webkit browsers
and Gecko browsers, so it is better to avoid it.
2013-04-25 14:55:24 +00:00
hallgren
1146b94685
gfse: add access to the syntax editor
...
via the minibar
2013-04-23 13:55:00 +00:00
hallgren
bcf8346716
minibar: use the common interface to localStorage
...
...for more streamlined code and better browser compatibility.
2013-04-23 12:39:18 +00:00
hallgren
563299085d
minibar: syntax editor integration bug fix
...
The minibar has the alternative "All" in the target language menu. This should
not be included when transfering to the syntax editor.
2013-04-17 08:49:31 +00:00
hallgren
b037fa2b32
minibar: fixes for phrasebook
...
Add minibar option to_multiple to be able to turn off selection of multiple
target languages.
2013-04-17 08:39:39 +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
eb941d6eac
minibar/syntax editor integration fixes
...
When starting from the minibar, the selected set of target languages is now
preserved when switching back and forth.
2013-04-12 14:30:27 +00:00
hallgren
59f9f9dd17
minibar.html: add debug element
...
to allow debug output from the syntax editor when it is started from the
minibar.
Also fix broken markup.
2013-04-11 11:47:06 +00:00
hallgren
35b47968d2
minibar: add a visual hint that linearizations can be expanded into tables
2013-04-07 12:06:12 +00:00
hallgren
3c244ff27f
minibar/syntax editor integration improvements
...
Work in progress on preserving the start category and selected target languages
when switching between the minibar and the syntax editor.
2013-04-04 14:04:31 +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
f26778feb0
minibar: remember the selected set of target langauges
2013-04-02 13:49:50 +00:00
hallgren
4e40fd5697
minibar: abstract syntax trees are now shown with or without category names
...
Function names are always shown.
2013-04-02 11:56:10 +00:00
hallgren
63c0b7ae5d
minibar: show abstract syntax trees without or with function names
...
Click once to show abstract syntax trees without function names. Click again
to add function names.
2013-03-28 16:00:04 +00:00
hallgren
be1d380ea5
minibar: fix problems with the To: menu
...
Automatically expanding the menu when the mouse is over it seems to cause wierd
scrolling behavior in Chrome (and also in Firefox but less severe).
2013-03-27 23:39:35 +00:00
hallgren
323982b0ea
minibar: documentation update
2013-03-27 16:45:09 +00:00
hallgren
8b06936c01
minibar: click on a linearization to obtain a table with all variants and forms
...
Click again to hide the table.
2013-03-27 16:35:56 +00:00
hallgren
060e3147e8
minibar: fix buttons for abstract syntax trees and word alignment diagrams
...
They stopped working after yesterday's changes.
2013-03-27 14:07:16 +00:00
hallgren
2cb7ed5734
minibar: documentation update
2013-03-26 14:38:10 +00:00
hallgren
155c559e5f
minibar: show parse trees without or with function names
...
Click once to show the parse tree without function names. Click again to
add function names.
2013-03-26 14:24:22 +00:00
hallgren
dca51e7417
minibar: initial support for selecting an arbitrary subset of target languages
...
This affects which translations are shown and which languages are included in
the word alignment diagrams.
2013-03-25 17:43:12 +00:00
hallgren
f2751ff9e1
Fixes for minibar offline
...
Tested it in Firefox 18 (which has the new Ionmonkey JavaScript engine).
Still get stack overflows.
2013-01-09 16:44:18 +00:00
hallgren
3c900ee6a3
minibar: add a button to get detailed grammar info
...
After pressing the "i" button to view grammar info, there is now a
"More info" button to get more detailed information about all categories and
functions in the grammar.
2012-11-29 19:15:30 +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
john.j.camilleri
c3f82bf10f
Syntax editor/minibar integration fix
2012-11-29 15:18:02 +00:00
hallgren
78216222f1
some documentation updates and fixes
...
doc/Makefile: add a rule to regenerate gf-help-full.txt
gf-help-full.txt: updated (new parse tree visualization options)
demo & cloud index: clarifications
minibar documentation: better layout on mobile devices
GF 3.4 release notes: reorganized & updated
2012-11-27 14:11:47 +00:00
john.j.camilleri
22aeb04704
minibar_online.js: updated to launch Editor using a GrammarManager object
2012-11-23 15:07:51 +00:00
hallgren
9e430184ba
syntax editor + minibar: fix bug with repeated switching back and forth
...
By avoiding "this" in callback functions, the code can be kept cleaner.
2012-11-23 13:15:16 +00:00
john.j.camilleri
4e00ddea08
Minibar: call abstract_action with 'this' bound to minibar object
2012-11-23 08:21:00 +00:00
john.j.camilleri
c94e34d4e4
Minibar: add show/hide functions
2012-11-23 08:08:13 +00:00
hallgren
24bf1f0d0e
minibar: can now switch back to the minibar after switching to the syntax editor
...
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-22 16:42:39 +00:00
hallgren
7bcf05e3e7
minibar: fix bug introduced in previous update
...
It could case JavaScript error
ReferenceError: initial_grammar is not defined
2012-11-21 19:01:52 +00:00
hallgren
e7b14316dd
minibar+syntax editor integration, work in progress 2
...
+ 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-21 17:13:21 +00:00
hallgren
8bd58a0297
minibar+syntax editor integration, work in progress
2012-11-21 15:07:59 +00:00
hallgren
2ee6211fe1
GF cloud: move gf-web-api-examples.html out of minibar directory
2012-11-20 15:18:05 +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
889d7db76d
GF web service API examples: update examples of the browse command
...
Also some style tweaks.
2012-11-17 17:42:30 +00:00
hallgren
73c78c8840
GF web service API examples: added the "abstrjson" command
...
It converts an abstract syntax tree (represented as a string) to a JSON
structure.
Also some HTML code cleanup.
2012-11-17 11:55:32 +00:00
john.j.camilleri
377ce1732d
Minibar: cursor over editable words is now a "hand"
...
This had been bugging me for ages!
2012-10-26 15:00:19 +00:00