Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yder for openSUSE:Factory checked in 
at 2022-03-14 19:35:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yder (Old)
 and      /work/SRC/openSUSE:Factory/.yder.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yder"

Mon Mar 14 19:35:43 2022 rev:13 rq:961649 version:1.4.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/yder/yder.changes        2021-06-09 
21:52:18.734475827 +0200
+++ /work/SRC/openSUSE:Factory/.yder.new.25692/yder.changes     2022-03-14 
19:37:47.990179148 +0100
@@ -1,0 +2,7 @@
+Sun Mar 13 16:47:40 UTC 2022 - Martin Hauke <[email protected]>
+
+- Update to version 1.4.15
+  * Use `o_strnullempty` instead of `o_strlen` to check if a
+    `char *` has data
+
+-------------------------------------------------------------------

Old:
----
  yder-1.4.14.tar.gz

New:
----
  yder-1.4.15.tar.gz

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

Other differences:
------------------
++++++ yder.spec ++++++
--- /var/tmp/diff_new_pack.0G7mSZ/_old  2022-03-14 19:37:48.450179699 +0100
+++ /var/tmp/diff_new_pack.0G7mSZ/_new  2022-03-14 19:37:48.454179703 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package yder
 #
-# Copyright (c) 2021 SUSE LLC
-# Copyright (c) 2018-2021, Martin Hauke <[email protected]>
+# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2018-2022, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 
 %define sover 1_4
 Name:           yder
-Version:        1.4.14
+Version:        1.4.15
 Release:        0
 Summary:        Logging library written in C
 # Example programs in subfolder examples/ are licensed under MIT

++++++ yder-1.4.14.tar.gz -> yder-1.4.15.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yder-1.4.14/.gitignore new/yder-1.4.15/.gitignore
--- old/yder-1.4.14/.gitignore  2021-06-02 14:45:22.000000000 +0200
+++ new/yder-1.4.15/.gitignore  2022-03-09 23:10:21.000000000 +0100
@@ -4,11 +4,4 @@
 *.a
 *.pc
 *.log
-log_combined
-log_console
-log_file
-log_syslog
-log_journald
-test/yder_test
-valgrind.txt
 yder-cfg.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yder-1.4.14/API.md new/yder-1.4.15/API.md
--- old/yder-1.4.14/API.md      2021-06-02 14:45:22.000000000 +0200
+++ new/yder-1.4.15/API.md      2022-03-09 23:10:21.000000000 +0100
@@ -4,4 +4,6 @@
 
 Simple and easy to use logging library. You can log messages to the console, a 
file, syslog, journald or a callback function.
 
-Yder is mono-thread, which mean that you can use only one instance of yder log 
at the same time in your program.
+Yder is multi-thread, which mean that you can use multiple instances of the 
function `y_log_message` at the same time in your program.
+
+Yet, `y_init_logs`, `y_set_logs_callback`, `y_set_date_format` and 
`y_close_logs` are mono-thread. You might use those functions in the `main()` 
routine to ensure safety.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yder-1.4.14/CHANGELOG.md new/yder-1.4.15/CHANGELOG.md
--- old/yder-1.4.14/CHANGELOG.md        2021-06-02 14:45:22.000000000 +0200
+++ new/yder-1.4.15/CHANGELOG.md        2022-03-09 23:10:21.000000000 +0100
@@ -1,5 +1,9 @@
 # Yder Changelog
 
+## 1.4.15
+
+- Use `o_strnullempty` instead of `o_strlen` to check if a `char *` has data
+
 ## 1.4.14
 
 - Add ld flags in libyder.pc on static build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yder-1.4.14/CMakeLists.txt 
new/yder-1.4.15/CMakeLists.txt
--- old/yder-1.4.14/CMakeLists.txt      2021-06-02 14:45:22.000000000 +0200
+++ new/yder-1.4.15/CMakeLists.txt      2022-03-09 23:10:21.000000000 +0100
@@ -4,7 +4,7 @@
 # CMake file used to build all programs
 #
 # Copyright 2018 Silvio Clecio <[email protected]>
-# Copyright 2018-2020 Nicolas Mora <[email protected]>
+# Copyright 2018-2022 Nicolas Mora <[email protected]>
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the MIT License
@@ -30,7 +30,7 @@
 set(PROJECT_BUGREPORT_PATH "https://github.com/babelouest/yder/issues";)
 set(LIBRARY_VERSION_MAJOR "1")
 set(LIBRARY_VERSION_MINOR "4")
-set(LIBRARY_VERSION_PATCH "14")
+set(LIBRARY_VERSION_PATCH "15")
 
 set(PROJECT_VERSION 
"${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}")
 set(PROJECT_VERSION_MAJOR ${LIBRARY_VERSION_MAJOR})
@@ -56,7 +56,7 @@
 
 set(LIBRARY_VERSION 
"${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}")
 set(LIBRARY_SOVERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}")
-set(ORCANIA_VERSION_REQUIRED "2.2.1")
+set(ORCANIA_VERSION_REQUIRED "2.2.2")
 
 # cmake modules
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yder-1.4.14/Makefile new/yder-1.4.15/Makefile
--- old/yder-1.4.14/Makefile    2021-06-02 14:45:22.000000000 +0200
+++ new/yder-1.4.15/Makefile    2022-03-09 23:10:21.000000000 +0100
@@ -3,7 +3,7 @@
 #
 # Makefile used to build all programs
 #
-# Copyright 2014-2020 Nicolas Mora <[email protected]>
+# Copyright 2014-2022 Nicolas Mora <[email protected]>
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yder-1.4.14/examples/.gitignore 
new/yder-1.4.15/examples/.gitignore
--- old/yder-1.4.14/examples/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/yder-1.4.15/examples/.gitignore 2022-03-09 23:10:21.000000000 +0100
@@ -0,0 +1,6 @@
+log_combined
+log_console
+log_file
+log_syslog
+log_journald
+log_callback
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yder-1.4.14/include/yder-cfg.h.in 
new/yder-1.4.15/include/yder-cfg.h.in
--- old/yder-1.4.14/include/yder-cfg.h.in       2021-06-02 14:45:22.000000000 
+0200
+++ new/yder-1.4.15/include/yder-cfg.h.in       2022-03-09 23:10:21.000000000 
+0100
@@ -6,7 +6,7 @@
  * 
  * yder-cfg.h: configuration file
  * 
- * Copyright 2018-2020 Nicolas Mora <[email protected]>
+ * Copyright 2018-2022 Nicolas Mora <[email protected]>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yder-1.4.14/include/yder.h 
new/yder-1.4.15/include/yder.h
--- old/yder-1.4.14/include/yder.h      2021-06-02 14:45:22.000000000 +0200
+++ new/yder-1.4.15/include/yder.h      2022-03-09 23:10:21.000000000 +0100
@@ -7,7 +7,7 @@
  * 
  * yder.h: structures and functions declarations
  * 
- * Copyright 2015-2020 Nicolas Mora <[email protected]>
+ * Copyright 2015-2022 Nicolas Mora <[email protected]>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
@@ -104,7 +104,7 @@
  * Close the logs
  * @return 1 on success, 0 on error
  */
-int y_close_logs();
+int y_close_logs(void);
 
 /**
  * @}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yder-1.4.14/src/Makefile new/yder-1.4.15/src/Makefile
--- old/yder-1.4.14/src/Makefile        2021-06-02 14:45:22.000000000 +0200
+++ new/yder-1.4.15/src/Makefile        2022-03-09 23:10:21.000000000 +0100
@@ -3,7 +3,7 @@
 #
 # Makefile used to build the software
 #
-# Copyright 2015-2020 Nicolas Mora <[email protected]>
+# Copyright 2015-2022 Nicolas Mora <[email protected]>
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public License
@@ -35,7 +35,7 @@
 OUTPUT=libyder.so
 VERSION_MAJOR=1
 VERSION_MINOR=4
-VERSION_PATCH=14
+VERSION_PATCH=15
 
 SONAME = -soname
 ifeq ($(shell uname -s),Darwin)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yder-1.4.14/src/yder.c new/yder-1.4.15/src/yder.c
--- old/yder-1.4.14/src/yder.c  2021-06-02 14:45:22.000000000 +0200
+++ new/yder-1.4.15/src/yder.c  2022-03-09 23:10:21.000000000 +0100
@@ -6,7 +6,7 @@
  * 
  * yder.h: structures and functions declarations
  * 
- * Copyright 2015-2020 Nicolas Mora <[email protected]>
+ * Copyright 2015-2022 Nicolas Mora <[email protected]>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
@@ -259,7 +259,7 @@
     }
   }
   
-  if (init_mode == Y_LOG_MODE_FILE && !o_strlen(cur_log_file_path)) {
+  if (init_mode == Y_LOG_MODE_FILE && o_strnullempty(cur_log_file_path)) {
     // Logs have already been initialized, cancel
     perror("Error - log file path misssing");
     return 0;
@@ -352,7 +352,7 @@
  * Specify a date format for the console and file logs
  */
 int y_set_date_format(const char * format, const char * message) {
-  if (o_strlen(format)) {
+  if (!o_strnullempty(format)) {
     return y_write_log(NULL, Y_LOG_MODE_CURRENT, Y_LOG_LEVEL_CURRENT, NULL, 
NULL, NULL, format, Y_LOG_LEVEL_INFO, message);
   } else {
     return 0;
@@ -362,7 +362,7 @@
 /**
  * Close logs
  */
-int y_close_logs() {
+int y_close_logs(void) {
   return y_write_log(NULL, 0, 0, NULL, NULL, NULL, NULL, 0, NULL);
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yder-1.4.14/test/.gitignore 
new/yder-1.4.15/test/.gitignore
--- old/yder-1.4.14/test/.gitignore     1970-01-01 01:00:00.000000000 +0100
+++ new/yder-1.4.15/test/.gitignore     2022-03-09 23:10:21.000000000 +0100
@@ -0,0 +1,2 @@
+yder_test
+valgrind-*.txt

Reply via email to