Philipp Hörist pushed to branch master at gajim / gajim
Commits:
bbec6ffe by lovetox at 2022-01-13T22:28:47+01:00
VariantMixin: Fix integer type
- - - - -
1 changed file:
- gajim/common/structs.py
Changes:
=====================================
gajim/common/structs.py
=====================================
@@ -272,7 +272,7 @@ def _get_type_and_variant_string(self,
return str, f'{variant_str}s'
if 'int' in field_type:
- return str, f'{variant_str}i'
+ return int, f'{variant_str}i'
if 'bool' in field_type:
return bool, f'{variant_str}b'
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/bbec6ffe44eb9e7f82098ab8809825f9…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/bbec6ffe44eb9e7f82098ab8809825f9…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
b0d561f5 by lovetox at 2022-01-13T22:25:30+01:00
VariantMixin: Support boolean fields
Fixes #10749
- - - - -
1 changed file:
- gajim/common/structs.py
Changes:
=====================================
gajim/common/structs.py
=====================================
@@ -274,6 +274,9 @@ def _get_type_and_variant_string(self,
if 'int' in field_type:
return str, f'{variant_str}i'
+ if 'bool' in field_type:
+ return bool, f'{variant_str}b'
+
if 'JID' in field_type:
return JID, f'{variant_str}s'
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/b0d561f5aab4ab32d9c3ffcf1ad7eac2…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/b0d561f5aab4ab32d9c3ffcf1ad7eac2…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
197bcf47 by lovetox at 2022-01-12T22:28:00+01:00
Show leak warnings when running with warnings enabled
- - - - -
1 changed file:
- gajim/common/application.py
Changes:
=====================================
gajim/common/application.py
=====================================
@@ -18,6 +18,7 @@
from typing import Type
from typing import TextIO
+import os
import sys
from gajim.common import app
@@ -92,6 +93,7 @@ def _quit_app(self) -> None:
def _show_warnings() -> None:
import traceback
import warnings
+ os.environ['GAJIM_LEAK'] = 'true'
def warn_with_traceback(message: Union[Warning, str],
category: Type[Warning],
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/197bcf474e5caf41f79c7d51c1b0c9df…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/197bcf474e5caf41f79c7d51c1b0c9df…
You're receiving this email because of your account on dev.gajim.org.