Overview
Comment: | [fx][core] extension.getURL -> runtime.getURL |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | core | fx |
Files: | files | file ages | folders |
SHA3-256: |
a1ab0ad435d4c012e6883e4fb641f8aa |
User & Date: | olr on 2020-07-10 13:09:58 |
Other Links: | manifest | tags |
Context
2020-07-10
| ||
13:38 | [tb] useless permissions check-in: d7e571ac2c user: olr tags: trunk, tb | |
13:09 | [fx][core] extension.getURL -> runtime.getURL check-in: a1ab0ad435 user: olr tags: trunk, core, fx | |
12:57 | [core] remove obsolete cruft about importation for Thunderbird/Firefox Addon-SDK check-in: c8ed6a6f41 user: olr tags: trunk, core | |
Changes
Modified gc_lang/fr/modules-js/conj.js from [6b8df706bd] to [9439cc3700].
︙ | |||
602 603 604 605 606 607 608 | 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 | - + - + | // Initialization if(!conj.bInit && typeof(process) !== 'undefined') { // NodeJS conj.init(helpers.loadFile(__dirname+"/conj_data.json")); } else if (!conj.bInit && typeof(browser) !== 'undefined') { // WebExtension Standard (but not in Worker) |
︙ |
Modified gc_lang/fr/modules-js/mfsp.js from [abc12c1177] to [060aa1f919].
︙ | |||
104 105 106 107 108 109 110 | 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | - + | // Initialization if (!mfsp.bInit && typeof(process) !== 'undefined') { // NodeJS mfsp.init(helpers.loadFile(__dirname+"/mfsp_data.json")); } else if (!mfsp.bInit && typeof(browser) !== 'undefined') { // WebExtension |
︙ |
Modified gc_lang/fr/modules-js/phonet.js from [591db698ab] to [0562e85836].
︙ | |||
88 89 90 91 92 93 94 | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | - + | // Initialization if (!phonet.bInit && typeof(process) !== 'undefined') { // NodeJS phonet.init(helpers.loadFile(__dirname+"/phonet_data.json")); } else if (!phonet.bInit && typeof(browser) !== 'undefined') { // WebExtension |
︙ |
Modified gc_lang/fr/webext/background.js from [713fa99463] to [58462d987c].
︙ | |||
197 198 199 200 201 202 203 | 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 | - + - + | let dOptions = (oSavedOptions.hasOwnProperty("gc_options")) ? oSavedOptions.gc_options : null; if (dOptions !== null && Object.getOwnPropertyNames(dOptions).length == 0) { console.log("# Error: the saved options was an empty object."); dOptions = null; } oWorkerHandler.xGCEWorker.postMessage({ sCommand: "init", |
︙ | |||
353 354 355 356 357 358 359 | 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 | - + | default: console.log("[background] Unknown command: " + sCommand); console.log(oRequest); } }); //xPort.postMessage({sActionDone: "newId", result: iPortId}); //console.log("[Grammalecte] init connection to content-script"); |
︙ | |||
508 509 510 511 512 513 514 | 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 | - + - + - + - + - + - + - + - + | } } function openLexiconEditor (sName="__personal__") { if (nTabLexiconEditor === null) { if (bChrome) { browser.tabs.create({ |
Modified gc_lang/fr/webext/content_scripts/init.js from [1238d56b74] to [5c993e4d0a].
︙ | |||
34 35 36 37 38 39 40 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | - + | bThunderbird = true; //console.log("[Grammalecte] Thunderbird..."); } /* function loadImage (sContainerClass, sImagePath) { let xRequest = new XMLHttpRequest(); |
︙ | |||
581 582 583 584 585 586 587 | 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 | - + | catch (e) { showError(e); } }); // The API script must be injected this way to be callable by the page let xScriptGrammalecteAPI = document.createElement("script"); |
Modified gc_lang/fr/webext/panel/lex_editor.js from [621914c742] to [f63b876c0b].
︙ | |||
780 781 782 783 784 785 786 | 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 | - + | const oSearch = { oSpellChecker: null, load: function () { |
︙ |
Modified gc_lang/fr/webext/panel/main.js from [0cb6672536] to [2b924690ef].
︙ | |||
78 79 80 81 82 83 84 | 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | - + | else if (xElem.id.startsWith("spelling_")) { updateSpellingChoiceUI(xElem.id); let sMainDicName = document.getElementById(xElem.id).dataset.dicname; browser.storage.local.set({"main_dic_name": sMainDicName}); browser.runtime.sendMessage({ sCommand: "setDictionary", oParam: { sDictionary: "main", oDict: sMainDicName }, |
︙ |