Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qore for openSUSE:Factory checked in at 2022-06-16 18:19:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qore (Old) and /work/SRC/openSUSE:Factory/.qore.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qore" Thu Jun 16 18:19:44 2022 rev:10 rq:981144 version:1.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/qore/qore.changes 2021-11-23 22:12:39.878462355 +0100 +++ /work/SRC/openSUSE:Factory/.qore.new.1548/qore.changes 2022-06-16 18:19:55.664055696 +0200 @@ -1,0 +2,171 @@ +Sun Jun 5 02:29:14 UTC 2022 - Ferdinand Thiessen <r...@fthiessen.de> + +- Update to version 1.8.0 + * Updated modules with initial support for generic expressions for + searches + * Addded support for data provider options to support default values + * Addded search_operators to the data provider response to report + supported search operators + * Fixed a type error in DataProvider::search*() calls with an empty + where hash argument + * RestClient module + * Fixed a bug where REST schema validation was not applied in all + contexts with specialized REST clients + * RestHandler module + * Do not raise a validation error when a response with an unknown + code has a message body; this hides the true error message from + the caller in case of error messages + * Allow a logger to be set in validators + * ServiceNowRestDataProvider module + * Fixed bugs handling the orderby, orderbydesc, and groupby search + options + * Fixed a bug where the cast<>() operator threw parse-time exceptions + with hashdecls that could succeed at runtime + * Fixed a bug handling types at parse time with the minus operator and + complex hash operands + * Fixed a static memory leak in libqore shutting down the library when + built with openssl 3+ + * Fixed a bug where HTTP redirect messages were encoded twice causing + redirect failures in cases where the redirect URI path had encoded + elements + * Fixed a crash related to stack exhaustion resolving deeply-nested + references +- Add fix-building-doc.patch +- Add fix-logger-doc.patch +- Update to version 1.7.2 + * Fixed parse_datasource() to parse datasource strings with a DB name + as a path or with ':' chars in the DB or host name +- Update to version 1.7.1 + * DataProvider module: made it possible to determine the default field + type in HashDataType + * FsUtil module: fixed join_paths() to handle an arbitrary number of + paths as arguments (the most common use case) + * RestHandler module: improved error handling and sending error messages + when exceptions contain non-serializable objects + * Fixed a bug handling reference assignments and calculating matches + with overloaded functions and methods + * Fixed a bug with compilers that do not guarantee left to right argument + execution order such as g++ 12+; note that the C++ standard does not + guarantee this in any case + * Fixed cast<> operator handling of "or nothing" types at parse and runtime + * Load the default provider with OpenSSL3+ to make it work on platforms + where this provider is not automatically loaded +- Update to version 1.6.0 + * DataProvider module: added the desc key supporting a markdown description + to data provider info + * Mapper module: implemented options supporting suppressing data provider + calls on input and output + * Added HTTPClient::getSafeURL() and HTTPClient::getSafeProxyURL() +- Update to version 1.5.0 + * CsvUtil and FixedLengthUtil: added support for resolving locations + with the FileLocationHandler module + * DataProvider module:fixed a type error iterating data in + DefaultBulkRecordIterface + +------------------------------------------------------------------- +Sun Jun 5 01:19:14 UTC 2022 - Ferdinand Thiessen <r...@fthiessen.de> + +- Update to version 1.4.0 + * DataProvider module + * Added support for tags on data provider types + * Fixed data provider factory info to provide info about the + actual data provider factory instead of only provider info + * Added "from example" APIs to data provider factories + * Added generic search capabilities to data providers with no + native search functionality + * Util module: + * Implemented the serialize_to_string() API + * parse_uri_query() fails if the string has newlines in it + * RestHandler module: Added missing make*() methods with REST + responses to the RestHandler class + * added the CipherMap constant providing a hash of known ciphers + * Support for OpenSSL 3+ added + * when Qore is compiled with OpenSSL3 or greater, all cipher + and digest algorithms known to the encryption library are + supported with dynamic APIs + * Removed code that generated unnecessary ILLEGAL-CALL + exceptions at parse time +- Update to version 1.3.0 + * FileLocationHandler module + * updated for read/write operations and added streaming APIs + * Added an optional encoding parameter to the FtpClient::getAsString() API + * Fixed a bug handling committing parse operations where final + checks were not always made before committing + * Fixed return type for Type::isAssignableFrom(Type) in the + reflection module + * Fixed bugs in variant matching that could lead to unexpected + results at runtime as well as errors with inherited Java code + * Fixed a bug dispatching method and function calls at runtime in + certain cases +- Update to version 1.2.0 + * DataProvider module + * Added a logger to the AbstractDataProvider class to enable + logging + * Added support for creating, updating, and deleting data providers + * DbDataProvider module + * Added support for creating, updating, and deleting data providers + * FreetdsSqlUtil module + * Fixed a bug where offset and limit were not properly supported + with MS SQL Server DBs + * Fixed a bug where date/time values in other time zones were not + bound correctly + * Fixed a bug handling transaction savepoints + * Fixed a bug in certain type errors involving complex types where + the specific complex type was omitted from the error message + * Fixed a bug initializing constant values at parse time; + now all constant expressions requiring evaluation are evaluated + after all other parsing is done +- Update to version 1.1.0 + * Added DataProviderTypeCache::listParentTypes() to allow a list + of parent types to be returned + * Added StringOutputStream::hasData() + * rethrow now accepts optional exception arguments to allow + exceptions to be enriched in a catch block while maintaining + the original call stack, and the on_error statement now includes + an implicit argument $1 giving the currently-active exception, + additionally, rethrow statements are now allowed in on_error + statement blocks to allow for exception enrichment without + requiring a try/catch block. + * Fixed a bug in the stack guard implementation where additional + guard area was needed in the primary thread on some platforms + * Fixed bugs tagging functions and constants provided by builtin + modules with their module name; required to consistently provide + unique binary names when imported into Java, for example + * Fixed a bug initializing constant values that could result in + spurious errors + * Added regex APIs to the C++ string class + * Added a warning for constant operands with the square bracket + operator that are not integers + * Fixed a bug handling EOF conditions while parsing the final + part of regular expressions + +------------------------------------------------------------------- +Fri May 20 22:25:36 UTC 2022 - Ferdinand Thiessen <r...@fthiessen.de> + +- Update to version 1.0.13 + * Fixed: builtin namespaces are not consistently tagged with the + providing module's name + * Update QUnit constructor variants taking list arguments to allow + them to work better with Python and Java subclasses + * Fixed: not possible to use a Mapper with an output provider only + for the output data type + * Fixed a bug where qpp would not recognize multi-line method + * Fixed a regression in the SwaggerDataProvider +- Update to version 1.0.12 + * Fixed handling implicit in-object calls in arguments + * Adding missing methods for transaction management with + supported DataProviders + * Fixed upsert usage with unique constraints and indices + when there is a non-matching PK + * Fixed handling reserved words as column names in the + PgsqlSqlUtil module + * Fixed a bug in parse_to_qore_value() with floats and numbers + with trailing zeros + * Fixed handling recursive references in Swagger schemas in the + Swagger module + * Fixed handling recursive references in Swagger schemas in the + SwaggerDataProvider module + * Mail and MailMessage fixes - downstream patches +- Drop upstream fixed fix-module-linker-flags.patch + +------------------------------------------------------------------- Old: ---- fix-module-linker-flags.patch qore-release-1.0.10.tar.gz New: ---- fix-building-doc.patch fix-logger-doc.patch qore-release-1.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qore-doc.spec ++++++ --- /var/tmp/diff_new_pack.kaSUDu/_old 2022-06-16 18:19:56.360056686 +0200 +++ /var/tmp/diff_new_pack.kaSUDu/_new 2022-06-16 18:19:56.368056697 +0200 @@ -1,7 +1,7 @@ # # spec file for package qore-doc # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: qore-doc -Version: 1.0.10 +Version: 1.8.0 Release: 0 Summary: Multithreaded Programming Language License: GPL-2.0-or-later OR LGPL-2.1-or-later OR MIT @@ -26,14 +26,21 @@ Source0: https://github.com/qorelanguage/qore/archive/refs/tags/release-%{version}.tar.gz#/qore-release-%{version}.tar.gz # PATCH-FIX-OPENSUSE bmwiedemann boo#1084909 Patch0: reproducible.patch +# PATCH-FIX-UPSTREAM fix-building-doc.patch -- https://github.com/qorelanguage/qore/commit/ba862fdddb17b76858a2f95c24e0c820a72d8b5a +Patch1: fix-building-doc.patch +# PATCH-FIX-UPSTREAM fix-logger-doc.patch -- https://github.com/qorelanguage/qore/issues/4542 +Patch2: fix-logger-doc.patch +BuildRequires: autoconf +BuildRequires: automake BuildRequires: bison -BuildRequires: bzip2 BuildRequires: doxygen BuildRequires: fdupes BuildRequires: flex >= 2.5.31 BuildRequires: gcc-c++ >= 4.8.1 BuildRequires: gmp-devel BuildRequires: graphviz +BuildRequires: graphviz-gd +BuildRequires: urw-fonts BuildRequires: libbz2-devel BuildRequires: libtool BuildRequires: mpfr-devel @@ -41,9 +48,10 @@ BuildRequires: pcre-devel BuildRequires: pkgconfig BuildRequires: qore = %{version} -BuildRequires: qore-json-module >= 1.8+qore%{version} -BuildRequires: qore-linenoise-module >= 1.0.0+qore%{version} -BuildRequires: qore-yaml-module >= 0.7.0+qore%{version} +BuildRequires: qore-devel = %{version} +BuildRequires: qore-json-module >= 1.8.1 +BuildRequires: qore-linenoise-module >= 1.0.0 +BuildRequires: qore-yaml-module >= 0.7 BuildRequires: zlib-devel %description @@ -69,7 +77,7 @@ %build autoreconf -fi %configure -make html-local +make doxygen-doc %install ++++++ qore.spec ++++++ --- /var/tmp/diff_new_pack.kaSUDu/_old 2022-06-16 18:19:56.392056731 +0200 +++ /var/tmp/diff_new_pack.kaSUDu/_new 2022-06-16 18:19:56.396056737 +0200 @@ -1,7 +1,7 @@ # # spec file for package qore # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2014 David Nichols <da...@qore.org> # Copyright (c) 2014 Petr Vanek <p...@yarpen.cz> # @@ -18,10 +18,10 @@ # -%define so_ver 7 +%define so_ver 12 %define module_dir %{_libdir}/qore-modules Name: qore -Version: 1.0.10 +Version: 1.8.0 Release: 0 Summary: Multithreaded Programming Language License: GPL-2.0-or-later OR LGPL-2.1-or-later OR MIT @@ -32,18 +32,13 @@ Source99: qore-module.prov # PATCH-FIX-OPENSUSE bmwiedemann boo#1084909 Patch0: reproducible.patch -# PATCH-FIX-UPSTREAM fix-module-linker-flags.patch -- gh#4335 -Patch1: fix-module-linker-flags.patch -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: bison -BuildRequires: bzip2 +BuildRequires: bison >= 1.8.5 +BuildRequires: cmake BuildRequires: fdupes BuildRequires: flex >= 2.5.31 BuildRequires: gcc-c++ >= 4.8.1 BuildRequires: gmp-devel BuildRequires: libbz2-devel -BuildRequires: libtool BuildRequires: mpfr-devel BuildRequires: openssl-devel BuildRequires: pcre-devel @@ -99,15 +94,14 @@ %autosetup -p1 -n %{name}-release-%{version} # silence the executable warning for examples find examples -type f|xargs chmod 644 +[ ! -e "include/qore/intern/git-revision.h" ] && echo "#define BUILD \"openSUSE %{version}\"" > include/qore/intern/git-revision.h %build -autoreconf -fi -%configure --disable-debug --disable-dependency-tracking -%make_build +%cmake +%cmake_build %install -%make_install -rm %{buildroot}/%{_libdir}/libqore.la +%cmake_install # Fix scripts for script in qdp qget rest saprest schema-reverse sfrest sqlutil qdx qjar qdbg{,-remote,-server,-vsc-adapter}; do @@ -115,11 +109,12 @@ done # Check if we have all the provides for libqore - to ensure we provide all the qore-module ABI's the code supports -./qore --module-apis | awk -F',[[:blank:]]' '{i = 1; while (i < NF) { print $i; i++ } }' > /tmp/qore-modules.prov +LD_LIBRARY_PATH="%{buildroot}%{_libdir}" \ + %{__builddir}/qore --module-apis | awk 'BEGIN{ RS = ""; FS = ",[[:blank:]]"}{i = 1; while (i <= NF) { print $i; i++ } }' > /tmp/qore-modules.prov diff -ur %{SOURCE99} /tmp/qore-modules.prov %check -make test +%ctest %post -n libqore%{so_ver} -p /sbin/ldconfig %postun -n libqore%{so_ver} -p /sbin/ldconfig ++++++ fix-building-doc.patch ++++++ diff --git a/Makefile.am b/Makefile.am index 26f2143..a549d21 100644 --- a/Makefile.am +++ b/Makefile.am @@ -949,6 +949,7 @@ EXTRA_DIST = next_build.sh run_tests.sh ABOUT RELEASE-NOTES \ modules/reflection/docs/mainpage.dox.tmpl \ modules/reflection/CMakeLists.txt \ modules/reflection/cmake/cmake_uninstall.cmake.in \ + doxygen/lang/mainpage.dox.tmpl \ doxygen/lang/Doxyfile.in \ doxygen/qlib/Doxyfile.in \ doxygen/modules/Doxyfile.in \ diff --git a/modules/astparser/CMakeLists.txt b/modules/astparser/CMakeLists.txt index 6fdc146..0d8a55f 100644 --- a/modules/astparser/CMakeLists.txt +++ b/modules/astparser/CMakeLists.txt @@ -49,7 +49,7 @@ set(ASTPARSER_CPP_SRC ${CMAKE_CURRENT_BINARY_DIR}/ast_scanner.cpp ) -set(QORE_DOX_TMPL_SRC +set(QORE_DOX_ASTPARSER_TMPL_SRC docs/mainpage.dox.tmpl ) @@ -77,7 +77,7 @@ set(MODULE_DOX_INPUT ${CMAKE_BINARY_DIR}/modules/astparser/mainpage.dox ${_dox_s qore_binary_module_qore(${astparser_module_name} "${VERSION}" "/${VERSION}") if (DOXYGEN_FOUND) - qore_wrap_dox(QORE_DOX_SRC ${QORE_DOX_TMPL_SRC}) - add_custom_target(QORE_ASTPARSER_MOD_DOX_FILES DEPENDS ${QORE_DOX_SRC}) + qore_wrap_dox(QORE_ASTPARSER_DOX_SRC ${QORE_DOX_ASTPARSER_TMPL_SRC}) + add_custom_target(QORE_ASTPARSER_MOD_DOX_FILES DEPENDS ${QORE_DOX_ASTPARSER_SRC}) add_dependencies(docs-astparser QORE_ASTPARSER_MOD_DOX_FILES) endif() diff --git a/modules/reflection/CMakeLists.txt b/modules/reflection/CMakeLists.txt index afe31f2..b198013 100644 --- a/modules/reflection/CMakeLists.txt +++ b/modules/reflection/CMakeLists.txt @@ -101,7 +101,7 @@ set(REFLECTION_H_SRC src/QC_Type.h ) -set(QORE_DOX_TMPL_SRC +set(QORE_DOX_REFLECTION_TMPL_SRC docs/mainpage.dox.tmpl ) @@ -129,7 +129,7 @@ set(MODULE_DOX_INPUT ${CMAKE_BINARY_DIR}/modules/reflection/mainpage.dox ${_dox_ qore_binary_module_qore(${reflection_module_name} "${VERSION}" "/${VERSION}") if (DOXYGEN_FOUND) - qore_wrap_dox(QORE_DOX_SRC ${QORE_DOX_TMPL_SRC}) - add_custom_target(QORE_REFLECTION_MOD_DOX_FILES DEPENDS ${QORE_DOX_SRC}) + qore_wrap_dox(QORE_DOX_REFLECTION_SRC ${QORE_DOX_REFLECTION_TMPL_SRC}) + add_custom_target(QORE_REFLECTION_MOD_DOX_FILES DEPENDS ${QORE_DOX_REFLECTION_SRC}) add_dependencies(docs-reflection QORE_REFLECTION_MOD_DOX_FILES) endif() ++++++ fix-logger-doc.patch ++++++ diff --git a/Makefile.am b/Makefile.am index a549d21..52440d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -48,6 +48,7 @@ DOX_MODULES = qlib/DatasourceProvider.qm \ qlib/FreetdsSqlUtil.qm \ qlib/FsUtil.qm \ qlib/FtpPoller.qm \ + qlib/Logger.qm \ qlib/OracleSqlUtil.qm \ qlib/PgsqlSqlUtil.qm \ qlib/Pop3Client.qm \ ++++++ qore-module.prov ++++++ --- /var/tmp/diff_new_pack.kaSUDu/_old 2022-06-16 18:19:56.444056805 +0200 +++ /var/tmp/diff_new_pack.kaSUDu/_new 2022-06-16 18:19:56.448056811 +0200 @@ -1,2 +1,2 @@ -1.1 +1.3 ++++++ qore-release-1.0.10.tar.gz -> qore-release-1.8.0.tar.gz ++++++ ++++ 61245 lines of diff (skipped)