diff options
-rw-r--r-- | bitlbee.h | 4 | ||||
-rw-r--r-- | doc/CHANGES | 58 | ||||
-rw-r--r-- | doc/user-guide/misc.xml | 16 | ||||
-rw-r--r-- | protocols/oscar/rxhandlers.c | 2 | ||||
-rw-r--r-- | protocols/purple/purple.c | 10 | ||||
-rw-r--r-- | root_commands.c | 2 |
6 files changed, 85 insertions, 7 deletions
@@ -35,10 +35,10 @@ extern "C" { #endif #define PACKAGE "BitlBee" -#define BITLBEE_VERSION "3.4.2" +#define BITLBEE_VERSION "3.5" #define VERSION BITLBEE_VERSION #define BITLBEE_VER(a, b, c) (((a) << 16) + ((b) << 8) + (c)) -#define BITLBEE_VERSION_CODE BITLBEE_VER(3, 4, 2) +#define BITLBEE_VERSION_CODE BITLBEE_VER(3, 5, 0) #define BITLBEE_ABI_VERSION_CODE 1 #define MAX_STRING 511 diff --git a/doc/CHANGES b/doc/CHANGES index 8e861701..6f8095f4 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -3,6 +3,64 @@ found in the git commit logs, for example you can try: https://github.com/bitlbee/bitlbee/commits/master +Version 3.5: + +- ui: + * "chat list": shows a list of existing server-side chatrooms. With some + protocols, this is often the only way to add new channels. + See 'help chat list' for details. (jgeboski) + * "plugins": lists the installed plugins and their versions (jgeboski) + * Add 'nick_lowercase' and 'nick_underscores' settings. + * "handle_unknown" can be set per-account, not just globally + +- jabber: + * Add "always_use_nicks" channel setting, for non-anonymous MUCs (trac #415) + See 'help set always_use_nicks' for possible side effects. + * Properly handle rejected file transfers + * Don't send parts in a chat if someone is still connected from other devices + * hipchat: support personal oauth tokens (manually generated ones) + +- twitter: + * Hide muted tweets / no-retweets, add mute/unmute commands (Flexo) + * Show full version of extended tweets (with slightly more than 140 chars) + +- purple: + * Support setting chat room topics (EionRobb) + * Support for extra groupchat settings. Shows an error if any required + ones are missing. Look for purple_ prefixed settings in "chan #... set" + * SIPE: persistent chats can be joined now, thanks to the "chat list" command + and the above ("purple_uri" channel setting) + * Fix a file transfer crash bug (Mainly affected telegram) + * Honor protocol flag to not require a password (used in hangouts, telegram) + * Set the contacts' nicks to the %full_name for a few whitelisted protocols + (hangouts, funyahoo, icq, line) + * LINE: added a hack to save its auth token, to avoid re-auth every time + * Show self-messages in groupchat backlogs (before join) + +- yahoo: + * Removed because they killed their old protocol on a two month notice. + Use EionRobb's funyahoo purple plugin, or better yet, don't use yahoo. + +- Stuff for enterprise deployments (all done by Sevas) + * Locked down accounts, useful when pregenerating user config files. An + account that is marked with the locked="true" attribute can't be removed + and its username/password can't be changed. + * Locked down settings. Same as above, but for individual account settings. + * AllowAccountAdd setting in bitlbee.conf, to disable adding new accounts. + * PAM and LDAP authentication backends (not compiled by default) + +- For packagers: + * Enabled debug symbols in non-debug builds, disabled stripping by default. + This is closer to the default behavior of autotools, and --debug=1 is mostly + to set the DEBUG macro and disable optimization. + +- For plugin devs: + * Plugins should now include an "init_plugin_info" function which will be used + for ABI version checking in the future. It's optional for now, but will be + enforced later. See the commit log of d28fe1c for details. (jgeboski) + +Finished ... 200XX + Version 3.4.2: - irc: * Self-messages (messages sent by yourself from other IM clients), given diff --git a/doc/user-guide/misc.xml b/doc/user-guide/misc.xml index a95c5442..457d5d35 100644 --- a/doc/user-guide/misc.xml +++ b/doc/user-guide/misc.xml @@ -498,4 +498,20 @@ See the full changelog for details! </sect1> +<sect1 id="whatsnew030500"> +<title>New stuff in BitlBee 3.5</title> + +<simplelist> + <member>New commands: <emphasis>chat list</emphasis> and <emphasis>plugins</emphasis>. New settings: <emphasis>nick_lowercase</emphasis>, <emphasis>nick_underscores</emphasis></member> + <member><emphasis>twitter:</emphasis> Hide muted tweets / no-retweets, add mute/unmute commands. Show full version of extended tweets.</member> + <member><emphasis>jabber:</emphasis> <emphasis>always_use_nicks</emphasis> channel setting. Don't send parts in a chat if someone is still connected from other devices. Personal oauth token login for hipchat.</member> + <member><emphasis>purple:</emphasis> Setting /topic. Fixes for SIPE and LINE. Don't ask for password if not needed (hangouts, telegram). Set nicks to %full_name for a few protocols (hangouts, funyahoo, icq, line)</member> +</simplelist> + +<para> +See the full changelog for details! +</para> + +</sect1> + </chapter> diff --git a/protocols/oscar/rxhandlers.c b/protocols/oscar/rxhandlers.c index 0f1bb3d7..156563eb 100644 --- a/protocols/oscar/rxhandlers.c +++ b/protocols/oscar/rxhandlers.c @@ -235,7 +235,7 @@ int aim_conn_addhandler(aim_session_t *sess, aim_conn_t *conn, guint16 family, g struct aim_rxcblist_s *newcb; g_return_val_if_fail(conn, -1); - g_return_val_if_fail(checkdisallowed(family, type), -1); + g_return_val_if_fail(!checkdisallowed(family, type), -1); if (!(newcb = (struct aim_rxcblist_s *) g_new0(struct aim_rxcblist_s, 1))) { return -1; diff --git a/protocols/purple/purple.c b/protocols/purple/purple.c index 4333d903..0b74c8d8 100644 --- a/protocols/purple/purple.c +++ b/protocols/purple/purple.c @@ -1196,11 +1196,15 @@ static void handle_conv_msg(PurpleConversation *conv, const char *who, const cha g_free(message); } -/* Handles write_im and write_chat. Removes echoes of locally sent messages */ +/* Handles write_im and write_chat. Removes echoes of locally sent messages. + * + * PURPLE_MESSAGE_DELAYED is used for chat backlogs - if a message has both + * that flag and _SEND, it's a self-message from before joining the channel. + * Those are safe to display. The rest (with just _SEND) may be echoes. */ static void prplcb_conv_msg(PurpleConversation *conv, const char *who, const char *message, PurpleMessageFlags flags, time_t mtime) { - if (!(flags & PURPLE_MESSAGE_SEND)) { - handle_conv_msg(conv, who, message, 0, mtime); + if ((!(flags & PURPLE_MESSAGE_SEND)) || (flags & PURPLE_MESSAGE_DELAYED)) { + handle_conv_msg(conv, who, message, (flags & PURPLE_MESSAGE_SEND) ? OPT_SELFMESSAGE : 0, mtime); } } diff --git a/root_commands.c b/root_commands.c index 4ad78119..1cbf462f 100644 --- a/root_commands.c +++ b/root_commands.c @@ -1063,7 +1063,7 @@ static void cmd_blist(irc_t *irc, char **cmd) if (strchr(irc->umode, 'b') != NULL) { format = "%s\t%s\t%s"; } else { - format = "%-16.16s %-40.40s %s"; + format = "%-24.24s %-40.40s %s"; } irc_rootmsg(irc, format, "Nick", "Handle/Account", "Status"); |