Changes In Branch tbnext Through [ebe0fa1663] Excluding Merge-Ins
This is equivalent to a diff from 94e2e47aea to ebe0fa1663
2018-04-12
| ||
08:56 | [tb] disable dictionaries selection feature (dead feature) check-in: 2df5bf202b user: olr tags: tb, tbnext | |
2018-04-11
| ||
16:02 | [tb] update: another day in the endless JS pile of shit check-in: ebe0fa1663 user: olr tags: tb, tbnext | |
14:04 | [tb] attempt to fix windows height, but it’s broken… check-in: fb01f0170d user: olr tags: tb, tbnext | |
2018-03-12
| ||
13:58 | [fr] pt: chaque fois check-in: 066a99dfc3 user: olr tags: trunk, fr | |
2018-03-09
| ||
08:28 | [tb] new TB API: x-javascript > javascript check-in: 0e232d6b0f user: olr tags: tb, tbnext | |
2018-03-07
| ||
17:32 | merge trunk check-in: a693df4168 user: olr tags: multid | |
16:10 | [fx] hide useless panel about dictionaries for now check-in: 94e2e47aea user: olr tags: trunk, fx | |
16:01 | [fx] new version for WebExtension check-in: 23d108bf86 user: olr tags: trunk, fx | |
Modified gc_lang/fr/build.py from [9ca6336e46] to [039403a815].
︙ | |||
87 88 89 90 91 92 93 | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | - - + + + + + | helpers.addFolderToZipAndFileFile(hZip, "gc_lang/"+sLang+"/tb", "", dVars, True) spDict = "gc_lang/"+sLang+"/xpi/data/dictionaries" for sp in os.listdir(spDict): if os.path.isdir(spDict+"/"+sp): hZip.write(spDict+"/"+sp+"/"+sp+".dic", "content/dictionaries/"+sp+"/"+sp+".dic") hZip.write(spDict+"/"+sp+"/"+sp+".aff", "content/dictionaries/"+sp+"/"+sp+".aff") hZip.close() |
︙ |
Modified gc_lang/fr/config.ini from [eb081b50e5] to [76ab9009a0].
︙ | |||
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | + + + + + + + | win_fx_nightly_path = C:\Program Files\Nightly\firefox.exe linux_fx_dev_path = /usr/bin/firefox linux_fx_nightly_path = /usr/bin/firefox # Thunderbird tb_identifier = French-GC-TB@grammalecte.net tb_name = Grammalecte [fr] win_tb_path = C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe #win_tb_beta_path = C:\Program Files (x86)\Mozilla Thunderbird (Beta)\thunderbird.exe win_tb_beta_path = C:\Program Files (x86)\Mozilla Thunderbird (Beta)\thunderbird.exe linux_tb_path = /usr/bin/thunderbird linux_tb_beta_path = /usr/bin/thunderbird win_tb_debug_extension_path = D:\_temp\tb-debug.profile\extensions\French-GC-TB@grammalecte.net linux_tb_debug_extension_path = ~/tb-debug.profile/extensions/French-GC-TB@grammalecte.net win_tb_beta_extension_filepath = D:\_temp\tb-beta.profile\extensions\French-GC-TB@grammalecte.net.xpi linux_tb_beta_extension_filepath = ~/tb-beta.profile/extensions/French-GC-TB@grammalecte.net.xpi # Set Thunderbird folder in your PATH variable # Create a local profile: # thunderbird -CreateProfile "debug _build\tb-debug.profile" # Or you can use the GUI with: # thunderbird -P # To launch Thunderbird with the profile debug, type: # thunderbird -P debug |
︙ |
Modified gc_lang/fr/tb/chrome.manifest from [39608040f5] to [a8f859a2c4].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 | - + | # https://developer.mozilla.org/en-US/docs/Chrome_Registration content grammarchecker content/ content promiseworker ./worker/ resource grammalecte ./grammalecte-js/ locale grammarchecker fr locale/fr/ locale grammarchecker en locale/en/ skin grammarchecker classic/1.0 skin/ overlay chrome://messenger/content/messengercompose/messengercompose.xul chrome://grammarchecker/content/overlay.xul |
Modified gc_lang/fr/tb/content/about.css from [d621de3251] to [0c03b7bf9e].
︙ | |||
21 22 23 24 25 26 27 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | + + + + + + + + + + + + + + + + + + + | #contrib { font-size: 16px; text-align: center; color: hsl(210, 50%, 50%); cursor: pointer; } /* TB Next: fix dialogheaders */ dialogheader { -moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader"); margin: 0 5px 5px; border: 1px solid ThreeDDarkShadow; padding: 5px 8px; background-color: Highlight; color: HighlightText; } .dialogheader-title { margin: 0 !important; font-size: larger; font-weight: bold; } |
Modified gc_lang/fr/tb/content/about.js from [2bc9ad5ee7] to [94f44e1159].
1 2 3 4 | 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 | - + - - - - - + - + + - + | // JavaScript const Cc = Components.classes; const Ci = Components.interfaces; |
Modified gc_lang/fr/tb/content/about.xul from [fc21852913] to [9407ba6c78].
︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 | - + | onclick="openInTabURL('http://lamouette.org/?from=grammalecte-tb');" /> <label class="stdlabel" value="&" /> <image src="chrome://grammarchecker/skin/Algoo_logo.png" style="cursor: pointer;" onclick="openInTabURL('https://www.algoo.fr/?from=grammalecte-tb');" /> <label id="contrib" value="&contrib;" onclick="openInTabURL('https://www.dicollecte.org/#thanks');" /> |
Modified gc_lang/fr/tb/content/conjugueur.css from [0ecfe596a1] to [f9d44fa63b].
︙ | |||
37 38 39 40 41 42 43 | 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 | + + + + + + + + + + + + + + + + + + + | color: hsl(210, 50%, 50%); font-size: 13px; font-weight: bold; } label.cj { font-size: 11px; } /* TB Next: fix dialogheaders */ dialogheader { -moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader"); margin: 0 5px 5px; border: 1px solid ThreeDDarkShadow; padding: 5px 8px; background-color: Highlight; color: HighlightText; } .dialogheader-title { margin: 0 !important; font-size: larger; font-weight: bold; } |
Modified gc_lang/fr/tb/content/conjugueur.js from [52fcb1616a] to [7858c1ae9f].
1 2 | 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 40 41 42 43 44 45 46 | - - - + + + - - - - - - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + - + | // JavaScript |
︙ | |||
81 82 83 84 85 86 87 | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | - + | if (!conj.isVerb(sVerb)) { document.getElementById('verb').style = "color: #BB4411;"; } else { document.getElementById('verb_title').textContent = sVerb; document.getElementById('verb').style = "color: #999999;"; document.getElementById('verb').value = ""; |
︙ | |||
125 126 127 128 129 130 131 | 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | + - + | document.getElementById('otco').style = "color: #000;"; } this._displayResults(); } } } catch (e) { console.error(e); |
︙ | |||
235 236 237 238 239 240 241 | 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 | + - + | document.getElementById('condb4').textContent = " "; document.getElementById('condb5').textContent = " "; document.getElementById('condb6').textContent = " "; } document.getElementById('verb').Text = ""; } catch (e) { console.error(e); |
︙ | |||
264 265 266 267 268 269 270 | 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 | + - + + - | document.getElementById('simp_temps').textContent = "Plus-que-parfait"; document.getElementById('conda_temps').textContent = "Passé (1ʳᵉ forme)"; document.getElementById('condb_temps').textContent = "Passé (2ᵉ forme)"; document.getElementById('impe_temps').textContent = "Passé"; } } catch (e) { console.error(e); |
Modified gc_lang/fr/tb/content/conjugueur.xul from [ee8b63b554] to [70a4bfd479].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - + | <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://grammarchecker/content/conjugueur.css" type="text/css"?> <dialog id="grammalecte-conjugueur-window" title="Grammalecte · Conjugueur…" orient="vertical" |
︙ | |||
150 151 152 153 154 155 156 | 150 151 152 153 154 155 156 157 158 159 160 | + + - + | <label id="condb4" class="cj">.</label> <label id="condb5" class="cj">.</label> <label id="condb6" class="cj">.</label> </groupbox> </column> </columns> <script type="application/javascript" src="resource://grammalecte/graphspell/helpers.js"/> <script type="application/javascript" src="resource://grammalecte/fr/conj.js"/> |
Modified gc_lang/fr/tb/content/editor.js from [71421bf6bc] to [80f443c01c].
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 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 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 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | - - + - + + - + + - + + - + + - + + - + | } }; * _getParsableNodes (xRootNode=this.xEditor.rootElement) { // recursive function try { for (let xNode of xRootNode.childNodes) { |
Modified gc_lang/fr/tb/content/gc_options.css from [6199209734] to [df2e253402].
1 2 3 4 5 6 7 | 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 | + + + + + + + + + + + + + + + + + + + | /* CSS */ .section { font-size: 16px; font-weight: bold; color: hsl(210, 50%, 50%); } /* TB Next: fix dialogheaders */ dialogheader { -moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader"); margin: 0 5px 5px; border: 1px solid ThreeDDarkShadow; padding: 5px 8px; background-color: Highlight; color: HighlightText; } .dialogheader-title { margin: 0 !important; font-size: larger; font-weight: bold; } |
Modified gc_lang/fr/tb/content/gc_options.js from [f85fde1089] to [ed480efba2].
1 2 3 4 | 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 40 41 42 43 44 45 | - + - - - - - - + - + - + - + | // JavaScript const Cc = Components.classes; const Ci = Components.interfaces; |
︙ |
Modified gc_lang/fr/tb/content/gc_options.xul from [8e6b4a963d] to [65926a1200].
︙ | |||
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 | - + | ${sXULTabs} </tabs> <tabpanels> ${sXULTabPanels} </tabpanels> </tabbox> |
Added gc_lang/fr/tb/content/options.css version [20756f5a2f].
|
Added gc_lang/fr/tb/content/options.js version [7635023546].
|
Modified gc_lang/fr/tb/content/options.xul from [4546c76788] to [b4b7f2b7c3].
| 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 | - + + - + + - - + + + + + + + + + + - - - + + + - - - - - - - + + - - - - - + + + |
|
Modified gc_lang/fr/tb/content/overlay.css from [778a1d344a] to [8c73a24356].
︙ | |||
183 184 185 186 187 188 189 | 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 | + + + + + + + + + + + + + + + + + + + | /* elems */ .bs, .pleo, .neg, .redon1, .redon2, .mc, .date, .notype { background-color: hsl(180, 50%, 40%); color: hsl(180, 10%, 96%); border-radius: 3px; } /* TB Next: fix dialogheaders */ dialogheader { -moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader"); margin: 0 5px 5px; border: 1px solid ThreeDDarkShadow; padding: 5px 8px; background-color: Highlight; color: HighlightText; } .dialogheader-title { margin: 0 !important; font-size: larger; font-weight: bold; } |
Modified gc_lang/fr/tb/content/overlay.js from [0f3db968a0] to [7e10d11d8c].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | - + - - + + - - - - - + + - - - - - - | // JavaScript "use strict"; const Cc = Components.classes; const Ci = Components.interfaces; const Cu = Components.utils; |
︙ | |||
43 44 45 46 47 48 49 | 34 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 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 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + | var oGrammarChecker = { // you must use var to be able to call this object from elsewhere xGCEWorker: null, bDictActive: null, loadGC: function () { if (this.xGCEWorker === null) { // Grammar checker |
︙ | |||
167 168 169 170 171 172 173 | 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | + - + - + + - + | document.getElementById("grammalecte-errors").appendChild(xNodeP); } return nParagraph; }).then(function (res) { that.setInfo("Nombre de paragraphes analysés : " + res); }, function (e) { that.setInfo("Erreur : " + e.message); console.error(e); |
︙ | |||
245 246 247 248 249 250 251 | 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 | + - + | xParagraphNode.appendChild(document.createTextNode(this._purgeTags(sParagraph.slice(nEndLastErr)))); xResultNode.appendChild(xParagraphNode); for (let xNode of lNodeError) { xResultNode.appendChild(xNode); } } catch (e) { console.error(e); |
︙ | |||
359 360 361 362 363 364 365 | 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 | + - + - + | } } else { xNodeSuggLine.appendChild(document.createTextNode("Aucune suggestion.")); } } catch (e) { xNodeSuggLine.appendChild(document.createTextNode("# Erreur : dictionnaire orthographique introuvable.")); console.error(e); |
︙ | |||
396 397 398 399 400 401 402 | 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 | + - + + - + + - + + - + + - + - + - + - + - + - + | xNavBar.setAttribute("currentset", aSet.join(",")); xNavBar.currentSet = aSet.join(","); document.persist(xNavBar.id, "currentset"); try { BrowserToolboxCustomizeDone(true); } catch (e) { console.error(e); |
︙ | |||
520 521 522 523 524 525 526 | 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 | + - + + - + + - + - + | } }, _setDictionary: function (sDicName, sOptName) { try { oSpellControl.setExtensionDictFolder(sDicName, prefs.getBoolPref(sOptName)); } catch (e) { console.error(e); |
︙ | |||
599 600 601 602 603 604 605 | 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 | + - + | xNode.checked = (xNode.getAttribute('data-default') === "true"); if (xNode.id.startsWith("o_group_")) { this.switchGroup(xNode.id); } } } catch (e) { console.error(e); |
︙ | |||
871 872 873 874 875 876 877 | 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 | + - + - - + + - + + - + | // end of processing //window.setCursor("auto"); // restore pointer const t1 = Date.now(); document.getElementById('time_res').textContent = this.getTimeRes((t1-t0)/1000); } catch (e) { console.error(e); |
︙ |
Modified gc_lang/fr/tb/content/overlay.xul from [f4f8642995] to [32fb17e890].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | - - - - + + + + + + | <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="chrome://grammarchecker/content/overlay.css" type="text/css"?> <!DOCTYPE overlay SYSTEM "chrome://grammarchecker/locale/overlay.dtd"> <overlay id="grammarchecker-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
︙ |
Modified gc_lang/fr/tb/content/spell_options.css from [2179034562] to [870a0276f1].
︙ | |||
11 12 13 14 15 16 17 | 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 | + + + + + + + + + + + + + + + + + + + | font-weight: bold; color: hsl(210, 50%, 50%); } .dicdescr { margin-left: 27px; } /* TB Next: fix dialogheaders */ dialogheader { -moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader"); margin: 0 5px 5px; border: 1px solid ThreeDDarkShadow; padding: 5px 8px; background-color: Highlight; color: HighlightText; } .dialogheader-title { margin: 0 !important; font-size: larger; font-weight: bold; } |
Modified gc_lang/fr/tb/content/spell_options.js from [9ebffece09] to [9eecd62e61].
1 2 3 4 5 6 7 | 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 40 41 42 43 44 45 46 | - + - - - - - - + - + + - + | // JavaScript "use strict"; const Cc = Components.classes; const Ci = Components.interfaces; |
Modified gc_lang/fr/tb/content/spell_options.xul from [5453a7e2cc] to [9ae03c5ef3].
︙ | |||
8 9 10 11 12 13 14 | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | - + | id="grammalecte-spelloptions-window" title="&window.title;" orient="vertical" buttons="accept,cancel" ondialogaccept="oDialogControl.setDictionaries();" ondialogcancel="return;" width="400" |
︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 | - - + + | <description class="dicdescr">&option.classic.descr;</description> <checkbox id="fr-FR-reform" class="option" label="&option.reform.label;" /> <description class="dicdescr">&option.reform.descr;</description> <checkbox id="fr-FR-classic-reform" class="option" label="&option.allvar.label;" /> <description class="dicdescr">&option.allvar.descr;</description> </groupbox> |
Modified gc_lang/fr/tb/content/spellchecker.js from [3be1484aff] to [f4fc6376bf].
1 2 3 | 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 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 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 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | - + - - + + - + - - - - + + + + + - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | // JavaScript /* |
Modified gc_lang/fr/tb/install.rdf from [c98ee16b92] to [b2386a183b].
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 | - + - - + + | <?xml version="1.0" encoding="UTF-8"?> <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <Description about="urn:mozilla:install-manifest"> <em:id>${tb_identifier}</em:id> <em:name>${tb_name}</em:name> <em:type>2</em:type> <em:version>${version}</em:version> <em:creator>${author}</em:creator> <em:description>${description}</em:description> <em:homepageURL>${link}</em:homepageURL> |
Modified gc_lang/fr/tb/locale/en/options.dtd from [071253db94] to [5fe56718ba].
| 1 2 3 4 5 6 | - - + + - - - + + |
|
Modified gc_lang/fr/tb/locale/fr/options.dtd from [a50c0f39f8] to [37a043f079].
| 1 2 3 4 | - - + + - - - |
|
Modified graphspell-js/helpers.js from [b70dea39e2] to [d93f7e0941].
︙ | |||
49 50 51 52 53 54 55 | 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | - - + - - - - - - | loadFile: function (spf) { // load ressources in workers (suggested by Mozilla extensions reviewers) // for more options have a look here: https://gist.github.com/Noitidart/ec1e6b9a593ec7e3efed // if not in workers, use sdk/data.load() instead try { let xRequest; |
︙ |
Modified make.py from [dbe9299caf] to [4008460ad6].
︙ | |||
361 362 363 364 365 366 367 368 369 370 371 372 373 374 | 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 | + | xParser.add_argument("-pm", "--perf_memo", help="run performance tests and store results in perf_memo.txt", action="store_true") xParser.add_argument("-js", "--javascript", help="JavaScript build for Firefox", action="store_true") xParser.add_argument("-aed", "--add_extended_dictionary", help="add extended dictionary to the build", action="store_true") xParser.add_argument("-apd", "--add_personal_dictionary", help="add personal dictionary to the build", action="store_true") xParser.add_argument("-fx", "--firefox", help="Launch Firefox Developper for WebExtension testing", action="store_true") xParser.add_argument("-we", "--web_ext", help="Launch Firefox Nightly for WebExtension testing", action="store_true") xParser.add_argument("-tb", "--thunderbird", help="Launch Thunderbird", action="store_true") xParser.add_argument("-tbb", "--thunderbird_beta", help="Launch Thunderbird Beta", action="store_true") xParser.add_argument("-i", "--install", help="install the extension in Writer (path of unopkg must be set in config.ini)", action="store_true") xArgs = xParser.parse_args() if xArgs.build_data: xArgs.build_data_before = True xArgs.build_data_after = True |
︙ | |||
446 447 448 449 450 451 452 | 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 | + + - + + + + + | else: # Firefox Nightly edition spfFirefox = dVars['win_fx_nightly_path'] if platform.system() == "Windows" else dVars['linux_fx_nightly_path'] os.system(r'web-ext run --firefox="' + spfFirefox + '" --browser-console --firefox-profile=debug') # Thunderbird if xArgs.thunderbird: spfThunderbird = '"'+dVars['win_tb_path']+'"' if platform.system() == "Windows" else dVars['linux_tb_path'] print(spfThunderbird) |