Comment: | [njs] merge nodejs: build package for NodeJS |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | njs |
Files: | files | file ages | folders |
SHA3-256: |
3e32004d0a74cba741b5446e349375d5 |
User & Date: | olr on 2018-10-17 16:35:48 |
Other Links: | manifest | tags |
2018-10-19
| ||
14:33 | [fx] Use Shadow DOM in panel when avaible check-in: 41527933de user: IllusionPerdu tags: fx, shadowdom | |
2018-10-18
| ||
11:01 | [fr] nr: issue check-in: 98edfb0735 user: olr tags: trunk, fr | |
2018-10-17
| ||
16:35 | [njs] merge nodejs: build package for NodeJS check-in: 3e32004d0a user: olr tags: trunk, njs | |
16:07 | [njs] fix labels and few mistakes check-in: 23d95509f4 user: olr tags: njs, nodejs | |
2018-10-12
| ||
08:45 | [build] useless path check-in: cc74e8c3a7 user: olr tags: trunk, build | |
Modified gc_core/js/lang_core/gc_engine.js from [add1aa3b75] to [5c503d2a3c].
1 | 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 | + + - - + + + + + + + + - + | // Grammar checker engine /* jshint esversion:6, -W097 */ |
︙ | |||
49 50 51 52 53 54 55 | 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | + + + - + | version: "${version}", author: "${author}", //// Initialization load: function (sContext="JavaScript", sColorType="aRGB", sPath="") { try { if(typeof(process) !== 'undefined') { var spellchecker = require("../graphspell/spellchecker.js"); _oSpellChecker = new spellchecker.SpellChecker("${lang}", "", "${dic_main_filename_js}", "${dic_extended_filename_js}", "${dic_community_filename_js}", "${dic_personal_filename_js}"); |
︙ |
Modified gc_core/js/lang_core/gc_options.js from [0a97db66e9] to [ece26d7264].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 | + + - - + + | // Options for Grammalecte /* jshint esversion:6 */ |
︙ |
Modified gc_core/js/lang_core/gc_rules.js from [cdb121423e] to [4a0b977685].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | + + - + - + | // Grammar checker rules /* jshint esversion:6, -W097 */ |
Modified gc_core/js/lang_core/gc_rules_graph.js from [f9d301dd8f] to [3efb8afd5c].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 | + + - - + + | // Grammar checker graph rules /* jshint esversion:6, -W097 */ |
︙ |
Modified gc_core/js/tests.js from [1eda44faf6] to [147f1c4e7b].
1 | 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 35 36 37 38 39 | + + - - + + + + - + + + + + - + + | // JavaScript /* jshint esversion:6, -W097 */ |
︙ |
Modified gc_core/js/text.js from [c9e7670db8] to [1251d5448b].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 | + + - - + + | // JavaScript /* jshint esversion:6, -W097 */ |
︙ |
Modified gc_lang/fr/build.py from [c2d27a1c07] to [d49776adfe].
︙ | |||
8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | + | import helpers def build (sLang, dVars, spLangPack): "complementary build launched from make.py" createWebExtension(sLang, dVars) createThunderbirdExtension(sLang, dVars, spLangPack) createNodeJSPackage(sLang) def createWebExtension (sLang, dVars): "create Web-extension" print("Building WebExtension") helpers.createCleanFolder("_build/webext/"+sLang) dir_util.copy_tree("gc_lang/"+sLang+"/webext/", "_build/webext/"+sLang) |
︙ | |||
83 84 85 86 87 88 89 | 84 85 86 87 88 89 90 91 92 93 94 95 96 | + + + + + + | hZip.write("grammalecte-js/graphspell/"+sf, sAddPath+"grammalecte-js/graphspell/"+sf) for sf in os.listdir("grammalecte-js/graphspell/_dictionaries"): if not os.path.isdir("grammalecte-js/graphspell/_dictionaries/"+sf): hZip.write("grammalecte-js/graphspell/_dictionaries/"+sf, sAddPath+"grammalecte-js/graphspell/_dictionaries/"+sf) for sf in os.listdir(spLangPack): if not os.path.isdir(spLangPack+"/"+sf): hZip.write(spLangPack+"/"+sf, sAddPath+spLangPack+"/"+sf) def createNodeJSPackage (sLang): helpers.createCleanFolder("_build/nodejs/"+sLang) dir_util.copy_tree("gc_lang/"+sLang+"/nodejs/", "_build/nodejs/"+sLang) dir_util.copy_tree("grammalecte-js", "_build/nodejs/"+sLang+"/core/grammalecte") |
Modified gc_lang/fr/modules-js/conj.js from [8124143953] to [98b99c75fa].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | + + - - + + + + - + | // Grammalecte - Conjugueur // License: GPL 3 /* jshint esversion:6, -W097 */ |
︙ | |||
492 493 494 495 496 497 498 | 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 | + + + - + - + - + | } return (this.dConj.get(":Q").get(":Q4")) ? this.dConj.get(":Q").get(":Q4") : this.dConj.get(":Q").get(":Q1"); } } // Initialization if(!conj.bInit && typeof(process) !== 'undefined') { // Work with nodejs conj.init(helpers.loadFile(__dirname+"/conj_data.json")); |
︙ |
Modified gc_lang/fr/modules-js/conj_generator.js from [058e3de2f7] to [5e8295b732].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - - - - + + + + + + | // JavaScript |
︙ | |||
135 136 137 138 139 140 141 | 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | - + | [2, "isses", ":Sp:Sq:2s/*", false], [2, "isse", ":Sp:3s/*", false], [2, "ît", ":Sq:3s/*", false], [2, "is", ":E:2s/*", false], [2, "issons", ":E:1p/*", false], [2, "issez", ":E:2p/*", false] ], |
︙ |
Modified gc_lang/fr/modules-js/cregex.js from [97d67d03aa] to [53af2cbc4f].
| 1 2 3 4 5 6 7 8 9 10 11 | - - + + + + |
|
︙ |
Modified gc_lang/fr/modules-js/gce_analyseur.js from [427ee71140] to [09241345b5].
| 1 2 3 4 5 6 7 8 9 10 11 | - - + + + + |
|
︙ | |||
126 127 128 129 130 131 132 | 128 129 130 131 132 133 134 135 136 137 138 139 140 | - + | if (s.length > 1 && s.length < 16 && s.slice(0, 1).gl_isLowerCase() && (!s.slice(1).gl_isLowerCase() || /[0-9]/.test(s))) { return true; } return false; } |
Modified gc_lang/fr/modules-js/gce_date_verif.js from [f30dbe242e] to [8555f52be9].
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | - + - + - + + |
|
︙ |
Modified gc_lang/fr/modules-js/gce_suggestions.js from [ae7eaca80b] to [6c462561b6].
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - - - + + + + + + + + + - + |
|
︙ |
Modified gc_lang/fr/modules-js/lexicographe.js from [3f0da2f1ff] to [50f4dc02f6].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | + + - - + + | // Grammalecte - Lexicographe // License: MPL 2 /* jshint esversion:6, -W097 */ |
︙ |
Modified gc_lang/fr/modules-js/mfsp.js from [9d6124ec70] to [7cfc8c21b3].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | + + - - + + + + - + | // Grammalecte /* jshint esversion:6, -W097 */ |
︙ | |||
100 101 102 103 104 105 106 | 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | + + + - + | return "## erreur, code : " + sSfx + " ##"; } } }; // Initialization if(!mfsp.bInit && typeof(process) !== 'undefined') { //Nodejs mfsp.init(helpers.loadFile(__dirname+"/mfsp_data.json")); |
︙ |
Modified gc_lang/fr/modules-js/phonet.js from [07bba03053] to [71750ecf21].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | + + - + + - + + + | // Grammalecte - Suggestion phonétique /* jshint esversion:6 */ |
︙ | |||
80 81 82 83 84 85 86 | 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | + + + - + | } return aSelect; } }; // Initialization if (!phonet.bInit && typeof(process) !== 'undefined') { //Nodejs phonet.init(helpers.loadFile(__dirname+"/phonet_data.json")); |
︙ |
Modified gc_lang/fr/modules-js/textformatter.js from [a9dd9e148e] to [920d8b7cad].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | + + - - + + - + | // Grammalecte - text formatter /* jshint esversion:6, -W097 */ |
︙ | |||
81 82 83 84 85 86 87 | 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | - + | "erase_non_breaking_hyphens": [ [//g, ""] ], //// typographic signs "ts_apostrophe": [ [/\b([ldnjmtscç])['´‘′`](?=[a-zA-Zà-ö0-9À-Öø-ÿØ-ßĀ-ʯ])/ig, "$1’"], [/\b(qu|jusqu|lorsqu|puisqu|quoiqu|quelqu|presqu|entr|aujourd|prud)['´‘′`]/ig, "$1’"] ], "ts_ellipsis": [ [/\.\.\./g, "…"], [/…\.\./g, "……"], [/…\.(?!\.)/g, "…"] ], |
︙ | |||
254 255 256 257 258 259 260 | 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 | - - - + + + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + - | ["etc", true], ["missing_hyphens", true], ["ma_word", true], ["ma_1letter_lowercase", false], ["ma_1letter_uppercase", false] ]); |
Added gc_lang/fr/nodejs/cli/bin/gramma-cli.bat version [ab9b945c3f].
1 | + | @node gramma-cli.js %* |
Added gc_lang/fr/nodejs/cli/bin/gramma-cli.js version [d5a9326889].