aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeLines
* 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.
* 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).
* 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
| |
* | Move unix-specific random_bytes() implementation to unix.c.Jelmer Vernooij2008-04-02-65/+0
|/
* Fixed a broken check in lib/proxy.c, this restores proxy support. ThanksWilmer van der Gaast2008-03-24-2/+2
| | | | | | | to Miles Bader for reporting this in the Debian BTS. Apparently not many people use this functionality, it was broken in bzr for more than a year already...
* Fixed stalling issue with OpenSSL and Jabber (#368).Wilmer van der Gaast2008-03-23-4/+34
|
* Taught GLib-mode subprocesses how to die. (Closes: #374)Wilmer van der Gaast2008-03-22-2/+3
|
* Moved password hash verification to md5_verify_password() so this can beWilmer van der Gaast2008-03-16-0/+43
| | | | | reused for IRC/OPER passwords (to have encrypted in bitlbee.conf).
* Fixed base64_decode() to not barf on corrupted Base64 strings.Wilmer van der Gaast2008-03-16-1/+1
|
* Adding padding to encrypted IM-passwords so the exact password length can'tWilmer van der Gaast2008-03-16-4/+27
| | | | | be guessed from the encrypted data anymore.
* Fixed issues with "long" URLs in url.c. Reusing code from 2001 wasn't aWilmer van der Gaast2008-03-15-20/+22
| | | | | good idea...
* Moved xmltree handlers initialization to xt_new().Wilmer van der Gaast2008-02-16-3/+4
|
* Moved xmltree to lib/ because I want to use it from more than just theWilmer van der Gaast2008-02-16-1/+687
| | | | | Jabber module.
* Merge from Jelmer.Wilmer van der Gaast2008-02-16-1/+1
|\
| * Fix lcov dependencies.Jelmer Vernooij2008-02-16-1/+1
| |
* | Fixed two valgrind warnings (partially uninitialized "struct tm" vars.)Wilmer van der Gaast2008-01-24-0/+2
| |
* | Added byte swapping code to the new MD5 checksumming code to make it workWilmer van der Gaast2008-01-19-69/+96
| | | | | | | | | | | | | | | | on big-endian machines. (If someone thinks BitlBee should work on PDPs, send me the fix. I don't care. :-P) This fixes bug #351 (MSN challenge- response failure) but might break backward compatibility if the broken MD5 code was used to save settings. (Somewhere between rev 266 and now.)
* | Fixing some Solaris compiler warnings (u_int->uint, adding some typecastsWilmer van der Gaast2008-01-17-14/+15
| | | | | | | | | | for pid_t variables).
* | Killed info_string_append() and now showing the IP address of ICQ usersWilmer van der Gaast2008-01-12-7/+0
|/ | | | | in the "info" command response.
* Removed closure->result. I was planning to add some more stuff, but willWilmer van der Gaast2008-01-05-5/+5
| | | | | do that later.
* Fixed return value check in proxy_connect(), since on some systemsWilmer van der Gaast2007-12-28-11/+10
| | | | | | a non-blocking connect() can return immediately (when connecting to localhost, for example). Closes bug #233 and #340.
* Checking conn->xcred before trying to clean it up since GnuTLS doesn'tWilmer van der Gaast2007-12-12-2/+4
| | | | | seem to check for NULL pointers here. (Closes #257)
* Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPUWilmer van der Gaast2007-12-12-0/+12
| | | | | usage bug.
* printf() in daemons considered harmful.Wilmer van der Gaast2007-11-29-7/+5
|
* Fixed the epoll+ForkDaemon combination. The libevent event handlingWilmer van der Gaast2007-11-28-8/+41
| | | | | | didn't work very well on Linux 2.6 (and possibly others) in ForkDaemon mode.
* Replaced GPL-incompatible SHA1 hashing code (and renamed the files in caseWilmer van der Gaast2007-11-23-195/+442
| | | | | I ever need SHA256 ;-)).
* Replaced GPL-incompatible MD5 hashing code.Wilmer van der Gaast2007-11-23-440/+239
|
* Some changes to get rid of compiler warnings. (And disabling strictWilmer van der Gaast2007-11-22-1/+9
| | | | | aliasing because there are too many warnings about it. :-P)
* Merging from Jelmer.Wilmer van der Gaast2007-11-05-4/+2
|\
| * Use standard functions for dealing with both IPv6 and IPv4. Jelmer Vernooij2007-10-18-43/+0
| |
| * Fix GCC warning.Jelmer Vernooij2007-10-12-2/+2
|/
* Added word_wrap() function to misc.c and using it at the right places soWilmer van der Gaast2007-10-12-0/+50
| | | | | | that long messages in groupchats also get wrapped properly (instead of truncated).
* "Changed" the ArcFour implementation. I'm afraid this was a waste of time,Wilmer van der Gaast2007-10-07-5/+13
| | | | | but at least I added a neat unittest...
* Renaming RC4 to ArcFour (possible trademark issues).Wilmer van der Gaast2007-10-07-50/+53
|
* Merge from Jelmer (making GCC4 happy by sanitizing some typecasting messWilmer van der Gaast2007-07-15-9/+14
|\ | | | | | | | | around the RC4/B64 code).