Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kldap for openSUSE:Factory checked in at 2026-08-24 12:03:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kldap (Old) and /work/SRC/openSUSE:Factory/.kldap.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kldap" Mon Aug 24 12:03:10 2026 rev:132 rq:1372420 version:26.08.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kldap/kldap.changes 2026-07-02 22:06:34.266909298 +0200 +++ /work/SRC/openSUSE:Factory/.kldap.new.1258/kldap.changes 2026-08-24 12:05:15.503354954 +0200 @@ -1,0 +2,39 @@ +Sun Aug 16 07:27:19 UTC 2026 - Christophe Marin <[email protected]> + +- Update to 26.08.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/26.08.0/ +- No code change since 26.07.90 + +------------------------------------------------------------------- +Sat Aug 1 11:39:01 UTC 2026 - Christophe Marin <[email protected]> + +- Update to 26.07.90 + * New feature release +- No code change since 26.07.80 + +------------------------------------------------------------------- +Sat Jul 18 11:11:42 UTC 2026 - Christophe Marin <[email protected]> + +- Update to 26.07.80 + * New feature release +- Changes since 26.04.3: + * CMAKE_CXX_SCAN_FOR_MODULES is already defined in ecm + * Fix includes + * Move lib as public + * Add missing QT version + * Use QT_ENABLE_STRICT_MODE_UP_TO + * ldapoperation: fix forwarding of client controls + * Fix memory leak in Ber assignment operator + * Add nullptr after assigned value + * It can be nullptr => add Q_ASSERT + * Remove dead code + * Fix mem lead. strdup but never free it + * Fix emit signal after adding it + * Update coding style + * We don't use it + * Not used + * Allow to use prek + +------------------------------------------------------------------- Old: ---- kldap-26.04.3.tar.xz kldap-26.04.3.tar.xz.sig New: ---- kldap-26.08.0.tar.xz kldap-26.08.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kldap.spec ++++++ --- /var/tmp/diff_new_pack.4CpLSw/_old 2026-08-24 12:05:16.580392981 +0200 +++ /var/tmp/diff_new_pack.4CpLSw/_new 2026-08-24 12:05:16.581393017 +0200 @@ -16,12 +16,12 @@ # -%define kf6_version 6.19.0 +%define kf6_version 6.27.0 %define qt6_version 6.9.0 %bcond_without released Name: kldap -Version: 26.04.3 +Version: 26.08.0 Release: 0 Summary: Library to assist working with LDAP directories License: LGPL-2.1-or-later ++++++ kldap-26.04.3.tar.xz -> kldap-26.08.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/.kde-ci.yml new/kldap-26.08.0/.kde-ci.yml --- old/kldap-26.04.3/.kde-ci.yml 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/.kde-ci.yml 2026-08-03 05:40:08.000000000 +0200 @@ -14,3 +14,4 @@ require-passing-tests-on: ['Linux', 'FreeBSD', 'Windows'] tests-run-in-parallel: True cmake-options: '-DWARNINGS_AS_ERRORS=ON' + enable-lsan: True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/.pre-commit-config.yaml new/kldap-26.08.0/.pre-commit-config.yaml --- old/kldap-26.04.3/.pre-commit-config.yaml 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/.pre-commit-config.yaml 2026-08-03 05:40:08.000000000 +0200 @@ -21,7 +21,7 @@ - id: destroyed-symlinks - id: check-executables-have-shebangs - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v21.1.8 + rev: v22.1.5 hooks: - id: clang-format # force using this project's configuration rather @@ -29,28 +29,28 @@ args: ["--style=file:.clang-format-pre-commit"] - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.14.14 + rev: v0.15.12 hooks: # Run the linter. - id: ruff # Run the formatter. - id: ruff-format - repo: https://github.com/codespell-project/codespell - rev: v2.4.1 + rev: v2.4.2 hooks: - id: codespell exclude: (textemoticons/core/data/emoji.json|textgrammarcheck/grammalecte/autotests/data/result1.json|texttranslator/translator/plugins/bergamot/autotests/data/modellanguages/models.json|textgrammarcheck/languagetool/autotests/data/test2.json|textautocorrection/core/autotests/data/custom-fr-ref.xml|textgrammarcheck/common/autotests/grammarresultutiltest.cpp|textautocorrection/core/autotests/data/custom-fr.xml) - repo: https://github.com/BlankSpruce/gersemi - rev: 0.25.4 + rev: 0.26.1 hooks: - id: gersemi - repo: https://github.com/DavidAnson/markdownlint-cli2 - rev: v0.20.0 + rev: v0.22.1 hooks: - id: markdownlint-cli2 files: \.(md|mdown|markdown)$ - repo: https://github.com/scop/pre-commit-shfmt - rev: v3.12.0-2 + rev: v3.13.1-1 hooks: - id: shfmt - repo: https://github.com/shellcheck-py/shellcheck-py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/CMakeLists.txt new/kldap-26.08.0/CMakeLists.txt --- old/kldap-26.04.3/CMakeLists.txt 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/CMakeLists.txt 2026-08-03 05:40:08.000000000 +0200 @@ -1,15 +1,14 @@ # SPDX-FileCopyrightText: none # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.27) -set(PIM_VERSION "6.7.3") +cmake_minimum_required(VERSION 3.29) +set(PIM_VERSION "6.8.0") project(KLdap VERSION ${PIM_VERSION}) # ECM setup -set(KF_MIN_VERSION "6.22.0") set(QT_REQUIRED_VERSION "6.9.0") +set(KF_MIN_VERSION "6.25.0") set(QT6KEYCHAIN_LIB_VERSION "0.15.0") -set(CMAKE_CXX_SCAN_FOR_MODULES OFF) find_package(ECM ${KF_MIN_VERSION} CONFIG REQUIRED) set(CMAKE_MODULE_PATH ${KLdap_SOURCE_DIR}/cmake @@ -37,6 +36,10 @@ if(GIT_SOURCE_TARBALL) set(PRE_COMMIT_INSTALLED FALSE) + include(KDEGitCommitHooks) + include(KDEClangFormat) + kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES}) + if(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) if(EXISTS "${PROJECT_SOURCE_DIR}/.git/hooks/pre-commit") file(READ "${PROJECT_SOURCE_DIR}/.git/hooks/pre-commit" FILE_CONTENTS) @@ -51,35 +54,38 @@ endif() endif() if(NOT ${PRE_COMMIT_INSTALLED}) - find_program(PRE_COMMIT_EXECUTABLE pre-commit) - if(PRE_COMMIT_EXECUTABLE) + function(install_hook executable hook_name) message( STATUS - "This module has pre-commit support. pre-commit binary was found. Installing pre-commit hook" + "This module has ${hook_name} support. ${hook_name} binary was found. Installing ${hook_name} hook" ) execute_process( COMMAND - "${PRE_COMMIT_EXECUTABLE}" install -f + "${executable}" install -f ERROR_QUIET RESULT_VARIABLE _precommitresult WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}" ) if(_precommitresult EQUAL 0) - message(STATUS "Pre-commit installed.") + message(STATUS "${hook_name} installed.") else() message( WARNING - "Error during installing pre-commit hook: ${PRE_COMMIT_EXECUTABLE} project source dir ${PROJECT_SOURCE_DIR}" + "Error during installing ${hook_name} hook: ${executable} project source dir ${PROJECT_SOURCE_DIR}" ) - include(KDEGitCommitHooks) - include(KDEClangFormat) - kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES}) endif() + endfunction() + + find_program(PREK_EXECUTABLE prek) + if(PREK_EXECUTABLE) + install_hook(${PREK_EXECUTABLE} "Prek") else() - message(WARNING "This module has pre-commit support. pre-commit binary was not found.") - include(KDEGitCommitHooks) - include(KDEClangFormat) - kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES}) + find_program(PRE_COMMIT_EXECUTABLE pre-commit) + if(PRE_COMMIT_EXECUTABLE) + install_hook(${PRE_COMMIT_EXECUTABLE} "pre-commit") + else() + message(WARNING "This module has pre-commit support. pre-commit binary was not found.") + endif() endif() endif() endif() @@ -89,7 +95,6 @@ include(ECMFeatureSummary) include(ECMGenerateQDoc) include(ECMCheckOutboundLicense) -set(KLDAP_LIB_VERSION ${PIM_VERSION}) find_package(KF6KIO ${KF_MIN_VERSION} CONFIG REQUIRED) find_package(KF6I18n ${KF_MIN_VERSION} CONFIG REQUIRED) @@ -129,7 +134,8 @@ find_package(KF6WidgetsAddons ${KF_MIN_VERSION} CONFIG REQUIRED) add_definitions(-DQT_NO_CONTEXTLESS_CONNECT) -ecm_set_disabled_deprecation_versions(QT 6.11.0 KF 6.23.0) +ecm_set_disabled_deprecation_versions(QT 6.12.0 KF 6.28.0) +add_compile_definitions(QT_ENABLE_STRICT_MODE_UP_TO=0x060B00) find_package(Ldap) set_package_properties( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/cmake/FindLdap.cmake new/kldap-26.08.0/cmake/FindLdap.cmake --- old/kldap-26.04.3/cmake/FindLdap.cmake 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/cmake/FindLdap.cmake 2026-08-03 05:40:08.000000000 +0200 @@ -64,27 +64,39 @@ if(EXISTS ${Ldap_INCLUDE_DIRS}/ldap_features.h) file(READ ${Ldap_INCLUDE_DIRS}/ldap_features.h LDAP_FEATURES_H_CONTENT) string( - REGEX MATCH - "#define LDAP_VENDOR_VERSION_MAJOR[ ]+[0-9]+" + REGEX MATCH "#define LDAP_VENDOR_VERSION_MAJOR[ ]+[0-9]+" _LDAP_VERSION_MAJOR_MATCH ${LDAP_FEATURES_H_CONTENT} ) string( - REGEX MATCH - "#define LDAP_VENDOR_VERSION_MINOR[ ]+[0-9]+" + REGEX MATCH "#define LDAP_VENDOR_VERSION_MINOR[ ]+[0-9]+" _LDAP_VERSION_MINOR_MATCH ${LDAP_FEATURES_H_CONTENT} ) string( - REGEX MATCH - "#define LDAP_VENDOR_VERSION_PATCH[ ]+[0-9]+" + REGEX MATCH "#define LDAP_VENDOR_VERSION_PATCH[ ]+[0-9]+" _LDAP_VERSION_PATCH_MATCH ${LDAP_FEATURES_H_CONTENT} ) - string(REGEX REPLACE ".*_MAJOR[ ]+(.*)" "\\1" LDAP_VERSION_MAJOR ${_LDAP_VERSION_MAJOR_MATCH}) - string(REGEX REPLACE ".*_MINOR[ ]+(.*)" "\\1" LDAP_VERSION_MINOR ${_LDAP_VERSION_MINOR_MATCH}) - string(REGEX REPLACE ".*_PATCH[ ]+(.*)" "\\1" LDAP_VERSION_PATCH ${_LDAP_VERSION_PATCH_MATCH}) + string( + REGEX REPLACE ".*_MAJOR[ ]+(.*)" + "\\1" + LDAP_VERSION_MAJOR + ${_LDAP_VERSION_MAJOR_MATCH} + ) + string( + REGEX REPLACE ".*_MINOR[ ]+(.*)" + "\\1" + LDAP_VERSION_MINOR + ${_LDAP_VERSION_MINOR_MATCH} + ) + string( + REGEX REPLACE ".*_PATCH[ ]+(.*)" + "\\1" + LDAP_VERSION_PATCH + ${_LDAP_VERSION_PATCH_MATCH} + ) set(Ldap_VERSION "${LDAP_VERSION_MAJOR}.${LDAP_VERSION_MINOR}.${LDAP_VERSION_PATCH}") endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/po/ca/docs/kioworker6/ldap/index.docbook new/kldap-26.08.0/po/ca/docs/kioworker6/ldap/index.docbook --- old/kldap-26.04.3/po/ca/docs/kioworker6/ldap/index.docbook 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/po/ca/docs/kioworker6/ldap/index.docbook 2026-08-03 05:40:08.000000000 +0200 @@ -5,7 +5,7 @@ <!ENTITY % Catalan "INCLUDE" > <!-- change language only here --> ]> - + <article lang="&language;" id="ldap"> <title >ldap</title> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/po/ca/libkldap6.po new/kldap-26.08.0/po/ca/libkldap6.po --- old/kldap-26.04.3/po/ca/libkldap6.po 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/po/ca/libkldap6.po 2026-08-03 05:40:08.000000000 +0200 @@ -320,3 +320,20 @@ msgctxt "%1 is a url to ldap server" msgid "Unknown error connecting %1" msgstr "Error desconegut en connectar %1" + +#~ msgid "&Add Host..." +#~ msgstr "&Afegeix una màquina..." + +#~ msgid "&Edit Host..." +#~ msgstr "&Edita la màquina..." + +#~ msgid "" +#~ "LDAP password is stored as clear text, do you want to store it in kwallet?" +#~ msgstr "" +#~ "La contrasenya LDAP s'emmagatzema com a text, voleu desar-la al KWallet?" + +#~ msgid "Store clear text password in Wallet" +#~ msgstr "Desa la contrasenya de text a la Cartera" + +#~ msgid "LDAP Servers" +#~ msgstr "Servidors LDAP" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/po/de/docs/kioworker6/ldap/index.docbook new/kldap-26.08.0/po/de/docs/kioworker6/ldap/index.docbook --- old/kldap-26.04.3/po/de/docs/kioworker6/ldap/index.docbook 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/po/de/docs/kioworker6/ldap/index.docbook 2026-08-03 05:40:08.000000000 +0200 @@ -5,7 +5,7 @@ <!ENTITY % German "INCLUDE" > <!-- change language only here --> ]> - + <article lang="&language;" id="ldap"> <title >ldap</title> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/po/de/kio_ldap.po new/kldap-26.08.0/po/de/kio_ldap.po --- old/kldap-26.04.3/po/de/kio_ldap.po 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/po/de/kio_ldap.po 2026-08-03 05:40:08.000000000 +0200 @@ -1,5 +1,5 @@ # SPDX-FileCopyrightText: 2004 Thomas Diehl <[email protected]> -# SPDX-FileCopyrightText: 2005, 2006, 2007 Thomas Reitelbach <[email protected]> +# SPDX-FileCopyrightText: 2005-2007 Thomas Reitelbach <[email protected]> msgid "" msgstr "" "Project-Id-Version: kio_ldap\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/po/de/libkldap6.po new/kldap-26.08.0/po/de/libkldap6.po --- old/kldap-26.04.3/po/de/libkldap6.po 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/po/de/libkldap6.po 2026-08-03 05:40:08.000000000 +0200 @@ -1,8 +1,8 @@ -# SPDX-FileCopyrightText: 2024 Johannes Obermayr <[email protected]> # SPDX-FileCopyrightText: 2007 Stephan Johach <[email protected]> -# SPDX-FileCopyrightText: 2009, 2017, 2018, 2020, 2021 Burkhard Lück <[email protected]> # SPDX-FileCopyrightText: 2009 Thomas Reitelbach <[email protected]> +# SPDX-FileCopyrightText: 2009, 2017-2018, 2020-2021 Burkhard Lück <[email protected]> # SPDX-FileCopyrightText: 2010, 2014 Frederik Schwarzer <[email protected]> +# SPDX-FileCopyrightText: 2024 Johannes Obermayr <[email protected]> msgid "" msgstr "" "Project-Id-Version: libkldap6\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/po/nn/libkldap6.po new/kldap-26.08.0/po/nn/libkldap6.po --- old/kldap-26.04.3/po/nn/libkldap6.po 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/po/nn/libkldap6.po 2026-08-03 05:40:08.000000000 +0200 @@ -1,5 +1,6 @@ # Translation of libkldap6 to Norwegian Nynorsk # +# Karl Ove Hufthammer <[email protected]>, 2008, 2020, 2022, 2024, 2026. # Eirik U. Birkeland <[email protected]>, 2008, 2009, 2010. msgid "" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/po/sk/libkldap6.po new/kldap-26.08.0/po/sk/libkldap6.po --- old/kldap-26.04.3/po/sk/libkldap6.po 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/po/sk/libkldap6.po 2026-08-03 05:40:08.000000000 +0200 @@ -104,7 +104,7 @@ #: widgets/addhostdialog.cpp:94 #, kde-format msgid "Configure" -msgstr "Nastaviť" +msgstr "Nastaviť pravidlo" #: widgets/addhostdialog.cpp:103 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/po/ug/kio_ldap.po new/kldap-26.08.0/po/ug/kio_ldap.po --- old/kldap-26.04.3/po/ug/kio_ldap.po 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/po/ug/kio_ldap.po 2026-08-03 05:40:08.000000000 +0200 @@ -8,14 +8,15 @@ "Project-Id-Version: kio_ldap\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2025-11-17 11:52+0000\n" -"PO-Revision-Date: 2013-09-08 07:05+0900\n" -"Last-Translator: Gheyret Kenji <[email protected]>\n" +"PO-Revision-Date: 2026-05-31 18:54-0400\n" +"Last-Translator: Abduqadir Abliz <[email protected]>\n" "Language-Team: Uyghur Computer Science Association <[email protected]>\n" "Language: ug\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 3.9\n" #: kio_ldap.cpp:88 #, kde-format @@ -23,8 +24,6 @@ "\n" "Additional info: " msgstr "" -"\n" -"Additional info: " #: kio_ldap.cpp:163 #, kde-format @@ -41,7 +40,7 @@ #: kio_ldap.cpp:296 #, kde-format msgid "site:" -msgstr "تورتۇرا:" +msgstr "تور بېكەت:" #: kio_ldap.cpp:321 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/po/ug/libkldap6.po new/kldap-26.08.0/po/ug/libkldap6.po --- old/kldap-26.04.3/po/ug/libkldap6.po 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/po/ug/libkldap6.po 2026-08-03 05:40:08.000000000 +0200 @@ -8,14 +8,15 @@ "Project-Id-Version: libkldap\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2025-11-17 11:52+0000\n" -"PO-Revision-Date: 2013-09-08 07:05+0900\n" -"Last-Translator: Gheyret Kenji <[email protected]>\n" +"PO-Revision-Date: 2026-05-31 18:54-0400\n" +"Last-Translator: Abduqadir Abliz <[email protected]>\n" "Language-Team: Uyghur Computer Science Association <[email protected]>\n" "Language: ug\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 3.9\n" #: core/ldapconnection.cpp:126 #, kde-format @@ -91,21 +92,20 @@ msgstr "" #: widgets/addhostdialog.cpp:75 -#, fuzzy, kde-format -#| msgid "Host:" +#, kde-format msgctxt "@title:window" msgid "Add Host" -msgstr "كومپيۇتېر:" +msgstr "" #: widgets/addhostdialog.cpp:94 #, kde-format msgid "Configure" -msgstr "" +msgstr "سەپلە" #: widgets/addhostdialog.cpp:103 #, kde-format msgid "Activities" -msgstr "" +msgstr "پائالىيەت" #: widgets/ldapconfigurewidgetng.cpp:38 #, kde-format @@ -136,18 +136,16 @@ msgstr "" #: widgets/ldapconfigurewidgetng.cpp:260 -#, fuzzy, kde-format -#| msgid "Host:" +#, kde-format msgctxt "@action:button" msgid "&Add Host…" -msgstr "كومپيۇتېر:" +msgstr "" #: widgets/ldapconfigurewidgetng.cpp:262 -#, fuzzy, kde-format -#| msgid "Host:" +#, kde-format msgctxt "@action:button" msgid "&Edit Host…" -msgstr "كومپيۇتېر:" +msgstr "" #: widgets/ldapconfigurewidgetng.cpp:265 #, kde-format @@ -178,7 +176,7 @@ #: widgets/ldapconfigwidget.cpp:127 #, kde-format msgid "Host:" -msgstr "كومپيۇتېر:" +msgstr "مۇلازىمېتىر:" #: widgets/ldapconfigwidget.cpp:136 #, kde-format @@ -263,10 +261,9 @@ msgstr "SSL" #: widgets/ldapconfigwidget.cpp:232 -#, fuzzy, kde-format -#| msgid "Security" +#, kde-format msgid "Security:" -msgstr "بىخەتەرلىك" +msgstr "بىخەتەرلىك:" #: widgets/ldapconfigwidget.cpp:242 #, kde-format @@ -287,10 +284,9 @@ msgstr "" #: widgets/ldapconfigwidget.cpp:251 -#, fuzzy, kde-format -#| msgid "Authentication" +#, kde-format msgid "Authentication:" -msgstr "كىملىك دەلىللەش" +msgstr "كىملىك دەلىللەش:" #: widgets/ldapconfigwidget.cpp:269 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/src/core/CMakeLists.txt new/kldap-26.08.0/src/core/CMakeLists.txt --- old/kldap-26.04.3/src/core/CMakeLists.txt 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/src/core/CMakeLists.txt 2026-08-03 05:40:08.000000000 +0200 @@ -136,9 +136,11 @@ target_link_libraries( KPim6LdapCore + PUBLIC + Qt::Core + KF6::ConfigCore PRIVATE KF6::I18n - KF6::ConfigCore KF6::CoreAddons KF6::KIOCore ${kldap_EXTRA_LIBS} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/src/core/KPimLdapCoreConfig.cmake.in new/kldap-26.08.0/src/core/KPimLdapCoreConfig.cmake.in --- old/kldap-26.04.3/src/core/KPimLdapCoreConfig.cmake.in 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/src/core/KPimLdapCoreConfig.cmake.in 2026-08-03 05:40:08.000000000 +0200 @@ -2,5 +2,16 @@ # SPDX-License-Identifier: BSD-3-Clause @PACKAGE_INIT@ +include(CMakeFindDependencyMacro) + +find_dependency( + Qt6Core + "@QT_REQUIRED_VERSION@" +) + +find_dependency( + KF6Config + "@KF_MIN_VERSION@" +) include("${CMAKE_CURRENT_LIST_DIR}/KPim6LdapCoreTargets.cmake") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/src/core/ldapmodel.cpp new/kldap-26.08.0/src/core/ldapmodel.cpp --- old/kldap-26.04.3/src/core/ldapmodel.cpp 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/src/core/ldapmodel.cpp 2026-08-03 05:40:08.000000000 +0200 @@ -146,8 +146,8 @@ case Name: { const QModelIndex newIndex = index(modelIndex.row(), Name); auto &serverInfo = mLdapServerInfo[idx]; - Q_EMIT dataChanged(newIndex, newIndex); serverInfo.enabled = value.toBool(); + Q_EMIT dataChanged(newIndex, newIndex); return true; } default: @@ -155,15 +155,15 @@ } } if (role != Qt::EditRole) { - return {}; + return false; } const int idx = modelIndex.row(); auto &serverInfo = mLdapServerInfo[idx]; switch (static_cast<LdapRoles>(modelIndex.column())) { case Server: { const QModelIndex newIndex = index(modelIndex.row(), Server); - Q_EMIT dataChanged(newIndex, newIndex); serverInfo.server = value.value<KLDAPCore::LdapServer>(); + Q_EMIT dataChanged(newIndex, newIndex); return true; } case Index: { @@ -212,7 +212,7 @@ void LdapModel::insertServer(const KLDAPCore::LdapServer &server) { - beginInsertRows(QModelIndex(), mLdapServerInfo.count() - 1, mLdapServerInfo.count() - 1); + beginInsertRows(QModelIndex(), mLdapServerInfo.count(), mLdapServerInfo.count()); mLdapServerInfo.append({true, 0, server}); endInsertRows(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/src/core/ldapoperation.cpp new/kldap-26.08.0/src/core/ldapoperation.cpp --- old/kldap-26.04.3/src/core/ldapoperation.cpp 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/src/core/ldapoperation.cpp 2026-08-03 05:40:08.000000000 +0200 @@ -96,6 +96,7 @@ LdapConnection &LdapOperation::connection() { + Q_ASSERT(d->mConnection); return *d->mConnection; } @@ -211,8 +212,9 @@ interact->result = nullptr; interact->len = 0; } else { - interact->result = strdup(value.toUtf8().constData()); - interact->len = strlen((const char *)interact->result); + const QByteArray utf8 = value.toUtf8(); + interact->result = utf8.constData(); + interact->len = utf8.size(); } interact++; } @@ -581,8 +583,8 @@ while (ctrls[i] != nullptr) { i++; } - ctrls[i + 1] = nullptr; ctrls = (LDAPControl **)realloc(ctrls, (i + 2) * sizeof(LDAPControl *)); + ctrls[i + 1] = nullptr; } ctrls[i] = ctrl; *pctrls = ctrls; @@ -631,7 +633,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); int count = attributes.count(); if (count > 0) { @@ -696,7 +698,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); for (LdapAttrMap::ConstIterator it = object.attributes().begin(); it != object.attributes().end(); ++it) { QString attr = it.key(); @@ -726,7 +728,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); for (LdapAttrMap::ConstIterator it = object.attributes().begin(); it != object.attributes().end(); ++it) { QString attr = it.key(); @@ -754,7 +756,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); for (int i = 0; i < ops.count(); ++i) { for (int j = 0; j < ops[i].values.count(); ++j) { @@ -783,7 +785,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); for (int i = 0; i < ops.count(); ++i) { for (int j = 0; j < ops[i].values.count(); ++j) { @@ -809,7 +811,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); int retval = ldap_rename(ld, dn.toString().toUtf8().data(), @@ -837,7 +839,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); int retval = ldap_rename_s(ld, dn.toString().toUtf8().data(), @@ -863,7 +865,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); int retval = ldap_delete_ext(ld, dn.toString().toUtf8().data(), serverctrls, clientctrls, &msgid); @@ -884,7 +886,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); int retval = ldap_delete_ext_s(ld, dn.toString().toUtf8().data(), serverctrls, clientctrls); @@ -905,7 +907,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); for (int i = 0; i < ops.count(); ++i) { int mtype = 0; @@ -950,7 +952,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); for (int i = 0; i < ops.count(); ++i) { int mtype = 0; @@ -991,7 +993,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); int vallen = value.size(); BerValue *berval; @@ -1020,7 +1022,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); int vallen = value.size(); BerValue *berval; @@ -1048,7 +1050,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); int vallen = data.size(); BerValue *berval; @@ -1084,7 +1086,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); int vallen = data.size(); BerValue *berval; @@ -1116,7 +1118,7 @@ LDAPControl **serverctrls = nullptr; LDAPControl **clientctrls = nullptr; createControls(&serverctrls, d->mServerCtrls); - createControls(&serverctrls, d->mClientCtrls); + createControls(&clientctrls, d->mClientCtrls); int retval = ldap_abandon_ext(ld, id, serverctrls, clientctrls); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/src/core/ldapsortproxymodel.cpp new/kldap-26.08.0/src/core/ldapsortproxymodel.cpp --- old/kldap-26.04.3/src/core/ldapsortproxymodel.cpp 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/src/core/ldapsortproxymodel.cpp 2026-08-03 05:40:08.000000000 +0200 @@ -33,10 +33,8 @@ const int left = sourceModel()->index(source_left.row(), LdapModel::Index).data().toInt(); const int right = sourceModel()->index(source_right.row(), LdapModel::Index).data().toInt(); return left < right; - } else { - return false; } - return true; + return false; } LdapActivitiesAbstract *LdapSortProxyModel::ldapActivitiesAbstract() const diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/src/widgets/CMakeLists.txt new/kldap-26.08.0/src/widgets/CMakeLists.txt --- old/kldap-26.04.3/src/widgets/CMakeLists.txt 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/src/widgets/CMakeLists.txt 2026-08-03 05:40:08.000000000 +0200 @@ -51,8 +51,8 @@ KPim6LdapWidgets PUBLIC KPim6::LdapCore - PRIVATE Qt::Widgets + PRIVATE KF6::I18n KF6::WidgetsAddons KF6::ConfigCore diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/src/widgets/KPimLdapWidgetsConfig.cmake.in new/kldap-26.08.0/src/widgets/KPimLdapWidgetsConfig.cmake.in --- old/kldap-26.04.3/src/widgets/KPimLdapWidgetsConfig.cmake.in 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/src/widgets/KPimLdapWidgetsConfig.cmake.in 2026-08-03 05:40:08.000000000 +0200 @@ -7,4 +7,10 @@ KPim6LdapCore "@PIM_VERSION@" ) + +find_dependency( + Qt6Widgets + "@QT_REQUIRED_VERSION@" +) + include("${CMAKE_CURRENT_LIST_DIR}/KPim6LdapWidgetsTargets.cmake") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kldap-26.04.3/src/widgets/ldapconfigwidget.h new/kldap-26.08.0/src/widgets/ldapconfigwidget.h --- old/kldap-26.04.3/src/widgets/ldapconfigwidget.h 2026-06-08 05:26:26.000000000 +0200 +++ new/kldap-26.08.0/src/widgets/ldapconfigwidget.h 2026-08-03 05:40:08.000000000 +0200 @@ -11,9 +11,9 @@ #include <QWidget> #include "kldapwidgets_export.h" -#include "ldapdn.h" -#include "ldapserver.h" -#include "ldapurl.h" +#include <KLDAPCore/LdapDN> +#include <KLDAPCore/LdapServer> +#include <KLDAPCore/LdapUrl> namespace KLDAPWidgets {
