Changes In Branch multid Through [6c984d1387] Excluding Merge-Ins
This is equivalent to a diff from 94e2e47aea to 6c984d1387
|
2018-03-31
| ||
| 12:34 | [graphspell][py] spellchecker: option to activate dictionary while loading check-in: 2349600755 user: olr tags: graphspell, multid | |
|
2018-03-30
| ||
| 09:37 | [tb] ui to select/deselect personal dictionary check-in: 6c984d1387 user: olr tags: tb, multid | |
|
2018-03-29
| ||
| 10:00 | [tb] code cleaning check-in: 208f30234a user: olr tags: tb, multid | |
|
2018-03-12
| ||
| 13:58 | [fr] pt: chaque fois check-in: 066a99dfc3 user: olr tags: trunk, fr | |
|
2018-03-09
| ||
| 08:28 | [tb] new TB API: x-javascript > javascript check-in: 0e232d6b0f user: olr tags: tb, tbnext | |
|
2018-03-07
| ||
| 17:32 | merge trunk check-in: a693df4168 user: olr tags: multid | |
| 16:10 | [fx] hide useless panel about dictionaries for now check-in: 94e2e47aea user: olr tags: trunk, fx | |
| 16:01 | [fx] new version for WebExtension check-in: 23d108bf86 user: olr tags: trunk, fx | |
Modified gc_core/js/lang_core/gc_engine.js from [2ba338046d] to [7ee1350cd7].
| ︙ | |||
319 320 321 322 323 324 325 | 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 | - + - + |
//// Initialization
load: function (sContext="JavaScript", sPath="") {
try {
if (typeof(require) !== 'undefined') {
var spellchecker = require("resource://grammalecte/graphspell/spellchecker.js");
|
| ︙ |
Modified gc_core/py/lang_core/gc_engine.py from [b15edd00ca] to [72ecd7c680].
| ︙ | |||
288 289 290 291 292 293 294 | 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 | - + |
def load (sContext="Python"):
global _oSpellChecker
global _sAppContext
global _dOptions
try:
|
| ︙ |
Modified gc_core/py/oxt/Grammalecte.py from [1e4211990b] to [6b2cfc5228].
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | - + + |
|
| ︙ | |||
34 35 36 37 38 39 40 41 42 43 44 45 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | + + - + - |
xCurCtx = uno.getComponentContext()
# init
gce.load("Writer")
# GC options
# opt_handler.load(xCurCtx)
dOpt = Options.load(xCurCtx)
gce.setOptions(dOpt)
# dictionaries options
self.loadUserDictionaries()
# store for results of big paragraphs
self.dResult = {}
self.nMaxRes = 1500
self.lLastRes = deque(maxlen=self.nMaxRes)
self.nRes = 0
|
| ︙ | |||
132 133 134 135 136 137 138 139 140 141 142 143 144 145 | 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | + + + + + + + + + + + + |
# XServiceDisplayName
def getServiceDisplayName (self, aLocale):
return gce.name
# Grammalecte
def getSpellChecker (self):
return gce.getSpellChecker()
def loadUserDictionaries (self):
try:
xSettingNode = helpers.getConfigSetting("/org.openoffice.Lightproof_grammalecte/Other/", False)
xChild = xSettingNode.getByName("o_${lang}")
if xChild.getPropertyValue("use_personal_dic"):
sJSON = xChild.getPropertyValue("personal_dic")
if sJSON:
oSpellChecker = gce.getSpellChecker();
oSpellChecker.setPersonalDictionary(json.loads(sJSON))
except:
traceback.print_exc()
g_ImplementationHelper = unohelper.ImplementationHelper()
g_ImplementationHelper.addImplementation(Grammalecte, "org.openoffice.comp.pyuno.Lightproof."+gce.pkg, ("com.sun.star.linguistic2.Proofreader",),)
# g_ImplementationHelper.addImplementation( opt_handler.LightproofOptionsEventHandler, \
# "org.openoffice.comp.pyuno.LightproofOptionsEventHandler." + gce.pkg, ("com.sun.star.awt.XContainerWindowEventHandler",),)
|
Modified gc_core/py/oxt/OptionsDialog.xcs from [bfbbfee5a6] to [3732fcdcec].
| ︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | + + + + + + + + + + + + + + + + |
<templates>
<group oor:name="${lang}">
<info>
<desc>The data for one leaf.</desc>
</info>
${xcs_options}
</group>
<group oor:name="o_${lang}">
<info>
<desc>The data for one leaf.</desc>
</info>
<prop oor:name="use_graphspell" oor:type="xs:int"><value>1</value></prop>
<prop oor:name="use_graphspell_sugg" oor:type="xs:int"><value>1</value></prop>
<prop oor:name="use_extended_dic" oor:type="xs:int"><value>0</value></prop>
<prop oor:name="use_personal_dic" oor:type="xs:int"><value>1</value></prop>
<prop oor:name="extended_dic" oor:type="xs:string"><value></value></prop>
<prop oor:name="personal_dic" oor:type="xs:string"><value></value></prop>
</group>
</templates>
<component>
<group oor:name="Leaves">
<node-ref oor:name="${lang}" oor:node-type="${lang}" />
</group>
<group oor:name="Other">
<node-ref oor:name="o_${lang}" oor:node-type="o_${lang}" />
</group>
</component>
</oor:component-schema>
|
Added gc_core/py/oxt/helpers.py version [f3ef6493bc].
|
Modified gc_lang/fr/config.ini from [eb081b50e5] to [cac02a5706].
| ︙ | |||
18 19 20 21 22 23 24 25 26 27 28 29 30 31 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | + + + + | lexicon_src = lexicons/French.lex dic_filename = fr dic_name = French # extended dictionary lexicon_extended_src = lexicons/French.extended.lex dic_extended_filename = fr.extended dic_extended_name = Français - dictionnaire étendu # community dictionary lexicon_community_src = lexicons/French.community.lex dic_community_filename = fr.community dic_community_name = Français - dictionnaire communautaire # personal dictionary lexicon_personal_src = lexicons/French.personal.lex dic_personal_filename = fr.personal dic_personal_name = Français - dictionnaire personnel # Finite state automaton compression: 1, 2 (experimental) or 3 (experimental) fsa_method = 1 # stemming method: S for suffixes only, A for prefixes and suffixes |
| ︙ | |||
71 72 73 74 75 76 77 | 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | - + + + + + + + + + | oxt/_img/logo120_text.png = img/logo120_text.png oxt/_img/LaMouette_small.png = img/LaMouette_small.png oxt/_img/Algoo_logo.png = img/Algoo_logo.png oxt/_img/grammalecte_16.bmp = img/grammalecte_16.bmp oxt/_img/french_flag_16.bmp = img/french_flag_16.bmp # AppLauncher oxt/AppLauncher.py = AppLauncher.py |
| ︙ |
Added gc_lang/fr/modules-js/conj_generator.js version [058e3de2f7].