hallgren
c9522c0a37
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
d9b0895e57
Syntax editor: internal improvements. re-introduce initialize_from function
2012-11-29 15:40:18 +00:00
john.j.camilleri
a2c0030415
Syntax editor/minibar integration fix
2012-11-29 15:18:02 +00:00
kr.angelov
818ea0d4d6
updated statistical model
2012-11-28 12:44:20 +00:00
kr.angelov
2db296db30
Pakistani is now properly capitalized in the English dictionary
2012-11-28 12:43:45 +00:00
kr.angelov
ee8f296089
translations for several words in the Bulgarian dictionary
2012-11-28 12:42:23 +00:00
kr.angelov
23873c8214
added familiar_A2 in DictEng, DictEngBul and DictEngGer
2012-11-28 12:40:20 +00:00
kr.angelov
0d35636348
bugfix for composite adjectivial phrases in Bulgarian
2012-11-28 12:37:24 +00:00
virk.shafqat
f7b91b46dd
samllfixinIdionHin
2012-11-28 11:02:18 +00:00
virk.shafqat
8b83710ed2
buginStructuralHinfixed
2012-11-27 18:24:27 +00:00
hallgren
bf1ce93220
Convert some documentation to UTF-8
...
Using
%!encoding:utf-8
in txt2tags files ensures that the generated HTML includes an appropriate
charset declaration. This way we avoid relying on browser defaults, which can
be wrong.
2012-11-27 16:03:29 +00:00
hallgren
a6ac00023d
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
virk.shafqat
838010f7ed
DictHinMathandDictUrdMath
2012-11-27 14:08:45 +00:00
virk.shafqat
ebe553f4f8
ParseHinandExtraUrd
2012-11-27 14:00:14 +00:00
john.j.camilleri
53e6546a53
Syntax editor; add new helper for parsing type signatures (not complete)
2012-11-27 12:00:41 +00:00
john.j.camilleri
7faa501542
Syntax editor: add options for GM in editor_online.js
2012-11-27 11:21:28 +00:00
john.j.camilleri
bd6d7327bf
Syntax editor: avoid server calls for each refinement by using cached data
2012-11-27 11:19:12 +00:00
john.j.camilleri
054df2451a
Syntax editor: improvements and fixes with grammar manager
2012-11-27 10:09:40 +00:00
kr.angelov
6542f6ffdd
a bunch of additions in the parsing grammars and dictionaries plus an updated statistical model
2012-11-26 16:43:09 +00:00
hallgren
7d528dc5b3
gfse: add Prelude to the list of RGL modules that can be opened
2012-11-26 15:08:16 +00:00
hallgren
be311aeb07
gfse: more readable layout for not so simple grammars + bug fix
...
To make definitions that span multiple lines more readable in guided mode,
preserve line breaks and indentation when lin and oper definitions are
displayed and edited in guided mode.
Bug fix: moving the cursor by clicking and selecting text by dragging did
not work in textareas and input fields, because those mouse event were
intercepted by the sort-by-drag-and-drop handler.
2012-11-26 14:11:12 +00:00
aarne
4ed5333d1a
Chenpeng's fixes in StructuralChi and AdjectiveChi
2012-11-26 10:28:21 +00:00
ramona.enache
7f1be627ae
added DictEngFre.gf in the french directory
2012-11-25 22:50:56 +00:00
ramona.enache
421354f10c
added ParseEngFre.gf
2012-11-25 18:24:40 +00:00
hallgren
158aafa3af
gf -server + gfse: show modification time of public grammars
2012-11-23 23:21:17 +00:00
hallgren
ba9db76063
gf -server: support overloaded opers in gfse
2012-11-23 19:59:39 +00:00
hallgren
9b3d106ff8
gfse: use POST requests when parsing grammar modules after editing as text
...
instead of GET, to avoid the Apache httpd URI length limitation.
This means that gfse can no longer use JSONP when parsing grammars, so it
has to be located on the same host as the cloud service.
Also clean away trailing white space in support.js.
2012-11-23 18:51:44 +00:00
hallgren
b410cc75cd
Fix a prededence bug in GF grammar pretty printer
...
The pretty printer produced
mkDet pre {"a"; "an" / vowel} Sg
which is not accepted by the parser. The parser assigns pre { ... }, to
prededence level 4, and this is now reflected in the pretty printer, so
it prints
mkDet (pre {"a"; "an" / vowel}) Sg
(This caused a problem in GFSE since it parsers pretty printed grammars...)
2012-11-23 18:44:08 +00:00
aarne
8c986e2a25
miniresource with one module per language for a web IDE demo
2012-11-23 15:57:00 +00:00
john.j.camilleri
dbd5c56049
minibar_online.js: updated to launch Editor using a GrammarManager object
2012-11-23 15:07:51 +00:00
john.j.camilleri
7fe922d5a6
Syntax editor: now uses common GrammarManager object
2012-11-23 15:03:36 +00:00
hallgren
fe9b368b90
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
3ae7f0df0e
Syntax editor: return to editor after having switched to minibar
2012-11-23 08:25:00 +00:00
john.j.camilleri
0dac6fc783
Minibar: call abstract_action with 'this' bound to minibar object
2012-11-23 08:21:00 +00:00
john.j.camilleri
2476383b3a
Minibar: add show/hide functions
2012-11-23 08:08:13 +00:00
hallgren
8c9b90cc90
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
78a2a90903
PGFService.hs: fix type error caused by change to PGF.graphvizParseTree
...
Note that some of the graphviz functions have backwards incompatible changes
that might also affect other clients of the PGF run-time library.
Also added graphvizDefaults and export it together with GraphvizOptions from
the PGF run-time library.
2012-11-22 15:27:16 +00:00
aarne
ae0666c189
optimized a parameter in Romance clause formation
2012-11-22 15:05:01 +00:00
john.j.camilleri
8b813be742
Syntax editor: can now load minibar (in-place) from a linearised tree
2012-11-22 12:45:20 +00:00
peter.ljunglof
595c475c70
better visualization of parse trees
2012-11-22 08:50:37 +00:00
peter.ljunglof
1789272c9a
Added C compilation notes for Mac OSX
2012-11-22 08:50:49 +00:00
hallgren
1354888b31
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
bd3b512074
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
john.j.camilleri
5d5ac79b2b
Syntax editor: start with initial AST
...
Note that the argument has been renamed to initial.abstr
(Where abstr means an abstract syntax tree in string form, NOT an AST object)
2012-11-21 15:24:44 +00:00
hallgren
73a458dc66
minibar+syntax editor integration, work in progress
2012-11-21 15:07:59 +00:00
john.j.camilleri
12ed92eac2
Syntax editor: start with initial grammar, startcat, to: languages
2012-11-21 11:22:35 +00:00
john.j.camilleri
11e431d330
support.js: elem() returns false when as is undefined
2012-11-21 11:13:46 +00:00
hallgren
b62d41b8f6
gfse: remove obsolete files
2012-11-20 15:31:31 +00:00
hallgren
fdab9fab6c
GF cloud: move gf-web-api-examples.html out of minibar directory
2012-11-20 15:18:05 +00:00
john.j.camilleri
1dfa2ad5b8
Update gf.cabal to copy new common js files
2012-11-20 14:04:09 +00:00