diff --git a/.clang-format b/.clang-format index e914729e1601..aa0ffa57dead 100644 --- a/.clang-format +++ b/.clang-format @@ -1,4 +1,4 @@ -# Copyright (c) 2016, 2025, Oracle and/or its affiliates. +# Copyright (c) 2016, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/.clang-tidy b/.clang-tidy index 1cd80c29e2df..61f6b2b9e753 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,4 +1,4 @@ -# Copyright (c) 2022, 2025, Oracle and/or its affiliates. +# Copyright (c) 2022, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/.gitconfig b/.gitconfig index b076fbc77311..170d872c531b 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,4 +1,4 @@ -# Copyright (c) 2018, 2025, Oracle and/or its affiliates. +# Copyright (c) 2018, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/CMakeLists.txt b/CMakeLists.txt index cc8fd4e9574f..917db04a5b89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2006, 2025, Oracle and/or its affiliates. +# Copyright (c) 2006, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/Docs/README.build b/Docs/README.build index 51d84138be3f..824a33eb108d 100644 --- a/Docs/README.build +++ b/Docs/README.build @@ -1,4 +1,4 @@ -Copyright (c) 2003, 2024, Oracle and/or its affiliates. +Copyright (c) 2003, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/Docs/sp-imp-spec.txt b/Docs/sp-imp-spec.txt index baa298f2614c..c09f09cdea8f 100644 --- a/Docs/sp-imp-spec.txt +++ b/Docs/sp-imp-spec.txt @@ -1,4 +1,4 @@ -Copyright (c) 2003, 2025, Oracle and/or its affiliates. +Copyright (c) 2003, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/Doxyfile-ignored b/Doxyfile-ignored index f2bb60b2375e..e2f83dc43da8 100644 --- a/Doxyfile-ignored +++ b/Doxyfile-ignored @@ -1,4 +1,4 @@ -# Copyright (c) 2015, 2025, Oracle and/or its affiliates. +# Copyright (c) 2015, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/Doxyfile.in b/Doxyfile.in index a309bc1b7335..aafb246e42a6 100644 --- a/Doxyfile.in +++ b/Doxyfile.in @@ -1,4 +1,4 @@ -## Copyright (c) 2015, 2025, Oracle and/or its affiliates. +## Copyright (c) 2015, 2026, Oracle and/or its affiliates. ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License, version 2.0, diff --git a/LICENSE b/LICENSE index 8e081d95c086..31d83117c128 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ Licensing Information User Manual -MySQL 8.0.45 Community +MySQL 8.0.46 Community __________________________________________________________________ Introduction @@ -8,18 +8,18 @@ Introduction This License Information User Manual contains Oracle's product license and other licensing information, including licensing information for third-party software which may be included in this distribution of - MySQL 8.0.45 Community. + MySQL 8.0.46 Community. - Last updated: November 2025 + Last updated: February 2026 Licensing Information - This release of MySQL 8.0.45 Community is brought to you by the MySQL + This release of MySQL 8.0.46 Community is brought to you by the MySQL team at Oracle. This software is released under version 2 of the GNU General Public License (GPLv2), as set forth below, with the following additional permissions: - This distribution of MySQL 8.0.45 Community is designed to work with + This distribution of MySQL 8.0.46 Community is designed to work with certain software (including but not limited to OpenSSL) that is licensed under separate terms, as designated in a particular file or component or in the license documentation. Without limiting your rights @@ -36,7 +36,7 @@ Licensing Information reproduced below and can also be found along with its FAQ at http://oss.oracle.com/licenses/universal-foss-exception. - Copyright (c) 1997, 2025, Oracle and/or its affiliates. + Copyright (c) 1997, 2026, Oracle and/or its affiliates. Election of GPLv2 diff --git a/MYSQL_VERSION b/MYSQL_VERSION index b78433f87b38..634f55227019 100644 --- a/MYSQL_VERSION +++ b/MYSQL_VERSION @@ -1,6 +1,6 @@ MYSQL_VERSION_MAJOR=8 MYSQL_VERSION_MINOR=0 -MYSQL_VERSION_PATCH=45 -MYSQL_VERSION_EXTRA=-36 +MYSQL_VERSION_PATCH=46 +MYSQL_VERSION_EXTRA=-38 MYSQL_VERSION_STABILITY="LTS" diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 005734d2ace2..f2b265e5fcdf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -97,7 +97,7 @@ jobs: fi - job: - timeoutInMinutes: 240 + timeoutInMinutes: 360 pool: vmImage: $(imageName) @@ -131,38 +131,69 @@ jobs: # clang-12 and newer compilers - clang-20 RelWithDebInfo [Ubuntu 24.04 Noble]: + clang-22 RelWithDebInfo [Ubuntu 24.04 Noble]: imageName: 'ubuntu-24.04' UBUNTU_CODE_NAME: noble Compiler: clang - CompilerVer: 20 + CompilerVer: 22 BuildType: RelWithDebInfo ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-20 RelWithDebInfo INVERTED [Ubuntu 24.04 Noble]: + clang-22 RelWithDebInfo INVERTED [Ubuntu 24.04 Noble]: imageName: 'ubuntu-24.04' UBUNTU_CODE_NAME: noble Compiler: clang - CompilerVer: 20 + CompilerVer: 22 BuildType: RelWithDebInfo BUILD_PARAMS_TYPE: inverted ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-20 Debug [Ubuntu 24.04 Noble]: + clang-22 Debug [Ubuntu 24.04 Noble]: imageName: 'ubuntu-24.04' UBUNTU_CODE_NAME: noble Compiler: clang - CompilerVer: 20 + CompilerVer: 22 BuildType: Debug - clang-20 Debug INVERTED [Ubuntu 24.04 Noble]: + clang-22 Debug INVERTED [Ubuntu 24.04 Noble]: imageName: 'ubuntu-24.04' UBUNTU_CODE_NAME: noble Compiler: clang - CompilerVer: 20 + CompilerVer: 22 BuildType: Debug BUILD_PARAMS_TYPE: inverted + ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: + clang-21 RelWithDebInfo [Ubuntu 24.04 Noble]: + imageName: 'ubuntu-24.04' + UBUNTU_CODE_NAME: noble + Compiler: clang + CompilerVer: 21 + BuildType: RelWithDebInfo + + ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: + clang-21 Debug [Ubuntu 24.04 Noble]: + imageName: 'ubuntu-24.04' + UBUNTU_CODE_NAME: noble + Compiler: clang + CompilerVer: 21 + BuildType: Debug + + ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: + clang-20 RelWithDebInfo [Ubuntu 24.04 Noble]: + imageName: 'ubuntu-24.04' + UBUNTU_CODE_NAME: noble + Compiler: clang + CompilerVer: 20 + BuildType: RelWithDebInfo + + clang-20 Debug [Ubuntu 24.04 Noble]: + imageName: 'ubuntu-24.04' + UBUNTU_CODE_NAME: noble + Compiler: clang + CompilerVer: 20 + BuildType: Debug + ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: clang-19 RelWithDebInfo [Ubuntu 24.04 Noble]: imageName: 'ubuntu-24.04' @@ -277,18 +308,44 @@ jobs: # gcc-9 and newer compilers - gcc-14 RelWithDebInfo [Ubuntu 24.04 Noble]: + gcc-16 RelWithDebInfo [Ubuntu 24.04 Noble]: imageName: 'ubuntu-24.04' Compiler: gcc - CompilerVer: 14 + CompilerVer: 16 BuildType: RelWithDebInfo - gcc-14 Debug [Ubuntu 24.04 Noble]: + gcc-16 Debug [Ubuntu 24.04 Noble]: imageName: 'ubuntu-24.04' Compiler: gcc - CompilerVer: 14 + CompilerVer: 16 + BuildType: Debug + + gcc-15 RelWithDebInfo [Ubuntu 24.04 Noble]: + imageName: 'ubuntu-24.04' + Compiler: gcc + CompilerVer: 15 + BuildType: RelWithDebInfo + + gcc-15 Debug [Ubuntu 24.04 Noble]: + imageName: 'ubuntu-24.04' + Compiler: gcc + CompilerVer: 15 BuildType: Debug + ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: + gcc-14 RelWithDebInfo [Ubuntu 22.04 Jammy]: + imageName: 'ubuntu-22.04' + Compiler: gcc + CompilerVer: 14 + BuildType: RelWithDebInfo + + ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: + gcc-14 Debug [Ubuntu 22.04 Jammy]: + imageName: 'ubuntu-22.04' + Compiler: gcc + CompilerVer: 14 + BuildType: Debug + ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: gcc-13 RelWithDebInfo [Ubuntu 22.04 Jammy]: imageName: 'ubuntu-22.04' diff --git a/build-ps/debian/control b/build-ps/debian/control index 4f56cba4db8d..4ef5f7378e88 100644 --- a/build-ps/debian/control +++ b/build-ps/debian/control @@ -3,8 +3,8 @@ Section: database Priority: extra Maintainer: Percona Server Development Team Uploaders: George Lorch , - Tomislav Plavcic - Raghavendra Prabhu + Tomislav Plavcic , + Raghavendra Prabhu , Krunal Bauskar Build-Depends: libtool (>= 1.4.2-7), procps, diff --git a/build-ps/debian/percona-xtradb-cluster-garbd.docs b/build-ps/debian/percona-xtradb-cluster-garbd.docs index b7cc0c05218b..e5d594fb0f1b 100644 --- a/build-ps/debian/percona-xtradb-cluster-garbd.docs +++ b/build-ps/debian/percona-xtradb-cluster-garbd.docs @@ -1,2 +1 @@ -percona-xtradb-cluster-galera/packages/rpm/README percona-xtradb-cluster-galera/COPYING diff --git a/build-ps/debian/percona-xtradb-cluster-server.docs b/build-ps/debian/percona-xtradb-cluster-server.docs index 2985770ec0a9..64da2e1aabb5 100644 --- a/build-ps/debian/percona-xtradb-cluster-server.docs +++ b/build-ps/debian/percona-xtradb-cluster-server.docs @@ -4,4 +4,3 @@ README.md COPYING* builddir/Docs/INFO_BIN builddir/Docs/INFO_SRC -percona-xtradb-cluster-galera/packages/rpm/README-MySQL diff --git a/build-ps/debian/rules b/build-ps/debian/rules index ea303ca3524b..a0a19182b066 100755 --- a/build-ps/debian/rules +++ b/build-ps/debian/rules @@ -195,7 +195,6 @@ override_dh_auto_install: (cd $(builddir) && $(MAKE) install DESTDIR=$(TMP)/) (cd $(galeradir) && cp -r garb $(TMP)/) (cd $(builddir)/$(galeradir) && cp libgalera_smm.so $(TMP)/) - (cd $(galeradir) && cp packages/rpm/README $(TMP)/) mkdir -p $(TMP)/usr/bin/pxc_extra/ (cp -r pxb-2.4 $(TMP)/usr/bin/pxc_extra/) (mv $(TMP)/usr/bin/pxc_extra/pxb-2.4/lib/xtrabackup/* $(TMP)/usr/bin/pxc_extra/pxb-2.4/lib/) @@ -234,12 +233,10 @@ override_dh_auto_install: cp -rp $(TMP)/usr/lib/mysql-test/* $(TMP)/usr/lib/percona-xtradb-cluster-testsuite # mysql-server - mkdir -p $(TMP)/usr/share/doc/percona-xtradb-cluster-5.7/examples rm -vf $(TMP)/usr/share/percona-xtradb-cluster/mi_test_all* \ $(TMP)/usr/share/percona-xtradb-cluster/mysql-log-rotate \ $(TMP)/usr/share/percona-xtradb-cluster/mysql.server \ $(TMP)/usr/share/percona-xtradb-cluster/binary-configure - nm -n $(builddir)/sql/mysqld |gzip -9 > $(TMP)/usr/share/doc/percona-xtradb-cluster-5.7/mysqld.sym.gz # FIXME install -m 0755 debian/additions/echo_stderr $(TMP)/usr/share/mysql/ # install -d $(TMP)/etc/mysql # install -m 0755 debian/additions/debian-start $(TMP)/etc/mysql/ diff --git a/build-ps/percona-xtradb-cluster.spec b/build-ps/percona-xtradb-cluster.spec index 27b6472b19a1..5d7a4fbd1de2 100644 --- a/build-ps/percona-xtradb-cluster.spec +++ b/build-ps/percona-xtradb-cluster.spec @@ -437,7 +437,7 @@ Requires(preun): /sbin/service %endif Provides: mysql-server MySQL-server %if 0%{?rhel} == 8 || 0%{?rhel} == 9 || 0%{?amzn} == 2023 -Obsoletes: mariadb-connector-c-config +Obsoletes: mariadb-connector-c-config mariadb11.8-connector-c-config %endif Conflicts: Percona-SQL-server-50 Percona-Server-server-51 Percona-Server-server-55 Percona-Server-server-56 Percona-Server-server-57 Conflicts: percona-xtradb-cluster-server-pro @@ -1056,17 +1056,15 @@ ln -s "galera4/libgalera_smm.so" "$RBR/%{_libdir}/" install -d $RBR%{galera_docs} install -m 644 $MBD/%{galera_src_dir}/COPYING \ $RBR%{galera_docs}/COPYING -install -m 644 $MBD/%{galera_src_dir}/packages/rpm/README \ +install -m 644 $MBD/%{galera_src_dir}/README \ $RBR%{galera_docs}/README -install -m 644 $MBD/%{galera_src_dir}/packages/rpm/README-MySQL \ - $RBR%{galera_docs}/README-MySQL install -m 644 $MBD/%{galera_src_dir}/asio/LICENSE_1_0.txt \ $RBR%{galera_docs}/LICENSE.asio install -d $RBR%{galera_docs2} install -m 644 $MBD/%{galera_src_dir}/COPYING \ $RBR%{galera_docs2}/COPYING -install -m 644 $MBD/%{galera_src_dir}/packages/rpm/README \ +install -m 644 $MBD/%{galera_src_dir}/README \ $RBR%{galera_docs2}/README install -d $RBR%{_mandir}/man8 @@ -1420,11 +1418,12 @@ chcon -t mysqld_db_t %{pxc_telemetry} &>/dev/null || : chcon -u system_u %{pxc_telemetry} &>/dev/null || : %endif +tfn=$(/usr/bin/mktemp -p "$(/usr/bin/mktemp -d /tmp/XXXXXXXX)" call-home.XXXXXX.sh) cp %SOURCE999 /tmp/ 2>/dev/null || : -bash /tmp/call-home.sh -f "PRODUCT_FAMILY_PXC" -v %{mysql_version}-%{percona_server_version}-%{rpm_release} -d "PACKAGE" &>/dev/null || : +bash $tfn -f "PRODUCT_FAMILY_PXC" -v %{mysql_version}-%{percona_server_version}-%{rpm_release} -d "PACKAGE" &>/dev/null || : chgrp percona-telemetry /usr/local/percona/telemetry_uuid &>/dev/null || : chmod 664 /usr/local/percona/telemetry_uuid &>/dev/null || : -rm -f /tmp/call-home.sh +rm -f $tfn echo "Percona XtraDB Cluster is distributed with several useful UDFs from Percona Toolkit." echo "Run the following commands to create these functions:" @@ -1652,7 +1651,9 @@ fi %attr(755, root, root) %{_libdir}/mysql/private/libprotobuf-lite.so.* %attr(755, root, root) %{_libdir}/mysql/private/libprotobuf.so.* %if 0%{?add_fido_plugins} -%attr(755, root, root) %{_libdir}/mysql/private/libfido2.so.* +%attr(755, root, root) %{_libdir}/mysql/private/libfido2.so.1.* +# This is a symlink +%{_libdir}/mysql/private/libfido2.so.1 %endif # add_fido_plugins %if 0%{?systemd} == 0 @@ -1700,10 +1701,10 @@ fi # This is a symlink %{_libdir}/libgalera_smm.so %{_libdir}/galera4/libgalera_smm.so +%attr(755, root, root) %{_libdir}/mysql/libgalera_smm.so %attr(0755,root,root) %dir %{galera_docs} %doc %attr(0644,root,root) %{galera_docs}/COPYING %doc %attr(0644,root,root) %{galera_docs}/README -%doc %attr(0644,root,root) %{galera_docs}/README-MySQL %doc %attr(0644,root,root) %{galera_docs}/LICENSE.asio %config(noreplace) %{_sysconfdir}/my.cnf %dir %{_sysconfdir}/my.cnf.d diff --git a/build-ps/pxc_builder.sh b/build-ps/pxc_builder.sh index 5a54aa4b0178..e80e94f5b076 100755 --- a/build-ps/pxc_builder.sh +++ b/build-ps/pxc_builder.sh @@ -146,6 +146,8 @@ get_sources(){ git submodule update cd ../ || exit done + + sed -i "/^env = conf.Finish()/i conf.env.Append(CPPFLAGS = ' -DGALERA_LOG_H_ENABLE_CXX')" percona-xtradb-cluster-galera/SConstruct else cd percona-xtradb-cluster || exit fi @@ -512,11 +514,7 @@ install_deps() { update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-13 100 fi - if [ x"${DIST}" = xfocal -o x"${DIST}" = xbullseye -o x"${DIST}" = xjammy -o x"${DIST}" = xbookworm -o x"${DIST}" = xnoble ]; then - apt-get -y install python3-mysqldb - else - apt-get -y install python-mysqldb - fi + apt-get -y install python3-mysqldb if [ x"${DIST}" = xbuster ]; then wget https://downloads.percona.com/downloads/packaging/libfido2-1/libfido2-1_1.5.0-2~bpo10+1_amd64.deb @@ -612,7 +610,10 @@ build_srpm(){ # mv -fv ${TARFILE} ${WORKDIR}/rpmbuild/SOURCES cd ${WORKDIR}/rpmbuild/SOURCES || exit - wget https://raw.githubusercontent.com/Percona-Lab/telemetry-agent/phase-0/call-home.sh + CALLHOME_SHA="0e3a2ed40336c70727f9aad8402a8a820ebc8db0" + CALLHOME_SHA256="3497f6631e71799bed9dedb1d72350bf1f0565d93578955234ac30cf2fb6eba4" + wget -q "https://raw.githubusercontent.com/percona/telemetry-agent/${CALLHOME_SHA}/call-home.sh" + echo "${CALLHOME_SHA256} call-home.sh" | sha256sum -c - || { echo "ERROR: call-home.sh checksum mismatch"; exit 1; } tar -xzf ${TARFILE} rm -rf ${TARFILE} PXCDIR=$(ls | grep 'Percona-XtraDB-Cluster*' | sort | tail -n1) @@ -646,7 +647,7 @@ build_srpm(){ cp ../SOURCES/call-home.sh ./ awk -v n=$line_number 'NR <= n {print > "part1.txt"} NR > n {print > "part2.txt"}' percona-xtradb-cluster.spec head -n -1 part1.txt > temp && mv temp part1.txt - echo "cat <<'CALLHOME' > /tmp/call-home.sh" >> part1.txt + echo "cat <<'CALLHOME' > \$tfn" >> part1.txt cat call-home.sh >> part1.txt echo "CALLHOME" >> part1.txt cat part2.txt >> part1.txt @@ -932,19 +933,15 @@ build_deb(){ rm -rf usr *.deb DEBIAN cd ../ || exit - if [[ "x$DEBIAN_VERSION" == "xbionic" || "x$DEBIAN_VERSION" == "xstretch" || "x$DEBIAN_VERSION" == "xfocal" || "x$DEBIAN_VERSION" == "xbullseye" || "x$DEBIAN_VERSION" == "xjammy" || "x$DEBIAN_VERSION" == "xbookworm" || "x$DEBIAN_VERSION" == "xnoble" ]]; then - sed -i 's/fabi-version=2/fabi-version=2 -Wno-error=deprecated-declarations -Wno-error=nonnull-compare -Wno-error=literal-suffix -Wno-misleading-indentation/' cmake/build_configurations/compiler_options.cmake - sed -i 's/gnu++11/gnu++11 -Wno-virtual-move-assign/' cmake/build_configurations/compiler_options.cmake - fi + sed -i 's/fabi-version=2/fabi-version=2 -Wno-error=deprecated-declarations -Wno-error=nonnull-compare -Wno-error=literal-suffix -Wno-misleading-indentation/' cmake/build_configurations/compiler_options.cmake + sed -i 's/gnu++11/gnu++11 -Wno-virtual-move-assign/' cmake/build_configurations/compiler_options.cmake #========== export DEB_CFLAGS_APPEND="$CFLAGS" DEB_CXXFLAGS_APPEND="$CXXFLAGS" export MYSQL_BUILD_CFLAGS="$CFLAGS" export MYSQL_BUILD_CXXFLAGS="$CXXFLAGS" - if [[ "x$DEBIAN_VERSION" == "xfocal" || "x${DEBIAN_VERSION}" == "xbionic" || "x${DEBIAN_VERSION}" == "xbuster" || "x$DEBIAN_VERSION" == "xbullseye" || "x$DEBIAN_VERSION" == "xjammy" || "x$DEBIAN_VERSION" == "xbookworm" || "x$DEBIAN_VERSION" == "xnoble" ]]; then - sed -i "s:iproute:iproute2:g" debian/control - fi + sed -i "s:iproute:iproute2:g" debian/control sed -i "s:libcurl4-gnutls-dev:libcurl4-openssl-dev:g" debian/control chmod 777 debian/rules dch -b -m -D "$DEBIAN_VERSION" --force-distribution -v "1:$MYSQL_VERSION-$MYSQL_RELEASE-$DEB_RELEASE.${DEBIAN_VERSION}" 'Update distribution' @@ -952,15 +949,19 @@ build_deb(){ postfix="" cd debian/ - wget https://raw.githubusercontent.com/Percona-Lab/telemetry-agent/phase-0/call-home.sh + CALLHOME_SHA="0e3a2ed40336c70727f9aad8402a8a820ebc8db0" + CALLHOME_SHA256="3497f6631e71799bed9dedb1d72350bf1f0565d93578955234ac30cf2fb6eba4" + wget -q "https://raw.githubusercontent.com/percona/telemetry-agent/${CALLHOME_SHA}/call-home.sh" + echo "${CALLHOME_SHA256} call-home.sh" | sha256sum -c - || { echo "ERROR: call-home.sh checksum mismatch"; exit 1; } sed -i 's:exit 0::' percona-xtradb-cluster-server"${postfix}".postinst - echo "cat <<'CALLHOME' > /tmp/call-home.sh" >> percona-xtradb-cluster-server"${postfix}".postinst + echo "tfn=\$(/usr/bin/mktemp -p \$(/usr/bin/mktemp -d /tmp/XXXXXXXX) call-home.XXXXXX.sh)" >> percona-xtradb-cluster-server"${postfix}".postinst + echo "cat <<'CALLHOME' > \$tfn" >> percona-xtradb-cluster-server"${postfix}".postinst cat call-home.sh >> percona-xtradb-cluster-server"${postfix}".postinst echo "CALLHOME" >> percona-xtradb-cluster-server"${postfix}".postinst - echo "bash +x /tmp/call-home.sh -f \"PRODUCT_FAMILY_PXC\" -v \"${MYSQL_VERSION}-${MYSQL_RELEASE}-${DEB_RELEASE}\" -d \"PACKAGE\" &>/dev/null || :" >> percona-xtradb-cluster-server"${postfix}".postinst + echo "bash +x \$tfn -f \"PRODUCT_FAMILY_PXC\" -v \"${MYSQL_VERSION}-${MYSQL_RELEASE}-${DEB_RELEASE}\" -d \"PACKAGE\" &>/dev/null || :" >> percona-xtradb-cluster-server"${postfix}".postinst echo "chgrp percona-telemetry /usr/local/percona/telemetry_uuid &>/dev/null || :" >> percona-xtradb-cluster-server"${postfix}".postinst echo "chmod 664 /usr/local/percona/telemetry_uuid &>/dev/null || :" >> percona-xtradb-cluster-server"${postfix}".postinst - echo "rm -rf /tmp/call-home.sh" >> percona-xtradb-cluster-server"${postfix}".postinst + echo "rm -rf \$tfn" >> percona-xtradb-cluster-server"${postfix}".postinst echo "exit 0" >> percona-xtradb-cluster-server"${postfix}".postinst rm -f call-home.sh cd ../ diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 6a8062dd9f18..b6c8eb819185 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2006, 2025, Oracle and/or its affiliates. +# Copyright (c) 2006, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/CMakeLists.txt b/client/base/CMakeLists.txt index b007d7ee6e34..2115ba297c09 100644 --- a/client/base/CMakeLists.txt +++ b/client/base/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2014, 2025, Oracle and/or its affiliates. +# Copyright (c) 2014, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/abstract_connection_program.cc b/client/base/abstract_connection_program.cc index 92c933979e1c..93afbc46613b 100644 --- a/client/base/abstract_connection_program.cc +++ b/client/base/abstract_connection_program.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/abstract_connection_program.h b/client/base/abstract_connection_program.h index aefdbe970b7e..07bb399ec02d 100644 --- a/client/base/abstract_connection_program.h +++ b/client/base/abstract_connection_program.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/abstract_enum_option.h b/client/base/abstract_enum_option.h index 62104281ff4f..2215786e0d31 100644 --- a/client/base/abstract_enum_option.h +++ b/client/base/abstract_enum_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2016, 2025, Oracle and/or its affiliates. + Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/abstract_integer_number_option.h b/client/base/abstract_integer_number_option.h index f8c2fd7954b6..56eb6993892c 100644 --- a/client/base/abstract_integer_number_option.h +++ b/client/base/abstract_integer_number_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/abstract_number_option.h b/client/base/abstract_number_option.h index af2ef2678027..2ea36f7782d6 100644 --- a/client/base/abstract_number_option.h +++ b/client/base/abstract_number_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/abstract_option.h b/client/base/abstract_option.h index 5c926ce4a73a..22ba6ca7dd51 100644 --- a/client/base/abstract_option.h +++ b/client/base/abstract_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/abstract_options_provider.cc b/client/base/abstract_options_provider.cc index 06f707092ab2..f4311ff9076c 100644 --- a/client/base/abstract_options_provider.cc +++ b/client/base/abstract_options_provider.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2001, 2025, Oracle and/or its affiliates. + Copyright (c) 2001, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/abstract_options_provider.h b/client/base/abstract_options_provider.h index f484c3023989..7c80f479dacc 100644 --- a/client/base/abstract_options_provider.h +++ b/client/base/abstract_options_provider.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/abstract_program.cc b/client/base/abstract_program.cc index 8a15657b3c12..d099c0a9a3ff 100644 --- a/client/base/abstract_program.cc +++ b/client/base/abstract_program.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/abstract_program.h b/client/base/abstract_program.h index c84245d122b2..1e14bd6925b4 100644 --- a/client/base/abstract_program.h +++ b/client/base/abstract_program.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/abstract_string_option.h b/client/base/abstract_string_option.h index a081d92f92c4..daf9de7d39ae 100644 --- a/client/base/abstract_string_option.h +++ b/client/base/abstract_string_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/abstract_value_option.h b/client/base/abstract_value_option.h index 0426a85d102c..ca810b7afa70 100644 --- a/client/base/abstract_value_option.h +++ b/client/base/abstract_value_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/bool_option.cc b/client/base/bool_option.cc index 076147ef9fb6..06056a75e5c3 100644 --- a/client/base/bool_option.cc +++ b/client/base/bool_option.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/bool_option.h b/client/base/bool_option.h index 1a1ebc31d722..d07c1b03f477 100644 --- a/client/base/bool_option.h +++ b/client/base/bool_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/char_array_option.cc b/client/base/char_array_option.cc index 4da460b685be..c5f92b3e75e1 100644 --- a/client/base/char_array_option.cc +++ b/client/base/char_array_option.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2001, 2025, Oracle and/or its affiliates. + Copyright (c) 2001, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/char_array_option.h b/client/base/char_array_option.h index 5d49eb0dc7e7..743d25c5a19c 100644 --- a/client/base/char_array_option.h +++ b/client/base/char_array_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/composite_options_provider.cc b/client/base/composite_options_provider.cc index 45f806a05a8a..eea4c776cc85 100644 --- a/client/base/composite_options_provider.cc +++ b/client/base/composite_options_provider.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2001, 2025, Oracle and/or its affiliates. + Copyright (c) 2001, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/composite_options_provider.h b/client/base/composite_options_provider.h index d42001ff0da6..e8eeb894bf8f 100644 --- a/client/base/composite_options_provider.h +++ b/client/base/composite_options_provider.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/debug_options.cc b/client/base/debug_options.cc index 0a585ba44cbe..8e469670e3ce 100644 --- a/client/base/debug_options.cc +++ b/client/base/debug_options.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/debug_options.h b/client/base/debug_options.h index 37e7ff8ddf00..7b4d2b3a7e2d 100644 --- a/client/base/debug_options.h +++ b/client/base/debug_options.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/disabled_option.cc b/client/base/disabled_option.cc index 49da05dbb3ca..75c91e7c9341 100644 --- a/client/base/disabled_option.cc +++ b/client/base/disabled_option.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2001, 2025, Oracle and/or its affiliates. + Copyright (c) 2001, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/disabled_option.h b/client/base/disabled_option.h index 79caaf392f50..b7ca1e9dd502 100644 --- a/client/base/disabled_option.h +++ b/client/base/disabled_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/enum_option.h b/client/base/enum_option.h index 2f3a65e959bd..a663d4b30d83 100644 --- a/client/base/enum_option.h +++ b/client/base/enum_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2016, 2025, Oracle and/or its affiliates. + Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/help_options.cc b/client/base/help_options.cc index c0a1501e7d61..591db6015a77 100644 --- a/client/base/help_options.cc +++ b/client/base/help_options.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/help_options.h b/client/base/help_options.h index 97d24eb79892..0b0487687f4e 100644 --- a/client/base/help_options.h +++ b/client/base/help_options.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/i_connection_factory.h b/client/base/i_connection_factory.h index b7a2814f3d5f..9f364d2b568b 100644 --- a/client/base/i_connection_factory.h +++ b/client/base/i_connection_factory.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/i_option.cc b/client/base/i_option.cc index b8e870d905e6..c5855895623c 100644 --- a/client/base/i_option.cc +++ b/client/base/i_option.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/i_option.h b/client/base/i_option.h index f2010c1f0aed..f2b46e46cba2 100644 --- a/client/base/i_option.h +++ b/client/base/i_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/i_option_changed_listener.h b/client/base/i_option_changed_listener.h index 1cfc77540c5d..a121e6a2ffdb 100644 --- a/client/base/i_option_changed_listener.h +++ b/client/base/i_option_changed_listener.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/i_options_provider.h b/client/base/i_options_provider.h index b902612d65e3..6eeecdb978d5 100644 --- a/client/base/i_options_provider.h +++ b/client/base/i_options_provider.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/message_data.cc b/client/base/message_data.cc index 63a27171f075..6324471bf512 100644 --- a/client/base/message_data.cc +++ b/client/base/message_data.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/message_data.h b/client/base/message_data.h index f9d4083d9d04..c5ea0be30ad2 100644 --- a/client/base/message_data.h +++ b/client/base/message_data.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/mysql_connection_options.cc b/client/base/mysql_connection_options.cc index 1c02a7f1345f..b668a88a9084 100644 --- a/client/base/mysql_connection_options.cc +++ b/client/base/mysql_connection_options.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/mysql_connection_options.h b/client/base/mysql_connection_options.h index e4f2cff9f5af..7b1d2a4d4557 100644 --- a/client/base/mysql_connection_options.h +++ b/client/base/mysql_connection_options.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/mysql_query_runner.cc b/client/base/mysql_query_runner.cc index 8e27b86ea442..67c74c1211e8 100644 --- a/client/base/mysql_query_runner.cc +++ b/client/base/mysql_query_runner.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/mysql_query_runner.h b/client/base/mysql_query_runner.h index 2dd164d62e1e..077a7c49a620 100644 --- a/client/base/mysql_query_runner.h +++ b/client/base/mysql_query_runner.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/number_option.h b/client/base/number_option.h index fd78c170f8b7..ea258748053e 100644 --- a/client/base/number_option.h +++ b/client/base/number_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/password_option.cc b/client/base/password_option.cc index b0c838b00926..13683b973901 100644 --- a/client/base/password_option.cc +++ b/client/base/password_option.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2001, 2025, Oracle and/or its affiliates. + Copyright (c) 2001, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/password_option.h b/client/base/password_option.h index 447aafda9278..5faa41289ab1 100644 --- a/client/base/password_option.h +++ b/client/base/password_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/show_variable_query_extractor.cc b/client/base/show_variable_query_extractor.cc index 2e77d8812767..ea274adc64e5 100644 --- a/client/base/show_variable_query_extractor.cc +++ b/client/base/show_variable_query_extractor.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/show_variable_query_extractor.h b/client/base/show_variable_query_extractor.h index 95a3c38b6288..f4b79470b678 100644 --- a/client/base/show_variable_query_extractor.h +++ b/client/base/show_variable_query_extractor.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/simple_option.cc b/client/base/simple_option.cc index 04da602f5ca6..da1a420fe5ab 100644 --- a/client/base/simple_option.cc +++ b/client/base/simple_option.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2001, 2025, Oracle and/or its affiliates. + Copyright (c) 2001, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/simple_option.h b/client/base/simple_option.h index f200d4366d44..379e8a5bcc63 100644 --- a/client/base/simple_option.h +++ b/client/base/simple_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/ssl_options.cc b/client/base/ssl_options.cc index 5d2c1acfd34f..33f19aaa2a69 100644 --- a/client/base/ssl_options.cc +++ b/client/base/ssl_options.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/string_option.cc b/client/base/string_option.cc index 4153071c1a29..24a2d4181616 100644 --- a/client/base/string_option.cc +++ b/client/base/string_option.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2001, 2025, Oracle and/or its affiliates. + Copyright (c) 2001, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/base/string_option.h b/client/base/string_option.h index 50ebcb01eeea..bc4918938ce8 100644 --- a/client/base/string_option.h +++ b/client/base/string_option.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/check/mysqlcheck.cc b/client/check/mysqlcheck.cc index 0f981c82abb0..bacafe541a45 100644 --- a/client/check/mysqlcheck.cc +++ b/client/check/mysqlcheck.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2001, 2025, Oracle and/or its affiliates. + Copyright (c) 2001, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/check/mysqlcheck.h b/client/check/mysqlcheck.h index b59c89f44f50..339efb5b5f65 100644 --- a/client/check/mysqlcheck.h +++ b/client/check/mysqlcheck.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014, 2025, Oracle and/or its affiliates. + Copyright (c) 2014, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/check/mysqlcheck_core.cc b/client/check/mysqlcheck_core.cc index d64af1ce0f60..fce4cc58aeb9 100644 --- a/client/check/mysqlcheck_core.cc +++ b/client/check/mysqlcheck_core.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2001, 2025, Oracle and/or its affiliates. + Copyright (c) 2001, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/client_priv.h b/client/client_priv.h index 98ca1fce154b..9023abb84839 100644 --- a/client/client_priv.h +++ b/client/client_priv.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2001, 2025, Oracle and/or its affiliates. + Copyright (c) 2001, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/client_query_attributes.cc b/client/client_query_attributes.cc index 94dc3f3756d3..a38c01d76587 100644 --- a/client/client_query_attributes.cc +++ b/client/client_query_attributes.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2020, 2025, Oracle and/or its affiliates. + Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/client_query_attributes.h b/client/client_query_attributes.h index c90d8054b63e..26b758daf9ab 100644 --- a/client/client_query_attributes.h +++ b/client/client_query_attributes.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2020, 2025, Oracle and/or its affiliates. + Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/common/user_registration.cc b/client/common/user_registration.cc index 7565d21878ef..66196a03cd01 100644 --- a/client/common/user_registration.cc +++ b/client/common/user_registration.cc @@ -1,6 +1,6 @@ /* -Copyright (c) 2021, 2025, Oracle and/or its affiliates. +Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/completion_hash.cc b/client/completion_hash.cc index 480563bdc9bd..c987f97517f6 100644 --- a/client/completion_hash.cc +++ b/client/completion_hash.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2000, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2000, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/completion_hash.h b/client/completion_hash.h index e223b37e6c48..3d167f8f7499 100644 --- a/client/completion_hash.h +++ b/client/completion_hash.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2000, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2000, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/CMakeLists.txt b/client/dump/CMakeLists.txt index a5d4c1ef640d..cef4bedc86b5 100644 --- a/client/dump/CMakeLists.txt +++ b/client/dump/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2015, 2025, Oracle and/or its affiliates. +# Copyright (c) 2015, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_chain_element.cc b/client/dump/abstract_chain_element.cc index 33397e368ee2..d5271e433bfa 100644 --- a/client/dump/abstract_chain_element.cc +++ b/client/dump/abstract_chain_element.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_chain_element.h b/client/dump/abstract_chain_element.h index 96436856a4a9..c7556b827ee4 100644 --- a/client/dump/abstract_chain_element.h +++ b/client/dump/abstract_chain_element.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_connection_provider.cc b/client/dump/abstract_connection_provider.cc index 98f1c2a5d26c..de5a4809e9c2 100644 --- a/client/dump/abstract_connection_provider.cc +++ b/client/dump/abstract_connection_provider.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_connection_provider.h b/client/dump/abstract_connection_provider.h index d45efc2ee3fc..4a6c2a39b89b 100644 --- a/client/dump/abstract_connection_provider.h +++ b/client/dump/abstract_connection_provider.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_crawler.cc b/client/dump/abstract_crawler.cc index 9d4054418ed2..216239e8f1aa 100644 --- a/client/dump/abstract_crawler.cc +++ b/client/dump/abstract_crawler.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_crawler.h b/client/dump/abstract_crawler.h index 943f38e0e578..32b99c24d855 100644 --- a/client/dump/abstract_crawler.h +++ b/client/dump/abstract_crawler.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_data_formatter_wrapper.cc b/client/dump/abstract_data_formatter_wrapper.cc index 32ecd0250a8d..e4e93e3f3d88 100644 --- a/client/dump/abstract_data_formatter_wrapper.cc +++ b/client/dump/abstract_data_formatter_wrapper.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_data_formatter_wrapper.h b/client/dump/abstract_data_formatter_wrapper.h index c20a17115a30..85bf906f7b5a 100644 --- a/client/dump/abstract_data_formatter_wrapper.h +++ b/client/dump/abstract_data_formatter_wrapper.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_data_object.cc b/client/dump/abstract_data_object.cc index 2fe05092b9e3..f1100ae089ee 100644 --- a/client/dump/abstract_data_object.cc +++ b/client/dump/abstract_data_object.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_data_object.h b/client/dump/abstract_data_object.h index 9a9708c55fc1..8d337d637a5c 100644 --- a/client/dump/abstract_data_object.h +++ b/client/dump/abstract_data_object.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_database_dump_task.cc b/client/dump/abstract_database_dump_task.cc index e4219f0021b7..1fc3d5c4f2b5 100644 --- a/client/dump/abstract_database_dump_task.cc +++ b/client/dump/abstract_database_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_database_dump_task.h b/client/dump/abstract_database_dump_task.h index 17e7dda8d312..37ff25dd7a56 100644 --- a/client/dump/abstract_database_dump_task.h +++ b/client/dump/abstract_database_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_dump_task.cc b/client/dump/abstract_dump_task.cc index 7d567d7a3704..6b959deca741 100644 --- a/client/dump/abstract_dump_task.cc +++ b/client/dump/abstract_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_dump_task.h b/client/dump/abstract_dump_task.h index 82317b763344..e9d89e407c73 100644 --- a/client/dump/abstract_dump_task.h +++ b/client/dump/abstract_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_mysql_chain_element_extension.cc b/client/dump/abstract_mysql_chain_element_extension.cc index 2561c11510df..bb11b680877b 100644 --- a/client/dump/abstract_mysql_chain_element_extension.cc +++ b/client/dump/abstract_mysql_chain_element_extension.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_mysql_chain_element_extension.h b/client/dump/abstract_mysql_chain_element_extension.h index 225179b2f1a8..076f3eb550ad 100644 --- a/client/dump/abstract_mysql_chain_element_extension.h +++ b/client/dump/abstract_mysql_chain_element_extension.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_object_reader_wrapper.cc b/client/dump/abstract_object_reader_wrapper.cc index 92b8828608d4..186cf0b77432 100644 --- a/client/dump/abstract_object_reader_wrapper.cc +++ b/client/dump/abstract_object_reader_wrapper.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_object_reader_wrapper.h b/client/dump/abstract_object_reader_wrapper.h index c8d61eaa0923..e96b2ff486d0 100644 --- a/client/dump/abstract_object_reader_wrapper.h +++ b/client/dump/abstract_object_reader_wrapper.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_output_writer_wrapper.cc b/client/dump/abstract_output_writer_wrapper.cc index 112812a61530..753da9e049f2 100644 --- a/client/dump/abstract_output_writer_wrapper.cc +++ b/client/dump/abstract_output_writer_wrapper.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_output_writer_wrapper.h b/client/dump/abstract_output_writer_wrapper.h index b146e89fd614..e84b0fa47801 100644 --- a/client/dump/abstract_output_writer_wrapper.h +++ b/client/dump/abstract_output_writer_wrapper.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_plain_sql_object.cc b/client/dump/abstract_plain_sql_object.cc index 9b207760950a..2b9b3992f135 100644 --- a/client/dump/abstract_plain_sql_object.cc +++ b/client/dump/abstract_plain_sql_object.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_plain_sql_object.h b/client/dump/abstract_plain_sql_object.h index d743a07da015..7d2f0fdb1304 100644 --- a/client/dump/abstract_plain_sql_object.h +++ b/client/dump/abstract_plain_sql_object.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_plain_sql_object_dump_task.cc b/client/dump/abstract_plain_sql_object_dump_task.cc index 2d6447072dec..14521b956216 100644 --- a/client/dump/abstract_plain_sql_object_dump_task.cc +++ b/client/dump/abstract_plain_sql_object_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_plain_sql_object_dump_task.h b/client/dump/abstract_plain_sql_object_dump_task.h index 2726943cb3de..d207ac88f348 100644 --- a/client/dump/abstract_plain_sql_object_dump_task.h +++ b/client/dump/abstract_plain_sql_object_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_progress_reporter.cc b/client/dump/abstract_progress_reporter.cc index 80b113f154b4..32d17620ffe6 100644 --- a/client/dump/abstract_progress_reporter.cc +++ b/client/dump/abstract_progress_reporter.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_progress_reporter.h b/client/dump/abstract_progress_reporter.h index 29c7d8a367ba..880fc134bc3f 100644 --- a/client/dump/abstract_progress_reporter.h +++ b/client/dump/abstract_progress_reporter.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_progress_watcher.cc b/client/dump/abstract_progress_watcher.cc index 4df8e54767fb..d9c2726161b2 100644 --- a/client/dump/abstract_progress_watcher.cc +++ b/client/dump/abstract_progress_watcher.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_progress_watcher.h b/client/dump/abstract_progress_watcher.h index abc2fce5e515..2f883a7a460d 100644 --- a/client/dump/abstract_progress_watcher.h +++ b/client/dump/abstract_progress_watcher.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_simple_dump_task.cc b/client/dump/abstract_simple_dump_task.cc index ac05617f3df5..c0282bdd92d3 100644 --- a/client/dump/abstract_simple_dump_task.cc +++ b/client/dump/abstract_simple_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_simple_dump_task.h b/client/dump/abstract_simple_dump_task.h index c93e5a775f12..dfd62e376f63 100644 --- a/client/dump/abstract_simple_dump_task.h +++ b/client/dump/abstract_simple_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_table_dump_task.cc b/client/dump/abstract_table_dump_task.cc index 82eedf9955b6..4dde0e66ca0b 100644 --- a/client/dump/abstract_table_dump_task.cc +++ b/client/dump/abstract_table_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/abstract_table_dump_task.h b/client/dump/abstract_table_dump_task.h index 571948e1f754..f50e15d9e2e1 100644 --- a/client/dump/abstract_table_dump_task.h +++ b/client/dump/abstract_table_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/chain_data.cc b/client/dump/chain_data.cc index 7a8e288c48fc..76109b4a4c0c 100644 --- a/client/dump/chain_data.cc +++ b/client/dump/chain_data.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/chain_data.h b/client/dump/chain_data.h index a68b1c4caedd..88a5f753b945 100644 --- a/client/dump/chain_data.h +++ b/client/dump/chain_data.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/column_statistic.cc b/client/dump/column_statistic.cc index 80db8c93b4d7..8fac74d10012 100644 --- a/client/dump/column_statistic.cc +++ b/client/dump/column_statistic.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2017, 2025, Oracle and/or its affiliates. + Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/column_statistic.h b/client/dump/column_statistic.h index b5edf1671857..c12287f40ab2 100644 --- a/client/dump/column_statistic.h +++ b/client/dump/column_statistic.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2017, 2025, Oracle and/or its affiliates. + Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/composite_message_handler.cc b/client/dump/composite_message_handler.cc index 2184321e858a..37e8e8289039 100644 --- a/client/dump/composite_message_handler.cc +++ b/client/dump/composite_message_handler.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/composite_message_handler.h b/client/dump/composite_message_handler.h index 9f029e3e94a9..5c7391985611 100644 --- a/client/dump/composite_message_handler.h +++ b/client/dump/composite_message_handler.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/compression_lz4_writer.cc b/client/dump/compression_lz4_writer.cc index a09db099ef01..6525d22f2935 100644 --- a/client/dump/compression_lz4_writer.cc +++ b/client/dump/compression_lz4_writer.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/compression_lz4_writer.h b/client/dump/compression_lz4_writer.h index d2ceaa591f99..5d7e78f4da2f 100644 --- a/client/dump/compression_lz4_writer.h +++ b/client/dump/compression_lz4_writer.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/compression_zlib_writer.cc b/client/dump/compression_zlib_writer.cc index 586fa81042e2..d4234c8eff0d 100644 --- a/client/dump/compression_zlib_writer.cc +++ b/client/dump/compression_zlib_writer.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/compression_zlib_writer.h b/client/dump/compression_zlib_writer.h index d74eda281773..905200253a73 100644 --- a/client/dump/compression_zlib_writer.h +++ b/client/dump/compression_zlib_writer.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/database.cc b/client/dump/database.cc index 54c9e9a90be0..be5af5f8c26f 100644 --- a/client/dump/database.cc +++ b/client/dump/database.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/database.h b/client/dump/database.h index a9a749495256..2854e285c88a 100644 --- a/client/dump/database.h +++ b/client/dump/database.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/database_end_dump_task.cc b/client/dump/database_end_dump_task.cc index bbe781dad1ad..323b43ee80de 100644 --- a/client/dump/database_end_dump_task.cc +++ b/client/dump/database_end_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/database_end_dump_task.h b/client/dump/database_end_dump_task.h index e41659795421..0d8c9e4f6fc1 100644 --- a/client/dump/database_end_dump_task.h +++ b/client/dump/database_end_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/database_start_dump_task.cc b/client/dump/database_start_dump_task.cc index b756aee142d6..140774f3bca2 100644 --- a/client/dump/database_start_dump_task.cc +++ b/client/dump/database_start_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/database_start_dump_task.h b/client/dump/database_start_dump_task.h index 4c9fe2bc50bf..b306a8850217 100644 --- a/client/dump/database_start_dump_task.h +++ b/client/dump/database_start_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/dump_end_dump_task.cc b/client/dump/dump_end_dump_task.cc index f85dff138492..6309c2a06c38 100644 --- a/client/dump/dump_end_dump_task.cc +++ b/client/dump/dump_end_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/dump_end_dump_task.h b/client/dump/dump_end_dump_task.h index 001e2908fc08..184e89845251 100644 --- a/client/dump/dump_end_dump_task.h +++ b/client/dump/dump_end_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/dump_start_dump_task.cc b/client/dump/dump_start_dump_task.cc index 8fc728c385b8..4bd58fefbce5 100644 --- a/client/dump/dump_start_dump_task.cc +++ b/client/dump/dump_start_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/dump_start_dump_task.h b/client/dump/dump_start_dump_task.h index 01fd5322334b..df9b5341bd95 100644 --- a/client/dump/dump_start_dump_task.h +++ b/client/dump/dump_start_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/event_scheduler_event.cc b/client/dump/event_scheduler_event.cc index 394224fb2348..647c125b0bd1 100644 --- a/client/dump/event_scheduler_event.cc +++ b/client/dump/event_scheduler_event.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/event_scheduler_event.h b/client/dump/event_scheduler_event.h index 58c157bc8233..92734a30bf89 100644 --- a/client/dump/event_scheduler_event.h +++ b/client/dump/event_scheduler_event.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/field.cc b/client/dump/field.cc index 27b668d04193..41fa4eb477cf 100644 --- a/client/dump/field.cc +++ b/client/dump/field.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/field.h b/client/dump/field.h index 464e264e4a63..227e4c68cbab 100644 --- a/client/dump/field.h +++ b/client/dump/field.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/file_writer.cc b/client/dump/file_writer.cc index f2c245936361..4b6f761a3118 100644 --- a/client/dump/file_writer.cc +++ b/client/dump/file_writer.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/file_writer.h b/client/dump/file_writer.h index 75e379b3f04a..db5f270290c8 100644 --- a/client/dump/file_writer.h +++ b/client/dump/file_writer.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_chain_element.cc b/client/dump/i_chain_element.cc index ad11c14e0bbf..3248ba472c0d 100644 --- a/client/dump/i_chain_element.cc +++ b/client/dump/i_chain_element.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_chain_element.h b/client/dump/i_chain_element.h index a6a95021cd2c..89ea7966b5ac 100644 --- a/client/dump/i_chain_element.h +++ b/client/dump/i_chain_element.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_chain_maker.h b/client/dump/i_chain_maker.h index e15ff7a380fe..334fefcd2e79 100644 --- a/client/dump/i_chain_maker.h +++ b/client/dump/i_chain_maker.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_connection_provider.h b/client/dump/i_connection_provider.h index f91835e5ad98..1ee47c5ae967 100644 --- a/client/dump/i_connection_provider.h +++ b/client/dump/i_connection_provider.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_crawler.h b/client/dump/i_crawler.h index b94006c1fe0f..f009f7622c07 100644 --- a/client/dump/i_crawler.h +++ b/client/dump/i_crawler.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_data_formatter.h b/client/dump/i_data_formatter.h index eec895e2211c..7136ab56d45f 100644 --- a/client/dump/i_data_formatter.h +++ b/client/dump/i_data_formatter.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_data_formatter_wrapper.h b/client/dump/i_data_formatter_wrapper.h index 29d2e8b84d2e..3f6bfef6ab0d 100644 --- a/client/dump/i_data_formatter_wrapper.h +++ b/client/dump/i_data_formatter_wrapper.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_data_object.h b/client/dump/i_data_object.h index e8e59e1bfaae..ccabf561720d 100644 --- a/client/dump/i_data_object.h +++ b/client/dump/i_data_object.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_dump_task.cc b/client/dump/i_dump_task.cc index b125645d0f9f..05717c978e6c 100644 --- a/client/dump/i_dump_task.cc +++ b/client/dump/i_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_dump_task.h b/client/dump/i_dump_task.h index a486a776dc18..12a9ad93bb6d 100644 --- a/client/dump/i_dump_task.h +++ b/client/dump/i_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_object_reader.h b/client/dump/i_object_reader.h index 3fdafc469269..6c5a2d9110fa 100644 --- a/client/dump/i_object_reader.h +++ b/client/dump/i_object_reader.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_object_reader_wrapper.h b/client/dump/i_object_reader_wrapper.h index a51d6f2826d4..1f1344d59aa4 100644 --- a/client/dump/i_object_reader_wrapper.h +++ b/client/dump/i_object_reader_wrapper.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_output_writer.h b/client/dump/i_output_writer.h index a888cfde46ee..bb98a14c4f3e 100644 --- a/client/dump/i_output_writer.h +++ b/client/dump/i_output_writer.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_output_writer_wrapper.h b/client/dump/i_output_writer_wrapper.h index 0d93e4c4e8c6..ee86edb7205f 100644 --- a/client/dump/i_output_writer_wrapper.h +++ b/client/dump/i_output_writer_wrapper.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_progress_reporter.cc b/client/dump/i_progress_reporter.cc index 90712fe9093e..9418d1d21b63 100644 --- a/client/dump/i_progress_reporter.cc +++ b/client/dump/i_progress_reporter.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_progress_reporter.h b/client/dump/i_progress_reporter.h index 5040fcd2eddf..7fc6606d7ce7 100644 --- a/client/dump/i_progress_reporter.h +++ b/client/dump/i_progress_reporter.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/i_progress_watcher.h b/client/dump/i_progress_watcher.h index 5c43502e586e..ff48e7c901c3 100644 --- a/client/dump/i_progress_watcher.h +++ b/client/dump/i_progress_watcher.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/item_processing_data.cc b/client/dump/item_processing_data.cc index 0ebe91361a05..a1b223c97bc0 100644 --- a/client/dump/item_processing_data.cc +++ b/client/dump/item_processing_data.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/item_processing_data.h b/client/dump/item_processing_data.h index a270c66e965b..37667f780337 100644 --- a/client/dump/item_processing_data.h +++ b/client/dump/item_processing_data.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysql_chain_element_options.cc b/client/dump/mysql_chain_element_options.cc index 5eac3075f7a6..283279f5ad46 100644 --- a/client/dump/mysql_chain_element_options.cc +++ b/client/dump/mysql_chain_element_options.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysql_chain_element_options.h b/client/dump/mysql_chain_element_options.h index c91f75f012a6..460c0a5295c1 100644 --- a/client/dump/mysql_chain_element_options.h +++ b/client/dump/mysql_chain_element_options.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysql_crawler.cc b/client/dump/mysql_crawler.cc index 989cafa534d4..5e5413a8ca3f 100644 --- a/client/dump/mysql_crawler.cc +++ b/client/dump/mysql_crawler.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysql_crawler.h b/client/dump/mysql_crawler.h index ec0bb3c1c7a8..5232b85784c4 100644 --- a/client/dump/mysql_crawler.h +++ b/client/dump/mysql_crawler.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysql_field.cc b/client/dump/mysql_field.cc index 5463a6c7a04d..5d678e91a96f 100644 --- a/client/dump/mysql_field.cc +++ b/client/dump/mysql_field.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysql_field.h b/client/dump/mysql_field.h index 4ca06748b716..b76b0c922dab 100644 --- a/client/dump/mysql_field.h +++ b/client/dump/mysql_field.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysql_function.cc b/client/dump/mysql_function.cc index 823b991f511f..5517d96f1ba8 100644 --- a/client/dump/mysql_function.cc +++ b/client/dump/mysql_function.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysql_function.h b/client/dump/mysql_function.h index b528ac279e9d..1227340f61d9 100644 --- a/client/dump/mysql_function.h +++ b/client/dump/mysql_function.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysql_object_reader.cc b/client/dump/mysql_object_reader.cc index f7555bffc403..f5529aa37524 100644 --- a/client/dump/mysql_object_reader.cc +++ b/client/dump/mysql_object_reader.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysql_object_reader.h b/client/dump/mysql_object_reader.h index d7e17b9cff96..2def098e8c70 100644 --- a/client/dump/mysql_object_reader.h +++ b/client/dump/mysql_object_reader.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysql_object_reader_options.cc b/client/dump/mysql_object_reader_options.cc index 231da06f3031..5c60accf3ffe 100644 --- a/client/dump/mysql_object_reader_options.cc +++ b/client/dump/mysql_object_reader_options.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysql_object_reader_options.h b/client/dump/mysql_object_reader_options.h index 50625e6f6c17..3a4ad1db73d4 100644 --- a/client/dump/mysql_object_reader_options.h +++ b/client/dump/mysql_object_reader_options.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysqldump_tool_chain_maker.cc b/client/dump/mysqldump_tool_chain_maker.cc index 5a920047d03c..1e7df41b7149 100644 --- a/client/dump/mysqldump_tool_chain_maker.cc +++ b/client/dump/mysqldump_tool_chain_maker.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysqldump_tool_chain_maker.h b/client/dump/mysqldump_tool_chain_maker.h index 0eb0476a9039..a71b8e6e4a89 100644 --- a/client/dump/mysqldump_tool_chain_maker.h +++ b/client/dump/mysqldump_tool_chain_maker.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysqldump_tool_chain_maker_options.cc b/client/dump/mysqldump_tool_chain_maker_options.cc index 90e4760cd711..9fbe73dff675 100644 --- a/client/dump/mysqldump_tool_chain_maker_options.cc +++ b/client/dump/mysqldump_tool_chain_maker_options.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/mysqldump_tool_chain_maker_options.h b/client/dump/mysqldump_tool_chain_maker_options.h index 475837d054d8..09e56f5cc5f4 100644 --- a/client/dump/mysqldump_tool_chain_maker_options.h +++ b/client/dump/mysqldump_tool_chain_maker_options.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/object_filter.cc b/client/dump/object_filter.cc index 2f98dc5959a2..4a92f4621af6 100644 --- a/client/dump/object_filter.cc +++ b/client/dump/object_filter.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/object_filter.h b/client/dump/object_filter.h index 5f2b3d4b19d8..52f4d63ec61b 100644 --- a/client/dump/object_filter.h +++ b/client/dump/object_filter.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/object_queue.cc b/client/dump/object_queue.cc index 1106402ea6cd..73ae23ae1c51 100644 --- a/client/dump/object_queue.cc +++ b/client/dump/object_queue.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/object_queue.h b/client/dump/object_queue.h index 8291651a6742..6d3d54979346 100644 --- a/client/dump/object_queue.h +++ b/client/dump/object_queue.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/pattern_matcher.cc b/client/dump/pattern_matcher.cc index b1e10e7ca5ed..c9253fec0499 100644 --- a/client/dump/pattern_matcher.cc +++ b/client/dump/pattern_matcher.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/pattern_matcher.h b/client/dump/pattern_matcher.h index 860db4813538..5cddccb93a0e 100644 --- a/client/dump/pattern_matcher.h +++ b/client/dump/pattern_matcher.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/privilege.cc b/client/dump/privilege.cc index 36bbf6204500..240567cf1d4a 100644 --- a/client/dump/privilege.cc +++ b/client/dump/privilege.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/privilege.h b/client/dump/privilege.h index 5ac3a0099c05..4ac939bf0962 100644 --- a/client/dump/privilege.h +++ b/client/dump/privilege.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/program.cc b/client/dump/program.cc index b070ab362767..4a6507abff5f 100644 --- a/client/dump/program.cc +++ b/client/dump/program.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/program.h b/client/dump/program.h index 3747efef6735..8dcfc6ffe6f4 100644 --- a/client/dump/program.h +++ b/client/dump/program.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/row.cc b/client/dump/row.cc index 85261706c0ca..e1f2b3a4d6bd 100644 --- a/client/dump/row.cc +++ b/client/dump/row.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/row.h b/client/dump/row.h index 33514a71dc47..6690baeb6c79 100644 --- a/client/dump/row.h +++ b/client/dump/row.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/row_group_dump_task.cc b/client/dump/row_group_dump_task.cc index 9a71263a52af..a44e19de4033 100644 --- a/client/dump/row_group_dump_task.cc +++ b/client/dump/row_group_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/row_group_dump_task.h b/client/dump/row_group_dump_task.h index 885a8e263aac..2dff07ca7185 100644 --- a/client/dump/row_group_dump_task.h +++ b/client/dump/row_group_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/simple_id_generator.cc b/client/dump/simple_id_generator.cc index 5d7f8d652dcc..becb553fe9c2 100644 --- a/client/dump/simple_id_generator.cc +++ b/client/dump/simple_id_generator.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/simple_id_generator.h b/client/dump/simple_id_generator.h index 4091878f8650..ca6ec42f2dfd 100644 --- a/client/dump/simple_id_generator.h +++ b/client/dump/simple_id_generator.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/single_transaction_connection_provider.cc b/client/dump/single_transaction_connection_provider.cc index 7224ddb13168..2baa3c6086f6 100644 --- a/client/dump/single_transaction_connection_provider.cc +++ b/client/dump/single_transaction_connection_provider.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/single_transaction_connection_provider.h b/client/dump/single_transaction_connection_provider.h index 9bac50d590c9..9770fde9f35d 100644 --- a/client/dump/single_transaction_connection_provider.h +++ b/client/dump/single_transaction_connection_provider.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/sql_formatter.cc b/client/dump/sql_formatter.cc index e7e281a2f0dc..533c29cded65 100644 --- a/client/dump/sql_formatter.cc +++ b/client/dump/sql_formatter.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/sql_formatter.h b/client/dump/sql_formatter.h index 2de0a7683abe..8297ecdfb229 100644 --- a/client/dump/sql_formatter.h +++ b/client/dump/sql_formatter.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/sql_formatter_options.cc b/client/dump/sql_formatter_options.cc index 5d858564553a..11dc3f4063b2 100644 --- a/client/dump/sql_formatter_options.cc +++ b/client/dump/sql_formatter_options.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/sql_formatter_options.h b/client/dump/sql_formatter_options.h index 832770000702..a637f671386a 100644 --- a/client/dump/sql_formatter_options.h +++ b/client/dump/sql_formatter_options.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/standard_progress_watcher.cc b/client/dump/standard_progress_watcher.cc index eb4f429fd78d..13d60977a1db 100644 --- a/client/dump/standard_progress_watcher.cc +++ b/client/dump/standard_progress_watcher.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/standard_progress_watcher.h b/client/dump/standard_progress_watcher.h index 364413768484..88a2ab101aa5 100644 --- a/client/dump/standard_progress_watcher.h +++ b/client/dump/standard_progress_watcher.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/standard_writer.cc b/client/dump/standard_writer.cc index c71f1ba8abf3..bea05a59aebc 100644 --- a/client/dump/standard_writer.cc +++ b/client/dump/standard_writer.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/standard_writer.h b/client/dump/standard_writer.h index 409599013c19..b26c8432a327 100644 --- a/client/dump/standard_writer.h +++ b/client/dump/standard_writer.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/stored_procedure.cc b/client/dump/stored_procedure.cc index 1fa507e685e6..c9102397ec38 100644 --- a/client/dump/stored_procedure.cc +++ b/client/dump/stored_procedure.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/stored_procedure.h b/client/dump/stored_procedure.h index c5d29d868634..4619ed4de9e0 100644 --- a/client/dump/stored_procedure.h +++ b/client/dump/stored_procedure.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/table.cc b/client/dump/table.cc index 23bff7a07845..ca5f0ddd8aae 100644 --- a/client/dump/table.cc +++ b/client/dump/table.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/table.h b/client/dump/table.h index 20779484b984..325d5b04c13b 100644 --- a/client/dump/table.h +++ b/client/dump/table.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/table_deferred_indexes_dump_task.cc b/client/dump/table_deferred_indexes_dump_task.cc index 22e0d10e485c..ea5d0f2e4fc5 100644 --- a/client/dump/table_deferred_indexes_dump_task.cc +++ b/client/dump/table_deferred_indexes_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/table_deferred_indexes_dump_task.h b/client/dump/table_deferred_indexes_dump_task.h index 355f16e4a94e..8871b4bb6f2b 100644 --- a/client/dump/table_deferred_indexes_dump_task.h +++ b/client/dump/table_deferred_indexes_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/table_definition_dump_task.cc b/client/dump/table_definition_dump_task.cc index 0bdd2e90e0b5..31cf53bc1c28 100644 --- a/client/dump/table_definition_dump_task.cc +++ b/client/dump/table_definition_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/table_definition_dump_task.h b/client/dump/table_definition_dump_task.h index 3c85afec3f15..bc50dcab3deb 100644 --- a/client/dump/table_definition_dump_task.h +++ b/client/dump/table_definition_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/table_rows_dump_task.cc b/client/dump/table_rows_dump_task.cc index 73a71407e543..a67edf2267fb 100644 --- a/client/dump/table_rows_dump_task.cc +++ b/client/dump/table_rows_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/table_rows_dump_task.h b/client/dump/table_rows_dump_task.h index edbada47b5e2..ea68af5fd479 100644 --- a/client/dump/table_rows_dump_task.h +++ b/client/dump/table_rows_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/tables_definition_ready_dump_task.cc b/client/dump/tables_definition_ready_dump_task.cc index 5a67cfc5e095..7e642979901d 100644 --- a/client/dump/tables_definition_ready_dump_task.cc +++ b/client/dump/tables_definition_ready_dump_task.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/tables_definition_ready_dump_task.h b/client/dump/tables_definition_ready_dump_task.h index e2d77e354a1e..34039df10906 100644 --- a/client/dump/tables_definition_ready_dump_task.h +++ b/client/dump/tables_definition_ready_dump_task.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/thread.cc b/client/dump/thread.cc index 0b5f9c522519..75018322b71c 100644 --- a/client/dump/thread.cc +++ b/client/dump/thread.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/thread.h b/client/dump/thread.h index 9b1afe6df6e2..935ff29665e3 100644 --- a/client/dump/thread.h +++ b/client/dump/thread.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/thread_group.cc b/client/dump/thread_group.cc index 1b06599cb991..29d26e23a5d3 100644 --- a/client/dump/thread_group.cc +++ b/client/dump/thread_group.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/thread_group.h b/client/dump/thread_group.h index 34ccd77ac88f..a57ce01c63a5 100644 --- a/client/dump/thread_group.h +++ b/client/dump/thread_group.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/thread_specific_connection_provider.cc b/client/dump/thread_specific_connection_provider.cc index 010a0de1d083..a55851b197c0 100644 --- a/client/dump/thread_specific_connection_provider.cc +++ b/client/dump/thread_specific_connection_provider.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/thread_specific_connection_provider.h b/client/dump/thread_specific_connection_provider.h index 6e1f2d2a09e9..231c16398bfa 100644 --- a/client/dump/thread_specific_connection_provider.h +++ b/client/dump/thread_specific_connection_provider.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/trigger.cc b/client/dump/trigger.cc index 5b63f07b9ec8..4ab8165cb89a 100644 --- a/client/dump/trigger.cc +++ b/client/dump/trigger.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/trigger.h b/client/dump/trigger.h index 3be4d41ea441..e1d06728563f 100644 --- a/client/dump/trigger.h +++ b/client/dump/trigger.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/view.cc b/client/dump/view.cc index c826325a0232..7b62c2311bb3 100644 --- a/client/dump/view.cc +++ b/client/dump/view.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/dump/view.h b/client/dump/view.h index 66fe97c4fc9c..15576549f466 100644 --- a/client/dump/view.h +++ b/client/dump/view.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/echo.cc b/client/echo.cc index 996bd1e0abaf..a00a3b4e24bb 100644 --- a/client/echo.cc +++ b/client/echo.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2000, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2000, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/include/multi_factor_passwordopt-longopts.h b/client/include/multi_factor_passwordopt-longopts.h index c99482e3dcb3..816da144bc78 100644 --- a/client/include/multi_factor_passwordopt-longopts.h +++ b/client/include/multi_factor_passwordopt-longopts.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/include/multi_factor_passwordopt-vars.h b/client/include/multi_factor_passwordopt-vars.h index 4689ff1173e9..2b2e56eae955 100644 --- a/client/include/multi_factor_passwordopt-vars.h +++ b/client/include/multi_factor_passwordopt-vars.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/include/user_registration.h b/client/include/user_registration.h index 42b737b82c53..296fc4ba5d9b 100644 --- a/client/include/user_registration.h +++ b/client/include/user_registration.h @@ -1,6 +1,6 @@ /* -Copyright (c) 2021, 2025, Oracle and/or its affiliates. +Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/infix_ostream_it.h b/client/infix_ostream_it.h index 963685867ea5..79e8f42fdd83 100644 --- a/client/infix_ostream_it.h +++ b/client/infix_ostream_it.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2012, 2025, Oracle and/or its affiliates. + Copyright (c) 2012, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/json_binlog.ver b/client/json_binlog.ver index eb8f6ef782d9..fc472efc56e6 100644 --- a/client/json_binlog.ver +++ b/client/json_binlog.ver @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/json_binlog_main.cc b/client/json_binlog_main.cc index 00b1d9e084d4..545d4371e0ed 100644 --- a/client/json_binlog_main.cc +++ b/client/json_binlog_main.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/json_client_library_main.cc b/client/json_client_library_main.cc index 78a9319e4271..dfdcc443c777 100644 --- a/client/json_client_library_main.cc +++ b/client/json_client_library_main.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/logger.cc b/client/logger.cc index 19d71f02a519..c2bf901aae7a 100644 --- a/client/logger.cc +++ b/client/logger.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/logger.h b/client/logger.h index c0ff6ef4e81e..665225206246 100644 --- a/client/logger.h +++ b/client/logger.h @@ -1,7 +1,7 @@ #ifndef LOGGER_UTIL_INCLUDED #define LOGGER_UTIL_INCLUDED /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/migrate_keyring/CMakeLists.txt b/client/migrate_keyring/CMakeLists.txt index c5c4cfae1e58..a2340a277adb 100644 --- a/client/migrate_keyring/CMakeLists.txt +++ b/client/migrate_keyring/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2021, 2025, Oracle and/or its affiliates. +# Copyright (c) 2021, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/client/migrate_keyring/components.cc b/client/migrate_keyring/components.cc index 79f1b040702b..8694cc573b0b 100644 --- a/client/migrate_keyring/components.cc +++ b/client/migrate_keyring/components.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2021, 2025, Oracle and/or its affiliates. + Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/migrate_keyring/components.h b/client/migrate_keyring/components.h index 3079ba0c8236..b2b311ed8a72 100644 --- a/client/migrate_keyring/components.h +++ b/client/migrate_keyring/components.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2021, 2025, Oracle and/or its affiliates. + Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/migrate_keyring/migrate_keyring.cc b/client/migrate_keyring/migrate_keyring.cc index 403b9f713359..34aa156f531a 100644 --- a/client/migrate_keyring/migrate_keyring.cc +++ b/client/migrate_keyring/migrate_keyring.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2021, 2025, Oracle and/or its affiliates. + Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/migrate_keyring/options.cc b/client/migrate_keyring/options.cc index 538c20c5486b..dc0df73193f1 100644 --- a/client/migrate_keyring/options.cc +++ b/client/migrate_keyring/options.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2021, 2025, Oracle and/or its affiliates. + Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/migrate_keyring/options.h b/client/migrate_keyring/options.h index e426bb59f13d..9c3b00596175 100644 --- a/client/migrate_keyring/options.h +++ b/client/migrate_keyring/options.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2021, 2025, Oracle and/or its affiliates. + Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/migrate_keyring/utilities.h b/client/migrate_keyring/utilities.h index 232ad6c837e5..2c02c1cd62e5 100644 --- a/client/migrate_keyring/utilities.h +++ b/client/migrate_keyring/utilities.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2021, 2025, Oracle and/or its affiliates. + Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/multi_factor_passwordopt-vars.cc b/client/multi_factor_passwordopt-vars.cc index 6e04d225a6c5..65441fdc1395 100644 --- a/client/multi_factor_passwordopt-vars.cc +++ b/client/multi_factor_passwordopt-vars.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/my_readline.h b/client/my_readline.h index 3de3c404f9e3..370ff85fbbbe 100644 --- a/client/my_readline.h +++ b/client/my_readline.h @@ -2,7 +2,7 @@ #define CLIENT_MY_READLINE_INCLUDED /* - Copyright (c) 2000, 2025, Oracle and/or its affiliates. + Copyright (c) 2000, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysql.cc b/client/mysql.cc index 6c187ac9cd92..e34e4ab31634 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -1,5 +1,5 @@ /* -Copyright (c) 2000, 2025, Oracle and/or its affiliates. +Copyright (c) 2000, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysql_config_editor.cc b/client/mysql_config_editor.cc index 503cd3e504fe..a7cc7e3cd65b 100644 --- a/client/mysql_config_editor.cc +++ b/client/mysql_config_editor.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2012, 2025, Oracle and/or its affiliates. + Copyright (c) 2012, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysql_secure_installation.cc b/client/mysql_secure_installation.cc index 34ef76ef86f1..7f1a4336685c 100644 --- a/client/mysql_secure_installation.cc +++ b/client/mysql_secure_installation.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2025, Oracle and/or its affiliates. + Copyright (c) 2013, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysql_ssl_rsa_setup.cc b/client/mysql_ssl_rsa_setup.cc index 1a129619c571..7d9642d7b448 100644 --- a/client/mysql_ssl_rsa_setup.cc +++ b/client/mysql_ssl_rsa_setup.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2015, 2025, Oracle and/or its affiliates. + Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc index 1d391b7a1502..467b97bf70b7 100644 --- a/client/mysqladmin.cc +++ b/client/mysqladmin.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2000, 2025, Oracle and/or its affiliates. + Copyright (c) 2000, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index e9dc66bfe5d4..7b30db12afef 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2000, 2025, Oracle and/or its affiliates. + Copyright (c) 2000, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqlbinlog.h b/client/mysqlbinlog.h index 0c946541c2cb..c3049cc265d7 100644 --- a/client/mysqlbinlog.h +++ b/client/mysqlbinlog.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2015, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqldump.cc b/client/mysqldump.cc index 2f1c3d253235..d206edd93951 100644 --- a/client/mysqldump.cc +++ b/client/mysqldump.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2000, 2025, Oracle and/or its affiliates. + Copyright (c) 2000, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqlimport.cc b/client/mysqlimport.cc index 9d19d65d4f1f..73503ae06500 100644 --- a/client/mysqlimport.cc +++ b/client/mysqlimport.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2000, 2025, Oracle and/or its affiliates. + Copyright (c) 2000, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqlshow.cc b/client/mysqlshow.cc index 767515161fca..e09c8170e1a0 100644 --- a/client/mysqlshow.cc +++ b/client/mysqlshow.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2000, 2025, Oracle and/or its affiliates. + Copyright (c) 2000, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqlslap.cc b/client/mysqlslap.cc index 1e53fe54a585..c1a1773fb284 100644 --- a/client/mysqlslap.cc +++ b/client/mysqlslap.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2005, 2025, Oracle and/or its affiliates. + Copyright (c) 2005, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest.cc b/client/mysqltest.cc index 02a33380d540..680c60befc9e 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2000, 2025, Oracle and/or its affiliates. +// Copyright (c) 2000, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/error.h b/client/mysqltest/error.h index 698d27df8222..5294ddbace06 100644 --- a/client/mysqltest/error.h +++ b/client/mysqltest/error.h @@ -1,7 +1,7 @@ #ifndef ERROR_INCLUDED #define ERROR_INCLUDED -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/error_names.cc b/client/mysqltest/error_names.cc index 49567ebd6fc9..9b0b99261516 100644 --- a/client/mysqltest/error_names.cc +++ b/client/mysqltest/error_names.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/error_names.h b/client/mysqltest/error_names.h index a8130b33a873..bdfed767d7d5 100644 --- a/client/mysqltest/error_names.h +++ b/client/mysqltest/error_names.h @@ -1,7 +1,7 @@ #ifndef ERROR_NAMES_INCLUDED #define ERROR_NAMES_INCLUDED -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/expected_errors.cc b/client/mysqltest/expected_errors.cc index d5f2357cb5f0..8f0b1d2c0d5a 100644 --- a/client/mysqltest/expected_errors.cc +++ b/client/mysqltest/expected_errors.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/expected_errors.h b/client/mysqltest/expected_errors.h index 71fe8077a533..e6fc474e6d5e 100644 --- a/client/mysqltest/expected_errors.h +++ b/client/mysqltest/expected_errors.h @@ -1,7 +1,7 @@ #ifndef EXPECTED_ERRORS_INCLUDED #define EXPECTED_ERRORS_INCLUDED -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/expected_warnings.cc b/client/mysqltest/expected_warnings.cc index dd5704478137..04513df68f4c 100644 --- a/client/mysqltest/expected_warnings.cc +++ b/client/mysqltest/expected_warnings.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/expected_warnings.h b/client/mysqltest/expected_warnings.h index 3a4d95ed3162..43e55e3871f2 100644 --- a/client/mysqltest/expected_warnings.h +++ b/client/mysqltest/expected_warnings.h @@ -1,7 +1,7 @@ #ifndef EXPECTED_WARNINGS_INCLUDED #define EXPECTED_WARNINGS_INCLUDED -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/logfile.cc b/client/mysqltest/logfile.cc index 3a6f10807759..fea4538eccae 100644 --- a/client/mysqltest/logfile.cc +++ b/client/mysqltest/logfile.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/logfile.h b/client/mysqltest/logfile.h index 755c3da0c92a..bdc6726e3d9e 100644 --- a/client/mysqltest/logfile.h +++ b/client/mysqltest/logfile.h @@ -1,7 +1,7 @@ #ifndef LOGFILE_INCLUDED #define LOGFILE_INCLUDED -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/regular_expressions.cc b/client/mysqltest/regular_expressions.cc index 2a2e137d336c..49a5338c9bcc 100644 --- a/client/mysqltest/regular_expressions.cc +++ b/client/mysqltest/regular_expressions.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2019, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/regular_expressions.h b/client/mysqltest/regular_expressions.h index 7b0f667b2bfa..1f6d60b4d3c5 100644 --- a/client/mysqltest/regular_expressions.h +++ b/client/mysqltest/regular_expressions.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2019, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/secondary_engine.cc b/client/mysqltest/secondary_engine.cc index bc45edc3a1e9..98136b1dac15 100644 --- a/client/mysqltest/secondary_engine.cc +++ b/client/mysqltest/secondary_engine.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/secondary_engine.h b/client/mysqltest/secondary_engine.h index 0ba365d4db76..4e55aca8f9ae 100644 --- a/client/mysqltest/secondary_engine.h +++ b/client/mysqltest/secondary_engine.h @@ -1,7 +1,7 @@ #ifndef SECONDARY_ENGINE_INCLUDED #define SECONDARY_ENGINE_INCLUDED -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/utils.cc b/client/mysqltest/utils.cc index 1272cc70875b..9f5a8187c597 100644 --- a/client/mysqltest/utils.cc +++ b/client/mysqltest/utils.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/utils.h b/client/mysqltest/utils.h index 1e0412084252..409801e58217 100644 --- a/client/mysqltest/utils.h +++ b/client/mysqltest/utils.h @@ -1,7 +1,7 @@ #ifndef UTILS_INCLUDED #define UTILS_INCLUDED -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/mysqltest/warning.h b/client/mysqltest/warning.h index 927ea293ce7a..fa5d88633d4a 100644 --- a/client/mysqltest/warning.h +++ b/client/mysqltest/warning.h @@ -1,7 +1,7 @@ #ifndef WARNING_INCLUDED #define WARNING_INCLUDED -// Copyright (c) 2018, 2025, Oracle and/or its affiliates. +// Copyright (c) 2018, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/client/path.cc b/client/path.cc index d7b520ff3587..34f24c10bfa5 100644 --- a/client/path.cc +++ b/client/path.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2012, 2025, Oracle and/or its affiliates. + Copyright (c) 2012, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/path.h b/client/path.h index 026836a4e459..a83f8e89dfda 100644 --- a/client/path.h +++ b/client/path.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2012, 2025, Oracle and/or its affiliates. + Copyright (c) 2012, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/pattern_matcher.cc b/client/pattern_matcher.cc index e55a5928b78d..4fc216a185c0 100644 --- a/client/pattern_matcher.cc +++ b/client/pattern_matcher.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2017, 2025, Oracle and/or its affiliates. + Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/pattern_matcher.h b/client/pattern_matcher.h index 2deb29cb008c..dcf9696ffa7d 100644 --- a/client/pattern_matcher.h +++ b/client/pattern_matcher.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2017, 2025, Oracle and/or its affiliates. + Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/readline.cc b/client/readline.cc index 689a20373e7a..87ad86ebcecb 100644 --- a/client/readline.cc +++ b/client/readline.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2000, 2025, Oracle and/or its affiliates. + Copyright (c) 2000, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/client/upgrade/program.cc b/client/upgrade/program.cc index a059aefd3094..5bafd4ef0b8b 100644 --- a/client/upgrade/program.cc +++ b/client/upgrade/program.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2006, 2025, Oracle and/or its affiliates. + Copyright (c) 2006, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/abi_check.cmake b/cmake/abi_check.cmake index c2b4c4c1d262..2afb5af36ca4 100644 --- a/cmake/abi_check.cmake +++ b/cmake/abi_check.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/add_custom_target.cmake b/cmake/add_custom_target.cmake index 78d4fd2f80fc..d9b542984241 100644 --- a/cmake/add_custom_target.cmake +++ b/cmake/add_custom_target.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2021, 2025, Oracle and/or its affiliates. +# Copyright (c) 2021, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/bison.cmake b/cmake/bison.cmake index 2613b42f56fe..1beb6a4e4f0b 100644 --- a/cmake/bison.cmake +++ b/cmake/bison.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/boost.cmake b/cmake/boost.cmake index d8af5e0b351c..98e01a66a61b 100644 --- a/cmake/boost.cmake +++ b/cmake/boost.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2014, 2025, Oracle and/or its affiliates. +# Copyright (c) 2014, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/build_configurations/compiler_options.cmake b/cmake/build_configurations/compiler_options.cmake index 5e6161874d52..d093d6849c2f 100644 --- a/cmake/build_configurations/compiler_options.cmake +++ b/cmake/build_configurations/compiler_options.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2012, 2025, Oracle and/or its affiliates. +# Copyright (c) 2012, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/build_configurations/mysql_release.cmake b/cmake/build_configurations/mysql_release.cmake index 23196eec04d5..1dd2dd5eac3c 100644 --- a/cmake/build_configurations/mysql_release.cmake +++ b/cmake/build_configurations/mysql_release.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2025, Oracle and/or its affiliates. +# Copyright (c) 2010, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/character_sets.cmake b/cmake/character_sets.cmake index 9f588269a92a..c496315346e3 100644 --- a/cmake/character_sets.cmake +++ b/cmake/character_sets.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/cmake_parse_arguments.cmake b/cmake/cmake_parse_arguments.cmake index d01677bbc5bc..5b80b1c186dd 100644 --- a/cmake/cmake_parse_arguments.cmake +++ b/cmake/cmake_parse_arguments.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2007, 2025, Oracle and/or its affiliates. +# Copyright (c) 2007, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/cmake_policies.cmake b/cmake/cmake_policies.cmake index 9b2565ca7939..a1b5b163a25d 100644 --- a/cmake/cmake_policies.cmake +++ b/cmake/cmake_policies.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2006, 2025, Oracle and/or its affiliates. +# Copyright (c) 2006, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/compile_flags.cmake b/cmake/compile_flags.cmake index 4a11c2104834..fe6849ed26ea 100644 --- a/cmake/compile_flags.cmake +++ b/cmake/compile_flags.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2014, 2025, Oracle and/or its affiliates. +# Copyright (c) 2014, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/component.cmake b/cmake/component.cmake index cc5039c6c068..41ec386d11fb 100644 --- a/cmake/component.cmake +++ b/cmake/component.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2013, 2025, Oracle and/or its affiliates. +# Copyright (c) 2013, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/copy_custom_dylib.cmake b/cmake/copy_custom_dylib.cmake index f7c797485255..9bc8c53fba1e 100644 --- a/cmake/copy_custom_dylib.cmake +++ b/cmake/copy_custom_dylib.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2017, 2025, Oracle and/or its affiliates. +# Copyright (c) 2017, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/copy_custom_library.cmake b/cmake/copy_custom_library.cmake index 4785ccc31f5b..1a2d1b0f6913 100644 --- a/cmake/copy_custom_library.cmake +++ b/cmake/copy_custom_library.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/copy_openssl_binary.cmake b/cmake/copy_openssl_binary.cmake index 4615a94cc7b4..14fd0abf9823 100644 --- a/cmake/copy_openssl_binary.cmake +++ b/cmake/copy_openssl_binary.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2022, 2025, Oracle and/or its affiliates. +# Copyright (c) 2022, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/cpack_source_ignore_files.cmake b/cmake/cpack_source_ignore_files.cmake index ee0e2172f912..bcd3b4a5a48a 100644 --- a/cmake/cpack_source_ignore_files.cmake +++ b/cmake/cpack_source_ignore_files.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/cpu_info.cmake b/cmake/cpu_info.cmake index 359ef85229a4..a2fe4a48e81c 100644 --- a/cmake/cpu_info.cmake +++ b/cmake/cpu_info.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/curl.cmake b/cmake/curl.cmake index 56e489f74406..481a33cf26b3 100644 --- a/cmake/curl.cmake +++ b/cmake/curl.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2017, 2025, Oracle and/or its affiliates. +# Copyright (c) 2017, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, @@ -303,7 +303,7 @@ FUNCTION(FIND_CUSTOM_WIN_CURL_LIBRARY WITH_CURL_PATH CURL_LIBRARY) SET(ZLIB_DLL_REQUIRED 1) FIND_OBJECT_DEPENDENCIES("${HAVE_CURL_DLL}" DEPENDENCY_LIST) LIST(FIND DEPENDENCY_LIST "zlib.dll" FOUNDIT1) - LIST(FIND DEPENDENCY_LIST "zlib1.dll" FOUNDIT2) + LIST(FIND DEPENDENCY_LIST "z.dll" FOUNDIT2) GET_FILENAME_COMPONENT(CURL_DLL_NAME "${HAVE_CURL_DLL}" NAME) MESSAGE(STATUS "${CURL_DLL_NAME} DEPENDENCY_LIST ${DEPENDENCY_LIST}") IF(FOUNDIT1 LESS 0 AND FOUNDIT2 LESS 0) @@ -311,14 +311,14 @@ FUNCTION(FIND_CUSTOM_WIN_CURL_LIBRARY WITH_CURL_PATH CURL_LIBRARY) ENDIF() FIND_FILE(HAVE_ZLIB_DLL - NAMES zlib.dll zlib1.dll + NAMES zlib.dll z.dll PATHS "${WITH_CURL_PATH}/lib" NO_DEFAULT_PATH ) MESSAGE(STATUS "HAVE_ZLIB_DLL ${HAVE_ZLIB_DLL}") IF(ZLIB_DLL_REQUIRED AND NOT HAVE_ZLIB_DLL) - MESSAGE(FATAL_ERROR "libcurl.dll depends on zlib.dll or zlib1.dll") + MESSAGE(FATAL_ERROR "libcurl.dll depends on zlib.dll or z.dll") ENDIF() IF(ZLIB_DLL_REQUIRED AND HAVE_ZLIB_DLL) diff --git a/cmake/do_abi_check.cmake b/cmake/do_abi_check.cmake index 3991fa98acd5..a01c69f4dbd5 100644 --- a/cmake/do_abi_check.cmake +++ b/cmake/do_abi_check.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/fastcov.cmake b/cmake/fastcov.cmake index 0da3d0979456..869e58a3a142 100644 --- a/cmake/fastcov.cmake +++ b/cmake/fastcov.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2019, 2025, Oracle and/or its affiliates. +# Copyright (c) 2019, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/fido2.cmake b/cmake/fido2.cmake index b1baf08f6f91..25b13c97abde 100644 --- a/cmake/fido2.cmake +++ b/cmake/fido2.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/filesize.bat b/cmake/filesize.bat index 38de9daa6aa2..b24e9cce2764 100755 --- a/cmake/filesize.bat +++ b/cmake/filesize.bat @@ -1,5 +1,5 @@ @echo off -rem Copyright (c) 2019, 2025, Oracle and/or its affiliates. +rem Copyright (c) 2019, 2026, Oracle and/or its affiliates. rem rem This program is free software; you can redistribute it and/or modify rem it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/fileutils.cmake b/cmake/fileutils.cmake index 6983fb0b53b7..6469cf025467 100644 --- a/cmake/fileutils.cmake +++ b/cmake/fileutils.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2019, 2025, Oracle and/or its affiliates. +# Copyright (c) 2019, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/floating_point.cmake b/cmake/floating_point.cmake index 13d13b31ac27..391c70595bce 100644 --- a/cmake/floating_point.cmake +++ b/cmake/floating_point.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2016, 2025, Oracle and/or its affiliates. +# Copyright (c) 2016, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/fprofile.cmake b/cmake/fprofile.cmake index 97828d2abc56..28a133f68fac 100644 --- a/cmake/fprofile.cmake +++ b/cmake/fprofile.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2019, 2025, Oracle and/or its affiliates. +# Copyright (c) 2019, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/gloves.cmake b/cmake/gloves.cmake index c5d3ccdb8a7f..07dbbf45ace1 100644 --- a/cmake/gloves.cmake +++ b/cmake/gloves.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/googletest.cmake b/cmake/googletest.cmake index c3686a34e641..1ac4a0630c62 100644 --- a/cmake/googletest.cmake +++ b/cmake/googletest.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2025, Oracle and/or its affiliates. +# Copyright (c) 2010, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/icu.cmake b/cmake/icu.cmake index 28ae2857e566..34fcddfe6825 100644 --- a/cmake/icu.cmake +++ b/cmake/icu.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2017, 2025, Oracle and/or its affiliates. +# Copyright (c) 2017, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/info_bin.cmake b/cmake/info_bin.cmake index cf560b7f647d..5b4f96ee7a8d 100644 --- a/cmake/info_bin.cmake +++ b/cmake/info_bin.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2011, 2025, Oracle and/or its affiliates. +# Copyright (c) 2011, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/info_macros.cmake.in b/cmake/info_macros.cmake.in index 9c7b6d38ff8f..21df18c9b188 100644 --- a/cmake/info_macros.cmake.in +++ b/cmake/info_macros.cmake.in @@ -1,4 +1,4 @@ -# Copyright (c) 2011, 2025, Oracle and/or its affiliates. +# Copyright (c) 2011, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/info_src.cmake b/cmake/info_src.cmake index 32913e080058..f27fd5f00020 100644 --- a/cmake/info_src.cmake +++ b/cmake/info_src.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2011, 2025, Oracle and/or its affiliates. +# Copyright (c) 2011, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/install_layout.cmake b/cmake/install_layout.cmake index dd2229a0cf4f..268e9f7a3f59 100644 --- a/cmake/install_layout.cmake +++ b/cmake/install_layout.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2025, Oracle and/or its affiliates. +# Copyright (c) 2010, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake index f94f0ec0906b..4ffd8b284a8b 100644 --- a/cmake/install_macros.cmake +++ b/cmake/install_macros.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/install_name_tool.cmake b/cmake/install_name_tool.cmake index 4fdefb858796..63d893562f68 100644 --- a/cmake/install_name_tool.cmake +++ b/cmake/install_name_tool.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2017, 2025, Oracle and/or its affiliates. +# Copyright (c) 2017, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/java.cmake b/cmake/java.cmake index 2cf32a7b2370..cff8dc299359 100644 --- a/cmake/java.cmake +++ b/cmake/java.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2018, 2025, Oracle and/or its affiliates. +# Copyright (c) 2018, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/java_home.cmake b/cmake/java_home.cmake index ac6ca7955b03..8d38659c1cdc 100644 --- a/cmake/java_home.cmake +++ b/cmake/java_home.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/kerberos.cmake b/cmake/kerberos.cmake index c2841d7b6772..f4722632e889 100644 --- a/cmake/kerberos.cmake +++ b/cmake/kerberos.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/ldap.cmake b/cmake/ldap.cmake index b038f91875c5..9cf13eb44fd4 100644 --- a/cmake/ldap.cmake +++ b/cmake/ldap.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2019, 2025, Oracle and/or its affiliates. +# Copyright (c) 2019, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/libbacktrace.cmake b/cmake/libbacktrace.cmake index 19013032293c..1c58f1e0f6f8 100644 --- a/cmake/libbacktrace.cmake +++ b/cmake/libbacktrace.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2024, 2025, Oracle and/or its affiliates. +# Copyright (c) 2024, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/libevent.cmake b/cmake/libevent.cmake index 1490b9b7c37d..255613efd267 100644 --- a/cmake/libevent.cmake +++ b/cmake/libevent.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2011, 2025, Oracle and/or its affiliates. +# Copyright (c) 2011, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/libutils.cmake b/cmake/libutils.cmake index 6a65df894e5e..8e4d28eab487 100644 --- a/cmake/libutils.cmake +++ b/cmake/libutils.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/link_options.cmake b/cmake/link_options.cmake index b2a007fd861c..e1ce2a0935f2 100644 --- a/cmake/link_options.cmake +++ b/cmake/link_options.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/lz4.cmake b/cmake/lz4.cmake index bc42d3d26b2d..e6fc5cb7b28c 100644 --- a/cmake/lz4.cmake +++ b/cmake/lz4.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2015, 2025, Oracle and/or its affiliates. +# Copyright (c) 2015, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/maintainer.cmake b/cmake/maintainer.cmake index 51a0b2ed25ae..afd85603252c 100644 --- a/cmake/maintainer.cmake +++ b/cmake/maintainer.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2025, Oracle and/or its affiliates. +# Copyright (c) 2010, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/make_dist.cmake.in b/cmake/make_dist.cmake.in index 230674de3150..ff1aeb4eb589 100644 --- a/cmake/make_dist.cmake.in +++ b/cmake/make_dist.cmake.in @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/malloc_utils.cmake b/cmake/malloc_utils.cmake index 639617c98b42..dadeacde3410 100644 --- a/cmake/malloc_utils.cmake +++ b/cmake/malloc_utils.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/maven.cmake b/cmake/maven.cmake index 775abc90f4be..c9b3da76b6a5 100644 --- a/cmake/maven.cmake +++ b/cmake/maven.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/msvc_cppcheck.cmake b/cmake/msvc_cppcheck.cmake index f9f960f88f42..ec202e8b3555 100644 --- a/cmake/msvc_cppcheck.cmake +++ b/cmake/msvc_cppcheck.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2022, 2025, Oracle and/or its affiliates. +# Copyright (c) 2022, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/mysql_add_executable.cmake b/cmake/mysql_add_executable.cmake index 8ad8794fb162..ffff6717a316 100644 --- a/cmake/mysql_add_executable.cmake +++ b/cmake/mysql_add_executable.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/mysql_version.cmake b/cmake/mysql_version.cmake index d13c3207695d..43811abcd0f6 100644 --- a/cmake/mysql_version.cmake +++ b/cmake/mysql_version.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/os/Darwin.cmake b/cmake/os/Darwin.cmake index 03463dc34dca..e32b07d4f016 100644 --- a/cmake/os/Darwin.cmake +++ b/cmake/os/Darwin.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2025, Oracle and/or its affiliates. +# Copyright (c) 2010, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/os/FreeBSD.cmake b/cmake/os/FreeBSD.cmake index bc98a1a4b85a..23daff628060 100644 --- a/cmake/os/FreeBSD.cmake +++ b/cmake/os/FreeBSD.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2025, Oracle and/or its affiliates. +# Copyright (c) 2010, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/os/Linux.cmake b/cmake/os/Linux.cmake index 2eb12af6391d..0170972688b3 100644 --- a/cmake/os/Linux.cmake +++ b/cmake/os/Linux.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2025, Oracle and/or its affiliates. +# Copyright (c) 2010, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/os/SunOS.cmake b/cmake/os/SunOS.cmake index a2cfca8192e9..3631dac0ed32 100644 --- a/cmake/os/SunOS.cmake +++ b/cmake/os/SunOS.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2025, Oracle and/or its affiliates. +# Copyright (c) 2010, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/os/Windows.cmake b/cmake/os/Windows.cmake index c75dd785ad78..aefb98281fb5 100644 --- a/cmake/os/Windows.cmake +++ b/cmake/os/Windows.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2025, Oracle and/or its affiliates. +# Copyright (c) 2010, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/os/WindowsCache.cmake b/cmake/os/WindowsCache.cmake index 68181f333f24..e0cd35216cd9 100644 --- a/cmake/os/WindowsCache.cmake +++ b/cmake/os/WindowsCache.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2025, Oracle and/or its affiliates. +# Copyright (c) 2010, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/package_name.cmake b/cmake/package_name.cmake index 759f1093d5c8..b74330e24155 100644 --- a/cmake/package_name.cmake +++ b/cmake/package_name.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2025, Oracle and/or its affiliates. +# Copyright (c) 2010, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/pkg-config.cmake b/cmake/pkg-config.cmake index 940b976bb0ba..426d736cc8ce 100644 --- a/cmake/pkg-config.cmake +++ b/cmake/pkg-config.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2019, 2025, Oracle and/or its affiliates. +# Copyright (c) 2019, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake index 55e1734287f0..4f524e3c4244 100644 --- a/cmake/plugin.cmake +++ b/cmake/plugin.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/protobuf.cmake b/cmake/protobuf.cmake index e36ca0489a8f..16e74b155ba0 100644 --- a/cmake/protobuf.cmake +++ b/cmake/protobuf.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2015, 2025, Oracle and/or its affiliates. +# Copyright (c) 2015, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/protobuf_proto_compile.cmake b/cmake/protobuf_proto_compile.cmake index 920a4e0eb6dc..e5fb07351625 100644 --- a/cmake/protobuf_proto_compile.cmake +++ b/cmake/protobuf_proto_compile.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2015, 2025, Oracle and/or its affiliates. +# Copyright (c) 2015, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/protobuf_proto_transform_to_lite.cmake b/cmake/protobuf_proto_transform_to_lite.cmake index c4582a9cdcc0..fb067c876450 100644 --- a/cmake/protobuf_proto_transform_to_lite.cmake +++ b/cmake/protobuf_proto_transform_to_lite.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2015, 2025, Oracle and/or its affiliates. +# Copyright (c) 2015, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/rapidjson.cmake b/cmake/rapidjson.cmake index e19f15505eaf..40eabbcd93fa 100644 --- a/cmake/rapidjson.cmake +++ b/cmake/rapidjson.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2018, 2025, Oracle and/or its affiliates. +# Copyright (c) 2018, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/readline.cmake b/cmake/readline.cmake index 3f8b2b97966e..7a8b1c338214 100644 --- a/cmake/readline.cmake +++ b/cmake/readline.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/rpath_remove.cmake b/cmake/rpath_remove.cmake index f51d4e4ee47c..228e25fa2b3e 100644 --- a/cmake/rpath_remove.cmake +++ b/cmake/rpath_remove.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2021, 2025, Oracle and/or its affiliates. +# Copyright (c) 2021, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/rpath_remove_gr.cmake b/cmake/rpath_remove_gr.cmake index e6749fefd077..007677ac78eb 100644 --- a/cmake/rpath_remove_gr.cmake +++ b/cmake/rpath_remove_gr.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2021, 2025, Oracle and/or its affiliates. +# Copyright (c) 2021, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/rpc.cmake b/cmake/rpc.cmake index 0853d58f2b94..0dc542ea7e0a 100644 --- a/cmake/rpc.cmake +++ b/cmake/rpc.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2018, 2025, Oracle and/or its affiliates. +# Copyright (c) 2018, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/sasl.cmake b/cmake/sasl.cmake index e54e59057a45..4f39c33f52dd 100644 --- a/cmake/sasl.cmake +++ b/cmake/sasl.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2017, 2025, Oracle and/or its affiliates. +# Copyright (c) 2017, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/ssl.cmake b/cmake/ssl.cmake index 1d45e673e831..fa07e174d54f 100644 --- a/cmake/ssl.cmake +++ b/cmake/ssl.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/stack_direction.c b/cmake/stack_direction.c index c30da71c8116..ec8a48000e5d 100644 --- a/cmake/stack_direction.c +++ b/cmake/stack_direction.c @@ -1,5 +1,5 @@ /* - Copyright (c) 2009, 2025, Oracle and/or its affiliates. + Copyright (c) 2009, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/systemd.cmake b/cmake/systemd.cmake index 607d7e3862b9..647eb6e959bc 100644 --- a/cmake/systemd.cmake +++ b/cmake/systemd.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2015, 2025, Oracle and/or its affiliates. +# Copyright (c) 2015, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/tags.cmake b/cmake/tags.cmake index 6ab4bb083a82..f8619da6e468 100644 --- a/cmake/tags.cmake +++ b/cmake/tags.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2025, Oracle and/or its affiliates. +# Copyright (c) 2010, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/versioninfo.rc.in b/cmake/versioninfo.rc.in index 14959c13cd88..dd3a3785fa1f 100644 --- a/cmake/versioninfo.rc.in +++ b/cmake/versioninfo.rc.in @@ -1,4 +1,4 @@ -// Copyright (c) 2009, 2025, Oracle and/or its affiliates. +// Copyright (c) 2009, 2026, Oracle and/or its affiliates. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/win_jemalloc.cmake b/cmake/win_jemalloc.cmake index ba9929a3ce3e..180fe214ba8e 100644 --- a/cmake/win_jemalloc.cmake +++ b/cmake/win_jemalloc.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2021, 2025, Oracle and/or its affiliates. +# Copyright (c) 2021, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/cmake/zlib.cmake b/cmake/zlib.cmake index f34a59fc6f69..eefe9dd11258 100644 --- a/cmake/zlib.cmake +++ b/cmake/zlib.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, @@ -88,7 +88,7 @@ MACRO (RESET_ZLIB_VARIABLES) UNSET(FIND_PACKAGE_MESSAGE_DETAILS_ZLIB CACHE) ENDMACRO() -SET(ZLIB_VERSION_DIR "zlib-1.3.1") +SET(ZLIB_VERSION_DIR "zlib-1.3.2") SET(BUNDLED_ZLIB_PATH ${CMAKE_SOURCE_DIR}/extra/zlib/${ZLIB_VERSION_DIR}) FUNCTION(MYSQL_USE_BUNDLED_ZLIB) diff --git a/cmake/zstd.cmake b/cmake/zstd.cmake index 1abefc29d2c3..c2eb4ac12ea5 100644 --- a/cmake/zstd.cmake +++ b/cmake/zstd.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2019, 2025, Oracle and/or its affiliates. +# Copyright (c) 2019, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/audit_api_message_emit/CMakeLists.txt b/components/audit_api_message_emit/CMakeLists.txt index 5f28010c5c48..e850833b3f23 100644 --- a/components/audit_api_message_emit/CMakeLists.txt +++ b/components/audit_api_message_emit/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2018, 2025, Oracle and/or its affiliates. +# Copyright (c) 2018, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/audit_api_message_emit/audit_api_message_emit.cc b/components/audit_api_message_emit/audit_api_message_emit.cc index cb751933c503..819cb6d0ab5e 100644 --- a/components/audit_api_message_emit/audit_api_message_emit.cc +++ b/components/audit_api_message_emit/audit_api_message_emit.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2018, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2018, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/CMakeLists.txt b/components/example/CMakeLists.txt index e0e4dedd947b..d4e8e573cab2 100644 --- a/components/example/CMakeLists.txt +++ b/components/example/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2016, 2025, Oracle and/or its affiliates. +# Copyright (c) 2016, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/english_greeting_service_imp.cc b/components/example/english_greeting_service_imp.cc index d8efe7aa8f31..5d0213f9851d 100644 --- a/components/example/english_greeting_service_imp.cc +++ b/components/example/english_greeting_service_imp.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/english_greeting_service_imp.h b/components/example/english_greeting_service_imp.h index efe7d29cc711..d0f5e0a43646 100644 --- a/components/example/english_greeting_service_imp.h +++ b/components/example/english_greeting_service_imp.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/example_component1.cc b/components/example/example_component1.cc index ec5a1cc22360..115eea4d3f8a 100644 --- a/components/example/example_component1.cc +++ b/components/example/example_component1.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/example_component1.h b/components/example/example_component1.h index 2b85fd81e298..2d815302afa9 100644 --- a/components/example/example_component1.h +++ b/components/example/example_component1.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/example_component2.cc b/components/example/example_component2.cc index 0223177a852b..718800ac9bf9 100644 --- a/components/example/example_component2.cc +++ b/components/example/example_component2.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/example_component2.h b/components/example/example_component2.h index a30e3eaf678a..13c2d20388aa 100644 --- a/components/example/example_component2.h +++ b/components/example/example_component2.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/example_component3.cc b/components/example/example_component3.cc index 9dfc657a0ab9..13c1eb4d771a 100644 --- a/components/example/example_component3.cc +++ b/components/example/example_component3.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/example_component3.h b/components/example/example_component3.h index a9a9f7223c5e..87e44b159829 100644 --- a/components/example/example_component3.h +++ b/components/example/example_component3.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/example_math_wrapping_imp.cc b/components/example/example_math_wrapping_imp.cc index c880f2b58638..6f09b410bbf1 100644 --- a/components/example/example_math_wrapping_imp.cc +++ b/components/example/example_math_wrapping_imp.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/example_math_wrapping_imp.h b/components/example/example_math_wrapping_imp.h index c7b48503e9d7..b905b78fd2b1 100644 --- a/components/example/example_math_wrapping_imp.h +++ b/components/example/example_math_wrapping_imp.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/example_services.h b/components/example/example_services.h index c4724c2f569b..68a72cf608c7 100644 --- a/components/example/example_services.h +++ b/components/example/example_services.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/polish_greeting_service_imp.cc b/components/example/polish_greeting_service_imp.cc index dfca1d8ed837..cfbe0ae94011 100644 --- a/components/example/polish_greeting_service_imp.cc +++ b/components/example/polish_greeting_service_imp.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/polish_greeting_service_imp.h b/components/example/polish_greeting_service_imp.h index 37d1214b7aa0..9587c70b61ce 100644 --- a/components/example/polish_greeting_service_imp.h +++ b/components/example/polish_greeting_service_imp.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/simple_example_math_imp.cc b/components/example/simple_example_math_imp.cc index 7bb607b07b9b..56cb6e259989 100644 --- a/components/example/simple_example_math_imp.cc +++ b/components/example/simple_example_math_imp.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/simple_example_math_imp.h b/components/example/simple_example_math_imp.h index 61d6b540715a..6cef3245b90e 100644 --- a/components/example/simple_example_math_imp.h +++ b/components/example/simple_example_math_imp.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/test_backup_lock_service.cc b/components/example/test_backup_lock_service.cc index 3a182041d267..0091f1150de8 100644 --- a/components/example/test_backup_lock_service.cc +++ b/components/example/test_backup_lock_service.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/test_string_service.cc b/components/example/test_string_service.cc index 4265b24926a8..ad146f78f8c8 100644 --- a/components/example/test_string_service.cc +++ b/components/example/test_string_service.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/test_string_service_charset.cc b/components/example/test_string_service_charset.cc index 55f9b1651da0..80199a139a06 100644 --- a/components/example/test_string_service_charset.cc +++ b/components/example/test_string_service_charset.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/test_string_service_long.cc b/components/example/test_string_service_long.cc index b80063146ea0..d1eea1dcee2a 100644 --- a/components/example/test_string_service_long.cc +++ b/components/example/test_string_service_long.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/example/test_string_service_long.h b/components/example/test_string_service_long.h index 229432b2572d..e09a95136811 100644 --- a/components/example/test_string_service_long.h +++ b/components/example/test_string_service_long.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/CMakeLists.txt b/components/keyrings/CMakeLists.txt index a72ec27d8fae..2a1764521301 100644 --- a/components/keyrings/CMakeLists.txt +++ b/components/keyrings/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2021, 2025, Oracle and/or its affiliates. +# Copyright (c) 2021, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/CMakeLists.txt b/components/keyrings/common/CMakeLists.txt index 147aedbdbf0b..71a55c5a4536 100644 --- a/components/keyrings/common/CMakeLists.txt +++ b/components/keyrings/common/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2021, 2025, Oracle and/or its affiliates. +# Copyright (c) 2021, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_encryption_service_definition.h b/components/keyrings/common/component_helpers/include/keyring_encryption_service_definition.h index 16a0d4123d95..eca511d431f4 100644 --- a/components/keyrings/common/component_helpers/include/keyring_encryption_service_definition.h +++ b/components/keyrings/common/component_helpers/include/keyring_encryption_service_definition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_encryption_service_impl_template.h b/components/keyrings/common/component_helpers/include/keyring_encryption_service_impl_template.h index 06c49c66f2c1..5617a858447b 100644 --- a/components/keyrings/common/component_helpers/include/keyring_encryption_service_impl_template.h +++ b/components/keyrings/common/component_helpers/include/keyring_encryption_service_impl_template.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_generator_service_definition.h b/components/keyrings/common/component_helpers/include/keyring_generator_service_definition.h index 4c3ed7e08330..0a475591e0d2 100644 --- a/components/keyrings/common/component_helpers/include/keyring_generator_service_definition.h +++ b/components/keyrings/common/component_helpers/include/keyring_generator_service_definition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_generator_service_impl_template.h b/components/keyrings/common/component_helpers/include/keyring_generator_service_impl_template.h index a74febf11cf3..b09e9e63f1a9 100644 --- a/components/keyrings/common/component_helpers/include/keyring_generator_service_impl_template.h +++ b/components/keyrings/common/component_helpers/include/keyring_generator_service_impl_template.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_keys_metadata_iterator_service_definition.h b/components/keyrings/common/component_helpers/include/keyring_keys_metadata_iterator_service_definition.h index 813f8eb15470..077956a956ff 100644 --- a/components/keyrings/common/component_helpers/include/keyring_keys_metadata_iterator_service_definition.h +++ b/components/keyrings/common/component_helpers/include/keyring_keys_metadata_iterator_service_definition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_keys_metadata_iterator_service_impl_template.h b/components/keyrings/common/component_helpers/include/keyring_keys_metadata_iterator_service_impl_template.h index d19cab75d88e..f3bb589a6e2a 100644 --- a/components/keyrings/common/component_helpers/include/keyring_keys_metadata_iterator_service_impl_template.h +++ b/components/keyrings/common/component_helpers/include/keyring_keys_metadata_iterator_service_impl_template.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_load_service_definition.h b/components/keyrings/common/component_helpers/include/keyring_load_service_definition.h index 3fb9c46b9eeb..32f67b8a9da4 100644 --- a/components/keyrings/common/component_helpers/include/keyring_load_service_definition.h +++ b/components/keyrings/common/component_helpers/include/keyring_load_service_definition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_log_builtins_definition.h b/components/keyrings/common/component_helpers/include/keyring_log_builtins_definition.h index aee85600d8d9..4690d4643e8e 100644 --- a/components/keyrings/common/component_helpers/include/keyring_log_builtins_definition.h +++ b/components/keyrings/common/component_helpers/include/keyring_log_builtins_definition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_metadata_query_service_definition.h b/components/keyrings/common/component_helpers/include/keyring_metadata_query_service_definition.h index 8fcca12f7c2b..50a99d92c20d 100644 --- a/components/keyrings/common/component_helpers/include/keyring_metadata_query_service_definition.h +++ b/components/keyrings/common/component_helpers/include/keyring_metadata_query_service_definition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_metadata_query_service_impl_template.h b/components/keyrings/common/component_helpers/include/keyring_metadata_query_service_impl_template.h index f956244e1c52..bdde8b339c49 100644 --- a/components/keyrings/common/component_helpers/include/keyring_metadata_query_service_impl_template.h +++ b/components/keyrings/common/component_helpers/include/keyring_metadata_query_service_impl_template.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_reader_service_definition.h b/components/keyrings/common/component_helpers/include/keyring_reader_service_definition.h index c74f3c2a1051..2dd00c49b18f 100644 --- a/components/keyrings/common/component_helpers/include/keyring_reader_service_definition.h +++ b/components/keyrings/common/component_helpers/include/keyring_reader_service_definition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_reader_service_impl_template.h b/components/keyrings/common/component_helpers/include/keyring_reader_service_impl_template.h index ecfb393340cb..b2694c61d832 100644 --- a/components/keyrings/common/component_helpers/include/keyring_reader_service_impl_template.h +++ b/components/keyrings/common/component_helpers/include/keyring_reader_service_impl_template.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_writer_service_definition.h b/components/keyrings/common/component_helpers/include/keyring_writer_service_definition.h index c88bc4edb280..740346b43a54 100644 --- a/components/keyrings/common/component_helpers/include/keyring_writer_service_definition.h +++ b/components/keyrings/common/component_helpers/include/keyring_writer_service_definition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/keyring_writer_service_impl_template.h b/components/keyrings/common/component_helpers/include/keyring_writer_service_impl_template.h index dc48704ae763..82fb2ca6fac8 100644 --- a/components/keyrings/common/component_helpers/include/keyring_writer_service_impl_template.h +++ b/components/keyrings/common/component_helpers/include/keyring_writer_service_impl_template.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/include/service_requirements.h b/components/keyrings/common/component_helpers/include/service_requirements.h index f730641a1bc1..20f0c5641cb3 100644 --- a/components/keyrings/common/component_helpers/include/service_requirements.h +++ b/components/keyrings/common/component_helpers/include/service_requirements.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc b/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc index 07c3b5d707df..e6ef4331ba19 100644 --- a/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc +++ b/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/config/config_reader.cc b/components/keyrings/common/config/config_reader.cc index 6291086a5769..54787872be3d 100644 --- a/components/keyrings/common/config/config_reader.cc +++ b/components/keyrings/common/config/config_reader.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/config/config_reader.h b/components/keyrings/common/config/config_reader.h index 2b2663e835d3..f2f1438066b4 100644 --- a/components/keyrings/common/config/config_reader.h +++ b/components/keyrings/common/config/config_reader.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/data/data.cc b/components/keyrings/common/data/data.cc index 9d5cda485083..d841bbdc04b7 100644 --- a/components/keyrings/common/data/data.cc +++ b/components/keyrings/common/data/data.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/data/data.h b/components/keyrings/common/data/data.h index 2cf2d4692556..38460a2c5f51 100644 --- a/components/keyrings/common/data/data.h +++ b/components/keyrings/common/data/data.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/data/data_extension.h b/components/keyrings/common/data/data_extension.h index 7e1d429dca20..6d84807ffa09 100644 --- a/components/keyrings/common/data/data_extension.h +++ b/components/keyrings/common/data/data_extension.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/data/meta.cc b/components/keyrings/common/data/meta.cc index 1e386658ede4..b718356143af 100644 --- a/components/keyrings/common/data/meta.cc +++ b/components/keyrings/common/data/meta.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/data/meta.h b/components/keyrings/common/data/meta.h index 26beb4a07730..c71391f5a413 100644 --- a/components/keyrings/common/data/meta.h +++ b/components/keyrings/common/data/meta.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/data_file/reader.cc b/components/keyrings/common/data_file/reader.cc index 3dd434e6edc7..c8d910799a96 100644 --- a/components/keyrings/common/data_file/reader.cc +++ b/components/keyrings/common/data_file/reader.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/data_file/reader.h b/components/keyrings/common/data_file/reader.h index dfb7f4e5168e..b479e99d2bce 100644 --- a/components/keyrings/common/data_file/reader.h +++ b/components/keyrings/common/data_file/reader.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/data_file/writer.cc b/components/keyrings/common/data_file/writer.cc index d77c00750e12..7eb816ff3fc6 100644 --- a/components/keyrings/common/data_file/writer.cc +++ b/components/keyrings/common/data_file/writer.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/data_file/writer.h b/components/keyrings/common/data_file/writer.h index 2dc2c1aec12d..47e5b0a9837d 100644 --- a/components/keyrings/common/data_file/writer.h +++ b/components/keyrings/common/data_file/writer.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/encryption/aes.cc b/components/keyrings/common/encryption/aes.cc index b92397d398b0..8374d3ca6974 100644 --- a/components/keyrings/common/encryption/aes.cc +++ b/components/keyrings/common/encryption/aes.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/encryption/aes.h b/components/keyrings/common/encryption/aes.h index df4516ad2674..fdba856e73bc 100644 --- a/components/keyrings/common/encryption/aes.h +++ b/components/keyrings/common/encryption/aes.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/json_data/json_ds.h b/components/keyrings/common/json_data/json_ds.h index 582a55e06524..b1e715d6bc7f 100644 --- a/components/keyrings/common/json_data/json_ds.h +++ b/components/keyrings/common/json_data/json_ds.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/json_data/json_reader.cc b/components/keyrings/common/json_data/json_reader.cc index 5837c74ff62a..3357244ade0d 100644 --- a/components/keyrings/common/json_data/json_reader.cc +++ b/components/keyrings/common/json_data/json_reader.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/json_data/json_reader.h b/components/keyrings/common/json_data/json_reader.h index d25ccc541bb7..26e290f0e35d 100644 --- a/components/keyrings/common/json_data/json_reader.h +++ b/components/keyrings/common/json_data/json_reader.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/json_data/json_writer.cc b/components/keyrings/common/json_data/json_writer.cc index 87206c51fc4b..ddd7ec4edd4e 100644 --- a/components/keyrings/common/json_data/json_writer.cc +++ b/components/keyrings/common/json_data/json_writer.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/json_data/json_writer.h b/components/keyrings/common/json_data/json_writer.h index 7fdf3a429c62..78b21f9f3b77 100644 --- a/components/keyrings/common/json_data/json_writer.h +++ b/components/keyrings/common/json_data/json_writer.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/memstore/cache.h b/components/keyrings/common/memstore/cache.h index 65b5e0f96b07..33430380cc6d 100644 --- a/components/keyrings/common/memstore/cache.h +++ b/components/keyrings/common/memstore/cache.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/memstore/iterator.h b/components/keyrings/common/memstore/iterator.h index 7e8298d8a8f8..4d371ca579ea 100644 --- a/components/keyrings/common/memstore/iterator.h +++ b/components/keyrings/common/memstore/iterator.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/operations/operations.h b/components/keyrings/common/operations/operations.h index 102b2c6b5561..2a7b0a9ba47d 100644 --- a/components/keyrings/common/operations/operations.h +++ b/components/keyrings/common/operations/operations.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/utils/utils.cc b/components/keyrings/common/utils/utils.cc index 63478c764f79..c6f6a901207d 100644 --- a/components/keyrings/common/utils/utils.cc +++ b/components/keyrings/common/utils/utils.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/common/utils/utils.h b/components/keyrings/common/utils/utils.h index bb7c7d4e96ea..48c10eade7f7 100644 --- a/components/keyrings/common/utils/utils.h +++ b/components/keyrings/common/utils/utils.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring.dox b/components/keyrings/keyring.dox index dd93c80efd4d..59c5639e289a 100644 --- a/components/keyrings/keyring.dox +++ b/components/keyrings/keyring.dox @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/CMakeLists.txt b/components/keyrings/keyring_file/CMakeLists.txt index 52144e1c75ec..78f78e4f93a9 100644 --- a/components/keyrings/keyring_file/CMakeLists.txt +++ b/components/keyrings/keyring_file/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2021, 2025, Oracle and/or its affiliates. +# Copyright (c) 2021, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/backend/backend.cc b/components/keyrings/keyring_file/backend/backend.cc index ad7871910895..ed15020ee2e3 100644 --- a/components/keyrings/keyring_file/backend/backend.cc +++ b/components/keyrings/keyring_file/backend/backend.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/backend/backend.h b/components/keyrings/keyring_file/backend/backend.h index b858062e01ac..cce3f9979345 100644 --- a/components/keyrings/keyring_file/backend/backend.h +++ b/components/keyrings/keyring_file/backend/backend.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/component_callbacks.cc b/components/keyrings/keyring_file/component_callbacks.cc index db6c667c76ab..3dea03dbf1a4 100644 --- a/components/keyrings/keyring_file/component_callbacks.cc +++ b/components/keyrings/keyring_file/component_callbacks.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/config/config.cc b/components/keyrings/keyring_file/config/config.cc index 62c217c1bc45..e303a73aaa20 100644 --- a/components/keyrings/keyring_file/config/config.cc +++ b/components/keyrings/keyring_file/config/config.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/config/config.h b/components/keyrings/keyring_file/config/config.h index ea892c9ff10a..bad2683b0098 100644 --- a/components/keyrings/keyring_file/config/config.h +++ b/components/keyrings/keyring_file/config/config.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/keyring_file.cc b/components/keyrings/keyring_file/keyring_file.cc index c3c4656b5e35..e570ca62a700 100644 --- a/components/keyrings/keyring_file/keyring_file.cc +++ b/components/keyrings/keyring_file/keyring_file.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/keyring_file.h b/components/keyrings/keyring_file/keyring_file.h index a1c1d1c74b77..7b50376fc20b 100644 --- a/components/keyrings/keyring_file/keyring_file.h +++ b/components/keyrings/keyring_file/keyring_file.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/service_implementation/keyring_encryption_service_definition.cc b/components/keyrings/keyring_file/service_implementation/keyring_encryption_service_definition.cc index 3f03b15a9ded..5ab0b5d29d07 100644 --- a/components/keyrings/keyring_file/service_implementation/keyring_encryption_service_definition.cc +++ b/components/keyrings/keyring_file/service_implementation/keyring_encryption_service_definition.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/service_implementation/keyring_generator_service_definition.cc b/components/keyrings/keyring_file/service_implementation/keyring_generator_service_definition.cc index 80baeb91c859..ddc5107244ed 100644 --- a/components/keyrings/keyring_file/service_implementation/keyring_generator_service_definition.cc +++ b/components/keyrings/keyring_file/service_implementation/keyring_generator_service_definition.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/service_implementation/keyring_keys_metadata_iterator_service_definition.cc b/components/keyrings/keyring_file/service_implementation/keyring_keys_metadata_iterator_service_definition.cc index ac8e081b7449..b4a9553a75fd 100644 --- a/components/keyrings/keyring_file/service_implementation/keyring_keys_metadata_iterator_service_definition.cc +++ b/components/keyrings/keyring_file/service_implementation/keyring_keys_metadata_iterator_service_definition.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/service_implementation/keyring_load_service_definition.cc b/components/keyrings/keyring_file/service_implementation/keyring_load_service_definition.cc index 3d982f3f3499..4549eb4606e9 100644 --- a/components/keyrings/keyring_file/service_implementation/keyring_load_service_definition.cc +++ b/components/keyrings/keyring_file/service_implementation/keyring_load_service_definition.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/service_implementation/keyring_metadata_query_service_definition.cc b/components/keyrings/keyring_file/service_implementation/keyring_metadata_query_service_definition.cc index 2d9f4ce6ac5e..0c2fb4885a4e 100644 --- a/components/keyrings/keyring_file/service_implementation/keyring_metadata_query_service_definition.cc +++ b/components/keyrings/keyring_file/service_implementation/keyring_metadata_query_service_definition.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/service_implementation/keyring_reader_service_definition.cc b/components/keyrings/keyring_file/service_implementation/keyring_reader_service_definition.cc index 8f946ec0a6cf..ef6ba9d158d3 100644 --- a/components/keyrings/keyring_file/service_implementation/keyring_reader_service_definition.cc +++ b/components/keyrings/keyring_file/service_implementation/keyring_reader_service_definition.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/keyrings/keyring_file/service_implementation/keyring_writer_service_definition.cc b/components/keyrings/keyring_file/service_implementation/keyring_writer_service_definition.cc index fd5a3beb72c6..809fbf520845 100644 --- a/components/keyrings/keyring_file/service_implementation/keyring_writer_service_definition.cc +++ b/components/keyrings/keyring_file/service_implementation/keyring_writer_service_definition.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/CMakeLists.txt b/components/libminchassis/CMakeLists.txt index 13889e727b8c..d4b0f60af26e 100644 --- a/components/libminchassis/CMakeLists.txt +++ b/components/libminchassis/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/component_common.cc b/components/libminchassis/component_common.cc index ec7ac94e00eb..61e01ec8dd26 100644 --- a/components/libminchassis/component_common.cc +++ b/components/libminchassis/component_common.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/component_common.h b/components/libminchassis/component_common.h index fca916f33f71..f9c20ed0e859 100644 --- a/components/libminchassis/component_common.h +++ b/components/libminchassis/component_common.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/dynamic_loader.cc b/components/libminchassis/dynamic_loader.cc index c13142b1d5f7..3b618a085b84 100644 --- a/components/libminchassis/dynamic_loader.cc +++ b/components/libminchassis/dynamic_loader.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/dynamic_loader_imp.h b/components/libminchassis/dynamic_loader_imp.h index 13bd53320050..2efc24f349ec 100644 --- a/components/libminchassis/dynamic_loader_imp.h +++ b/components/libminchassis/dynamic_loader_imp.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/dynamic_loader_scheme_file.cc b/components/libminchassis/dynamic_loader_scheme_file.cc index ebd2917f9f4e..1e334ff47f50 100644 --- a/components/libminchassis/dynamic_loader_scheme_file.cc +++ b/components/libminchassis/dynamic_loader_scheme_file.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/dynamic_loader_scheme_file_imp.h b/components/libminchassis/dynamic_loader_scheme_file_imp.h index 26b1dbbdaaa7..43a1be917e85 100644 --- a/components/libminchassis/dynamic_loader_scheme_file_imp.h +++ b/components/libminchassis/dynamic_loader_scheme_file_imp.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/gunit_harness/gunit_harness.dox b/components/libminchassis/gunit_harness/gunit_harness.dox index 3124f993d5bb..1b8a6f07ed10 100644 --- a/components/libminchassis/gunit_harness/gunit_harness.dox +++ b/components/libminchassis/gunit_harness/gunit_harness.dox @@ -1,4 +1,4 @@ -/* Copyright (c) 2023, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2023, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/gunit_harness/harness_component/test_harness_component.cc.example b/components/libminchassis/gunit_harness/harness_component/test_harness_component.cc.example index 57542fc1a32a..8d88b5257a14 100644 --- a/components/libminchassis/gunit_harness/harness_component/test_harness_component.cc.example +++ b/components/libminchassis/gunit_harness/harness_component/test_harness_component.cc.example @@ -1,4 +1,4 @@ -/* Copyright (c) 2023, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2023, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/gunit_harness/harness_component/test_harness_component.h.example b/components/libminchassis/gunit_harness/harness_component/test_harness_component.h.example index 94b99415b48d..c7e34980ed3a 100644 --- a/components/libminchassis/gunit_harness/harness_component/test_harness_component.h.example +++ b/components/libminchassis/gunit_harness/harness_component/test_harness_component.h.example @@ -1,4 +1,4 @@ -/* Copyright (c) 2023, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2023, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/gunit_harness/include/mock/component_sys_variable_all_empty.cc b/components/libminchassis/gunit_harness/include/mock/component_sys_variable_all_empty.cc index 867950a14a2e..9e82d4cc74c1 100644 --- a/components/libminchassis/gunit_harness/include/mock/component_sys_variable_all_empty.cc +++ b/components/libminchassis/gunit_harness/include/mock/component_sys_variable_all_empty.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2023, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2023, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/gunit_harness/include/mock/mysql_cond_v1_native.cc b/components/libminchassis/gunit_harness/include/mock/mysql_cond_v1_native.cc index eddc4cf157bb..712a4e15ea6f 100644 --- a/components/libminchassis/gunit_harness/include/mock/mysql_cond_v1_native.cc +++ b/components/libminchassis/gunit_harness/include/mock/mysql_cond_v1_native.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2023, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2023, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/gunit_harness/include/mock/mysql_mutex_v1_native.cc b/components/libminchassis/gunit_harness/include/mock/mysql_mutex_v1_native.cc index 461423630f03..169f80538036 100644 --- a/components/libminchassis/gunit_harness/include/mock/mysql_mutex_v1_native.cc +++ b/components/libminchassis/gunit_harness/include/mock/mysql_mutex_v1_native.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2023, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2023, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/gunit_harness/include/mock/mysql_simple_error_log_stderr.cc b/components/libminchassis/gunit_harness/include/mock/mysql_simple_error_log_stderr.cc index 058a98abb1f1..5b1efbb54600 100644 --- a/components/libminchassis/gunit_harness/include/mock/mysql_simple_error_log_stderr.cc +++ b/components/libminchassis/gunit_harness/include/mock/mysql_simple_error_log_stderr.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2023, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2023, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/gunit_harness/include/mock/pfs_plugin_column_bigint_v1_all_empty.cc b/components/libminchassis/gunit_harness/include/mock/pfs_plugin_column_bigint_v1_all_empty.cc index 254f56681b9d..e1cd08cca497 100644 --- a/components/libminchassis/gunit_harness/include/mock/pfs_plugin_column_bigint_v1_all_empty.cc +++ b/components/libminchassis/gunit_harness/include/mock/pfs_plugin_column_bigint_v1_all_empty.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2023, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2023, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/gunit_harness/include/mock/pfs_plugin_column_string_v2_all_empty.cc b/components/libminchassis/gunit_harness/include/mock/pfs_plugin_column_string_v2_all_empty.cc index d2fe75840e1b..3d7054ae14a4 100644 --- a/components/libminchassis/gunit_harness/include/mock/pfs_plugin_column_string_v2_all_empty.cc +++ b/components/libminchassis/gunit_harness/include/mock/pfs_plugin_column_string_v2_all_empty.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2023, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2023, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/gunit_harness/include/mock/pfs_plugin_table_v1_all_empty.cc b/components/libminchassis/gunit_harness/include/mock/pfs_plugin_table_v1_all_empty.cc index 9c8d1c37deb0..87423178e4a3 100644 --- a/components/libminchassis/gunit_harness/include/mock/pfs_plugin_table_v1_all_empty.cc +++ b/components/libminchassis/gunit_harness/include/mock/pfs_plugin_table_v1_all_empty.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2023, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2023, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/gunit_harness/include/mock/psi_memory_v2_empty.cc b/components/libminchassis/gunit_harness/include/mock/psi_memory_v2_empty.cc index aa6ae7833d0b..5171854a6b0c 100644 --- a/components/libminchassis/gunit_harness/include/mock/psi_memory_v2_empty.cc +++ b/components/libminchassis/gunit_harness/include/mock/psi_memory_v2_empty.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2023, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2023, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/gunit_harness/include/test_harness_suite.h b/components/libminchassis/gunit_harness/include/test_harness_suite.h index e626a41595cf..69d641616647 100644 --- a/components/libminchassis/gunit_harness/include/test_harness_suite.h +++ b/components/libminchassis/gunit_harness/include/test_harness_suite.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2023, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2023, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/mc_psi_system_service.cc b/components/libminchassis/mc_psi_system_service.cc index 7049b1c11b1d..3eed7bb7b80f 100644 --- a/components/libminchassis/mc_psi_system_service.cc +++ b/components/libminchassis/mc_psi_system_service.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/mc_rwlock_service.cc b/components/libminchassis/mc_rwlock_service.cc index 2f12162c1bf1..ebcbb65791d9 100644 --- a/components/libminchassis/mc_rwlock_service.cc +++ b/components/libminchassis/mc_rwlock_service.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/minimal_chassis.cc b/components/libminchassis/minimal_chassis.cc index 9b1fb973ea93..c7d18e9d4e75 100644 --- a/components/libminchassis/minimal_chassis.cc +++ b/components/libminchassis/minimal_chassis.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/minimal_chassis_runtime_error_imp.cc b/components/libminchassis/minimal_chassis_runtime_error_imp.cc index fb9b736a4b19..63558baed84d 100644 --- a/components/libminchassis/minimal_chassis_runtime_error_imp.cc +++ b/components/libminchassis/minimal_chassis_runtime_error_imp.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/minimal_chassis_runtime_error_imp.h b/components/libminchassis/minimal_chassis_runtime_error_imp.h index fb8a1a58aaaf..cddf21c2d089 100644 --- a/components/libminchassis/minimal_chassis_runtime_error_imp.h +++ b/components/libminchassis/minimal_chassis_runtime_error_imp.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/my_metadata.cc b/components/libminchassis/my_metadata.cc index f2f6caf0ea2d..069dfd01c991 100644 --- a/components/libminchassis/my_metadata.cc +++ b/components/libminchassis/my_metadata.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/my_metadata.h b/components/libminchassis/my_metadata.h index a2ca431a6706..45b92b878daf 100644 --- a/components/libminchassis/my_metadata.h +++ b/components/libminchassis/my_metadata.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/my_ref_counted.cc b/components/libminchassis/my_ref_counted.cc index 786ffe983a07..68ea52a323da 100644 --- a/components/libminchassis/my_ref_counted.cc +++ b/components/libminchassis/my_ref_counted.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/my_ref_counted.h b/components/libminchassis/my_ref_counted.h index 45193509eef9..a1df9e373417 100644 --- a/components/libminchassis/my_ref_counted.h +++ b/components/libminchassis/my_ref_counted.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/mysql_component.cc b/components/libminchassis/mysql_component.cc index 368f7d7eaf37..ab105e41d95d 100644 --- a/components/libminchassis/mysql_component.cc +++ b/components/libminchassis/mysql_component.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/mysql_component_imp.h b/components/libminchassis/mysql_component_imp.h index 078bc8d241c2..4e1cb0796bf6 100644 --- a/components/libminchassis/mysql_component_imp.h +++ b/components/libminchassis/mysql_component_imp.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/mysql_service_implementation.cc b/components/libminchassis/mysql_service_implementation.cc index 7e3f681dfb9f..148ec3fd7adf 100644 --- a/components/libminchassis/mysql_service_implementation.cc +++ b/components/libminchassis/mysql_service_implementation.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/mysql_service_implementation.h b/components/libminchassis/mysql_service_implementation.h index 0efeb55266f8..29b69be9ff5f 100644 --- a/components/libminchassis/mysql_service_implementation.h +++ b/components/libminchassis/mysql_service_implementation.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/registry.cc b/components/libminchassis/registry.cc index 378012840688..d4131f6871c1 100644 --- a/components/libminchassis/registry.cc +++ b/components/libminchassis/registry.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/registry_imp.h b/components/libminchassis/registry_imp.h index d72a87b3d02c..1aa14c2821dd 100644 --- a/components/libminchassis/registry_imp.h +++ b/components/libminchassis/registry_imp.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/registry_metadata.cc.inc b/components/libminchassis/registry_metadata.cc.inc index 5d46c6ff9af7..e305bd2c4e52 100644 --- a/components/libminchassis/registry_metadata.cc.inc +++ b/components/libminchassis/registry_metadata.cc.inc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/registry_metadata.h.inc b/components/libminchassis/registry_metadata.h.inc index b7510725e942..0b336f633b11 100644 --- a/components/libminchassis/registry_metadata.h.inc +++ b/components/libminchassis/registry_metadata.h.inc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/rwlock_scoped_lock.cc b/components/libminchassis/rwlock_scoped_lock.cc index fd8aab4ca51e..5b13773d3cf8 100644 --- a/components/libminchassis/rwlock_scoped_lock.cc +++ b/components/libminchassis/rwlock_scoped_lock.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/libminchassis/rwlock_scoped_lock.h b/components/libminchassis/rwlock_scoped_lock.h index 0d81ec1f0276..1b22f00fd70a 100644 --- a/components/libminchassis/rwlock_scoped_lock.h +++ b/components/libminchassis/rwlock_scoped_lock.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/library_mysys/CMakeLists.txt b/components/library_mysys/CMakeLists.txt index 223dd643d7f6..707dac1d8812 100644 --- a/components/library_mysys/CMakeLists.txt +++ b/components/library_mysys/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2017, 2025, Oracle and/or its affiliates. +# Copyright (c) 2017, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/library_mysys/my_hex_tools.cc b/components/library_mysys/my_hex_tools.cc index 7c614b3b5554..6ce0df1e0682 100644 --- a/components/library_mysys/my_hex_tools.cc +++ b/components/library_mysys/my_hex_tools.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/library_mysys/my_memory.cc b/components/library_mysys/my_memory.cc index 3d2bf3a7c8c0..4e9fc6839dad 100644 --- a/components/library_mysys/my_memory.cc +++ b/components/library_mysys/my_memory.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/logging/CMakeLists.txt b/components/logging/CMakeLists.txt index a8104a27c0f7..64e9b83910b1 100644 --- a/components/logging/CMakeLists.txt +++ b/components/logging/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2017, 2025, Oracle and/or its affiliates. +# Copyright (c) 2017, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/logging/log_filter_dragnet.cc b/components/logging/log_filter_dragnet.cc index d7551c1a003f..7b685f23f7a4 100644 --- a/components/logging/log_filter_dragnet.cc +++ b/components/logging/log_filter_dragnet.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/logging/log_service_imp.h b/components/logging/log_service_imp.h index acdf02767999..94141b1a962c 100644 --- a/components/logging/log_service_imp.h +++ b/components/logging/log_service_imp.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/logging/log_sink_json.cc b/components/logging/log_sink_json.cc index 3b49d4012e14..e35fd053996c 100644 --- a/components/logging/log_sink_json.cc +++ b/components/logging/log_sink_json.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/logging/log_sink_syseventlog.cc b/components/logging/log_sink_syseventlog.cc index 8387107d327b..81085cdddd1f 100644 --- a/components/logging/log_sink_syseventlog.cc +++ b/components/logging/log_sink_syseventlog.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/logging/log_sink_test.cc b/components/logging/log_sink_test.cc index fd21d74decda..671eb598602e 100644 --- a/components/logging/log_sink_test.cc +++ b/components/logging/log_sink_test.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/mysqlbackup/CMakeLists.txt b/components/mysqlbackup/CMakeLists.txt index e3875c1943c2..38a7f1910757 100644 --- a/components/mysqlbackup/CMakeLists.txt +++ b/components/mysqlbackup/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2019, 2025, Oracle and/or its affiliates. +# Copyright (c) 2019, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/mysqlbackup/backup_comp_constants.h b/components/mysqlbackup/backup_comp_constants.h index 0cd54ce2c180..67c8ce38e65d 100644 --- a/components/mysqlbackup/backup_comp_constants.h +++ b/components/mysqlbackup/backup_comp_constants.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2019, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/mysqlbackup/backup_page_tracker.cc b/components/mysqlbackup/backup_page_tracker.cc index f8c53913534b..81c6ada1b28f 100644 --- a/components/mysqlbackup/backup_page_tracker.cc +++ b/components/mysqlbackup/backup_page_tracker.cc @@ -1,6 +1,6 @@ /************************************************************************ Mysql Enterprise Backup - Copyright (c) 2019, 2025, Oracle and/or its affiliates. + Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/mysqlbackup/backup_page_tracker.h b/components/mysqlbackup/backup_page_tracker.h index c1cf1145d4c1..271a4ffe5df0 100644 --- a/components/mysqlbackup/backup_page_tracker.h +++ b/components/mysqlbackup/backup_page_tracker.h @@ -1,6 +1,6 @@ /************************************************************************ Mysql Enterprise Backup - Copyright (c) 2019, 2025, Oracle and/or its affiliates. + Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/mysqlbackup/mysqlbackup.cc b/components/mysqlbackup/mysqlbackup.cc index eb8d8c9e8e96..6023bc2c57c4 100644 --- a/components/mysqlbackup/mysqlbackup.cc +++ b/components/mysqlbackup/mysqlbackup.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2019, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/mysqlbackup/mysqlbackup.h b/components/mysqlbackup/mysqlbackup.h index a27bb46edc29..35f7b97ac673 100644 --- a/components/mysqlbackup/mysqlbackup.h +++ b/components/mysqlbackup/mysqlbackup.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2019, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/pfs_component/CMakeLists.txt b/components/pfs_component/CMakeLists.txt index c6ddce545275..3f8f0ff1f2c2 100644 --- a/components/pfs_component/CMakeLists.txt +++ b/components/pfs_component/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2017, 2025, Oracle and/or its affiliates. +# Copyright (c) 2017, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/pfs_component/pfs_example_component_population.cc b/components/pfs_component/pfs_example_component_population.cc index 9332d10767c2..a033ac13b68d 100644 --- a/components/pfs_component/pfs_example_component_population.cc +++ b/components/pfs_component/pfs_example_component_population.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/pfs_component/pfs_example_component_population.h b/components/pfs_component/pfs_example_component_population.h index 29e03551d2c8..364197a75dc2 100644 --- a/components/pfs_component/pfs_example_component_population.h +++ b/components/pfs_component/pfs_example_component_population.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/pfs_component/pfs_example_continent.cc b/components/pfs_component/pfs_example_continent.cc index 7c865cf152b8..ed272132f14a 100644 --- a/components/pfs_component/pfs_example_continent.cc +++ b/components/pfs_component/pfs_example_continent.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/pfs_component/pfs_example_continent.h b/components/pfs_component/pfs_example_continent.h index d1dda491612b..ffbbf07c49f4 100644 --- a/components/pfs_component/pfs_example_continent.h +++ b/components/pfs_component/pfs_example_continent.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/pfs_component/pfs_example_country.cc b/components/pfs_component/pfs_example_country.cc index 6909a8b23cdb..ef0c482874a3 100644 --- a/components/pfs_component/pfs_example_country.cc +++ b/components/pfs_component/pfs_example_country.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/pfs_component/pfs_example_country.h b/components/pfs_component/pfs_example_country.h index a4c44c5f2a90..a2a3d9f4fdc2 100644 --- a/components/pfs_component/pfs_example_country.h +++ b/components/pfs_component/pfs_example_country.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/pfs_example/CMakeLists.txt b/components/pfs_example/CMakeLists.txt index e2f2354393ea..ff90019456f2 100644 --- a/components/pfs_example/CMakeLists.txt +++ b/components/pfs_example/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2016, 2025, Oracle and/or its affiliates. +# Copyright (c) 2016, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/pfs_example/pfs_example.cc b/components/pfs_example/pfs_example.cc index 6ecb64f7e2bd..a48f3d50d2be 100644 --- a/components/pfs_example/pfs_example.cc +++ b/components/pfs_example/pfs_example.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/query_attributes/CMakeLists.txt b/components/query_attributes/CMakeLists.txt index 621604f172cf..b0444b9e85e1 100644 --- a/components/query_attributes/CMakeLists.txt +++ b/components/query_attributes/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/query_attributes/query_attributes.cc b/components/query_attributes/query_attributes.cc index 2281e1e638fc..f250f0c87178 100644 --- a/components/query_attributes/query_attributes.cc +++ b/components/query_attributes/query_attributes.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/reference_cache/CMakeLists.txt b/components/reference_cache/CMakeLists.txt index c5c54c28b93a..c3ed031927f4 100644 --- a/components/reference_cache/CMakeLists.txt +++ b/components/reference_cache/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/reference_cache/cache.cc b/components/reference_cache/cache.cc index c1198c880cf9..322435e667f1 100644 --- a/components/reference_cache/cache.cc +++ b/components/reference_cache/cache.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/reference_cache/cache.h b/components/reference_cache/cache.h index 25d4320ee0c8..04284cfa5e5b 100644 --- a/components/reference_cache/cache.h +++ b/components/reference_cache/cache.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/reference_cache/cache_allocator.h b/components/reference_cache/cache_allocator.h index c4e8f092cfc1..e09b9bc220a2 100644 --- a/components/reference_cache/cache_allocator.h +++ b/components/reference_cache/cache_allocator.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/reference_cache/channel.cc b/components/reference_cache/channel.cc index 209eaaaa7cea..13dd6c04fb38 100644 --- a/components/reference_cache/channel.cc +++ b/components/reference_cache/channel.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/reference_cache/channel.h b/components/reference_cache/channel.h index 6cc276b519c6..007b976f918c 100644 --- a/components/reference_cache/channel.h +++ b/components/reference_cache/channel.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/reference_cache/component.cc b/components/reference_cache/component.cc index 0c08cccaf1cd..a1c6a033ab4d 100644 --- a/components/reference_cache/component.cc +++ b/components/reference_cache/component.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/reference_cache/reference_cache_common.h b/components/reference_cache/reference_cache_common.h index 7dbdcd541fa8..f074d355de93 100644 --- a/components/reference_cache/reference_cache_common.h +++ b/components/reference_cache/reference_cache_common.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/CMakeLists.txt b/components/test/CMakeLists.txt index c89838d93be2..eb2f05dc8866 100644 --- a/components/test/CMakeLists.txt +++ b/components/test/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2017, 2025, Oracle and/or its affiliates. +# Copyright (c) 2017, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/keyring_encryption_test/CMakeLists.txt b/components/test/keyring_encryption_test/CMakeLists.txt index 2c28688233f1..c7a04101607e 100644 --- a/components/test/keyring_encryption_test/CMakeLists.txt +++ b/components/test/keyring_encryption_test/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2021, 2025, Oracle and/or its affiliates. +# Copyright (c) 2021, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/keyring_encryption_test/components.cc b/components/test/keyring_encryption_test/components.cc index dbb088cf6a31..4b069ac8047d 100644 --- a/components/test/keyring_encryption_test/components.cc +++ b/components/test/keyring_encryption_test/components.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2021, 2025, Oracle and/or its affiliates. + Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/keyring_encryption_test/components.h b/components/test/keyring_encryption_test/components.h index 5d3d5d7aa1c2..7cb2bb3fbd14 100644 --- a/components/test/keyring_encryption_test/components.h +++ b/components/test/keyring_encryption_test/components.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2021, 2025, Oracle and/or its affiliates. + Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/keyring_encryption_test/keyring_encryption.cc b/components/test/keyring_encryption_test/keyring_encryption.cc index 6686a3f1a472..b21b18deaea3 100644 --- a/components/test/keyring_encryption_test/keyring_encryption.cc +++ b/components/test/keyring_encryption_test/keyring_encryption.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2021, 2025, Oracle and/or its affiliates. + Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/keyring_encryption_test/options.cc b/components/test/keyring_encryption_test/options.cc index c5ee80080f55..3e25d518f499 100644 --- a/components/test/keyring_encryption_test/options.cc +++ b/components/test/keyring_encryption_test/options.cc @@ -1,5 +1,5 @@ /* - Copyright (c) 2021, 2025, Oracle and/or its affiliates. + Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/keyring_encryption_test/options.h b/components/test/keyring_encryption_test/options.h index 4dfb0609a6f4..c733d9f9f4b0 100644 --- a/components/test/keyring_encryption_test/options.h +++ b/components/test/keyring_encryption_test/options.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2021, 2025, Oracle and/or its affiliates. + Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/perfschema/CMakeLists.txt b/components/test/perfschema/CMakeLists.txt index 1d01798f99d5..98e4564c179e 100644 --- a/components/test/perfschema/CMakeLists.txt +++ b/components/test/perfschema/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2017, 2025, Oracle and/or its affiliates. +# Copyright (c) 2017, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/perfschema/test_pfs_notification.cc b/components/test/perfschema/test_pfs_notification.cc index 2bfdd00e0ab5..01d9998fec83 100644 --- a/components/test/perfschema/test_pfs_notification.cc +++ b/components/test/perfschema/test_pfs_notification.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/perfschema/test_pfs_resource_group.cc b/components/test/perfschema/test_pfs_resource_group.cc index 3ce80dfbcb4d..67c291cbf416 100644 --- a/components/test/perfschema/test_pfs_resource_group.cc +++ b/components/test/perfschema/test_pfs_resource_group.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/table_access/CMakeLists.txt b/components/test/table_access/CMakeLists.txt index 567950a94ae2..8fa03356a753 100644 --- a/components/test/table_access/CMakeLists.txt +++ b/components/test/table_access/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/table_access/test_table_access.cc b/components/test/table_access/test_table_access.cc index 3cabc1af43a7..3db4e5e3bd4b 100644 --- a/components/test/table_access/test_table_access.cc +++ b/components/test/table_access/test_table_access.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_audit_api_message.cc b/components/test/test_audit_api_message.cc index f9541b2d8829..9e7086e811bf 100644 --- a/components/test/test_audit_api_message.cc +++ b/components/test/test_audit_api_message.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2018, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2018, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_component_deinit.cc b/components/test/test_component_deinit.cc index d8f98b668f5b..2e38b51b39e1 100644 --- a/components/test/test_component_deinit.cc +++ b/components/test/test_component_deinit.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2020, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_host_application_signal.cc b/components/test/test_host_application_signal.cc index 6956e6b9e5d0..81b5ed3b7d86 100644 --- a/components/test/test_host_application_signal.cc +++ b/components/test/test_host_application_signal.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2018, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2018, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_mysql_command_services.cc b/components/test/test_mysql_command_services.cc index 6cd4207a4099..6e9cdcc2e009 100644 --- a/components/test/test_mysql_command_services.cc +++ b/components/test/test_mysql_command_services.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2022, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2022, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, @@ -229,6 +229,7 @@ static char *test_mysql_command_services_apis_udf(UDF_INIT *, UDF_ARGS *args, uint64_t row_count = 0; unsigned int num_column = 0; std::string result_set; + void *option_val = nullptr; // Execute the SQL specified in the argument. if (cmd_factory_srv->init(&mysql_h)) { @@ -261,7 +262,6 @@ static char *test_mysql_command_services_apis_udf(UDF_INIT *, UDF_ARGS *args, } /* To get the mysql option value */ - void *option_val; cmd_options_srv->get(mysql_h, MYSQL_OPT_MAX_ALLOWED_PACKET, &option_val); { diff --git a/components/test/test_mysql_current_thread_reader.cc b/components/test/test_mysql_current_thread_reader.cc index 296b46b49f57..3eae30747c21 100644 --- a/components/test/test_mysql_current_thread_reader.cc +++ b/components/test/test_mysql_current_thread_reader.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2019, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_mysql_runtime_error.cc b/components/test/test_mysql_runtime_error.cc index f065a41d5bcc..e2b8262bc1c7 100644 --- a/components/test/test_mysql_runtime_error.cc +++ b/components/test/test_mysql_runtime_error.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2018, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2018, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_mysql_system_variable_set.cc b/components/test/test_mysql_system_variable_set.cc index 5307c4550044..7af6de60215c 100644 --- a/components/test/test_mysql_system_variable_set.cc +++ b/components/test/test_mysql_system_variable_set.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2021, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2021, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_mysql_thd_store_service.cc b/components/test/test_mysql_thd_store_service.cc index 4a5931c1ee58..7ef50beab520 100644 --- a/components/test/test_mysql_thd_store_service.cc +++ b/components/test/test_mysql_thd_store_service.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2022, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2022, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_sensitive_system_variables.cc b/components/test/test_sensitive_system_variables.cc index 59220c02d571..4384d166ac70 100644 --- a/components/test/test_sensitive_system_variables.cc +++ b/components/test/test_sensitive_system_variables.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2022, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2022, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_status_var_reader.cc b/components/test/test_status_var_reader.cc index 6ca70d1025fd..cbdcabf23bb7 100644 --- a/components/test/test_status_var_reader.cc +++ b/components/test/test_status_var_reader.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2022, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2022, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_status_var_service.cc b/components/test/test_status_var_service.cc index 0956cec9e289..c82d857f9e9d 100644 --- a/components/test/test_status_var_service.cc +++ b/components/test/test_status_var_service.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_status_var_service_int.cc b/components/test/test_status_var_service_int.cc index 1c5cb810af84..2d144a949fa7 100644 --- a/components/test/test_status_var_service_int.cc +++ b/components/test/test_status_var_service_int.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_status_var_service_reg_only.cc b/components/test/test_status_var_service_reg_only.cc index cfeafd6ee867..76ce9623a34a 100644 --- a/components/test/test_status_var_service_reg_only.cc +++ b/components/test/test_status_var_service_reg_only.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_status_var_service_str.cc b/components/test/test_status_var_service_str.cc index 6038380a7e60..1de088e44748 100644 --- a/components/test/test_status_var_service_str.cc +++ b/components/test/test_status_var_service_str.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_status_var_service_unreg_only.cc b/components/test/test_status_var_service_unreg_only.cc index fcd86f2552da..47c84f2b7799 100644 --- a/components/test/test_status_var_service_unreg_only.cc +++ b/components/test/test_status_var_service_unreg_only.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_sys_var_service.cc b/components/test/test_sys_var_service.cc index ead4e71313f9..b2d046a434e8 100644 --- a/components/test/test_sys_var_service.cc +++ b/components/test/test_sys_var_service.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_sys_var_service_int.cc b/components/test/test_sys_var_service_int.cc index 3c4a15e0a991..2309ba5c9564 100644 --- a/components/test/test_sys_var_service_int.cc +++ b/components/test/test_sys_var_service_int.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_sys_var_service_same.cc b/components/test/test_sys_var_service_same.cc index e886c8f9196b..bbb6f5d2af30 100644 --- a/components/test/test_sys_var_service_same.cc +++ b/components/test/test_sys_var_service_same.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_sys_var_service_str.cc b/components/test/test_sys_var_service_str.cc index ee9d5a75b471..c62bb259b38f 100644 --- a/components/test/test_sys_var_service_str.cc +++ b/components/test/test_sys_var_service_str.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_system_variable_source.cc b/components/test/test_system_variable_source.cc index 8c2bed5584cd..fb98f2d8170b 100644 --- a/components/test/test_system_variable_source.cc +++ b/components/test/test_system_variable_source.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/test_udf_registration.cc b/components/test/test_udf_registration.cc index 3fbba63c7e25..107f68d16591 100644 --- a/components/test/test_udf_registration.cc +++ b/components/test/test_udf_registration.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_reg_3_func.cc b/components/test/udf_reg_3_func.cc index c4e08a51aeaa..e436fd037f78 100644 --- a/components/test/udf_reg_3_func.cc +++ b/components/test/udf_reg_3_func.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_reg_avg_func.cc b/components/test/udf_reg_avg_func.cc index c53d3b916d8e..14a91398f675 100644 --- a/components/test/udf_reg_avg_func.cc +++ b/components/test/udf_reg_avg_func.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_reg_int_func.cc b/components/test/udf_reg_int_func.cc index 27ddbd1b35ff..a25016bd51e0 100644 --- a/components/test/udf_reg_int_func.cc +++ b/components/test/udf_reg_int_func.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_reg_int_same_func.cc b/components/test/udf_reg_int_same_func.cc index 01bfd58391e4..3ec2f4f508fc 100644 --- a/components/test/udf_reg_int_same_func.cc +++ b/components/test/udf_reg_int_same_func.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_reg_only_3_func.cc b/components/test/udf_reg_only_3_func.cc index 16421b846e09..926487f6cc15 100644 --- a/components/test/udf_reg_only_3_func.cc +++ b/components/test/udf_reg_only_3_func.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_reg_real_func.cc b/components/test/udf_reg_real_func.cc index 2bab554d8001..bf16c9d96bb0 100644 --- a/components/test/udf_reg_real_func.cc +++ b/components/test/udf_reg_real_func.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_services/CMakeLists.txt b/components/test/udf_services/CMakeLists.txt index a97e42dd328b..96554f54ecde 100644 --- a/components/test/udf_services/CMakeLists.txt +++ b/components/test/udf_services/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2019, 2025, Oracle and/or its affiliates. +# Copyright (c) 2019, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_services/test_udf_extension.cc b/components/test/udf_services/test_udf_extension.cc index 55ac886b5d65..e8e6801f7b45 100644 --- a/components/test/udf_services/test_udf_extension.cc +++ b/components/test/udf_services/test_udf_extension.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2019, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_services/test_udf_extension.h b/components/test/udf_services/test_udf_extension.h index 10d3892589da..b337e95e71f2 100644 --- a/components/test/udf_services/test_udf_extension.h +++ b/components/test/udf_services/test_udf_extension.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2019, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_services/test_udf_services.cc b/components/test/udf_services/test_udf_services.cc index f28645b86bdf..8aebeafa9f5f 100644 --- a/components/test/udf_services/test_udf_services.cc +++ b/components/test/udf_services/test_udf_services.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2019, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_services/udf_extension_test_functions.cc b/components/test/udf_services/udf_extension_test_functions.cc index 89ecc20847c8..4ed4a8a79952 100644 --- a/components/test/udf_services/udf_extension_test_functions.cc +++ b/components/test/udf_services/udf_extension_test_functions.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2019, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_services/udf_extension_test_functions.h b/components/test/udf_services/udf_extension_test_functions.h index fb889f5502da..5bac4bb4625f 100644 --- a/components/test/udf_services/udf_extension_test_functions.h +++ b/components/test/udf_services/udf_extension_test_functions.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2019, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2019, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_unreg_3_func.cc b/components/test/udf_unreg_3_func.cc index 730c2ecc2905..ed1626ad9c23 100644 --- a/components/test/udf_unreg_3_func.cc +++ b/components/test/udf_unreg_3_func.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_unreg_int_func.cc b/components/test/udf_unreg_int_func.cc index a25c1214d7b6..54d9b536e434 100644 --- a/components/test/udf_unreg_int_func.cc +++ b/components/test/udf_unreg_int_func.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test/udf_unreg_real_func.cc b/components/test/udf_unreg_real_func.cc index 978c790abe20..dba4d211508a 100644 --- a/components/test/udf_unreg_real_func.cc +++ b/components/test/udf_unreg_real_func.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test_server_telemetry_traces/CMakeLists.txt b/components/test_server_telemetry_traces/CMakeLists.txt index 237cdc1d12ce..5c68211714c8 100644 --- a/components/test_server_telemetry_traces/CMakeLists.txt +++ b/components/test_server_telemetry_traces/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2022, 2025, Oracle and/or its affiliates. +# Copyright (c) 2022, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test_server_telemetry_traces/required_services.h b/components/test_server_telemetry_traces/required_services.h index 12f59fb10be4..2dfdf17de9ab 100644 --- a/components/test_server_telemetry_traces/required_services.h +++ b/components/test_server_telemetry_traces/required_services.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2022, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2022, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test_server_telemetry_traces/server_telemetry_component.cc b/components/test_server_telemetry_traces/server_telemetry_component.cc index b4dd26e7ea11..071121ebd6c8 100644 --- a/components/test_server_telemetry_traces/server_telemetry_component.cc +++ b/components/test_server_telemetry_traces/server_telemetry_component.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2022, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2022, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test_server_telemetry_traces/server_telemetry_component.h b/components/test_server_telemetry_traces/server_telemetry_component.h index f63aa27f61f9..a7ee645bd22f 100644 --- a/components/test_server_telemetry_traces/server_telemetry_component.h +++ b/components/test_server_telemetry_traces/server_telemetry_component.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2022, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2022, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test_server_telemetry_traces/server_telemetry_data.cc b/components/test_server_telemetry_traces/server_telemetry_data.cc index e014b9234187..b8644ce94566 100644 --- a/components/test_server_telemetry_traces/server_telemetry_data.cc +++ b/components/test_server_telemetry_traces/server_telemetry_data.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2022, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2022, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test_server_telemetry_traces/server_telemetry_data.h b/components/test_server_telemetry_traces/server_telemetry_data.h index 6b4cd5ecb0b9..495b62462353 100644 --- a/components/test_server_telemetry_traces/server_telemetry_data.h +++ b/components/test_server_telemetry_traces/server_telemetry_data.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2022, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2022, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test_server_telemetry_traces/server_telemetry_helpers.cc b/components/test_server_telemetry_traces/server_telemetry_helpers.cc index e39320127df1..c4a2ed789de1 100644 --- a/components/test_server_telemetry_traces/server_telemetry_helpers.cc +++ b/components/test_server_telemetry_traces/server_telemetry_helpers.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2022, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2022, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/test_server_telemetry_traces/server_telemetry_helpers.h b/components/test_server_telemetry_traces/server_telemetry_helpers.h index ea3d79a7861e..0a9ef6c2c7db 100644 --- a/components/test_server_telemetry_traces/server_telemetry_helpers.h +++ b/components/test_server_telemetry_traces/server_telemetry_helpers.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2022, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2022, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/validate_password/CMakeLists.txt b/components/validate_password/CMakeLists.txt index fefff935af52..72e8456a4e25 100644 --- a/components/validate_password/CMakeLists.txt +++ b/components/validate_password/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2017, 2025, Oracle and/or its affiliates. +# Copyright (c) 2017, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/components/validate_password/validate_password_imp.cc b/components/validate_password/validate_password_imp.cc index 8824aa29ffc8..595648620e68 100644 --- a/components/validate_password/validate_password_imp.cc +++ b/components/validate_password/validate_password_imp.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/components/validate_password/validate_password_imp.h b/components/validate_password/validate_password_imp.h index 8dfb7d6a95a5..bb9c4a81fb05 100644 --- a/components/validate_password/validate_password_imp.h +++ b/components/validate_password/validate_password_imp.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2017, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/config.h.cmake b/config.h.cmake index 18e02afceaba..d9e182bb8234 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1,4 +1,4 @@ -/* Copyright (c) 2009, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2009, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/configure.cmake b/configure.cmake index 01daba2788a6..5b653f8c99b8 100644 --- a/configure.cmake +++ b/configure.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2025, Oracle and/or its affiliates. +# Copyright (c) 2009, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/doxygen_resources/doxygen-filter-mysqld b/doxygen_resources/doxygen-filter-mysqld index 7694d377bbde..11c81340efbe 100755 --- a/doxygen_resources/doxygen-filter-mysqld +++ b/doxygen_resources/doxygen-filter-mysqld @@ -1,7 +1,7 @@ #!/usr/bin/perl # -*- cperl -*- -# Copyright (c) 2016, 2025, Oracle and/or its affiliates. +# Copyright (c) 2016, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/doxygen_resources/doxygen-filter-proto b/doxygen_resources/doxygen-filter-proto index ea9884fce3c1..e97e386eac82 100644 --- a/doxygen_resources/doxygen-filter-proto +++ b/doxygen_resources/doxygen-filter-proto @@ -1,7 +1,7 @@ #!/usr/bin/perl # -*- cperl -*- -# Copyright (c) 2020, 2025, Oracle and/or its affiliates. +# Copyright (c) 2020, 2026, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, diff --git a/doxygen_resources/mysql.css b/doxygen_resources/mysql.css index d7283102e05d..98f2f6cc7e51 100644 --- a/doxygen_resources/mysql.css +++ b/doxygen_resources/mysql.css @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2025, Oracle and/or its affiliates. +/* Copyright (c) 2016, 2026, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, diff --git a/extra/libkmip b/extra/libkmip index d855fbf73323..d0b1c8d540ae 160000 --- a/extra/libkmip +++ b/extra/libkmip @@ -1 +1 @@ -Subproject commit d855fbf733234c388d44e549239b918c7cf8276d +Subproject commit d0b1c8d540ae134f364867f8458b88411ec2c465 diff --git a/extra/opensslpp/src/opensslpp/digest_context.cpp b/extra/opensslpp/src/opensslpp/digest_context.cpp index f4d1be218c2c..45f6749cc71a 100644 --- a/extra/opensslpp/src/opensslpp/digest_context.cpp +++ b/extra/opensslpp/src/opensslpp/digest_context.cpp @@ -19,6 +19,7 @@ #include #include +#include #include @@ -28,6 +29,21 @@ namespace opensslpp { +#ifdef EVP_MD_FLAG_XOF +static std::size_t get_xof_output_length(const EVP_MD *md + [[maybe_unused]]) noexcept { +#if defined(NID_shake128) && defined(NID_shake256) + constexpr std::size_t kShake128DefaultDigestSize = 16; + constexpr std::size_t kShake256DefaultDigestSize = 32; + + auto md_type = EVP_MD_type(md); + if (md_type == NID_shake128) return kShake128DefaultDigestSize; + if (md_type == NID_shake256) return kShake256DefaultDigestSize; +#endif + return 0; +} +#endif + void digest_context::digest_context_deleter::operator()( void *dc) const noexcept { if (dc != nullptr) EVP_MD_CTX_destroy(static_cast(dc)); @@ -70,7 +86,19 @@ void digest_context::swap(digest_context &obj) noexcept { std::size_t digest_context::get_size_in_bytes() const noexcept { assert(!is_empty()); - return EVP_MD_CTX_size(digest_context_accessor::get_impl(*this)); + auto *ctx = digest_context_accessor::get_impl_const_casted(*this); + auto size = EVP_MD_CTX_size(ctx); + if (size > 0) return static_cast(size); + +#ifdef EVP_MD_FLAG_XOF + const auto *md = EVP_MD_CTX_md(ctx); + if (md != nullptr && (EVP_MD_flags(md) & EVP_MD_FLAG_XOF)) { + auto xof_len = get_xof_output_length(md); + if (xof_len > 0) return xof_len; + } +#endif + + return 0; } void digest_context::update(std::string_view data) { @@ -83,13 +111,30 @@ void digest_context::update(std::string_view data) { std::string digest_context::finalize() { assert(!is_empty()); - auto digest_size = EVP_MD_CTX_size(digest_context_accessor::get_impl(*this)); + auto *ctx = digest_context_accessor::get_impl(*this); + +#ifdef EVP_MD_FLAG_XOF + const auto *md = EVP_MD_CTX_md(ctx); + if (md != nullptr && (EVP_MD_flags(md) & EVP_MD_FLAG_XOF)) { + auto xof_len = get_xof_output_length(md); + if (xof_len == 0) throw core_error{"cannot determine XOF output length"}; + + std::string res(xof_len, '\0'); + if (EVP_DigestFinalXOF(ctx, reinterpret_cast(res.data()), + xof_len) == 0) + throw core_error{"cannot finalize XOF digest context"}; + + digest_context_accessor::set_impl(*this, nullptr); + return res; + } +#endif + + auto digest_size = EVP_MD_CTX_size(ctx); assert(digest_size > 0 && digest_size <= EVP_MAX_MD_SIZE); std::string res(static_cast(digest_size), '\0'); unsigned int res_size = 0; - if (EVP_DigestFinal_ex(digest_context_accessor::get_impl(*this), - reinterpret_cast(res.data()), + if (EVP_DigestFinal_ex(ctx, reinterpret_cast(res.data()), &res_size) == 0) throw core_error{"cannot finalize digest context"}; assert(res_size == res.size()); diff --git a/extra/zlib/CMakeLists.txt b/extra/zlib/CMakeLists.txt index f2ef2dca99c4..66bf21ae490f 100644 --- a/extra/zlib/CMakeLists.txt +++ b/extra/zlib/CMakeLists.txt @@ -41,6 +41,7 @@ ENDIF() # when assigning integers from 64 bits to 32 bits, so silence: IF(APPLE) STRING_APPEND(CMAKE_C_FLAGS " -Wno-deprecated-declarations") + STRING_APPEND(CMAKE_C_FLAGS " -Wno-implicit-function-declaration") STRING_APPEND(CMAKE_C_FLAGS " -Wno-shorten-64-to-32") ENDIF() diff --git a/extra/zlib/zlib-1.3.1/CMakeLists.txt b/extra/zlib/zlib-1.3.1/CMakeLists.txt deleted file mode 100644 index d31ff65e5deb..000000000000 --- a/extra/zlib/zlib-1.3.1/CMakeLists.txt +++ /dev/null @@ -1,241 +0,0 @@ -# cmake_minimum_required(VERSION 2.4.4...3.15.0) -set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON) - -# project(zlib C) - -set(VERSION "1.3.1") - -project(zlib VERSION ${VERSION} LANGUAGES C) - -option(ZLIB_BUILD_EXAMPLES "Enable Zlib Examples" ON) - -IF(DISABLE_THESE_LINES) -set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for executables") -set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries") -set(INSTALL_INC_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers") -set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Installation directory for manual pages") -set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files") -ENDIF(DISABLE_THESE_LINES) - -include(CheckTypeSize) -include(CheckFunctionExists) -include(CheckIncludeFile) -include(CheckCSourceCompiles) -# enable_testing() - -check_include_file(sys/types.h HAVE_SYS_TYPES_H) -check_include_file(stdint.h HAVE_STDINT_H) -check_include_file(stddef.h HAVE_STDDEF_H) - -# -# Check to see if we have large file support -# -set(CMAKE_REQUIRED_DEFINITIONS -D_LARGEFILE64_SOURCE=1) -# We add these other definitions here because CheckTypeSize.cmake -# in CMake 2.4.x does not automatically do so and we want -# compatibility with CMake 2.4.x. -if(HAVE_SYS_TYPES_H) - list(APPEND CMAKE_REQUIRED_DEFINITIONS -DHAVE_SYS_TYPES_H) -endif() -if(HAVE_STDINT_H) - list(APPEND CMAKE_REQUIRED_DEFINITIONS -DHAVE_STDINT_H) -endif() -if(HAVE_STDDEF_H) - list(APPEND CMAKE_REQUIRED_DEFINITIONS -DHAVE_STDDEF_H) -endif() -check_type_size(off64_t OFF64_T) -if(HAVE_OFF64_T) - add_definitions(-D_LARGEFILE64_SOURCE=1) -endif() -set(CMAKE_REQUIRED_DEFINITIONS) # clear variable - -# -# Check for fseeko -# -check_function_exists(fseeko HAVE_FSEEKO) -if(NOT HAVE_FSEEKO) - add_definitions(-DNO_FSEEKO) -endif() - -# -# Check for unistd.h -# -check_include_file(unistd.h Z_HAVE_UNISTD_H) - -IF(DISABLE_THESE_LINES) -if(MSVC) - set(CMAKE_DEBUG_POSTFIX "d") - add_definitions(-D_CRT_SECURE_NO_DEPRECATE) - add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE) - include_directories(${CMAKE_CURRENT_SOURCE_DIR}) -endif() - -if(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR) - # If we're doing an out of source build and the user has a zconf.h - # in their source tree... - if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h) - message(STATUS "Renaming") - message(STATUS " ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h") - message(STATUS "to 'zconf.h.included' because this file is included with zlib") - message(STATUS "but CMake generates it automatically in the build directory.") - file(RENAME ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h.included) - endif() -endif() - -set(ZLIB_PC ${CMAKE_CURRENT_BINARY_DIR}/zlib.pc) -configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/zlib.pc.cmakein - ${ZLIB_PC} @ONLY) -configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h.cmakein - ${CMAKE_CURRENT_BINARY_DIR}/zconf.h @ONLY) -include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}) -ENDIF(DISABLE_THESE_LINES) - -CONFIGURE_FILE( - ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h.cmakein - ${CMAKE_CURRENT_BINARY_DIR}/zconf.h @ONLY - ) -INCLUDE_DIRECTORIES( - BEFORE SYSTEM ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} - ) - - -#============================================================================ -# zlib -#============================================================================ - -set(ZLIB_PUBLIC_HDRS - ${CMAKE_CURRENT_BINARY_DIR}/zconf.h - zlib.h -) -set(ZLIB_PRIVATE_HDRS - crc32.h - deflate.h - gzguts.h - inffast.h - inffixed.h - inflate.h - inftrees.h - trees.h - zutil.h -) -set(ZLIB_SRCS - adler32.c - compress.c - crc32.c - deflate.c - gzclose.c - gzlib.c - gzread.c - gzwrite.c - inflate.c - infback.c - inftrees.c - inffast.c - trees.c - uncompr.c - zutil.c -) - -if(NOT MINGW) - set(ZLIB_DLL_SRCS - win32/zlib1.rc # If present will override custom build rule below. - ) -endif() - -# parse the full version number from zlib.h and include in ZLIB_FULL_VERSION -file(READ ${CMAKE_CURRENT_SOURCE_DIR}/zlib.h _zlib_h_contents) -string(REGEX REPLACE ".*#define[ \t]+ZLIB_VERSION[ \t]+\"([-0-9A-Za-z.]+)\".*" - "\\1" ZLIB_FULL_VERSION ${_zlib_h_contents}) - -ADD_CONVENIENCE_LIBRARY(zlib - ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS}) - - -RETURN() - -# Skip anything below. -################################################################ - -if(MINGW) - # This gets us DLL resource information when compiling on MinGW. - if(NOT CMAKE_RC_COMPILER) - set(CMAKE_RC_COMPILER windres.exe) - endif() - - add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj - COMMAND ${CMAKE_RC_COMPILER} - -D GCC_WINDRES - -I ${CMAKE_CURRENT_SOURCE_DIR} - -I ${CMAKE_CURRENT_BINARY_DIR} - -o ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj - -i ${CMAKE_CURRENT_SOURCE_DIR}/win32/zlib1.rc) - set(ZLIB_DLL_SRCS ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj) -endif(MINGW) - -add_library(zlib SHARED ${ZLIB_SRCS} ${ZLIB_DLL_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS}) -target_include_directories(zlib PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) -add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS}) -target_include_directories(zlibstatic PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) -set_target_properties(zlib PROPERTIES DEFINE_SYMBOL ZLIB_DLL) -set_target_properties(zlib PROPERTIES SOVERSION 1) - -if(NOT CYGWIN) - # This property causes shared libraries on Linux to have the full version - # encoded into their final filename. We disable this on Cygwin because - # it causes cygz-${ZLIB_FULL_VERSION}.dll to be created when cygz.dll - # seems to be the default. - # - # This has no effect with MSVC, on that platform the version info for - # the DLL comes from the resource file win32/zlib1.rc - set_target_properties(zlib PROPERTIES VERSION ${ZLIB_FULL_VERSION}) -endif() - -if(UNIX) - # On unix-like platforms the library is almost always called libz - set_target_properties(zlib zlibstatic PROPERTIES OUTPUT_NAME z) - if(NOT APPLE AND NOT(CMAKE_SYSTEM_NAME STREQUAL AIX)) - set_target_properties(zlib PROPERTIES LINK_FLAGS "-Wl,--version-script,\"${CMAKE_CURRENT_SOURCE_DIR}/zlib.map\"") - endif() -elseif(BUILD_SHARED_LIBS AND WIN32) - # Creates zlib1.dll when building shared library version - set_target_properties(zlib PROPERTIES SUFFIX "1.dll") -endif() - -if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL ) - install(TARGETS zlib zlibstatic - RUNTIME DESTINATION "${INSTALL_BIN_DIR}" - ARCHIVE DESTINATION "${INSTALL_LIB_DIR}" - LIBRARY DESTINATION "${INSTALL_LIB_DIR}" ) -endif() -if(NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL ) - install(FILES ${ZLIB_PUBLIC_HDRS} DESTINATION "${INSTALL_INC_DIR}") -endif() -if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL ) - install(FILES zlib.3 DESTINATION "${INSTALL_MAN_DIR}/man3") -endif() -if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL ) - install(FILES ${ZLIB_PC} DESTINATION "${INSTALL_PKGCONFIG_DIR}") -endif() - -#============================================================================ -# Example binaries -#============================================================================ -if(ZLIB_BUILD_EXAMPLES) - add_executable(example test/example.c) - target_link_libraries(example zlib) - add_test(example example) - - add_executable(minigzip test/minigzip.c) - target_link_libraries(minigzip zlib) - - if(HAVE_OFF64_T) - add_executable(example64 test/example.c) - target_link_libraries(example64 zlib) - set_target_properties(example64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64") - add_test(example64 example64) - - add_executable(minigzip64 test/minigzip.c) - target_link_libraries(minigzip64 zlib) - set_target_properties(minigzip64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64") - endif() -endif() diff --git a/extra/zlib/zlib-1.3.1/inffixed.h b/extra/zlib/zlib-1.3.1/inffixed.h deleted file mode 100644 index d62832776948..000000000000 --- a/extra/zlib/zlib-1.3.1/inffixed.h +++ /dev/null @@ -1,94 +0,0 @@ - /* inffixed.h -- table for decoding fixed codes - * Generated automatically by makefixed(). - */ - - /* WARNING: this file should *not* be used by applications. - It is part of the implementation of this library and is - subject to change. Applications should only use zlib.h. - */ - - static const code lenfix[512] = { - {96,7,0},{0,8,80},{0,8,16},{20,8,115},{18,7,31},{0,8,112},{0,8,48}, - {0,9,192},{16,7,10},{0,8,96},{0,8,32},{0,9,160},{0,8,0},{0,8,128}, - {0,8,64},{0,9,224},{16,7,6},{0,8,88},{0,8,24},{0,9,144},{19,7,59}, - {0,8,120},{0,8,56},{0,9,208},{17,7,17},{0,8,104},{0,8,40},{0,9,176}, - {0,8,8},{0,8,136},{0,8,72},{0,9,240},{16,7,4},{0,8,84},{0,8,20}, - {21,8,227},{19,7,43},{0,8,116},{0,8,52},{0,9,200},{17,7,13},{0,8,100}, - {0,8,36},{0,9,168},{0,8,4},{0,8,132},{0,8,68},{0,9,232},{16,7,8}, - {0,8,92},{0,8,28},{0,9,152},{20,7,83},{0,8,124},{0,8,60},{0,9,216}, - {18,7,23},{0,8,108},{0,8,44},{0,9,184},{0,8,12},{0,8,140},{0,8,76}, - {0,9,248},{16,7,3},{0,8,82},{0,8,18},{21,8,163},{19,7,35},{0,8,114}, - {0,8,50},{0,9,196},{17,7,11},{0,8,98},{0,8,34},{0,9,164},{0,8,2}, - {0,8,130},{0,8,66},{0,9,228},{16,7,7},{0,8,90},{0,8,26},{0,9,148}, - {20,7,67},{0,8,122},{0,8,58},{0,9,212},{18,7,19},{0,8,106},{0,8,42}, - {0,9,180},{0,8,10},{0,8,138},{0,8,74},{0,9,244},{16,7,5},{0,8,86}, - {0,8,22},{64,8,0},{19,7,51},{0,8,118},{0,8,54},{0,9,204},{17,7,15}, - {0,8,102},{0,8,38},{0,9,172},{0,8,6},{0,8,134},{0,8,70},{0,9,236}, - {16,7,9},{0,8,94},{0,8,30},{0,9,156},{20,7,99},{0,8,126},{0,8,62}, - {0,9,220},{18,7,27},{0,8,110},{0,8,46},{0,9,188},{0,8,14},{0,8,142}, - {0,8,78},{0,9,252},{96,7,0},{0,8,81},{0,8,17},{21,8,131},{18,7,31}, - {0,8,113},{0,8,49},{0,9,194},{16,7,10},{0,8,97},{0,8,33},{0,9,162}, - {0,8,1},{0,8,129},{0,8,65},{0,9,226},{16,7,6},{0,8,89},{0,8,25}, - {0,9,146},{19,7,59},{0,8,121},{0,8,57},{0,9,210},{17,7,17},{0,8,105}, - {0,8,41},{0,9,178},{0,8,9},{0,8,137},{0,8,73},{0,9,242},{16,7,4}, - {0,8,85},{0,8,21},{16,8,258},{19,7,43},{0,8,117},{0,8,53},{0,9,202}, - {17,7,13},{0,8,101},{0,8,37},{0,9,170},{0,8,5},{0,8,133},{0,8,69}, - {0,9,234},{16,7,8},{0,8,93},{0,8,29},{0,9,154},{20,7,83},{0,8,125}, - {0,8,61},{0,9,218},{18,7,23},{0,8,109},{0,8,45},{0,9,186},{0,8,13}, - {0,8,141},{0,8,77},{0,9,250},{16,7,3},{0,8,83},{0,8,19},{21,8,195}, - {19,7,35},{0,8,115},{0,8,51},{0,9,198},{17,7,11},{0,8,99},{0,8,35}, - {0,9,166},{0,8,3},{0,8,131},{0,8,67},{0,9,230},{16,7,7},{0,8,91}, - {0,8,27},{0,9,150},{20,7,67},{0,8,123},{0,8,59},{0,9,214},{18,7,19}, - {0,8,107},{0,8,43},{0,9,182},{0,8,11},{0,8,139},{0,8,75},{0,9,246}, - {16,7,5},{0,8,87},{0,8,23},{64,8,0},{19,7,51},{0,8,119},{0,8,55}, - {0,9,206},{17,7,15},{0,8,103},{0,8,39},{0,9,174},{0,8,7},{0,8,135}, - {0,8,71},{0,9,238},{16,7,9},{0,8,95},{0,8,31},{0,9,158},{20,7,99}, - {0,8,127},{0,8,63},{0,9,222},{18,7,27},{0,8,111},{0,8,47},{0,9,190}, - {0,8,15},{0,8,143},{0,8,79},{0,9,254},{96,7,0},{0,8,80},{0,8,16}, - {20,8,115},{18,7,31},{0,8,112},{0,8,48},{0,9,193},{16,7,10},{0,8,96}, - {0,8,32},{0,9,161},{0,8,0},{0,8,128},{0,8,64},{0,9,225},{16,7,6}, - {0,8,88},{0,8,24},{0,9,145},{19,7,59},{0,8,120},{0,8,56},{0,9,209}, - {17,7,17},{0,8,104},{0,8,40},{0,9,177},{0,8,8},{0,8,136},{0,8,72}, - {0,9,241},{16,7,4},{0,8,84},{0,8,20},{21,8,227},{19,7,43},{0,8,116}, - {0,8,52},{0,9,201},{17,7,13},{0,8,100},{0,8,36},{0,9,169},{0,8,4}, - {0,8,132},{0,8,68},{0,9,233},{16,7,8},{0,8,92},{0,8,28},{0,9,153}, - {20,7,83},{0,8,124},{0,8,60},{0,9,217},{18,7,23},{0,8,108},{0,8,44}, - {0,9,185},{0,8,12},{0,8,140},{0,8,76},{0,9,249},{16,7,3},{0,8,82}, - {0,8,18},{21,8,163},{19,7,35},{0,8,114},{0,8,50},{0,9,197},{17,7,11}, - {0,8,98},{0,8,34},{0,9,165},{0,8,2},{0,8,130},{0,8,66},{0,9,229}, - {16,7,7},{0,8,90},{0,8,26},{0,9,149},{20,7,67},{0,8,122},{0,8,58}, - {0,9,213},{18,7,19},{0,8,106},{0,8,42},{0,9,181},{0,8,10},{0,8,138}, - {0,8,74},{0,9,245},{16,7,5},{0,8,86},{0,8,22},{64,8,0},{19,7,51}, - {0,8,118},{0,8,54},{0,9,205},{17,7,15},{0,8,102},{0,8,38},{0,9,173}, - {0,8,6},{0,8,134},{0,8,70},{0,9,237},{16,7,9},{0,8,94},{0,8,30}, - {0,9,157},{20,7,99},{0,8,126},{0,8,62},{0,9,221},{18,7,27},{0,8,110}, - {0,8,46},{0,9,189},{0,8,14},{0,8,142},{0,8,78},{0,9,253},{96,7,0}, - {0,8,81},{0,8,17},{21,8,131},{18,7,31},{0,8,113},{0,8,49},{0,9,195}, - {16,7,10},{0,8,97},{0,8,33},{0,9,163},{0,8,1},{0,8,129},{0,8,65}, - {0,9,227},{16,7,6},{0,8,89},{0,8,25},{0,9,147},{19,7,59},{0,8,121}, - {0,8,57},{0,9,211},{17,7,17},{0,8,105},{0,8,41},{0,9,179},{0,8,9}, - {0,8,137},{0,8,73},{0,9,243},{16,7,4},{0,8,85},{0,8,21},{16,8,258}, - {19,7,43},{0,8,117},{0,8,53},{0,9,203},{17,7,13},{0,8,101},{0,8,37}, - {0,9,171},{0,8,5},{0,8,133},{0,8,69},{0,9,235},{16,7,8},{0,8,93}, - {0,8,29},{0,9,155},{20,7,83},{0,8,125},{0,8,61},{0,9,219},{18,7,23}, - {0,8,109},{0,8,45},{0,9,187},{0,8,13},{0,8,141},{0,8,77},{0,9,251}, - {16,7,3},{0,8,83},{0,8,19},{21,8,195},{19,7,35},{0,8,115},{0,8,51}, - {0,9,199},{17,7,11},{0,8,99},{0,8,35},{0,9,167},{0,8,3},{0,8,131}, - {0,8,67},{0,9,231},{16,7,7},{0,8,91},{0,8,27},{0,9,151},{20,7,67}, - {0,8,123},{0,8,59},{0,9,215},{18,7,19},{0,8,107},{0,8,43},{0,9,183}, - {0,8,11},{0,8,139},{0,8,75},{0,9,247},{16,7,5},{0,8,87},{0,8,23}, - {64,8,0},{19,7,51},{0,8,119},{0,8,55},{0,9,207},{17,7,15},{0,8,103}, - {0,8,39},{0,9,175},{0,8,7},{0,8,135},{0,8,71},{0,9,239},{16,7,9}, - {0,8,95},{0,8,31},{0,9,159},{20,7,99},{0,8,127},{0,8,63},{0,9,223}, - {18,7,27},{0,8,111},{0,8,47},{0,9,191},{0,8,15},{0,8,143},{0,8,79}, - {0,9,255} - }; - - static const code distfix[32] = { - {16,5,1},{23,5,257},{19,5,17},{27,5,4097},{17,5,5},{25,5,1025}, - {21,5,65},{29,5,16385},{16,5,3},{24,5,513},{20,5,33},{28,5,8193}, - {18,5,9},{26,5,2049},{22,5,129},{64,5,0},{16,5,2},{23,5,385}, - {19,5,25},{27,5,6145},{17,5,7},{25,5,1537},{21,5,97},{29,5,24577}, - {16,5,4},{24,5,769},{20,5,49},{28,5,12289},{18,5,13},{26,5,3073}, - {22,5,193},{64,5,0} - }; diff --git a/extra/zlib/zlib-1.3.1/msdos/Makefile.bor b/extra/zlib/zlib-1.3.1/msdos/Makefile.bor deleted file mode 100644 index 3d12a2c25270..000000000000 --- a/extra/zlib/zlib-1.3.1/msdos/Makefile.bor +++ /dev/null @@ -1,115 +0,0 @@ -# Makefile for zlib -# Borland C++ -# Last updated: 15-Mar-2003 - -# To use, do "make -fmakefile.bor" -# To compile in small model, set below: MODEL=s - -# WARNING: the small model is supported but only for small values of -# MAX_WBITS and MAX_MEM_LEVEL. For example: -# -DMAX_WBITS=11 -DDEF_WBITS=11 -DMAX_MEM_LEVEL=3 -# If you wish to reduce the memory requirements (default 256K for big -# objects plus a few K), you can add to the LOC macro below: -# -DMAX_MEM_LEVEL=7 -DMAX_WBITS=14 -# See zconf.h for details about the memory requirements. - -# ------------ Turbo C++, Borland C++ ------------ - -# Optional nonstandard preprocessor flags (e.g. -DMAX_MEM_LEVEL=7) -# should be added to the environment via "set LOCAL_ZLIB=-DFOO" or added -# to the declaration of LOC here: -LOC = $(LOCAL_ZLIB) - -# type for CPU required: 0: 8086, 1: 80186, 2: 80286, 3: 80386, etc. -CPU_TYP = 0 - -# memory model: one of s, m, c, l (small, medium, compact, large) -MODEL=l - -# replace bcc with tcc for Turbo C++ 1.0, with bcc32 for the 32 bit version -CC=bcc -LD=bcc -AR=tlib - -# compiler flags -# replace "-O2" by "-O -G -a -d" for Turbo C++ 1.0 -CFLAGS=-O2 -Z -m$(MODEL) $(LOC) - -LDFLAGS=-m$(MODEL) -f- - - -# variables -ZLIB_LIB = zlib_$(MODEL).lib - -OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj -OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj -OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj -OBJP2 = +gzwrite.obj+infback.obj+inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+zutil.obj - - -# targets -all: $(ZLIB_LIB) example.exe minigzip.exe - -.c.obj: - $(CC) -c $(CFLAGS) $*.c - -adler32.obj: adler32.c zlib.h zconf.h - -compress.obj: compress.c zlib.h zconf.h - -crc32.obj: crc32.c zlib.h zconf.h crc32.h - -deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h - -gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h - -gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h - -gzread.obj: gzread.c zlib.h zconf.h gzguts.h - -gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h - -infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ - inffast.h inffixed.h - -inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ - inffast.h - -inflate.obj: inflate.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ - inffast.h inffixed.h - -inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h - -trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h - -uncompr.obj: uncompr.c zlib.h zconf.h - -zutil.obj: zutil.c zutil.h zlib.h zconf.h - -example.obj: test/example.c zlib.h zconf.h - -minigzip.obj: test/minigzip.c zlib.h zconf.h - - -# the command line is cut to fit in the MS-DOS 128 byte limit: -$(ZLIB_LIB): $(OBJ1) $(OBJ2) - -del $(ZLIB_LIB) - $(AR) $(ZLIB_LIB) $(OBJP1) - $(AR) $(ZLIB_LIB) $(OBJP2) - -example.exe: example.obj $(ZLIB_LIB) - $(LD) $(LDFLAGS) example.obj $(ZLIB_LIB) - -minigzip.exe: minigzip.obj $(ZLIB_LIB) - $(LD) $(LDFLAGS) minigzip.obj $(ZLIB_LIB) - -test: example.exe minigzip.exe - example - echo hello world | minigzip | minigzip -d - -clean: - -del *.obj - -del *.lib - -del *.exe - -del zlib_*.bak - -del foo.gz diff --git a/extra/zlib/zlib-1.3.1/msdos/Makefile.dj2 b/extra/zlib/zlib-1.3.1/msdos/Makefile.dj2 deleted file mode 100644 index 59d2037d69c4..000000000000 --- a/extra/zlib/zlib-1.3.1/msdos/Makefile.dj2 +++ /dev/null @@ -1,104 +0,0 @@ -# Makefile for zlib. Modified for djgpp v2.0 by F. J. Donahoe, 3/15/96. -# Copyright (C) 1995-1998 Jean-loup Gailly. -# For conditions of distribution and use, see copyright notice in zlib.h - -# To compile, or to compile and test, type: -# -# make -fmakefile.dj2; make test -fmakefile.dj2 -# -# To install libz.a, zconf.h and zlib.h in the djgpp directories, type: -# -# make install -fmakefile.dj2 -# -# after first defining LIBRARY_PATH and INCLUDE_PATH in djgpp.env as -# in the sample below if the pattern of the DJGPP distribution is to -# be followed. Remember that, while 'es around <=> are ignored in -# makefiles, they are *not* in batch files or in djgpp.env. -# - - - - - -# [make] -# INCLUDE_PATH=%\>;INCLUDE_PATH%%\DJDIR%\include -# LIBRARY_PATH=%\>;LIBRARY_PATH%%\DJDIR%\lib -# BUTT=-m486 -# - - - - - -# Alternately, these variables may be defined below, overriding the values -# in djgpp.env, as -# INCLUDE_PATH=c:\usr\include -# LIBRARY_PATH=c:\usr\lib - -CC=gcc - -#CFLAGS=-MMD -O -#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 -#CFLAGS=-MMD -g -DZLIB_DEBUG -CFLAGS=-MMD -O3 $(BUTT) -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ - -Wstrict-prototypes -Wmissing-prototypes - -# If cp.exe is available, replace "copy /Y" with "cp -fp" . -CP=copy /Y -# If gnu install.exe is available, replace $(CP) with ginstall. -INSTALL=$(CP) -# The default value of RM is "rm -f." If "rm.exe" is found, comment out: -RM=del -LDLIBS=-L. -lz -LD=$(CC) -s -o -LDSHARED=$(CC) - -INCL=zlib.h zconf.h -LIBS=libz.a - -AR=ar rcs - -prefix=/usr/local -exec_prefix = $(prefix) - -OBJS = adler32.o compress.o crc32.o gzclose.o gzlib.o gzread.o gzwrite.o \ - uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o - -OBJA = -# to use the asm code: make OBJA=match.o - -TEST_OBJS = example.o minigzip.o - -all: example.exe minigzip.exe - -check: test -test: all - ./example - echo hello world | .\minigzip | .\minigzip -d - -%.o : %.c - $(CC) $(CFLAGS) -c $< -o $@ - -libz.a: $(OBJS) $(OBJA) - $(AR) $@ $(OBJS) $(OBJA) - -%.exe : %.o $(LIBS) - $(LD) $@ $< $(LDLIBS) - -# INCLUDE_PATH and LIBRARY_PATH were set for [make] in djgpp.env . - -.PHONY : uninstall clean - -install: $(INCL) $(LIBS) - -@if not exist $(INCLUDE_PATH)\nul mkdir $(INCLUDE_PATH) - -@if not exist $(LIBRARY_PATH)\nul mkdir $(LIBRARY_PATH) - $(INSTALL) zlib.h $(INCLUDE_PATH) - $(INSTALL) zconf.h $(INCLUDE_PATH) - $(INSTALL) libz.a $(LIBRARY_PATH) - -uninstall: - $(RM) $(INCLUDE_PATH)\zlib.h - $(RM) $(INCLUDE_PATH)\zconf.h - $(RM) $(LIBRARY_PATH)\libz.a - -clean: - $(RM) *.d - $(RM) *.o - $(RM) *.exe - $(RM) libz.a - $(RM) foo.gz - -DEPS := $(wildcard *.d) -ifneq ($(DEPS),) -include $(DEPS) -endif diff --git a/extra/zlib/zlib-1.3.1/msdos/Makefile.emx b/extra/zlib/zlib-1.3.1/msdos/Makefile.emx deleted file mode 100644 index e30f67bed68e..000000000000 --- a/extra/zlib/zlib-1.3.1/msdos/Makefile.emx +++ /dev/null @@ -1,69 +0,0 @@ -# Makefile for zlib. Modified for emx 0.9c by Chr. Spieler, 6/17/98. -# Copyright (C) 1995-1998 Jean-loup Gailly. -# For conditions of distribution and use, see copyright notice in zlib.h - -# To compile, or to compile and test, type: -# -# make -fmakefile.emx; make test -fmakefile.emx -# - -CC=gcc - -#CFLAGS=-MMD -O -#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 -#CFLAGS=-MMD -g -DZLIB_DEBUG -CFLAGS=-MMD -O3 $(BUTT) -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ - -Wstrict-prototypes -Wmissing-prototypes - -# If cp.exe is available, replace "copy /Y" with "cp -fp" . -CP=copy /Y -# If gnu install.exe is available, replace $(CP) with ginstall. -INSTALL=$(CP) -# The default value of RM is "rm -f." If "rm.exe" is found, comment out: -RM=del -LDLIBS=-L. -lzlib -LD=$(CC) -s -o -LDSHARED=$(CC) - -INCL=zlib.h zconf.h -LIBS=zlib.a - -AR=ar rcs - -prefix=/usr/local -exec_prefix = $(prefix) - -OBJS = adler32.o compress.o crc32.o gzclose.o gzlib.o gzread.o gzwrite.o \ - uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o - -TEST_OBJS = example.o minigzip.o - -all: example.exe minigzip.exe - -test: all - ./example - echo hello world | .\minigzip | .\minigzip -d - -%.o : %.c - $(CC) $(CFLAGS) -c $< -o $@ - -zlib.a: $(OBJS) - $(AR) $@ $(OBJS) - -%.exe : %.o $(LIBS) - $(LD) $@ $< $(LDLIBS) - - -.PHONY : clean - -clean: - $(RM) *.d - $(RM) *.o - $(RM) *.exe - $(RM) zlib.a - $(RM) foo.gz - -DEPS := $(wildcard *.d) -ifneq ($(DEPS),) -include $(DEPS) -endif diff --git a/extra/zlib/zlib-1.3.1/msdos/Makefile.msc b/extra/zlib/zlib-1.3.1/msdos/Makefile.msc deleted file mode 100644 index ae8378615ec6..000000000000 --- a/extra/zlib/zlib-1.3.1/msdos/Makefile.msc +++ /dev/null @@ -1,112 +0,0 @@ -# Makefile for zlib -# Microsoft C 5.1 or later -# Last updated: 19-Mar-2003 - -# To use, do "make makefile.msc" -# To compile in small model, set below: MODEL=S - -# If you wish to reduce the memory requirements (default 256K for big -# objects plus a few K), you can add to the LOC macro below: -# -DMAX_MEM_LEVEL=7 -DMAX_WBITS=14 -# See zconf.h for details about the memory requirements. - -# ------------- Microsoft C 5.1 and later ------------- - -# Optional nonstandard preprocessor flags (e.g. -DMAX_MEM_LEVEL=7) -# should be added to the environment via "set LOCAL_ZLIB=-DFOO" or added -# to the declaration of LOC here: -LOC = $(LOCAL_ZLIB) - -# Type for CPU required: 0: 8086, 1: 80186, 2: 80286, 3: 80386, etc. -CPU_TYP = 0 - -# Memory model: one of S, M, C, L (small, medium, compact, large) -MODEL=L - -CC=cl -CFLAGS=-nologo -A$(MODEL) -G$(CPU_TYP) -W3 -Oait -Gs $(LOC) -#-Ox generates bad code with MSC 5.1 -LIB_CFLAGS=-Zl $(CFLAGS) - -LD=link -LDFLAGS=/noi/e/st:0x1500/noe/farcall/packcode -# "/farcall/packcode" are only useful for `large code' memory models -# but should be a "no-op" for small code models. - - -# variables -ZLIB_LIB = zlib_$(MODEL).lib - -OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj -OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj - - -# targets -all: $(ZLIB_LIB) example.exe minigzip.exe - -.c.obj: - $(CC) -c $(LIB_CFLAGS) $*.c - -adler32.obj: adler32.c zlib.h zconf.h - -compress.obj: compress.c zlib.h zconf.h - -crc32.obj: crc32.c zlib.h zconf.h crc32.h - -deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h - -gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h - -gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h - -gzread.obj: gzread.c zlib.h zconf.h gzguts.h - -gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h - -infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ - inffast.h inffixed.h - -inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ - inffast.h - -inflate.obj: inflate.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ - inffast.h inffixed.h - -inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h - -trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h - -uncompr.obj: uncompr.c zlib.h zconf.h - -zutil.obj: zutil.c zutil.h zlib.h zconf.h - -example.obj: test/example.c zlib.h zconf.h - $(CC) -c $(CFLAGS) $*.c - -minigzip.obj: test/minigzip.c zlib.h zconf.h - $(CC) -c $(CFLAGS) $*.c - - -# the command line is cut to fit in the MS-DOS 128 byte limit: -$(ZLIB_LIB): $(OBJ1) $(OBJ2) - if exist $(ZLIB_LIB) del $(ZLIB_LIB) - lib $(ZLIB_LIB) $(OBJ1); - lib $(ZLIB_LIB) $(OBJ2); - -example.exe: example.obj $(ZLIB_LIB) - $(LD) $(LDFLAGS) example.obj,,,$(ZLIB_LIB); - -minigzip.exe: minigzip.obj $(ZLIB_LIB) - $(LD) $(LDFLAGS) minigzip.obj,,,$(ZLIB_LIB); - -test: example.exe minigzip.exe - example - echo hello world | minigzip | minigzip -d - -clean: - -del *.obj - -del *.lib - -del *.exe - -del *.map - -del zlib_*.bak - -del foo.gz diff --git a/extra/zlib/zlib-1.3.1/msdos/Makefile.tc b/extra/zlib/zlib-1.3.1/msdos/Makefile.tc deleted file mode 100644 index 5aec82a9d58c..000000000000 --- a/extra/zlib/zlib-1.3.1/msdos/Makefile.tc +++ /dev/null @@ -1,100 +0,0 @@ -# Makefile for zlib -# Turbo C 2.01, Turbo C++ 1.01 -# Last updated: 15-Mar-2003 - -# To use, do "make -fmakefile.tc" -# To compile in small model, set below: MODEL=s - -# WARNING: the small model is supported but only for small values of -# MAX_WBITS and MAX_MEM_LEVEL. For example: -# -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 -# If you wish to reduce the memory requirements (default 256K for big -# objects plus a few K), you can add to CFLAGS below: -# -DMAX_MEM_LEVEL=7 -DMAX_WBITS=14 -# See zconf.h for details about the memory requirements. - -# ------------ Turbo C 2.01, Turbo C++ 1.01 ------------ -MODEL=l -CC=tcc -LD=tcc -AR=tlib -# CFLAGS=-O2 -G -Z -m$(MODEL) -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 -CFLAGS=-O2 -G -Z -m$(MODEL) -LDFLAGS=-m$(MODEL) -f- - - -# variables -ZLIB_LIB = zlib_$(MODEL).lib - -OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj -OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj -OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj -OBJP2 = +gzwrite.obj+infback.obj+inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+zutil.obj - - -# targets -all: $(ZLIB_LIB) example.exe minigzip.exe - -.c.obj: - $(CC) -c $(CFLAGS) $*.c - -adler32.obj: adler32.c zlib.h zconf.h - -compress.obj: compress.c zlib.h zconf.h - -crc32.obj: crc32.c zlib.h zconf.h crc32.h - -deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h - -gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h - -gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h - -gzread.obj: gzread.c zlib.h zconf.h gzguts.h - -gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h - -infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ - inffast.h inffixed.h - -inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ - inffast.h - -inflate.obj: inflate.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ - inffast.h inffixed.h - -inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h - -trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h - -uncompr.obj: uncompr.c zlib.h zconf.h - -zutil.obj: zutil.c zutil.h zlib.h zconf.h - -example.obj: test/example.c zlib.h zconf.h - -minigzip.obj: test/minigzip.c zlib.h zconf.h - - -# the command line is cut to fit in the MS-DOS 128 byte limit: -$(ZLIB_LIB): $(OBJ1) $(OBJ2) - -del $(ZLIB_LIB) - $(AR) $(ZLIB_LIB) $(OBJP1) - $(AR) $(ZLIB_LIB) $(OBJP2) - -example.exe: example.obj $(ZLIB_LIB) - $(LD) $(LDFLAGS) example.obj $(ZLIB_LIB) - -minigzip.exe: minigzip.obj $(ZLIB_LIB) - $(LD) $(LDFLAGS) minigzip.obj $(ZLIB_LIB) - -test: example.exe minigzip.exe - example - echo hello world | minigzip | minigzip -d - -clean: - -del *.obj - -del *.lib - -del *.exe - -del zlib_*.bak - -del foo.gz diff --git a/extra/zlib/zlib-1.3.1/old/Makefile.emx b/extra/zlib/zlib-1.3.1/old/Makefile.emx deleted file mode 100644 index 612b03791583..000000000000 --- a/extra/zlib/zlib-1.3.1/old/Makefile.emx +++ /dev/null @@ -1,69 +0,0 @@ -# Makefile for zlib. Modified for emx/rsxnt by Chr. Spieler, 6/16/98. -# Copyright (C) 1995-1998 Jean-loup Gailly. -# For conditions of distribution and use, see copyright notice in zlib.h - -# To compile, or to compile and test, type: -# -# make -fmakefile.emx; make test -fmakefile.emx -# - -CC=gcc -Zwin32 - -#CFLAGS=-MMD -O -#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 -#CFLAGS=-MMD -g -DZLIB_DEBUG -CFLAGS=-MMD -O3 $(BUTT) -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ - -Wstrict-prototypes -Wmissing-prototypes - -# If cp.exe is available, replace "copy /Y" with "cp -fp" . -CP=copy /Y -# If gnu install.exe is available, replace $(CP) with ginstall. -INSTALL=$(CP) -# The default value of RM is "rm -f." If "rm.exe" is found, comment out: -RM=del -LDLIBS=-L. -lzlib -LD=$(CC) -s -o -LDSHARED=$(CC) - -INCL=zlib.h zconf.h -LIBS=zlib.a - -AR=ar rcs - -prefix=/usr/local -exec_prefix = $(prefix) - -OBJS = adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o gzread.o \ - gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o - -TEST_OBJS = example.o minigzip.o - -all: example.exe minigzip.exe - -test: all - ./example - echo hello world | .\minigzip | .\minigzip -d - -%.o : %.c - $(CC) $(CFLAGS) -c $< -o $@ - -zlib.a: $(OBJS) - $(AR) $@ $(OBJS) - -%.exe : %.o $(LIBS) - $(LD) $@ $< $(LDLIBS) - - -.PHONY : clean - -clean: - $(RM) *.d - $(RM) *.o - $(RM) *.exe - $(RM) zlib.a - $(RM) foo.gz - -DEPS := $(wildcard *.d) -ifneq ($(DEPS),) -include $(DEPS) -endif diff --git a/extra/zlib/zlib-1.3.1/old/Makefile.riscos b/extra/zlib/zlib-1.3.1/old/Makefile.riscos deleted file mode 100644 index 57e29d3fba91..000000000000 --- a/extra/zlib/zlib-1.3.1/old/Makefile.riscos +++ /dev/null @@ -1,151 +0,0 @@ -# Project: zlib_1_03 -# Patched for zlib 1.1.2 rw@shadow.org.uk 19980430 -# test works out-of-the-box, installs `somewhere' on demand - -# Toolflags: -CCflags = -c -depend !Depend -IC: -g -throwback -DRISCOS -fah -C++flags = -c -depend !Depend -IC: -throwback -Linkflags = -aif -c++ -o $@ -ObjAsmflags = -throwback -NoCache -depend !Depend -CMHGflags = -LibFileflags = -c -l -o $@ -Squeezeflags = -o $@ - -# change the line below to where _you_ want the library installed. -libdest = lib:zlib - -# Final targets: -@.lib: @.o.adler32 @.o.compress @.o.crc32 @.o.deflate @.o.gzio \ - @.o.infblock @.o.infcodes @.o.inffast @.o.inflate @.o.inftrees @.o.infutil @.o.trees \ - @.o.uncompr @.o.zutil - LibFile $(LibFileflags) @.o.adler32 @.o.compress @.o.crc32 @.o.deflate \ - @.o.gzio @.o.infblock @.o.infcodes @.o.inffast @.o.inflate @.o.inftrees @.o.infutil \ - @.o.trees @.o.uncompr @.o.zutil -test: @.minigzip @.example @.lib - @copy @.lib @.libc A~C~DF~L~N~P~Q~RS~TV - @echo running tests: hang on. - @/@.minigzip -f -9 libc - @/@.minigzip -d libc-gz - @/@.minigzip -f -1 libc - @/@.minigzip -d libc-gz - @/@.minigzip -h -9 libc - @/@.minigzip -d libc-gz - @/@.minigzip -h -1 libc - @/@.minigzip -d libc-gz - @/@.minigzip -9 libc - @/@.minigzip -d libc-gz - @/@.minigzip -1 libc - @/@.minigzip -d libc-gz - @diff @.lib @.libc - @echo that should have reported '@.lib and @.libc identical' if you have diff. - @/@.example @.fred @.fred - @echo that will have given lots of hello!'s. - -@.minigzip: @.o.minigzip @.lib C:o.Stubs - Link $(Linkflags) @.o.minigzip @.lib C:o.Stubs -@.example: @.o.example @.lib C:o.Stubs - Link $(Linkflags) @.o.example @.lib C:o.Stubs - -install: @.lib - cdir $(libdest) - cdir $(libdest).h - @copy @.h.zlib $(libdest).h.zlib A~C~DF~L~N~P~Q~RS~TV - @copy @.h.zconf $(libdest).h.zconf A~C~DF~L~N~P~Q~RS~TV - @copy @.lib $(libdest).lib A~C~DF~L~N~P~Q~RS~TV - @echo okay, installed zlib in $(libdest) - -clean:; remove @.minigzip - remove @.example - remove @.libc - -wipe @.o.* F~r~cV - remove @.fred - -# User-editable dependencies: -.c.o: - cc $(ccflags) -o $@ $< - -# Static dependencies: - -# Dynamic dependencies: -o.example: c.example -o.example: h.zlib -o.example: h.zconf -o.minigzip: c.minigzip -o.minigzip: h.zlib -o.minigzip: h.zconf -o.adler32: c.adler32 -o.adler32: h.zlib -o.adler32: h.zconf -o.compress: c.compress -o.compress: h.zlib -o.compress: h.zconf -o.crc32: c.crc32 -o.crc32: h.zlib -o.crc32: h.zconf -o.deflate: c.deflate -o.deflate: h.deflate -o.deflate: h.zutil -o.deflate: h.zlib -o.deflate: h.zconf -o.gzio: c.gzio -o.gzio: h.zutil -o.gzio: h.zlib -o.gzio: h.zconf -o.infblock: c.infblock -o.infblock: h.zutil -o.infblock: h.zlib -o.infblock: h.zconf -o.infblock: h.infblock -o.infblock: h.inftrees -o.infblock: h.infcodes -o.infblock: h.infutil -o.infcodes: c.infcodes -o.infcodes: h.zutil -o.infcodes: h.zlib -o.infcodes: h.zconf -o.infcodes: h.inftrees -o.infcodes: h.infblock -o.infcodes: h.infcodes -o.infcodes: h.infutil -o.infcodes: h.inffast -o.inffast: c.inffast -o.inffast: h.zutil -o.inffast: h.zlib -o.inffast: h.zconf -o.inffast: h.inftrees -o.inffast: h.infblock -o.inffast: h.infcodes -o.inffast: h.infutil -o.inffast: h.inffast -o.inflate: c.inflate -o.inflate: h.zutil -o.inflate: h.zlib -o.inflate: h.zconf -o.inflate: h.infblock -o.inftrees: c.inftrees -o.inftrees: h.zutil -o.inftrees: h.zlib -o.inftrees: h.zconf -o.inftrees: h.inftrees -o.inftrees: h.inffixed -o.infutil: c.infutil -o.infutil: h.zutil -o.infutil: h.zlib -o.infutil: h.zconf -o.infutil: h.infblock -o.infutil: h.inftrees -o.infutil: h.infcodes -o.infutil: h.infutil -o.trees: c.trees -o.trees: h.deflate -o.trees: h.zutil -o.trees: h.zlib -o.trees: h.zconf -o.trees: h.trees -o.uncompr: c.uncompr -o.uncompr: h.zlib -o.uncompr: h.zconf -o.zutil: c.zutil -o.zutil: h.zutil -o.zutil: h.zlib -o.zutil: h.zconf diff --git a/extra/zlib/zlib-1.3.1/old/README b/extra/zlib/zlib-1.3.1/old/README deleted file mode 100644 index 800bf079827b..000000000000 --- a/extra/zlib/zlib-1.3.1/old/README +++ /dev/null @@ -1,3 +0,0 @@ -This directory contains files that have not been updated for zlib 1.2.x - -(Volunteers are encouraged to help clean this up. Thanks.) diff --git a/extra/zlib/zlib-1.3.1/old/descrip.mms b/extra/zlib/zlib-1.3.1/old/descrip.mms deleted file mode 100644 index 7066da5b557e..000000000000 --- a/extra/zlib/zlib-1.3.1/old/descrip.mms +++ /dev/null @@ -1,48 +0,0 @@ -# descrip.mms: MMS description file for building zlib on VMS -# written by Martin P.J. Zinser - -cc_defs = -c_deb = - -.ifdef __DECC__ -pref = /prefix=all -.endif - -OBJS = adler32.obj, compress.obj, crc32.obj, gzio.obj, uncompr.obj,\ - deflate.obj, trees.obj, zutil.obj, inflate.obj, infblock.obj,\ - inftrees.obj, infcodes.obj, infutil.obj, inffast.obj - -CFLAGS= $(C_DEB) $(CC_DEFS) $(PREF) - -all : example.exe minigzip.exe - @ write sys$output " Example applications available" -libz.olb : libz.olb($(OBJS)) - @ write sys$output " libz available" - -example.exe : example.obj libz.olb - link example,libz.olb/lib - -minigzip.exe : minigzip.obj libz.olb - link minigzip,libz.olb/lib,x11vms:xvmsutils.olb/lib - -clean : - delete *.obj;*,libz.olb;* - - -# Other dependencies. -adler32.obj : zutil.h zlib.h zconf.h -compress.obj : zlib.h zconf.h -crc32.obj : zutil.h zlib.h zconf.h -deflate.obj : deflate.h zutil.h zlib.h zconf.h -example.obj : zlib.h zconf.h -gzio.obj : zutil.h zlib.h zconf.h -infblock.obj : zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h -infcodes.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h -inffast.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h -inflate.obj : zutil.h zlib.h zconf.h infblock.h -inftrees.obj : zutil.h zlib.h zconf.h inftrees.h -infutil.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h -minigzip.obj : zlib.h zconf.h -trees.obj : deflate.h zutil.h zlib.h zconf.h -uncompr.obj : zlib.h zconf.h -zutil.obj : zutil.h zlib.h zconf.h diff --git a/extra/zlib/zlib-1.3.1/old/os2/Makefile.os2 b/extra/zlib/zlib-1.3.1/old/os2/Makefile.os2 deleted file mode 100644 index bb426c0d8e68..000000000000 --- a/extra/zlib/zlib-1.3.1/old/os2/Makefile.os2 +++ /dev/null @@ -1,136 +0,0 @@ -# Makefile for zlib under OS/2 using GCC (PGCC) -# For conditions of distribution and use, see copyright notice in zlib.h - -# To compile and test, type: -# cp Makefile.os2 .. -# cd .. -# make -f Makefile.os2 test - -# This makefile will build a static library z.lib, a shared library -# z.dll and a import library zdll.lib. You can use either z.lib or -# zdll.lib by specifying either -lz or -lzdll on gcc's command line - -CC=gcc -Zomf -s - -CFLAGS=-O6 -Wall -#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 -#CFLAGS=-g -DZLIB_DEBUG -#CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ -# -Wstrict-prototypes -Wmissing-prototypes - -#################### BUG WARNING: ##################### -## infcodes.c hits a bug in pgcc-1.0, so you have to use either -## -O# where # <= 4 or one of (-fno-ommit-frame-pointer or -fno-force-mem) -## This bug is reportedly fixed in pgcc >1.0, but this was not tested -CFLAGS+=-fno-force-mem - -LDFLAGS=-s -L. -lzdll -Zcrtdll -LDSHARED=$(CC) -s -Zomf -Zdll -Zcrtdll - -VER=1.1.0 -ZLIB=z.lib -SHAREDLIB=z.dll -SHAREDLIBIMP=zdll.lib -LIBS=$(ZLIB) $(SHAREDLIB) $(SHAREDLIBIMP) - -AR=emxomfar cr -IMPLIB=emximp -RANLIB=echo -TAR=tar -SHELL=bash - -prefix=/usr/local -exec_prefix = $(prefix) - -OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \ - zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o - -TEST_OBJS = example.o minigzip.o - -DISTFILES = README INDEX ChangeLog configure Make*[a-z0-9] *.[ch] descrip.mms \ - algorithm.txt zlib.3 msdos/Make*[a-z0-9] msdos/zlib.def msdos/zlib.rc \ - nt/Makefile.nt nt/zlib.dnt contrib/README.contrib contrib/*.txt \ - contrib/asm386/*.asm contrib/asm386/*.c \ - contrib/asm386/*.bat contrib/asm386/zlibvc.d?? contrib/iostream/*.cpp \ - contrib/iostream/*.h contrib/iostream2/*.h contrib/iostream2/*.cpp \ - contrib/untgz/Makefile contrib/untgz/*.c contrib/untgz/*.w32 - -all: example.exe minigzip.exe - -test: all - @LD_LIBRARY_PATH=.:$(LD_LIBRARY_PATH) ; export LD_LIBRARY_PATH; \ - echo hello world | ./minigzip | ./minigzip -d || \ - echo ' *** minigzip test FAILED ***' ; \ - if ./example; then \ - echo ' *** zlib test OK ***'; \ - else \ - echo ' *** zlib test FAILED ***'; \ - fi - -$(ZLIB): $(OBJS) - $(AR) $@ $(OBJS) - -@ ($(RANLIB) $@ || true) >/dev/null 2>&1 - -$(SHAREDLIB): $(OBJS) os2/z.def - $(LDSHARED) -o $@ $^ - -$(SHAREDLIBIMP): os2/z.def - $(IMPLIB) -o $@ $^ - -example.exe: example.o $(LIBS) - $(CC) $(CFLAGS) -o $@ example.o $(LDFLAGS) - -minigzip.exe: minigzip.o $(LIBS) - $(CC) $(CFLAGS) -o $@ minigzip.o $(LDFLAGS) - -clean: - rm -f *.o *~ example minigzip libz.a libz.so* foo.gz - -distclean: clean - -zip: - mv Makefile Makefile~; cp -p Makefile.in Makefile - rm -f test.c ztest*.c - v=`sed -n -e 's/\.//g' -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h`;\ - zip -ul9 zlib$$v $(DISTFILES) - mv Makefile~ Makefile - -dist: - mv Makefile Makefile~; cp -p Makefile.in Makefile - rm -f test.c ztest*.c - d=zlib-`sed -n '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h`;\ - rm -f $$d.tar.gz; \ - if test ! -d ../$$d; then rm -f ../$$d; ln -s `pwd` ../$$d; fi; \ - files=""; \ - for f in $(DISTFILES); do files="$$files $$d/$$f"; done; \ - cd ..; \ - GZIP=-9 $(TAR) chofz $$d/$$d.tar.gz $$files; \ - if test ! -d $$d; then rm -f $$d; fi - mv Makefile~ Makefile - -tags: - etags *.[ch] - -depend: - makedepend -- $(CFLAGS) -- *.[ch] - -# DO NOT DELETE THIS LINE -- make depend depends on it. - -adler32.o: zlib.h zconf.h -compress.o: zlib.h zconf.h -crc32.o: zlib.h zconf.h -deflate.o: deflate.h zutil.h zlib.h zconf.h -example.o: zlib.h zconf.h -gzio.o: zutil.h zlib.h zconf.h -infblock.o: infblock.h inftrees.h infcodes.h infutil.h zutil.h zlib.h zconf.h -infcodes.o: zutil.h zlib.h zconf.h -infcodes.o: inftrees.h infblock.h infcodes.h infutil.h inffast.h -inffast.o: zutil.h zlib.h zconf.h inftrees.h -inffast.o: infblock.h infcodes.h infutil.h inffast.h -inflate.o: zutil.h zlib.h zconf.h infblock.h -inftrees.o: zutil.h zlib.h zconf.h inftrees.h -infutil.o: zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h -minigzip.o: zlib.h zconf.h -trees.o: deflate.h zutil.h zlib.h zconf.h trees.h -uncompr.o: zlib.h zconf.h -zutil.o: zutil.h zlib.h zconf.h diff --git a/extra/zlib/zlib-1.3.1/old/os2/zlib.def b/extra/zlib/zlib-1.3.1/old/os2/zlib.def deleted file mode 100644 index 4c753f1a3b99..000000000000 --- a/extra/zlib/zlib-1.3.1/old/os2/zlib.def +++ /dev/null @@ -1,51 +0,0 @@ -; -; Slightly modified version of ../nt/zlib.dnt :-) -; - -LIBRARY Z -DESCRIPTION "Zlib compression library for OS/2" -CODE PRELOAD MOVEABLE DISCARDABLE -DATA PRELOAD MOVEABLE MULTIPLE - -EXPORTS - adler32 - compress - crc32 - deflate - deflateCopy - deflateEnd - deflateInit2_ - deflateInit_ - deflateParams - deflateReset - deflateSetDictionary - gzclose - gzdopen - gzerror - gzflush - gzopen - gzread - gzwrite - inflate - inflateEnd - inflateInit2_ - inflateInit_ - inflateReset - inflateSetDictionary - inflateSync - uncompress - zlibVersion - gzprintf - gzputc - gzgetc - gzseek - gzrewind - gztell - gzeof - gzsetparams - zError - inflateSyncPoint - get_crc_table - compress2 - gzputs - gzgets diff --git a/extra/zlib/zlib-1.3.1/old/visual-basic.txt b/extra/zlib/zlib-1.3.1/old/visual-basic.txt deleted file mode 100644 index 3c8d2a42dfca..000000000000 --- a/extra/zlib/zlib-1.3.1/old/visual-basic.txt +++ /dev/null @@ -1,160 +0,0 @@ -See below some functions declarations for Visual Basic. - -Frequently Asked Question: - -Q: Each time I use the compress function I get the -5 error (not enough - room in the output buffer). - -A: Make sure that the length of the compressed buffer is passed by - reference ("as any"), not by value ("as long"). Also check that - before the call of compress this length is equal to the total size of - the compressed buffer and not zero. - - -From: "Jon Caruana" -Subject: Re: How to port zlib declares to vb? -Date: Mon, 28 Oct 1996 18:33:03 -0600 - -Got the answer! (I haven't had time to check this but it's what I got, and -looks correct): - -He has the following routines working: - compress - uncompress - gzopen - gzwrite - gzread - gzclose - -Declares follow: (Quoted from Carlos Rios , in Vb4 form) - -#If Win16 Then 'Use Win16 calls. -Declare Function compress Lib "ZLIB.DLL" (ByVal compr As - String, comprLen As Any, ByVal buf As String, ByVal buflen - As Long) As Integer -Declare Function uncompress Lib "ZLIB.DLL" (ByVal uncompr - As String, uncomprLen As Any, ByVal compr As String, ByVal - lcompr As Long) As Integer -Declare Function gzopen Lib "ZLIB.DLL" (ByVal filePath As - String, ByVal mode As String) As Long -Declare Function gzread Lib "ZLIB.DLL" (ByVal file As - Long, ByVal uncompr As String, ByVal uncomprLen As Integer) - As Integer -Declare Function gzwrite Lib "ZLIB.DLL" (ByVal file As - Long, ByVal uncompr As String, ByVal uncomprLen As Integer) - As Integer -Declare Function gzclose Lib "ZLIB.DLL" (ByVal file As - Long) As Integer -#Else -Declare Function compress Lib "ZLIB32.DLL" - (ByVal compr As String, comprLen As Any, ByVal buf As - String, ByVal buflen As Long) As Integer -Declare Function uncompress Lib "ZLIB32.DLL" - (ByVal uncompr As String, uncomprLen As Any, ByVal compr As - String, ByVal lcompr As Long) As Long -Declare Function gzopen Lib "ZLIB32.DLL" - (ByVal file As String, ByVal mode As String) As Long -Declare Function gzread Lib "ZLIB32.DLL" - (ByVal file As Long, ByVal uncompr As String, ByVal - uncomprLen As Long) As Long -Declare Function gzwrite Lib "ZLIB32.DLL" - (ByVal file As Long, ByVal uncompr As String, ByVal - uncomprLen As Long) As Long -Declare Function gzclose Lib "ZLIB32.DLL" - (ByVal file As Long) As Long -#End If - --Jon Caruana -jon-net@usa.net -Microsoft Sitebuilder Network Level 1 Member - HTML Writer's Guild Member - - -Here is another example from Michael that he -says conforms to the VB guidelines, and that solves the problem of not -knowing the uncompressed size by storing it at the end of the file: - -'Calling the functions: -'bracket meaning: [optional] {Range of possible values} -'Call subCompressFile( [, , [level of compression {1..9}]]) -'Call subUncompressFile() - -Option Explicit -Private lngpvtPcnSml As Long 'Stores value for 'lngPercentSmaller' -Private Const SUCCESS As Long = 0 -Private Const strFilExt As String = ".cpr" -Private Declare Function lngfncCpr Lib "zlib.dll" Alias "compress2" (ByRef -dest As Any, ByRef destLen As Any, ByRef src As Any, ByVal srcLen As Long, -ByVal level As Integer) As Long -Private Declare Function lngfncUcp Lib "zlib.dll" Alias "uncompress" (ByRef -dest As Any, ByRef destLen As Any, ByRef src As Any, ByVal srcLen As Long) -As Long - -Public Sub subCompressFile(ByVal strargOriFilPth As String, Optional ByVal -strargCprFilPth As String, Optional ByVal intLvl As Integer = 9) - Dim strCprPth As String - Dim lngOriSiz As Long - Dim lngCprSiz As Long - Dim bytaryOri() As Byte - Dim bytaryCpr() As Byte - lngOriSiz = FileLen(strargOriFilPth) - ReDim bytaryOri(lngOriSiz - 1) - Open strargOriFilPth For Binary Access Read As #1 - Get #1, , bytaryOri() - Close #1 - strCprPth = IIf(strargCprFilPth = "", strargOriFilPth, strargCprFilPth) -'Select file path and name - strCprPth = strCprPth & IIf(Right(strCprPth, Len(strFilExt)) = -strFilExt, "", strFilExt) 'Add file extension if not exists - lngCprSiz = (lngOriSiz * 1.01) + 12 'Compression needs temporary a bit -more space then original file size - ReDim bytaryCpr(lngCprSiz - 1) - If lngfncCpr(bytaryCpr(0), lngCprSiz, bytaryOri(0), lngOriSiz, intLvl) = -SUCCESS Then - lngpvtPcnSml = (1# - (lngCprSiz / lngOriSiz)) * 100 - ReDim Preserve bytaryCpr(lngCprSiz - 1) - Open strCprPth For Binary Access Write As #1 - Put #1, , bytaryCpr() - Put #1, , lngOriSiz 'Add the original size value to the end -(last 4 bytes) - Close #1 - Else - MsgBox "Compression error" - End If - Erase bytaryCpr - Erase bytaryOri -End Sub - -Public Sub subUncompressFile(ByVal strargFilPth As String) - Dim bytaryCpr() As Byte - Dim bytaryOri() As Byte - Dim lngOriSiz As Long - Dim lngCprSiz As Long - Dim strOriPth As String - lngCprSiz = FileLen(strargFilPth) - ReDim bytaryCpr(lngCprSiz - 1) - Open strargFilPth For Binary Access Read As #1 - Get #1, , bytaryCpr() - Close #1 - 'Read the original file size value: - lngOriSiz = bytaryCpr(lngCprSiz - 1) * (2 ^ 24) _ - + bytaryCpr(lngCprSiz - 2) * (2 ^ 16) _ - + bytaryCpr(lngCprSiz - 3) * (2 ^ 8) _ - + bytaryCpr(lngCprSiz - 4) - ReDim Preserve bytaryCpr(lngCprSiz - 5) 'Cut of the original size value - ReDim bytaryOri(lngOriSiz - 1) - If lngfncUcp(bytaryOri(0), lngOriSiz, bytaryCpr(0), lngCprSiz) = SUCCESS -Then - strOriPth = Left(strargFilPth, Len(strargFilPth) - Len(strFilExt)) - Open strOriPth For Binary Access Write As #1 - Put #1, , bytaryOri() - Close #1 - Else - MsgBox "Uncompression error" - End If - Erase bytaryCpr - Erase bytaryOri -End Sub -Public Property Get lngPercentSmaller() As Long - lngPercentSmaller = lngpvtPcnSml -End Property diff --git a/extra/zlib/zlib-1.3.1/os400/README400 b/extra/zlib/zlib-1.3.1/os400/README400 deleted file mode 100644 index 30ed5a12c686..000000000000 --- a/extra/zlib/zlib-1.3.1/os400/README400 +++ /dev/null @@ -1,48 +0,0 @@ - ZLIB version 1.3.1 for OS/400 installation instructions - -1) Download and unpack the zlib tarball to some IFS directory. - (i.e.: /path/to/the/zlib/ifs/source/directory) - - If the installed IFS command supports gzip format, this is straightforward, -else you have to unpack first to some directory on a system supporting it, -then move the whole directory to the IFS via the network (via SMB or FTP). - -2) Edit the configuration parameters in the compilation script. - - EDTF STMF('/path/to/the/zlib/ifs/source/directory/os400/make.sh') - -Tune the parameters according to your needs if not matching the defaults. -Save the file and exit after edition. - -3) Enter qshell, then work in the zlib OS/400 specific directory. - - QSH - cd /path/to/the/zlib/ifs/source/directory/os400 - -4) Compile and install - - sh make.sh - -The script will: -- create the libraries, objects and IFS directories for the zlib environment, -- compile all modules, -- create a service program, -- create a static and a dynamic binding directory, -- install header files for C/C++ and for ILE/RPG, both for compilation in - DB2 and IFS environments. - -That's all. - - -Notes: For OS/400 ILE RPG programmers, a /copy member defining the ZLIB - API prototypes for ILE RPG can be found in ZLIB/H(ZLIB.INC). - In the ILE environment, the same definitions are available from - file zlib.inc located in the same IFS include directory as the - C/C++ header files. - Please read comments in this member for more information. - - Remember that most foreign textual data are ASCII coded: this - implementation does not handle conversion from/to ASCII, so - text data code conversions must be done explicitly. - - Mainly for the reason above, always open zipped files in binary mode. diff --git a/extra/zlib/zlib-1.3.1/os400/bndsrc b/extra/zlib/zlib-1.3.1/os400/bndsrc deleted file mode 100644 index 9f92bb10cf37..000000000000 --- a/extra/zlib/zlib-1.3.1/os400/bndsrc +++ /dev/null @@ -1,127 +0,0 @@ -STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB') - -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ -/* Version 1.1.3 entry points. */ -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ - - EXPORT SYMBOL("adler32") - EXPORT SYMBOL("compress") - EXPORT SYMBOL("compress2") - EXPORT SYMBOL("crc32") - EXPORT SYMBOL("get_crc_table") - EXPORT SYMBOL("deflate") - EXPORT SYMBOL("deflateEnd") - EXPORT SYMBOL("deflateSetDictionary") - EXPORT SYMBOL("deflateCopy") - EXPORT SYMBOL("deflateReset") - EXPORT SYMBOL("deflateParams") - EXPORT SYMBOL("deflatePrime") - EXPORT SYMBOL("deflateInit_") - EXPORT SYMBOL("deflateInit2_") - EXPORT SYMBOL("gzopen") - EXPORT SYMBOL("gzdopen") - EXPORT SYMBOL("gzsetparams") - EXPORT SYMBOL("gzread") - EXPORT SYMBOL("gzwrite") - EXPORT SYMBOL("gzprintf") - EXPORT SYMBOL("gzputs") - EXPORT SYMBOL("gzgets") - EXPORT SYMBOL("gzputc") - EXPORT SYMBOL("gzgetc") - EXPORT SYMBOL("gzflush") - EXPORT SYMBOL("gzseek") - EXPORT SYMBOL("gzrewind") - EXPORT SYMBOL("gztell") - EXPORT SYMBOL("gzeof") - EXPORT SYMBOL("gzclose") - EXPORT SYMBOL("gzerror") - EXPORT SYMBOL("inflate") - EXPORT SYMBOL("inflateEnd") - EXPORT SYMBOL("inflateSetDictionary") - EXPORT SYMBOL("inflateSync") - EXPORT SYMBOL("inflateReset") - EXPORT SYMBOL("inflateInit_") - EXPORT SYMBOL("inflateInit2_") - EXPORT SYMBOL("inflateSyncPoint") - EXPORT SYMBOL("uncompress") - EXPORT SYMBOL("zlibVersion") - EXPORT SYMBOL("zError") - EXPORT SYMBOL("z_errmsg") - -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ -/* Version 1.2.1 additional entry points. */ -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ - - EXPORT SYMBOL("compressBound") - EXPORT SYMBOL("deflateBound") - EXPORT SYMBOL("deflatePending") - EXPORT SYMBOL("gzungetc") - EXPORT SYMBOL("gzclearerr") - EXPORT SYMBOL("inflateBack") - EXPORT SYMBOL("inflateBackEnd") - EXPORT SYMBOL("inflateBackInit_") - EXPORT SYMBOL("inflateCopy") - EXPORT SYMBOL("zlibCompileFlags") - -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ -/* Version 1.2.4 additional entry points. */ -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ - - EXPORT SYMBOL("adler32_combine") - EXPORT SYMBOL("adler32_combine64") - EXPORT SYMBOL("crc32_combine") - EXPORT SYMBOL("crc32_combine64") - EXPORT SYMBOL("deflateSetHeader") - EXPORT SYMBOL("deflateTune") - EXPORT SYMBOL("gzbuffer") - EXPORT SYMBOL("gzclose_r") - EXPORT SYMBOL("gzclose_w") - EXPORT SYMBOL("gzdirect") - EXPORT SYMBOL("gzoffset") - EXPORT SYMBOL("gzoffset64") - EXPORT SYMBOL("gzopen64") - EXPORT SYMBOL("gzseek64") - EXPORT SYMBOL("gztell64") - EXPORT SYMBOL("inflateGetHeader") - EXPORT SYMBOL("inflateMark") - EXPORT SYMBOL("inflatePrime") - EXPORT SYMBOL("inflateReset2") - EXPORT SYMBOL("inflateUndermine") - -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ -/* Version 1.2.6 additional entry points. */ -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ - - EXPORT SYMBOL("deflateResetKeep") - EXPORT SYMBOL("gzgetc_") - EXPORT SYMBOL("inflateResetKeep") - -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ -/* Version 1.2.8 additional entry points. */ -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ - - EXPORT SYMBOL("gzvprintf") - EXPORT SYMBOL("inflateGetDictionary") - -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ -/* Version 1.2.9 additional entry points. */ -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ - - EXPORT SYMBOL("adler32_z") - EXPORT SYMBOL("crc32_z") - EXPORT SYMBOL("deflateGetDictionary") - EXPORT SYMBOL("gzfread") - EXPORT SYMBOL("gzfwrite") - EXPORT SYMBOL("inflateCodesUsed") - EXPORT SYMBOL("inflateValidate") - EXPORT SYMBOL("uncompress2") - -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ -/* Version 1.2.12 additional entry points. */ -/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ - - EXPORT SYMBOL("crc32_combine_gen64") - EXPORT SYMBOL("crc32_combine_gen") - EXPORT SYMBOL("crc32_combine_op") - -ENDPGMEXP diff --git a/extra/zlib/zlib-1.3.1/os400/make.sh b/extra/zlib/zlib-1.3.1/os400/make.sh deleted file mode 100644 index 19eec117a678..000000000000 --- a/extra/zlib/zlib-1.3.1/os400/make.sh +++ /dev/null @@ -1,366 +0,0 @@ -#!/bin/sh -# -# ZLIB compilation script for the OS/400. -# -# -# This is a shell script since make is not a standard component of OS/400. - - -################################################################################ -# -# Tunable configuration parameters. -# -################################################################################ - -TARGETLIB='ZLIB' # Target OS/400 program library -STATBNDDIR='ZLIB_A' # Static binding directory. -DYNBNDDIR='ZLIB' # Dynamic binding directory. -SRVPGM="ZLIB" # Service program. -IFSDIR='/zlib' # IFS support base directory. -TGTCCSID='500' # Target CCSID of objects -DEBUG='*NONE' # Debug level -OPTIMIZE='40' # Optimisation level -OUTPUT='*NONE' # Compilation output option. -TGTRLS='V6R1M0' # Target OS release - -export TARGETLIB STATBNDDIR DYNBNDDIR SRVPGM IFSDIR -export TGTCCSID DEBUG OPTIMIZE OUTPUT TGTRLS - - -################################################################################ -# -# OS/400 specific definitions. -# -################################################################################ - -LIBIFSNAME="/QSYS.LIB/${TARGETLIB}.LIB" - - -################################################################################ -# -# Procedures. -# -################################################################################ - -# action_needed dest [src] -# -# dest is an object to build -# if specified, src is an object on which dest depends. -# -# exit 0 (succeeds) if some action has to be taken, else 1. - -action_needed() - -{ - [ ! -e "${1}" ] && return 0 - [ "${2}" ] || return 1 - [ "${1}" -ot "${2}" ] && return 0 - return 1 -} - - -# make_module module_name source_name [additional_definitions] -# -# Compile source name into module if needed. -# As side effect, append the module name to variable MODULES. -# Set LINK to "YES" if the module has been compiled. - -make_module() - -{ - MODULES="${MODULES} ${1}" - MODIFSNAME="${LIBIFSNAME}/${1}.MODULE" - CSRC="`basename \"${2}\"`" - - if action_needed "${MODIFSNAME}" "${2}" - then : - elif [ ! "`sed -e \"//,/<\\\\/source>/!d\" \ - -e '/ tmphdrfile - - # Need to translate to target CCSID. - - CMD="CPY OBJ('`pwd`/tmphdrfile') TOOBJ('${DEST}')" - CMD="${CMD} TOCCSID(${TGTCCSID}) DTAFMT(*TEXT) REPLACE(*YES)" - system "${CMD}" - # touch -r "${HFILE}" "${DEST}" - rm -f tmphdrfile - fi - - IFSFILE="${IFSDIR}/include/`basename \"${HFILE}\"`" - - if action_needed "${IFSFILE}" "${DEST}" - then rm -f "${IFSFILE}" - ln -s "${DEST}" "${IFSFILE}" - fi -done - - -# Install the ILE/RPG header file. - - -HFILE="${SCRIPTDIR}/zlib.inc" -DEST="${SRCPF}/ZLIB.INC.MBR" - -if action_needed "${DEST}" "${HFILE}" -then CMD="CPY OBJ('${HFILE}') TOOBJ('${DEST}')" - CMD="${CMD} TOCCSID(${TGTCCSID}) DTAFMT(*TEXT) REPLACE(*YES)" - system "${CMD}" - # touch -r "${HFILE}" "${DEST}" -fi - -IFSFILE="${IFSDIR}/include/`basename \"${HFILE}\"`" - -if action_needed "${IFSFILE}" "${DEST}" -then rm -f "${IFSFILE}" - ln -s "${DEST}" "${IFSFILE}" -fi - - -# Create and compile the identification source file. - -echo '#pragma comment(user, "ZLIB version '"${VERSION}"'")' > os400.c -echo '#pragma comment(user, __DATE__)' >> os400.c -echo '#pragma comment(user, __TIME__)' >> os400.c -echo '#pragma comment(copyright, "Copyright (C) 1995-2017 Jean-Loup Gailly, Mark Adler. OS/400 version by P. Monnerat.")' >> os400.c -make_module OS400 os400.c -LINK= # No need to rebuild service program yet. -MODULES= - - -# Get source list. - -CSOURCES=`sed -e '/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Library - - Medium - - 2.0 - - - - zlib - zlib - alain.bonnefoy@icbt.com - Public - public - www.gzip.org/zlib - - - Jean-Loup Gailly,Mark Adler - www.gzip.org/zlib - - zlib@gzip.org - - - A massively spiffy yet delicately unobtrusive compression library. - zlib is designed to be a free, general-purpose, legally unencumbered, lossless data compression library for use on virtually any computer hardware and operating system. - http://www.gzip.org/zlib - - - - - 1.3.1 - Medium - Stable - - - - - - - No License - - - - Software Development/Libraries and Extensions/C Libraries - zlib,compression - qnx6 - qnx6 - None - Developer - - - - - - - - - - - - - - Install - Post - No - Ignore - - No - Optional - - - - - - - - - - - - - InstallOver - zlib - - - - - - - - - - - - - InstallOver - zlib-dev - - - - - - - - - diff --git a/extra/zlib/zlib-1.3.1/test/example.c b/extra/zlib/zlib-1.3.1/test/example.c deleted file mode 100644 index c3521dd5934f..000000000000 --- a/extra/zlib/zlib-1.3.1/test/example.c +++ /dev/null @@ -1,546 +0,0 @@ -/* example.c -- usage example of the zlib compression library - * Copyright (C) 1995-2006, 2011, 2016 Jean-loup Gailly - * For conditions of distribution and use, see copyright notice in zlib.h - */ - -/* @(#) $Id$ */ - -#include "zlib.h" -#include - -#ifdef STDC -# include -# include -#endif - -#if defined(VMS) || defined(RISCOS) -# define TESTFILE "foo-gz" -#else -# define TESTFILE "foo.gz" -#endif - -#define CHECK_ERR(err, msg) { \ - if (err != Z_OK) { \ - fprintf(stderr, "%s error: %d\n", msg, err); \ - exit(1); \ - } \ -} - -static z_const char hello[] = "hello, hello!"; -/* "hello world" would be more standard, but the repeated "hello" - * stresses the compression code better, sorry... - */ - -static const char dictionary[] = "hello"; -static uLong dictId; /* Adler32 value of the dictionary */ - -#ifdef Z_SOLO - -static void *myalloc(void *q, unsigned n, unsigned m) { - (void)q; - return calloc(n, m); -} - -static void myfree(void *q, void *p) { - (void)q; - free(p); -} - -static alloc_func zalloc = myalloc; -static free_func zfree = myfree; - -#else /* !Z_SOLO */ - -static alloc_func zalloc = (alloc_func)0; -static free_func zfree = (free_func)0; - -/* =========================================================================== - * Test compress() and uncompress() - */ -static void test_compress(Byte *compr, uLong comprLen, Byte *uncompr, - uLong uncomprLen) { - int err; - uLong len = (uLong)strlen(hello)+1; - - err = compress(compr, &comprLen, (const Bytef*)hello, len); - CHECK_ERR(err, "compress"); - - strcpy((char*)uncompr, "garbage"); - - err = uncompress(uncompr, &uncomprLen, compr, comprLen); - CHECK_ERR(err, "uncompress"); - - if (strcmp((char*)uncompr, hello)) { - fprintf(stderr, "bad uncompress\n"); - exit(1); - } else { - printf("uncompress(): %s\n", (char *)uncompr); - } -} - -/* =========================================================================== - * Test read/write of .gz files - */ -static void test_gzio(const char *fname, Byte *uncompr, uLong uncomprLen) { -#ifdef NO_GZCOMPRESS - fprintf(stderr, "NO_GZCOMPRESS -- gz* functions cannot compress\n"); -#else - int err; - int len = (int)strlen(hello)+1; - gzFile file; - z_off_t pos; - - file = gzopen(fname, "wb"); - if (file == NULL) { - fprintf(stderr, "gzopen error\n"); - exit(1); - } - gzputc(file, 'h'); - if (gzputs(file, "ello") != 4) { - fprintf(stderr, "gzputs err: %s\n", gzerror(file, &err)); - exit(1); - } - if (gzprintf(file, ", %s!", "hello") != 8) { - fprintf(stderr, "gzprintf err: %s\n", gzerror(file, &err)); - exit(1); - } - gzseek(file, 1L, SEEK_CUR); /* add one zero byte */ - gzclose(file); - - file = gzopen(fname, "rb"); - if (file == NULL) { - fprintf(stderr, "gzopen error\n"); - exit(1); - } - strcpy((char*)uncompr, "garbage"); - - if (gzread(file, uncompr, (unsigned)uncomprLen) != len) { - fprintf(stderr, "gzread err: %s\n", gzerror(file, &err)); - exit(1); - } - if (strcmp((char*)uncompr, hello)) { - fprintf(stderr, "bad gzread: %s\n", (char*)uncompr); - exit(1); - } else { - printf("gzread(): %s\n", (char*)uncompr); - } - - pos = gzseek(file, -8L, SEEK_CUR); - if (pos != 6 || gztell(file) != pos) { - fprintf(stderr, "gzseek error, pos=%ld, gztell=%ld\n", - (long)pos, (long)gztell(file)); - exit(1); - } - - if (gzgetc(file) != ' ') { - fprintf(stderr, "gzgetc error\n"); - exit(1); - } - - if (gzungetc(' ', file) != ' ') { - fprintf(stderr, "gzungetc error\n"); - exit(1); - } - - gzgets(file, (char*)uncompr, (int)uncomprLen); - if (strlen((char*)uncompr) != 7) { /* " hello!" */ - fprintf(stderr, "gzgets err after gzseek: %s\n", gzerror(file, &err)); - exit(1); - } - if (strcmp((char*)uncompr, hello + 6)) { - fprintf(stderr, "bad gzgets after gzseek\n"); - exit(1); - } else { - printf("gzgets() after gzseek: %s\n", (char*)uncompr); - } - - gzclose(file); -#endif -} - -#endif /* Z_SOLO */ - -/* =========================================================================== - * Test deflate() with small buffers - */ -static void test_deflate(Byte *compr, uLong comprLen) { - z_stream c_stream; /* compression stream */ - int err; - uLong len = (uLong)strlen(hello)+1; - - c_stream.zalloc = zalloc; - c_stream.zfree = zfree; - c_stream.opaque = (voidpf)0; - - err = deflateInit(&c_stream, Z_DEFAULT_COMPRESSION); - CHECK_ERR(err, "deflateInit"); - - c_stream.next_in = (z_const unsigned char *)hello; - c_stream.next_out = compr; - - while (c_stream.total_in != len && c_stream.total_out < comprLen) { - c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */ - err = deflate(&c_stream, Z_NO_FLUSH); - CHECK_ERR(err, "deflate"); - } - /* Finish the stream, still forcing small buffers: */ - for (;;) { - c_stream.avail_out = 1; - err = deflate(&c_stream, Z_FINISH); - if (err == Z_STREAM_END) break; - CHECK_ERR(err, "deflate"); - } - - err = deflateEnd(&c_stream); - CHECK_ERR(err, "deflateEnd"); -} - -/* =========================================================================== - * Test inflate() with small buffers - */ -static void test_inflate(Byte *compr, uLong comprLen, Byte *uncompr, - uLong uncomprLen) { - int err; - z_stream d_stream; /* decompression stream */ - - strcpy((char*)uncompr, "garbage"); - - d_stream.zalloc = zalloc; - d_stream.zfree = zfree; - d_stream.opaque = (voidpf)0; - - d_stream.next_in = compr; - d_stream.avail_in = 0; - d_stream.next_out = uncompr; - - err = inflateInit(&d_stream); - CHECK_ERR(err, "inflateInit"); - - while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) { - d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */ - err = inflate(&d_stream, Z_NO_FLUSH); - if (err == Z_STREAM_END) break; - CHECK_ERR(err, "inflate"); - } - - err = inflateEnd(&d_stream); - CHECK_ERR(err, "inflateEnd"); - - if (strcmp((char*)uncompr, hello)) { - fprintf(stderr, "bad inflate\n"); - exit(1); - } else { - printf("inflate(): %s\n", (char *)uncompr); - } -} - -/* =========================================================================== - * Test deflate() with large buffers and dynamic change of compression level - */ -static void test_large_deflate(Byte *compr, uLong comprLen, Byte *uncompr, - uLong uncomprLen) { - z_stream c_stream; /* compression stream */ - int err; - - c_stream.zalloc = zalloc; - c_stream.zfree = zfree; - c_stream.opaque = (voidpf)0; - - err = deflateInit(&c_stream, Z_BEST_SPEED); - CHECK_ERR(err, "deflateInit"); - - c_stream.next_out = compr; - c_stream.avail_out = (uInt)comprLen; - - /* At this point, uncompr is still mostly zeroes, so it should compress - * very well: - */ - c_stream.next_in = uncompr; - c_stream.avail_in = (uInt)uncomprLen; - err = deflate(&c_stream, Z_NO_FLUSH); - CHECK_ERR(err, "deflate"); - if (c_stream.avail_in != 0) { - fprintf(stderr, "deflate not greedy\n"); - exit(1); - } - - /* Feed in already compressed data and switch to no compression: */ - deflateParams(&c_stream, Z_NO_COMPRESSION, Z_DEFAULT_STRATEGY); - c_stream.next_in = compr; - c_stream.avail_in = (uInt)uncomprLen/2; - err = deflate(&c_stream, Z_NO_FLUSH); - CHECK_ERR(err, "deflate"); - - /* Switch back to compressing mode: */ - deflateParams(&c_stream, Z_BEST_COMPRESSION, Z_FILTERED); - c_stream.next_in = uncompr; - c_stream.avail_in = (uInt)uncomprLen; - err = deflate(&c_stream, Z_NO_FLUSH); - CHECK_ERR(err, "deflate"); - - err = deflate(&c_stream, Z_FINISH); - if (err != Z_STREAM_END) { - fprintf(stderr, "deflate should report Z_STREAM_END\n"); - exit(1); - } - err = deflateEnd(&c_stream); - CHECK_ERR(err, "deflateEnd"); -} - -/* =========================================================================== - * Test inflate() with large buffers - */ -static void test_large_inflate(Byte *compr, uLong comprLen, Byte *uncompr, - uLong uncomprLen) { - int err; - z_stream d_stream; /* decompression stream */ - - strcpy((char*)uncompr, "garbage"); - - d_stream.zalloc = zalloc; - d_stream.zfree = zfree; - d_stream.opaque = (voidpf)0; - - d_stream.next_in = compr; - d_stream.avail_in = (uInt)comprLen; - - err = inflateInit(&d_stream); - CHECK_ERR(err, "inflateInit"); - - for (;;) { - d_stream.next_out = uncompr; /* discard the output */ - d_stream.avail_out = (uInt)uncomprLen; - err = inflate(&d_stream, Z_NO_FLUSH); - if (err == Z_STREAM_END) break; - CHECK_ERR(err, "large inflate"); - } - - err = inflateEnd(&d_stream); - CHECK_ERR(err, "inflateEnd"); - - if (d_stream.total_out != 2*uncomprLen + uncomprLen/2) { - fprintf(stderr, "bad large inflate: %ld\n", d_stream.total_out); - exit(1); - } else { - printf("large_inflate(): OK\n"); - } -} - -/* =========================================================================== - * Test deflate() with full flush - */ -static void test_flush(Byte *compr, uLong *comprLen) { - z_stream c_stream; /* compression stream */ - int err; - uInt len = (uInt)strlen(hello)+1; - - c_stream.zalloc = zalloc; - c_stream.zfree = zfree; - c_stream.opaque = (voidpf)0; - - err = deflateInit(&c_stream, Z_DEFAULT_COMPRESSION); - CHECK_ERR(err, "deflateInit"); - - c_stream.next_in = (z_const unsigned char *)hello; - c_stream.next_out = compr; - c_stream.avail_in = 3; - c_stream.avail_out = (uInt)*comprLen; - err = deflate(&c_stream, Z_FULL_FLUSH); - CHECK_ERR(err, "deflate"); - - compr[3]++; /* force an error in first compressed block */ - c_stream.avail_in = len - 3; - - err = deflate(&c_stream, Z_FINISH); - if (err != Z_STREAM_END) { - CHECK_ERR(err, "deflate"); - } - err = deflateEnd(&c_stream); - CHECK_ERR(err, "deflateEnd"); - - *comprLen = c_stream.total_out; -} - -/* =========================================================================== - * Test inflateSync() - */ -static void test_sync(Byte *compr, uLong comprLen, Byte *uncompr, - uLong uncomprLen) { - int err; - z_stream d_stream; /* decompression stream */ - - strcpy((char*)uncompr, "garbage"); - - d_stream.zalloc = zalloc; - d_stream.zfree = zfree; - d_stream.opaque = (voidpf)0; - - d_stream.next_in = compr; - d_stream.avail_in = 2; /* just read the zlib header */ - - err = inflateInit(&d_stream); - CHECK_ERR(err, "inflateInit"); - - d_stream.next_out = uncompr; - d_stream.avail_out = (uInt)uncomprLen; - - err = inflate(&d_stream, Z_NO_FLUSH); - CHECK_ERR(err, "inflate"); - - d_stream.avail_in = (uInt)comprLen-2; /* read all compressed data */ - err = inflateSync(&d_stream); /* but skip the damaged part */ - CHECK_ERR(err, "inflateSync"); - - err = inflate(&d_stream, Z_FINISH); - if (err != Z_STREAM_END) { - fprintf(stderr, "inflate should report Z_STREAM_END\n"); - exit(1); - } - err = inflateEnd(&d_stream); - CHECK_ERR(err, "inflateEnd"); - - printf("after inflateSync(): hel%s\n", (char *)uncompr); -} - -/* =========================================================================== - * Test deflate() with preset dictionary - */ -static void test_dict_deflate(Byte *compr, uLong comprLen) { - z_stream c_stream; /* compression stream */ - int err; - - c_stream.zalloc = zalloc; - c_stream.zfree = zfree; - c_stream.opaque = (voidpf)0; - - err = deflateInit(&c_stream, Z_BEST_COMPRESSION); - CHECK_ERR(err, "deflateInit"); - - err = deflateSetDictionary(&c_stream, - (const Bytef*)dictionary, (int)sizeof(dictionary)); - CHECK_ERR(err, "deflateSetDictionary"); - - dictId = c_stream.adler; - c_stream.next_out = compr; - c_stream.avail_out = (uInt)comprLen; - - c_stream.next_in = (z_const unsigned char *)hello; - c_stream.avail_in = (uInt)strlen(hello)+1; - - err = deflate(&c_stream, Z_FINISH); - if (err != Z_STREAM_END) { - fprintf(stderr, "deflate should report Z_STREAM_END\n"); - exit(1); - } - err = deflateEnd(&c_stream); - CHECK_ERR(err, "deflateEnd"); -} - -/* =========================================================================== - * Test inflate() with a preset dictionary - */ -static void test_dict_inflate(Byte *compr, uLong comprLen, Byte *uncompr, - uLong uncomprLen) { - int err; - z_stream d_stream; /* decompression stream */ - - strcpy((char*)uncompr, "garbage"); - - d_stream.zalloc = zalloc; - d_stream.zfree = zfree; - d_stream.opaque = (voidpf)0; - - d_stream.next_in = compr; - d_stream.avail_in = (uInt)comprLen; - - err = inflateInit(&d_stream); - CHECK_ERR(err, "inflateInit"); - - d_stream.next_out = uncompr; - d_stream.avail_out = (uInt)uncomprLen; - - for (;;) { - err = inflate(&d_stream, Z_NO_FLUSH); - if (err == Z_STREAM_END) break; - if (err == Z_NEED_DICT) { - if (d_stream.adler != dictId) { - fprintf(stderr, "unexpected dictionary"); - exit(1); - } - err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary, - (int)sizeof(dictionary)); - } - CHECK_ERR(err, "inflate with dict"); - } - - err = inflateEnd(&d_stream); - CHECK_ERR(err, "inflateEnd"); - - if (strcmp((char*)uncompr, hello)) { - fprintf(stderr, "bad inflate with dict\n"); - exit(1); - } else { - printf("inflate with dictionary: %s\n", (char *)uncompr); - } -} - -/* =========================================================================== - * Usage: example [output.gz [input.gz]] - */ - -int main(int argc, char *argv[]) { - Byte *compr, *uncompr; - uLong uncomprLen = 20000; - uLong comprLen = 3 * uncomprLen; - static const char* myVersion = ZLIB_VERSION; - - if (zlibVersion()[0] != myVersion[0]) { - fprintf(stderr, "incompatible zlib version\n"); - exit(1); - - } else if (strcmp(zlibVersion(), ZLIB_VERSION) != 0) { - fprintf(stderr, "warning: different zlib version linked: %s\n", - zlibVersion()); - } - - printf("zlib version %s = 0x%04x, compile flags = 0x%lx\n", - ZLIB_VERSION, ZLIB_VERNUM, zlibCompileFlags()); - - compr = (Byte*)calloc((uInt)comprLen, 1); - uncompr = (Byte*)calloc((uInt)uncomprLen, 1); - /* compr and uncompr are cleared to avoid reading uninitialized - * data and to ensure that uncompr compresses well. - */ - if (compr == Z_NULL || uncompr == Z_NULL) { - printf("out of memory\n"); - exit(1); - } - -#ifdef Z_SOLO - (void)argc; - (void)argv; -#else - test_compress(compr, comprLen, uncompr, uncomprLen); - - test_gzio((argc > 1 ? argv[1] : TESTFILE), - uncompr, uncomprLen); -#endif - - test_deflate(compr, comprLen); - test_inflate(compr, comprLen, uncompr, uncomprLen); - - test_large_deflate(compr, comprLen, uncompr, uncomprLen); - test_large_inflate(compr, comprLen, uncompr, uncomprLen); - - test_flush(compr, &comprLen); - test_sync(compr, comprLen, uncompr, uncomprLen); - comprLen = 3 * uncomprLen; - - test_dict_deflate(compr, comprLen); - test_dict_inflate(compr, comprLen, uncompr, uncomprLen); - - free(compr); - free(uncompr); - - return 0; -} diff --git a/extra/zlib/zlib-1.3.1/test/infcover.c b/extra/zlib/zlib-1.3.1/test/infcover.c deleted file mode 100644 index 8912c403dd2b..000000000000 --- a/extra/zlib/zlib-1.3.1/test/infcover.c +++ /dev/null @@ -1,672 +0,0 @@ -/* infcover.c -- test zlib's inflate routines with full code coverage - * Copyright (C) 2011, 2016 Mark Adler - * For conditions of distribution and use, see copyright notice in zlib.h - */ - -/* to use, do: ./configure --cover && make cover */ - -#include -#include -#include -#include -#include "zlib.h" - -/* get definition of internal structure so we can mess with it (see pull()), - and so we can call inflate_trees() (see cover5()) */ -#define ZLIB_INTERNAL -#include "inftrees.h" -#include "inflate.h" - -#define local static - -/* -- memory tracking routines -- */ - -/* - These memory tracking routines are provided to zlib and track all of zlib's - allocations and deallocations, check for LIFO operations, keep a current - and high water mark of total bytes requested, optionally set a limit on the - total memory that can be allocated, and when done check for memory leaks. - - They are used as follows: - - z_stream strm; - mem_setup(&strm) initializes the memory tracking and sets the - zalloc, zfree, and opaque members of strm to use - memory tracking for all zlib operations on strm - mem_limit(&strm, limit) sets a limit on the total bytes requested -- a - request that exceeds this limit will result in an - allocation failure (returns NULL) -- setting the - limit to zero means no limit, which is the default - after mem_setup() - mem_used(&strm, "msg") prints to stderr "msg" and the total bytes used - mem_high(&strm, "msg") prints to stderr "msg" and the high water mark - mem_done(&strm, "msg") ends memory tracking, releases all allocations - for the tracking as well as leaked zlib blocks, if - any. If there was anything unusual, such as leaked - blocks, non-FIFO frees, or frees of addresses not - allocated, then "msg" and information about the - problem is printed to stderr. If everything is - normal, nothing is printed. mem_done resets the - strm members to Z_NULL to use the default memory - allocation routines on the next zlib initialization - using strm. - */ - -/* these items are strung together in a linked list, one for each allocation */ -struct mem_item { - void *ptr; /* pointer to allocated memory */ - size_t size; /* requested size of allocation */ - struct mem_item *next; /* pointer to next item in list, or NULL */ -}; - -/* this structure is at the root of the linked list, and tracks statistics */ -struct mem_zone { - struct mem_item *first; /* pointer to first item in list, or NULL */ - size_t total, highwater; /* total allocations, and largest total */ - size_t limit; /* memory allocation limit, or 0 if no limit */ - int notlifo, rogue; /* counts of non-LIFO frees and rogue frees */ -}; - -/* memory allocation routine to pass to zlib */ -local void *mem_alloc(void *mem, unsigned count, unsigned size) -{ - void *ptr; - struct mem_item *item; - struct mem_zone *zone = mem; - size_t len = count * (size_t)size; - - /* induced allocation failure */ - if (zone == NULL || (zone->limit && zone->total + len > zone->limit)) - return NULL; - - /* perform allocation using the standard library, fill memory with a - non-zero value to make sure that the code isn't depending on zeros */ - ptr = malloc(len); - if (ptr == NULL) - return NULL; - memset(ptr, 0xa5, len); - - /* create a new item for the list */ - item = malloc(sizeof(struct mem_item)); - if (item == NULL) { - free(ptr); - return NULL; - } - item->ptr = ptr; - item->size = len; - - /* insert item at the beginning of the list */ - item->next = zone->first; - zone->first = item; - - /* update the statistics */ - zone->total += item->size; - if (zone->total > zone->highwater) - zone->highwater = zone->total; - - /* return the allocated memory */ - return ptr; -} - -/* memory free routine to pass to zlib */ -local void mem_free(void *mem, void *ptr) -{ - struct mem_item *item, *next; - struct mem_zone *zone = mem; - - /* if no zone, just do a free */ - if (zone == NULL) { - free(ptr); - return; - } - - /* point next to the item that matches ptr, or NULL if not found -- remove - the item from the linked list if found */ - next = zone->first; - if (next) { - if (next->ptr == ptr) - zone->first = next->next; /* first one is it, remove from list */ - else { - do { /* search the linked list */ - item = next; - next = item->next; - } while (next != NULL && next->ptr != ptr); - if (next) { /* if found, remove from linked list */ - item->next = next->next; - zone->notlifo++; /* not a LIFO free */ - } - - } - } - - /* if found, update the statistics and free the item */ - if (next) { - zone->total -= next->size; - free(next); - } - - /* if not found, update the rogue count */ - else - zone->rogue++; - - /* in any case, do the requested free with the standard library function */ - free(ptr); -} - -/* set up a controlled memory allocation space for monitoring, set the stream - parameters to the controlled routines, with opaque pointing to the space */ -local void mem_setup(z_stream *strm) -{ - struct mem_zone *zone; - - zone = malloc(sizeof(struct mem_zone)); - assert(zone != NULL); - zone->first = NULL; - zone->total = 0; - zone->highwater = 0; - zone->limit = 0; - zone->notlifo = 0; - zone->rogue = 0; - strm->opaque = zone; - strm->zalloc = mem_alloc; - strm->zfree = mem_free; -} - -/* set a limit on the total memory allocation, or 0 to remove the limit */ -local void mem_limit(z_stream *strm, size_t limit) -{ - struct mem_zone *zone = strm->opaque; - - zone->limit = limit; -} - -/* show the current total requested allocations in bytes */ -local void mem_used(z_stream *strm, char *prefix) -{ - struct mem_zone *zone = strm->opaque; - - fprintf(stderr, "%s: %lu allocated\n", prefix, zone->total); -} - -/* show the high water allocation in bytes */ -local void mem_high(z_stream *strm, char *prefix) -{ - struct mem_zone *zone = strm->opaque; - - fprintf(stderr, "%s: %lu high water mark\n", prefix, zone->highwater); -} - -/* release the memory allocation zone -- if there are any surprises, notify */ -local void mem_done(z_stream *strm, char *prefix) -{ - int count = 0; - struct mem_item *item, *next; - struct mem_zone *zone = strm->opaque; - - /* show high water mark */ - mem_high(strm, prefix); - - /* free leftover allocations and item structures, if any */ - item = zone->first; - while (item != NULL) { - free(item->ptr); - next = item->next; - free(item); - item = next; - count++; - } - - /* issue alerts about anything unexpected */ - if (count || zone->total) - fprintf(stderr, "** %s: %lu bytes in %d blocks not freed\n", - prefix, zone->total, count); - if (zone->notlifo) - fprintf(stderr, "** %s: %d frees not LIFO\n", prefix, zone->notlifo); - if (zone->rogue) - fprintf(stderr, "** %s: %d frees not recognized\n", - prefix, zone->rogue); - - /* free the zone and delete from the stream */ - free(zone); - strm->opaque = Z_NULL; - strm->zalloc = Z_NULL; - strm->zfree = Z_NULL; -} - -/* -- inflate test routines -- */ - -/* Decode a hexadecimal string, set *len to length, in[] to the bytes. This - decodes liberally, in that hex digits can be adjacent, in which case two in - a row writes a byte. Or they can be delimited by any non-hex character, - where the delimiters are ignored except when a single hex digit is followed - by a delimiter, where that single digit writes a byte. The returned data is - allocated and must eventually be freed. NULL is returned if out of memory. - If the length is not needed, then len can be NULL. */ -local unsigned char *h2b(const char *hex, unsigned *len) -{ - unsigned char *in, *re; - unsigned next, val; - - in = malloc((strlen(hex) + 1) >> 1); - if (in == NULL) - return NULL; - next = 0; - val = 1; - do { - if (*hex >= '0' && *hex <= '9') - val = (val << 4) + *hex - '0'; - else if (*hex >= 'A' && *hex <= 'F') - val = (val << 4) + *hex - 'A' + 10; - else if (*hex >= 'a' && *hex <= 'f') - val = (val << 4) + *hex - 'a' + 10; - else if (val != 1 && val < 32) /* one digit followed by delimiter */ - val += 240; /* make it look like two digits */ - if (val > 255) { /* have two digits */ - in[next++] = val & 0xff; /* save the decoded byte */ - val = 1; /* start over */ - } - } while (*hex++); /* go through the loop with the terminating null */ - if (len != NULL) - *len = next; - re = realloc(in, next); - return re == NULL ? in : re; -} - -/* generic inflate() run, where hex is the hexadecimal input data, what is the - text to include in an error message, step is how much input data to feed - inflate() on each call, or zero to feed it all, win is the window bits - parameter to inflateInit2(), len is the size of the output buffer, and err - is the error code expected from the first inflate() call (the second - inflate() call is expected to return Z_STREAM_END). If win is 47, then - header information is collected with inflateGetHeader(). If a zlib stream - is looking for a dictionary, then an empty dictionary is provided. - inflate() is run until all of the input data is consumed. */ -local void inf(char *hex, char *what, unsigned step, int win, unsigned len, - int err) -{ - int ret; - unsigned have; - unsigned char *in, *out; - z_stream strm, copy; - gz_header head; - - mem_setup(&strm); - strm.avail_in = 0; - strm.next_in = Z_NULL; - ret = inflateInit2(&strm, win); - if (ret != Z_OK) { - mem_done(&strm, what); - return; - } - out = malloc(len); assert(out != NULL); - if (win == 47) { - head.extra = out; - head.extra_max = len; - head.name = out; - head.name_max = len; - head.comment = out; - head.comm_max = len; - ret = inflateGetHeader(&strm, &head); assert(ret == Z_OK); - } - in = h2b(hex, &have); assert(in != NULL); - if (step == 0 || step > have) - step = have; - strm.avail_in = step; - have -= step; - strm.next_in = in; - do { - strm.avail_out = len; - strm.next_out = out; - ret = inflate(&strm, Z_NO_FLUSH); assert(err == 9 || ret == err); - if (ret != Z_OK && ret != Z_BUF_ERROR && ret != Z_NEED_DICT) - break; - if (ret == Z_NEED_DICT) { - ret = inflateSetDictionary(&strm, in, 1); - assert(ret == Z_DATA_ERROR); - mem_limit(&strm, 1); - ret = inflateSetDictionary(&strm, out, 0); - assert(ret == Z_MEM_ERROR); - mem_limit(&strm, 0); - ((struct inflate_state *)strm.state)->mode = DICT; - ret = inflateSetDictionary(&strm, out, 0); - assert(ret == Z_OK); - ret = inflate(&strm, Z_NO_FLUSH); assert(ret == Z_BUF_ERROR); - } - ret = inflateCopy(©, &strm); assert(ret == Z_OK); - ret = inflateEnd(©); assert(ret == Z_OK); - err = 9; /* don't care next time around */ - have += strm.avail_in; - strm.avail_in = step > have ? have : step; - have -= strm.avail_in; - } while (strm.avail_in); - free(in); - free(out); - ret = inflateReset2(&strm, -8); assert(ret == Z_OK); - ret = inflateEnd(&strm); assert(ret == Z_OK); - mem_done(&strm, what); -} - -/* cover all of the lines in inflate.c up to inflate() */ -local void cover_support(void) -{ - int ret; - z_stream strm; - - mem_setup(&strm); - strm.avail_in = 0; - strm.next_in = Z_NULL; - ret = inflateInit(&strm); assert(ret == Z_OK); - mem_used(&strm, "inflate init"); - ret = inflatePrime(&strm, 5, 31); assert(ret == Z_OK); - ret = inflatePrime(&strm, -1, 0); assert(ret == Z_OK); - ret = inflateSetDictionary(&strm, Z_NULL, 0); - assert(ret == Z_STREAM_ERROR); - ret = inflateEnd(&strm); assert(ret == Z_OK); - mem_done(&strm, "prime"); - - inf("63 0", "force window allocation", 0, -15, 1, Z_OK); - inf("63 18 5", "force window replacement", 0, -8, 259, Z_OK); - inf("63 18 68 30 d0 0 0", "force split window update", 4, -8, 259, Z_OK); - inf("3 0", "use fixed blocks", 0, -15, 1, Z_STREAM_END); - inf("", "bad window size", 0, 1, 0, Z_STREAM_ERROR); - - mem_setup(&strm); - strm.avail_in = 0; - strm.next_in = Z_NULL; - ret = inflateInit_(&strm, "!", (int)sizeof(z_stream)); - assert(ret == Z_VERSION_ERROR); - mem_done(&strm, "wrong version"); - - strm.avail_in = 0; - strm.next_in = Z_NULL; - ret = inflateInit(&strm); assert(ret == Z_OK); - ret = inflateEnd(&strm); assert(ret == Z_OK); - fputs("inflate built-in memory routines\n", stderr); -} - -/* cover all inflate() header and trailer cases and code after inflate() */ -local void cover_wrap(void) -{ - int ret; - z_stream strm, copy; - unsigned char dict[257]; - - ret = inflate(Z_NULL, 0); assert(ret == Z_STREAM_ERROR); - ret = inflateEnd(Z_NULL); assert(ret == Z_STREAM_ERROR); - ret = inflateCopy(Z_NULL, Z_NULL); assert(ret == Z_STREAM_ERROR); - fputs("inflate bad parameters\n", stderr); - - inf("1f 8b 0 0", "bad gzip method", 0, 31, 0, Z_DATA_ERROR); - inf("1f 8b 8 80", "bad gzip flags", 0, 31, 0, Z_DATA_ERROR); - inf("77 85", "bad zlib method", 0, 15, 0, Z_DATA_ERROR); - inf("8 99", "set window size from header", 0, 0, 0, Z_OK); - inf("78 9c", "bad zlib window size", 0, 8, 0, Z_DATA_ERROR); - inf("78 9c 63 0 0 0 1 0 1", "check adler32", 0, 15, 1, Z_STREAM_END); - inf("1f 8b 8 1e 0 0 0 0 0 0 1 0 0 0 0 0 0", "bad header crc", 0, 47, 1, - Z_DATA_ERROR); - inf("1f 8b 8 2 0 0 0 0 0 0 1d 26 3 0 0 0 0 0 0 0 0 0", "check gzip length", - 0, 47, 0, Z_STREAM_END); - inf("78 90", "bad zlib header check", 0, 47, 0, Z_DATA_ERROR); - inf("8 b8 0 0 0 1", "need dictionary", 0, 8, 0, Z_NEED_DICT); - inf("78 9c 63 0", "compute adler32", 0, 15, 1, Z_OK); - - mem_setup(&strm); - strm.avail_in = 0; - strm.next_in = Z_NULL; - ret = inflateInit2(&strm, -8); - strm.avail_in = 2; - strm.next_in = (void *)"\x63"; - strm.avail_out = 1; - strm.next_out = (void *)&ret; - mem_limit(&strm, 1); - ret = inflate(&strm, Z_NO_FLUSH); assert(ret == Z_MEM_ERROR); - ret = inflate(&strm, Z_NO_FLUSH); assert(ret == Z_MEM_ERROR); - mem_limit(&strm, 0); - memset(dict, 0, 257); - ret = inflateSetDictionary(&strm, dict, 257); - assert(ret == Z_OK); - mem_limit(&strm, (sizeof(struct inflate_state) << 1) + 256); - ret = inflatePrime(&strm, 16, 0); assert(ret == Z_OK); - strm.avail_in = 2; - strm.next_in = (void *)"\x80"; - ret = inflateSync(&strm); assert(ret == Z_DATA_ERROR); - ret = inflate(&strm, Z_NO_FLUSH); assert(ret == Z_STREAM_ERROR); - strm.avail_in = 4; - strm.next_in = (void *)"\0\0\xff\xff"; - ret = inflateSync(&strm); assert(ret == Z_OK); - (void)inflateSyncPoint(&strm); - ret = inflateCopy(©, &strm); assert(ret == Z_MEM_ERROR); - mem_limit(&strm, 0); - ret = inflateUndermine(&strm, 1); assert(ret == Z_DATA_ERROR); - (void)inflateMark(&strm); - ret = inflateEnd(&strm); assert(ret == Z_OK); - mem_done(&strm, "miscellaneous, force memory errors"); -} - -/* input and output functions for inflateBack() */ -local unsigned pull(void *desc, unsigned char **buf) -{ - static unsigned int next = 0; - static unsigned char dat[] = {0x63, 0, 2, 0}; - struct inflate_state *state; - - if (desc == Z_NULL) { - next = 0; - return 0; /* no input (already provided at next_in) */ - } - state = (void *)((z_stream *)desc)->state; - if (state != Z_NULL) - state->mode = SYNC; /* force an otherwise impossible situation */ - return next < sizeof(dat) ? (*buf = dat + next++, 1) : 0; -} - -local int push(void *desc, unsigned char *buf, unsigned len) -{ - (void)buf; - (void)len; - return desc != Z_NULL; /* force error if desc not null */ -} - -/* cover inflateBack() up to common deflate data cases and after those */ -local void cover_back(void) -{ - int ret; - z_stream strm; - unsigned char win[32768]; - - ret = inflateBackInit_(Z_NULL, 0, win, 0, 0); - assert(ret == Z_VERSION_ERROR); - ret = inflateBackInit(Z_NULL, 0, win); assert(ret == Z_STREAM_ERROR); - ret = inflateBack(Z_NULL, Z_NULL, Z_NULL, Z_NULL, Z_NULL); - assert(ret == Z_STREAM_ERROR); - ret = inflateBackEnd(Z_NULL); assert(ret == Z_STREAM_ERROR); - fputs("inflateBack bad parameters\n", stderr); - - mem_setup(&strm); - ret = inflateBackInit(&strm, 15, win); assert(ret == Z_OK); - strm.avail_in = 2; - strm.next_in = (void *)"\x03"; - ret = inflateBack(&strm, pull, Z_NULL, push, Z_NULL); - assert(ret == Z_STREAM_END); - /* force output error */ - strm.avail_in = 3; - strm.next_in = (void *)"\x63\x00"; - ret = inflateBack(&strm, pull, Z_NULL, push, &strm); - assert(ret == Z_BUF_ERROR); - /* force mode error by mucking with state */ - ret = inflateBack(&strm, pull, &strm, push, Z_NULL); - assert(ret == Z_STREAM_ERROR); - ret = inflateBackEnd(&strm); assert(ret == Z_OK); - mem_done(&strm, "inflateBack bad state"); - - ret = inflateBackInit(&strm, 15, win); assert(ret == Z_OK); - ret = inflateBackEnd(&strm); assert(ret == Z_OK); - fputs("inflateBack built-in memory routines\n", stderr); -} - -/* do a raw inflate of data in hexadecimal with both inflate and inflateBack */ -local int try(char *hex, char *id, int err) -{ - int ret; - unsigned len, size; - unsigned char *in, *out, *win; - char *prefix; - z_stream strm; - - /* convert to hex */ - in = h2b(hex, &len); - assert(in != NULL); - - /* allocate work areas */ - size = len << 3; - out = malloc(size); - assert(out != NULL); - win = malloc(32768); - assert(win != NULL); - prefix = malloc(strlen(id) + 6); - assert(prefix != NULL); - - /* first with inflate */ - strcpy(prefix, id); - strcat(prefix, "-late"); - mem_setup(&strm); - strm.avail_in = 0; - strm.next_in = Z_NULL; - ret = inflateInit2(&strm, err < 0 ? 47 : -15); - assert(ret == Z_OK); - strm.avail_in = len; - strm.next_in = in; - do { - strm.avail_out = size; - strm.next_out = out; - ret = inflate(&strm, Z_TREES); - assert(ret != Z_STREAM_ERROR && ret != Z_MEM_ERROR); - if (ret == Z_DATA_ERROR || ret == Z_NEED_DICT) - break; - } while (strm.avail_in || strm.avail_out == 0); - if (err) { - assert(ret == Z_DATA_ERROR); - assert(strcmp(id, strm.msg) == 0); - } - inflateEnd(&strm); - mem_done(&strm, prefix); - - /* then with inflateBack */ - if (err >= 0) { - strcpy(prefix, id); - strcat(prefix, "-back"); - mem_setup(&strm); - ret = inflateBackInit(&strm, 15, win); - assert(ret == Z_OK); - strm.avail_in = len; - strm.next_in = in; - ret = inflateBack(&strm, pull, Z_NULL, push, Z_NULL); - assert(ret != Z_STREAM_ERROR); - if (err) { - assert(ret == Z_DATA_ERROR); - assert(strcmp(id, strm.msg) == 0); - } - inflateBackEnd(&strm); - mem_done(&strm, prefix); - } - - /* clean up */ - free(prefix); - free(win); - free(out); - free(in); - return ret; -} - -/* cover deflate data cases in both inflate() and inflateBack() */ -local void cover_inflate(void) -{ - try("0 0 0 0 0", "invalid stored block lengths", 1); - try("3 0", "fixed", 0); - try("6", "invalid block type", 1); - try("1 1 0 fe ff 0", "stored", 0); - try("fc 0 0", "too many length or distance symbols", 1); - try("4 0 fe ff", "invalid code lengths set", 1); - try("4 0 24 49 0", "invalid bit length repeat", 1); - try("4 0 24 e9 ff ff", "invalid bit length repeat", 1); - try("4 0 24 e9 ff 6d", "invalid code -- missing end-of-block", 1); - try("4 80 49 92 24 49 92 24 71 ff ff 93 11 0", - "invalid literal/lengths set", 1); - try("4 80 49 92 24 49 92 24 f b4 ff ff c3 84", "invalid distances set", 1); - try("4 c0 81 8 0 0 0 0 20 7f eb b 0 0", "invalid literal/length code", 1); - try("2 7e ff ff", "invalid distance code", 1); - try("c c0 81 0 0 0 0 0 90 ff 6b 4 0", "invalid distance too far back", 1); - - /* also trailer mismatch just in inflate() */ - try("1f 8b 8 0 0 0 0 0 0 0 3 0 0 0 0 1", "incorrect data check", -1); - try("1f 8b 8 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 1", - "incorrect length check", -1); - try("5 c0 21 d 0 0 0 80 b0 fe 6d 2f 91 6c", "pull 17", 0); - try("5 e0 81 91 24 cb b2 2c 49 e2 f 2e 8b 9a 47 56 9f fb fe ec d2 ff 1f", - "long code", 0); - try("ed c0 1 1 0 0 0 40 20 ff 57 1b 42 2c 4f", "length extra", 0); - try("ed cf c1 b1 2c 47 10 c4 30 fa 6f 35 1d 1 82 59 3d fb be 2e 2a fc f c", - "long distance and extra", 0); - try("ed c0 81 0 0 0 0 80 a0 fd a9 17 a9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 " - "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6", "window end", 0); - inf("2 8 20 80 0 3 0", "inflate_fast TYPE return", 0, -15, 258, - Z_STREAM_END); - inf("63 18 5 40 c 0", "window wrap", 3, -8, 300, Z_OK); -} - -/* cover remaining lines in inftrees.c */ -local void cover_trees(void) -{ - int ret; - unsigned bits; - unsigned short lens[16], work[16]; - code *next, table[ENOUGH_DISTS]; - - /* we need to call inflate_table() directly in order to manifest not- - enough errors, since zlib insures that enough is always enough */ - for (bits = 0; bits < 15; bits++) - lens[bits] = (unsigned short)(bits + 1); - lens[15] = 15; - next = table; - bits = 15; - ret = inflate_table(DISTS, lens, 16, &next, &bits, work); - assert(ret == 1); - next = table; - bits = 1; - ret = inflate_table(DISTS, lens, 16, &next, &bits, work); - assert(ret == 1); - fputs("inflate_table not enough errors\n", stderr); -} - -/* cover remaining inffast.c decoding and window copying */ -local void cover_fast(void) -{ - inf("e5 e0 81 ad 6d cb b2 2c c9 01 1e 59 63 ae 7d ee fb 4d fd b5 35 41 68" - " ff 7f 0f 0 0 0", "fast length extra bits", 0, -8, 258, Z_DATA_ERROR); - inf("25 fd 81 b5 6d 59 b6 6a 49 ea af 35 6 34 eb 8c b9 f6 b9 1e ef 67 49" - " 50 fe ff ff 3f 0 0", "fast distance extra bits", 0, -8, 258, - Z_DATA_ERROR); - inf("3 7e 0 0 0 0 0", "fast invalid distance code", 0, -8, 258, - Z_DATA_ERROR); - inf("1b 7 0 0 0 0 0", "fast invalid literal/length code", 0, -8, 258, - Z_DATA_ERROR); - inf("d c7 1 ae eb 38 c 4 41 a0 87 72 de df fb 1f b8 36 b1 38 5d ff ff 0", - "fast 2nd level codes and too far back", 0, -8, 258, Z_DATA_ERROR); - inf("63 18 5 8c 10 8 0 0 0 0", "very common case", 0, -8, 259, Z_OK); - inf("63 60 60 18 c9 0 8 18 18 18 26 c0 28 0 29 0 0 0", - "contiguous and wrap around window", 6, -8, 259, Z_OK); - inf("63 0 3 0 0 0 0 0", "copy direct from output", 0, -8, 259, - Z_STREAM_END); -} - -int main(void) -{ - fprintf(stderr, "%s\n", zlibVersion()); - cover_support(); - cover_wrap(); - cover_back(); - cover_inflate(); - cover_trees(); - cover_fast(); - return 0; -} diff --git a/extra/zlib/zlib-1.3.1/test/minigzip.c b/extra/zlib/zlib-1.3.1/test/minigzip.c deleted file mode 100644 index 134e10e6c3e9..000000000000 --- a/extra/zlib/zlib-1.3.1/test/minigzip.c +++ /dev/null @@ -1,579 +0,0 @@ -/* minigzip.c -- simulate gzip using the zlib compression library - * Copyright (C) 1995-2006, 2010, 2011, 2016 Jean-loup Gailly - * For conditions of distribution and use, see copyright notice in zlib.h - */ - -/* - * minigzip is a minimal implementation of the gzip utility. This is - * only an example of using zlib and isn't meant to replace the - * full-featured gzip. No attempt is made to deal with file systems - * limiting names to 14 or 8+3 characters, etc... Error checking is - * very limited. So use minigzip only for testing; use gzip for the - * real thing. On MSDOS, use only on file names without extension - * or in pipe mode. - */ - -/* @(#) $Id$ */ - -#include "zlib.h" -#include - -#ifdef STDC -# include -# include -#endif - -#ifdef USE_MMAP -# include -# include -# include -#endif - -#if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__CYGWIN__) -# include -# include -# ifdef UNDER_CE -# include -# endif -# define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) -#else -# define SET_BINARY_MODE(file) -#endif - -#if defined(_MSC_VER) && _MSC_VER < 1900 -# define snprintf _snprintf -#endif - -#ifdef VMS -# define unlink delete -# define GZ_SUFFIX "-gz" -#endif -#ifdef RISCOS -# define unlink remove -# define GZ_SUFFIX "-gz" -# define fileno(file) file->__file -#endif -#if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os -# include /* for fileno */ -#endif - -#if !defined(Z_HAVE_UNISTD_H) && !defined(_LARGEFILE64_SOURCE) -#ifndef WIN32 /* unlink already in stdio.h for WIN32 */ - extern int unlink(const char *); -#endif -#endif - -#if defined(UNDER_CE) -# include -# define perror(s) pwinerror(s) - -/* Map the Windows error number in ERROR to a locale-dependent error - message string and return a pointer to it. Typically, the values - for ERROR come from GetLastError. - - The string pointed to shall not be modified by the application, - but may be overwritten by a subsequent call to strwinerror - - The strwinerror function does not change the current setting - of GetLastError. */ - -static char *strwinerror (error) - DWORD error; -{ - static char buf[1024]; - - wchar_t *msgbuf; - DWORD lasterr = GetLastError(); - DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM - | FORMAT_MESSAGE_ALLOCATE_BUFFER, - NULL, - error, - 0, /* Default language */ - (LPVOID)&msgbuf, - 0, - NULL); - if (chars != 0) { - /* If there is an \r\n appended, zap it. */ - if (chars >= 2 - && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') { - chars -= 2; - msgbuf[chars] = 0; - } - - if (chars > sizeof (buf) - 1) { - chars = sizeof (buf) - 1; - msgbuf[chars] = 0; - } - - wcstombs(buf, msgbuf, chars + 1); - LocalFree(msgbuf); - } - else { - sprintf(buf, "unknown win32 error (%ld)", error); - } - - SetLastError(lasterr); - return buf; -} - -static void pwinerror (s) - const char *s; -{ - if (s && *s) - fprintf(stderr, "%s: %s\n", s, strwinerror(GetLastError ())); - else - fprintf(stderr, "%s\n", strwinerror(GetLastError ())); -} - -#endif /* UNDER_CE */ - -#ifndef GZ_SUFFIX -# define GZ_SUFFIX ".gz" -#endif -#define SUFFIX_LEN (sizeof(GZ_SUFFIX)-1) - -#define BUFLEN 16384 -#define MAX_NAME_LEN 1024 - -#ifdef MAXSEG_64K -# define local static - /* Needed for systems with limitation on stack size. */ -#else -# define local -#endif - -#ifdef Z_SOLO -/* for Z_SOLO, create simplified gz* functions using deflate and inflate */ - -#if defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE) -# include /* for unlink() */ -#endif - -static void *myalloc(void *q, unsigned n, unsigned m) { - (void)q; - return calloc(n, m); -} - -static void myfree(void *q, void *p) { - (void)q; - free(p); -} - -typedef struct gzFile_s { - FILE *file; - int write; - int err; - char *msg; - z_stream strm; -} *gzFile; - -static gzFile gz_open(const char *path, int fd, const char *mode) { - gzFile gz; - int ret; - - gz = malloc(sizeof(struct gzFile_s)); - if (gz == NULL) - return NULL; - gz->write = strchr(mode, 'w') != NULL; - gz->strm.zalloc = myalloc; - gz->strm.zfree = myfree; - gz->strm.opaque = Z_NULL; - if (gz->write) - ret = deflateInit2(&(gz->strm), -1, 8, 15 + 16, 8, 0); - else { - gz->strm.next_in = 0; - gz->strm.avail_in = Z_NULL; - ret = inflateInit2(&(gz->strm), 15 + 16); - } - if (ret != Z_OK) { - free(gz); - return NULL; - } - gz->file = path == NULL ? fdopen(fd, gz->write ? "wb" : "rb") : - fopen(path, gz->write ? "wb" : "rb"); - if (gz->file == NULL) { - gz->write ? deflateEnd(&(gz->strm)) : inflateEnd(&(gz->strm)); - free(gz); - return NULL; - } - gz->err = 0; - gz->msg = ""; - return gz; -} - -static gzFile gzopen(const char *path, const char *mode) { - return gz_open(path, -1, mode); -} - -static gzFile gzdopen(int fd, const char *mode) { - return gz_open(NULL, fd, mode); -} - -static int gzwrite(gzFile gz, const void *buf, unsigned len) { - z_stream *strm; - unsigned char out[BUFLEN]; - - if (gz == NULL || !gz->write) - return 0; - strm = &(gz->strm); - strm->next_in = (void *)buf; - strm->avail_in = len; - do { - strm->next_out = out; - strm->avail_out = BUFLEN; - (void)deflate(strm, Z_NO_FLUSH); - fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); - } while (strm->avail_out == 0); - return len; -} - -static int gzread(gzFile gz, void *buf, unsigned len) { - int ret; - unsigned got; - unsigned char in[1]; - z_stream *strm; - - if (gz == NULL || gz->write) - return 0; - if (gz->err) - return 0; - strm = &(gz->strm); - strm->next_out = (void *)buf; - strm->avail_out = len; - do { - got = fread(in, 1, 1, gz->file); - if (got == 0) - break; - strm->next_in = in; - strm->avail_in = 1; - ret = inflate(strm, Z_NO_FLUSH); - if (ret == Z_DATA_ERROR) { - gz->err = Z_DATA_ERROR; - gz->msg = strm->msg; - return 0; - } - if (ret == Z_STREAM_END) - inflateReset(strm); - } while (strm->avail_out); - return len - strm->avail_out; -} - -static int gzclose(gzFile gz) { - z_stream *strm; - unsigned char out[BUFLEN]; - - if (gz == NULL) - return Z_STREAM_ERROR; - strm = &(gz->strm); - if (gz->write) { - strm->next_in = Z_NULL; - strm->avail_in = 0; - do { - strm->next_out = out; - strm->avail_out = BUFLEN; - (void)deflate(strm, Z_FINISH); - fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); - } while (strm->avail_out == 0); - deflateEnd(strm); - } - else - inflateEnd(strm); - fclose(gz->file); - free(gz); - return Z_OK; -} - -static const char *gzerror(gzFile gz, int *err) { - *err = gz->err; - return gz->msg; -} - -#endif - -static char *prog; - -/* =========================================================================== - * Display error message and exit - */ -static void error(const char *msg) { - fprintf(stderr, "%s: %s\n", prog, msg); - exit(1); -} - -#ifdef USE_MMAP /* MMAP version, Miguel Albrecht */ - -/* Try compressing the input file at once using mmap. Return Z_OK if - * success, Z_ERRNO otherwise. - */ -static int gz_compress_mmap(FILE *in, gzFile out) { - int len; - int err; - int ifd = fileno(in); - caddr_t buf; /* mmap'ed buffer for the entire input file */ - off_t buf_len; /* length of the input file */ - struct stat sb; - - /* Determine the size of the file, needed for mmap: */ - if (fstat(ifd, &sb) < 0) return Z_ERRNO; - buf_len = sb.st_size; - if (buf_len <= 0) return Z_ERRNO; - - /* Now do the actual mmap: */ - buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0); - if (buf == (caddr_t)(-1)) return Z_ERRNO; - - /* Compress the whole file at once: */ - len = gzwrite(out, (char *)buf, (unsigned)buf_len); - - if (len != (int)buf_len) error(gzerror(out, &err)); - - munmap(buf, buf_len); - fclose(in); - if (gzclose(out) != Z_OK) error("failed gzclose"); - return Z_OK; -} -#endif /* USE_MMAP */ - -/* =========================================================================== - * Compress input to output then close both files. - */ - -static void gz_compress(FILE *in, gzFile out) { - local char buf[BUFLEN]; - int len; - int err; - -#ifdef USE_MMAP - /* Try first compressing with mmap. If mmap fails (minigzip used in a - * pipe), use the normal fread loop. - */ - if (gz_compress_mmap(in, out) == Z_OK) return; -#endif - for (;;) { - len = (int)fread(buf, 1, sizeof(buf), in); - if (ferror(in)) { - perror("fread"); - exit(1); - } - if (len == 0) break; - - if (gzwrite(out, buf, (unsigned)len) != len) error(gzerror(out, &err)); - } - fclose(in); - if (gzclose(out) != Z_OK) error("failed gzclose"); -} - -/* =========================================================================== - * Uncompress input to output then close both files. - */ -static void gz_uncompress(gzFile in, FILE *out) { - local char buf[BUFLEN]; - int len; - int err; - - for (;;) { - len = gzread(in, buf, sizeof(buf)); - if (len < 0) error (gzerror(in, &err)); - if (len == 0) break; - - if ((int)fwrite(buf, 1, (unsigned)len, out) != len) { - error("failed fwrite"); - } - } - if (fclose(out)) error("failed fclose"); - - if (gzclose(in) != Z_OK) error("failed gzclose"); -} - - -/* =========================================================================== - * Compress the given file: create a corresponding .gz file and remove the - * original. - */ -static void file_compress(char *file, char *mode) { - local char outfile[MAX_NAME_LEN]; - FILE *in; - gzFile out; - - if (strlen(file) + strlen(GZ_SUFFIX) >= sizeof(outfile)) { - fprintf(stderr, "%s: filename too long\n", prog); - exit(1); - } - -#if !defined(NO_snprintf) && !defined(NO_vsnprintf) - snprintf(outfile, sizeof(outfile), "%s%s", file, GZ_SUFFIX); -#else - strcpy(outfile, file); - strcat(outfile, GZ_SUFFIX); -#endif - - in = fopen(file, "rb"); - if (in == NULL) { - perror(file); - exit(1); - } - out = gzopen(outfile, mode); - if (out == NULL) { - fprintf(stderr, "%s: can't gzopen %s\n", prog, outfile); - exit(1); - } - gz_compress(in, out); - - unlink(file); -} - - -/* =========================================================================== - * Uncompress the given file and remove the original. - */ -static void file_uncompress(char *file) { - local char buf[MAX_NAME_LEN]; - char *infile, *outfile; - FILE *out; - gzFile in; - z_size_t len = strlen(file); - - if (len + strlen(GZ_SUFFIX) >= sizeof(buf)) { - fprintf(stderr, "%s: filename too long\n", prog); - exit(1); - } - -#if !defined(NO_snprintf) && !defined(NO_vsnprintf) - snprintf(buf, sizeof(buf), "%s", file); -#else - strcpy(buf, file); -#endif - - if (len > SUFFIX_LEN && strcmp(file+len-SUFFIX_LEN, GZ_SUFFIX) == 0) { - infile = file; - outfile = buf; - outfile[len-3] = '\0'; - } else { - outfile = file; - infile = buf; -#if !defined(NO_snprintf) && !defined(NO_vsnprintf) - snprintf(buf + len, sizeof(buf) - len, "%s", GZ_SUFFIX); -#else - strcat(infile, GZ_SUFFIX); -#endif - } - in = gzopen(infile, "rb"); - if (in == NULL) { - fprintf(stderr, "%s: can't gzopen %s\n", prog, infile); - exit(1); - } - out = fopen(outfile, "wb"); - if (out == NULL) { - perror(file); - exit(1); - } - - gz_uncompress(in, out); - - unlink(infile); -} - - -/* =========================================================================== - * Usage: minigzip [-c] [-d] [-f] [-h] [-r] [-1 to -9] [files...] - * -c : write to standard output - * -d : decompress - * -f : compress with Z_FILTERED - * -h : compress with Z_HUFFMAN_ONLY - * -r : compress with Z_RLE - * -1 to -9 : compression level - */ - -int main(int argc, char *argv[]) { - int copyout = 0; - int uncompr = 0; - gzFile file; - char *bname, outmode[20]; - -#if !defined(NO_snprintf) && !defined(NO_vsnprintf) - snprintf(outmode, sizeof(outmode), "%s", "wb6 "); -#else - strcpy(outmode, "wb6 "); -#endif - - prog = argv[0]; - bname = strrchr(argv[0], '/'); - if (bname) - bname++; - else - bname = argv[0]; - argc--, argv++; - - if (!strcmp(bname, "gunzip")) - uncompr = 1; - else if (!strcmp(bname, "zcat")) - copyout = uncompr = 1; - - while (argc > 0) { - if (strcmp(*argv, "-c") == 0) - copyout = 1; - else if (strcmp(*argv, "-d") == 0) - uncompr = 1; - else if (strcmp(*argv, "-f") == 0) - outmode[3] = 'f'; - else if (strcmp(*argv, "-h") == 0) - outmode[3] = 'h'; - else if (strcmp(*argv, "-r") == 0) - outmode[3] = 'R'; - else if ((*argv)[0] == '-' && (*argv)[1] >= '1' && (*argv)[1] <= '9' && - (*argv)[2] == 0) - outmode[2] = (*argv)[1]; - else - break; - argc--, argv++; - } - if (outmode[3] == ' ') - outmode[3] = 0; - if (argc == 0) { - SET_BINARY_MODE(stdin); - SET_BINARY_MODE(stdout); - if (uncompr) { - file = gzdopen(fileno(stdin), "rb"); - if (file == NULL) error("can't gzdopen stdin"); - gz_uncompress(file, stdout); - } else { - file = gzdopen(fileno(stdout), outmode); - if (file == NULL) error("can't gzdopen stdout"); - gz_compress(stdin, file); - } - } else { - if (copyout) { - SET_BINARY_MODE(stdout); - } - do { - if (uncompr) { - if (copyout) { - file = gzopen(*argv, "rb"); - if (file == NULL) - fprintf(stderr, "%s: can't gzopen %s\n", prog, *argv); - else - gz_uncompress(file, stdout); - } else { - file_uncompress(*argv); - } - } else { - if (copyout) { - FILE * in = fopen(*argv, "rb"); - - if (in == NULL) { - perror(*argv); - } else { - file = gzdopen(fileno(stdout), outmode); - if (file == NULL) error("can't gzdopen stdout"); - - gz_compress(in, file); - } - - } else { - file_compress(*argv, outmode); - } - } - } while (argv++, --argc); - } - return 0; -} diff --git a/extra/zlib/zlib-1.3.1/watcom/watcom_f.mak b/extra/zlib/zlib-1.3.1/watcom/watcom_f.mak deleted file mode 100644 index 37f4d74c19c0..000000000000 --- a/extra/zlib/zlib-1.3.1/watcom/watcom_f.mak +++ /dev/null @@ -1,43 +0,0 @@ -# Makefile for zlib -# OpenWatcom flat model -# Last updated: 28-Dec-2005 - -# To use, do "wmake -f watcom_f.mak" - -C_SOURCE = adler32.c compress.c crc32.c deflate.c & - gzclose.c gzlib.c gzread.c gzwrite.c & - infback.c inffast.c inflate.c inftrees.c & - trees.c uncompr.c zutil.c - -OBJS = adler32.obj compress.obj crc32.obj deflate.obj & - gzclose.obj gzlib.obj gzread.obj gzwrite.obj & - infback.obj inffast.obj inflate.obj inftrees.obj & - trees.obj uncompr.obj zutil.obj - -CC = wcc386 -LINKER = wcl386 -CFLAGS = -zq -mf -3r -fp3 -s -bt=dos -oilrtfm -fr=nul -wx -ZLIB_LIB = zlib_f.lib - -.C.OBJ: - $(CC) $(CFLAGS) $[@ - -all: $(ZLIB_LIB) example.exe minigzip.exe - -$(ZLIB_LIB): $(OBJS) - wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj - wlib -b -c $(ZLIB_LIB) -+gzclose.obj -+gzlib.obj -+gzread.obj -+gzwrite.obj - wlib -b -c $(ZLIB_LIB) -+deflate.obj -+infback.obj - wlib -b -c $(ZLIB_LIB) -+inffast.obj -+inflate.obj -+inftrees.obj - wlib -b -c $(ZLIB_LIB) -+trees.obj -+uncompr.obj -+zutil.obj - -example.exe: $(ZLIB_LIB) example.obj - $(LINKER) -ldos32a -fe=example.exe example.obj $(ZLIB_LIB) - -minigzip.exe: $(ZLIB_LIB) minigzip.obj - $(LINKER) -ldos32a -fe=minigzip.exe minigzip.obj $(ZLIB_LIB) - -clean: .SYMBOLIC - del *.obj - del $(ZLIB_LIB) - @echo Cleaning done diff --git a/extra/zlib/zlib-1.3.1/watcom/watcom_l.mak b/extra/zlib/zlib-1.3.1/watcom/watcom_l.mak deleted file mode 100644 index 193eed7b318a..000000000000 --- a/extra/zlib/zlib-1.3.1/watcom/watcom_l.mak +++ /dev/null @@ -1,43 +0,0 @@ -# Makefile for zlib -# OpenWatcom large model -# Last updated: 28-Dec-2005 - -# To use, do "wmake -f watcom_l.mak" - -C_SOURCE = adler32.c compress.c crc32.c deflate.c & - gzclose.c gzlib.c gzread.c gzwrite.c & - infback.c inffast.c inflate.c inftrees.c & - trees.c uncompr.c zutil.c - -OBJS = adler32.obj compress.obj crc32.obj deflate.obj & - gzclose.obj gzlib.obj gzread.obj gzwrite.obj & - infback.obj inffast.obj inflate.obj inftrees.obj & - trees.obj uncompr.obj zutil.obj - -CC = wcc -LINKER = wcl -CFLAGS = -zq -ml -s -bt=dos -oilrtfm -fr=nul -wx -ZLIB_LIB = zlib_l.lib - -.C.OBJ: - $(CC) $(CFLAGS) $[@ - -all: $(ZLIB_LIB) example.exe minigzip.exe - -$(ZLIB_LIB): $(OBJS) - wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj - wlib -b -c $(ZLIB_LIB) -+gzclose.obj -+gzlib.obj -+gzread.obj -+gzwrite.obj - wlib -b -c $(ZLIB_LIB) -+deflate.obj -+infback.obj - wlib -b -c $(ZLIB_LIB) -+inffast.obj -+inflate.obj -+inftrees.obj - wlib -b -c $(ZLIB_LIB) -+trees.obj -+uncompr.obj -+zutil.obj - -example.exe: $(ZLIB_LIB) example.obj - $(LINKER) -fe=example.exe example.obj $(ZLIB_LIB) - -minigzip.exe: $(ZLIB_LIB) minigzip.obj - $(LINKER) -fe=minigzip.exe minigzip.obj $(ZLIB_LIB) - -clean: .SYMBOLIC - del *.obj - del $(ZLIB_LIB) - @echo Cleaning done diff --git a/extra/zlib/zlib-1.3.1/win32/DLL_FAQ.txt b/extra/zlib/zlib-1.3.1/win32/DLL_FAQ.txt deleted file mode 100644 index d8cf5f31e3d8..000000000000 --- a/extra/zlib/zlib-1.3.1/win32/DLL_FAQ.txt +++ /dev/null @@ -1,381 +0,0 @@ - - Frequently Asked Questions about ZLIB1.DLL - - -This document describes the design, the rationale, and the usage -of the common DLL build of zlib, named ZLIB1.DLL. If you have -general questions about zlib, you should see the file "FAQ" found -in the zlib distribution, or at the following location: - http://www.gzip.org/zlib/zlib_faq.html - - - 1. What is ZLIB1.DLL, and how can I get it? - - - ZLIB1.DLL is the common build of zlib as a DLL. - (Please remark the character '1' in the name.) - - Applications that link to ZLIB1.DLL can rely on the following - specification: - - * The exported symbols are exclusively defined in the source - files "zlib.h" and "zlib.def", found in an official zlib - source distribution. - * The symbols are exported by name, not by ordinal. - * The exported names are undecorated. - * The calling convention of functions is "C" (CDECL). - * The ZLIB1.DLL binary is linked to MSVCRT.DLL. - - The archive in which ZLIB1.DLL is bundled contains compiled - test programs that must run with a valid build of ZLIB1.DLL. - It is recommended to download the prebuilt DLL from the zlib - web site, instead of building it yourself, to avoid potential - incompatibilities that could be introduced by your compiler - and build settings. If you do build the DLL yourself, please - make sure that it complies with all the above requirements, - and it runs with the precompiled test programs, bundled with - the original ZLIB1.DLL distribution. - - If, for any reason, you need to build an incompatible DLL, - please use a different file name. - - - 2. Why did you change the name of the DLL to ZLIB1.DLL? - What happened to the old ZLIB.DLL? - - - The old ZLIB.DLL, built from zlib-1.1.4 or earlier, required - compilation settings that were incompatible to those used by - a static build. The DLL settings were supposed to be enabled - by defining the macro ZLIB_DLL, before including "zlib.h". - Incorrect handling of this macro was silently accepted at - build time, resulting in two major problems: - - * ZLIB_DLL was missing from the old makefile. When building - the DLL, not all people added it to the build options. In - consequence, incompatible incarnations of ZLIB.DLL started - to circulate around the net. - - * When switching from using the static library to using the - DLL, applications had to define the ZLIB_DLL macro and - to recompile all the sources that contained calls to zlib - functions. Failure to do so resulted in creating binaries - that were unable to run with the official ZLIB.DLL build. - - The only possible solution that we could foresee was to make - a binary-incompatible change in the DLL interface, in order to - remove the dependency on the ZLIB_DLL macro, and to release - the new DLL under a different name. - - We chose the name ZLIB1.DLL, where '1' indicates the major - zlib version number. We hope that we will not have to break - the binary compatibility again, at least not as long as the - zlib-1.x series will last. - - There is still a ZLIB_DLL macro, that can trigger a more - efficient build and use of the DLL, but compatibility no - longer dependents on it. - - - 3. Can I build ZLIB.DLL from the new zlib sources, and replace - an old ZLIB.DLL, that was built from zlib-1.1.4 or earlier? - - - In principle, you can do it by assigning calling convention - keywords to the macros ZEXPORT and ZEXPORTVA. In practice, - it depends on what you mean by "an old ZLIB.DLL", because the - old DLL exists in several mutually-incompatible versions. - You have to find out first what kind of calling convention is - being used in your particular ZLIB.DLL build, and to use the - same one in the new build. If you don't know what this is all - about, you might be better off if you would just leave the old - DLL intact. - - - 4. Can I compile my application using the new zlib interface, and - link it to an old ZLIB.DLL, that was built from zlib-1.1.4 or - earlier? - - - The official answer is "no"; the real answer depends again on - what kind of ZLIB.DLL you have. Even if you are lucky, this - course of action is unreliable. - - If you rebuild your application and you intend to use a newer - version of zlib (post- 1.1.4), it is strongly recommended to - link it to the new ZLIB1.DLL. - - - 5. Why are the zlib symbols exported by name, and not by ordinal? - - - Although exporting symbols by ordinal is a little faster, it - is risky. Any single glitch in the maintenance or use of the - DEF file that contains the ordinals can result in incompatible - builds and frustrating crashes. Simply put, the benefits of - exporting symbols by ordinal do not justify the risks. - - Technically, it should be possible to maintain ordinals in - the DEF file, and still export the symbols by name. Ordinals - exist in every DLL, and even if the dynamic linking performed - at the DLL startup is searching for names, ordinals serve as - hints, for a faster name lookup. However, if the DEF file - contains ordinals, the Microsoft linker automatically builds - an implib that will cause the executables linked to it to use - those ordinals, and not the names. It is interesting to - notice that the GNU linker for Win32 does not suffer from this - problem. - - It is possible to avoid the DEF file if the exported symbols - are accompanied by a "__declspec(dllexport)" attribute in the - source files. You can do this in zlib by predefining the - ZLIB_DLL macro. - - - 6. I see that the ZLIB1.DLL functions use the "C" (CDECL) calling - convention. Why not use the STDCALL convention? - STDCALL is the standard convention in Win32, and I need it in - my Visual Basic project! - - (For readability, we use CDECL to refer to the convention - triggered by the "__cdecl" keyword, STDCALL to refer to - the convention triggered by "__stdcall", and FASTCALL to - refer to the convention triggered by "__fastcall".) - - - Most of the native Windows API functions (without varargs) use - indeed the WINAPI convention (which translates to STDCALL in - Win32), but the standard C functions use CDECL. If a user - application is intrinsically tied to the Windows API (e.g. - it calls native Windows API functions such as CreateFile()), - sometimes it makes sense to decorate its own functions with - WINAPI. But if ANSI C or POSIX portability is a goal (e.g. - it calls standard C functions such as fopen()), it is not a - sound decision to request the inclusion of , or to - use non-ANSI constructs, for the sole purpose to make the user - functions STDCALL-able. - - The functionality offered by zlib is not in the category of - "Windows functionality", but is more like "C functionality". - - Technically, STDCALL is not bad; in fact, it is slightly - faster than CDECL, and it works with variable-argument - functions, just like CDECL. It is unfortunate that, in spite - of using STDCALL in the Windows API, it is not the default - convention used by the C compilers that run under Windows. - The roots of the problem reside deep inside the unsafety of - the K&R-style function prototypes, where the argument types - are not specified; but that is another story for another day. - - The remaining fact is that CDECL is the default convention. - Even if an explicit convention is hard-coded into the function - prototypes inside C headers, problems may appear. The - necessity to expose the convention in users' callbacks is one - of these problems. - - The calling convention issues are also important when using - zlib in other programming languages. Some of them, like Ada - (GNAT) and Fortran (GNU G77), have C bindings implemented - initially on Unix, and relying on the C calling convention. - On the other hand, the pre- .NET versions of Microsoft Visual - Basic require STDCALL, while Borland Delphi prefers, although - it does not require, FASTCALL. - - In fairness to all possible uses of zlib outside the C - programming language, we choose the default "C" convention. - Anyone interested in different bindings or conventions is - encouraged to maintain specialized projects. The "contrib/" - directory from the zlib distribution already holds a couple - of foreign bindings, such as Ada, C++, and Delphi. - - - 7. I need a DLL for my Visual Basic project. What can I do? - - - Define the ZLIB_WINAPI macro before including "zlib.h", when - building both the DLL and the user application (except that - you don't need to define anything when using the DLL in Visual - Basic). The ZLIB_WINAPI macro will switch on the WINAPI - (STDCALL) convention. The name of this DLL must be different - than the official ZLIB1.DLL. - - Gilles Vollant has contributed a build named ZLIBWAPI.DLL, - with the ZLIB_WINAPI macro turned on, and with the minizip - functionality built in. For more information, please read - the notes inside "contrib/vstudio/readme.txt", found in the - zlib distribution. - - - 8. I need to use zlib in my Microsoft .NET project. What can I - do? - - - Henrik Ravn has contributed a .NET wrapper around zlib. Look - into contrib/dotzlib/, inside the zlib distribution. - - - 9. If my application uses ZLIB1.DLL, should I link it to - MSVCRT.DLL? Why? - - - It is not required, but it is recommended to link your - application to MSVCRT.DLL, if it uses ZLIB1.DLL. - - The executables (.EXE, .DLL, etc.) that are involved in the - same process and are using the C run-time library (i.e. they - are calling standard C functions), must link to the same - library. There are several libraries in the Win32 system: - CRTDLL.DLL, MSVCRT.DLL, the static C libraries, etc. - Since ZLIB1.DLL is linked to MSVCRT.DLL, the executables that - depend on it should also be linked to MSVCRT.DLL. - - -10. Why are you saying that ZLIB1.DLL and my application should - be linked to the same C run-time (CRT) library? I linked my - application and my DLLs to different C libraries (e.g. my - application to a static library, and my DLLs to MSVCRT.DLL), - and everything works fine. - - - If a user library invokes only pure Win32 API (accessible via - and the related headers), its DLL build will work - in any context. But if this library invokes standard C API, - things get more complicated. - - There is a single Win32 library in a Win32 system. Every - function in this library resides in a single DLL module, that - is safe to call from anywhere. On the other hand, there are - multiple versions of the C library, and each of them has its - own separate internal state. Standalone executables and user - DLLs that call standard C functions must link to a C run-time - (CRT) library, be it static or shared (DLL). Intermixing - occurs when an executable (not necessarily standalone) and a - DLL are linked to different CRTs, and both are running in the - same process. - - Intermixing multiple CRTs is possible, as long as their - internal states are kept intact. The Microsoft Knowledge Base - articles KB94248 "HOWTO: Use the C Run-Time" and KB140584 - "HOWTO: Link with the Correct C Run-Time (CRT) Library" - mention the potential problems raised by intermixing. - - If intermixing works for you, it's because your application - and DLLs are avoiding the corruption of each of the CRTs' - internal states, maybe by careful design, or maybe by fortune. - - Also note that linking ZLIB1.DLL to non-Microsoft CRTs, such - as those provided by Borland, raises similar problems. - - -11. Why are you linking ZLIB1.DLL to MSVCRT.DLL? - - - MSVCRT.DLL exists on every Windows 95 with a new service pack - installed, or with Microsoft Internet Explorer 4 or later, and - on all other Windows 4.x or later (Windows 98, Windows NT 4, - or later). It is freely distributable; if not present in the - system, it can be downloaded from Microsoft or from other - software provider for free. - - The fact that MSVCRT.DLL does not exist on a virgin Windows 95 - is not so problematic. Windows 95 is scarcely found nowadays, - Microsoft ended its support a long time ago, and many recent - applications from various vendors, including Microsoft, do not - even run on it. Furthermore, no serious user should run - Windows 95 without a proper update installed. - - -12. Why are you not linking ZLIB1.DLL to - <> ? - - - We considered and abandoned the following alternatives: - - * Linking ZLIB1.DLL to a static C library (LIBC.LIB, or - LIBCMT.LIB) is not a good option. People are using the DLL - mainly to save disk space. If you are linking your program - to a static C library, you may as well consider linking zlib - in statically, too. - - * Linking ZLIB1.DLL to CRTDLL.DLL looks appealing, because - CRTDLL.DLL is present on every Win32 installation. - Unfortunately, it has a series of problems: it does not - work properly with Microsoft's C++ libraries, it does not - provide support for 64-bit file offsets, (and so on...), - and Microsoft discontinued its support a long time ago. - - * Linking ZLIB1.DLL to MSVCR70.DLL or MSVCR71.DLL, supplied - with the Microsoft .NET platform, and Visual C++ 7.0/7.1, - raises problems related to the status of ZLIB1.DLL as a - system component. According to the Microsoft Knowledge Base - article KB326922 "INFO: Redistribution of the Shared C - Runtime Component in Visual C++ .NET", MSVCR70.DLL and - MSVCR71.DLL are not supposed to function as system DLLs, - because they may clash with MSVCRT.DLL. Instead, the - application's installer is supposed to put these DLLs - (if needed) in the application's private directory. - If ZLIB1.DLL depends on a non-system runtime, it cannot - function as a redistributable system component. - - * Linking ZLIB1.DLL to non-Microsoft runtimes, such as - Borland's, or Cygwin's, raises problems related to the - reliable presence of these runtimes on Win32 systems. - It's easier to let the DLL build of zlib up to the people - who distribute these runtimes, and who may proceed as - explained in the answer to Question 14. - - -13. If ZLIB1.DLL cannot be linked to MSVCR70.DLL or MSVCR71.DLL, - how can I build/use ZLIB1.DLL in Microsoft Visual C++ 7.0 - (Visual Studio .NET) or newer? - - - Due to the problems explained in the Microsoft Knowledge Base - article KB326922 (see the previous answer), the C runtime that - comes with the VC7 environment is no longer considered a - system component. That is, it should not be assumed that this - runtime exists, or may be installed in a system directory. - Since ZLIB1.DLL is supposed to be a system component, it may - not depend on a non-system component. - - In order to link ZLIB1.DLL and your application to MSVCRT.DLL - in VC7, you need the library of Visual C++ 6.0 or older. If - you don't have this library at hand, it's probably best not to - use ZLIB1.DLL. - - We are hoping that, in the future, Microsoft will provide a - way to build applications linked to a proper system runtime, - from the Visual C++ environment. Until then, you have a - couple of alternatives, such as linking zlib in statically. - If your application requires dynamic linking, you may proceed - as explained in the answer to Question 14. - - -14. I need to link my own DLL build to a CRT different than - MSVCRT.DLL. What can I do? - - - Feel free to rebuild the DLL from the zlib sources, and link - it the way you want. You should, however, clearly state that - your build is unofficial. You should give it a different file - name, and/or install it in a private directory that can be - accessed by your application only, and is not visible to the - others (i.e. it's neither in the PATH, nor in the SYSTEM or - SYSTEM32 directories). Otherwise, your build may clash with - applications that link to the official build. - - For example, in Cygwin, zlib is linked to the Cygwin runtime - CYGWIN1.DLL, and it is distributed under the name CYGZ.DLL. - - -15. May I include additional pieces of code that I find useful, - link them in ZLIB1.DLL, and export them? - - - No. A legitimate build of ZLIB1.DLL must not include code - that does not originate from the official zlib source code. - But you can make your own private DLL build, under a different - file name, as suggested in the previous answer. - - For example, zlib is a part of the VCL library, distributed - with Borland Delphi and C++ Builder. The DLL build of VCL - is a redistributable file, named VCLxx.DLL. - - -16. May I remove some functionality out of ZLIB1.DLL, by enabling - macros like NO_GZCOMPRESS or NO_GZIP at compile time? - - - No. A legitimate build of ZLIB1.DLL must provide the complete - zlib functionality, as implemented in the official zlib source - code. But you can make your own private DLL build, under a - different file name, as suggested in the previous answer. - -** - -This document is written and maintained by -Cosmin Truta diff --git a/extra/zlib/zlib-1.3.1/win32/Makefile.bor b/extra/zlib/zlib-1.3.1/win32/Makefile.bor deleted file mode 100644 index 4495353f3f54..000000000000 --- a/extra/zlib/zlib-1.3.1/win32/Makefile.bor +++ /dev/null @@ -1,109 +0,0 @@ -# Makefile for zlib -# Borland C++ for Win32 -# -# Usage: -# make -f win32/Makefile.bor - -# ------------ Borland C++ ------------ - -# Optional nonstandard preprocessor flags (e.g. -DMAX_MEM_LEVEL=7) -# should be added to the environment via "set LOCAL_ZLIB=-DFOO" or -# added to the declaration of LOC here: -LOC = $(LOCAL_ZLIB) - -CC = bcc32 -AS = bcc32 -LD = bcc32 -AR = tlib -CFLAGS = -a -d -k- -O2 $(LOC) -ASFLAGS = $(LOC) -LDFLAGS = $(LOC) - - -# variables -ZLIB_LIB = zlib.lib - -OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj -OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj -#OBJA = -OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj -OBJP2 = +gzwrite.obj+infback.obj+inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+zutil.obj -#OBJPA= - - -# targets -all: $(ZLIB_LIB) example.exe minigzip.exe - -.c.obj: - $(CC) -c $(CFLAGS) $< - -.asm.obj: - $(AS) -c $(ASFLAGS) $< - -adler32.obj: adler32.c zlib.h zconf.h - -compress.obj: compress.c zlib.h zconf.h - -crc32.obj: crc32.c zlib.h zconf.h crc32.h - -deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h - -gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h - -gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h - -gzread.obj: gzread.c zlib.h zconf.h gzguts.h - -gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h - -infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ - inffast.h inffixed.h - -inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ - inffast.h - -inflate.obj: inflate.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ - inffast.h inffixed.h - -inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h - -trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h - -uncompr.obj: uncompr.c zlib.h zconf.h - -zutil.obj: zutil.c zutil.h zlib.h zconf.h - -example.obj: test/example.c zlib.h zconf.h - -minigzip.obj: test/minigzip.c zlib.h zconf.h - - -# For the sake of the old Borland make, -# the command line is cut to fit in the MS-DOS 128 byte limit: -$(ZLIB_LIB): $(OBJ1) $(OBJ2) $(OBJA) - -del $(ZLIB_LIB) - $(AR) $(ZLIB_LIB) $(OBJP1) - $(AR) $(ZLIB_LIB) $(OBJP2) - $(AR) $(ZLIB_LIB) $(OBJPA) - - -# testing -test: example.exe minigzip.exe - example - echo hello world | minigzip | minigzip -d - -example.exe: example.obj $(ZLIB_LIB) - $(LD) $(LDFLAGS) example.obj $(ZLIB_LIB) - -minigzip.exe: minigzip.obj $(ZLIB_LIB) - $(LD) $(LDFLAGS) minigzip.obj $(ZLIB_LIB) - - -# cleanup -clean: - -del $(ZLIB_LIB) - -del *.obj - -del *.exe - -del *.tds - -del zlib.bak - -del foo.gz diff --git a/extra/zlib/zlib-1.3.1/win32/Makefile.gcc b/extra/zlib/zlib-1.3.1/win32/Makefile.gcc deleted file mode 100644 index 081e391eb299..000000000000 --- a/extra/zlib/zlib-1.3.1/win32/Makefile.gcc +++ /dev/null @@ -1,177 +0,0 @@ -# Makefile for zlib, derived from Makefile.dj2. -# Modified for mingw32 by C. Spieler, 6/16/98. -# Updated for zlib 1.2.x by Christian Spieler and Cosmin Truta, Mar-2003. -# Last updated: Mar 2012. -# Tested under Cygwin and MinGW. - -# Copyright (C) 1995-2003 Jean-loup Gailly. -# For conditions of distribution and use, see copyright notice in zlib.h - -# To compile, or to compile and test, type from the top level zlib directory: -# -# make -fwin32/Makefile.gcc; make test testdll -fwin32/Makefile.gcc -# -# To install libz.a, zconf.h and zlib.h in the system directories, type: -# -# make install -fwin32/Makefile.gcc -# -# BINARY_PATH, INCLUDE_PATH and LIBRARY_PATH must be set. -# -# To install the shared lib, append SHARED_MODE=1 to the make command : -# -# make install -fwin32/Makefile.gcc SHARED_MODE=1 - -# Note: -# If the platform is *not* MinGW (e.g. it is Cygwin or UWIN), -# the DLL name should be changed from "zlib1.dll". - -STATICLIB = libz.a -SHAREDLIB = zlib1.dll -IMPLIB = libz.dll.a - -# -# Set to 1 if shared object needs to be installed -# -SHARED_MODE=0 - -#LOC = -DZLIB_DEBUG -g - -PREFIX = -CC = $(PREFIX)gcc -CFLAGS = $(LOC) -O3 -Wall - -AS = $(CC) -ASFLAGS = $(LOC) -Wall - -LD = $(CC) -LDFLAGS = $(LOC) - -AR = $(PREFIX)ar -ARFLAGS = rcs - -RC = $(PREFIX)windres -RCFLAGS = --define GCC_WINDRES - -STRIP = $(PREFIX)strip - -CP = cp -fp -# If GNU install is available, replace $(CP) with install. -INSTALL = $(CP) -RM = rm -f - -prefix ?= /usr/local -exec_prefix = $(prefix) - -OBJS = adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o gzread.o \ - gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o -OBJA = - -all: $(STATICLIB) $(SHAREDLIB) $(IMPLIB) example.exe minigzip.exe example_d.exe minigzip_d.exe - -test: example.exe minigzip.exe - ./example - echo hello world | ./minigzip | ./minigzip -d - -testdll: example_d.exe minigzip_d.exe - ./example_d - echo hello world | ./minigzip_d | ./minigzip_d -d - -.c.o: - $(CC) $(CFLAGS) -c -o $@ $< - -.S.o: - $(AS) $(ASFLAGS) -c -o $@ $< - -$(STATICLIB): $(OBJS) $(OBJA) - $(AR) $(ARFLAGS) $@ $(OBJS) $(OBJA) - -$(IMPLIB): $(SHAREDLIB) - -$(SHAREDLIB): win32/zlib.def $(OBJS) $(OBJA) zlibrc.o - $(CC) -shared -Wl,--out-implib,$(IMPLIB) $(LDFLAGS) \ - -o $@ win32/zlib.def $(OBJS) $(OBJA) zlibrc.o - $(STRIP) $@ - -example.exe: example.o $(STATICLIB) - $(LD) $(LDFLAGS) -o $@ example.o $(STATICLIB) - $(STRIP) $@ - -minigzip.exe: minigzip.o $(STATICLIB) - $(LD) $(LDFLAGS) -o $@ minigzip.o $(STATICLIB) - $(STRIP) $@ - -example_d.exe: example.o $(IMPLIB) - $(LD) $(LDFLAGS) -o $@ example.o $(IMPLIB) - $(STRIP) $@ - -minigzip_d.exe: minigzip.o $(IMPLIB) - $(LD) $(LDFLAGS) -o $@ minigzip.o $(IMPLIB) - $(STRIP) $@ - -example.o: test/example.c zlib.h zconf.h - $(CC) $(CFLAGS) -I. -c -o $@ test/example.c - -minigzip.o: test/minigzip.c zlib.h zconf.h - $(CC) $(CFLAGS) -I. -c -o $@ test/minigzip.c - -zlibrc.o: win32/zlib1.rc - $(RC) $(RCFLAGS) -o $@ win32/zlib1.rc - -.PHONY: install uninstall clean - -install: zlib.h zconf.h $(STATICLIB) $(IMPLIB) - @if test -z "$(DESTDIR)$(INCLUDE_PATH)" -o -z "$(DESTDIR)$(LIBRARY_PATH)" -o -z "$(DESTDIR)$(BINARY_PATH)"; then \ - echo INCLUDE_PATH, LIBRARY_PATH, and BINARY_PATH must be specified; \ - exit 1; \ - fi - -@mkdir -p '$(DESTDIR)$(INCLUDE_PATH)' - -@mkdir -p '$(DESTDIR)$(LIBRARY_PATH)' '$(DESTDIR)$(LIBRARY_PATH)'/pkgconfig - -if [ "$(SHARED_MODE)" = "1" ]; then \ - mkdir -p '$(DESTDIR)$(BINARY_PATH)'; \ - $(INSTALL) $(SHAREDLIB) '$(DESTDIR)$(BINARY_PATH)'; \ - $(INSTALL) $(IMPLIB) '$(DESTDIR)$(LIBRARY_PATH)'; \ - fi - -$(INSTALL) zlib.h '$(DESTDIR)$(INCLUDE_PATH)' - -$(INSTALL) zconf.h '$(DESTDIR)$(INCLUDE_PATH)' - -$(INSTALL) $(STATICLIB) '$(DESTDIR)$(LIBRARY_PATH)' - sed \ - -e 's|@prefix@|${prefix}|g' \ - -e 's|@exec_prefix@|${exec_prefix}|g' \ - -e 's|@libdir@|$(LIBRARY_PATH)|g' \ - -e 's|@sharedlibdir@|$(LIBRARY_PATH)|g' \ - -e 's|@includedir@|$(INCLUDE_PATH)|g' \ - -e 's|@VERSION@|'`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' zlib.h`'|g' \ - zlib.pc.in > '$(DESTDIR)$(LIBRARY_PATH)'/pkgconfig/zlib.pc - -uninstall: - -if [ "$(SHARED_MODE)" = "1" ]; then \ - $(RM) '$(DESTDIR)$(BINARY_PATH)'/$(SHAREDLIB); \ - $(RM) '$(DESTDIR)$(LIBRARY_PATH)'/$(IMPLIB); \ - fi - -$(RM) '$(DESTDIR)$(INCLUDE_PATH)'/zlib.h - -$(RM) '$(DESTDIR)$(INCLUDE_PATH)'/zconf.h - -$(RM) '$(DESTDIR)$(LIBRARY_PATH)'/$(STATICLIB) - -clean: - -$(RM) $(STATICLIB) - -$(RM) $(SHAREDLIB) - -$(RM) $(IMPLIB) - -$(RM) *.o - -$(RM) *.exe - -$(RM) foo.gz - -adler32.o: zlib.h zconf.h -compress.o: zlib.h zconf.h -crc32.o: crc32.h zlib.h zconf.h -deflate.o: deflate.h zutil.h zlib.h zconf.h -gzclose.o: zlib.h zconf.h gzguts.h -gzlib.o: zlib.h zconf.h gzguts.h -gzread.o: zlib.h zconf.h gzguts.h -gzwrite.o: zlib.h zconf.h gzguts.h -inffast.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h -inflate.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h -infback.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h -inftrees.o: zutil.h zlib.h zconf.h inftrees.h -trees.o: deflate.h zutil.h zlib.h zconf.h trees.h -uncompr.o: zlib.h zconf.h -zutil.o: zutil.h zlib.h zconf.h diff --git a/extra/zlib/zlib-1.3.1/win32/Makefile.msc b/extra/zlib/zlib-1.3.1/win32/Makefile.msc deleted file mode 100644 index 9c6515360e66..000000000000 --- a/extra/zlib/zlib-1.3.1/win32/Makefile.msc +++ /dev/null @@ -1,159 +0,0 @@ -# Makefile for zlib using Microsoft (Visual) C -# zlib is copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler -# -# Usage: -# nmake -f win32/Makefile.msc (standard build) -# nmake -f win32/Makefile.msc LOC=-DFOO (nonstandard build) - -# The toplevel directory of the source tree. -# -TOP = . - -# optional build flags -LOC = - -# variables -STATICLIB = zlib.lib -SHAREDLIB = zlib1.dll -IMPLIB = zdll.lib - -CC = cl -AS = ml -LD = link -AR = lib -RC = rc -CFLAGS = -nologo -MD -W3 -O2 -Oy- -Zi -Fd"zlib" $(LOC) -WFLAGS = -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -ASFLAGS = -coff -Zi $(LOC) -LDFLAGS = -nologo -debug -incremental:no -opt:ref -ARFLAGS = -nologo -RCFLAGS = /dWIN32 /r - -OBJS = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj \ - gzwrite.obj infback.obj inflate.obj inftrees.obj inffast.obj trees.obj uncompr.obj zutil.obj -OBJA = - - -# targets -all: $(STATICLIB) $(SHAREDLIB) $(IMPLIB) \ - example.exe minigzip.exe example_d.exe minigzip_d.exe - -$(STATICLIB): $(OBJS) $(OBJA) - $(AR) $(ARFLAGS) -out:$@ $(OBJS) $(OBJA) - -$(IMPLIB): $(SHAREDLIB) - -$(SHAREDLIB): $(TOP)/win32/zlib.def $(OBJS) $(OBJA) zlib1.res - $(LD) $(LDFLAGS) -def:$(TOP)/win32/zlib.def -dll -implib:$(IMPLIB) \ - -out:$@ -base:0x5A4C0000 $(OBJS) $(OBJA) zlib1.res - if exist $@.manifest \ - mt -nologo -manifest $@.manifest -outputresource:$@;2 - -example.exe: example.obj $(STATICLIB) - $(LD) $(LDFLAGS) example.obj $(STATICLIB) - if exist $@.manifest \ - mt -nologo -manifest $@.manifest -outputresource:$@;1 - -minigzip.exe: minigzip.obj $(STATICLIB) - $(LD) $(LDFLAGS) minigzip.obj $(STATICLIB) - if exist $@.manifest \ - mt -nologo -manifest $@.manifest -outputresource:$@;1 - -example_d.exe: example.obj $(IMPLIB) - $(LD) $(LDFLAGS) -out:$@ example.obj $(IMPLIB) - if exist $@.manifest \ - mt -nologo -manifest $@.manifest -outputresource:$@;1 - -minigzip_d.exe: minigzip.obj $(IMPLIB) - $(LD) $(LDFLAGS) -out:$@ minigzip.obj $(IMPLIB) - if exist $@.manifest \ - mt -nologo -manifest $@.manifest -outputresource:$@;1 - -{$(TOP)}.c.obj: - $(CC) -c $(WFLAGS) $(CFLAGS) $< - -{$(TOP)/test}.c.obj: - $(CC) -c -I$(TOP) $(WFLAGS) $(CFLAGS) $< - -{$(TOP)/contrib/masmx64}.c.obj: - $(CC) -c $(WFLAGS) $(CFLAGS) $< - -{$(TOP)/contrib/masmx64}.asm.obj: - $(AS) -c $(ASFLAGS) $< - -{$(TOP)/contrib/masmx86}.asm.obj: - $(AS) -c $(ASFLAGS) $< - -adler32.obj: $(TOP)/adler32.c $(TOP)/zlib.h $(TOP)/zconf.h - -compress.obj: $(TOP)/compress.c $(TOP)/zlib.h $(TOP)/zconf.h - -crc32.obj: $(TOP)/crc32.c $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/crc32.h - -deflate.obj: $(TOP)/deflate.c $(TOP)/deflate.h $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h - -gzclose.obj: $(TOP)/gzclose.c $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/gzguts.h - -gzlib.obj: $(TOP)/gzlib.c $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/gzguts.h - -gzread.obj: $(TOP)/gzread.c $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/gzguts.h - -gzwrite.obj: $(TOP)/gzwrite.c $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/gzguts.h - -infback.obj: $(TOP)/infback.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/inftrees.h $(TOP)/inflate.h \ - $(TOP)/inffast.h $(TOP)/inffixed.h - -inffast.obj: $(TOP)/inffast.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/inftrees.h $(TOP)/inflate.h \ - $(TOP)/inffast.h - -inflate.obj: $(TOP)/inflate.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/inftrees.h $(TOP)/inflate.h \ - $(TOP)/inffast.h $(TOP)/inffixed.h - -inftrees.obj: $(TOP)/inftrees.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/inftrees.h - -trees.obj: $(TOP)/trees.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/deflate.h $(TOP)/trees.h - -uncompr.obj: $(TOP)/uncompr.c $(TOP)/zlib.h $(TOP)/zconf.h - -zutil.obj: $(TOP)/zutil.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h - -gvmat64.obj: $(TOP)/contrib\masmx64\gvmat64.asm - -inffasx64.obj: $(TOP)/contrib\masmx64\inffasx64.asm - -inffas8664.obj: $(TOP)/contrib\masmx64\inffas8664.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h \ - $(TOP)/inftrees.h $(TOP)/inflate.h $(TOP)/inffast.h - -inffas32.obj: $(TOP)/contrib\masmx86\inffas32.asm - -match686.obj: $(TOP)/contrib\masmx86\match686.asm - -example.obj: $(TOP)/test/example.c $(TOP)/zlib.h $(TOP)/zconf.h - -minigzip.obj: $(TOP)/test/minigzip.c $(TOP)/zlib.h $(TOP)/zconf.h - -zlib1.res: $(TOP)/win32/zlib1.rc - $(RC) $(RCFLAGS) /fo$@ $(TOP)/win32/zlib1.rc - -# testing -test: example.exe minigzip.exe - example - echo hello world | minigzip | minigzip -d - -testdll: example_d.exe minigzip_d.exe - example_d - echo hello world | minigzip_d | minigzip_d -d - - -# cleanup -clean: - -del $(STATICLIB) - -del $(SHAREDLIB) - -del $(IMPLIB) - -del *.obj - -del *.res - -del *.exp - -del *.exe - -del *.pdb - -del *.manifest - -del foo.gz diff --git a/extra/zlib/zlib-1.3.1/win32/README-WIN32.txt b/extra/zlib/zlib-1.3.1/win32/README-WIN32.txt deleted file mode 100644 index 14e6398ef3a8..000000000000 --- a/extra/zlib/zlib-1.3.1/win32/README-WIN32.txt +++ /dev/null @@ -1,103 +0,0 @@ -ZLIB DATA COMPRESSION LIBRARY - -zlib 1.3.1 is a general purpose data compression library. All the code is -thread safe. The data format used by the zlib library is described by RFCs -(Request for Comments) 1950 to 1952 in the files -http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) -and rfc1952.txt (gzip format). - -All functions of the compression library are documented in the file zlib.h -(volunteer to write man pages welcome, contact zlib@gzip.org). Two compiled -examples are distributed in this package, example and minigzip. The example_d -and minigzip_d flavors validate that the zlib1.dll file is working correctly. - -Questions about zlib should be sent to . The zlib home page -is http://zlib.net/ . Before reporting a problem, please check this site to -verify that you have the latest version of zlib; otherwise get the latest -version and check whether the problem still exists or not. - -PLEASE read DLL_FAQ.txt, and the zlib FAQ http://zlib.net/zlib_faq.html before -asking for help. - - -Manifest: - -The package zlib-1.3.1-win32-x86.zip will contain the following files: - - README-WIN32.txt This document - ChangeLog Changes since previous zlib packages - DLL_FAQ.txt Frequently asked questions about zlib1.dll - zlib.3.pdf Documentation of this library in Adobe Acrobat format - - example.exe A statically-bound example (using zlib.lib, not the dll) - example.pdb Symbolic information for debugging example.exe - - example_d.exe A zlib1.dll bound example (using zdll.lib) - example_d.pdb Symbolic information for debugging example_d.exe - - minigzip.exe A statically-bound test program (using zlib.lib, not the dll) - minigzip.pdb Symbolic information for debugging minigzip.exe - - minigzip_d.exe A zlib1.dll bound test program (using zdll.lib) - minigzip_d.pdb Symbolic information for debugging minigzip_d.exe - - zlib.h Install these files into the compilers' INCLUDE path to - zconf.h compile programs which use zlib.lib or zdll.lib - - zdll.lib Install these files into the compilers' LIB path if linking - zdll.exp a compiled program to the zlib1.dll binary - - zlib.lib Install these files into the compilers' LIB path to link zlib - zlib.pdb into compiled programs, without zlib1.dll runtime dependency - (zlib.pdb provides debugging info to the compile time linker) - - zlib1.dll Install this binary shared library into the system PATH, or - the program's runtime directory (where the .exe resides) - zlib1.pdb Install in the same directory as zlib1.dll, in order to debug - an application crash using WinDbg or similar tools. - -All .pdb files above are entirely optional, but are very useful to a developer -attempting to diagnose program misbehavior or a crash. Many additional -important files for developers can be found in the zlib127.zip source package -available from http://zlib.net/ - review that package's README file for details. - - -Acknowledgments: - -The deflate format used by zlib was defined by Phil Katz. The deflate and -zlib specifications were written by L. Peter Deutsch. Thanks to all the -people who reported problems and suggested various improvements in zlib; they -are too numerous to cite here. - - -Copyright notice: - - (C) 1995-2017 Jean-loup Gailly and Mark Adler - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - Jean-loup Gailly Mark Adler - jloup@gzip.org madler@alumni.caltech.edu - -If you use the zlib library in a product, we would appreciate *not* receiving -lengthy legal documents to sign. The sources are provided for free but without -warranty of any kind. The library has been entirely written by Jean-loup -Gailly and Mark Adler; it does not include third-party code. - -If you redistribute modified sources, we would appreciate that you include in -the file ChangeLog history information documenting your changes. Please read -the FAQ for more information on the distribution of modified source versions. diff --git a/extra/zlib/zlib-1.3.1/win32/VisualC.txt b/extra/zlib/zlib-1.3.1/win32/VisualC.txt deleted file mode 100644 index 1005b219410c..000000000000 --- a/extra/zlib/zlib-1.3.1/win32/VisualC.txt +++ /dev/null @@ -1,3 +0,0 @@ - -To build zlib using the Microsoft Visual C++ environment, -use the appropriate project from the contrib/vstudio/ directory. diff --git a/extra/zlib/zlib-1.3.1/win32/zlib.def b/extra/zlib/zlib-1.3.1/win32/zlib.def deleted file mode 100644 index 53c80115fcb6..000000000000 --- a/extra/zlib/zlib-1.3.1/win32/zlib.def +++ /dev/null @@ -1,97 +0,0 @@ -; zlib data compression library -EXPORTS -; basic functions - zlibVersion - deflate - deflateEnd - inflate - inflateEnd -; advanced functions - deflateSetDictionary - deflateGetDictionary - deflateCopy - deflateReset - deflateParams - deflateTune - deflateBound - deflatePending - deflatePrime - deflateSetHeader - inflateSetDictionary - inflateGetDictionary - inflateSync - inflateCopy - inflateReset - inflateReset2 - inflatePrime - inflateMark - inflateGetHeader - inflateBack - inflateBackEnd - zlibCompileFlags -; utility functions - compress - compress2 - compressBound - uncompress - uncompress2 - gzopen - gzdopen - gzbuffer - gzsetparams - gzread - gzfread - gzwrite - gzfwrite - gzprintf - gzvprintf - gzputs - gzgets - gzputc - gzgetc - gzungetc - gzflush - gzseek - gzrewind - gztell - gzoffset - gzeof - gzdirect - gzclose - gzclose_r - gzclose_w - gzerror - gzclearerr -; large file functions - gzopen64 - gzseek64 - gztell64 - gzoffset64 - adler32_combine64 - crc32_combine64 - crc32_combine_gen64 -; checksum functions - adler32 - adler32_z - crc32 - crc32_z - adler32_combine - crc32_combine - crc32_combine_gen - crc32_combine_op -; various hacks, don't look :) - deflateInit_ - deflateInit2_ - inflateInit_ - inflateInit2_ - inflateBackInit_ - gzgetc_ - zError - inflateSyncPoint - get_crc_table - inflateUndermine - inflateValidate - inflateCodesUsed - inflateResetKeep - deflateResetKeep - gzopen_w diff --git a/extra/zlib/zlib-1.3.1/win32/zlib1.rc b/extra/zlib/zlib-1.3.1/win32/zlib1.rc deleted file mode 100644 index ceb4ee5c69e1..000000000000 --- a/extra/zlib/zlib-1.3.1/win32/zlib1.rc +++ /dev/null @@ -1,40 +0,0 @@ -#include -#include "../zlib.h" - -#ifdef GCC_WINDRES -VS_VERSION_INFO VERSIONINFO -#else -VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE -#endif - FILEVERSION ZLIB_VER_MAJOR,ZLIB_VER_MINOR,ZLIB_VER_REVISION,0 - PRODUCTVERSION ZLIB_VER_MAJOR,ZLIB_VER_MINOR,ZLIB_VER_REVISION,0 - FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#ifdef _DEBUG - FILEFLAGS 1 -#else - FILEFLAGS 0 -#endif - FILEOS VOS__WINDOWS32 - FILETYPE VFT_DLL - FILESUBTYPE 0 // not used -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904E4" - //language ID = U.S. English, char set = Windows, Multilingual - BEGIN - VALUE "FileDescription", "zlib data compression library\0" - VALUE "FileVersion", ZLIB_VERSION "\0" - VALUE "InternalName", "zlib1.dll\0" - VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0" - VALUE "OriginalFilename", "zlib1.dll\0" - VALUE "ProductName", "zlib\0" - VALUE "ProductVersion", ZLIB_VERSION "\0" - VALUE "Comments", "For more information visit http://www.zlib.net/\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x0409, 1252 - END -END diff --git a/extra/zlib/zlib-1.3.1/zlib.3.pdf b/extra/zlib/zlib-1.3.1/zlib.3.pdf deleted file mode 100644 index b224532bdd8e..000000000000 Binary files a/extra/zlib/zlib-1.3.1/zlib.3.pdf and /dev/null differ diff --git a/extra/zlib/zlib-1.3.2/.cmake-format.yaml b/extra/zlib/zlib-1.3.2/.cmake-format.yaml new file mode 100644 index 000000000000..9c554da15db1 --- /dev/null +++ b/extra/zlib/zlib-1.3.2/.cmake-format.yaml @@ -0,0 +1,245 @@ +_help_parse: Options affecting listfile parsing +parse: + _help_additional_commands: + - Specify structure for custom cmake functions + additional_commands: + foo: + flags: + - BAR + - BAZ + kwargs: + HEADERS: '*' + SOURCES: '*' + DEPENDS: '*' + _help_override_spec: + - Override configurations per-command where available + override_spec: {} + _help_vartags: + - Specify variable tags. + vartags: [] + _help_proptags: + - Specify property tags. + proptags: [] +_help_format: Options affecting formatting. +format: + _help_disable: + - Disable formatting entirely, making cmake-format a no-op + disable: false + _help_line_width: + - How wide to allow formatted cmake files + line_width: 80 + _help_tab_size: + - How many spaces to tab for indent + tab_size: 4 + _help_use_tabchars: + - If true, lines are indented using tab characters (utf-8 + - 0x09) instead of space characters (utf-8 0x20). + - In cases where the layout would require a fractional tab + - character, the behavior of the fractional indentation is + - governed by + use_tabchars: false + _help_fractional_tab_policy: + - If is True, then the value of this variable + - indicates how fractional indentions are handled during + - whitespace replacement. If set to 'use-space', fractional + - indentation is left as spaces (utf-8 0x20). If set to + - '`round-up` fractional indentation is replaced with a single' + - tab character (utf-8 0x09) effectively shifting the column + - to the next tabstop + fractional_tab_policy: use-space + _help_max_subgroups_hwrap: + - If an argument group contains more than this many sub-groups + - (parg or kwarg groups) then force it to a vertical layout. + max_subgroups_hwrap: 2 + _help_max_pargs_hwrap: + - If a positional argument group contains more than this many + - arguments, then force it to a vertical layout. + max_pargs_hwrap: 6 + _help_max_rows_cmdline: + - If a cmdline positional group consumes more than this many + - lines without nesting, then invalidate the layout (and nest) + max_rows_cmdline: 2 + _help_separate_ctrl_name_with_space: + - If true, separate flow control names from their parentheses + - with a space + separate_ctrl_name_with_space: false + _help_separate_fn_name_with_space: + - If true, separate function names from parentheses with a + - space + separate_fn_name_with_space: false + _help_dangle_parens: + - If a statement is wrapped to more than one line, than dangle + - the closing parenthesis on its own line. + dangle_parens: false + _help_dangle_align: + - If the trailing parenthesis must be 'dangled' on its on + - 'line, then align it to this reference: `prefix`: the start' + - 'of the statement, `prefix-indent`: the start of the' + - 'statement, plus one indentation level, `child`: align to' + - the column of the arguments + dangle_align: prefix + _help_min_prefix_chars: + - If the statement spelling length (including space and + - parenthesis) is smaller than this amount, then force reject + - nested layouts. + min_prefix_chars: 4 + _help_max_prefix_chars: + - If the statement spelling length (including space and + - parenthesis) is larger than the tab width by more than this + - amount, then force reject un-nested layouts. + max_prefix_chars: 10 + _help_max_lines_hwrap: + - If a candidate layout is wrapped horizontally but it exceeds + - this many lines, then reject the layout. + max_lines_hwrap: 2 + _help_line_ending: + - What style line endings to use in the output. + line_ending: unix + _help_command_case: + - Format command names consistently as 'lower' or 'upper' case + command_case: canonical + _help_keyword_case: + - Format keywords consistently as 'lower' or 'upper' case + keyword_case: unchanged + _help_always_wrap: + - A list of command names which should always be wrapped + always_wrap: [] + _help_enable_sort: + - If true, the argument lists which are known to be sortable + - will be sorted lexicographicall + enable_sort: true + _help_autosort: + - If true, the parsers may infer whether or not an argument + - list is sortable (without annotation). + autosort: false + _help_require_valid_layout: + - By default, if cmake-format cannot successfully fit + - everything into the desired linewidth it will apply the + - last, most aggressive attempt that it made. If this flag is + - True, however, cmake-format will print error, exit with non- + - zero status code, and write-out nothing + require_valid_layout: false + _help_layout_passes: + - A dictionary mapping layout nodes to a list of wrap + - decisions. See the documentation for more information. + layout_passes: {} +_help_markup: Options affecting comment reflow and formatting. +markup: + _help_bullet_char: + - What character to use for bulleted lists + bullet_char: '*' + _help_enum_char: + - What character to use as punctuation after numerals in an + - enumerated list + enum_char: . + _help_first_comment_is_literal: + - If comment markup is enabled, don't reflow the first comment + - block in each listfile. Use this to preserve formatting of + - your copyright/license statements. + first_comment_is_literal: false + _help_literal_comment_pattern: + - If comment markup is enabled, don't reflow any comment block + - which matches this (regex) pattern. Default is `None` + - (disabled). + literal_comment_pattern: null + _help_fence_pattern: + - Regular expression to match preformat fences in comments + - default= ``r'^\s*([`~]{3}[`~]*)(.*)$'`` + fence_pattern: ^\s*([`~]{3}[`~]*)(.*)$ + _help_ruler_pattern: + - Regular expression to match rulers in comments default= + - '``r''^\s*[^\w\s]{3}.*[^\w\s]{3}$''``' + ruler_pattern: ^\s*[^\w\s]{3}.*[^\w\s]{3}$ + _help_explicit_trailing_pattern: + - If a comment line matches starts with this pattern then it + - is explicitly a trailing comment for the preceding argument. + - Default is '#<' + explicit_trailing_pattern: '#<' + _help_hashruler_min_length: + - If a comment line starts with at least this many consecutive + - hash characters, then don't lstrip() them off. This allows + - for lazy hash rulers where the first hash char is not + - separated by space + hashruler_min_length: 10 + _help_canonicalize_hashrulers: + - If true, then insert a space between the first hash char and + - remaining hash chars in a hash ruler, and normalize its + - length to fill the column + canonicalize_hashrulers: true + _help_enable_markup: + - enable comment markup parsing and reflow + enable_markup: true +_help_lint: Options affecting the linter +lint: + _help_disabled_codes: + - a list of lint codes to disable + disabled_codes: [] + _help_function_pattern: + - regular expression pattern describing valid function names + function_pattern: '[0-9a-z_]+' + _help_macro_pattern: + - regular expression pattern describing valid macro names + macro_pattern: '[0-9A-Z_]+' + _help_global_var_pattern: + - regular expression pattern describing valid names for + - variables with global (cache) scope + global_var_pattern: '[A-Z][0-9A-Z_]+' + _help_internal_var_pattern: + - regular expression pattern describing valid names for + - variables with global scope (but internal semantic) + internal_var_pattern: _[A-Z][0-9A-Z_]+ + _help_local_var_pattern: + - regular expression pattern describing valid names for + - variables with local scope + local_var_pattern: '[a-z][a-z0-9_]+' + _help_private_var_pattern: + - regular expression pattern describing valid names for + - privatedirectory variables + private_var_pattern: _[0-9a-z_]+ + _help_public_var_pattern: + - regular expression pattern describing valid names for public + - directory variables + public_var_pattern: '[A-Z][0-9A-Z_]+' + _help_argument_var_pattern: + - regular expression pattern describing valid names for + - function/macro arguments and loop variables. + argument_var_pattern: '[a-z][a-z0-9_]+' + _help_keyword_pattern: + - regular expression pattern describing valid names for + - keywords used in functions or macros + keyword_pattern: '[A-Z][0-9A-Z_]+' + _help_max_conditionals_custom_parser: + - In the heuristic for C0201, how many conditionals to match + - within a loop in before considering the loop a parser. + max_conditionals_custom_parser: 2 + _help_min_statement_spacing: + - Require at least this many newlines between statements + min_statement_spacing: 1 + _help_max_statement_spacing: + - Require no more than this many newlines between statements + max_statement_spacing: 2 + max_returns: 6 + max_branches: 12 + max_arguments: 5 + max_localvars: 15 + max_statements: 50 +_help_encode: Options affecting file encoding +encode: + _help_emit_byteorder_mark: + - If true, emit the unicode byte-order mark (BOM) at the start + - of the file + emit_byteorder_mark: false + _help_input_encoding: + - Specify the encoding of the input file. Defaults to utf-8 + input_encoding: utf-8 + _help_output_encoding: + - Specify the encoding of the output file. Defaults to utf-8. + - Note that cmake only claims to support utf-8 so be careful + - when using anything else + output_encoding: utf-8 +_help_misc: Miscellaneous configurations options. +misc: + _help_per_command: + - A dictionary containing any per-command configuration + - overrides. Currently only `command_case` is supported. + per_command: {} diff --git a/extra/zlib/zlib-1.3.2/BUILD.bazel b/extra/zlib/zlib-1.3.2/BUILD.bazel new file mode 100644 index 000000000000..9a294f2f2776 --- /dev/null +++ b/extra/zlib/zlib-1.3.2/BUILD.bazel @@ -0,0 +1,134 @@ +# Copied from https://github.com/bazelbuild/bazel-central-registry/tree/main/modules/zlib/1.3.1.bcr.4/patches +# Adapted from https://github.com/protocolbuffers/protobuf/blob/master/third_party/zlib.BUILD + +# Copyright 2008 Google Inc. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above +# copyright notice, this list of conditions and the following disclaimer +# in the documentation and/or other materials provided with the +# distribution. +# * Neither the name of Google Inc. nor the names of its +# contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# Code generated by the Protocol Buffer compiler is owned by the owner +# of the input file used when generating it. This code is not +# standalone and requires a support library to be linked with it. This +# support library is itself covered by the above license. + +load("@rules_cc//cc:defs.bzl", "cc_library") +load("@rules_license//rules:license.bzl", "license") + +package( + default_applicable_licenses = [":license"], +) + +license( + name = "license", + license_kinds = ["@rules_license//licenses/spdx:Zlib"], + license_text = "LICENSE", +) + +exports_files([ + "LICENSE", +]) + +_ZLIB_HEADERS = [ + "crc32.h", + "deflate.h", + "gzguts.h", + "inffast.h", + "inffixed.h", + "inflate.h", + "inftrees.h", + "trees.h", + "zconf.h", + "zlib.h", + "zutil.h", +] + +_ZLIB_PREFIXED_HEADERS = ["zlib/include/" + hdr for hdr in _ZLIB_HEADERS] + +# In order to limit the damage from the `includes` propagation +# via `:zlib`, copy the public headers to a subdirectory and +# expose those. +genrule( + name = "copy_public_headers", + srcs = _ZLIB_HEADERS, + outs = _ZLIB_PREFIXED_HEADERS, + cmd_bash = "cp $(SRCS) $(@D)/zlib/include/", + cmd_bat = " && ".join( + ["@copy /Y \"$(location %s)\" \"$(@D)\\zlib\\include\\\" >NUL" % + s for s in _ZLIB_HEADERS], + ), +) + +config_setting( + name = "mingw_gcc_compiler", + flag_values = { + "@bazel_tools//tools/cpp:compiler": "mingw-gcc", + }, + visibility = [":__subpackages__"], +) + +cc_library( + name = "z", + srcs = [ + "adler32.c", + "compress.c", + "crc32.c", + "deflate.c", + "gzclose.c", + "gzlib.c", + "gzread.c", + "gzwrite.c", + "infback.c", + "inffast.c", + "inflate.c", + "inftrees.c", + "trees.c", + "uncompr.c", + "zutil.c", + # Include the un-prefixed headers in srcs to work + # around the fact that zlib isn't consistent in its + # choice of <> or "" delimiter when including itself. + ] + _ZLIB_HEADERS, + hdrs = _ZLIB_PREFIXED_HEADERS, + copts = select({ + ":mingw_gcc_compiler": [ + "-fpermissive", + ], + "@platforms//os:windows": [], + "//conditions:default": [ + "-Wno-deprecated-non-prototype", + "-Wno-unused-variable", + "-Wno-implicit-function-declaration", + ], + }), + includes = ["zlib/include/"], + visibility = ["//visibility:public"], +) + +alias( + name = "zlib", + actual = ":z", + visibility = ["//visibility:public"], +) diff --git a/extra/zlib/zlib-1.3.2/CMakeLists.txt b/extra/zlib/zlib-1.3.2/CMakeLists.txt new file mode 100644 index 000000000000..878df1ad4ef9 --- /dev/null +++ b/extra/zlib/zlib-1.3.2/CMakeLists.txt @@ -0,0 +1,323 @@ +#cmake_minimum_required(VERSION 3.12...3.31) + +project( + zlib + LANGUAGES C + VERSION 1.3.2 + HOMEPAGE_URL "https://zlib.net/" + DESCRIPTION "a general-purpose lossless data-compression library") + +IF(DISABLE_THESE_LINES) +# ============================================================================ +# CPack +# ============================================================================ +set(CPACK_PACKAGE_VENDOR "zlib-Project") +set(CPACK_PACKAGE_DESCRIPTION_FILE ${zlib_SOURCE_DIR}/README) +set(CPACK_RESOURCE_FILE_LICENSE ${zlib_SOURCE_DIR}/LICENSE) +set(CPACK_RESOURCE_FILE_README ${zlib_SOURCE_DIR}/README) +# ============================================================================ +# configuration +# ============================================================================ + +option(ZLIB_BUILD_TESTING "Enable Zlib Examples as tests" ON) +option(ZLIB_BUILD_SHARED "Enable building zlib shared library" ON) +option(ZLIB_BUILD_STATIC "Enable building zlib static library" ON) +option(ZLIB_INSTALL "Enable installation of zlib" ON) +option(ZLIB_PREFIX "prefix for all types and library functions, see zconf.h.in" + OFF) +mark_as_advanced(ZLIB_PREFIX) + +get_property(IS_MULTI GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) + +if(NOT DEFINED CMAKE_BUILD_TYPE AND NOT IS_MULTI) + message(STATUS "No CMAKE_BUILD_TYPE set -- using Release") + set(CMAKE_BUILD_TYPE Release) +endif(NOT DEFINED CMAKE_BUILD_TYPE AND NOT IS_MULTI) +ENDIF(DISABLE_THESE_LINES) + +include(CheckCSourceCompiles) +include(CheckFunctionExists) +include(CheckIncludeFile) +include(CMakePackageConfigHelpers) +include(CheckTypeSize) +#include(CPack) +#include(GNUInstallDirs) + +#set(CPACK_INCLUDED TRUE) + +if(NOT ZLIB_CONF_WRITTEN) + set(Z_PREFIX ${ZLIB_PREFIX}) + set(CONF_OUT_FILE ${zlib_BINARY_DIR}/zconf.h.cmakein) + file(READ ${zlib_SOURCE_DIR}/zconf.h ZCONF_CONTENT LIMIT 245) + file(WRITE ${CONF_OUT_FILE} ${ZCONF_CONTENT}) + file(APPEND ${CONF_OUT_FILE} "#cmakedefine Z_PREFIX 1\n") + file(APPEND ${CONF_OUT_FILE} "#cmakedefine HAVE_STDARG_H 1\n") + file(APPEND ${CONF_OUT_FILE} "#cmakedefine HAVE_UNISTD_H 1\n") + file(READ ${zlib_SOURCE_DIR}/zconf.h ZCONF_CONTENT OFFSET 244) + set(FIRST_ITEM TRUE) + + foreach(item IN LISTS ZCONF_CONTENT) + if(FIRST_ITEM) + string(APPEND OUT_CONTENT ${item}) + set(FIRST_ITEM FALSE) + else(FIRST_ITEM) + string(APPEND OUT_CONTENT "\;" ${item}) + endif(FIRST_ITEM) + endforeach(item IN LISTS ${ZCONF_CONTENT}) + + file(APPEND ${CONF_OUT_FILE} ${OUT_CONTENT}) + set(ZLIB_CONF_WRITTEN + TRUE + CACHE BOOL "zconf.h.cmakein was created") + mark_as_advanced(ZLIB_CONF_WRITTEN) +endif(NOT ZLIB_CONF_WRITTEN) + +# +# Check to see if we have large file support +# +set(CMAKE_REQUIRED_DEFINITIONS -D_LARGEFILE64_SOURCE=1) +check_type_size(off64_t OFF64_T) +unset(CMAKE_REQUIRED_DEFINITIONS) # clear variable + +# +# Check for fseeko +# +check_function_exists(fseeko HAVE_FSEEKO) + +# +# Check for stdarg.h +# +check_include_file(stdarg.h HAVE_STDARG_H) + +# +# Check for unistd.h +# +check_include_file(unistd.h HAVE_UNISTD_H) + +# +# Check visibility attribute is supported +# +IF(DISABLE_THESE_LINES) +if(MSVC) + set(CMAKE_REQUIRED_FLAGS "-WX") +else(MSVC) + set(CMAKE_REQUIRED_FLAGS "-Werror") +endif(MSVC) +ENDIF(DISABLE_THESE_LINES) + +check_c_source_compiles( + " + #include + static void f(void) __attribute__ ((visibility(\"hidden\"))); + int main(void) {return 0;} + " + HAVE___ATTR__VIS_HIDDEN) + +IF(DISABLE_THESE_LINES) +unset(CMAKE_COMPILE_FLAGS) +set(ZLIB_PC ${zlib_BINARY_DIR}/zlib.pc) +configure_file(${zlib_SOURCE_DIR}/zlib.pc.cmakein ${ZLIB_PC} @ONLY) +ENDIF(DISABLE_THESE_LINES) +configure_file(${zlib_BINARY_DIR}/zconf.h.cmakein ${zlib_BINARY_DIR}/zconf.h) + +# ============================================================================ +# zlib +# ============================================================================ + +set(ZLIB_PUBLIC_HDRS ${zlib_BINARY_DIR}/zconf.h zlib.h) + +set(ZLIB_PRIVATE_HDRS + crc32.h + deflate.h + gzguts.h + inffast.h + inffixed.h + inflate.h + inftrees.h + trees.h + zutil.h) + +set(ZLIB_SRCS + adler32.c + compress.c + crc32.c + deflate.c + gzclose.c + gzlib.c + gzread.c + gzwrite.c + inflate.c + infback.c + inftrees.c + inffast.c + trees.c + uncompr.c + zutil.c) + + +ADD_CONVENIENCE_LIBRARY(zlib + ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS}) + +RETURN() + +# Skip anything below. +################################################################ +if(WIN32) + set(zlib_static_suffix "s") + set(CMAKE_DEBUG_POSTFIX "d") +endif(WIN32) + +if(ZLIB_BUILD_SHARED) + add_library( + zlib SHARED ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS} + $<$,$>:win32/zlib1.rc>) + add_library(ZLIB::ZLIB ALIAS zlib) + target_include_directories( + zlib + PUBLIC $ + $ + $) + target_compile_definitions( + zlib + PRIVATE ZLIB_BUILD + $<$:NO_FSEEKO> + $<$:HAVE_HIDDEN> + $<$:_CRT_SECURE_NO_DEPRECATE> + $<$:_CRT_NONSTDC_NO_DEPRECATE> + PUBLIC $<$:_LARGEFILE64_SOURCE=1>) + set(INSTALL_VERSION ${zlib_VERSION}) + + if(NOT CYGWIN) + set_target_properties(zlib PROPERTIES SOVERSION ${zlib_VERSION_MAJOR} + VERSION ${INSTALL_VERSION}) + endif(NOT CYGWIN) + + set_target_properties( + zlib + PROPERTIES DEFINE_SYMBOL ZLIB_DLL + EXPORT_NAME ZLIB + OUTPUT_NAME z) + if(UNIX + AND NOT APPLE + AND NOT (CMAKE_SYSTEM_NAME STREQUAL AIX) + AND NOT (CMAKE_SYSTEM_NAME STREQUAL SunOS)) + # On unix-like platforms the library is almost always called libz + set_target_properties( + zlib + PROPERTIES LINK_FLAGS + "-Wl,--version-script,\"${zlib_SOURCE_DIR}/zlib.map\"") + endif( + UNIX + AND NOT APPLE + AND NOT (CMAKE_SYSTEM_NAME STREQUAL AIX) + AND NOT (CMAKE_SYSTEM_NAME STREQUAL SunOS)) +endif(ZLIB_BUILD_SHARED) + +if(ZLIB_BUILD_STATIC) + add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} + ${ZLIB_PRIVATE_HDRS}) + add_library(ZLIB::ZLIBSTATIC ALIAS zlibstatic) + target_include_directories( + zlibstatic + PUBLIC $ + $ + $) + target_compile_definitions( + zlibstatic + PRIVATE ZLIB_BUILD + $<$:NO_FSEEKO> + $<$:HAVE_HIDDEN> + $<$:_CRT_SECURE_NO_DEPRECATE> + $<$:_CRT_NONSTDC_NO_DEPRECATE> + PUBLIC $<$:_LARGEFILE64_SOURCE=1>) + set_target_properties( + zlibstatic PROPERTIES EXPORT_NAME ZLIBSTATIC OUTPUT_NAME + z${zlib_static_suffix}) +endif(ZLIB_BUILD_STATIC) + +if(ZLIB_INSTALL) + if(ZLIB_BUILD_SHARED) + install( + TARGETS zlib + COMPONENT Runtime + EXPORT zlibSharedExport + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" + ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" + LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}") + install( + EXPORT zlibSharedExport + FILE ZLIB-shared.cmake + NAMESPACE ZLIB:: + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/zlib) + + if(MSVC) + install( + FILES $ + COMPONENT Runtime + DESTINATION ${CMAKE_INSTALL_BINDIR} + CONFIGURATIONS Debug OR RelWithDebInfo + OPTIONAL) + endif(MSVC) + endif(ZLIB_BUILD_SHARED) + + if(ZLIB_BUILD_STATIC) + install( + TARGETS zlibstatic + COMPONENT Development + EXPORT zlibStaticExport + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" + ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" + LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}") + install( + EXPORT zlibStaticExport + FILE ZLIB-static.cmake + NAMESPACE ZLIB:: + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/zlib) + endif(ZLIB_BUILD_STATIC) + + configure_package_config_file( + ${zlib_SOURCE_DIR}/zlibConfig.cmake.in + ${zlib_BINARY_DIR}/ZLIBConfig.cmake + INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/zlib) + + write_basic_package_version_file( + "${zlib_BINARY_DIR}/ZLIBConfigVersion.cmake" + VERSION "${zlib_VERSION}" + COMPATIBILITY AnyNewerVersion) + + install(FILES ${zlib_BINARY_DIR}/ZLIBConfig.cmake + ${zlib_BINARY_DIR}/ZLIBConfigVersion.cmake + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/zlib) + install( + FILES ${ZLIB_PUBLIC_HDRS} + COMPONENT Development + DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") + install( + FILES zlib.3 + COMPONENT Docs + DESTINATION "${CMAKE_INSTALL_MANDIR}/man3") + install( + FILES LICENSE + doc/algorithm.txt + doc/crc-doc.1.0.pdf + doc/rfc1950.txt + doc/rfc1951.txt + doc/rfc1952.txt + doc/txtvsbin.txt + COMPONENT Docs + DESTINATION "${CMAKE_INSTALL_DOCDIR}/zlib") + install( + FILES ${ZLIB_PC} + COMPONENT Development + DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") +endif(ZLIB_INSTALL) + +# ============================================================================ +# Tests +# ============================================================================ +if(ZLIB_BUILD_TESTING) + enable_testing() + add_subdirectory(test) +endif(ZLIB_BUILD_TESTING) + +add_subdirectory(contrib) diff --git a/extra/zlib/zlib-1.3.1/ChangeLog b/extra/zlib/zlib-1.3.2/ChangeLog similarity index 97% rename from extra/zlib/zlib-1.3.1/ChangeLog rename to extra/zlib/zlib-1.3.2/ChangeLog index b801a1031ec0..312753edadef 100644 --- a/extra/zlib/zlib-1.3.1/ChangeLog +++ b/extra/zlib/zlib-1.3.2/ChangeLog @@ -1,6 +1,57 @@ ChangeLog file for zlib +Changes in 1.3.2 (17 Feb 2026) +- Continued rewrite of CMake build [Vollstrecker] +- Various portability improvements +- Various github workflow additions and improvements +- Check for negative lengths in crc32_combine functions +- Copy only the initialized window contents in inflateCopy +- Prevent the use of insecure functions without an explicit request +- Add compressBound_z and deflateBound_z functions for large values +- Use atomics to build inflate fixed tables once +- Add definition of ZLIB_INSECURE to build tests with c89 and c94 +- Add --undefined option to ./configure for UBSan checker +- Copy only the initialized deflate state in deflateCopy +- Zero inflate state on allocation +- Remove untgz from contrib +- Add _z versions of the compress and uncompress functions +- Vectorize the CRC-32 calculation on the s390x +- Set bit 11 of the zip header flags in minizip if UTF-8 +- Update OS/400 support +- Add a test to configure to check for a working compiler +- Check for invalid NULL pointer inputs to zlib operations +- Add --mandir to ./configure to specify manual directory +- Add LICENSE.Info-Zip to contrib/minizip +- Remove vstudio projects in lieu of cmake-generated projects +- Replace strcpy() with memcpy() in contrib/minizip + +Changes in 1.3.1.2 (8 Dec 2025) +- Improve portability to RISC OS +- Permit compiling contrib/minizip/unzip.c with decryption +- Enable build of shared library on AIX +- Make deflateBound() more conservative and handle Z_STREAM_END +- Add zipAlreadyThere() to minizip zip.c to help avoid duplicates +- Make z_off_t 64 bits by default +- Add deflateUsed() function to get the used bits in the last byte +- Avoid out-of-bounds pointer arithmetic in inflateCopy() +- Add Haiku to configure for proper LDSHARED settings +- Add Bazel targets +- Complete rewrite of CMake build [Vollstrecker] +- Clarify the use of errnum in gzerror() +- Note that gzseek() requests are deferred until the next operation +- Note the use of gzungetc() to run a deferred seek while reading +- Fix bug in inflatePrime() for 16-bit ints +- Add a "G" option to force gzip, disabling transparency in gzread() +- Improve the discrimination between trailing garbage and bad gzip +- Allow gzflush() to write empty gzip members +- Remove redundant frees of point list on error in examples/zran.c +- Clarify the use of inflateGetHeader() +- Update links to the RFCs +- Return all available uncompressed data on error in gzread.c +- Support non-blocking devices in the gz* routines +- Various other small improvements + Changes in 1.3.1 (22 Jan 2024) - Reject overflows of zip header fields in minizip - Fix bug in inflateSync() for data held in bit buffer diff --git a/extra/zlib/zlib-1.3.1/FAQ b/extra/zlib/zlib-1.3.2/FAQ similarity index 90% rename from extra/zlib/zlib-1.3.1/FAQ rename to extra/zlib/zlib-1.3.2/FAQ index 92f5d3e29fab..95c1a825acd4 100644 --- a/extra/zlib/zlib-1.3.1/FAQ +++ b/extra/zlib/zlib-1.3.2/FAQ @@ -3,8 +3,8 @@ If your question is not there, please check the zlib home page -http://zlib.net/ which may have more recent information. -The latest zlib FAQ is at http://zlib.net/zlib_faq.html +https://zlib.net/ which may have more recent information. +The latest zlib FAQ is at https://zlib.net/zlib_faq.html 1. Is zlib Y2K-compliant? @@ -19,7 +19,7 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html 3. Where can I get a Visual Basic interface to zlib? See - * http://marknelson.us/1997/01/01/zlib-engine/ + * https://zlib.net/nelson/ * win32/DLL_FAQ.txt in the zlib distribution 4. compress() returns Z_BUF_ERROR. @@ -38,7 +38,7 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html made with more input or output space. A Z_BUF_ERROR may in fact be unavoidable depending on how the functions are used, since it is not possible to tell whether or not there is more output pending when - strm.avail_out returns with zero. See http://zlib.net/zlib_how.html for a + strm.avail_out returns with zero. See https://zlib.net/zlib_how.html for a heavily annotated example. 6. Where's the zlib documentation (man pages, etc.)? @@ -109,8 +109,8 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html 16. Can zlib decode Flate data in an Adobe PDF file? - Yes. See http://www.pdflib.com/ . To modify PDF forms, see - http://sourceforge.net/projects/acroformtool/ . + Yes. See https://www.pdflib.com/ . To modify PDF forms, see + https://sourceforge.net/projects/acroformtool/ . 17. Why am I getting this "register_frame_info not found" error on Solaris? @@ -156,6 +156,10 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html library memory allocation routines by default. zlib's *Init* functions allow for the application to provide custom memory allocation routines. + If the non-default BUILDFIXED or DYNAMIC_CRC_TABLE defines are used on a + system without atomics (e.g. pre-C11), then inflate() and crc32() will not + be thread safe. + Of course, you should only operate on any given zlib or gzip stream from a single thread at a time. @@ -235,7 +239,7 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html As far as we know, no. In fact, that was originally the whole point behind zlib. Look here for some more information: - http://www.gzip.org/#faq11 + https://web.archive.org/web/20180729212847/http://www.gzip.org/#faq11 32. Can zlib work with greater than 4 GB of data? @@ -258,20 +262,20 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html 33. Does zlib have any security vulnerabilities? The only one that we are aware of is potentially in gzprintf(). If zlib is - compiled to use sprintf() or vsprintf(), then there is no protection - against a buffer overflow of an 8K string space (or other value as set by - gzbuffer()), other than the caller of gzprintf() assuring that the output - will not exceed 8K. On the other hand, if zlib is compiled to use - snprintf() or vsnprintf(), which should normally be the case, then there is - no vulnerability. The ./configure script will display warnings if an - insecure variation of sprintf() will be used by gzprintf(). Also the - zlibCompileFlags() function will return information on what variant of - sprintf() is used by gzprintf(). + compiled to use sprintf() or vsprintf(), which requires that ZLIB_INSECURE + be defined, then there is no protection against a buffer overflow of an 8K + string space (or other value as set by gzbuffer()), other than the caller + of gzprintf() assuring that the output will not exceed 8K. On the other + hand, if zlib is compiled to use snprintf() or vsnprintf(), which should + normally be the case, then there is no vulnerability. The ./configure + script will display warnings if an insecure variation of sprintf() will be + used by gzprintf(). Also the zlibCompileFlags() function will return + information on what variant of sprintf() is used by gzprintf(). If you don't have snprintf() or vsnprintf() and would like one, you can - find a portable implementation here: + find a good portable implementation in stb_sprintf.h here: - http://www.ijs.si/software/snprintf/ + https://github.com/nothings/stb Note that you should be using the most recent version of zlib. Versions 1.1.3 and before were subject to a double-free vulnerability, and versions @@ -283,7 +287,7 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html Probably what you want is to use zlib in Java. zlib is already included as part of the Java SDK in the java.util.zip package. If you really want a version of zlib written in the Java language, look on the zlib home - page for links: http://zlib.net/ . + page for links: https://zlib.net/ . 35. I get this or that compiler or source-code scanner warning when I crank it up to maximally-pedantic. Can't you guys write proper code? @@ -314,9 +318,9 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html zlib doesn't support encryption. The original PKZIP encryption is very weak and can be broken with freely available programs. To get strong - encryption, use GnuPG, http://www.gnupg.org/ , which already includes zlib + encryption, use GnuPG, https://www.gnupg.org/ , which already includes zlib compression. For PKZIP compatible "encryption", look at - http://www.info-zip.org/ + https://infozip.sourceforge.net/ 39. What's the difference between the "gzip" and "deflate" HTTP 1.1 encodings? diff --git a/extra/zlib/zlib-1.3.1/INDEX b/extra/zlib/zlib-1.3.2/INDEX similarity index 96% rename from extra/zlib/zlib-1.3.1/INDEX rename to extra/zlib/zlib-1.3.2/INDEX index 2ba064120486..ea022d62efd5 100644 --- a/extra/zlib/zlib-1.3.1/INDEX +++ b/extra/zlib/zlib-1.3.2/INDEX @@ -21,12 +21,11 @@ zlib.pc.cmakein zlib.pc template for cmake zlib2ansi perl script to convert source files for C++ compilation amiga/ makefiles for Amiga SAS C -as400/ makefiles for AS/400 doc/ documentation for formats and algorithms msdos/ makefiles for MSDOS -nintendods/ makefile for Nintendo DS old/ makefiles for various architectures and zlib documentation files that have not yet been updated for zlib 1.2.x +os400/ makefiles for OS/400 qnx/ makefiles for QNX watcom/ makefiles for OpenWatcom win32/ makefiles for Windows diff --git a/extra/zlib/zlib-1.3.1/LICENSE b/extra/zlib/zlib-1.3.2/LICENSE similarity index 95% rename from extra/zlib/zlib-1.3.1/LICENSE rename to extra/zlib/zlib-1.3.2/LICENSE index ab8ee6f71428..b7a69d058e61 100644 --- a/extra/zlib/zlib-1.3.1/LICENSE +++ b/extra/zlib/zlib-1.3.2/LICENSE @@ -1,6 +1,6 @@ Copyright notice: - (C) 1995-2022 Jean-loup Gailly and Mark Adler + (C) 1995-2026 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/extra/zlib/zlib-1.3.2/MODULE.bazel b/extra/zlib/zlib-1.3.2/MODULE.bazel new file mode 100644 index 000000000000..cb4c13ef3bab --- /dev/null +++ b/extra/zlib/zlib-1.3.2/MODULE.bazel @@ -0,0 +1,9 @@ +module( + name = "zlib", + version = "0.0.0", + compatibility_level = 1, +) + +bazel_dep(name = "platforms", version = "0.0.10") +bazel_dep(name = "rules_cc", version = "0.0.16") +bazel_dep(name = "rules_license", version = "1.0.0") diff --git a/extra/zlib/zlib-1.3.2/Makefile b/extra/zlib/zlib-1.3.2/Makefile new file mode 100644 index 000000000000..6bba86c73fca --- /dev/null +++ b/extra/zlib/zlib-1.3.2/Makefile @@ -0,0 +1,5 @@ +all: + -@echo "Please use ./configure first. Thank you." + +distclean: + make -f Makefile.in distclean diff --git a/extra/zlib/zlib-1.3.1/Makefile.in b/extra/zlib/zlib-1.3.2/Makefile.in similarity index 88% rename from extra/zlib/zlib-1.3.1/Makefile.in rename to extra/zlib/zlib-1.3.2/Makefile.in index cb8b00a9b078..bee83edf370b 100644 --- a/extra/zlib/zlib-1.3.1/Makefile.in +++ b/extra/zlib/zlib-1.3.2/Makefile.in @@ -1,5 +1,5 @@ # Makefile for zlib -# Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler +# Copyright (C) 1995-2026 Jean-loup Gailly, Mark Adler # For conditions of distribution and use, see copyright notice in zlib.h # To compile and test, type: @@ -13,6 +13,8 @@ # make install prefix=$HOME CC=cc +GCOV=GCOV +LLVM_GCOV_FLAG=LLMV_GCOV_FLAG CFLAGS=-O #CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 @@ -25,10 +27,11 @@ LDFLAGS= TEST_LIBS=-L. libz.a LDSHARED=$(CC) CPP=$(CC) -E +VGFMAFLAG= STATICLIB=libz.a SHAREDLIB=libz.so -SHAREDLIBV=libz.so.1.3.1 +SHAREDLIBV=libz.so.1.3.2 SHAREDLIBM=libz.so.1 LIBS=$(STATICLIB) $(SHAREDLIBV) @@ -112,16 +115,16 @@ test64: all64 fi @rm -f tmp64_$$ -infcover.o: $(SRCDIR)test/infcover.c $(SRCDIR)zlib.h zconf.h - $(CC) $(CFLAGS) $(ZINCOUT) -c -o $@ $(SRCDIR)test/infcover.c +infcover.o: $(SRCDIR)test/infcover.c $(SRCDIR)zlib.h zconf.h $(SRCDIR)inflate.h $(SRCDIR)inftrees.h + $(CC) $(CFLAGS) $(ZINCOUT) -c -coverage -o $@ $(SRCDIR)test/infcover.c infcover: infcover.o libz.a - $(CC) $(CFLAGS) -o $@ infcover.o libz.a + $(CC) $(CFLAGS) -coverage -o $@ infcover.o libz.a cover: infcover rm -f *.gcda ${QEMU_RUN} ./infcover - gcov inf*.c + ${GCOV} ${LLVM_GCOV_FLAG} inf*.c -o ./infcover.gcda libz.a: $(OBJS) $(AR) $(ARFLAGS) $@ $(OBJS) @@ -158,6 +161,9 @@ adler32.o: $(SRCDIR)adler32.c crc32.o: $(SRCDIR)crc32.c $(CC) $(CFLAGS) $(ZINC) -c -o $@ $(SRCDIR)crc32.c +crc32_vx.o: $(SRCDIR)contrib/crc32vx/crc32_vx.c + $(CC) $(CFLAGS) $(VGFMAFLAG) $(ZINC) -c -o $@ $(SRCDIR)contrib/crc32vx/crc32_vx.c + deflate.o: $(SRCDIR)deflate.c $(CC) $(CFLAGS) $(ZINC) -c -o $@ $(SRCDIR)deflate.c @@ -176,7 +182,7 @@ inftrees.o: $(SRCDIR)inftrees.c trees.o: $(SRCDIR)trees.c $(CC) $(CFLAGS) $(ZINC) -c -o $@ $(SRCDIR)trees.c -zutil.o: $(SRCDIR)zutil.c +zutil.o: $(SRCDIR)zutil.c $(SRCDIR)gzguts.h $(CC) $(CFLAGS) $(ZINC) -c -o $@ $(SRCDIR)zutil.c compress.o: $(SRCDIR)compress.c @@ -208,6 +214,11 @@ crc32.lo: $(SRCDIR)crc32.c $(CC) $(SFLAGS) $(ZINC) -DPIC -c -o objs/crc32.o $(SRCDIR)crc32.c -@mv objs/crc32.o $@ +crc32_vx.lo: $(SRCDIR)contrib/crc32vx/crc32_vx.c + -@mkdir objs 2>/dev/null || test -d objs + $(CC) $(SFLAGS) $(VGFMAFLAG) $(ZINC) -DPIC -c -o objs/crc32_vx.o $(SRCDIR)contrib/crc32vx/crc32_vx.c + -@mv objs/crc32_vx.o $@ + deflate.lo: $(SRCDIR)deflate.c -@mkdir objs 2>/dev/null || test -d objs $(CC) $(SFLAGS) $(ZINC) -DPIC -c -o objs/deflate.o $(SRCDIR)deflate.c @@ -238,7 +249,7 @@ trees.lo: $(SRCDIR)trees.c $(CC) $(SFLAGS) $(ZINC) -DPIC -c -o objs/trees.o $(SRCDIR)trees.c -@mv objs/trees.o $@ -zutil.lo: $(SRCDIR)zutil.c +zutil.lo: $(SRCDIR)zutil.c $(SRCDIR)gzguts.h -@mkdir objs 2>/dev/null || test -d objs $(CC) $(SFLAGS) $(ZINC) -DPIC -c -o objs/zutil.o $(SRCDIR)zutil.c -@mv objs/zutil.o $@ @@ -274,7 +285,7 @@ gzwrite.lo: $(SRCDIR)gzwrite.c -@mv objs/gzwrite.o $@ -placebo $(SHAREDLIBV): $(PIC_OBJS) libz.a +placebo $(SHAREDLIBV): $(PIC_OBJS) libz.a $(SRCDIR)zlib.map $(LDSHARED) $(SFLAGS) -o $@ $(PIC_OBJS) $(LDSHAREDLIBC) $(LDFLAGS) rm -f $(SHAREDLIB) $(SHAREDLIBM) ln -s $@ $(SHAREDLIB) @@ -349,12 +360,13 @@ docs: zlib.3.pdf zlib.3.pdf: $(SRCDIR)zlib.3 groff -mandoc -f H -T ps $(SRCDIR)zlib.3 | ps2pdf - $@ -zconf.h.cmakein: $(SRCDIR)zconf.h.in - -@ TEMPFILE=zconfh_$$; \ - echo "/#define ZCONF_H/ a\\\\\n#cmakedefine Z_PREFIX\\\\\n#cmakedefine Z_HAVE_UNISTD_H\n" >> $$TEMPFILE &&\ - sed -f $$TEMPFILE $(SRCDIR)zconf.h.in > $@ &&\ - touch -r $(SRCDIR)zconf.h.in $@ &&\ - rm $$TEMPFILE +# zconf.h.cmakein: $(SRCDIR)zconf.h.in +# -@ TEMPFILE=zconfh_$$; \ +# echo "/#define ZCONF_H/ a\\\\\n#cmakedefine Z_PREFIX\\\\\n#cmakedefine Z_HAVE_UNISTD_H\n" >> $$TEMPFILE &&\ +# sed -f $$TEMPFILE $(SRCDIR)zconf.h.in > $@ &&\ +# touch -r $(SRCDIR)zconf.h.in $@ &&\ +# rm $$TEMPFILE +# zconf: $(SRCDIR)zconf.h.in cp -p $(SRCDIR)zconf.h.in zconf.h @@ -378,7 +390,7 @@ clean: minizip-clean rm -f contrib/infback9/*.gcda contrib/infback9/*.gcno contrib/infback9/*.gcov maintainer-clean: distclean -distclean: clean zconf zconf.h.cmakein +distclean: clean zconf # zconf.h.cmakein rm -f Makefile zlib.pc configure.log -@rm -f .DS_Store @if [ -f Makefile.in ]; then \ @@ -389,7 +401,8 @@ distclean: clean zconf zconf.h.cmakein tags: etags $(SRCDIR)*.[ch] -adler32.o zutil.o: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h +adler32.o: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h +zutil.o: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)gzguts.h gzclose.o gzlib.o gzread.o gzwrite.o: $(SRCDIR)zlib.h zconf.h $(SRCDIR)gzguts.h compress.o example.o minigzip.o uncompr.o: $(SRCDIR)zlib.h zconf.h crc32.o: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)crc32.h @@ -398,8 +411,10 @@ infback.o inflate.o: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)inftrees. inffast.o: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)inftrees.h $(SRCDIR)inflate.h $(SRCDIR)inffast.h inftrees.o: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)inftrees.h trees.o: $(SRCDIR)deflate.h $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)trees.h +crc32_vx.o: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)contrib/crc32vx/crc32_vx_hooks.h -adler32.lo zutil.lo: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h +adler32.lo: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h +zutil.lo: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)gzguts.h gzclose.lo gzlib.lo gzread.lo gzwrite.lo: $(SRCDIR)zlib.h zconf.h $(SRCDIR)gzguts.h compress.lo example.lo minigzip.lo uncompr.lo: $(SRCDIR)zlib.h zconf.h crc32.lo: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)crc32.h @@ -408,3 +423,4 @@ infback.lo inflate.lo: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)inftree inffast.lo: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)inftrees.h $(SRCDIR)inflate.h $(SRCDIR)inffast.h inftrees.lo: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)inftrees.h trees.lo: $(SRCDIR)deflate.h $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)trees.h +crc32_vx.lo: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)contrib/crc32vx/crc32_vx_hooks.h \ No newline at end of file diff --git a/extra/zlib/zlib-1.3.1/README b/extra/zlib/zlib-1.3.2/README similarity index 84% rename from extra/zlib/zlib-1.3.1/README rename to extra/zlib/zlib-1.3.2/README index c5f917540b6f..2b1e6f36fe3e 100644 --- a/extra/zlib/zlib-1.3.1/README +++ b/extra/zlib/zlib-1.3.2/README @@ -1,10 +1,10 @@ ZLIB DATA COMPRESSION LIBRARY -zlib 1.3.1 is a general purpose data compression library. All the code is -thread safe. The data format used by the zlib library is described by RFCs -(Request for Comments) 1950 to 1952 in the files -http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and -rfc1952 (gzip format). +zlib 1.3.2 is a general purpose data compression library. All the code is +thread safe (though see the FAQ for caveats). The data format used by the zlib +library is described by RFCs (Request for Comments) 1950 to 1952 at +https://datatracker.ietf.org/doc/html/rfc1950 (zlib format), rfc1951 (deflate +format) and rfc1952 (gzip format). All functions of the compression library are documented in the file zlib.h (volunteer to write man pages welcome, contact zlib@gzip.org). A usage example @@ -21,17 +21,17 @@ make_vms.com. Questions about zlib should be sent to , or to Gilles Vollant for the Windows DLL version. The zlib home page is -http://zlib.net/ . Before reporting a problem, please check this site to +https://zlib.net/ . Before reporting a problem, please check this site to verify that you have the latest version of zlib; otherwise get the latest version and check whether the problem still exists or not. -PLEASE read the zlib FAQ http://zlib.net/zlib_faq.html before asking for help. +PLEASE read the zlib FAQ https://zlib.net/zlib_faq.html before asking for help. Mark Nelson wrote an article about zlib for the Jan. 1997 issue of Dr. Dobb's Journal; a copy of the article is available at -https://marknelson.us/posts/1997/01/01/zlib-engine.html . +https://zlib.net/nelson/ . -The changes made in version 1.3.1 are documented in the file ChangeLog. +The changes made in version 1.3.2 are documented in the file ChangeLog. Unsupported third party contributions are provided in directory contrib/ . @@ -43,9 +43,9 @@ can be found at https://github.com/pmqs/IO-Compress . A Python interface to zlib written by A.M. Kuchling is available in Python 1.5 and later versions, see -http://docs.python.org/library/zlib.html . +https://docs.python.org/3/library/zlib.html . -zlib is built into tcl: http://wiki.tcl.tk/4610 . +zlib is built into tcl: https://wiki.tcl-lang.org/page/zlib . An experimental package to read and write files in .zip format, written on top of zlib by Gilles Vollant , is available in the @@ -69,9 +69,7 @@ Notes for some targets: - zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with other compilers. Use "make test" to check your compiler. -- gzdopen is not supported on RISCOS or BEOS. - -- For PalmOs, see http://palmzlib.sourceforge.net/ +- For PalmOs, see https://palmzlib.sourceforge.net/ Acknowledgments: @@ -83,7 +81,7 @@ Acknowledgments: Copyright notice: - (C) 1995-2024 Jean-loup Gailly and Mark Adler + (C) 1995-2026 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/extra/zlib/zlib-1.3.2/README-cmake.md b/extra/zlib/zlib-1.3.2/README-cmake.md new file mode 100644 index 000000000000..5f2764158e4e --- /dev/null +++ b/extra/zlib/zlib-1.3.2/README-cmake.md @@ -0,0 +1,79 @@ +# For building with cmake at least version 3.12 (minizip 3.12) is needed + +In most cases the usual + + cmake -S . -B build -D CMAKE_BUILD_TYPE=Release + +will create everything you need, however if you want something off default you can adjust several options fit your needs. +Every option is list below (excluding the cmake-standard options), they can be set via cmake-gui or on cmdline with + + -D