aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/purple/bpurple.h
Commit message (Collapse)AuthorAgeLines
* purple: Call imcb_buddy_nick_change() on a few whitelisted pluginsdequis2016-12-25-0/+4
| | | | | | | | The whitelist includes hangouts, funyahoo and icq. These plugins tend to have numeric or meaningless usernames. With this change, users don't have to do 'ac whatever set nick_format %full_name' anymore. Just sugar.
* purple: fix file transfer memory managementdequis2016-11-13-0/+1
| | | | | | | | | | | | | | | | This means cancelling transfers on logout to avoid crashes, keeping track of timeouts, reffing and unreffing the xfers, listening to the callbacks from UI and purple more carefully and using the correct functions to free the correct things at the correct moments. Originally intended to fix a crash triggered when the dcc stall timeout kicks in after the account is offline, which is apparently very frequent with telegram (it sends file transfers while fetching history, and randomly disconnects a while later). Trying to fix that meant opening a can of worms, but after three days of work on this bug I'm pretty sure I've finished dealing with the resulting mess and tested all the typical edge cases.
* purple: hack to pass server parameter to jabber's input requestdequis2016-11-04-0/+1
| | | | | | | | | | | | Because our purple module is all about hacks, adding more can't hurt. There's a string comparison for "Enter a Conference Server". It's gettexted in the source but in practice it isn't affected by locale (bitlbee disables localization). Worst case, if this stops working, it will open an input request like it did before this commit. It also does that in purple's jabber if you don't provide a server parameter.
* purple: Fix handling of empty, immediate roomlist resultsdequis2016-10-08-6/+0
| | | | | | | | | | | | | | | | | | | | Two issues here: 1. SIPE called in_progress(FALSE) immediately (which decreases refcount), before purple_roomlist_get_list() could return (which would normally increase refcount). The first refcount decrease steals it from the prpl, and bad things happen. Added an initialized flag to only do that decrease after it was increased first. This is similar to how pidgin sets a 'dialog' attribute after the purple_roomlist_get_list() call, and skips the unref if it's not set. 2. The code assumed that NULL return value means room listing not supported. That's not quite true, so now it checks in the prpl info to see if roomlist_get_list is defined. Also, made purple_roomlist_data more private.
* purple: added room listing supportjgeboski2016-09-19-0/+6
|
* purple: handle purple_request_inputAntoine Pietri2015-03-13-0/+5
|
* purple: move PurpleAccount from proto_data in a struct purple_dataAntoine Pietri2015-03-02-0/+12