1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
Commit Graph

7112 Commits

Author SHA1 Message Date
Marouane L
2d11a35ee1 Spawn external programs asynchronously
Drawback is that we can't check the exitcode anymore.
But we were unsure why/when we need this, see:
https://github.com/profanity-im/profanity/pull/1760/files#r980868708

Fixes https://github.com/profanity-im/profanity/issues/1759
2022-10-12 12:25:00 +02:00
Michael Vetter
6a7c6195da
Merge pull request #1767 from profanity-im/fix/firststart
Fix first start detection
2022-10-12 12:16:07 +02:00
Michael Vetter
a86e86cce0 Fix first start detection
Only display help message on first start.
This is a fixup for:
27a5c9d287
2022-10-11 16:39:55 +02:00
Michael Vetter
0df3655f57
Merge pull request #1763 from tran-h-trung/add/gruvbox_trung
Add alternative gruvbox theme
2022-10-11 16:13:36 +02:00
Michael Vetter
12f5e350ab Rename gruvbox_trung to gruvbox_transparent 2022-10-11 16:10:29 +02:00
Trần H. Trung
dd52a3f5ce Add transparency optimized gruvbox theme
Change background from Grey15 → Black which can be mapped to transparent with a better visibility.
Shuffle 6 lines of color for legibility.

Signed-off-by: Trần H. Trung <work@trung.fun>
2022-10-11 16:08:20 +02:00
Michael Vetter
a0f8adc681 Add commit info to CONTRIBUTING.md 2022-10-10 08:05:11 +02:00
Michael Vetter
4b2bbe59ea Format Maxis commit properly 2022-09-29 11:11:01 +02:00
Maxi Wuttke
021927a549 Use G_GSIZE_FORMAT instead of "%lu" for portability
In the function stanza_create_avatar_metadata_publish_iq, use the format
string `"%"G_GSIZE_FORMAT` instead of "%lu", for an argument of type
gsize.
2022-09-29 10:46:32 +02:00
Michael Vetter
7ffe55e980
Merge pull request #1756 from sgn/python-3.11
plugin: python: fix build for Python 3.11
2022-09-25 22:34:25 +02:00
Michael Vetter
338b9587bd
Merge pull request #1755 from vinegret/fix/plugins_managment
Fix plugins managment
2022-09-25 22:18:54 +02:00
Đoàn Trần Công Danh
5a72fefe89 plugin: python: fix build for Python 3.11
From Python 3.11, PyFrameObject has been changed into opaque struct.
We need to access those fields via API.

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
2022-09-24 12:49:12 +07:00
Viachaslau Khalikin
0cb46460b3
fix: print when no plugins installed
Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
2022-09-20 04:30:11 +03:00
Viachaslau Khalikin
d75e5c1c28
add: autocompletion plugins arguments
support for "update" and "uninstall"

Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
2022-09-20 04:00:44 +03:00
Viachaslau Khalikin
0ceb8c53c3
fix: filtering of the available global plugins
For command /plugins :
Don't print files that do not correspond to the plugins design

Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
2022-09-20 01:46:51 +03:00
Viachaslau Khalikin
cc7231a43b
minor: using cons_bad_cmd_usage() instead of the manual handling
Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
2022-09-19 18:08:54 +03:00
Michael Vetter
fcc20628d5
Merge pull request #1753 from wahjava/master
Fix typo in configure.ac
2022-09-19 10:00:27 +02:00
Michael Vetter
daf7db1558
Merge pull request #1752 from omar-polo/master
typo in configure: enable_gdk_pixbuf not enable_pixbuf
2022-09-19 09:59:33 +02:00
Viachaslau Khalikin
6cb6823aed
Fix typo which catched by codespell 2022-09-19 00:45:29 +03:00
Viachaslau Khalikin
45fa60e7e2
Print unloaded plugins which already installed
Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
2022-09-19 00:29:24 +03:00
Viachaslau Khalikin
dd1a9a1e50
Fix handle cmd_plugins_uninstall without args
Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
2022-09-19 00:12:49 +03:00
Ashish SHUKLA
6c01df040f
Fix typo in configure.ac
Signed-off-by: Ashish SHUKLA <ashish.is@lostca.se>
2022-09-15 17:37:57 +00:00
Omar Polo
39675be808 typo in configure: enable_gdk_pixbuf not enable_pixbuf
Otherwise gdk-pixbuf is always added as dependency even if disabled,
when found.
2022-09-15 18:39:54 +02:00
Michael Vetter
496eb6ceb8 changelog: change header 2022-09-13 12:32:15 +02:00
Michael Vetter
a0376f7583 Add forgotten date to changelog 2022-09-13 12:23:34 +02:00
Michael Vetter
abfef88d5f Update release guide
Maybe should create a helper script for some tasks.
2022-09-13 12:19:16 +02:00
Michael Vetter
446027ce6c Start new cycle 2022-09-13 11:54:02 +02:00
Michael Vetter
a8e6b26ee1 Release 0.13.0 2022-09-13 11:50:49 +02:00
Michael Vetter
68e9de02df
Merge pull request #1749 from profanity-im/minor-improvements
Minor improvements
2022-09-07 12:57:42 +02:00
Steffen Jaeckel
25e56fb494 less strdup()+free()
Improvement of f8ff93234e

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-09-07 12:42:15 +02:00
Michael Vetter
4786073171 ci: disable TW
TW curently has problems:
```
Problem: the to be installed sqlite3-devel-3.39.2-1.2.x86_64 requires 'libsqlite3-0 = 3.39.2', but this requirement cannot be provided
  not installable providers: libsqlite3-0-3.39.2-1.2.i586[repo-oss]
                   libsqlite3-0-3.39.2-1.2.x86_64[repo-oss]
```
2022-09-07 12:22:32 +02:00
Steffen Jaeckel
095d40d3bd tell the user to which file we're logging
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-09-07 10:04:00 +02:00
Steffen Jaeckel
099b443dc8 Tell user where the downloaded file is stored
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-09-07 10:04:00 +02:00
Michael Vetter
5d945a9629 contributing: add part about other git services 2022-09-06 20:01:51 +02:00
Michael Vetter
59c5b4e7a6 Add 0.13.0 changelog 2022-09-06 17:10:41 +02:00
Michael Vetter
c76978bea7 Add xep-0198 to doap 2022-09-06 17:10:06 +02:00
Michael Vetter
359e2614ff
Merge pull request #1748 from nandesu-utils/fix/issue1742
Fix https://github.com/profanity-im/profanity/issues/1742
2022-09-06 12:56:11 +02:00
nandesu-utils
e1ed012f72 support for formatting in avatar executable
in before it just used the input command line as it was but this fixes
this by adding formatting using `format_call_external_argv` which is
already used in `url open` executable.
2022-09-06 12:51:27 +02:00
nandesu-utils
056b19eb91 refactored call_external code
unluckily here the code neglected the fact that glib will set an error
to a location that was pointed by the error pointer if it is not null.
but it was of an undefined value hence profanity crashed. now it is null
as it must be.

also spawn error is returned when glib could not spawn the task for
some reason like the executable file does not exist but if the exit
status was non-zero it neglected the exit error and tried to output a
spawn error instead. now we check whether the process that we
instantiated has exited successfully

also now code uses `g_spawn_check_wait_status` which
`g_spawn_check_exit_status` has been aliased to.
2022-08-27 16:25:15 +03:00
MarcoPolo-PasTonMolo
d692aec32e Don't notify on MAM messages 2022-08-20 23:03:46 +03:00
MarcoPolo-PasTonMolo
a704838152 Handle late delivery 2022-08-20 22:48:02 +03:00
Michael Vetter
0864bc68d7
Merge pull request #1747 from profanity-im/ci-test
Re-enable Tumbleweed and MacOS ci
2022-08-18 15:20:44 +02:00
Michael Vetter
dba9f3f821 ci: fedora - remove python2 2022-08-18 15:03:38 +02:00
Michael Vetter
cdebb559bb ci: enable tumbleweed
This reverts commit 5c5c453219.

And removes the old python(2) pull in.

For some reason we get:
`Package python3-embed was not found in the pkg-config search path.`
with python38-devel but not with python310-devel. Let's bump it to that
version.
2022-08-18 15:02:36 +02:00
MarcoPolo-PasTonMolo
4b9ff6d4dc Apply corrections when getting messages from db 2022-08-12 12:13:47 +03:00
Michael Vetter
8f2f0edf7a ci: enable macos ci
This reverts commit d5bb93b927.
2022-08-09 13:37:40 +02:00
Michael Vetter
712fdc475f
Merge pull request #1746 from profanity-im/replay-queue
fixup 11f52ad547
2022-08-08 17:51:30 +02:00
Steffen Jaeckel
65acffcf07 fixup 11f52ad547
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-08-08 17:15:58 +02:00
Michael Vetter
082de13638
Merge pull request #1745 from profanity-im/replay-queue
integrate XEP-0198 Stream-Management
2022-08-08 15:09:10 +02:00
Michael Vetter
d5bb93b927 ci: disable macos until they have libstrophe 0.12.2 2022-08-08 14:09:10 +02:00