| Commit message (Collapse) | Author | Age | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| | |
| | |
| | | |
Land of the Free, Home of the Brave
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
no longer be randomised, so when you generate the file from the same input,
it will in fact generate the same output.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Add an (optional) second parameter to blist. If present, it is treated
as regex and used to filter the result list.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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!
|
| |
| |
| |
| | |
Only took me a few months to write. I even added a test case.
|
| |
| |
| |
| | |
Patch originally by MichaĆ Siejak, adapted for 3.2.1
|