1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-08-18 19:04:14 -04:00
Commit Graph

1005 Commits

Author SHA1 Message Date
James Booth
6abbe62710 Allow whitespace in argument to /info 2013-01-13 19:53:42 +00:00
James Booth
18a4f7da0e Fix segfault by setting room subject to NULL on creation 2013-01-13 18:21:26 +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
d827abddb7 Added jid_destroy() 2013-01-13 01:47:29 +00:00
James Booth
b6f3667390 Moved FREE_SET_NULL to common.h 2013-01-13 01:43:18 +00:00
James Booth
0827ac344f Merge pull request #134 from pasis/fixes
fixed memory leak in parse_room_jid
2013-01-12 17:19:34 -08:00
Dmitry Podgorny
76270fdca8 fixed memory leak in parse_room_jid 2013-01-13 02:41:49 +02:00
James Booth
3a22719bd7 Added jid_create_room_jid 2013-01-13 00:19:56 +00:00
James Booth
6607b99872 Renamed chat room type 2013-01-13 00:08:45 +00:00
James Booth
1cc33cc491 Changed Jid typedef to be explicit pointer 2013-01-13 00:05:25 +00:00
James Booth
7733af1293 Merge remote-tracking branch 'dmitry/fixes' 2013-01-12 23:39:21 +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
8bfeb5fc91 windows.c: fixed gcc warning 2013-01-13 00:55:13 +02: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
James Booth
306f00d3e8 Moved ChatSession typedef 2013-01-12 19:51:32 +00: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
f8cc0c4d07 Added comments to room_chat.c 2013-01-12 00:33:35 +00:00
James Booth
3558df8884 Added subject to chat room 2013-01-11 23:57:03 +00:00
James Booth
e073b69a98 If chat room already joined, just show window 2013-01-11 23:52:01 +00:00
James Booth
d29c7fd878 Updated copyright 2013-01-11 02:05:29 +00:00
James Booth
5fbf966b9c Check nick exists when private messaging
Show nick part of jid in private messaging
2013-01-11 01:35:25 +00:00
James Booth
1cc5353697 Added win_current_is_console() 2013-01-11 01:05:59 +00:00
James Booth
62c102860c Use room nickname autocompleter on /info and /msg when in chat room 2013-01-11 00:48:58 +00:00
James Booth
89967905db Autocomplete: added free function
Fixed tests
2013-01-11 00:17:18 +00:00
James Booth
ce8faa8d34 Added nickname autocompleter to chat rooms 2013-01-11 00:02:05 +00:00
James Booth
96b7b6bc71 Added extra line after /wins 2013-01-10 22:36:08 +00:00
James Booth
3706131e44 Merge remote-tracking branch 'dmitry/next' 2013-01-10 22:27:43 +00:00
James Booth
c10880ced4 Remove whitespace 2013-01-07 20:49:15 +00:00
James Booth
e6d016e640 Temp fix for checking printable chars
Use result of wget_wch to check for special keys
2013-01-07 20:47:01 +00:00
James Booth
268a2f553b Revert "Temp fix for handling printable characters"
This reverts commit 8f5826b256.
2013-01-07 20:31:24 +00:00
James Booth
8f5826b256 Temp fix for handling printable characters 2013-01-07 20:20:39 +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