Overview
| Comment: | [build][tb][bug] fix dictionary loading | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | trunk | build | tb | 
| Files: | files | file ages | folders | 
| SHA3-256: | cbb63cf4953b3b9274121857444f33e2 | 
| User & Date: | olr on 2018-02-17 12:46:24 | 
| Other Links: | manifest | tags | 
Context
| 2018-02-17 | ||
| 12:59 | [graphspell][js][bug] wrong exported vars + test number instead of string check-in: 8c7797db95 user: olr tags: trunk, graphspell | |
| 12:46 | [build][tb][bug] fix dictionary loading check-in: cbb63cf495 user: olr tags: trunk, build, tb | |
| 11:50 | [build][graphspell][core] build with options to integrate extended and personal dictionaries check-in: e0d79cdbf4 user: olr tags: trunk, core, build, graphspell | |
Changes
Modified gc_core/js/lang_core/gc_engine.js from [e7bf2c39e9] to [2ba338046d].
| ︙ | |||
| 319 320 321 322 323 324 325 | 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 | - + | 
    //// Initialization
    load: function (sContext="JavaScript", sPath="") {
        try {
            if (typeof(require) !== 'undefined') {
                var spellchecker = require("resource://grammalecte/graphspell/spellchecker.js");
 | 
| ︙ | 
Modified gc_lang/fr/build.py from [248d1906b2] to [ea0f7f998e].
| ︙ | |||
| 75 76 77 78 79 80 81 | 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | - + | 
def createThunderbirdExtension (sLang, dVars, spLangPack):
    "create extension for Thunderbird"
    print("Building extension for Thunderbird")
    sExtensionName = dVars['tb_identifier'] + "-v" + dVars['version'] + '.xpi'
    spfZip = "_build/" + sExtensionName
    hZip = zipfile.ZipFile(spfZip, mode='w', compression=zipfile.ZIP_DEFLATED)
 | 
| ︙ | |||
| 106 107 108 109 110 111 112 | 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | - + + - + + | 
        dVars['sXULTabPanels'] += '    </tabpanel>\n'
    # translation data
    for sLang in dVars['dOptLabel'].keys():
        dVars['gc_options_labels_'+sLang] = "\n".join( [ "<!ENTITY option.label." + sOpt + ' "' + dVars['dOptLabel'][sLang][sOpt][0] + '">'  for sOpt in dVars['dOptLabel'][sLang] ] )
    return dVars
 | 
Modified gc_lang/fr/tb/worker/gce_worker.js from [245ae8ae9c] to [eba5411b89].
| ︙ | |||
| 47 48 49 50 51 52 53 | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | - + - + - + | let gce = null; // module: grammar checker engine let text = null; let tkz = null; // module: tokenizer let lxg = null; // module: lexicographer let helpers = null; let oTokenizer = null; | 
| ︙ | |||
| 109 110 111 112 113 114 115 | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | - + | 
function resetOptions () {
    gce.resetOptions();
    return gce.getOptions().gl_toString();
}
function fullTests (sGCOptions="") {
 | 
| ︙ | 
Modified graphspell-js/spellchecker.js from [567dbb14f5] to [e878cd2181].
| ︙ | |||
| 23 24 25 26 27 28 29 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | - + - + - + | 
    ["fr", "fr.json"],
    ["en", "en.json"]
]);
class SpellChecker {
 | 
| ︙ | |||
| 155 156 157 158 159 160 161 | 155 156 157 158 159 160 161 162 163 | - + | 
        if (this.oPersonalDic) {
            yield* this.oPersonalDic.select(sPattern);
        }
    }
}
if (typeof(exports) !== 'undefined') {
 |