Philipp Hörist pushed to branch master at gajim / gajim
Commits:
f7a139ea by Philipp Hörist at 2018-09-15T10:00:32Z
Zeroconf: Store time of outgoing messages
- - - - -
1 changed file:
- gajim/common/zeroconf/connection_zeroconf.py
Changes:
=====================================
gajim/common/zeroconf/connection_zeroconf.py
=====================================
--- a/gajim/common/zeroconf/connection_zeroconf.py
+++ b/gajim/common/zeroconf/connection_zeroconf.py
@@ -352,6 +352,7 @@ class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
# Dont propagate event
return True
+ obj.timestamp = time.time()
ret = self.connection.send(
obj.msg_iq, obj.message is not None,
on_ok=on_send_ok, on_not_ok=on_send_not_ok)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f7a139eac2839e068b6e994fc28fed623f…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f7a139eac2839e068b6e994fc28fed623f…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
97ee8082 by Philipp Hörist at 2018-09-15T09:44:09Z
HistoryManager: Load css config in standalone
- - - - -
1 changed file:
- gajim/history_manager.py
Changes:
=====================================
gajim/history_manager.py
=====================================
--- a/gajim/history_manager.py
+++ b/gajim/history_manager.py
@@ -42,6 +42,7 @@ from gi.repository import Gdk
from gi.repository import GLib
from gi.repository import Gio
+from gajim.common import app
from gajim.common import i18n
from gajim.common import configpaths
from gajim.common.const import StyleAttr
@@ -77,8 +78,8 @@ if is_standalone():
configpaths.set_config_root(a)
configpaths.init()
+ app.load_css_config()
-from gajim.common import app
from gajim.common.i18n import _
from gajim.common.const import JIDConstant, KindConstant
from gajim.common import helpers
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/97ee8082fe40baad008f13096c359806ad…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/97ee8082fe40baad008f13096c359806ad…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
eca69e39 by Philipp Hörist at 2018-09-15T00:01:40Z
Fix Windows build
- Downgrade to glib2 2.56.2 because higher is broken on Windows 7
- Dont abort build if depchecker fails on some files
- - - - -
2 changed files:
- win/_base.sh
- win/misc/depcheck.py
Changes:
=====================================
win/_base.sh
=====================================
--- a/win/_base.sh
+++ b/win/_base.sh
@@ -70,10 +70,14 @@ function create_root {
}
function install_deps {
+ # Downgrade GLIB, resolver is broken on Windows 7
+ curl -o "${BUILD_ROOT}"/mingw-w64-x86_64-glib2-2.56.2-1-any.pkg.tar.xz \
+ https://gajim.org/downloads/snap/win/build/mingw-w64-x86_64-glib2-2.56.2-1-…
+ build_pacman --noconfirm -U "${BUILD_ROOT}"/mingw-w64-x86_64-glib2-2.56.2-1-any.pkg.tar.xz
+
build_pacman --noconfirm -S mingw-w64-"${ARCH}"-gtk3 mingw-w64-"${ARCH}"-"${PYTHON_ID}" \
mingw-w64-"${ARCH}"-"${PYTHON_ID}"-gobject \
mingw-w64-"${ARCH}"-"${PYTHON_ID}"-pip \
- mingw-w64-"${ARCH}"-gstreamer \
mingw-w64-"${ARCH}"-adwaita-icon-theme \
mingw-w64-"${ARCH}"-libwebp \
mingw-w64-"${ARCH}"-sqlite3 \
=====================================
win/misc/depcheck.py
=====================================
--- a/win/misc/depcheck.py
+++ b/win/misc/depcheck.py
@@ -46,7 +46,11 @@ SYSTEM_LIBS = ['advapi32.dll',
def get_dependencies(filename):
deps = []
- data = subprocess.check_output(["objdump", "-p", filename])
+ try:
+ data = subprocess.check_output(["objdump", "-p", filename])
+ except Exception as error:
+ print(error)
+ return deps
data = data.decode("utf-8")
for line in data.splitlines():
line = line.strip()
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/eca69e399bac1fc59ddb6563879c9e407e…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/eca69e399bac1fc59ddb6563879c9e407e…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
3b5b4574 by Philipp Hörist at 2018-09-14T21:35:38Z
Update .gitignore
- - - - -
1 changed file:
- .gitignore
Changes:
=====================================
.gitignore
=====================================
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@ syntax: glob
*.pyc
*.pyo
*~
+*#
autom4te.cache
data/org.gajim.Gajim.appdata.xml
data/org.gajim.Gajim.desktop
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/3b5b4574bac42170047b844f075b9fbdf2…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/3b5b4574bac42170047b844f075b9fbdf2…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
62c54525 by Philipp Hörist at 2018-09-12T22:33:54Z
fuzzyclock: Fix pylint errors
- - - - -
58a3b830 by Philipp Hörist at 2018-09-13T17:59:03Z
Update mypy.ini
- - - - -
a62f348a by Philipp Hörist at 2018-09-13T21:54:29Z
Add stubs file for emoji_data
Otherwise mypy hangs because the file is to big
- - - - -
d54d4bc2 by Philipp Hörist at 2018-09-13T21:56:12Z
Add annotations and fix pylint/mypy errors
- - - - -
30 changed files:
- gajim/application.py
- gajim/chat_control.py
- gajim/command_system/dispatcher.py
- gajim/command_system/implementation/custom.py
- gajim/command_system/implementation/execute.py
- gajim/command_system/implementation/standard.py
- gajim/common/app.py
- gajim/common/config.py
- gajim/common/configpaths.py
- gajim/common/connection_handlers_events.py
- gajim/common/const.py
- gajim/common/dbus_support.py
- gajim/common/fuzzyclock.py
- gajim/common/helpers.py
- gajim/common/i18n.py
- gajim/common/modules/__init__.py
- gajim/common/modules/annotations.py
- gajim/common/modules/pep.py
- gajim/common/modules/ping.py
- gajim/common/modules/user_activity.py
- gajim/common/modules/user_location.py
- gajim/common/modules/user_mood.py
- gajim/common/modules/user_nickname.py
- gajim/common/modules/user_tune.py
- gajim/common/nec.py
- gajim/common/pep.py
- + gajim/common/types.py
- gajim/dialog_messages.py
- gajim/dialogs.py
- gajim/disco.py
The diff was not included because it is too large.
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/64aec8adcef02a26e372da2e920f154cd…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/64aec8adcef02a26e372da2e920f154cd…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
c9455de4 by Philipp Hörist at 2018-09-11T20:46:57Z
Add mypy test to CI
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,11 @@ run-test:
script:
- python3 setup.py test_nogui
+run-mypy:
+ stage: test
+ script:
+ - mypy -p gajim.common.modules --follow-imports=skip
+
run-pylint:
stage: test
script:
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/c9455de4bd7e17901b4b1296fc7aa6edb2…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/c9455de4bd7e17901b4b1296fc7aa6edb2…
You're receiving this email because of your account on dev.gajim.org.