aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | 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
|\| | | | | | | |
| * | | | | | | | Adding a few consts and other misc fixes from bug #431. Doing this via aWilmer van der Gaast2010-03-14-2/+3
| |\ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | merge because bzr can probably deal with the conflicts better than patch.
| | * | | | | | | Some const/etc cleanups submitted by domen@coderock.org back in bug #431.Wilmer van der Gaast2010-03-14-2/+3
| | | |_|_|_|/ / | | |/| | | | |
| * | | | | | | Added ' HTML entity since we're sure getting that one a lot withWilmer van der Gaast2010-03-08-0/+1
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | libpurple..
* | | | | | | Merging head.Wilmer van der Gaast2009-12-07-61/+135
|\| | | | | |
| * | | | | | Shuffling a few more #includes. Much more shuffling will be needed.Wilmer van der Gaast2009-10-23-0/+1
| | |/ / / / | |/| | | |
| * | | | | Fixed fd leak in ini.c. How could I miss this one.. :-(Wilmer van der Gaast2009-07-20-2/+6
| | |_|_|/ | |/| | |
| * | | | Simplified ini parser code a bit more. Not using strtok() after all sinceWilmer van der Gaast2008-12-25-27/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I can't find a guarantee that it's okay with me further mutilating the strings. :-)
| * | | | First version of new ini parser. Will just attempt to simplify code a bit.Wilmer van der Gaast2008-12-24-42/+98
| | | | |
| * | | | Removed a double g_free() in proxy.c (that couldn't actually ever beWilmer van der Gaast2008-12-14-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | invoked but was stupid anyway). #409.
| * | | | events_libevent now detects when the event currently being handled isWilmer van der Gaast2008-12-14-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removed. This could otherwise cause unpredictable behaviour, especially for timers.
| * | | | Fixed crappy memory management in http_client.Wilmer van der Gaast2008-09-28-9/+12
| | | | |
| * | | | Restored support for password-protected chatrooms (for now only by acceptingWilmer van der Gaast2008-09-28-2/+2
| |/ / / | | | | | | | | | | | | | | | | a password in the IRC JOIN command).
* | | | More hints for getaddrinfo().ulim2008-08-12-4/+4
| | | | | | | | | | | | | | | | | | | | Hopefully solves a problem on FreeBSD.
* | | | Added lib/ftutil.[ch].ulim2008-08-12-0/+159
| | | | | | | | | | | | | | | | | | | | yes, that was supposed to happen in the last commit ;)
* | | | Added conf entries and lib/ftutil.[ch].ulim2008-08-12-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | ft_listen = <IP-A>:<Port-A>;<IP-B>:<Port-B> to specify listening addresses for the bitlbee<->client connection and the bitlbee<->IM peer connection, respectively. ft_max_size should be obvious. ft_max_kbps should limit the kilobits per second per transfer (not implemented yet).
* | | Silenced a compiler warning - I don't think there's any way the unitializedWilmer van der Gaast2008-06-30-6/+2
| | | | | | | | | | | | | | | version of ret could actually be returned.
* | | Merge trunk.Jelmer Vernooij2008-06-28-26/+0
|\ \ \
| * | | Partial fix for #419: Moved normalize() and some other stuff to OSCARWilmer van der Gaast2008-06-22-26/+0
| | | | | | | | | | | | | | | | | | | | | | | | becuase it's the only place where it's used, and using this to strip spaces from all screennames before sending them to BitlBee.
* | | | Move SSPI SSL implementation to same directory as other SSL backends.Jelmer Vernooij2008-06-10-0/+278
| | | |
* | | | Implement ssl_pending() in bogus ssl backend.Jelmer Vernooij2008-06-10-0/+5
| | | |
* | | | Move random_bytes() back to lib/Jelmer Vernooij2008-06-10-0/+67
| | | |
* | | | Merge integration branch.Jelmer Vernooij2008-06-09-0/+15
|\| | |
| * | | Added ClientInterface configuration option to make BitlBee bind() to aWilmer van der Gaast2008-04-06-0/+11
| | | | | | | | | | | | | | | | | | | | specific interface before connecting to a remote host.
| * | | Fixed GLib <2.6 compatibility issue in arc.h. (G_GNUC_MALLOC)Wilmer van der Gaast2008-04-05-0/+4
| | | |