Hello community, here is the log from the commit of package profanity for openSUSE:Factory checked in at 2020-02-09 20:48:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/profanity (Old) and /work/SRC/openSUSE:Factory/.profanity.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "profanity" Sun Feb 9 20:48:28 2020 rev:17 rq:772212 version:0.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/profanity/profanity.changes 2020-02-04 19:52:53.417305397 +0100 +++ /work/SRC/openSUSE:Factory/.profanity.new.26092/profanity.changes 2020-02-09 20:48:33.778880007 +0100 @@ -1,0 +2,10 @@ +Fri Feb 7 21:05:29 UTC 2020 - Michael Vetter <mvet...@suse.com> + +- Update to 0.8.1: + * Fix ending ncurses colors in rosterwin + * Fix segfault when consistent nick colors where never in config (#1236) + * Improve /clear behaviour to also clear the buffer. So a redraw doesn't bring + * the content back. + * Use unique IDs in stanzas when requesting avatars + +------------------------------------------------------------------- Old: ---- profanity-0.8.0.tar.gz New: ---- profanity-0.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ profanity.spec ++++++ --- /var/tmp/diff_new_pack.yB52zg/_old 2020-02-09 20:48:34.406880366 +0100 +++ /var/tmp/diff_new_pack.yB52zg/_new 2020-02-09 20:48:34.414880370 +0100 @@ -1,7 +1,7 @@ # # spec file for package profanity # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ Name: profanity -Version: 0.8.0 +Version: 0.8.1 Release: 0 Summary: Console-based XMPP client License: SUSE-GPL-3.0+-with-openssl-exception Group: Productivity/Networking/Instant Messenger -Url: https://profanity-im.github.io +URL: https://profanity-im.github.io Source: https://github.com/profanity-im/profanity/releases/download/%{version}/profanity-%{version}.tar.gz Source1: profanity-rpmlintrc BuildRequires: glib2-devel >= 2.26 ++++++ profanity-0.8.0.tar.gz -> profanity-0.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.8.0/CHANGELOG new/profanity-0.8.1/CHANGELOG --- old/profanity-0.8.0/CHANGELOG 2020-02-03 11:08:44.000000000 +0100 +++ new/profanity-0.8.1/CHANGELOG 2020-02-07 21:46:08.000000000 +0100 @@ -1,14 +1,27 @@ -0.8.0 (2020-) +0.8.1 (2020-02-07) +===== + +This is a bugfix release. + +If you like Profanity, please consider donating: https://profanity-im.github.io/donate.html + +Changes: + +- Fix ending ncurses colors in rosterwin +- Fix segfault when consistent nick colors where never in config (#1236) +- Improve `/clear` behaviour to also clear the buffer. So a redraw doesn't bring + the content back. +- Use unique IDs in stanzas when requesting avatars + +0.8.0 (2020-02-03) ===== On 2012-02-02 the first commit to Profanity was done by @boothj5. -7 years later, and 5 months after 0.7.0, we are happy to announce Profanity 0.8.0. +8 years later, and 5 months after 0.7.0, we are happy to announce Profanity 0.8.0. This release has 315 commits since the last release. 11 people contributed code to it: @paulfariello, @svensp, @aaptel, @aszlig, @mdosch, @pasis, @mzagozen, @quite, @weiss, @Misaflo and @jubalh. -If you like Profanity, please consider donating: https://profanity-im.github.io/donate.html - Changes: - OMEMO fingerprint autocompletion now considers only the contact in question (@paulfariello) (#1068) @@ -66,7 +79,7 @@ - Log MUC PM messages (#1214) - Improve forest theme - Change default text colors to default instead of white (@mdosch) (#1213) (#535) -- Fix date display in chat history (#992) +- Fix date display in chat history (#922) - Log incoming MUC messages if origin-id sais they dont come from us (#1201) - Support XEP-0359: Unique and Stable Stanza IDs (#1207) To help us identify which MUC messages were sent by us. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.8.0/configure new/profanity-0.8.1/configure --- old/profanity-0.8.0/configure 2020-02-03 11:10:55.000000000 +0100 +++ new/profanity-0.8.1/configure 2020-02-07 21:48:19.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for profanity 0.8.0. +# Generated by GNU Autoconf 2.69 for profanity 0.8.1. # # Report bugs to <jub...@iodoru.org>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='profanity' PACKAGE_TARNAME='profanity' -PACKAGE_VERSION='0.8.0' -PACKAGE_STRING='profanity 0.8.0' +PACKAGE_VERSION='0.8.1' +PACKAGE_STRING='profanity 0.8.1' PACKAGE_BUGREPORT='jub...@iodoru.org' PACKAGE_URL='' @@ -1422,7 +1422,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures profanity 0.8.0 to adapt to many kinds of systems. +\`configure' configures profanity 0.8.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1492,7 +1492,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of profanity 0.8.0:";; + short | recursive ) echo "Configuration of profanity 0.8.1:";; esac cat <<\_ACEOF @@ -1663,7 +1663,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -profanity configure 0.8.0 +profanity configure 0.8.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2032,7 +2032,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by profanity $as_me 0.8.0, which was +It was created by profanity $as_me 0.8.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2899,7 +2899,7 @@ # Define the identity of the package. PACKAGE='profanity' - VERSION='0.8.0' + VERSION='0.8.1' cat >>confdefs.h <<_ACEOF @@ -17095,7 +17095,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by profanity $as_me 0.8.0, which was +This file was extended by profanity $as_me 0.8.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17161,7 +17161,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -profanity config.status 0.8.0 +profanity config.status 0.8.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.8.0/configure.ac new/profanity-0.8.1/configure.ac --- old/profanity-0.8.0/configure.ac 2020-02-03 11:10:33.000000000 +0100 +++ new/profanity-0.8.1/configure.ac 2020-02-07 21:47:31.000000000 +0100 @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT([profanity], [0.8.0], [jub...@iodoru.org]) +AC_INIT([profanity], [0.8.1], [jub...@iodoru.org]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([src/main.c]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.8.0/src/config/preferences.c new/profanity-0.8.1/src/config/preferences.c --- old/profanity-0.8.0/src/config/preferences.c 2020-01-31 11:24:14.000000000 +0100 +++ new/profanity-0.8.1/src/config/preferences.c 2020-02-07 16:10:12.000000000 +0100 @@ -2137,6 +2137,8 @@ return "redact"; case PREF_OMEMO_POLICY: return "automatic"; + case PREF_COLOR_NICK: + return "false"; default: return NULL; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.8.0/src/ui/rosterwin.c new/profanity-0.8.1/src/ui/rosterwin.c --- old/profanity-0.8.0/src/ui/rosterwin.c 2020-01-23 19:59:19.000000000 +0100 +++ new/profanity-0.8.1/src/ui/rosterwin.c 2020-02-07 16:10:12.000000000 +0100 @@ -413,7 +413,7 @@ wattron(layout->subwin, theme_attrs(presence_colour)); win_sub_print(layout->subwin, unreadmsg->str, FALSE, wrap, current_indent); g_string_free(unreadmsg, TRUE); - wattroff(layout->subwin, theme_attrs(colour)); + wattroff(layout->subwin, theme_attrs(presence_colour)); } _rosterwin_presence(layout, presence, status, current_indent); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.8.0/src/ui/window.c new/profanity-0.8.1/src/ui/window.c --- old/profanity-0.8.0/src/ui/window.c 2020-01-23 19:45:05.000000000 +0100 +++ new/profanity-0.8.1/src/ui/window.c 2020-02-07 16:10:12.000000000 +0100 @@ -624,6 +624,8 @@ { if (!prefs_get_boolean(PREF_CLEAR_PERSIST_HISTORY)) { werase(window->layout->win); + buffer_free(window->layout->buffer); + window->layout->buffer = buffer_create(); return; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.8.0/src/xmpp/avatar.c new/profanity-0.8.1/src/xmpp/avatar.c --- old/profanity-0.8.0/src/xmpp/avatar.c 2020-01-23 22:47:43.000000000 +0100 +++ new/profanity-0.8.1/src/xmpp/avatar.c 2020-02-07 21:10:16.000000000 +0100 @@ -158,11 +158,14 @@ xmpp_ctx_t * const ctx = connection_get_ctx(); - xmpp_stanza_t *iq = stanza_create_avatar_retrieve_data_request(ctx, data->id, jid); - iq_id_handler_add("retrieve1", _avatar_request_item_result_handler, (ProfIqFreeCallback)_free_avatar_data, data); + char *uid = connection_create_stanza_id(); - iq_send_stanza(iq); + xmpp_stanza_t *iq = stanza_create_avatar_retrieve_data_request(ctx, uid, data->id, jid); + iq_id_handler_add(uid, _avatar_request_item_result_handler, (ProfIqFreeCallback)_free_avatar_data, data); + + free(uid); + iq_send_stanza(iq); xmpp_stanza_release(iq); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.8.0/src/xmpp/stanza.c new/profanity-0.8.1/src/xmpp/stanza.c --- old/profanity-0.8.0/src/xmpp/stanza.c 2020-01-30 12:35:43.000000000 +0100 +++ new/profanity-0.8.1/src/xmpp/stanza.c 2020-02-07 21:12:44.000000000 +0100 @@ -2577,9 +2577,9 @@ } xmpp_stanza_t* -stanza_create_avatar_retrieve_data_request(xmpp_ctx_t *ctx, const char *const id, const char *const jid) +stanza_create_avatar_retrieve_data_request(xmpp_ctx_t *ctx, const char *stanza_id, const char *const item_id, const char *const jid) { - xmpp_stanza_t *iq = xmpp_iq_new(ctx, STANZA_TYPE_GET, "retrieve1"); + xmpp_stanza_t *iq = xmpp_iq_new(ctx, STANZA_TYPE_GET, stanza_id); xmpp_stanza_set_to(iq, jid); xmpp_stanza_t *pubsub = xmpp_stanza_new(ctx); @@ -2594,7 +2594,7 @@ xmpp_stanza_t *item = xmpp_stanza_new(ctx); xmpp_stanza_set_name(item, STANZA_NAME_ITEM); - xmpp_stanza_set_attribute(item, "id", id); + xmpp_stanza_set_attribute(item, "id", item_id); xmpp_stanza_add_child(items, item); xmpp_stanza_add_child(pubsub, items); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.8.0/src/xmpp/stanza.h new/profanity-0.8.1/src/xmpp/stanza.h --- old/profanity-0.8.0/src/xmpp/stanza.h 2020-01-30 11:34:46.000000000 +0100 +++ new/profanity-0.8.1/src/xmpp/stanza.h 2020-02-07 21:10:16.000000000 +0100 @@ -355,6 +355,6 @@ xmpp_stanza_t* stanza_get_child_by_name_and_ns(xmpp_stanza_t * const stanza, const char * const name, const char * const ns); -xmpp_stanza_t* stanza_create_avatar_retrieve_data_request(xmpp_ctx_t *ctx, const char *const id, const char *const jid); +xmpp_stanza_t* stanza_create_avatar_retrieve_data_request(xmpp_ctx_t *ctx, const char *stanza_id, const char *const item_id, const char *const jid); #endif