aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-28Upgrade ECM version requirement and KF5 version.v4.98.0David Faure
2014-03-28guard gcc-specific things with Q_CC_GNU to avoid problems elsewhereDavid Faure
2014-03-28Fix repeated typo in 'override'David Faure
2014-03-28Stop re-loading values inside KCoreConfigSkeleton::save().Matthew Dawson
The extra load of values in KCoreConfigSkeleton is not documented anywhere that it happens, and in normal circumstances re-loading new values isn't expecterd during a save operation. Update various mentions of readConfig/writeConfig to read/save. Update documentation to match the new names of functions. Rename writeConfig() to save() and usrWriteConfig() to usrSave() Rename functions to match the new naming conventions. Also create old deprecated instances of both functions to ensure that old code continues to operate correctly. Also make save() non-virtual, for the same reasons read() is now non-virtual. Rename usrReadConfig to usrRead, to be consistent with the new name for readConfig. Rename usrReadConfig to usrRead, and mark the former as deprecated. To maintain compatibility, usrRead still calls usrReadConfig in its default implementation. usrReadConfig remains empty. REVIEW: 117010
2014-03-25Use the full path for kconf_update when running itAlex Merry
It is not on $PATH, so we cannot just expect QProcess to find it. REVIEW: 117023
2014-03-25Export the location of kconf_update in CMakeAlex Merry
This is for the benefit of kded, which needs to run this binary. REVIEW: 117023
2014-03-25Remove kde3 compatibility code for "DocPath" in desktop filesAlex Merry
LXR suggests nothing still sets that (everything is X-DocPath now). REVIEW: 117003
2014-03-24Rename the kconfig_compiler_kf5 target to kconfig_compilerAlex Merry
Just because the executable has the "_kf5" suffix, that does not mean the target should have it. This is ugly API, and will be unnecessary porting effort for KF6. REVIEW: 116995
2014-03-24Update docs for KDesktopFile::isAuthorizedDesktopFile()Alex Merry
The fact that it changed in KDE 4.3 is not so relevant any more. REVIEW: 116962
2014-03-24Remove unhelpful commentsAlex Merry
These lines of code do not really require any justification. REVIEW: 116962
2014-03-24Better comment for why KDesktopFile::readPath uses readEntryAlex Merry
REVIEW: 116962
2014-03-24Remove old kdelibs4 codeAlex Merry
All this ifdef'd-out code just makes it hard to see what's going on. REVIEW: 116962
2014-03-24Remove references to ${_KDE4_KCONFIG_COMPILER_DEP}Alex Merry
Not sure why it would be unset and then used, instead of just not used at all. LXR says it's not used anywhere else, though. REVIEW: 116962
2014-03-23Rename readConfig() to load(), to make it clear it's loading from disk.David Faure
As discussed with Matthew Dawson in review 116461.
2014-03-23Revert addition of DelayedParsing, not needed after all.David Faure
2014-03-23Make readConfig() non-virtual anymore, it's not useful.David Faure
Apps can reimplement usrReadConfig() or the readConfig() in every item instead.
2014-03-23Remove unnecessary debug outputDavid Faure
2014-03-23Add KCoreConfigSkeleton::read() which doesn't call reparseConfiguration.David Faure
Call it from generated singletons, since the constructor creates a KConfig from a filename, which already loads from disk. This removes the need for using DelayedParsing. REVIEW: 116845
2014-03-23KStandardDirs -> QStandardPaths in apidoxAlex Merry
2014-03-13KCoreConfigSkeleton: delay parsing until the call to readConfig()David Faure
2014-03-13Normalize vars to avoid odd bugs: QT_REQUIRED_VERSION => REQUIRED_QT_VERSIONAurélien Gâteau
2014-03-05kconfigtest: write everything into a subdirectoryAlex Richardson
This test keeps deleting the whole ~/.qttest directory. By moving all data into a subdirectory it is now possible to run multiple tests that use kconfig in parallel. REVIEW: 115875
2014-03-01Upgrade ECM version requirement and KF5 version.v4.97.0David Faure
2014-03-01make comment less confusingDavid Faure
2014-03-01we use Qt5 now, so re-enable -DQT_NO_CAST_FROM_BYTEARRAYDavid Faure
2014-02-27Fix interference from kdeplatformtheme into unittestsDavid Faure
kdeplatformtheme would load kdeglobals and the app config file, in order to load settings, before the unittests get a chance to call QStandardPaths::setTestModeEnabled(true). As a result, the test would keep getting references to "wrong" shared config objects, pointing to the real user's locations rather than the test directories. This fixes e.g. kconfigdialog_unittest from kconfigwidgets for me (it only passes on build.kde.org because it doesn't install frameworkintegration for testing this framework) REVIEW: 115963
2014-02-27Add sharedConfig() accessor, to avoid manipulating a raw KConfig * as ↵David Faure
returned by config(). This is useful when using kconfigxt and some other code to read from the same config file (e.g. KColorScheme::contrastF(config)) - no need to call KSharedConfig::openConfig twice, just grab the KSharedConfig from the generated class. REVIEW: 115960
2014-02-25set SOVERSION to 5Jonathan Riddell
2014-02-20Make kconfig_compiler signals actually useful + add unit testAlex Richardson
Previously the classes generated by kconfig_compiler would only emit the defined signals when using the setters provided by that class. However, when using e.g. KConfigDialog which uses KConfigSkeletonItem::setProperty() to change the items no signal was generated. This patch fixes this by using a wrapper KConfigSkeletonItem subclass that calls a private itemChanged() method in the generated class which updates the set of changed properties. As soon as the item is saved (usrWriteConfig() in the generated class is called) the signal will be emitted REVIEW: 115635 REVIEW: 115634
2014-02-19Print the diff to stdout on comparison failureAlex Richardson
Previously the output of diff -u was written to a file when the generated file did not match the expectations. Having the output printed to stdout makes it easier to see the exact error without having to know that a diff exists in a certain file somewhere in the build directory. REVIEW: 115832
2014-02-18Use ecm_configure_package_config_fileAlex Merry
Ported with: sed -i -e 's/\(include(\)CMake\(PackageConfigHelpers)\)/\1ECM\2/' \ -e 's/\<\(configure_package_config_file\)/ecm_\1/' \ CMakeLists.txt See http://commits.kde.org/extra-cmake-modules/139f60d81653888f696ef433
2014-02-16Use the new syntax for ecm_generate_headers()David Faure
2014-02-10kconfig_compiler: fix typo that prevented using default QDateTime valuesAlex Richardson
2014-02-05Upgrade ECM version requirement; fix KF5 version.v4.96.0David Faure
2014-01-26SVN_SILENT made messages (.desktop file)l10n daemon script
2014-01-25SVN_SILENT made messages (.desktop file)l10n daemon script
2014-01-25Generate and install .pri fileDavid Faure
2014-01-25SVN_SILENT made messages (.desktop file)l10n daemon script
2014-01-24SVN_SILENT made messages (.desktop file)l10n daemon script
2014-01-20Remove unnecessary Mainpage.doxAlex Merry
2014-01-15Improve dependency specifications.Michael Palimaka
QtTest and QtConcurrent are only required for autotests, so no need to find them unconditionally. QtWidgets is not actually used - QtGui is instead. REVIEW: 114962
2014-01-13Make Qt5Test an optional dependencyAlex Richardson
It is only needed for building the autotests
2014-01-12Update REAMDECornelius Schumacher
2014-01-11Port kconfig_compiler_kf5 to use QCommandLineParserBhushan Shah
REVIEW: 114937
2014-01-09more rename to kconfig_compiler_kf5Jonathan Riddell
2014-01-09further rename of kconfig_compiler to kconfig_compiler_kf5Jonathan Riddell
2014-01-09Further renaming to kconfig_compiler_kf5Jonathan Riddell
2014-01-09rename kconfig_compiler to kconfig_compiler_kf5Jonathan Riddell
2014-01-09Use kde5rc instead of kde4rc naming convention, REVIEW: 114917Siddharth Sharma
2014-01-07Add include(GenerateExportHeader) to CMakeLists.txtAlex Merry
We should not depend on the fact that KDECompilerSettings.cmake happens to include it when we use generate_export_header().