Grammalecte  Check-in [57dc4f6ed0]

Overview
Comment:[fx] add a note for reviewers
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: 57dc4f6ed0a52b288423becf18cc1eff9b48996a32a087a6d7f442a155cad909
User & Date: olr on 2020-07-21 06:35:58
Other Links: manifest | tags
Context
2020-07-21
06:43
[fx] update note for reviewers check-in: 486dc1d1e5 user: olr tags: trunk, fx
06:35
[fx] add a note for reviewers check-in: 57dc4f6ed0 user: olr tags: trunk, fx
2020-07-20
08:34
[tb] delete file_handler.js: deprecated code check-in: 0b14dcdc9e user: olr tags: trunk, tb
Changes

Added gc_lang/fr/webext/NOTE_FOR_REVIEWERS.md version [034eede7f1].















































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
# Grammalecte for Firefox and Chrome and for Thunderbird


[Website](https://grammalecte.net)
[Code](http://code.grammalecte.net:8080/home)


## WebExtension

This extension offers a grammar checking tool for the French Language.

The grammar checker runs in a Worker launched from the background script.
And text are analysed at users request. Results are displayed within
the webpages.


    Content-scripts <---> Background <---> Grammar checker (Worker)


### Folders in the addon

* grammalecte: the grammar checker (receive texts, analyse it and send back results).
* content_scripts (what is run in content-scripts).
* panel: browser_action panel, and other webpages (lexicon editor, conjugueur and other stuff).


### Building the extension

Extensions for LibreOffice, Firefox/Chrome and Thunderbird are generated in the folder `_build`.

Required:

* Python 3.7+ > [download](https://www.python.org/)
* NodeJS > [download](https://nodejs.org/)
  * npm (should be installed with NodeJS)
  * web-ext > [instructions](https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/)

Command to build:

    make.py fr -js

Build and rebuild data (may be not deterministic):

    make.py fr -js -b -d

If you got the source code from a zip archive, you must first uncompress the archive
in `gc_lang/fr/dictionnaire/lexique/corpus_data`. (It isn’t possible to upload the
source code as is to Mozilla website, as these files are considered too big).


## MailExtension

The MailExtension is built upon the Grammalecte [WebExtension](https://addons.mozilla.org/fr/firefox/addon/grammalecte-fr/)

Both extensions use the same code. Only one file differs: manifest.json