Steffen Jaeckel
c5a131ee46
Introduce our own shutdown callback mechanism.
...
Instead of adding stuff to `_shutdown()`, we can now register a shutdown
routine from the respective `init()` function of our modules.
This also has the advantage, that we're sure they're called in reverse
order from how the initialization happened.
I didn't simply use `atexit()` because POSIX says that the number of
possible callbacks is limited (min 32) and I was not sure whether
we will maybe extend this number at one point.
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu >
2025-03-07 21:09:16 +01:00
Michael Vetter
a2726b6a7d
Apply coding style
2020-07-07 14:18:57 +02:00
Michael Vetter
a4cadf78fa
Revert "Apply coding style"
...
This reverts commit 9b55f2dec0 .
Sorting the includes creates some problems.
2020-07-07 13:53:30 +02:00
Michael Vetter
9b55f2dec0
Apply coding style
...
Regards https://github.com/profanity-im/profanity/issues/1396
2020-07-07 09:43:28 +02:00
Michael Vetter
11b6e1bfa0
xep-0308: enable corrections for outgoing encrypted messages
2020-02-12 08:54:12 +01:00
Michael Vetter
46fd7150e5
Add vim modeline
2019-11-13 12:11:05 +01:00
Michael Vetter
706af9a900
Update copyright to include 2019
2019-01-22 11:31:45 +01:00
James Booth
250e972b7a
Update copyright
2018-01-21 15:00:02 +00:00
James Booth
68a3daedb9
Update Copyright
2017-01-28 17:24:22 +00:00
James Booth
a978bb12bf
Send receipt request only when receiver supports feature
...
issue #829
2016-08-18 22:53:23 +01:00
James Booth
9cff37352a
Make header defines consistent
2016-07-24 14:51:39 +01:00
James Booth
e8fc80f5c1
Update GPL link in headers
2016-07-24 01:14:49 +01:00
James Booth
e53e94f1e2
Updated copyright
2016-02-14 22:54:46 +00:00
James Booth
ff9abecd50
Combined chatwin OTR SMP functions
2015-10-27 22:25:26 +00:00
James Booth
894fa355e8
Applied coding style to src/otr/
2015-10-25 22:40:09 +00:00
James Booth
1484e94b35
Fixed OTR decryption check
2015-08-27 00:37:48 +01:00
James Booth
8d2d923603
Moved message display logic to sv_ev_incoming_message
2015-06-21 18:00:57 +01:00
James Booth
e45afd5c09
Added pgp checks for message sending
2015-06-21 01:48:25 +01:00
James Booth
5cdd69f478
Moved UI interfaces to ui.h
2015-06-15 20:11:34 +01:00
James Booth
be4ee40ed4
Pass ProfChatWin to otr_on_message_send
2015-05-02 23:23:12 +01:00
James Booth
665c34414d
Return result on OTR message sending
2015-04-29 22:59:44 +01:00
James Booth
70d1756a1c
Moved otr message send event to otr module
2015-04-27 23:30:33 +01:00
James Booth
eb177ccbef
Removed server_events dependency on libotr headers
2015-04-27 23:17:38 +01:00
James Booth
11966d39b0
Added otr_tag_message, removed commands.c dependency on libotr
2015-03-16 21:41:35 +00:00
James Booth
b3be26a214
Updated copyright
2015-02-10 23:16:09 +00:00
James Booth
9d94ac5c63
Removed function pointers
2014-12-22 22:13:42 +00:00
James Booth
f9737251a6
Added license exemption for OpenSSL to source headers
2014-08-24 20:57:39 +01:00
James Booth
c98ce4299d
Free resources on OTR shutdown
2014-06-26 23:55:57 +01:00
James Booth
7344d3b898
Added deallocation function for string prefs, added otr policy enum
2014-06-18 00:32:36 +01:00
James Booth
e8d84abb46
Moved OTR policy check to otr module
2014-05-11 15:03:10 +01:00
James Booth
a077d2008a
Added question answer authentication (libotr 3.2.x)
2014-04-30 23:59:40 +01:00
James Booth
1155ceabbc
Attempt at shared secret authentication for libotr 4.0.0
...
Bug exists where second attempt always gets stuck
2014-04-28 22:23:39 +01:00
James Booth
da4dfe251d
Added SMP secret libotr 4.0.0 handlers
2014-04-27 18:46:40 +01:00
James Booth
aff9eee433
Handle SMP secret response
2014-04-26 22:52:25 +01:00
James Booth
06d81ed9ce
Send SMP init message with /otr secret
2014-04-26 22:08:53 +01:00
James Booth
26726b207a
Updated copyright
2014-03-09 01:18:19 +00:00
James Booth
09472e43c4
Added OTR supported versions in initial start query message
2014-02-18 22:31:27 +00:00
James Booth
a21ab6d4c8
Mock otr module for cmd_otr tests
2014-02-16 19:14:15 +00:00
James Booth
b30155a10e
Moved otr sources into folder
2014-02-12 22:19:21 +00:00