Changes In Branch webext2_fix Through [5dd4693a8f] Excluding Merge-Ins
This is equivalent to a diff from fd7a9b5ca3 to 5dd4693a8f
2017-08-08
| ||
17:45 | [core] set isInit to true when the object was initialized check-in: 6cea30d5de user: IllusionPerdu tags: core, webext2_fix | |
17:31 | [core] add isInit in object conj, phonet, mfsp to prevent loading data twice check-in: 5dd4693a8f user: IllusionPerdu tags: core, webext2_fix | |
17:25 | [fx] conjugueur: panneau et onglet check-in: 1f91810c3d user: olr tags: fx, webext2 | |
17:07 | [core] move require helper at the top of conj.js (following the same logic everywhere) check-in: eb74ef2889 user: IllusionPerdu tags: core, webext2_fix | |
16:39 | [fx] merge webext2 check-in: 1eac03608e user: IllusionPerdu tags: fx, webext2_fix | |
13:08 | [fx] attempt for the lexicographer (can’t work that way, it seems) check-in: fd7a9b5ca3 user: olr tags: fx, webext2 | |
2017-08-07
| ||
15:09 | [fx] tests with context menus check-in: f7b29b571c user: olr tags: fx, webext2 | |
Modified gc_core/js/text.js from [46a1749c2b] to [2699625d4c].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - + | // JavaScript "use strict"; |
︙ |
Modified gc_core/js/tokenizer.js from [fcd058bf6a] to [c0e5d0e035].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | - + | // JavaScript // Very simple tokenizer "use strict"; |
︙ |
Modified gc_lang/fr/modules-js/conj.js from [abb72eabf4] to [2cae186485].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 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 | + + + + + | // Grammalecte - Conjugueur // License: GPL 3 "use strict"; ${map} if (typeof(require) !== 'undefined') { var helpers = require("resource://grammalecte/helpers.js"); } var conj = { _lVtyp: [], _lTags: [], _dPatternConj: {}, _dVerb: {}, isInit: false, init: function (sJSONData) { try { let _oData = JSON.parse(sJSONData); this._lVtyp = _oData.lVtyp; this._lTags = _oData.lTags; this._dPatternConj = _oData.dPatternConj; this._dVerb = _oData.dVerb; |
︙ | |||
474 475 476 477 478 479 480 | 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 | - + - + - - + + + | } return (this.dConj.get(":PQ").get(":Q4")) ? this.dConj.get(":PQ").get(":Q4") : this.dConj.get(":PQ").get(":Q1"); } } // Initialization |
︙ |
Modified gc_lang/fr/modules-js/gce_suggestions.js from [db0ba9f8a1] to [b1d136482e].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | //// GRAMMAR CHECKING ENGINE PLUGIN: Suggestion mechanisms |
︙ |
Modified gc_lang/fr/modules-js/lexicographe.js from [a348883011] to [9672629a43].
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 | - + | // Grammalecte - Lexicographe // License: MPL 2 "use strict"; ${string} ${map} |
︙ |
Modified gc_lang/fr/modules-js/mfsp.js from [5ce8b4f9f6] to [3d581c8015].
︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | + | _lTagMiscPlur: [], _lTagMasForm: [], // dictionary of words with uncommon plurals (-x, -ux, english, latin and italian plurals) and tags to generate them _dMiscPlur: new Map(), // dictionary of feminine forms and tags to generate masculine forms (singular and plural) _dMasForm: new Map(), isInit: false, init: function (sJSONData) { try { let _oData = JSON.parse(sJSONData); this._lTagMiscPlur = _oData.lTagMiscPlur; this._lTagMasForm = _oData.lTagMasForm; this._dMiscPlur = helpers.objectToMap(_oData.dMiscPlur); this._dMasForm = helpers.objectToMap(_oData.dMasForm); |
︙ | |||
96 97 98 99 100 101 102 | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | - + - + + + | return "## erreur, code : " + sSfx + " ##"; } } }; // Initialization |
︙ |
Modified gc_lang/fr/modules-js/phonet.js from [742b1a34db] to [b606739764].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | + | // Grammalecte - Suggestion phonétique if (typeof(require) !== 'undefined') { var helpers = require("resource://grammalecte/helpers.js"); } var phonet = { _dWord: new Map(), _lSet: [], _dMorph: new Map(), isInit: false, init: function (sJSONData) { try { let _oData = JSON.parse(sJSONData); this._dWord = helpers.objectToMap(_oData.dWord); this._lSet = _oData.lSet; this._dMorph = helpers.objectToMap(_oData.dMorph); } |
︙ | |||
77 78 79 80 81 82 83 | 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | - + - + + + | } return aSelect; } }; // Initialization |
︙ |