aboutsummaryrefslogtreecommitdiffstats
path: root/lib/misc.c
Commit message (Collapse)AuthorAgeLines
* Merging mainline, which includes a huge msnp13 merge.Wilmer van der Gaast2010-10-02-5/+2
|\ | | | | | | | | | | Not 100% sure about the OpenSSL merge, should double check that but I'm currently offline.
| * Merge mainline stuff.Wilmer van der Gaast2010-08-14-30/+50
| |\
| * \ 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
| | | |
* | | | First step in this merge. Mostly a bzr merge and then a cleanup of conflictsWilmer van der Gaast2010-08-24-1/+11
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | and parts I want to/have to redo (because of ui-fix).
| * | | merge in bitlbee headSven Moritz Hallberg2010-06-04-3/+2
| |\ \ \
| * \ \ \ merge in bitlbee 1.2.7Sven Moritz Hallberg2010-06-03-2/+1
| |\ \ \ \
| * \ \ \ \ merge in bitlbee 1.2.6Sven Moritz Hallberg2010-06-03-0/+35
| |\ \ \ \ \
| * \ \ \ \ \ merge in bitlbee 1.2.5Sven Moritz Hallberg2010-06-03-1/+3
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | |
| * | | | | | merge in latest trunkSven Moritz Hallberg2008-07-17-25/+39
| |\ \ \ \ \ \
| * | | | | | | interpret 'Sven Moritz Hallberg2008-02-14-0/+1
| | | | | | | |
| * | | | | | | - add support for setting ops/voice according to OTR msgstateSven Moritz Hallberg2008-02-09-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add 'otr trust' user command - support non-otr messages during keygen - run otr messages through strip_html - interpret <b> and <i> tags in html messages - record max message size in prpl - add 'encrypted' flag to user_t - cosmetics
* | | | | | | | When doing SRV lookups, return an array with all RRs instead of just theWilmer van der Gaast2010-08-10-30/+50
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first one. The first isn't always the best one and this is currently causing GTalk issues when talk2.l.google.com (which is currently dead) is first.
* | | | | | | 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)).
* | | | | | | 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.
* | | | | | | 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-03-2/+1
|\| | | | |
| * | | | | 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/+35
|\| | | |
| * | | | Added a mktime_utc() to misc.c using code that used to be in jabber_util.c.Wilmer van der Gaast2010-04-08-0/+35
| | |_|/ | |/| | | | | | | | | | | | | | 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/+45
|/ / /
* | | Adding a few consts and other misc fixes from bug #431. Doing this via aWilmer van der Gaast2010-03-14-1/+2
|\ \ \ | | | | | | | | | | | | | | | | 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-1/+2
| | |/ | |/|
* | | Added &apos; HTML entity since we're sure getting that one a lot withWilmer van der Gaast2010-03-08-0/+1
| | | | | | | | | | | | | | | libpurple..
* | | Shuffling a few more #includes. Much more shuffling will be needed.Wilmer van der Gaast2009-10-23-0/+1
|/ /
* | 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-25/+0
|\ \
| * | Partial fix for #419: Moved normalize() and some other stuff to OSCARWilmer van der Gaast2008-06-22-25/+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 random_bytes() back to lib/Jelmer Vernooij2008-06-10-0/+67
| | |
* | | Move unix-specific random_bytes() implementation to unix.c.Jelmer Vernooij2008-04-02-65/+0
|/ /
* / Moved password hash verification to md5_verify_password() so this can beWilmer van der Gaast2008-03-16-0/+41
|/ | | | | reused for IRC/OPER passwords (to have encrypted in bitlbee.conf).
* Fixed two valgrind warnings (partially uninitialized "struct tm" vars.)Wilmer van der Gaast2008-01-24-0/+2
|
* Killed info_string_append() and now showing the IP address of ICQ usersWilmer van der Gaast2008-01-12-6/+0
| | | | | in the "info" command response.
* Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPUWilmer van der Gaast2007-12-12-0/+10
| | | | | usage bug.
* Merging from Jelmer.Wilmer van der Gaast2007-11-05-2/+0
|\
| * Use standard functions for dealing with both IPv6 and IPv4. Jelmer Vernooij2007-10-18-40/+0
|/
* Added word_wrap() function to misc.c and using it at the right places soWilmer van der Gaast2007-10-12-0/+48
| | | | | | that long messages in groupchats also get wrapped properly (instead of truncated).
* Added SRV lookups to automatically find out the correct server for aWilmer van der Gaast2006-10-07-0/+57
| | | | | domain.
* 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.
* Added "account set" command.Wilmer van der Gaast2006-07-01-0/+34
|
* Added random_bytes() function for better/more reliable randomization andWilmer van der Gaast2006-06-28-14/+64
| | | | | moved set_eval_ops() to a slightly more suitable place.
* Moved Base64-related functions to a separate file and added decode funtions.Wilmer van der Gaast2006-06-25-44/+0
|
* Moving all generic files to lib/ instead of having some in / and some inWilmer van der Gaast2006-06-25-0/+481
protocols/, and adding RC4 code.