Commit graph

353 commits

Author SHA1 Message Date
LDA
4b5a759ce7 [FIX] Fix uninitialised variables
I'm not sure why Debian's GCC didn't catch this, but NetBSD's did.
Another reason to add CI checks for NetBSD, then, though I am not sure
how to do it safely through VMs(and I doubt Docker/Podman would help me
for weird architectures). Hm.
2024-10-22 10:26:38 +02:00
LDA
b0cf0961a3 [FIX] Make codebase *slightly* NetBSD-friendly
I need to make it so that NetBSD targets get their own
correctness/build checks in CI. I also had to do some hacks with
Cytoplasm, will make a PR for those soon.
2024-10-22 10:21:54 +02:00
LDA
44d6df3be8 [FIX/CI] Make the C compiler less stupid
(You may notice that the dates for these commits are off. I'm
currently writing them without an Internet connection, and the
device I'm writing this through doesn't have an RTC. Oops!)
2024-10-20 15:12:08 +02:00
LDA
02a89270c0 [FIX] Kill Parsee on unexcepted stream closure 2024-10-20 12:53:07 +02:00
LDA
ff5f085b7f [FIX/MOD] Stanza send function, fix some errors
Negociating stanza sizes seems to be real trouble. Also this code is now
`-fanalyzer'-safe!
Also kills the last GNUMakefile present. It wasn't even used...
2024-10-19 16:58:48 +02:00
LDA
d9b5141eb5 Merge branch 'master' of https://git.kappach.at/lda/Parsee 2024-10-17 17:13:08 +02:00
LDA
bb32eb48a6 Merge branch 'fix-configure' 2024-10-17 16:57:14 +02:00
Xavier Del Campo Romero
2074d8e768
[FIX] configure.c: Do not assume git
If parsee were downloaded from sources other than git-clone(1) (e.g.: a
tarball), perror(3) fails and/or git(1) is not available on the system,
"git remote get-url origin" would have unexpected results or even return
a NULL pointer, which would cause undefined behaviour on
strchr(repo, ...);

In such conditions, a placeholder string, namely "N/A", is strdup(3)ed
to `repo`.
2024-10-17 07:37:01 +02:00
Xavier Del Campo Romero
e0f76e7929
[FIX] configure.c: Add missing -I $(CYTO_INC)
Some tools depend on header files defined by Cytoplasm.
2024-10-17 07:00:59 +02:00
Xavier Del Campo Romero
a66021bf46
[FIX] configure.c: Improve recursion rule
So far, collect_sources was called recursively when the entry name did
not match a pre-defined list. However, this assumption broke with files
such as `etc/media/README`, that were not in the list.

Therefore, a deterministic way to distinguish files from directories is
to rely on the S_ISDIR macro. This avoids the need for a pre-defined
list.
2024-10-17 06:45:42 +02:00
Xavier Del Campo Romero
ecbc211003
[FIX] configure.c: Fix '.' and '..' detection
Otherwise, hidden files such as '.file.<ext>' would be ignored.
2024-10-17 06:44:18 +02:00
LDA
1be19d4b8d [CI/FIX] Proper casts 2024-10-11 20:03:41 +02:00
LDA
27223a5896 [FIX/CI] Listen to CI 2024-10-11 19:58:28 +02:00
LDA
147e430a47 [FIX] Do NOT use strlen in a loop
Never. Do. This. Never. It should never cross your mind. Doing so will
punish you. Basic computer science concepts will tell you it's O(n^2).
And it WILL actually matter. Never. Never. Never. Never. Never. Never.
            NEVER FUCKING EVER DO THAT EVER AGAIN.
            NEVER FUCKING EVER DO THAT EVER AGAIN.
            NEVER FUCKING EVER DO THAT EVER AGAIN.
            NEVER FUCKING EVER DO THAT EVER AGAIN.
            NEVER FUCKING EVER DO THAT EVER AGAIN.
Anyways, also fixes licensing year. On est en octobre et il comprend
toujours pas qu'on est plus en 2023.
2024-10-11 19:49:19 +02:00
LDA
13a9d23fa0 [FIX/ADD] Fix YAML generation, keep track of time 2024-10-11 16:09:21 +02:00
LDA
a48c3ba126 [ADD] Have avatars on first-message too 2024-10-08 17:27:25 +02:00
LDA
94090a8c97 [MOD] Rewrite the status code slightly
Also handle error-based kicks
2024-10-05 09:43:12 +02:00
LDA
179fd405db [FIX] Do not listen for kick requests
They may be sent for scenarios where an unlink is NOT wanted.
2024-10-05 09:20:49 +02:00
LDA
b7c360d528 [FIX] Handle logic mistake in plumbing 2024-10-04 12:09:56 +02:00
LDA
17474bda0f [FIX] (Try to) fix the memory leak 2024-10-03 07:53:39 +02:00
LDA
d585134ce1 [ADD/WIP] Temporary vCard avatard
Gajim still reacts weirdly.... also it leaks memory related to avatars,
so that sucks...
2024-10-02 21:13:28 +02:00
LDA
9ea8f35c49 [ADD/WIP] Try dealing in VCards 2024-10-01 06:59:13 +02:00
LDA
d989331716 [MOD] Add width/height information when possible 2024-09-30 06:11:31 +02:00
LDA
09d38993bb [ADD] Add XMPP commands for managing whitelists 2024-09-29 09:37:46 +02:00
LDA
a38e14e029 [FIX] Fix unused variables 2024-09-28 19:04:23 +02:00
LDA
0b00a665bf [ADD] MUC whitelists, part II 2024-09-28 15:58:41 +02:00
LDA
af2d08a431 [ADD/WIP] Start introducing whitelist command
The whitelist system will also be managable from XMPP and Matrix, and
will be for MUC/room management.
2024-09-28 13:24:38 +02:00
LDA
3ceae7b053 I honestly don't know what to call it.
It's not a 0.2 release, btw.
2024-09-26 19:07:46 +02:00
LDA
e7ba1fa48d [MOD] Separate the unlink in another function 2024-09-26 11:11:39 +02:00
LDA
749df0feb1 [ADD/WIP] Basic support for opting-out of bridging 2024-09-25 22:09:11 +02:00
LDA
0f3253a385 [FIX] Fix unfreed value on renames 2024-09-24 07:08:25 +02:00
LDA
2324f9afc0 [MOD/META] Clarify LICENSE more, fix chatstates 2024-09-22 18:36:53 +02:00
LDA
63285ac24a [FIX] Fix a very silly mistake 2024-09-22 15:13:12 +02:00
LDA
dec0d1f3d9 [FIX/WIP] Start making Parsee go vroom 2024-09-22 11:18:41 +02:00
LDA
c2ea3807ec [MOD/FIX] Licensewerk, start counting by codepoint
XEP-0426 came out of the blue, and it *hit* me!
2024-09-21 18:26:35 +02:00
LDA
dba3dcc85f [FIX] Fix more unistr fuckups 2024-09-21 14:11:04 +02:00
LDA
b9954c06ce [FIX] Apparently 0b isn't valid C99 2024-09-21 13:48:09 +02:00
LDA
6167732e83 [FIX] BMP for MUC nicks, dip toes in vCard avatars
Can, your, Bifrost, Do, That. -lh
2024-09-21 13:18:59 +02:00
LDA
9b4d97b033 [FIX] Fix subscription hash's warns 2024-09-20 07:01:35 +02:00
LDA
6e9ba8f0ee [FIX] Fix media C99 fuckups 2024-09-19 23:30:59 +02:00
LDA
e54332e376 [MOD] Basic work to get XMPP avatars through PEP
Attaboy!
2024-09-19 23:24:46 +02:00
LDA
f31a9c37b6 Merge branch 'master' of https://git.kappach.at/lda/Parsee 2024-09-19 10:09:03 +02:00
lda
c607a99004 [FIX] Get rid of unused variable
It's joever...
2024-09-19 06:54:17 +00:00
LDA
7ee5c055f4 [MOD] Actually start noting down presence requests 2024-09-18 15:39:52 +02:00
LDA
f666f39b7c [MOD] Add CHANGELOG, start PEPing 2024-09-18 07:58:21 +02:00
LDA
420c05690f [FIX] Catch SIGPIPEs 2024-09-18 05:55:47 +02:00
LDA
f96e0a95bd [CI] Just generate ZIPs 2024-09-17 21:45:26 +02:00
LDA
5ffd413e67 [CI/FIX] Fix YAML issue 2024-09-17 10:33:46 +02:00
LDA
9d67cb6165 [CI] Silly me. 2024-09-17 10:24:26 +02:00
LDA
9ff70bc0ed [CI] Push my luck with strategies 2024-09-17 10:21:27 +02:00