summaryrefslogtreecommitdiff
path: root/src/www/minibar
AgeCommit message (Collapse)Author
2015-05-27minibar: moved 2 reusable functions from minibar_translations.js to ↵hallgren
minibar_support.js
2015-05-19minibar: cosmetic fix for the "To:" menuhallgren
2015-05-19minibar: more work on speech outputhallgren
2015-05-18minibar: speech output (experimental) (in browsers that support it)hallgren
2015-05-18minibar: use SVG instead of PNG for trees and alignment diagrams if ↵hallgren
supported by the browser
2014-06-24minibar: include the grammar's last modification in the grammar info shown ↵hallgren
by the "i" button Also bumped version number in gf.cabal to 3.6-darcs. Also removed some unecessary use of CPP.
2013-11-06minibar: fix a mistake the previous bracket fixhallgren
2013-11-06minibar: adapt to changed bracket structure in linearization outputhallgren
2013-07-29minibar: more robust test for availability localStoragehallgren
Minibar should now work if localStorage is disabled or unavailable. (In Firefox, disabling cookies also disables localStorage.)
2013-04-25minibar: remove two more uses of with()hallgren
2013-04-25minibar: fix bug that prevented minibar from working in Webkit browsershallgren
The with(...) {...} statement has different scoping rules in Webkit browsers and Gecko browsers, so it is better to avoid it.
2013-04-23gfse: add access to the syntax editorhallgren
via the minibar
2013-04-23minibar: use the common interface to localStoragehallgren
...for more streamlined code and better browser compatibility.
2013-04-17minibar: syntax editor integration bug fixhallgren
The minibar has the alternative "All" in the target language menu. This should not be included when transfering to the syntax editor.
2013-04-17minibar: fixes for phrasebookhallgren
Add minibar option to_multiple to be able to turn off selection of multiple target languages.
2013-04-12GF cloud: work on syntax editor integrationhallgren
+ 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-12minibar/syntax editor integration fixeshallgren
When starting from the minibar, the selected set of target languages is now preserved when switching back and forth.
2013-04-11minibar.html: add debug elementhallgren
to allow debug output from the syntax editor when it is started from the minibar. Also fix broken markup.
2013-04-07minibar: add a visual hint that linearizations can be expanded into tableshallgren
2013-04-04minibar/syntax editor integration improvementshallgren
Work in progress on preserving the start category and selected target languages when switching between the minibar and the syntax editor.
2013-04-03Simple Translation Tool: initial support for editing source segments in the ↵hallgren
minibar
2013-04-02minibar: remember the selected set of target langaugeshallgren
2013-04-02minibar: abstract syntax trees are now shown with or without category nameshallgren
Function names are always shown.
2013-03-28minibar: show abstract syntax trees without or with function nameshallgren
Click once to show abstract syntax trees without function names. Click again to add function names.
2013-03-27minibar: fix problems with the To: menuhallgren
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-27minibar: documentation updatehallgren
2013-03-27minibar: click on a linearization to obtain a table with all variants and formshallgren
Click again to hide the table.
2013-03-27minibar: fix buttons for abstract syntax trees and word alignment diagramshallgren
They stopped working after yesterday's changes.
2013-03-26minibar: documentation updatehallgren
2013-03-26minibar: show parse trees without or with function nameshallgren
Click once to show the parse tree without function names. Click again to add function names.
2013-03-25minibar: initial support for selecting an arbitrary subset of target languageshallgren
This affects which translations are shown and which languages are included in the word alignment diagrams.
2013-01-09Fixes for minibar offlinehallgren
Tested it in Firefox 18 (which has the new Ionmonkey JavaScript engine). Still get stack overflows.
2012-11-29minibar: add a button to get detailed grammar infohallgren
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-29minibar: add tool tips to some of the buttonshallgren
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-29Syntax editor/minibar integration fixjohn.j.camilleri
2012-11-27some documentation updates and fixeshallgren
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-23minibar_online.js: updated to launch Editor using a 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-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-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-21minibar+syntax editor integration, work in progresshallgren
2012-11-20GF cloud: move gf-web-api-examples.html out of minibar directoryhallgren
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-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-10-26Minibar: cursor over editable words is now a "hand"john.j.camilleri
This had been bugging me for ages!
2012-09-30PGF service & minibar: put a limit on the number of parse treeshallgren
+ 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.