| Commit message (Collapse) | Author | Age | Lines |
... | |
|
|
|
|
|
|
|
| |
- 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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| |
| | |
Also refactor jabber_normalize() to be UTF8 aware.
See trac ticket 1106 for more details
|
| |
| |
| |
| |
| | |
It was checking for "Connection established" and some proxies use a
different string, such as "Tunnel established" in polipo
|
| |
| |
| |
| | |
Both in gaim_io_connected(), visible when using an http proxy
|
| | |
|
| | |
|
| |
| |
| |
| | |
Allocating insufficient memory for the terminating null of the string
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| | |
This works by setting the last_tweet hidden account setting to the ID of
the last shown tweet.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|\|
| |
| |
| |
| | |
functions which cleans up compiler warnings.)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Previously it asked if they were in pending/reverse but not allow/block.
In theory that would fix inconsistent states. And in practice... nope.
|
|
|
|
| |
Because why not
|
|
|
|
| |
The previous ApplicationId was from WLM 2008 (8.5)
|
|\ |
|
| |
| |
| |
| | |
ASAN <3
|
|/
|
|
|
| |
- http_incoming_data calling itself
- jabber_bs_free_transfer calling jabber_si_free_transfer
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Got this one while trying to connect to google servers with hipchat auth
|
| |
| |
| |
| | |
The MSN XMPP gateway was shutdown december 2013 and isn't coming back.
|
| |
| |
| |
| |
| |
| | |
Replaced them with GPL headers where possible. OSCAR and Twitter modules
can't be relicenced though, so add an LGPL blurb to debian/copyright.
|
|\ \
| |/
|/| |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
- Fix install-dev when _SRCDIR_ is set
- Don't require root to install systemd units
|
|\ \ \
| |/ /
|/| | |
|
| | | |
|
| | |
| | |
| | |
| | | |
It has been broken for a very long time and nobody cared about it.
|
| | |
| | |
| | |
| | | |
Needed when building without gnutls (which already depends on gcrypt)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The following headers were missing:
dcc.h otr.h lib/base64.h lib/oauth2.h lib/oauth.h lib/xmltree.h
|