Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package weechat for openSUSE:Factory checked 
in at 2021-02-03 19:55:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/weechat (Old)
 and      /work/SRC/openSUSE:Factory/.weechat.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "weechat"

Wed Feb  3 19:55:45 2021 rev:59 rq:868692 version:3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/weechat/weechat.changes  2020-11-11 
20:48:26.547762505 +0100
+++ /work/SRC/openSUSE:Factory/.weechat.new.28504/weechat.changes       
2021-02-03 19:55:53.221686460 +0100
@@ -1,0 +2,8 @@
+Tue Feb  2 00:50:50 UTC 2021 - Dirk M??ller <[email protected]>
+
+- update to 3.0.1:
+  * exec: fix search of command by identifier
+  * spell: fix refresh of bar item "spell_suggest" when the input becomes 
empty (issue #1586)
+  * spell: fix crash with IRC color codes in command line (issue #1589)
+
+-------------------------------------------------------------------

Old:
----
  weechat-3.0.tar.xz
  weechat-3.0.tar.xz.asc

New:
----
  weechat-3.0.1.tar.xz
  weechat-3.0.1.tar.xz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ weechat.spec ++++++
--- /var/tmp/diff_new_pack.t7j9jo/_old  2021-02-03 19:55:53.993687390 +0100
+++ /var/tmp/diff_new_pack.t7j9jo/_new  2021-02-03 19:55:53.997687394 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           weechat
-Version:        3.0
+Version:        3.0.1
 Release:        0
 Summary:        Multi-protocol extensible Chat Client
 License:        GPL-3.0-or-later

++++++ weechat-3.0.tar.xz -> weechat-3.0.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/weechat-3.0/ChangeLog.adoc 
new/weechat-3.0.1/ChangeLog.adoc
--- old/weechat-3.0/ChangeLog.adoc      2020-11-11 08:46:53.000000000 +0100
+++ new/weechat-3.0.1/ChangeLog.adoc    2021-01-31 10:07:53.000000000 +0100
@@ -15,6 +15,15 @@
 (file _ReleaseNotes.adoc_ in sources).
 
 
+[[v3.0.1]]
+== Version 3.0.1 (2021-01-31)
+
+Bug fixes::
+
+  * exec: fix search of command by identifier
+  * spell: fix refresh of bar item "spell_suggest" when the input becomes 
empty (issue #1586)
+  * spell: fix crash with IRC color codes in command line (issue #1589)
+
 [[v3.0]]
 == Version 3.0 (2020-11-11)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/weechat-3.0/ReleaseNotes.adoc 
new/weechat-3.0.1/ReleaseNotes.adoc
--- old/weechat-3.0/ReleaseNotes.adoc   2020-11-11 08:46:53.000000000 +0100
+++ new/weechat-3.0.1/ReleaseNotes.adoc 2021-01-31 10:07:53.000000000 +0100
@@ -17,6 +17,11 @@
 (file _ChangeLog.adoc_ in sources).
 
 
+[[v3.0.1]]
+== Version 3.0.1 (2021-01-31)
+
+Bug fix and maintenance release.
+
 [[v3.0]]
 == Version 3.0 (2020-11-11)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/weechat-3.0/src/plugins/exec/exec.c 
new/weechat-3.0.1/src/plugins/exec/exec.c
--- old/weechat-3.0/src/plugins/exec/exec.c     2020-11-11 08:46:53.000000000 
+0100
+++ new/weechat-3.0.1/src/plugins/exec/exec.c   2021-01-31 10:07:53.000000000 
+0100
@@ -89,7 +89,7 @@
     error = NULL;
     number = strtol (id, &error, 10);
     if (!error || error[0])
-        return NULL;
+        number = -1;
 
     for (ptr_exec_cmd = exec_cmds; ptr_exec_cmd;
          ptr_exec_cmd = ptr_exec_cmd->next_cmd)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/weechat-3.0/src/plugins/spell/spell.c 
new/weechat-3.0.1/src/plugins/spell/spell.c
--- old/weechat-3.0/src/plugins/spell/spell.c   2020-11-11 08:46:53.000000000 
+0100
+++ new/weechat-3.0.1/src/plugins/spell/spell.c 2021-01-31 10:07:53.000000000 
+0100
@@ -649,7 +649,7 @@
 {
     int color_code_size;
 
-    while (*string[0])
+    while ((*string)[0])
     {
         color_code_size = weechat_string_color_code_size (*string);
         if (color_code_size > 0)
@@ -658,9 +658,9 @@
             weechat_string_dyn_concat (result, *string, color_code_size);
             (*string) += color_code_size;
         }
-        else if (*string[0] == '\x02' || *string[0] == '\x0F'
-                 || *string[0] == '\x11' || *string[0] == '\x16'
-                 || *string[0] == '\x1D' || *string[0] == '\x1F')
+        else if ((*string)[0] == '\x02' || (*string)[0] == '\x0F'
+                 || (*string)[0] == '\x11' || (*string)[0] == '\x16'
+                 || (*string)[0] == '\x1D' || (*string)[0] == '\x1F')
         {
             /*
              * IRC attribute:
@@ -674,28 +674,29 @@
             weechat_string_dyn_concat (result, *string, 1);
             (*string)++;
         }
-        else if (*string[0] == '\x03')
+        else if ((*string)[0] == '\x03')
         {
             /* IRC color code */
             weechat_string_dyn_concat (result, *string, 1);
             (*string)++;
-            if (isdigit (*string[0]))
+            if (isdigit ((unsigned char)((*string)[0])))
             {
                 /* foreground */
                 weechat_string_dyn_concat (result, *string, 1);
                 (*string)++;
-                if (isdigit (*string[0]))
+                if (isdigit ((unsigned char)((*string)[0])))
                 {
                     weechat_string_dyn_concat (result, *string, 1);
                     (*string)++;
                 }
             }
-            if ((*string[0] == ',') && (isdigit (*string[1])))
+            if (((*string)[0] == ',')
+                && (isdigit ((unsigned char)((*string)[1]))))
             {
                 /* background */
                 weechat_string_dyn_concat (result, *string, 1);
                 (*string)++;
-                if (isdigit (*string[0]))
+                if (isdigit ((unsigned char)((*string)[0])))
                 {
                     weechat_string_dyn_concat (result, *string, 1);
                     (*string)++;
@@ -801,7 +802,7 @@
     color_error = weechat_color (weechat_config_string 
(spell_config_color_misspelled));
 
     length = strlen (string);
-    result = weechat_string_dyn_alloc (length * 2);
+    result = weechat_string_dyn_alloc ((length * 2) + 1);
     if (!result)
         return NULL;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/weechat-3.0/version.sh new/weechat-3.0.1/version.sh
--- old/weechat-3.0/version.sh  2020-11-11 08:46:53.000000000 +0100
+++ new/weechat-3.0.1/version.sh        2021-01-31 10:07:53.000000000 +0100
@@ -32,9 +32,9 @@
 #     devel-patch  the patch version of devel (e.g. 2 for version 1.4.2)
 #
 
-WEECHAT_STABLE=3.0
-WEECHAT_DEVEL=3.0
-WEECHAT_DEVEL_FULL=3.0
+WEECHAT_STABLE=3.0.1
+WEECHAT_DEVEL=3.0.1
+WEECHAT_DEVEL_FULL=3.0.1
 
 if [ $# -lt 1 ]; then
     echo >&2 "Syntax: $0 
stable|devel|devel-full|devel-major|devel-minor|devel-patch"

Reply via email to