Commit graph

51 commits

Author SHA1 Message Date
Ivailo Monev
1414a4f05f kdecore: new class for temperature conversion
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-15 22:39:03 +03:00
Ivailo Monev
d4fb9c2bb2 generic: remove KService profile feature
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-15 15:26:19 +03:00
Ivailo Monev
50dd0cd82c kdecore: merge KLocaleUnixPrivate into KLocalePrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-26 13:58:44 +02:00
Ivailo Monev
825449e174 kdecore: rely solely on Katie's locale codec detection
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-24 00:18:15 +02:00
Ivailo Monev
31ee051ff4 generic: remove some compatibility bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-27 08:58:02 +02:00
Ivailo Monev
ddfc92dc1e generic: use file strategy for ksycoca by default
fixes thread-safety issues such as KRunner crashes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-22 20:48:03 +02:00
Ivailo Monev
b5303a651e generic: review configuration checks
despite the gettimeofday() check for an example, the function is used
unconditionally thus checks for errno header are removed aswell rather then
making them required from configuration checks and error-ing out if not
found.

other cases such as trunc() are used in kexiv2 unconditionally, not in
kdecore.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-24 21:04:54 +00:00
Ivailo Monev
359ff5b861 kdecore: remove unused configuration checks
netsupp was provided for KDE3 compatibility and the header is not even
installed. the only place where getnameinfo() is used is in KIO kpac DHCP helper
but it does not include the netsupp header.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-18 22:09:53 +00:00
Ivailo Monev
4d6fb007e7 generic: fix most of the overlinking issues
TODO from https://github.com/fluxer/katana/issues/7. I've decided to
keep KDE4 and Katie libraries as PUBLIC, all other libraries as PRIVATE
for that and not use INTERFACE at all since that will not require a lot
of changes to all other sub-projects (kde-baseapps, kde-workspace and
kde-extraapps) build systems.

MusicBrainz5 CMake module was also rewritten as the actual library that
should be linked to is libmusicbrainz5cc, libmusicbrainz5 is the C
version of it.

common checks for X11 extensions where move to main config header,
eventually to be moved to separate config-x11 header.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-09 21:58:11 +00:00
Ivailo Monev
15c1305965 kdecore: remove redundant util check and kmemtest
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-03 18:54:37 +00:00
Ivailo Monev
c2f8387fa6 generic: implement KSettings class
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-07-12 14:09:24 +00:00
Ivailo Monev
e5869fc88c generic: remove now redundant check for FAM
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-06-21 18:53:36 +00:00
Ivailo Monev
aede58befc generic: reimplement KDirWatch
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-29 12:18:09 +00:00
Ivailo Monev
bc28637562 generic: get rid of KLocalSocket and KTcpSocket
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-04 19:49:49 +00:00
Ivailo Monev
c70564040b generic: get rid of kdefakes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2017-08-02 04:38:42 +00:00
Ivailo Monev
274eba82a6 generic: make Enchant required
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-08-11 23:26:12 +00:00
Ivailo Monev
5ac8d4dd96 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-13 10:12:13 +00:00
Ivailo Monev
cd108de97c generic: unplugify sonnet and use Enchant explicitly
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-12 11:07:11 +00:00
Ivailo Monev
3d12c6d2e8 generic: use QFilesystemWatcher instead of inotify directly
this allows for less complexity and more abstraction offloaded to
Qt itself which supports dnotify, inotify, kqueue and fsevents.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-29 15:28:27 +00:00
Ivailo Monev
1f34f5ad73 generic: use CMake export header generator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-27 20:13:02 +00:00
Ivailo Monev
7829cff6c9 generic: merge kdefakes into kdecore
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-27 18:20:29 +00:00
Ivailo Monev
c8accd2472 kdecore: install all_languages where it belongs
applications search for it in the "locale" resource which points
to the top-level locales directory (usually /usr/share/locale)
and the resource lookups do no do recursive search for it which
means that they would never find it prior to this change

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-24 23:44:06 +00:00
Ivailo Monev
d988729978 kdecore: remove redundant headers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-08 13:30:16 +00:00
Ivailo Monev
d6103c84ce generic: get rid of KZoneAllocator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-06 09:15:26 +00:00
Ivailo Monev
b0c494acaa generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-06 04:06:49 +00:00
Ivailo Monev
c6f33f23aa generic: get rid of KImageCache and KSharedDataCache
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-05 03:48:27 +00:00
Ivailo Monev
196d29abf1 generic: remove kascii
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-01 05:32:45 +00:00
Ivailo Monev
b4a354b74b generic: use QCryptographicHash instead of KMD5
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-01 04:32:22 +00:00
Ivailo Monev
5c60c9643f generic: remove D-Bus crash handler from core
it is obviously the wrong approach to report applications crashes
as is noted in the comment in kdebug. since it is only for
KApplications, which provide D-Bus interface, it can be handled
differently with a separate daemon that monitors for wrong
behavior but that is not needed really since DrKonqi does a fine
job at providing feedback when such even occurs

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-29 06:54:14 +00:00
Ivailo Monev
91174d40d0 kdecore: drop support for config backends
there was only one now backend (INI) and changing it on the fly
(as was supported before) can cause serious issues with
applications misbihaving and such

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-28 07:00:48 +00:00
Ivailo Monev
376484dff8 generic: get rid of KLibrary
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-05 03:36:21 +02:00
Ivailo Monev
8ef7185ca9 generic: update CTest and CPack configs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 13:28:30 +02:00
Ivailo Monev
d2a5236cd7 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 12:01:45 +02:00
Ivailo Monev
1379754a6d generic: drop KEncodingProber 2015-10-18 01:32:54 +03:00
Ivailo Monev
7c1ee5486e generic: drop unused custom types 2015-10-14 22:00:38 +03:00
Ivailo Monev
e31da1d693 generic: misc cleanups 2015-09-25 01:45:51 +00:00
Ivailo Monev
e1c89a39e7 generic: misc cleanups 2015-09-04 01:57:47 +00:00
Ivailo Monev
007a44cd2f generic: major build system cleanup
the test are broken!
2015-09-01 01:05:33 +03:00
Ivailo Monev
a7064db00e generic: deal with LINK_INTERFACE_LIBRARIES, cmake >=2.8.11 required now 2015-06-25 00:27:48 +03:00
Ivailo Monev
5a59e08572 generic: remove support for final target via KDE4_ENABLE_FINAL
it is bogus with the CMake automoc, requires additional guards in
the source code and some components do not support it at all. Also,
Link Time Optimizations (LTO) seem to be doing exactly what
KDE4_ENABLE_FINAL was supposed to do (basicly) so no point in
trying to support something that modern compilers can already do
for us.
2015-03-02 04:57:24 +00:00
Ivailo Monev
ba21af6293 kdecore: fix installation issue caused by the cleanup 2015-03-01 02:06:40 +00:00
Ivailo Monev
453b8cbcc8 generic: kill deprecated cruft with fire 2015-03-01 02:02:30 +00:00
Ivailo Monev
52c7143daa kdecore: fixup install that broke on API cleanup 2015-02-28 03:35:00 +00:00
Ivailo Monev
f0d85e45ad generic: normalize libraries versioning 2015-01-24 21:45:28 +00:00
Ivailo Monev
a499c2d11d fix build of external software by not including config-misc header and place BUG_REPORT_URL and BUG_REPORT_EMAIL into kglobalsettings header 2014-11-29 23:03:51 +00:00
Ivailo Monev
3b5414e018 removed windows kdecore cruft 2014-11-19 15:15:05 +00:00
Ivailo Monev
5185c917de removed transcript support for klokalize (required kjs) 2014-11-18 13:51:32 +00:00
Ivailo Monev
1069225895 cleanup and fixup on kauth backend 2014-11-17 17:40:17 +00:00
Ivailo Monev
4673760e01 forcing dbus backend and helper on kauth 2014-11-17 17:12:37 +00:00
Ivailo Monev
c0f19915b3 removed Qt3 support 2014-11-13 01:20:30 +02:00