Changes In Branch mailext Through [1c2ff3e7cc] Excluding Merge-Ins
This is equivalent to a diff from 3d30d02ecf to 1c2ff3e7cc
|
2020-07-04
| ||
| 17:54 | [tb][fx][build] update WebExtension and build for MailExtension check-in: 0f4799907d user: olr tags: build, tb, fx, mailext | |
| 10:23 | [fr] conf: tandis que, + phonet_simil: tandis / tendis / tendit check-in: ee8c478284 user: olr tags: trunk, fr | |
| 09:12 | [tb][build] update build and manifest check-in: 1c2ff3e7cc user: olr tags: build, tb, mailext | |
|
2020-07-02
| ||
| 12:57 | [tb] remove deprecated files check-in: ababfdea33 user: olr tags: tb, mailext | |
| 12:23 | [tb] MailExtension for Thunderbird 78 check-in: 4c21586958 user: olr tags: tb, mailext | |
| 09:04 | [fr] faux positif et ajustements check-in: 3d30d02ecf user: olr tags: trunk, fr | |
|
2020-07-01
| ||
| 06:17 | [fr] ajustements check-in: f4c70b8022 user: olr tags: trunk, fr | |
Modified gc_lang/fr/build.py from [43a9cad18e] to [4c6f440200].
| ︙ | ︙ | |||
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
from distutils import dir_util, file_util
import helpers
def build (sLang, dVars):
"complementary build launched from make.py"
createWebExtension(sLang, dVars)
convertWebExtensionForChrome(sLang, dVars)
createMailExtension(sLang, dVars)
createNodeJSPackage(sLang)
def createWebExtension (sLang, dVars):
"create Web-extension"
print("> Building WebExtension for Firefox")
helpers.createCleanFolder("_build/webext/"+sLang)
dir_util.copy_tree("gc_lang/"+sLang+"/webext/", "_build/webext/"+sLang)
dir_util.copy_tree("grammalecte-js", "_build/webext/"+sLang+"/grammalecte")
| > < | 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 |
from distutils import dir_util, file_util
import helpers
def build (sLang, dVars):
"complementary build launched from make.py"
dVars['webextOptionsHTML'] = _createOptionsForWebExtension(dVars)
createWebExtension(sLang, dVars)
convertWebExtensionForChrome(sLang, dVars)
createMailExtension(sLang, dVars)
createNodeJSPackage(sLang)
def createWebExtension (sLang, dVars):
"create Web-extension"
print("> Building WebExtension for Firefox")
helpers.createCleanFolder("_build/webext/"+sLang)
dir_util.copy_tree("gc_lang/"+sLang+"/webext/", "_build/webext/"+sLang)
dir_util.copy_tree("grammalecte-js", "_build/webext/"+sLang+"/grammalecte")
helpers.copyAndFileTemplate("_build/webext/"+sLang+"/manifest.json", "_build/webext/"+sLang+"/manifest.json", dVars)
helpers.copyAndFileTemplate("_build/webext/"+sLang+"/panel/main.html", "_build/webext/"+sLang+"/panel/main.html", dVars)
with helpers.CD("_build/webext/"+sLang):
os.system("web-ext build")
# Copy Firefox zip extension to _build
helpers.moveFolderContent("_build/webext/"+sLang+"/web-ext-artifacts", "_build", "firefox-", True)
|
| ︙ | ︙ | |||
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
spfZip = "_build/" + dVars['tb_identifier'] + "-v" + dVars['version'] + '.mailext.xpi'
hZip = zipfile.ZipFile(spfZip, mode='w', compression=zipfile.ZIP_DEFLATED)
_copyGrammalecteJSPackageInZipFile(hZip, sLang)
for spf in ["LICENSE.txt", "LICENSE.fr.txt"]:
hZip.write(spf)
dVars = _createOptionsForThunderbird(dVars)
helpers.addFolderToZipAndFileFile(hZip, "gc_lang/"+sLang+"/mailext", "", dVars, True)
hZip.close()
#spExtension = dVars['win_tb_debug_extension_path'] if platform.system() == "Windows" else dVars['linux_tb_debug_extension_path']
#if os.path.isdir(spExtension):
# file_util.copy_file(spfZip, spExtension + "/" + dVars['tb_identifier']+ ".xpi") # Filename for TB is just <identifier.xpi>
# print(f"TB extension copied in <{spExtension}>")
#spExtension = dVars['win_tb_beta_extension_path'] if platform.system() == "Windows" else dVars['linux_tb_beta_extension_path']
#if os.path.isdir(spExtension):
| > > > > > > | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
spfZip = "_build/" + dVars['tb_identifier'] + "-v" + dVars['version'] + '.mailext.xpi'
hZip = zipfile.ZipFile(spfZip, mode='w', compression=zipfile.ZIP_DEFLATED)
_copyGrammalecteJSPackageInZipFile(hZip, sLang)
for spf in ["LICENSE.txt", "LICENSE.fr.txt"]:
hZip.write(spf)
dVars = _createOptionsForThunderbird(dVars)
helpers.addFolderToZipAndFileFile(hZip, "gc_lang/"+sLang+"/mailext", "", dVars, True)
helpers.addFolderToZipAndFileFile(hZip, "gc_lang/"+sLang+"/webext/3rd", "3rd", dVars, True)
helpers.addFolderToZipAndFileFile(hZip, "gc_lang/"+sLang+"/webext/_locales", "_locales", dVars, True)
helpers.addFolderToZipAndFileFile(hZip, "gc_lang/"+sLang+"/webext/content_scripts", "content_scripts", dVars, True)
helpers.addFolderToZipAndFileFile(hZip, "gc_lang/"+sLang+"/webext/fonts", "fonts", dVars, True)
helpers.addFolderToZipAndFileFile(hZip, "gc_lang/"+sLang+"/webext/img", "img", dVars, True)
helpers.addFolderToZipAndFileFile(hZip, "gc_lang/"+sLang+"/webext/panel", "panel", dVars, True)
hZip.close()
#spExtension = dVars['win_tb_debug_extension_path'] if platform.system() == "Windows" else dVars['linux_tb_debug_extension_path']
#if os.path.isdir(spExtension):
# file_util.copy_file(spfZip, spExtension + "/" + dVars['tb_identifier']+ ".xpi") # Filename for TB is just <identifier.xpi>
# print(f"TB extension copied in <{spExtension}>")
#spExtension = dVars['win_tb_beta_extension_path'] if platform.system() == "Windows" else dVars['linux_tb_beta_extension_path']
#if os.path.isdir(spExtension):
|
| ︙ | ︙ |
Deleted gc_lang/fr/mailext/chrome.manifest version [8b108fd6a7].
|
| < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/about.css version [0c03b7bf9e].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/about.js version [94f44e1159].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/about.xul version [6f2fa2e063].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/conjugueur.css version [c5ad386744].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/conjugueur.js version [de46feffb0].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/conjugueur.xul version [7d69e0ed2b].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/gc_options.css version [c585d5d70e].
|
| < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/gc_options.js version [050fb882b6].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/gc_options.xul version [2d497a7dd0].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/options.css version [b5017553f4].
|
| < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/options.js version [9da0d898f3].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/options.xul version [3943bf3117].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/overlay.css version [680f0ace85].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/overlay.js version [2bffe86e4e].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/overlay.xul version [c9ae1732ec].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/spell_options.css version [377d800f5a].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/spell_options.js version [d5cdd1e710].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/spell_options.xul version [abb535b915].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/content/spellchecker.js version [ca575ac13b].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/defaults/preferences/grammarchecker.js version [8769787af8].
|
| < < < < < < < < < < |
Deleted gc_lang/fr/mailext/icon.png version [9598be5e3c].
cannot compute difference between binary files
Deleted gc_lang/fr/mailext/locale/en/about.dtd version [586b114cab].
|
| < < < < < < < |
Deleted gc_lang/fr/mailext/locale/en/gc_options.dtd version [6feaf76b9e].
|
| < < < < |
Deleted gc_lang/fr/mailext/locale/en/grammarchecker.properties version [ef0da976ea].
|
| < < < |
Deleted gc_lang/fr/mailext/locale/en/lex_editor.dtd version [d8b06fdebc].
|
| < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/locale/en/options.dtd version [5fe56718ba].
|
| < < < < < < |
Deleted gc_lang/fr/mailext/locale/en/overlay.dtd version [1e54ceb89b].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/locale/en/spell_options.dtd version [fc8174b93b].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/locale/fr/about.dtd version [4705e2f2e0].
|
| < < < < < < < |
Deleted gc_lang/fr/mailext/locale/fr/gc_options.dtd version [aa14ca951b].
|
| < < < < |
Deleted gc_lang/fr/mailext/locale/fr/grammarchecker.properties version [e42689d6bb].
|
| < < < |
Deleted gc_lang/fr/mailext/locale/fr/lex_editor.dtd version [6b48b9e817].
|
| < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/locale/fr/options.dtd version [37a043f079].
|
| < < < < |
Deleted gc_lang/fr/mailext/locale/fr/overlay.dtd version [93a8ef80c4].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted gc_lang/fr/mailext/locale/fr/spell_options.dtd version [5ab4900b2b].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < |
Modified gc_lang/fr/mailext/manifest.json from [8fc810be06] to [e6c0d0d158].
1 2 3 4 5 |
{
"manifest_version": 2,
"applications": {
"gecko": {
"id": "${tb_identifier}",
| | > > > > > > > > > > > > > > | > > > > > > > | > > > > > > | 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 |
{
"manifest_version": 2,
"applications": {
"gecko": {
"id": "${tb_identifier}",
"strict_min_version": "78.0a1"
}
},
"name": "${tb_name}",
"short_name": "${tb_name}",
"description": "${description}",
"version": "${version}",
"author": "${author}",
"homepage_url": "${link}",
"default_locale": "fr",
"icons": { "16": "img/logo-16.png",
"32": "img/logo-32.png",
"48": "img/logo-48.png",
"64": "img/logo-64.png",
"80": "img/logo-80.png",
"96": "img/logo-96.png" },
"browser_action": {
"default_icon": "img/logo-32.png",
"default_popup": "panel/main.html",
"default_title": "Grammalecte [fr]",
"browser_style": false
},
"compose_action": {
"default_icon": "img/logo-32.png",
"default_area": "maintoolbar",
"default_popup": "panel/main.html",
"default_title": "Analyser",
"browser_style": false
},
"background": {
"scripts": [
"grammalecte/graphspell/helpers.js",
"background.js"
]
}
}
|
Deleted gc_lang/fr/mailext/skin/Algoo_logo.png version [59954b3904].
cannot compute difference between binary files
Deleted gc_lang/fr/mailext/skin/LaMouette_small.png version [61c7247845].
cannot compute difference between binary files
Deleted gc_lang/fr/mailext/skin/grammarcheck.png version [9598be5e3c].
cannot compute difference between binary files
Deleted gc_lang/fr/mailext/skin/grammarcheck_disabled.png version [f900d73926].
cannot compute difference between binary files
Deleted gc_lang/fr/mailext/skin/grammarcheck_small.png version [dcb1bf8ae0].
cannot compute difference between binary files
Deleted gc_lang/fr/mailext/skin/grammarcheck_small_disabled.png version [502cc08b3e].
cannot compute difference between binary files
Deleted gc_lang/fr/mailext/skin/logo100.png version [137b3e197f].
cannot compute difference between binary files
Deleted gc_lang/fr/mailext/skin/logo120_text.png version [c438dd0680].
cannot compute difference between binary files
Deleted gc_lang/fr/mailext/worker/gce_worker.js version [abd0c9c4ba].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Modified helpers.py from [20b8bddd75] to [692e9d0564].
| ︙ | ︙ | |||
128 129 130 131 132 133 134 |
for sf in os.listdir(spSrc):
spfSrc = (spSrc + "/" + sf).strip("/ ")
spfDst = (spDst + "/" + sf).strip("/ ")
if os.path.isdir(spfSrc):
if bRecursive:
addFolderToZipAndFileFile(hZip, spfSrc, spfDst, dVars, bRecursive)
else:
| | | 128 129 130 131 132 133 134 135 136 137 138 |
for sf in os.listdir(spSrc):
spfSrc = (spSrc + "/" + sf).strip("/ ")
spfDst = (spDst + "/" + sf).strip("/ ")
if os.path.isdir(spfSrc):
if bRecursive:
addFolderToZipAndFileFile(hZip, spfSrc, spfDst, dVars, bRecursive)
else:
if spfSrc.endswith((".py", ".js", ".json", ".html", ".htm", ".css", ".xcu", ".xul", ".rdf", ".dtd", ".properties")):
hZip.writestr(spfDst, fileFile(spfSrc, dVars))
else:
hZip.write(spfSrc, spfDst)
|