aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeLines
...
* | | | | | | | | | | Merging msn-offline branch. A tiny bit of MSNP13, and it works for the firstWilmer van der Gaast2010-08-08-5/+2
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | minute of the session (after that the MSN server finds out the rest of BitlBee still speaks MSNP8).
| * | | | | | | | | | Use local memory in http_encode() instead of malloc().Wilmer van der Gaast2010-08-08-5/+2
| | |_|_|_|_|/ / / / | |/| | | | | | | |
* | | | | | | | | | Add commands to the Twitter module, starting with undo (which deletesWilmer van der Gaast2010-08-07-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | either your most recent tweet, or a specific id (pass it as an argument)).
* | | | | | | | | | OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen <dam@opencsw.org>Wilmer van der Gaast2010-08-07-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with some changes.
* | | | | | | | | | Applied patch from wahjava (with some modifications) for bug #644. ThisWilmer van der Gaast2010-08-07-51/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lets proxy_connect() connect to IPv6 hosts.
* | | | | | | | | | Fixing http_encode(): BitlBee now calls setlocale() (for nicknameWilmer van der Gaast2010-07-29-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | transliteration to work), which changes the behaviour of isalpha() (turns out it's not a simple macro). For HTTP-encoding, this sucks, especially when doing OAuth (which is very picky about the way HTTP encoding is done). This should fix problems some people were seeing with posting Twitter messages containing accents.
* | | | | | | | | | Take the local address from the IM/IRC connection when setting up a listeningWilmer van der Gaast2010-07-25-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | socket for file transfers.
* | | | | | | | | | Merging mainline.Wilmer van der Gaast2010-07-17-8/+10
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | No idea why http_dorequest() ever returned void*. Don't hide the type, it'sWilmer van der Gaast2010-07-17-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not a secret (the pointer is shared with a type later anyway).
| * | | | | | | | | | Don't be a dumbass and stop following redirects if there doesn't seem toWilmer van der Gaast2010-07-16-1/+4
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be an end.
* | | | | | | | | | Merging killerbee stuff, bringing all the bleeding-edge stuff together.Wilmer van der Gaast2010-06-07-58/+72
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Merging mainline.Wilmer van der Gaast2010-06-06-3/+2
| |\| | | | | | | | |
| * | | | | | | | | | Allow one to run the configure script from a different directory and put allWilmer van der Gaast2010-05-25-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build files in there. I need this to properly make Debian package variants (i.e. libpurple and native).
| * | | | | | | | | | Mainline merge. (Probably mostly irrelevant for this branch, oh well.)Wilmer van der Gaast2010-05-16-6/+568
| |\ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | |
| * | | | | | | | | | Merging stuff from mainline (1.2.6).Wilmer van der Gaast2010-04-24-0/+36
| |\ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | |
| * | | | | | | | | | Merging in killerbee stuff (just file transfers and maybe a few things fromWilmer van der Gaast2010-03-21-1/+175
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mainline). Once I add ft support glue to protocols/purple/ I guess this will all go into killerbee.
| * \ \ \ \ \ \ \ \ \ \ Merging in head.Wilmer van der Gaast2010-03-14-2/+3
| |\ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|/ / / / / / | | |/| | | | | | | | |
| * | | | | | | | | | | Merging in &apos; fix.Wilmer van der Gaast2010-03-08-0/+1
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merging BitlBee 1.2.4+Wilmer van der Gaast2009-11-23-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Hacked up a B_EV_FLAG_FORCE_REPEAT event handler flag to make libpurpleWilmer van der Gaast2009-10-11-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | happy.
| * | | | | | | | | | | | | Make purple use BitlBee's event handling API. Since the APIs never reallyWilmer van der Gaast2009-10-11-55/+55
| | |_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | Merging head.Wilmer van der Gaast2010-06-01-3/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Setting the HTML flag on a connection has a nasty side effect of escapingWilmer van der Gaast2010-05-19-3/+2
| | |_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a lot of "special" characters, and these HTML entities are not counted as one character. :-( So just strip HTML of incoming stuff and don't do anything with what goes out. It's not required. The story may actually be more complicated this, let's find out.
* | | | | | | | | | | | Mainline merge.Wilmer van der Gaast2010-05-13-1/+21
|\| | | | | | | | | | |
| * | | | | | | | | | | Implement some kind of ignorant awareness of XML namespaces: Enough to notWilmer van der Gaast2010-05-12-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | break backward compatibility (hopefully) but be able to pick up inappropriate uses of XML namespace prefixes. Main reason for this change: Fix XMPP typing notification compatibility with GMail.
* | | | | | | | | | | | Mainline merge.Wilmer van der Gaast2010-05-03-5/+547
|\| | | | | | | | | | |
| * | | | | | | | | | | OAuth sanity fix: Twitter-specific stuff should *not* be in lib/oauth.c.Wilmer van der Gaast2010-05-02-57/+87
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Somewhat intrusive, should've done this right immediately. :-/
| | * | | | | | | | | | | Save the credentials again.Wilmer van der Gaast2010-05-01-0/+31
| | | | | | | | | | | | |
| | * | | | | | | | | | | Cleaned up OAuth stuff: consumer key/secret should *not* be in lib/oauth.c.Wilmer van der Gaast2010-05-01-57/+56
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep it in the Twitter module, and use the oauth_info struct through the whole session to keep all this together.
| * | | | | | | | | | | NULL-initialize two vars that weren't and should.Wilmer van der Gaast2010-04-30-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Valgrind-clean now. And decent handling of errors (wrong PIN).Wilmer van der Gaast2010-04-27-1/+3
| | | | | | | | | | | |
| * | | | | | | | | | | Valgrind cleanup.Wilmer van der Gaast2010-04-27-9/+43
| | | | | | | | | | | |
| * | | | | | | | | | | The escaping, I fixed it for you. More expensive code this way and most ofWilmer van der Gaast2010-04-27-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the vars don't need escaping. But this shouldn't be so fragile anymore.
| * | | | | | | | | | | Escaping in oauth_nonce(). Not sure if the escaping is entirely right ATM...Wilmer van der Gaast2010-04-26-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | :-(
| * | | | | | | | | | | OAuth, it lives!Wilmer van der Gaast2010-04-26-1/+22
| | | | | | | | | | | |
| * | | | | | | | | | | Twitter module now generates authorize URLs.Wilmer van der Gaast2010-04-26-5/+5
| | | | | | | | | | | |
| * | | | | | | | | | | Moving two public OAuth functions into the header file.Wilmer van der Gaast2010-04-26-16/+36
| | | | | | | | | | | |
| * | | | | | | | | | | Successfully posted a tweet!Wilmer van der Gaast2010-04-26-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Twitter's tricky. It returns vars (user_id, screen_name) in the access token that, the way I read the spec, should be included in all subsequent queries. However, stuff only started to work when I dropped those vars. This code's definitely not pretty ATM. Need to clean up now that it actually works.
| * | | | | | | | | | | Added a function that generates an OAuth Authorization: HTTP header.Wilmer van der Gaast2010-04-26-13/+79
| | | | | | | | | | | |
| * | | | | | | | | | | oauth_access_token() added. I managed to increase the counter onWilmer van der Gaast2010-04-25-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://twitter.com/oauth_clients/details/127170 . \o/
| * | | | | | | | | | | Some HTTP stuff. Via gdb I can make this request a token.Wilmer van der Gaast2010-04-25-6/+212
| | | | | | | | | | | |
| * | | | | | | | | | | constified.Wilmer van der Gaast2010-04-25-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Code to calculate OAuth signatures. I hope that after wrapping my mindWilmer van der Gaast2010-04-25-1/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | around all of this the rest is going to be easier..
| * | | | | | | | | | | Make http_encode() RFC3986-compliant. (Escape everything except alphanumericWilmer van der Gaast2010-04-25-2/+1
| | |_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | characters plus [-_~.].)
* | | | | | | | | | | Merging loads of stuff from mainline.Wilmer van der Gaast2010-04-14-0/+36
|\| | | | | | | | | |
| * | | | | | | | | | Added a mktime_utc() to misc.c using code that used to be in jabber_util.c.Wilmer van der Gaast2010-04-08-0/+36
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I want to use this in the Twitter module.
* | | | | | | | | | Restored CTCP/DCC hooks for outgoing file transfers.Wilmer van der Gaast2010-04-13-1/+4
| | | | | | | | | |
* | | | | | | | | | Start handling CTCPs, in a saner way than before.Wilmer van der Gaast2010-04-12-0/+47
| |_|_|_|/ / / / / |/| | | | | | | |
* | | | | | | | | Small cleanup. The max_packet_size variable doesn't seem to be readWilmer van der Gaast2010-03-17-37/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | anywhere, and reworked string handling in ft_listen() a little bit.
* | | | | | | | | Merging mainline.Wilmer van der Gaast2010-03-17-2/+4
|\| | | | | | | |