aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/sb.c
Commit message (Collapse)AuthorAgeLines
* msn: removed switchboards, implemented SDG messagedequis2015-04-10-712/+0
|
* msn: remove old/broken/unused msnftp stuff (requires distclean!)dequis2015-04-06-38/+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
* coverity: Fix some (harmless?) use-after-free with g_slist_remove()dequis2015-02-22-2/+1
| | | | | | | 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.
* Reindent everything to K&R style with tabsIndent2015-02-20-556/+484
| | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
* Replace isdigit/isalpha/.../tolower/toupper with glib variantsdequis2015-01-16-2/+2
| | | | | | | | | | | This fixes warnings about passing signed chars to them (apparently they are implemented as macros that do array lookups without checks in some platforms, yay) Specifically: functions=isalnum|isalpha|isdigit|isspace|isxdigit|tolower|toupper sed -ir "s/$functions/g_ascii_&/g" **/*.c
* Fix incorrect Free Software Foundation addressMatej Cepl2015-01-16-2/+2
|
* One more semicolon check (BYE command).Wilmer van der Gaast2012-09-16-1/+1
|
* Don't accidentally create groupchats for 1:1 chats.Wilmer van der Gaast2012-09-16-11/+19
|
* Online status should be read properly now.Wilmer van der Gaast2012-09-16-2/+2
|
* Some more tweaks: Should show up online now, and be able to send and receiveWilmer van der Gaast2012-09-16-3/+18
| | | | | messages. Seeing online state is still a problem due to the protocol#: gunk.
* MSNP18 code. It logs in now but otherwise doesn't work all too well.Wilmer van der Gaast2012-09-16-4/+1
|
* Drop dead support for MSN offline messages (that SOAP server isn't even inWilmer van der Gaast2012-02-11-0/+3
| | | | | | DNS anymore). Bug #874 for adding support for the new (much simpler, for a change) way.
* Add missing newslines to debugging output. Bug #896.Wilmer van der Gaast2012-02-11-1/+1
|
* Moving msn_findheader() to lib/misc.c as get_rfc822_header() so I can use itWilmer van der Gaast2011-12-19-4/+4
| | | | | in OAuth as well. (Need it to find the Content-Type: header.)
* msn: unused-but-set-variablesMiklos Vajna2011-12-06-6/+0
|
* Silently adding /CTCP NUDGE support for MSN contacts.Wilmer van der Gaast2010-12-13-1/+6
|
* Rearrange things a bit to support multiple NS connections. This is apparentlyWilmer van der Gaast2010-09-03-6/+6
| | | | | needed for refreshing auth. tokens.
* Replace msn*write functions with saner versions that accept format strings.Wilmer van der Gaast2010-09-02-32/+25
| | | | | Also preparing for additional temporary NS connections (auth token renewal).
* Ignore empty status messages, and msnmsgrp2p invitations.Wilmer van der Gaast2010-08-22-2/+2
|
* Remove some old Passport stuff, this is all in soap.[ch] now.Wilmer van der Gaast2010-08-14-2/+1
|
* Some syntax checking fixups; don't make the same mistake of failing just ifWilmer van der Gaast2010-08-12-6/+6
| | | | | | the MSN server is sending a little bit *more* info. And adding xt_insert_node() used in the ADL generation code.
* Implement MSNP15 SSO (Sadistic Sign-On).Wilmer van der Gaast2010-08-11-0/+6
|
* Enough changes to successfully login up to (but not including) fetching theWilmer van der Gaast2010-08-08-0/+1
| | | | | contact list.
* Merging msn-offline branch. A tiny bit of MSNP13, and it works for the firstWilmer van der Gaast2010-08-08-2/+7
|\ | | | | | | | | | | minute of the session (after that the MSN server finds out the rest of BitlBee still speaks MSNP8).
| * Error reporting and added a msgq_send function. Need to put some moreWilmer van der Gaast2010-03-20-11/+5
| | | | | | | | | | intelligence into it later.
| * Added soap.c with a fairly reusable SOAP framework and simple code forWilmer van der Gaast2010-03-20-0/+12
| | | | | | | | | | | | sending offline messages. It works somewhat, just that Pidgin shows the messages as empty. :-(
* | Merging killerbee stuff, bringing all the bleeding-edge stuff together.Wilmer van der Gaast2010-06-07-1/+1
|\ \
| * \ Mainline merge. (Probably mostly irrelevant for this branch, oh well.)Wilmer van der Gaast2010-05-16-27/+22
| |\ \
| * \ \ Merging stuff from mainline (1.2.6).Wilmer van der Gaast2010-04-24-0/+42
| |\ \ \
| * \ \ \ Merging in killerbee stuff (just file transfers and maybe a few things fromWilmer van der Gaast2010-03-21-56/+41
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mainline). Once I add ft support glue to protocols/purple/ I guess this will all go into killerbee.
| * | | | | Make purple use BitlBee's event handling API. Since the APIs never reallyWilmer van der Gaast2009-10-11-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | diverged too much this is fairly transparent. I did rename and redefine GAIM_INPUT_* variables to really make it work without adding another stupid layer in between. One problem left, the new libpurple input API doesn't care about return values. Fixing that in the next CL.
* | | | | Mainline merge.Wilmer van der Gaast2010-05-13-27/+22
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Stop those "Many switchboard failures" messages. No point in showing themWilmer van der Gaast2010-05-11-27/+22
| | |_|/ | |/| | | | | | | | | | | | | | unless the lost switchboard actually had something queued.
* | | | Safety check for yesterday's fixes: Double-check that a groupchat structWilmer van der Gaast2010-05-09-2/+5
| | | | | | | | | | | | | | | | | | | | isn't claimed already.
* | | | Create the struct groupchat early on in msn_chat_with() so the new chatWilmer van der Gaast2010-05-09-1/+4
| | | | | | | | | | | | | | | | | | | | setup method works properly.
* | | | Mainline merge.Wilmer van der Gaast2010-05-03-0/+43
|\| | |
| * | | Be more clever with keepalives; detect when a switchboard is opened withWilmer van der Gaast2010-04-10-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | someone who's offline already. Still a hack but it eases the pain a little bit.
| * | | First stab at MSN keepalives.Wilmer van der Gaast2010-04-10-7/+18
| |/ / | | | | | | | | | | | | Only kicks in if the user goes offline during a conversation.
* | / Including DCC stuff again, with a wonderful extra layer of abstraction.Wilmer van der Gaast2010-04-11-0/+3
| |/ |/| | | | | | | | | | | Some hooks are missing so sending files doesn't work yet. Receiving also still seems to have some issues. On the plus side, at least the MSN/Jabber modules work again.
* | No functional changes, just some style "fixes". Although I admit I'mWilmer van der Gaast2009-12-13-2/+4
| | | | | | | | | | | | | | | | | | | | somewhat growing out of my own coding style, I do try to keep things consistent at least within files. Comments are now in reviewboard: http://code.bitlbee.org/rb/r/13/
* | Added MSN file transfer of type MSNFTP.ulim2008-08-11-56/+39
|/ | | | | Transfer is direct and the sender can not be firewalled.
* Added msn_sb_write_msg() (patch from ulim).Wilmer van der Gaast2008-08-10-0/+42
|
* Disabling "Unknown command" warnings since they're very noisy and prettyWilmer van der Gaast2008-02-03-1/+1
| | | | | pointless.
* When a switchboard connection dies (at the TCP level) and there are stillWilmer van der Gaast2008-01-12-0/+43
| | | | | | | | | | | queued messages, they will now be moved back to the main queue and a new sb will be created to try to send the messages again. I hope this will solve some/most/all of the "Closing switchboard with unsent messages" problems, but can't be sure since this problem isn't very easy to reproduce. At least it should solve the ones caused by keeping spare switchboards around. Also enabling switchboard debugging output if configured with --debug=1, at least for now this will be useful.
* Changed warning message about unsent MSN messages. It should show the actualWilmer van der Gaast2008-01-06-35/+6
| | | | | message(s) now.
* Added handling of MSN switchboard NAK messages. Untested, but hey, itWilmer van der Gaast2008-01-05-0/+11
| | | | | compiles! (And it's pretty trivial...)
* Read-only support for Jabber conferences (non-anonymous rooms only).Wilmer van der Gaast2007-04-22-1/+1
| | | | | Just don't use this, you're really not going to like it. :-)
* Renamed/slightly changed syntax of groupchat callback functions.Wilmer van der Gaast2007-04-19-12/+12
|
* API cleanup pretty much complete. Fixed pretty much everything except theWilmer van der Gaast2007-04-16-3/+3
| | | | | buddy/groupchat related functions.
* s/imc/imcb/ for callback functions. Moved things aroundin nogaim.h aWilmer van der Gaast2007-04-15-3/+3
| | | | | | little bit, grouping things by category instead of original Gaim 0.58 filename.