Hello community,

here is the log from the commit of package libfilezilla for openSUSE:Factory 
checked in at 2020-09-08 22:47:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libfilezilla (Old)
 and      /work/SRC/openSUSE:Factory/.libfilezilla.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libfilezilla"

Tue Sep  8 22:47:38 2020 rev:34 rq:832838 version:0.24.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libfilezilla/libfilezilla.changes        
2020-08-24 15:10:55.470622749 +0200
+++ /work/SRC/openSUSE:Factory/.libfilezilla.new.3399/libfilezilla.changes      
2020-09-08 22:48:21.219546326 +0200
@@ -1,0 +2,7 @@
+Mon Sep  7 17:22:25 UTC 2020 - ecsos <[email protected]>
+
+- Update to 0.24.1
+  * Bugfixes and minor changes:
+    - fz::to_integral can now handle strongly typed enum return types
+
+-------------------------------------------------------------------

Old:
----
  libfilezilla-0.24.0.tar.bz2

New:
----
  libfilezilla-0.24.1.tar.bz2

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

Other differences:
------------------
++++++ libfilezilla.spec ++++++
--- /var/tmp/diff_new_pack.N2lL6X/_old  2020-09-08 22:48:23.723547546 +0200
+++ /var/tmp/diff_new_pack.N2lL6X/_new  2020-09-08 22:48:23.723547546 +0200
@@ -20,7 +20,7 @@
 %define libname                %{name}%{major}
 %define develname      %{name}-devel
 Name:           libfilezilla
-Version:        0.24.0
+Version:        0.24.1
 Release:        0
 Summary:        C++ library for filezilla
 License:        GPL-2.0-or-later

++++++ libfilezilla-0.24.0.tar.bz2 -> libfilezilla-0.24.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfilezilla-0.24.0/NEWS new/libfilezilla-0.24.1/NEWS
--- old/libfilezilla-0.24.0/NEWS        2020-08-21 15:35:14.000000000 +0200
+++ new/libfilezilla-0.24.1/NEWS        2020-08-27 14:34:32.000000000 +0200
@@ -1,3 +1,7 @@
+0.24.1 (2020-08-27)
+
+- fz::to_integral can now handle strongly typed enum return types
+
 0.24.0 (2020-08-21)
 
 + Added fz::equal_consttime
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfilezilla-0.24.0/configure 
new/libfilezilla-0.24.1/configure
--- old/libfilezilla-0.24.0/configure   2020-08-21 15:35:21.000000000 +0200
+++ new/libfilezilla-0.24.1/configure   2020-08-27 14:34:35.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libfilezilla 0.24.0.
+# Generated by GNU Autoconf 2.69 for libfilezilla 0.24.1.
 #
 # Report bugs to <[email protected]>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='libfilezilla'
 PACKAGE_TARNAME='libfilezilla'
-PACKAGE_VERSION='0.24.0'
-PACKAGE_STRING='libfilezilla 0.24.0'
+PACKAGE_VERSION='0.24.1'
+PACKAGE_STRING='libfilezilla 0.24.1'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL='https://lib.filezilla-project.org/'
 
@@ -1444,7 +1444,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 libfilezilla 0.24.0 to adapt to many kinds of systems.
+\`configure' configures libfilezilla 0.24.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1515,7 +1515,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libfilezilla 0.24.0:";;
+     short | recursive ) echo "Configuration of libfilezilla 0.24.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1666,7 +1666,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libfilezilla configure 0.24.0
+libfilezilla configure 0.24.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2111,7 +2111,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libfilezilla $as_me 0.24.0, which was
+It was created by libfilezilla $as_me 0.24.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2466,7 +2466,7 @@
 # If any interfaces have been added since the last public release, then 
increment age.
 # If any interfaces have been removed or changed since the last public 
release, then set age to 0.
 # CURRENT:REVISION:AGE
-LIBRARY_VERSION=9:0:0
+LIBRARY_VERSION=9:1:0
 
 
 ac_config_headers="$ac_config_headers config/config.hpp"
@@ -2987,7 +2987,7 @@
 
 # Define the identity of the package.
  PACKAGE='libfilezilla'
- VERSION='0.24.0'
+ VERSION='0.24.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -22238,7 +22238,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libfilezilla $as_me 0.24.0, which was
+This file was extended by libfilezilla $as_me 0.24.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -22305,7 +22305,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-libfilezilla config.status 0.24.0
+libfilezilla config.status 0.24.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/libfilezilla-0.24.0/configure.ac 
new/libfilezilla-0.24.1/configure.ac
--- old/libfilezilla-0.24.0/configure.ac        2020-08-21 15:35:14.000000000 
+0200
+++ new/libfilezilla-0.24.1/configure.ac        2020-08-27 14:34:32.000000000 
+0200
@@ -1,4 +1,4 @@
-AC_INIT([libfilezilla],[0.24.0],[[email protected]],[],[https://lib.filezilla-project.org/])
+AC_INIT([libfilezilla],[0.24.1],[[email protected]],[],[https://lib.filezilla-project.org/])
 
 # Update the version information only immediately before a public release of 
your software
 # If the library source code has changed at all since the last update, then 
increment revision (‘c:r:a’ becomes ‘c:r+1:a’).
@@ -6,7 +6,7 @@
 # If any interfaces have been added since the last public release, then 
increment age.
 # If any interfaces have been removed or changed since the last public 
release, then set age to 0.
 # CURRENT:REVISION:AGE
-LIBRARY_VERSION=9:0:0
+LIBRARY_VERSION=9:1:0
 
 
 AC_CONFIG_HEADERS([config/config.hpp])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfilezilla-0.24.0/lib/libfilezilla/string.hpp 
new/libfilezilla-0.24.1/lib/libfilezilla/string.hpp
--- old/libfilezilla-0.24.0/lib/libfilezilla/string.hpp 2020-08-21 
15:35:14.000000000 +0200
+++ new/libfilezilla-0.24.1/lib/libfilezilla/string.hpp 2020-08-27 
14:34:32.000000000 +0200
@@ -326,30 +326,32 @@
 template<typename T, typename String>
 T to_integral_impl(String const& s, T const errorval = T())
 {
-       T ret{};
-
-       auto it = s.cbegin();
-       if (it != s.cend() && (*it == '-' || *it == '+')) {
-               ++it;
-       }
-
-       if (it == s.cend()) {
-               return errorval;
+       if constexpr (std::is_enum_v<T>) {
+               return 
static_cast<T>(to_integral_impl<std::underlying_type_t<T>>(s, 
static_cast<std::underlying_type_t<T>>(errorval)));
        }
+       else {
+               T ret{};
+               auto it = s.cbegin();
+               if (it != s.cend() && (*it == '-' || *it == '+')) {
+                       ++it;
+               }
 
-       for (; it != s.cend(); ++it) {
-               auto const& c = *it;
-               if (c < '0' || c > '9') {
+               if (it == s.cend()) {
                        return errorval;
                }
-               ret *= 10;
-               ret += c - '0';
-       }
 
-       if (!s.empty() && s.front() == '-') {
-               return ret *= static_cast<T>(-1);
-       }
-       else {
+               for (; it != s.cend(); ++it) {
+                       auto const& c = *it;
+                       if (c < '0' || c > '9') {
+                               return errorval;
+                       }
+                       ret *= 10;
+                       ret += c - '0';
+               }
+
+               if (!s.empty() && s.front() == '-') {
+                       ret *= static_cast<T>(-1);
+               }
                return ret;
        }
 }


Reply via email to