aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeLines
* 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.
* 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
|
* 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).
| * Fix ssl_bogus.Jelmer Vernooij2007-07-07-0/+5
| |
| * Fix some warnings in storage.c.Jelmer Vernooij2007-07-07-9/+9
| |
* | Merge from Jelmer (mainly unit testing things).Wilmer van der Gaast2007-07-01-0/+1
|\ \ | |/ |/|
| * Add lcov targetJelmer Vernooij2007-01-22-0/+1
| |
| * Add tests for set_url(). Fixed a bug where the default port wasn't Jelmer Vernooij2006-12-24-1/+1
| | | | | | | | | | set when socks5 was used.
* | Little fix copied from Jelmer's integration branch, want to import the restWilmer van der Gaast2007-02-18-1/+1
| | | | | | | | | | | | after doing this devel release because there are quite a lot of changes in it.
* | Merging new Jabber module. See the massive changelog for all the coolWilmer van der Gaast2007-02-18-58/+191
|\ \ | |/ |/| | | | | improvements. :-)
| * Added starttls code to ssl_openssl.c so GnuTLS isn't the only supportedWilmer van der Gaast2006-10-19-42/+77
| | | | | | | | | | SSL module in this branch anymore.
| * Merging from devel and storage-xml.Wilmer van der Gaast2006-10-15-10/+10
| |\
| * | Added SRV lookups to automatically find out the correct server for aWilmer van der Gaast2006-10-07-0/+67
| | | | | | | | | | | | | | | domain.
| * | No more double free()/crashes when trying to set up an SSL connection toWilmer van der Gaast2006-10-02-6/+18
| | | | | | | | | | | | | | | | | | | | | a non-SSL server, and better handling of TLS connection setup by initializing the TLS session from a callback function (which guarantees a valid return value from ssl_starttls() before any error callback could be called).
| * | Added support for SSL- and TLS-connections. Checking of the "tls" userWilmer van der Gaast2006-09-24-15/+34
| | | | | | | | | | | | | | | | | | setting has to be finished, plus an ssl_starttls() function for the other SSL libraries (this code will only compile with GnuTLS for now).
* | | Fix gcov.Jelmer Vernooij2006-12-06-2/+3
| | |
* | | Fix testsuite.Jelmer Vernooij2006-12-06-0/+2
| |/ |/|
* | Using LGPL for generic parts, where possible.Wilmer van der Gaast2006-09-20-10/+10
|/
* add_cr() is not used anymore, and HTML entity handling got UTFized some timeWilmer van der Gaast2006-09-17-34/+2
| | | | | ago already, so no need for that FIXME comment.