Michael Vetter
debc73c474
Merge pull request #1772 from MarcoPolo-PasTonMolo/fix/segfault-mam
...
Fix segfault when loading from MAM
2022-10-22 12:27:54 +02:00
MarcoPolo-PasTonMolo
135a4cd9e6
Fix segfault when loading from MAM
...
When loading messages from MAM profanity would segfault. Reason was that
we were freeing the timestamp of messages when displaying them and we
needed it for loading MAM.
2022-10-22 12:56:15 +03:00
Michael Vetter
6bca96f041
Add another format commit to ignore
2022-10-21 17:14:08 +02:00
Michael Vetter
a04031cec9
Apply codigng style on new MAM code
2022-10-21 16:55:18 +02:00
Michael Vetter
5ebd7df7e8
Let users scroll up again
...
We removed this so that we don't get "[SCROLLED]" in the titlebar when
there is actually not more text available.
But now with MAM we can enable this again so that the user can scroll up
and load more text out of the database.
Maybe this also could use a check.
This reverts commit c84b1b5e5d
.
2022-10-21 16:52:07 +02:00
Michael Vetter
e5f506a200
Add MAM test stubs
2022-10-21 16:47:03 +02:00
Michael Vetter
688191f5e1
Fix merge mistake in database
...
When doing 3bdc14dbcf
I forgot an `,`
before encryption
2022-10-21 16:39:44 +02:00
Paul Fertser
6a47266f0b
Fix GSList handling in new MAM code
...
This patch was provided by @paulfertser and applied by @jubalh.
Thanks a lot Paul!
2022-10-21 16:28:30 +02:00
Michael Vetter
a74a3a4312
Fix merge mistake
2022-10-21 13:49:07 +02:00
Michael Vetter
3bdc14dbcf
Merge MAM improvements from #1724
...
I think this PR already solves and improves the MAM situation a lot.
What's @MarcoPolo-PasTonMolo still wanted to do in this branch is:
* MAM for mucs
* Check if url and quotes autocompletion works fine
* Check if the api still works fine
* Resolve conflicts
Conflicts are solved with this commit.
MAM for mucs can be another feature PR.
The rest we can check while being on master. And more people can help
testing.
2022-10-21 13:30:43 +02:00
Michael Vetter
980fc189cd
Merge pull request #1757 from techmetx11/feature/1158-vcard
...
Add XEP-0054 vCard support
Regards https://github.com/profanity-im/profanity/issues/1158
2022-10-20 15:45:14 +02:00
Marouane L
f934c5b59f
Add vCard support
...
Only nicknames, photos, birthdays, addresses, telephone numbers, emails,
JIDs, titles, roles, notes, and URLs are supported
Due to the synopsis array not having enough space, `/vcard photo
open-self` and `/vcard photo save-self` are not documented properly in
the synopsis section of the `/vcard` command, but they are documented in
the arguments section
Fixed memory leak in vcard autocomplete (thanks to debXwoody)
2022-10-18 23:24:30 +01:00
Michael Vetter
fc8455ba34
Merge pull request #1768 from profanity-im/winmsg-autocomp
...
Improve /msg and /win autocompletion
2022-10-17 17:28:53 +02:00
Stefan Kropp
5401c1b634
Fix autocompletion for lastactivity
...
`/lastactivity` used autocompletion for /status instead.
There was no get/set autocompletion thus user had to write `/lastactivity
get` to get the proper results.
Original fix by Stefan at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021028
Proper commit message and adapted patch by jubalh.
Co-authored-by: jubalh@iodoru.org
2022-10-17 17:12:29 +02:00
Michael Vetter
65aff65596
Improve /msg and /win autocompletion
...
Let /win and /msg both autocomplete roster nickname and actual barejid
2022-10-17 16:53:58 +02:00
Michael Vetter
528acfb716
release guide: Use proper order
...
Otherwise version will not be correct in generated man pages.
2022-10-12 17:11:12 +02:00
Michael Vetter
e8c927b2c9
Start new cycle
2022-10-12 17:00:29 +02:00
Michael Vetter
3e7457f42a
Release 0.13.1
2022-10-12 16:56:20 +02:00
Michael Vetter
b5ef917fd3
release guide: remove libmesode
...
Deprecated
2022-10-12 16:39:20 +02:00
Michael Vetter
aa9ba63f5f
Merge pull request #1760 from techmetx11/fix/1759-async
...
Replace `call_external`'s implementation with an async one
2022-10-12 12:45:07 +02:00
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