aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* msn: rename all old 'handler' variables to 'md' for consistencydequis2015-04-11-64/+62
| | | | I avoided doing this before to keep the diff small. But meh.
* msn: handle NOT command payload lengthdequis2015-04-11-0/+4
|
* msn: switch to long polling httpdequis2015-04-10-2/+9
|
* msn: handle NFY PUT (presence notifications), refactor a bitdequis2015-04-10-22/+109
|
* msn_set_away: fix strcmp check for idledequis2015-04-10-1/+1
|
* get_rfc822_header: allow headers at the end of a stringdequis2015-04-10-5/+6
|
* msn: implement the rest of the http gateway support, enable by defaultdequis2015-04-10-20/+106
|
* msn: add msn_queue_feed(), move read() out of msn_handler()dequis2015-04-10-21/+27
|
* msn: remove msn_linesplit, use g_strsplit_set insteaddequis2015-04-10-42/+10
|
* msn: start of the http gateway codedequis2015-04-10-1/+149
|
* msn: remove unsupported commands, OIMs and dead codedequis2015-04-10-308/+4
|
* msn: implement PUT /user to set status as onlinedequis2015-04-10-37/+42
|
* msn: removed switchboards, implemented SDG messagedequis2015-04-10-1012/+85
|
* msn: start update to msnp21dequis2015-04-10-11/+13
| | | | | | | | - bump protocol version - update CVR parameters - don't send BLP, send ADL right after getting contact list - NFY payload size parsing - MSNP21 style ADL
* msn: colorful debugdequis2015-04-10-2/+6
|
* irc_channel: use irc_t instead of bee_tdequis2015-04-06-8/+8
| | | | Fixes the test suite. I guess it's useful for something.
* msn: remove old/broken/unused msnftp stuff (requires distclean!)dequis2015-04-06-792/+0
| | | | | | | | | Since this removes invitation.h, do "make distclean" to fix build errors MSNFTP is a file transfer method used by early msn messenger versions, and has been replaced by MSNP2P probably 10 years ago. This code was disabled/commented out in bitlbee
* irc: split bee_irc_chat_name_hint in a few functionsdequis2015-04-06-66/+102
| | | | Also split underscore_dedupe from nick_dedupe.
* CHANGES: use utf-8 instead of latin1dequis2015-04-05-2/+2
| | | | It's not 2003 anymore
* proxy: minor refactor, simplify error handlingdequis2015-04-05-110/+36
|
* jabber: Fixed null deref when receiving <subject> from oneselfdequis2015-04-03-2/+2
| | | | | | | | If the from="..." of the message that includes a subject refers to us, that buddy object won't have an ext_jid set, and passing that to strchr() results in pain. This happens with recent versions of an xmpp server called "lets-chat".
* Merge branch 'master' into developdequis2015-03-25-6/+73
|\
| * Minor fixes before 3.4 release.3.4Wilmer van der Gaast2015-03-25-2/+4
| | | | | | | | Added date to doc/CHANGES and fixed "make tar".
| * Prepare for 3.4 releasedequis2015-03-15-5/+70
| |
* | chat_name_hint: normalize utf8 with fallback from the channel nameAntoine Pietri2015-03-25-3/+9
| |
* | Fix a bunch of memory leaksdequis2015-03-22-34/+56
|/ | | | | | | | | | | | | | | | | | | - irc_im.c: - bee_irc_user_msg: strdup leaks when otr swallows messages - bee_irc_user_action_response: GString leak in all ctcp replies - otr.c: - call g_slist_free() on the list of the otr_policy setting - otr_filter_msg_in: call otrl_tlv_free() if "tlvs" are returned - otr_filter_msg_out: don't g_strdup() if the message should be ignored - log_otr_message: g_strdup_vprintf() leaks always - nogaim.c: - imcb_ask_auth/imcb_ask_add: leaks in g_strdup_printf() - imcb_ask_add leaks imcb_ask_cb_data if the user already exists - add imcb_ask_cb_free() to correctly free its data - msn_util.c: add msn_buddy_ask_free(), ditto - storage_xml.c: pass_cr/password if base64_decode or arc_decode fail - ssl_gnutls.c: conn->hostname leak in error conditions, like invalid certs - jabber_util.c: jabber_buddy_by_ext_jid() leaks jid if it's not an ext jid
* purple: Fix null pointer dereference when logging out due to daemon modedequis2015-03-15-0/+4
| | | | | Purple just doesn't work with daemon mode anyway, but it's better to show the intended error message than to crash while showing it.
* purple: prplcb_close_request() improvementsdequis2015-03-15-24/+53
| | | | | | | - Added support for PURPLE_REQUEST_INPUT - Changed memory management to do the free() of data through purple_request_close(), letting purple know that the request was answered, and fixing use-after-free issues with it
* purple: handle purple_request_inputAntoine Pietri2015-03-13-1/+66
|
* twitter: fix _last_tweet setting, which broke during a mergedequis2015-03-13-1/+1
| | | | | | Commit eb4ad8d (a merge commit, yes) changed it to _last_tweet and missed one of the three. Not entirely sure if wilmer's fault, could be mine when I did the merge of his merge on my side. Whatever.
* purple: Implement 'close_request' to prevent segfaults after logoutdequis2015-03-11-1/+14
| | | | | | | | | | | | | | | Fixes trac bug 1190 ("Accepting SSL certs too late resets bitlbee-libpurple") To reproduce: 1. Connect to server with self-signed ssl certificate (downgrading to libpurple 2.10.9 might be required to actually get the request) 2. Disconnect the account 3. Type "yes" 4. Acquire segfault. Normally, query_del_by_conn() would handle this, but some requests have no account context at all. Yeah, it sucks. This is how pidgin handles it.
* msn: Update FindMembership payload to fix incorrect pending requestsdequis2015-03-10-1/+1
| | | | | | | | | | | | | | | | It was requesting memberships for the following services: Messenger, Invitation, SocialNetwork, Space, Profile Now it only requests the same services as WLM 2012: Messenger, IMAvailability Fixes trac ticket 1191. I'm going to apply this to the master branch just for the sake of marking it as fixed, but I can't log in at all with that branch at the moment. Yes this is silly.
* Various user experience/error reporting improvementsdequis2015-03-10-5/+17
| | | | | | | | | | | - Show version as part of the initial message of &bitlbee - Use g_strerror() to show actual errors when saving xml configs - Only show "The nick is (probably) not registered" for ENOENT, use g_strerror() for the rest of OS errors when loading xml configs - Show "Protocol not found: <name>" when find_protocol() returns null, useful when the user uninstalls a plugin accidentally. - Suggest the user to check the system clock when getting error 401 from the twitter stream (other REST endpoints show a better error message)
* twitter: Fix twitter_parse_id to accept 00 as a valid tweetdequis2015-03-10-7/+8
| | | | | | Also fix the endptr condition which was backwards and resulted in every tweet id getting rejected, but you didn't see that one, this commit really is about the tweet id 00 which is the most important tweet id.
* help: Increase read buffer size from 1100 to 2048dequis2015-03-04-1/+1
| | | | | | | | | | | | | This fixes "Error opening helpfile." that was introduced by the rawreply commit, which made the help string for "help set commands" larger than 1100 bytes, making the strstr(s, "\n%\n") condition fail I have absolutely no idea why it was 1100 to begin with. It's been like that since the first revision. 2048 is arbitrary too, but it's nicer. Needless to say, the help.c code needs to be reviewed more deeply, at least. Could also use that opportunity to get rid of the xmlto/xslt crap. Not going to do that right now, i don't want to add more bugs.
* Revert "purple: cleanup, remove one usage of static local_bee"dequis2015-03-03-2/+1
| | | | | | | | | | | This reverts commit 5ff46180e5378acd6d103d9314175c78530bda7e. Turns out that libpurple really doesn't provide any context at all for some queries. Also, not going to say "Shouldn't affect anything" again. I'm getting good at writing code that looks good, but actually breaks stuff. That's not good. At all.
* purple: move PurpleAccount from proto_data in a struct purple_dataAntoine Pietri2015-03-02-47/+78
|
* fix imcb_buddy_msg signature to take a const messageAntoine Pietri2015-03-01-2/+2
|
* Disable msn by default :(dequis2015-02-28-3/+11
| | | | | | | I didn't want to do the next release with a broken msn, but... gotta be realistic. Also featuring shameless plug.
* Refactor oauth_params_del to fix use-after-free that i introduceddequis2015-02-28-8/+7
| | | | | | | Yeah ok that was dumb. This is essentially just using a 'data' variable instead of 'l->data', but i went ahead and cleaned up the function.
* Use https:// URL for Facebook OAuth2 now that there's a cert.Wilmer van der Gaast2015-02-24-1/+1
|
* configure: Indentation fixesdequis2015-02-23-21/+21
|
* Add --doc= configure option to disable helpfile generationdequis2015-02-23-13/+38
| | | | | | | | | | | | | It will get disabled automatically if the deps (xmlto and xsltproc) are missing Also added checks for asciidoc (a2x) for the skype plugin, which needs it for the skyped man page, and will also get that disabled if --doc=0 is passed or if asciidoc isn't installed. This should keep those ugly deps under control for now. I'd like to replace them at some point with something less dumb.
* irc_send_motd: the return value of read() is signeddequis2015-02-22-1/+1
| | | | | From coverity. Would cause an invalid write if read() fails (but open() doesn't)
* coverity: Fix some (harmless?) use-after-free with g_slist_remove()dequis2015-02-22-12/+10
| | | | | | | These were passing a pointer to a variable right after it was g_free()'d They are most likely harmless as g_slist_remove() probably just needs the pointer location, but fixing it anyway.
* Add coverity_scan addon to .travis.ymldequis2015-02-22-1/+24
|
* twitter_parse_id function, with better error handling than sscanf()dequis2015-02-22-3/+16
| | | | | Fixes issues such as parsing "reply eo" as replying to "0e", as reported by torrancew
* Don't hard-fail when building docs and dependencies are missingdequis2015-02-22-2/+2
|
* storage_xml: replace hackish code with a GHashTableIterdequis2015-02-22-20/+9
|
* purple: cleanup, remove one usage of static local_beedequis2015-02-22-1/+2
| | | | | Shouldn't affect anything, and still doesn't allow initializing libpurple more than once, but whatever.