| Age | Commit message (Collapse) | Author |
|
|
|
minibar.html now reads config.js and if it defines grammar_list, only the
grammars listed there will show up in the grammar menu.
|
|
+ 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".
|
|
They are now included in the cycle of images shown when clicking on the
parse tree icon.
|
|
|
|
This was done to obtain speech synthesis for more languages in the Numerals
grammar, which uses neither language flags nor the standard naming for
concrete syntax.
|
|
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.
|
|
|
|
minibar_support.js
|
|
|
|
|
|
|
|
supported by the browser
|
|
by the "i" button
Also bumped version number in gf.cabal to 3.6-darcs.
Also removed some unecessary use of CPP.
|
|
|
|
|
|
Minibar should now work if localStorage is disabled or unavailable.
(In Firefox, disabling cookies also disables localStorage.)
|
|
|
|
The with(...) {...} statement has different scoping rules in Webkit browsers
and Gecko browsers, so it is better to avoid it.
|
|
via the minibar
|
|
...for more streamlined code and better browser compatibility.
|
|
The minibar has the alternative "All" in the target language menu. This should
not be included when transfering to the syntax editor.
|
|
Add minibar option to_multiple to be able to turn off selection of multiple
target languages.
|
|
+ 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.
|
|
When starting from the minibar, the selected set of target languages is now
preserved when switching back and forth.
|
|
to allow debug output from the syntax editor when it is started from the
minibar.
Also fix broken markup.
|
|
|
|
Work in progress on preserving the start category and selected target languages
when switching between the minibar and the syntax editor.
|
|
minibar
|
|
|
|
Function names are always shown.
|
|
Click once to show abstract syntax trees without function names. Click again
to add function names.
|
|
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).
|
|
|
|
Click again to hide the table.
|
|
They stopped working after yesterday's changes.
|
|
|
|
Click once to show the parse tree without function names. Click again to
add function names.
|
|
This affects which translations are shown and which languages are included in
the word alignment diagrams.
|
|
Tested it in Firefox 18 (which has the new Ionmonkey JavaScript engine).
Still get stack overflows.
|
|
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.
|
|
Also move the functions title and attr from editor/editor.js to js/support.js.
Also mention recent changes in minibar/about.html.
|
|
|
|
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
|
|
|
|
By avoiding "this" in callback functions, the code can be kept cleaner.
|
|
|
|
|
|
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...
|
|
It could case JavaScript error
ReferenceError: initial_grammar is not defined
|