Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase KConfig upstream #24

Draft
wants to merge 260 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
260 commits
Select commit Hold shift + click to select a range
00213a3
kconfig_compiler : generate kconfig settings with subgroup
croooo Feb 3, 2020
1c8da80
GIT_SILENT Upgrade ECM and KF5 version requirements for 5.70.0 release.
May 2, 2020
2789bb2
KAuthorized: export method to reload restrictions
dfaure May 1, 2020
311e308
GIT_SILENT add comment
dfaure May 3, 2020
8e0f840
Adjust name of internally-exported method as suggested in D29347
dfaure May 8, 2020
15ecb79
GIT_SILENT Upgrade KF5 version to 5.71.0.
May 9, 2020
cb9b6ca
GIT_SILENT: we don't use phabricator anymore
Montel May 19, 2020
9bbf7cf
Fix KStandardShortcut::find(const char*)
Sodivad May 22, 2020
24e0799
Add KStandardShortcut::findByName(const QString&) and deprecate find(…
Sodivad May 22, 2020
d57a4a0
Don't try to initalize deprecated SaveOptions enum value
Sodivad May 23, 2020
94b1b00
SVN_SILENT made messages (.desktop file) - always resolve ours
May 31, 2020
19565e6
GIT_SILENT Upgrade ECM and KF5 version requirements for 5.71.0 release.
Jun 6, 2020
6344c2f
GIT_SILENT Upgrade KF5 version to 5.72.0.
Jun 13, 2020
27882eb
SVN_SILENT made messages (.desktop file) - always resolve ours
Jun 17, 2020
56a44a5
SVN_SILENT made messages (.desktop file) - always resolve ours
Jun 18, 2020
a316687
Make "Switch Application Language..." text more consistent
Pointedstick Jun 15, 2020
7c672e5
Also pass locationType to KConfigSkeleton when construction from group
awhiemstra Jun 18, 2020
d4cd9ed
GIT_SILENT Upgrade ECM and KF5 version requirements for 5.72.0 release.
Jul 4, 2020
5d73eed
Use camelcase include. (scripted)
Montel Jul 7, 2020
762523d
GIT_SILENT Upgrade KF5 version to 5.73.0.
Jul 12, 2020
2f7207f
Use KF-standardized Qt logging categories
kossebau Jul 13, 2020
538cf78
SVN_SILENT made messages (.desktop file) - always resolve ours
Jul 14, 2020
f0cf938
Fix test when build with EXCLUDE_DEPRECATED_BEFORE_AND_AT=CURRENT
Sodivad Jul 3, 2020
d1edad3
API dox: state explicitly expected encoding for KConfig key & group n…
kossebau Jul 24, 2020
7c96cf2
Update sGlobalFileName when QStandardPaths TestMode is toggled
Jul 25, 2020
3e5e2ea
GIT_SILENT Upgrade ECM and KF5 version requirements for 5.73.0 release.
Aug 1, 2020
1434257
Add functions to save and restore window positions on non-Wayland pla…
Pointedstick Jul 30, 2020
bc25027
GIT_SILENT Upgrade KF5 version to 5.74.0.
Aug 8, 2020
45d8532
Add documentation for ParentInConstructor option
croooo Jul 9, 2020
c032237
Categorize standard shortcuts
Sodivad Jul 3, 2020
9574fe4
Remove obsolete COPYING files
cordlandwehr Aug 17, 2020
a3d5591
Fix qt warning:
Montel Aug 24, 2020
803b9f1
Extract code to get list of connected screens into a re-usable function
Pointedstick Aug 20, 2020
0f1b47f
Remember window sizes on a per-screen-arrangement basis
Pointedstick Aug 20, 2020
60f18e6
Introduce method to query KConfigSkeletonItem default value
davidedmundson Aug 27, 2020
7dbe2eb
API dox: consistently use version number without product name for @de…
kossebau Aug 28, 2020
eeb2bbe
Add standard shortcut for "Create Folder"
pandom79 Aug 29, 2020
0804a38
Port from QSharedPointer to unique_ptr. There's no sharing going on h…
dfaure Aug 30, 2020
565fa66
kconf_update: test the return value of QTemporaryFile::open() for goo…
dfaure Aug 30, 2020
f12ffa5
autotests: stop polluting /tmp with kconf_update.* temp files
dfaure Aug 30, 2020
5674ebf
Fix placement of new CreateFilder enumerator
kossebau Sep 1, 2020
7ce130f
Missing g_infoStandardShortcut update for last commit
kossebau Sep 1, 2020
89c9916
Fix @since tag for recently-added function
Pointedstick Sep 3, 2020
a1ffd14
Make KWindowConfig::allConnectedScreens() static and internal
Pointedstick Sep 3, 2020
ae029a7
Drop outdated note about updating kdoctools/genshortcutents.cpp
kossebau Sep 1, 2020
992b938
GIT_SILENT Upgrade ECM and KF5 version requirements for 5.74.0 release.
Sep 6, 2020
c7708ff
GIT_SILENT Upgrade KF5 version to 5.75.0.
Sep 12, 2020
0283103
Use reverse order in KDesktopFile::locateLocal to iterate over generi…
jpwhiting Sep 14, 2020
f9079c8
CMake: Also set SKIP_AUTOUIC on generated files
krf Sep 18, 2020
21a40e0
SVN_SILENT made messages (.desktop file) - always resolve ours
Sep 21, 2020
23a91a4
GIT_SILENT Upgrade ECM and KF5 version requirements for 5.75.0 release.
Oct 4, 2020
3d43fb0
GIT_SILENT Upgrade KF5 version to 5.76.0.
Oct 10, 2020
bc620cc
Port QRegExp to QRegularExpression
Oct 8, 2020
c81dfc9
kconf_update: Allow repeated tests in --testmode by ignoring kconf_up…
Sep 5, 2020
945ff64
If include is define in .h remove it if it's defined in .cpp too (scr…
Montel Oct 23, 2020
637775d
Find missing Qt5DBus dependency
nicolasfella Oct 24, 2020
0ce10a9
ConfigLoaderHandler::parse(): fix inverted sanity check logic at pars…
kossebau Nov 2, 2020
2c272cd
GIT_SILENT Upgrade ECM and KF5 version requirements for 5.76.0 release.
Nov 7, 2020
2f68c54
Fix KConfigGroup::copyTo with KConfigBase::Notify
Vogtinator Nov 7, 2020
af232ec
Add KF6 TODO to use the just-approved (*) XDG_STATE_HOME env var.
dfaure Nov 7, 2020
0d45601
GIT_SILENT Upgrade KF5 version to 5.77.0.
Nov 16, 2020
1538a58
GIT_SILENT Upgrade Qt5 version requirement to 5.13.0.
tsdgeos Nov 26, 2020
500cbfa
Remove redundant comment, foreach is long gone
Dec 3, 2020
acfbe17
Fix comment
Dec 3, 2020
d894326
GIT_SILENT Upgrade ECM and KF5 version requirements for 5.77.0 release.
Dec 5, 2020
e5fb03b
Fix window sizing and positioning on Windows
Pointedstick Dec 7, 2020
1be7af7
Correct format of window maximized string
Pointedstick Dec 8, 2020
a62e53e
Fix windows being inappropriately maximized on launch
Pointedstick Dec 8, 2020
5ec83d6
Use | instead of + for combining keys
nicolasfella Dec 10, 2020
2f8a0d6
Remove unused include
nicolasfella Dec 10, 2020
28a077b
GIT_SILENT Upgrade KF5 version to 5.78.0.
Dec 12, 2020
b3b17d0
Properly include QStringList
nicolasfella Dec 10, 2020
854a5e6
Don't include QtTest as it includes all QtCore includes
Montel Dec 13, 2020
b6f0f66
Make sure to use en language
Montel Dec 13, 2020
6399823
GIT_SILENT Upgrade Qt5 version requirement to 5.14.0.
tsdgeos Dec 18, 2020
d9eb723
Remove ifdefs, we require Qt 5.14 now
tsdgeos Dec 18, 2020
5744d5c
GIT_SILENT Upgrade ECM and KF5 version requirements for 5.78.0 release.
Jan 2, 2021
bd46a52
GIT_SILENT Upgrade KF5 version to 5.79.0.
Jan 9, 2021
80e1cd8
Port to QRecursiveMutex
nicolasfella Jan 10, 2021
6aa8ad5
QString::split(QChar, Qt::SplitBehavior, ...) is already in Qt 5.14
kossebau Jan 14, 2021
e4a8a88
Qt::dec & Qt::hex are already in Qt 5.14
kossebau Jan 14, 2021
63b88fe
Adapt to Qt6 text codec changes
nicolasfella Dec 10, 2020
d1c58a8
Use Q_EMIT instead of emit
Jan 18, 2021
b132648
KConfig: preserve the milliseconds component of QDateTime
dfaure Mar 26, 2021
b912232
Remove dead cmake code
nicolasfella Jan 26, 2021
2b3bb53
GIT_SILENT Upgrade ECM and KF5 version requirements for 5.79.0 release.
Jan 29, 2021
1605a2b
Replace KF5_VERSION with KF_VERSION
nicolasfella Jan 29, 2021
828ba0e
GIT_SILENT Add auto generated .clang-format file to .gitignore
alex1701c Jan 30, 2021
b57c7ad
Fix restoring window size when closed while maximized
Pointedstick Feb 1, 2021
7766259
Refactor window geometry save/restore code to be less fragile
Pointedstick Feb 2, 2021
68f8622
SVN_SILENT made messages (.desktop file) - always resolve ours
Feb 4, 2021
5d0dac0
Fix kconfig_compiler doxygen formatting
Feb 4, 2021
081f559
General code cleanup
Jan 31, 2021
2ac4519
Preincerment/predecrement operator where the post ones aren't needed
Feb 1, 2021
bce76d2
Less implicit cast from ASCII
Feb 4, 2021
51f0797
kconfigtest: less implicit cast from ASCII
Feb 4, 2021
bb16fda
Compile without implicit cast from ASCII
Feb 3, 2021
dc87828
Minor code optimisations
Feb 3, 2021
65e5f9f
Fix windows build on the CI
Feb 6, 2021
073f3cb
Fix build on windows on the CI, again
Feb 6, 2021
97accd1
Fix window positioning regression due to incorrect fallback in fallback
Pointedstick Feb 8, 2021
4af0de0
Add compile_commands.json to .gitignore
Feb 11, 2021
a06ffb3
GIT_SILENT Upgrade KF version to 5.80.0.
Feb 13, 2021
186755f
Add a trailing comma to last member in enum
Feb 22, 2021
8bed00a
Run clang-format on all cpp/h files
Feb 22, 2021
48c132b
Fix formatting in a couple of places after running clang-format
Feb 22, 2021
cae1e9b
Add KEntryMap::constFindEntry() method
Feb 23, 2021
505909e
Use KEntryMapIterator/KEntryMapConstIterator typedef's everywhere
Feb 23, 2021
124668a
Add .git-blame-ignore-revs
Feb 27, 2021
5a048f1
GIT_SILENT Upgrade ECM and KF version requirements for 5.80.0 release.
Feb 28, 2021
63c2629
Make QByteArray -> char* conversion explicit
nicolasfella Jan 31, 2021
24dab65
Add missing QTextStream::setCodec ifdef
nicolasfella Mar 1, 2021
36f12b2
KDEFrameworkCompilerSettings in ECM 5.80 includes KDEClangFormat by d…
Mar 1, 2021
ee35bdc
Optimise string operations a bit
Feb 22, 2021
9d87348
Minor code optimisation
Feb 22, 2021
23f55a8
kconfig_compiler: change how paramString() creates strings
Feb 23, 2021
d5ca63b
Improve code readability by using QLatin1String::arg()
Feb 23, 2021
0c1df8b
GIT_SILENT Upgrade KF version to 5.81.0.
Mar 15, 2021
fee82b7
Remove old contact data from src/kconfig_compiler_README.dox
Mar 16, 2021
ce350df
[kconfig_compiler] Explicitly open input file for reading
nicolasfella Mar 17, 2021
ecf0250
Relicense file to LGPL-2.0-or-later
cordlandwehr Mar 28, 2021
e5aa388
GIT_SILENT Upgrade ECM and KF version requirements for 5.81.0 release.
Apr 3, 2021
6b99fcc
GIT_SILENT Upgrade Qt5 version requirement to 5.15.0.
dfaure Apr 4, 2021
05bf9bd
autotests: look for cmd, not bash, on Windows
dfaure Apr 4, 2021
27f1d26
kconfig_compiler: add override to generated destructors
dfaure Apr 4, 2021
ecfc43a
GIT_SILENT Add auto generated files to .gitignore
alex1701c Apr 7, 2021
5210b33
Relicense to LGPL-2.0-or-later
cordlandwehr Apr 10, 2021
48fd62f
Relicense to LGPL-2.0-or-later
cordlandwehr Apr 10, 2021
f8a5471
GIT_SILENT Upgrade KF version to 5.82.0.
Apr 10, 2021
ff9baa8
Remove check for po subdir.
dfaure Apr 11, 2021
163cebc
KConfig: rename kconfigdata.h to kconfigdata_p.h
dfaure Apr 15, 2021
6a4b1b4
Remove stray tick from readme
nicolasfella Apr 16, 2021
533ff88
Deprecate KDesktopFile::readDevice()
Apr 18, 2021
17ce440
Use new version-controlled enumerator deprecation warning macros
kossebau Apr 26, 2021
50ae370
Make the docs state that KConfig::reparseConfiguration() calls sync()…
Apr 28, 2021
2b96960
GIT_SILENT Upgrade ECM and KF version requirements for 5.82.0 release.
May 1, 2021
1164ef5
GIT_SILENT Add auto generated files to .gitignore
alex1701c May 2, 2021
1780fb2
Minor code refactoring
May 2, 2021
1221254
Port away from ECMSetupVersion's deprecated *_VERSION_STRING CMake va…
kossebau May 2, 2021
6e3e851
Fix cmake warning
Montel May 4, 2021
f5f1292
Don't write position data for maximized windows
Pointedstick May 5, 2021
728c44c
Order macro for attribute for symbol export before that for deprecated
kossebau May 7, 2021
f3e8853
GIT_SILENT Upgrade KF version to 5.83.0.
May 8, 2021
2e8742e
Revert QStringView port
May 2, 2021
40f2371
Docs: make a complete reference to reparseConfiguration() from KShare…
adriaandegroot May 11, 2021
5bc56ee
GIT_SILENT: use qt_ macro
Montel May 16, 2021
725c2cc
Bump required CMake version to 3.16
May 16, 2021
af6982b
Remove compiler flags already defined in extra-cmake-modules
May 23, 2021
b3dc879
fix deleted group is in listGroups
lievenhey May 20, 2021
4c590ed
Revert "fix deleted group is in listGroups"
Pointedstick May 25, 2021
9fe58ac
Avoid cmake variables and pass sources directly to macro
kossebau May 27, 2021
e4a9b97
Use more target-centric cmake code
kossebau May 27, 2021
0d6cdae
kconfig_add_kcfg_files: catch alias targets before failing internally
kossebau May 28, 2021
ad2c9eb
GIT_SILENT Upgrade ECM and KF version requirements for 5.83.0 release.
Jun 5, 2021
c5a8157
GIT_SILENT Upgrade KF version to 5.84.0.
Jun 12, 2021
6da4db6
GIT_SILENT Upgrade ECM and KF version requirements for 5.84.0 release.
Jun 19, 2021
74a861c
kconfigtest: save/restore XDG_CONFIG_DIRS
dfaure Jun 21, 2021
93c9398
Cache global config files
aleixpol Jul 1, 2021
57296d5
Use specific API to compare QByteArrays
aleixpol Jul 4, 2021
e74f284
Only query for existing config file when it's necessary
aleixpol Jul 4, 2021
3c78617
Do not create a vector and a QByteArray just to discard it immediately
aleixpol Jul 4, 2021
bd53bb3
GIT_SILENT Upgrade KF version to 5.85.0.
Jul 10, 2021
530f949
Update kconfig_compiler documentation with translation options
croooo Jul 7, 2021
3471f19
Fix typos found by codespell
krop Jul 13, 2021
dcc5f65
GIT_SILENT Upgrade ECM and KF version requirements for 5.85.0 release.
Jul 14, 2021
ed28682
KConfig: fix deletion of an entry that is also in kdeglobals
dfaure Jun 23, 2021
17c1795
KConfig: sort keys in keyListImpl() so unittests can rely on it
dfaure Jun 23, 2021
783d1c2
clang-tidy: one declaration per line; braces around statements
Aug 13, 2021
f74498d
GIT_SILENT Upgrade KF version to 5.86.0.
Aug 14, 2021
98e74c2
GIT_SILENT Upgrade Qt5 version requirement to 5.15.2.
Aug 15, 2021
4f8ed9b
Port to QStrinView
Aug 18, 2021
e65ecb4
GIT_SILENT: replace MacOSX with macOS
Montel Aug 25, 2021
3259a6e
KDesktopFile::isAuthorizedDesktopFile: reduce warning to info a log
meven Aug 25, 2021
dffdff7
GIT_SILENT: we can use std::as_const directly
Montel Aug 28, 2021
dab919f
Make enum value visible to QML when using GlobalEnum mode
CarlSchwan Aug 14, 2021
7ad396a
Add Ctrl+Alt+Comma shortcut for "Configure Keyboard Shortcuts"
empyrea1 Aug 29, 2021
e88b043
GIT_SILENT Upgrade ECM and KF version requirements for 5.86.0 release.
Sep 4, 2021
3691e4f
GIT_SILENT Add CI configuration file
dfaure Sep 5, 2021
7827501
GIT_SILENT Upgrade KF version to 5.87.0.
Sep 11, 2021
0b0a446
Allow KConfigXT to use KSharedConfig::openStateConfig
alex1701c Sep 14, 2021
3090534
kconfigini: Only open the file once to write
aleixpol Sep 7, 2021
5617e6d
Fix one typo in API docs
Sep 25, 2021
064f1b1
Add Gitlab CI configuration
bcooksley Sep 29, 2021
0c61fb5
Android: Fix writing to config if path is a content:// Uri
sh-zam Sep 29, 2021
1e42d79
SVN_SILENT made messages (.desktop file) - always resolve ours
Oct 1, 2021
4fceed0
GIT_SILENT Upgrade ECM and KF version requirements for 5.87.0 release.
Oct 2, 2021
07c9b76
Add Android CI
nicolasfella Oct 6, 2021
14bab92
Add FreeBSD CI
nicolasfella Oct 6, 2021
13b7946
GIT_SILENT Upgrade KF version to 5.88.0.
Oct 9, 2021
f7754f2
Create utility method for moving entries from one group to another
alex1701c Sep 19, 2021
9b44f49
Do not try to generate python bindings for KConfigGroup::moveValuesTo
alex1701c Oct 11, 2021
b0a3e42
Create enum to to authorize common keys
alex1701c Sep 26, 2021
9b134d6
Enforce KAuthorized enums being not 0
alex1701c Oct 9, 2021
5bc393b
Exclude new enum-overload from python bindings build
alex1701c Oct 13, 2021
605383b
GIT_SILENT Remove a bit of dead code
alex1701c Oct 20, 2021
c64a73a
GIT_SILENT: add missing override
Montel Nov 2, 2021
473a913
GIT_SILENT Upgrade KF version to 5.89.0.
Nov 13, 2021
c3be6d0
Avoid some allocations by QString/QByteArray's toLower()
kossebau Nov 14, 2021
3f29f3d
Copy ConfigPropertyMap from KDeclarative to new KConfig QML module
alex1701c Nov 7, 2021
10dee51
Demonstrate build failure with kconfig generated code
Oct 17, 2021
e16ab18
unbreak kconfig with enums, mutators and properties.
Oct 21, 2021
829cc00
Add missing changes
Oct 21, 2021
148ea28
Add a proper test for the enumms within groups
tcanabrava Nov 17, 2021
0d742a8
Add the enum group test to the kconfigcompiler_test
tcanabrava Nov 17, 2021
e40531e
Use innerVarStr instead of varStr for choices
tcanabrava Nov 17, 2021
4c62867
README.dox: GENERATE_MOC is required for signals
wrobelda Nov 26, 2021
2cd5cdf
KDesktopFile: deprecate resource()
Jun 17, 2020
973dfd4
SVN_SILENT made messages (.desktop file) - always resolve ours
Nov 28, 2021
594e624
SVN_SILENT made messages (.desktop file) - always resolve ours
Nov 29, 2021
202b23c
GIT_SILENT: add missing licences
Montel Dec 2, 2021
dcc6e03
Fix KDesktopFileTest::testIsAuthorizedDesktopFile running on gitlab CI
tsdgeos Nov 29, 2021
19fac5e
GIT_SILENT Upgrade ECM and KF version requirements for 5.89.0 release.
Dec 4, 2021
574508b
Allow kreadconfig/kwriteconfig to access the root group
martenjj Dec 6, 2021
9c81af2
GIT_SILENT Upgrade KF version to 5.90.0.
Dec 13, 2021
eeefdf8
SVN_SILENT made messages (.desktop file) - always resolve ours
Dec 15, 2021
bdb7f8b
Minor code clean up
Oct 30, 2021
10c4a4b
WIP: Change the build system to enable building with Qt 6
Dec 3, 2021
428261e
Fix build on Windows
Dec 17, 2021
eac8e43
Complete fixing the Windows CI
Dec 18, 2021
c5ce7c4
kconfig_compiler/CMakeLists.txt - use CMAKE_CROSSCOMPILING
winterz Dec 27, 2021
43e096a
GIT_SILENT Upgrade ECM and KF version requirements for 5.90.0 release.
Jan 1, 2022
c0ad137
groupList: don't copy unnecessarily; add const
vedgy Dec 24, 2021
295ea76
Exclude deleted groups from groupList()
vedgy Dec 24, 2021
af6b3a3
groupList: convert each group name from UTF-8 once
vedgy Dec 25, 2021
9ca4203
KConfigPrivate::copyGroup: remove redundant entryMap lookup
vedgy Dec 25, 2021
1178352
Improve the documentation of KConfigPrivate::allSubGroups()
vedgy Dec 27, 2021
acccefb
Look for entries with common group prefix in entryMap's subrange
vedgy Dec 25, 2021
9151f1d
Extract isNonDeletedKey() helper function
vedgy Dec 25, 2021
4b44066
Use KDE_INSTALL_FULL_LIBEXECDIR_KF
Montel Jan 3, 2022
b0bf9e0
Add Samir variable fix too
Montel Jan 4, 2022
85f1170
Add CI qt6 support
Montel Jan 6, 2022
a05de4e
GIT_SILENT Upgrade KF version to 5.91.0.
Jan 8, 2022
26e541b
Utilize ECMDeprecationSettings to manage deprecate Qt/KF API
alex1701c Jan 15, 2022
43c0ad1
Install kconfig_version.h in /usr/include/KF5/KConfig/
Jan 15, 2022
3bbe9de
Add KF*/KConfig to the interface include directories
Jan 15, 2022
41d3740
Make singleton teardown work with Qt6 as well
vkrause Jan 21, 2022
820dc0a
Introduce StandardShortcutWatcher to watch for runtime changes
Sodivad Jan 13, 2022
724966b
Fix build on Windows
tsdgeos Jan 24, 2022
4d31ec7
Don't use saveShortcut for setting up tests
Sodivad Jan 28, 2022
978d696
Fix build on Windows
Sodivad Feb 4, 2022
4ab9e42
GIT_SILENT Upgrade ECM and KF version requirements for 5.91.0 release.
Feb 5, 2022
9a35a36
API dox: brush over KCoreConfigSkeleton & KConfigSkeleton docs
kossebau Feb 9, 2022
8c35012
API dox: fix class name & CC include of KConfigCompilerSignallingItem
kossebau Feb 11, 2022
a19011f
Add KConfig GUI logging category
kbroulik Feb 11, 2022
7cbdd55
Support build without Qt session manager
kbroulik Feb 11, 2022
1a8fc4c
Support build without Qt session manager
kbroulik Feb 11, 2022
82a75d9
QMake pri files: fix missing new path to version header
kossebau Feb 13, 2022
17364e0
GIT_SILENT Upgrade KF version to 5.92.0.
Feb 16, 2022
828f524
KConfigPropertyMap: Clean up internal leftovers of autosave feature
alex1701c Feb 1, 2022
db7cb39
Merge remote-tracking branch 'upstream/master'
mpranj Feb 17, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .arcconfig

This file was deleted.

4 changes: 4 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#clang-format/tidy
8bed00ab34e31f2b9c70026d418d923913325798
48c132be8aa983165126b0641a083848dd5c6620
06ca3b8c62989f59ca348606dfd4eda9e3ee3ec0
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ random_seed
CMakeLists.txt.user*
*.unc-backup*
.cmake/
/cmake-build-debug/
.idea/
cmake-build-debug/src/kreadcon
fig/CTestTestfile.cmake
/.clang-format
/compile_commands.json
.clangd
.idea
/cmake-build*
.cache
8 changes: 8 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# SPDX-FileCopyrightText: 2020 Volker Krause <[email protected]>
# SPDX-License-Identifier: CC0-1.0

include:
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/android.yml
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml
7 changes: 7 additions & 0 deletions .kde-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Dependencies:
- 'on': ['@all']
'require':
'frameworks/extra-cmake-modules': '@same'

Options:
test-before-installing: True
60 changes: 31 additions & 29 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,37 +1,19 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.16)

set(KF5_VERSION "5.69.0") # handled by release scripts
project(KConfig VERSION ${KF5_VERSION})
set(KF_VERSION "5.92.0") # handled by release scripts
project(KConfig VERSION ${KF_VERSION})

include(FeatureSummary)
find_package(ECM 5.68.0 NO_MODULE)
find_package(ECM 5.91.0 NO_MODULE)
set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules")
feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES)

set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})

set(REQUIRED_QT_VERSION 5.12.0)

find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Xml)
option(KCONFIG_USE_GUI "Build components using Qt5Gui" ON)
if(KCONFIG_USE_GUI)
find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Gui)
endif()

if (NOT ANDROID)
option(KCONFIG_USE_DBUS "Build components using Qt5DBus" ON)
if(KCONFIG_USE_DBUS)
find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED DBus)
endif()
else()
set(KCONFIG_USE_DBUS Off)
endif()


include(KDEInstallDirs)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(KDECMakeSettings)

include(KDEGitCommitHooks)

include(ECMGenerateExportHeader)
include(ECMSetupVersion)
Expand All @@ -40,6 +22,25 @@ include(ECMMarkNonGuiExecutable)
include(ECMPoQmTools)
include(ECMAddQch)
include(ECMQtDeclareLoggingCategory)
include(ECMDeprecationSettings)

set(REQUIRED_QT_VERSION 5.15.2)

find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} CONFIG REQUIRED Xml)
option(KCONFIG_USE_GUI "Build components using Qt${QT_MAJOR_VERSION}Gui" ON)
if(KCONFIG_USE_GUI)
find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} CONFIG REQUIRED Gui)
endif()
find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} OPTIONAL_COMPONENTS Qml)

if (NOT ANDROID)
option(KCONFIG_USE_DBUS "Build components using Qt${QT_MAJOR_VERSION}DBus" ON)
if(KCONFIG_USE_DBUS)
find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} CONFIG REQUIRED DBus)
endif()
else()
set(KCONFIG_USE_DBUS Off)
endif()

set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of deprecated API excluded from the build [default=0].")

Expand All @@ -51,18 +52,17 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX KCONFIG
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5ConfigConfigVersion.cmake"
SOVERSION 5)

add_definitions(-DQT_NO_FOREACH)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
ecm_set_disabled_deprecation_versions(
QT 5.15.2
)

add_subdirectory(src)
if (BUILD_TESTING)
add_subdirectory(autotests)
endif()

include (ECMPoQmTools)
if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
ecm_install_po_files_as_qm(po)
endif()
ecm_install_po_files_as_qm(po)


# create a Config.cmake and a ConfigVersion.cmake file and install them
Expand Down Expand Up @@ -100,7 +100,9 @@ install(EXPORT KF5ConfigCompilerTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
FILE KF5ConfigCompilerTargets.cmake NAMESPACE KF5:: COMPONENT Devel)

install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kconfig_version.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5} COMPONENT Devel )
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/KConfig COMPONENT Devel)


feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)

kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
Loading