2019 年 10 月开发新闻

 ·  作者 cal0pteryx  ·  开发

Gajim 开发新闻

这是关于 Gajim 开发的新闻系列的第一篇文章。在这些文章中,我(cal0pteryx)将尝试总结一个月的 Gajim 开发情况。有时这些文章还会涉及 python-nbxmpp 和 XMPP 一般情况。十月份的开发带来了对 MacOS、Jingle 文件传输、交付回执等的改进。欢迎加入 gajim@conference.gajim.org 与我们讨论。

Gajim 的变化

将 Gajim 带到 MacOS 的旅程仍在继续:感谢 sebastiaanlokhorst,我们现在使用 PyInstaller 来构建应用程序(参见 #9713),这使我们更接近于为 MacOS 发布 Gajim。我们正在努力自动化构建过程,以便能够像生成 Windows 构建一样进行自动化的 MacOS 构建。

虽然 Dino 在 GSoC 期间获得了 Jingle 文件传输支持(感谢 hrxi),但在 Dino、Conversations 和 Gajim 之间进行了某些互操作性测试。hrxi 提供的反馈导致了一些 Jingle 文件传输的错误修复(#9692,#9784),由 asterix 贡献。

Gajim has been displaying delivery receipts for a long time now. Delivery receipts are displayed by a small check mark icon at the end of a message in the chat window. lovetox has made some changes to how these icons are displayed. This also involved a lot of code refactoring and bug fixing around how message receipts are processed. As a result, a display bug where corrected messages would show two message receipt icons (#9278) was fixed. On top of that, the new icon displaying logic enables Gajim to show message errors directly in the tooltip of the corresponding message icon (#8527). Previously, message errors were simply printed to the chat window without message context.

新的群聊名单使用了一些 PyGObject 函数,要求至少使用 PyGObject(即 python3-gi)3.32.0。这个版本在某些发行版中尚不可用(例如 Debian 10)。将 PyGObject >=3.32.0 添加为要求也导致了 Gajim 依赖检查的重构。

其他更新:

python-nbxmpp 的更改:

在不断努力将 GUI 和协议/库任务分开的过程中,lovetox 继续重构 Gajim 和 python-nbxmpp。在此过程中,大量代码从 Gajim 移动到 python-nbxmpp,反之亦然。目标是模块化代码以便于未来的开发,并简化两者之间的通信。

在本月,python-nbxmpp 收到了对以下 XEP 的支持。注意:这些已经被 Gajim 支持,但现在 python-nbxmpp 能够独立处理这些。

此外,python-nbxmpp 修复了传入消息中无效 JID 的错误(#85)。

获取最新版本

安装

联系我们

加入我们的 XMPP 聊天来提问、分享想法或报告问题。

加入聊天 提交工单