Changes In Branch multid Through [d21c8802ec] Excluding Merge-Ins
This is equivalent to a diff from 94e2e47aea to d21c8802ec
| 2018-03-19 | ||
| 19:38 | [tb] lexicon editor: conj initialization (again) check-in: 71052608f4 user: olr tags: tb, multid | |
| 18:57 | [tb] lexicon editor: delete selected items check-in: d21c8802ec user: olr tags: tb, multid | |
| 12:37 | [tb] store personal dictionary in file instead of preferences.js: create a file handler to simplify the mess check-in: 2d0855bb95 user: olr tags: tb, multid | |
| 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_core/py/oxt/Grammalecte.py from [1e4211990b] to [6b2cfc5228].
| 
 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | - + + | 
 | 
| ︙ | |||
| 34 35 36 37 38 39 40 41 42 43 44 45 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | + + - + - | 
        xCurCtx = uno.getComponentContext()
        # init
        gce.load("Writer")
        # GC options
        # opt_handler.load(xCurCtx)
        dOpt = Options.load(xCurCtx)
        gce.setOptions(dOpt)
        # dictionaries options
        self.loadUserDictionaries()
        # store for results of big paragraphs
        self.dResult = {}
        self.nMaxRes = 1500
        self.lLastRes = deque(maxlen=self.nMaxRes)
        self.nRes = 0
 | 
| ︙ | |||
| 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | 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 159 | + + + + + + + + + + + + | 
    # XServiceDisplayName
    def getServiceDisplayName (self, aLocale):
        return gce.name
    # Grammalecte
    def getSpellChecker (self):
        return gce.getSpellChecker()
    def loadUserDictionaries (self):
        try:
            xSettingNode = helpers.getConfigSetting("/org.openoffice.Lightproof_grammalecte/Other/", False)
            xChild = xSettingNode.getByName("o_${lang}")
            if xChild.getPropertyValue("use_personal_dic"):
                sJSON = xChild.getPropertyValue("personal_dic")
                if sJSON:
                    oSpellChecker = gce.getSpellChecker();
                    oSpellChecker.setPersonalDictionary(json.loads(sJSON))
        except:
            traceback.print_exc()
g_ImplementationHelper = unohelper.ImplementationHelper()
g_ImplementationHelper.addImplementation(Grammalecte, "org.openoffice.comp.pyuno.Lightproof."+gce.pkg, ("com.sun.star.linguistic2.Proofreader",),)
# g_ImplementationHelper.addImplementation( opt_handler.LightproofOptionsEventHandler, \
#     "org.openoffice.comp.pyuno.LightproofOptionsEventHandler." + gce.pkg, ("com.sun.star.awt.XContainerWindowEventHandler",),)
 | 
Modified gc_core/py/oxt/OptionsDialog.xcs from [bfbbfee5a6] to [3732fcdcec].
| ︙ | |||
| 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 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 | + + + + + + + + + + + + + + + + | 
    <templates>
        <group oor:name="${lang}">
            <info>
                <desc>The data for one leaf.</desc>
            </info>
            ${xcs_options}
        </group>
        <group oor:name="o_${lang}">
            <info>
                <desc>The data for one leaf.</desc>
            </info>
            <prop oor:name="use_graphspell" oor:type="xs:int"><value>1</value></prop>
            <prop oor:name="use_graphspell_sugg" oor:type="xs:int"><value>1</value></prop>
            <prop oor:name="use_extended_dic" oor:type="xs:int"><value>0</value></prop>
            <prop oor:name="use_personal_dic" oor:type="xs:int"><value>1</value></prop>
            <prop oor:name="extended_dic" oor:type="xs:string"><value></value></prop>
            <prop oor:name="personal_dic" oor:type="xs:string"><value></value></prop>
        </group>
    </templates>
    <component>
        <group oor:name="Leaves">
            <node-ref oor:name="${lang}" oor:node-type="${lang}" />
        </group>
        <group oor:name="Other">
            <node-ref oor:name="o_${lang}" oor:node-type="o_${lang}" />
        </group>
    </component>
</oor:component-schema>
 | 
Added gc_core/py/oxt/helpers.py version [f3ef6493bc].
| 
 | 
Modified gc_lang/fr/config.ini from [eb081b50e5] to [5898e7ef09].
| ︙ | |||
| 71 72 73 74 75 76 77 | 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 | - + + + + + | oxt/_img/logo120_text.png = img/logo120_text.png oxt/_img/LaMouette_small.png = img/LaMouette_small.png oxt/_img/Algoo_logo.png = img/Algoo_logo.png oxt/_img/grammalecte_16.bmp = img/grammalecte_16.bmp oxt/_img/french_flag_16.bmp = img/french_flag_16.bmp # AppLauncher oxt/AppLauncher.py = AppLauncher.py | 
| ︙ | 
Added gc_lang/fr/modules-js/conj_generator.js version [354852a8f0].