aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * bee-chat: create temporary users for unknown chat participantsjgeboski2015-01-16-3/+9
| | | | | | | | | | | | | | | | The imcb_chat_msg() function is unable to send messages to a chat with a user who was not previously added. This function should allow for the sending of messages with users who are not added. This is suitable for protocols which are sending messages to a chat from random users or a large amount of users which join and part frequently.
| * cmd_otr_keygen: improve argument parsingdequis2015-01-16-13/+4
| |
* | Merge cleanup changes. (FSF address fix, and using GLib variants of someWilmer van der Gaast2015-01-17-230/+229
|\| | | | | | | | | functions which cleans up compiler warnings.)
| * Replace isdigit/isalpha/.../tolower/toupper with glib variantsdequis2015-01-16-57/+57
| | | | | | | | | | | | | | | | | | | | | | This fixes warnings about passing signed chars to them (apparently they are implemented as macros that do array lookups without checks in some platforms, yay) Specifically: functions=isalnum|isalpha|isdigit|isspace|isxdigit|tolower|toupper sed -ir "s/$functions/g_ascii_&/g" **/*.c
| * Fix incorrect Free Software Foundation addressMatej Cepl2015-01-16-173/+172
|/
* msn: configurable notification server host/portdequis2014-12-06-2/+10
|
* Improved signal handling to avoid deadlocksdequis2014-11-26-53/+34
| | | | | | | | | | | | - SIGSEGV: broadcast a message manually, avoiding the usual irc_write() functions which are unsafe due to malloc(). - SIGTERM, SIGINT: Write to a pipe which gets handled in the main loop by bitlbee_shutdown(), saving configs and stuff. - SIGCHLD: set to ignore explicitly, which handles zombies correctly. This also drops some log messages with 'info' level, which in practice means they never got logged. - SIGPIPE: set to ignore (nobody cares) - SIGILL, SIGBUS, SIGFPE, SIGQUIT, SIGXCPU: Not handling anymore.
* Use irc_write_all() to send the message in bitlbee_shutdowndequis2014-11-26-2/+4
| | | | | | This ensures that the message arrives by using the "now" parameter of irc_write_all(), because in my testing it didn't show up (even though surrounding it with printf() worked, in inetd mode)
* twitter: Use g_strcasecmp for screen_namedequis2014-11-24-4/+4
| | | | | | Fixes a few minor bugs with users who have uppercase characters in nicks (see trac ticket 1138). Most notably, the "follow" command showing no feedback that a user was followed
* Use glib functions for base64 decoding/encodingdequis2014-11-24-113/+26
| | | | | | | | | | | | This fixes several coverity warnings about 'tainted data index sink' and a fixme about thread safety in the old base64_decode implementation. Had to adapt the code that used base64_encode_real: - oauth.c: different character set order, but it's for the nonce so it doesn't matter - libyahoo2.c: used as part of the auth, changes "+/=" into "._-". Fixed by encoding first the usual way through glib, then replacing.
* configure: --asan=1 parameter for AddressSanitizerdequis2014-11-24-1/+14
| | | | | | | | Requires gcc >=4.8 or clang >=3.1 AddressSanitizer (ASan) is a fast memory error detector. See also: https://code.google.com/p/address-sanitizer/wiki/AddressSanitizer
* msn: add 'allow' role if contact has neither block nor allowdequis2014-11-17-0/+8
| | | | | This workarounds the problems of showing as offline to other contacts, by sending ADL with role 3 (FL+AL) instead of just 1 (FL, no AL or BL)
* msn_buddy_ask: only ask to add if contact is in pending listdequis2014-11-17-1/+1
| | | | | Previously it asked if they were in pending/reverse but not allow/block. In theory that would fix inconsistent states. And in practice... nope.
* msn: Update ApplicationId again to one used by skypedequis2014-11-17-1/+1
| | | | Because why not
* msn: update ABService ApplicationId to WLM 2012 to fix logindequis2014-11-12-1/+1
| | | | The previous ApplicationId was from WLM 2008 (8.5)
* Merging warning fixes from dx.Wilmer van der Gaast2014-10-27-2/+15
|\
| * dcc: Fix some invalid memory accesses reported by ASANdequis2014-10-27-2/+3
| | | | | | | | ASAN <3
| * Some more g_source_remove warning fixesdequis2014-10-27-0/+12
|/ | | | | - http_incoming_data calling itself - jabber_bs_free_transfer calling jabber_si_free_transfer
* doc/AUTHORS updated to the current state of things.Wilmer van der Gaast2014-10-17-1/+4
|
* Bunch of merges from dx.Wilmer van der Gaast2014-10-17-36/+49
|\
| * nick_lc: use unsigned chars to avoid unicode issuesdequis2014-10-11-2/+2
| |
| * Add support for XEP-0203: Delayed delivery (message timestamps)dequis2014-10-10-11/+38
| | | | | | | | | | | | | | | | Very similar to XEP-0091 which is already supported, but was marked as obsolete, replaced by XEP-0203. The main differences are the tag name and the timestamp format. Due to the similarities, both XEPs are still supported.
| * Handle not-authorized stream errors, avoid reconnectdequis2014-10-10-0/+5
| | | | | | | | Got this one while trying to connect to google servers with hipchat auth
| * Remove MSNXMPP specific codedequis2014-10-10-23/+3
| | | | | | | | The MSN XMPP gateway was shutdown december 2013 and isn't coming back.
* | Debian bug #764181: Accidentally had an LGPL header in a bunch of files.Wilmer van der Gaast2014-10-17-64/+89
| | | | | | | | | | | | Replaced them with GPL headers where possible. OSCAR and Twitter modules can't be relicenced though, so add an LGPL blurb to debian/copyright.
* | Merge changes from 3.2.2-1 Debian upload.Wilmer van der Gaast2014-10-05-17/+11
|\ \ | |/ |/|
| * 3.2.2-1. Minor change, removed very old compatibility kludge.3.2.2-1Wilmer van der Gaast2014-10-05-15/+4
| |
| * Merging two other Debian fixes in preparation for a 3.2.2-1 upload.Wilmer van der Gaast2014-10-05-7/+10
| |
* | Merge from dx, fixes two build issues.Wilmer van der Gaast2014-10-05-5/+3
|\ \
| * | Two minor build fixes.dequis2014-09-28-5/+3
| | | | | | | | | | | | | | | - Fix install-dev when _SRCDIR_ is set - Don't require root to install systemd units
* | | Merge from Jelmer to fix builds on all recent Deb/Ubuntu versions again.Wilmer van der Gaast2014-10-05-2/+8
|\ \ \ | |/ / |/| |
| * | Avoid 'dpkg-buildflags --export=configure, since it doesn't exist in squeeze.Jelmer Vernooij2014-09-27-2/+8
| | |
* | | RIP native win32 support (use cygwin instead)dequis2014-09-27-706/+4
| | | | | | | | | | | | It has been broken for a very long time and nobody cared about it.
* | | Add -lgcrypt when building with OTR built-indequis2014-09-27-1/+1
| | | | | | | | | | | | Needed when building without gnutls (which already depends on gcrypt)
* | | Prevent some "Source ID ## was not found..." warningsdequis2014-09-27-0/+6
| | | | | | | | | | | | | | | | | | | | | These appear in glib 2.40, and, well, are pretty much useless. But people complain about them anyway. Probably fixes trac ticket 1151, at least partially.
* | | Makefile: Use wildcard for headers to avoid missing filesdequis2014-09-27-1/+1
| | | | | | | | | | | | | | | | | | The following headers were missing: dcc.h otr.h lib/base64.h lib/oauth2.h lib/oauth.h lib/xmltree.h
* | | twitter: Add support for The United States of Americadequis2014-09-27-1/+3
| | | | | | | | | | | | Land of the Free, Home of the Brave
* | | Default twitter's show_old_mentions to 0dequis2014-09-27-1/+1
| | |
* | | ssl_gnutls: Fix some uninitialized memory warningsdequis2014-09-27-2/+2
|/ /
* | Fix word_wrap memory leak...dequis2014-09-21-0/+1
| |
* | Add missing dependency of install-systemd on systemd.Jelmer Vernooij2014-09-21-1/+1
| |
* | Support building against libgnutls28-dev. Closes: #753020Jelmer Vernooij2014-09-21-4/+2
| |
* | Pass generate.consistent.ids flag to xsltproc so id tags in HTML output willWilmer van der Gaast2014-09-21-1/+1
| | | | | | | | | | | | no longer be randomised, so when you generate the file from the same input, it will in fact generate the same output.
* | One small comment correction while "merging" stuff.Wilmer van der Gaast2014-09-21-1/+1
| |
* | fix latest HAS_NAMESER code on cygwin, mac and openbsdJason Copenhaver2014-07-24-27/+13
| |
* | Allow filtering of blist outputtribut2014-07-24-41/+52
| | | | | | | | | | Add an (optional) second parameter to blist. If present, it is treated as regex and used to filter the result list.
* | srv_lookup: Portability fixes, handle compressed responsesjcopenha2014-07-24-19/+421
| | | | | | | | | | | | | | | | | | | | srv_lookup works on cygwin and openbsd now. Provide ns_initparse, friends, and types where they aren't provided by platform. Use dn_expandname instead of custom parser so compressed DNS responses are handled correctly.
* | Fix the NSS init after fork bug, and clean up lies in unix.cdequis2014-07-24-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This might look like a simple diff, but those 'lies' made this not very straightforward. The NSS bug itself is simple: NSS detects a fork happened after the initialization, and refuses to work because shared CSPRNG state is bad. The bug has been around for long time. I've been aware of it for 5 months, which says something about this mess. Trac link: http://bugs.bitlbee.org/bitlbee/ticket/785 This wasn't a big deal because the main users of NSS (redhat) already applied a different patch in their packages that workarounded the issue somewhat accidentally. And this is the ticket for the 'lies' in unix.c: http://bugs.bitlbee.org/bitlbee/ticket/1159 Basically a conflict with libotr that doesn't happen anymore. Read that ticket for details on why ignoring those comments is acceptable. Anyway: yay!
* | Add limit param to split_command_parts(), fix twitter quotes bugdequis2014-07-24-7/+57
| | | | | | | | Only took me a few months to write. I even added a test case.
* | Gadugadu local contact storage (ticket #917)dequis2014-07-24-1/+35
| | | | | | | | Patch originally by MichaƂ Siejak, adapted for 3.2.1