aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* Add git specific stuff!dequis2015-01-25-3/+2991
| | | | | | | | - A few build system tweaks - A fancy README.md - s/.bzrignore/.gitignore/ - .travis.yml for travis-ci integration - doc/git-bzr-rev-map for historical purposes
* Merging random other fixes/cleanups.Wilmer van der Gaast2015-01-17-78/+131
|\
| * irc-im: fixed invalid memory reading on chat leavejgeboski2015-01-16-3/+1
| | | | | | | | | | | | | | | | When a chat is left, prpl->chat_leave() is invoked, which is suppose to free the groupchat. Since the data is now freed, or suppose to have been freed, attempting to modify the data will result in bad things. This simply removes an assignment operation, which was unneeded due to the memory already being freed.
| * channel: fixed auto-join occurring when disabledjgeboski2015-01-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With the auto_join channel flag set to false, the channel is still auto-joined. This can lead to the channel being "doubly" joined if a client previously sent a channel join request. The result of being "doubly" joined is really undefined, but most notably memory leaks can occur. It also appears, based on the comment under the modified condition, the previous condition was incorrect. Another patch should probably implement some sort of check to ensure a channel is not already joined, assuming the auto_join flag is enabled.
| * Fix UTF8 nick truncation issuesdequis2015-01-16-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When nicks exceeded the length limit, they were cut at 24 bytes and that sometimes left invalid utf8 at the end, which made the nick_ok() validation fail and often broke those nicks completely. This adds a truncate_utf8 function to cut the string at a safe place Also, the method to deduplicate nicks when there's no more place to add underscores was changed to add "_XX" at the end, where XX are two random hex chars. The previous method in those cases was increasing the value of the first character of the nick... which leads to silly and confusing results (i.e. FacebookUser -> GacebookUser)
| * Add jabber_normalize_ext() to fix case sensitivity issues with ext jidsdequis2015-01-16-16/+30
| | | | | | | | | | | | Also refactor jabber_normalize() to be UTF8 aware. See trac ticket 1106 for more details
| * http proxy: only check for "HTTP/1.x 200" in the status stringdequis2015-01-16-2/+2
| | | | | | | | | | It was checking for "Connection established" and some proxies use a different string, such as "Tunnel established" in polipo
| * Fix some more g_source_remove warnings, this time in proxy.cdequis2015-01-16-0/+2
| | | | | | | | Both in gaim_io_connected(), visible when using an http proxy
| * set_setint: use g_strdup_printf instead of relying on a char s[24];dequis2015-01-16-4/+4
| |
| * twitter: minor cleanup, use G_G(U)INT64_FORMAT instead of castingdequis2015-01-16-11/+11
| |
| * msn_ns_send_adl_1: Fix alloc_strlen coverity warningdequis2015-01-16-1/+1
| | | | | | | | Allocating insufficient memory for the terminating null of the string
| * ipc_child_identify: fix a maybe-uninitialized warningdequis2015-01-16-2/+2
| |
| * Fix compiler warnings on Cygwin and Mac OS X.Jason Copenhaver2015-01-16-17/+33
| | | | | | | | | | | | | | | | * Don't use PIE/PIC on Cygwin/Darwin unless specified as these platforms don't support it. * Cleanup warnings for 'make check' build. * Fix the type issue for getsockopt calls. * Fix enum warnings in Yahoo libs on Mac OS X.
| * twitter: start stream from last tweet on connect/reconnectroger2015-01-16-1/+13
| | | | | | | | | | This works by setting the last_tweet hidden account setting to the ID of the last shown tweet.
| * 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