Commit Graph

16303 Commits

Author SHA1 Message Date
Philipp Hörist 4ac532c3fa Fix memory leak with spell checker
- Dont shadow widgets destroy()
- Dont bind spell checker to class attribute, this prevents its finalize

Fixes #8822
2019-04-08 22:45:26 +02:00
Philipp Hörist 24d939ce41 Disable some pylint checks
Gtk Objects like a TreeModel is not detected correctly

- E0611 no-name-in-module
- E1133 not-an-iterable
- E1136 unsubscriptable-object
2019-04-07 23:34:43 +02:00
Philipp Hörist 3808c85cbd Enable more pylint checks
- E0611 no-name-in-module
- E0710 raising-non-exception
- E0712 catching-non-exception
- E1133 not-an-iterable
- E1136 unsubscriptable-object
2019-04-07 23:07:59 +02:00
Philipp Hörist b54aba4d3e Fix access-member-before-definition pylint errors 2019-04-07 21:50:33 +02:00
Philipp Hörist b91b64997e Fix no-callable pylint errors 2019-04-07 21:47:00 +02:00
Philipp Hörist 33f62cecf9 Fix bad-indentation pylint errors 2019-04-07 21:44:42 +02:00
Philipp Hörist b8d70abdb0 Enable wildcard-import pylint check 2019-04-07 21:32:55 +02:00
Philipp Hörist 7ef066b181 Fix ungrouped-imports pylint errors 2019-04-07 21:29:45 +02:00
Philipp Hörist cf40a2a8ef Fix wrong-import-order pylint errors 2019-04-07 21:20:21 +02:00
Philipp Hörist 3b3c2af97b Fix wrong-import-position pylint errors 2019-04-07 21:15:39 +02:00
Philipp Hörist d55cb97dd2 Update pylintrc
- Ignore some pylint errors only in CI, not locally
- Set max line length to 80
2019-04-07 20:41:27 +02:00
Philipp Hörist f62f922733 Fix unused-wildcard-import pylint errors 2019-04-07 20:27:07 +02:00
Philipp Hörist 1c39d66d21 Fix assignment-from-none pylint errors 2019-04-07 20:13:55 +02:00
Philipp Hörist ee38f76004 Fix chained-comparison pylint errors 2019-04-07 19:50:15 +02:00
Philipp Hörist 20d3e981b9 Fix consider-using-ternary pylint errors 2019-04-07 19:48:09 +02:00
Philipp Hörist dc3910ce4c Fix useless-return pylint errors 2019-04-07 19:07:16 +02:00
Philipp Hörist 8ca9c1d6e3 Add description for some pylint errors 2019-04-07 19:04:21 +02:00
Philipp Hörist 5471980a8c Update pylint to 2.3.1 2019-04-07 18:49:27 +02:00
Philipp Hörist 0dbb3eb1d5 Fix comparison-with-callable pylint errors 2019-04-07 18:48:51 +02:00
Philipp Hörist c8815a9230 Fix no-else-raise pylint errors 2019-04-07 18:40:32 +02:00
Philipp Hörist 30f850b567 Fix no-else-return pylint errors 2019-04-07 18:26:29 +02:00
Philipp Hörist b09f94dabd Fix simplifiable-if-expression pylint errors 2019-04-07 18:22:45 +02:00
Philipp Hörist 47dae61e21 Fix unnecessary-pass pylint errors 2019-04-07 18:20:15 +02:00
Philipp Hörist 3b2211776c Fix unused-import pylint errors 2019-04-07 18:14:54 +02:00
Philipp Hörist 45ac229fb1 Fix pylint errors 2019-04-07 17:35:19 +02:00
Philipp Hörist 32168c60f5 Fix license header 2019-04-07 17:11:30 +02:00
Philipp Hörist 797a9518ea Remove unused variable 2019-04-07 00:27:13 +02:00
Philipp Hörist ed011da59e Add new Ad-Hoc Command dialog 2019-04-07 00:06:56 +02:00
Philipp Hörist 06848eaeaf Add option to make DataFormWidget read-only 2019-04-06 23:20:30 +02:00
Philipp Hörist ac6eae8965 Fix import 2019-04-05 22:56:13 +02:00
Philipp Hörist f1642e5327 Iterate safely over dict
Fixes #9633
2019-04-05 21:57:18 +02:00
Philipp Hörist 0b9aeb0100 Windows: Fix version comparison
Fixes #9643
2019-04-05 21:49:49 +02:00
Philipp Hörist 03cc3379d5 CertificateDialog: Dont fail on None values
Some attributes of the certificate can yield None
2019-04-05 21:38:32 +02:00
Daniel Brötzmann 318ae4e9d4 Rework InvitationReceivedDialog 2019-04-05 20:08:00 +02:00
Philipp Hörist 239ab1455b Refactor Software Version
- Simplify modules because nbxmpp handles more stuff
2019-04-05 19:44:30 +02:00
Philipp Hörist 471d9ca043 Windows: Dont override format region settings 2019-04-05 19:43:01 +02:00
Philipp Hörist 0678272774 Dont send invalid presence show value 2019-04-05 19:40:14 +02:00
Daniel Brötzmann 4d43eacfd0 Rework Certificate dialog 2019-04-05 17:19:35 +02:00
Daniel Brötzmann a48610632e Only show avatar Save As menu if sha not None 2019-04-03 09:08:53 +02:00
Daniel Brötzmann e83a246703 Rework SubscriptionRequestWindow 2019-04-02 19:49:57 +02:00
Philipp Hörist 139156ba5e FeaturesDialog: Replace python-dbus for avahi 2019-03-31 21:52:22 +02:00
André Apitzsch 16bbe31df6 Update dependency check for avahi support 2019-03-31 19:17:34 +02:00
Daniel Brötzmann a7bc6dc530 Add monospace formatted fingerprint to encryption tooltip 2019-03-28 20:54:04 +01:00
Philipp Hörist ae29c937ba ChatControl: Use NewConfirmationDialog 2019-03-27 23:36:55 +01:00
Philipp Hörist f838c2faa2 MUC: Use NewConfirmationDialog for file transfer 2019-03-27 23:36:55 +01:00
Daniel Brötzmann 2080495efc Ask whether to disconnect when disabling account
Fixes #8938
2019-03-27 22:24:46 +01:00
Daniel Brötzmann 74ed71f57e Rework HTTPUpload dialog 2019-03-27 00:40:46 +01:00
Philipp Hörist 760b94f27f Add NewConfirmationCheckDialog 2019-03-27 00:14:00 +01:00
Philipp Hörist 4c062bf93d Call show() on new dialogs
- run() was removed from the dialog because it blocks
2019-03-26 23:53:12 +01:00
Philipp Hörist bbada2ecd4 Improve NewConfirmationDialog
- Add setting for modal/non-modal
- Add default transient
- Dont call run() it only returns after response
2019-03-26 23:49:45 +01:00