aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-02Fix restoring window size when closed while maximizedNate Graham
The maximization string was being saved to the config file including the connected screens, but the code to read it was not, and was also looking for the old incorrect format. This could have resulted in old config values being used forever, and the window always being opened in a maximized state. BUG: 430521 FIXED-IN: 5.79
2021-01-30GIT_SILENT Add auto generated .clang-format file to .gitignoreAlexander Lohnau
2021-01-29Replace KF5_VERSION with KF_VERSIONNicolas Fella
Frameworks will be Frameworks 6 at some point and there is no good reason to have the major version in the variable name. Given this is purely internal we can to this now, making it a bit more future-proof GIT_SILENT NO_CHANGELOG
2021-01-29GIT_SILENT Upgrade ECM and KF5 version requirements for 5.79.0 release.l10n daemon script
2021-01-27Remove dead cmake codeNicolas Fella
KDEWIN_LIBRARIES is never defined
2021-01-26KConfig: preserve the milliseconds component of QDateTimeDavid Faure
I stored a file's lastModified() into KConfig, to compare with it again on next start, and the loss of milliseconds made the code think the timestamps didn't match, even when they did.
2021-01-18Use Q_EMIT instead of emitAhmad Samir
In C++20 there are new classes that have member functions named emit(). c.f.: https://lists.qt-project.org/pipermail/development/2020-February/038812.html https://en.cppreference.com/w/cpp/io/basic_osyncstream/emit GIT_SILENT
2021-01-17Adapt to Qt6 text codec changesNicolas Fella
In Qt6 QTextCodec/QTextStream::setCodec is replaced with QTextStream::setEncoding(QStringConverter::Encoding) Also UTF-8 is the new default for QTextStream.
2021-01-14Qt::dec & Qt::hex are already in Qt 5.14Friedrich W. H. Kossebau
NO_CHANGELOG
2021-01-14QString::split(QChar, Qt::SplitBehavior, ...) is already in Qt 5.14Friedrich W. H. Kossebau
NO_CHANGELOG
2021-01-12Port to QRecursiveMutexNicolas Fella
Using QMutex in recursive mode is deprecated.
2021-01-09GIT_SILENT Upgrade KF5 version to 5.79.0.l10n daemon script
2021-01-02GIT_SILENT Upgrade ECM and KF5 version requirements for 5.78.0 release.l10n daemon script
2020-12-18Remove ifdefs, we require Qt 5.14 nowAlbert Astals Cid
2020-12-18GIT_SILENT Upgrade Qt5 version requirement to 5.14.0.Albert Astals Cid
2020-12-13Make sure to use en languageLaurent Montel
2020-12-13Don't include QtTest as it includes all QtCore includesLaurent Montel
2020-12-12Properly include QStringListNicolas Fella
Forward declaring it breaks with Qt6
2020-12-12GIT_SILENT Upgrade KF5 version to 5.78.0.l10n daemon script
2020-12-10Remove unused includeNicolas Fella
2020-12-10Use | instead of + for combining keysNicolas Fella
The latter breaks with Qt6
2020-12-09Fix windows being inappropriately maximized on launchNate Graham
When a window is closed while maximized, we write a special string to the config file so that it gets restored in its maximized state. But we don't ever delete that thing when the window is un-maximized and closed again, causing the window to always be maximized when launched. BUG: 426813 FIXED-IN: 5.78
2020-12-08Correct format of window maximized stringNate Graham
All other resolutions are stored in the form of width x height, but a silly transposition error had the maximized strong being height x width. That's fixed now.
2020-12-07Fix window sizing and positioning on WindowsNate Graham
The feature to make windows remember their sizes and positions across screen layouts relied on calling QScreen::name() to identify screens. Unfortunately this function returns garbage on Windows; see https://bugreports.qt.io/browse/QTBUG-74317 So on Windows, let's identify displays by serial number as a workaround. BUG: 429943 FIXED-IN: 5.78
2020-12-05GIT_SILENT Upgrade ECM and KF5 version requirements for 5.77.0 release.l10n daemon script
2020-12-03Fix commentAhmad Samir
GIT_SILENT
2020-12-03Remove redundant comment, foreach is long goneAhmad Samir
GIT_SILENT
2020-11-27GIT_SILENT Upgrade Qt5 version requirement to 5.13.0.Albert Astals Cid
2020-11-16GIT_SILENT Upgrade KF5 version to 5.77.0.l10n daemon script
2020-11-07Add KF6 TODO to use the just-approved (*) XDG_STATE_HOME env var.David Faure
See https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/4 (*) by me :-)
2020-11-07Fix KConfigGroup::copyTo with KConfigBase::NotifyFabian Vogt
Without this, bNotify was not set on copies, making Notify a noop. CCBUG: 428771
2020-11-07GIT_SILENT Upgrade ECM and KF5 version requirements for 5.76.0 release.l10n daemon script
2020-11-02ConfigLoaderHandler::parse(): fix inverted sanity check logic at parse endFriedrich W. H. Kossebau
No caller cares for success flag, so this just has confused human code readers for now. NO_CHANGELOG
2020-10-24Find missing Qt5DBus dependencyNicolas Fella
Matters for static builds. Fixes the static KContacts build for me
2020-10-23If include is define in .h remove it if it's defined in .cpp too (scripted)Laurent Montel
2020-10-16kconf_update: Allow repeated tests in --testmode by ignoring kconf_updatercDavid Hurka
https://techbase.kde.org/Development/Tools/Using_kconf_update#Debugging_and_testing describes how to run repeated tests of kconf_update scripts in --testmode. It is necessary to delete update group flags from kconf_updaterc, which is inconvenient. With this patch, kconf_update will not use kconf_updaterc when in --testmode, so this step is no longer necessary. Additionally, running all installed update scripts automatically is no longer possible in --testmode, since that is probably only useful if you have your home directory in ~/.qttest/config/. I don’t expect problems, since this affects only --testmode, and the update group flags are still present in the modified config files themselves.
2020-10-10Port QRegExp to QRegularExpressionAhmad Samir
2020-10-10GIT_SILENT Upgrade KF5 version to 5.76.0.l10n daemon script
2020-10-04GIT_SILENT Upgrade ECM and KF5 version requirements for 5.75.0 release.l10n daemon script
2020-09-21SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-09-18CMake: Also set SKIP_AUTOUIC on generated filesKevin Funk
Otherwise we get a CMake warning, just as: ``` CMake Warning (dev) in resources/sugarcrm/CMakeLists.txt: Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility, CMake is excluding the GENERATED source file(s): "/home/kfunk/devel/build/kdab/FatCRM/resources/sugarcrm/settings.cpp" "/home/kfunk/devel/build/kdab/FatCRM/resources/sugarcrm/settings.h" from processing by AUTOMOC and AUTOUIC. (...) ``` Also merge calls to set_source_files_properties() as it can handle multiple files at once.
2020-09-14Use reverse order in KDesktopFile::locateLocal to iterate over generic ↵Jeremy Whiting
config paths. Since windows has some generic config paths that are parents of other generic config paths e.g. c:/CraftRoot/build/_/<hash>/build/bin followed by c:/CraftRoot/build/_/<hash>/build/bin/data we need to search for locations from the last location to the first.
2020-09-12GIT_SILENT Upgrade KF5 version to 5.75.0.l10n daemon script
2020-09-06GIT_SILENT Upgrade ECM and KF5 version requirements for 5.74.0 release.l10n daemon script
2020-09-04Drop outdated note about updating kdoctools/genshortcutents.cppFriedrich W. H. Kossebau
genshortcutents.cpp disappeared from kdoctools during preparations of kdelibs for KDE Frameworks (commits.kde.org/kdelibs/64537ae5bf1a4e91ba99befc016e67e8e0c9dff0) Cmp. also http://lists.kde.org/?t=137113303000003&r=1&w=2
2020-09-03Make KWindowConfig::allConnectedScreens() static and internalNate Graham
It doesn't need to be public since it's just an internal convenience function. So let's make it static. BUG: 425953
2020-09-03Fix @since tag for recently-added functionNate Graham
2020-09-01Missing g_infoStandardShortcut update for last commitFriedrich W. H. Kossebau
GIT_SILENT
2020-09-01Fix placement of new CreateFilder enumeratorFriedrich W. H. Kossebau
Needs to be added at end of list for ABI reasons. GIT_SILENT
2020-08-30autotests: stop polluting /tmp with kconf_update.* temp filesDavid Faure