aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-04GIT_SILENT Commit translations from kconfigv5.89.0-rc1v5.89.0l10n daemon script
2021-12-04GIT_SILENT Upgrade ECM and KF version requirements for 5.89.0 release.l10n daemon script
2021-12-03Fix KDesktopFileTest::testIsAuthorizedDesktopFile running on gitlab CIAlbert Astals Cid
2021-12-02GIT_SILENT: add missing licencesLaurent Montel
2021-11-29SVN_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"
2021-11-28SVN_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"
2021-11-26KDesktopFile: deprecate resource()Ahmad Samir
It is redundant since the parent class, KConfig, has locationType(). Add some API docs for fileName(), even though one could use KConfig::name() from the parent class, I think this would be confusing given a .desktop file has a Name= entry, so fileName() is less ambiguous. These seem to be leftovers from a previous refactor that happened a long time ago.
2021-11-26README.dox: GENERATE_MOC is required for signalsDawid Wróbel
2021-11-23Use innerVarStr instead of varStr for choicesTomaz Canabrava
2021-11-23Add the enum group test to the kconfigcompiler_testTomaz Canabrava
Making sure that it runs and not segfaults
2021-11-23Add a proper test for the enumms within groupsTomaz Canabrava
2021-11-23Add missing changesTomaz Canabrava
2021-11-23unbreak kconfig with enums, mutators and properties.Tomaz Canabrava
2021-11-23Demonstrate build failure with kconfig generated codeTomaz Canabrava
2021-11-22Copy ConfigPropertyMap from KDeclarative to new KConfig QML moduleAlexander Lohnau
This way consumers which want to use the ConfigPropertyMap don't have to pull in KDeclarative's entire dependency tree. Also we can remove the automatic saving of the config, previously this was opt-out - which makes is difficult to deprecate anything. This way the API design is also more clear, since the object only takes care of exposing the data to QML. The writing has to be done manually, which makes more sense anyways when we have the notify opt-in. As discussed on the KF6 weekly thread, an optional QML submodule is seen as the best way to handle the QML dependency. Task: https://phabricator.kde.org/T12131 Relates to https://phabricator.kde.org/T12126, after his change the KDeclarative stuff can be deprecated. Because we don't register the property map in any QML plugin, there is no conflict in duplicating and modifying it now.
2021-11-14Avoid some allocations by QString/QByteArray's toLower()Friedrich W. H. Kossebau
NO_CHANGELOG
2021-11-13GIT_SILENT Upgrade KF version to 5.89.0.l10n daemon script
2021-11-02GIT_SILENT: add missing overrideLaurent Montel
2021-10-20GIT_SILENT Remove a bit of dead codeAlexander Lohnau
2021-10-15Exclude new enum-overload from python bindings buildAlexander Lohnau
2021-10-13Enforce KAuthorized enums being not 0Alexander Lohnau
This will output a warning if an invalid value is requested. The goal is to avoid implicit conversion which might result in a zero-int value.
2021-10-13Create enum to to authorize common keysAlexander Lohnau
By using an enum we have a central place to provide docs for the most common actions/restrictions. Also consumers can pass in type-safe enum values instead of potentially undocumented strings that might contain typos. Also it is better documents is a value is supposed to be authorized using KAuthorized::authorize or KAuthorized::authorizeAction, in the case of "shell_access" this was mixed up from time to time. Considering that we do not want the parameter for the methods to become too long I have deliberately decided against using `enum class`. Also we don't have and usecases for the binary operators in combination with the newly added enums. Task: https://phabricator.kde.org/T11948
2021-10-11Do not try to generate python bindings for KConfigGroup::moveValuesToAlexander Lohnau
2021-10-11Create utility method for moving entries from one group to anotherAlexander Lohnau
This will become especially useful when moving state data from the config file to a dedicated state data file. Task: https://phabricator.kde.org/T12549
2021-10-09GIT_SILENT Upgrade KF version to 5.88.0.l10n daemon script
2021-10-07Add FreeBSD CINicolas Fella
2021-10-07Add Android CINicolas Fella
2021-10-02GIT_SILENT Upgrade ECM and KF version requirements for 5.87.0 release.l10n daemon script
2021-10-01SVN_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"
2021-09-29Android: Fix writing to config if path is a content:// UriSharaf Zaman
KConfigIniBackend relies on QLockFile which changes the content Uri and this is bound to fail because we don't have permission. So, for these Uris we use Android's Internal cache directory to save the .lock files.
2021-09-29Add Gitlab CI configurationBen Cooksley
2021-09-25Fix one typo in API docsAhmad Samir
GIT_SILENT
2021-09-19kconfigini: Only open the file once to writeAleix Pol
We were calling open(), then fopen(), then QFile::open(). This patch removes the fopen() call that does not seem to do anything.
2021-09-19Allow KConfigXT to use KSharedConfig::openStateConfigAlexander Lohnau
Otherwise we force consumers to use the config location for state data, which is what we are trying to avoid. Task: https://phabricator.kde.org/T12549
2021-09-11GIT_SILENT Upgrade KF version to 5.87.0.l10n daemon script
2021-09-05GIT_SILENT Add CI configuration fileDavid Faure
2021-09-04GIT_SILENT Upgrade ECM and KF version requirements for 5.86.0 release.l10n daemon script
2021-08-29Add Ctrl+Alt+Comma shortcut for "Configure Keyboard Shortcuts"empyreal one
BUG: 441537 FIXED-IN: 5.86
2021-08-29Make enum value visible to QML when using GlobalEnum modeCarl Schwan
Now generate Q_ENUM(<enum-name>)
2021-08-28GIT_SILENT: we can use std::as_const directlyLaurent Montel
2021-08-26KDesktopFile::isAuthorizedDesktopFile: reduce warning to info a logMéven Car
2021-08-25GIT_SILENT: replace MacOSX with macOSLaurent Montel
2021-08-18Port to QStrinViewAhmad Samir
Now that KF requires Qt 5.15.2; this basically reverts commit 2e8742e64fc0 with some trivial changes. NO_CHANGELOG
2021-08-15GIT_SILENT Upgrade Qt5 version requirement to 5.15.2.l10n daemon script
2021-08-14GIT_SILENT Upgrade KF version to 5.86.0.l10n daemon script
2021-08-13clang-tidy: one declaration per line; braces around statementsAhmad Samir
clang-tidy checks: readability-isolate-declaration and readability-braces-around-statements KF task: https://phabricator.kde.org/T14729 GIT_SILENT
2021-08-03KConfig: sort keys in keyListImpl() so unittests can rely on itDavid Faure
The code was using a QSet (hash-based), use a std::set instead for unicity, it gives us sorting for free. We probably want to do the same in groupList(), but that's separate.
2021-08-03KConfig: fix deletion of an entry that is also in kdeglobalsDavid Faure
This is the case where we expected to see Key[$d] in the config file, and it was somehow broken. When saving, the key was omitted, so when reloading the kdeglobals key was present again. Detected when trying to write a unittest for a different patch... I had to reshuffle the unittest a bit because testThreads calls testSimple which didn't expect that the "[AAA]" group would actually be deleted now.
2021-07-14GIT_SILENT Upgrade ECM and KF version requirements for 5.85.0 release.l10n daemon script
2021-07-13Fix typos found by codespellChristophe Giboudeaux
GIT_SILENT