| Comment: | [build] merge graphspell: graphspell as independant package | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | trunk | build | 
| Files: | files | file ages | folders | 
| SHA3-256: | 37ee1a1b0df5bac5802a125828c7a090 | 
| User & Date: | olr on 2017-12-25 13:19:09 | 
| Other Links: | manifest | tags | 
| 2017-12-26 | ||
| 13:54 | [fr] pt: mettre à terre check-in: 8b6bd9b12c user: olr tags: trunk, fr | |
| 2017-12-25 | ||
| 13:19 | [build] merge graphspell: graphspell as independant package check-in: 37ee1a1b0d user: olr tags: trunk, build | |
| 08:56 | [graphspell][js][helpers] echo for JS probably obsolete now (at last!) Closed-Leaf check-in: 186604b4a0 user: olr tags: graphspell | |
| 2017-12-22 | ||
| 15:08 | [fr] formateur de texte: tiret en début de paragraphe avant points check-in: d27b7d08ff user: olr tags: trunk, fr | |
Modified gc_core/js/lang_core/gc_engine.js from [a71cf52ea3] to [c5ee3ec605].
| 1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | - + | 
// Grammar checker engine
/*jslint esversion: 6*/
/*global console,require,exports*/
"use strict";
${string}
${regex}
${map}
if (typeof(require) !== 'undefined') {
 | 
| ︙ | |||
| 318 319 320 321 322 323 324 | 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 | - + | 
    },
    //// Initialization
    load: function (sContext="JavaScript", sPath="") {
        try {
            if (typeof(require) !== 'undefined') {
 | 
| ︙ | 
Modified gc_core/js/tests.js from [4504bb3576] to [7c35f52f2d].
| 1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - + | 
// JavaScript
/*jslint esversion: 6*/
/*global console,require,exports*/
"use strict";
if (typeof(require) !== 'undefined') {
 | 
| ︙ | 
Modified gc_core/js/text.js from [abcdad5f85] to [09e0f281de].
| 1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - + | 
// JavaScript
/*jslint esversion: 6*/
/*global require,exports*/
"use strict";
if (typeof(require) !== 'undefined') {
 | 
| ︙ | 
Modified gc_core/py/lang_core/gc_engine.py from [f3dfb392d0] to [e1c3ad1859].
| 1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | - - + + | # Grammalecte # Grammar checker engine import re import sys import os import traceback #import unicodedata from itertools import chain | 
| ︙ | 
Modified gc_lang/fr/build.py from [d4197caf3b] to [9eae4b1757].
| ︙ | |||
| 35 36 37 38 39 40 41 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | - + + | 
            for sOpt in lLineOpt:
                sHTML += f'  <p><input type="checkbox" id="option_{sOpt}" class="gc_option" data-option="{sOpt}"/><label id="option_label_{sOpt}" for="option_{sOpt}" data-l10n-id="option_{sOpt}">{dVars["dOptLabel"][sLang][sOpt][0]}</label></p>\n'
        sHTML += '</div>\n'
    return sHTML
def createFirefoxExtension (sLang, dVars):
 | 
| ︙ | |||
| 79 80 81 82 83 84 85 | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | - | 
    spfZip = "_build/" + sExtensionName
    hZip = zipfile.ZipFile(spfZip, mode='w', compression=zipfile.ZIP_DEFLATED)
    _copyGrammalecteJSPackageInZipFile(hZip, spLangPack, dVars['dic_name']+".json")
    for spf in ["LICENSE.txt", "LICENSE.fr.txt"]:
        hZip.write(spf)
    dVars = _createOptionsForThunderbird(dVars)
    helpers.addFolderToZipAndFileFile(hZip, "gc_lang/"+sLang+"/tb", "", dVars, True)
 | 
| ︙ | |||
| 110 111 112 113 114 115 116 117 118 119 | 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | + + + + - | 
    return dVars
def _copyGrammalecteJSPackageInZipFile (hZip, spLangPack, sDicName, sAddPath=""):
    for sf in os.listdir("grammalecte-js"):
        if not os.path.isdir("grammalecte-js/"+sf):
            hZip.write("grammalecte-js/"+sf, sAddPath+"grammalecte-js/"+sf)
    for sf in os.listdir("grammalecte-js/graphspell"):
        if not os.path.isdir("grammalecte-js/graphspell/"+sf):
            hZip.write("grammalecte-js/graphspell/"+sf, sAddPath+"grammalecte-js/graphspell/"+sf)
    hZip.write("grammalecte-js/graphspell/_dictionaries/"+sDicName, sAddPath+"grammalecte-js/graphspell/_dictionaries/"+sDicName)
    for sf in os.listdir(spLangPack):
        if not os.path.isdir(spLangPack+"/"+sf):
            hZip.write(spLangPack+"/"+sf, sAddPath+spLangPack+"/"+sf)
 | 
Modified gc_lang/fr/build_data.py from [6a4fdb333b] to [9a16091a61].
| 1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | - - - - - + + + + + | #!python3 # FRENCH DATA BUILDER # # by Olivier R. # License: MPL 2 import json import os import itertools | 
| ︙ | 
Modified gc_lang/fr/modules-js/conj.js from [f88db6e13d] to [8bdb9ef82a].
| 1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | - + | 
// Grammalecte - Conjugueur
// License: GPL 3
/*jslint esversion: 6*/
/*global console,require,exports,self,browser*/
"use strict";
${map}
if (typeof(require) !== 'undefined') {
 | 
| ︙ | 
Modified gc_lang/fr/modules-js/lexicographe.js from [7ba6d86b3e] to [be510450a4].
| 1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | - + | 
// Grammalecte - Lexicographe
// License: MPL 2
/*jslint esversion: 6*/
/*global require,exports*/
"use strict";
${string}
${map}
if (typeof (require) !== 'undefined') {
 | 
| ︙ | 
Modified gc_lang/fr/modules-js/mfsp.js from [7c56add844] to [9d6124ec70].
| 1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - + | 
// Grammalecte
/*jslint esversion: 6*/
/*global console,require,exports,browser*/
"use strict";
if (typeof(require) !== 'undefined') {
 | 
| ︙ | 
Modified gc_lang/fr/modules-js/phonet.js from [18dd011880] to [07bba03053].
| 1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 | - + | 
// Grammalecte - Suggestion phonétique
/*jslint esversion: 6*/
if (typeof(require) !== 'undefined') {
 | 
| ︙ | 
Modified gc_lang/fr/modules/tests.py from [78ace698ff] to [3069e3edd1].
| 1 2 3 4 5 6 7 8 9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | + - + - - + | #! python3 # coding: UTF-8 import unittest import os import re import time from ..graphspell.ibdawg import IBDAWG | 
| ︙ | 
Modified gc_lang/fr/rules.grx from [25edb1d474] to [36415d04c3].
| ︙ | |||
| 5622 5623 5624 5625 5626 5627 5628 | 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 | - + - + | 
    <<- morph(\1, ">(?:sembler|para[îi]tre) ") and morphex(\3, ":A", ":G") ~2>> *
__[i](loc_suivre_de_près)__
    (suiv\w+) +((?:ça +|ce(?:ci|la) +|)de (pr[èé]s?|prêts?)) @@0,$,$
    <<- morph(\1, ">suivre ", False) >>>
    <<- \3 != "près" -3>> près                  # Confusion : écrivez “près” pour dire “proche de quelque chose”.|https://fr.wiktionary.org/wiki/pr%C3%A8s
    <<- ~2>> *
__[i](loc_tenir_à_distance)__
 | 
| ︙ | 
Added gc_lang/fr/tb/worker/gce_worker.js version [245ae8ae9c].