summaryrefslogtreecommitdiff
path: root/src/www/minibar/minibar_translations.js
AgeCommit message (Collapse)Author
2017-05-05minibar_translations.js: remove dead codehallgren
2016-06-09PGF service & minibar: only show dependency diagrams if the labels are knownhallgren
+ The PGF service now reads and caches dependency label configuration files. + The grammar info returned by command=grammar has a new boolean field 'hasDependencyLabels' to indicate if dependency labels were found for the grammar. Also, command=deptree will now fail if no labels are present. + The minibar only shows word dependency trees if labels are present. + Also changed the type of getDepLabels from [String] -> Labels to String -> Labels, since all uses were in the form "getDepLabels . lines".
2016-06-08Minibar: show word dependecy diagramshallgren
They are now included in the cycle of images shown when clicking on the parse tree icon.
2016-04-13Minibar: don't show dependency information in parse trees.hallgren
This was fixed by adding "&nodep=true" in the minibar when it requests a parse tree from the server. The reason dependency information got included in the first place was that all rendering options are on by default in command=parsetree requests in PGF service API.
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
2013-11-06minibar: fix a mistake the previous bracket fixhallgren
2013-11-06minibar: adapt to changed bracket structure in linearization outputhallgren
2013-04-17minibar: fixes for phrasebookhallgren
Add minibar option to_multiple to be able to turn off selection of multiple target languages.
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: 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: 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.
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-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-21minibar+syntax editor integration, work in progresshallgren
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.
2012-04-18minibar: add buttons to use generated translations as inputhallgren
This functionality was available in the origial Fridge Poetry app, but has been missing in minibar until now.
2012-04-10minibar: internal state type changehallgren
The current intput is now represented as an array of words instead of as a string. (This is the kind of change is scary to do in a dynamically type language like JavaScript. In a statically typed language like Haskell you can do it with confidence, since you know the compiler can help you catch all mistakes...)
2012-04-02minibar: better implementation of word replacementhallgren
Instead of trying to reconstruct the abstract tree from the bracketed string, use the node numbers (the field called "fid") to identify which node in the abstact syntax tree a word in the bracketed string corresponds to.
2012-03-18minibar: word-for-word replacement (experimental)hallgren
The new functionality also needs some new PGF service functionality, which will be provided in a separate patch.
2012-03-08minibar: add an option to make it easy to select png or svg outputhallgren
for abstract synax trees, parse trees and word alignment diagrams.
2012-02-15minibar_translations.js: bug fixhallgren
Two methods used the global variable p instead of declaring a local variable p. This caused the function p (that constructs HTML <p> elements) in support.js to suddenly be redefined as a number.
2012-02-13gfse: better integration of the minibarhallgren
The minibar is now displayed inside the editor, intead of on a separate page. This makes the context clearer and makes it more obiovous how to return to the editor.
2012-02-13minibar: bug fix: accidental reference to global variable "server"hallgren
2011-10-18minibar: adding a start category menuhallgren
+ The start category menu can be turned off by passing the option {startcat_menu:false} when starting the minibar. + Documentation updates.
2011-10-12Improvements of "gf -server" mode and related setuphallgren
"gf -server" mode now contains everything needed to run the minibar and the grammar editor (including example-based grammar writing). The Setup.hs script installs the required files where gf -server can find them. These files have been moved to a new directory: src/www. The separate server program pgf-http is now obsolete.