1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Commit Graph

177 Commits

Author SHA1 Message Date
James Booth
b031f337e6 Replace openssl calls with EVP interface 2013-01-20 20:09:18 +00:00
James Booth
e350616fee Output given and generated hash for caps 2013-01-20 19:46:31 +00:00
James Booth
eed0910916 First implementation of sha1 generation from stanza 2013-01-20 18:23:29 +00:00
James Booth
64d81c7c4c Started work on creating sha-1 caps hash 2013-01-20 17:16:45 +00:00
James Booth
4ecb69bfab Moved processing of caps str to stanza.c 2013-01-20 13:56:50 +00:00
James Booth
3386ba3a1e Added basic SHA-1 hash of capabilities 2013-01-20 13:28:43 +00:00
James Booth
b4ea35d40a Added client to /info command in chat rooms 2013-01-20 04:33:31 +00:00
James Booth
17ed139d96 Changed /info command to show client 2013-01-20 02:26:54 +00:00
James Booth
8ff283d44d Send diso#info request if capabilities not cached 2013-01-20 01:29:15 +00:00
James Booth
f967395f0f Added check whether caps cached 2013-01-20 00:57:44 +00:00
James Booth
79c92656f9 Added retrieval of caps string from presence 2013-01-19 23:52:50 +00:00
James Booth
d87c20e666 Removed jid_is_room() 2013-01-13 18:06:29 +00:00
James Booth
b768296a93 Use Jid in groupchat message handler 2013-01-13 17:58:25 +00:00
James Booth
ec75b5e04a Use Jid datatype in chat rooms 2013-01-13 03:14:36 +00:00
James Booth
b6f3667390 Moved FREE_SET_NULL to common.h 2013-01-13 01:43:18 +00:00
James Booth
f519ae78d8 Merge pull request #132 from pasis/next
Some code refactoring in jabber.c
2013-01-12 15:20:33 -08:00
James Booth
94bcf1889d Added jid datatype 2013-01-12 23:10:56 +00:00
Dmitry Podgorny
175963eb51 check account->name == NULL 2013-01-13 00:44:40 +02:00
Dmitry Podgorny
ef49afdc63 fixed resources release
* Use free instead of g_free as resources are allocated with strdup
* Fixed memory leaks
2013-01-13 00:30:23 +02:00
Dmitry Podgorny
59e4db0e96 don't release room and nick when parsing failed 2013-01-13 00:06:50 +02:00
Dmitry Podgorny
492a333294 room_jid should be (char *) 2013-01-12 23:52:00 +02:00
Dmitry Podgorny
d04c7d070a refactored jabber_set_autoping() 2013-01-12 23:48:24 +02:00
Dmitry Podgorny
9660f402ad added JABBER_PRIORITY_* macros 2013-01-12 23:40:21 +02:00
Dmitry Podgorny
9121cbe295 fixed memory leak in jabber_subscription() 2013-01-12 23:32:32 +02:00
Dmitry Podgorny
db9c9ab091 set NULL only when resource != NULL in FREE_SET_NULL 2013-01-12 23:23:40 +02:00
Dmitry Podgorny
83c3fe5b7e refactored jabber_connect functions
* similar code moved to jabber_connect()
* variables saved_* moved to a structure saved_user
* 'user' renamed to 'jid'
2013-01-12 22:53:07 +02:00
Dmitry Podgorny
70f5ad2206 jabber.c: use FREE_SET_NULL macro 2013-01-12 21:31:12 +02:00
James Booth
d7b969b135 Moved jid related functions to common 2013-01-12 01:44:21 +00:00
James Booth
bfd7362e2a Renamed muc functions 2013-01-12 01:34:09 +00:00
James Booth
dad01d8f84 Renamed room_chat module to muc 2013-01-12 01:01:39 +00:00
James Booth
d29c7fd878 Updated copyright 2013-01-11 02:05:29 +00:00
Dmitry Podgorny
0f0e04603a added resources release to connetion handler 2013-01-07 22:13:24 +02:00
Dmitry Podgorny
5542752afb jabber.c: removed xmpp_stop calls
xmpp_stop() stops event loop xmpp_run() that profanity doesn't start.
2013-01-07 22:02:07 +02:00
Dmitry Podgorny
e0e8110746 jabber.c: set jabber status in one place in connection handler 2013-01-07 22:00:13 +02:00
Dmitry Podgorny
621832ee4a free resources when login attempt fails
The next call of jabber_connect allocates these resources again.
2013-01-07 21:21:19 +02:00
Dmitry Podgorny
59676bd16e jabber.c: removed extra resources release
These resources are released in jabber_free_resources().
2013-01-07 20:33:56 +02:00
Dmitry Podgorny
d0ab292d73 jabber.c: added assert before reconnect_timer allocation
Development build will be terminated if reconnect_timer was allocated
previously and wasn't destroyed.
2013-01-07 20:24:04 +02:00
Dmitry Podgorny
5e8d9e942b free saved login information in jabber_free_resources() 2013-01-07 20:16:41 +02:00
Dmitry Podgorny
d533fc9595 jabber.c: removed explicit type conversion
According to the C99 standard integer type will be converted to real
floating type before the comparison.
2013-01-07 18:54:07 +02:00
James Booth
6ef4014882 Fixed compile error 2012-12-10 00:57:50 +00:00
James Booth
5013cce832 Added autocomplete for enabled logins only 2012-12-10 00:53:57 +00:00
James Booth
ce6f227651 Handle logins using accounts 2012-12-09 22:14:38 +00:00
James Booth
8e90f7a414 Handle idle time from contacts 2012-12-09 03:07:33 +00:00
James Booth
731dabd712 Added server property to accounts 2012-12-07 00:10:00 +00:00
James Booth
8304b30b52 Add optional server parameter to /connect command 2012-12-06 20:36:16 +00:00
James Booth
fae848ea64 Implemented /autoaway mode idle 2012-12-01 17:46:25 +00:00
James Booth
5496b25735 Respond to ping requests 2012-11-29 22:33:47 +00:00
James Booth
b7a7be37e9 Remove from outstanding requests on /sub 2012-11-28 01:17:24 +00:00
James Booth
ce0e96edf5 Merge branch 'master' into sublist 2012-11-28 01:05:37 +00:00
James Booth
80c2209bbd Add and remove from roster on subscription presence 2012-11-28 01:04:40 +00:00