Philipp Hörist pushed to branch master at gajim / gajim
Commits:
7113760b by Philipp Hörist at 2018-10-13T13:41:05Z
Windows: Add precis-i18n to the build
- - - - -
1 changed file:
- win/_base.sh
Changes:
=====================================
win/_base.sh
=====================================
@@ -102,6 +102,7 @@ python-gnupg
python-axolotl
qrcode
cssutils
+precis-i18n
"
build_pip install $(echo "$PIP_REQUIREMENTS" | tr ["\\n"] [" "])
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/7113760b03ce8a0e32ea7357a5609c654e…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/7113760b03ce8a0e32ea7357a5609c654e…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim
Commits:
425e1c76 by Philipp Hörist at 2018-10-13T12:15:37Z
Update ChangeLog
- - - - -
e3bf5449 by Philipp Hörist at 2018-10-13T12:16:00Z
Raise Gajim version
- - - - -
2 changed files:
- ChangeLog
- gajim/__init__.py
Changes:
=====================================
ChangeLog
=====================================
@@ -1,4 +1,4 @@
-Gajim 1.0.99.1 (07 October 2018)
+Gajim 1.0.99.1 (13 October 2018)
New
=====================================
gajim/__init__.py
=====================================
@@ -1,7 +1,7 @@
import os
import subprocess
-__version__ = "1.0.99"
+__version__ = "1.0.99.1"
IS_FLATPAK = False
if os.path.exists('/app/share/run-as-flatpak'):
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/ec05b1a47e8f63477175b66d3120a3a97…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/ec05b1a47e8f63477175b66d3120a3a97…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim
Commits:
ec05b1a4 by Philipp Hörist at 2018-10-13T12:14:28Z
Catch exceptions when loading plugins
- - - - -
1 changed file:
- gajim/plugins/pluginmanager.py
Changes:
=====================================
gajim/plugins/pluginmanager.py
=====================================
@@ -179,7 +179,12 @@ class PluginManager(metaclass=Singleton):
:todo: what about adding plug-ins that are already added? Module reload
and adding class from reloaded module or ignoring adding plug-in?
'''
- plugin = plugin_class()
+ try:
+ plugin = plugin_class()
+ except Exception:
+ log.exception('Error while loading a plugin')
+ return
+
if plugin not in self.plugins:
if not self._plugin_has_entry_in_global_config(plugin):
self._create_plugin_entry_in_global_config(plugin)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/ec05b1a47e8f63477175b66d3120a3a977…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/ec05b1a47e8f63477175b66d3120a3a977…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
2b7006e8 by Philipp Hörist at 2018-10-13T12:13:38Z
Catch exceptions when loading plugins
- - - - -
1 changed file:
- gajim/plugins/pluginmanager.py
Changes:
=====================================
gajim/plugins/pluginmanager.py
=====================================
@@ -179,7 +179,12 @@ class PluginManager(metaclass=Singleton):
:todo: what about adding plug-ins that are already added? Module reload
and adding class from reloaded module or ignoring adding plug-in?
'''
- plugin = plugin_class()
+ try:
+ plugin = plugin_class()
+ except Exception:
+ log.exception('Error while loading a plugin')
+ return
+
if plugin not in self.plugins:
if not self._plugin_has_entry_in_global_config(plugin):
self._create_plugin_entry_in_global_config(plugin)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/2b7006e8837d60096e56730443f5947865…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/2b7006e8837d60096e56730443f5947865…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
683e7aa4 by Philipp Hörist at 2018-10-13T11:27:33Z
Bind textomain also for plugins
- - - - -
1 changed file:
- gajim/plugins/plugins_i18n.py
Changes:
=====================================
gajim/plugins/plugins_i18n.py
=====================================
@@ -15,6 +15,7 @@
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
import os
+import locale
import gettext
from gajim.common import configpaths
@@ -28,3 +29,6 @@ try:
_ = t.gettext
except OSError:
_ = gettext.gettext
+
+if hasattr(locale, 'bindtextdomain'):
+ locale.bindtextdomain(DOMAIN, plugins_locale_dir) # type: ignore
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/683e7aa4c77e590ca6e712009dcf51083f…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/683e7aa4c77e590ca6e712009dcf51083f…
You're receiving this email because of your account on dev.gajim.org.