Commit graph

1336 commits

Author SHA1 Message Date
Ivailo Monev
595cc6d406 kdecore: fix regression since 7e68dd70
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-08 01:38: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
aceeceb7e4 generic: remove unused KBugReport
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-06 06:52:45 +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
88314bfea3 kdecore: remove bogus warnings about KAuth backend and helper
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-05 09:08:23 +00:00
Ivailo Monev
1239b37957 kdecore: remove black magic from kde_file header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-05 04:02:38 +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
891e7c14da generic: remove redundant kssl bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-02 07:17:17 +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
d41a40607a kdecore: adjust tests to recent changes
23081b4d08
a8a54f0484

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-31 18:42:12 +00:00
Ivailo Monev
91871032b8 kdecore: change KUrl::fromMimeData() arguments order
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-29 23:46:01 +00:00
Ivailo Monev
23081b4d08 kdecore: change KUrl::fromMimeData() arguments order
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-29 23:43:20 +00:00
Ivailo Monev
3341730586 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-29 22:56:42 +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
b9788987ab generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-28 16:28:57 +00:00
Ivailo Monev
ab1b4710ba generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-28 15:29:35 +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
3d92b0104f generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-25 03:23:43 +00:00
Ivailo Monev
d398932909 generic: drop Phonon in favour of MPV and custom player classes
kcompactdisc was remove because there is no use for it in the
current set of applications supported, if it is needed it will
need some work to make it use KMediaPlayer or whatever.

the Plasma VideoWidget class was dropped because custom widgets
(at some point) will be dropped unless absolutely needed and
hopefully getting rid of the heavy-weight QML stuff.

the new KMediaPlayer and KMediaWidgets classes are experimental
but they have been tested and they work as they should.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-20 02:43:02 +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
89e60600f8 kdecore: remove unused KSycoca enumerators
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-05 02:45:52 +02:00
Ivailo Monev
d8c17c0a7e kdecore: do not define KStandardDirs defaults on the stack
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-04 20:51:02 +02:00
Ivailo Monev
225eb7a170 generic: remove Java and image plugins for khtml
the Java applet viewer has not been touch for a long time and I
suppose nobody will. the image plugin is useless when gwenview is
installed which is the image viewer for KDE.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-03 03:52:19 +02:00
Ivailo Monev
8cd418cd6a kdecore: cleanup Desktop file handler
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-20 16:39:26 +02:00
Ivailo Monev
fea84d5570 kdecore: use QCache for the standard directories cache
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-20 16:21:10 +02:00
Ivailo Monev
523b0445f0 kdecore: fix build on musl
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-14 02:33:11 +02:00
Ivailo Monev
2edcb0b5d8 kdecore: fix build on musl
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-14 01:56:00 +02:00
Ivailo Monev
bdd06856e6 kdecore: set stream version to 4.0
the only difference in the streams is for QColor types

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-25 20:40:23 +02:00
Ivailo Monev
43289ee0fb generic: fix some compiler warnings due to 9ff99942
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-08 04:42:26 +02:00
Ivailo Monev
7bdb242ad8 kdecore: remove useless equalizePath()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-01 16:09:19 +02:00
Ivailo Monev
41a2595852 kdecore: simplify UTF-8 locales check
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-01 05:21:25 +02:00
Ivailo Monev
4778973c10 kdecore: update bundled gettext header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-09 22:46:25 +02:00
Ivailo Monev
fbd0e11b3d generic: implement special qml debugger handling for Katie 2015-11-29 18:30:02 +02:00
Ivailo Monev
da3450bcff generic: deal with some unused variables in parsers/lexers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-26 09:29:37 +00:00
Ivailo Monev
39f1e04295 generic: add back khtml and kjs with some changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-09 23:23:53 +02:00
Ivailo Monev
76b1d7b44e generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-09 20:53:03 +02:00
Ivailo Monev
eac889a328 kdecore: fix kdebug test
also define KDEBINDIR for the tests as it turns out that running
the tests from test target in directory other than the top-level
one (e.g. make -C kdecore/ test) breaks the logic/expectaions in
some tests thus using the full paths to the test tools.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-08 18:25:20 +02:00
Ivailo Monev
4e24ac5d73 kdecore: fix resource type test
the data that was used for the tests is long gone as it was part
of kdoctools

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-08 17:56:45 +02:00
Ivailo Monev
d4f3cb5ef4 kdecore: drop internal file encoding functions
these seems unnecessary because QString::fromLocal8Bit() is used
if the function is not overriden, though some sorta UTF-16 support
is suggested in the internal functions I have no trouble creating
files with UTF-16 characters in theirs names and working with
them. if there are any complaints on this it shall be reverted

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-08 17:35:08 +02:00
Ivailo Monev
5da23b1810 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-06 10:08:00 +02:00
Ivailo Monev
0078793c98 kdecore: reserve memory for the KStandardDirs cache
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-05 09:33:34 +02:00
Ivailo Monev
f2e4e3f486 kdecore: limit standard directories cache to 10000 entries
this also fixes a strange bug that I originally tought that it's an RPATH
issues but it turns out that this is some kind of mutex-lock issue. to be
more interesting this bug does not occur when the NDEBUG conditionals are
removed or if they are unconditionalized, the first observation leads me to
think that this is compiler bug and the second that it's mutex-lock issue
that is resolved because some code in KDebug and/or QDebug (i've tried with
it too) locks/unlockes/detaches/does some voodoo that overcomes the bug.

in any case it's hard for me to pin-point the problem so if anyone can look
into it that would be great, for now this change will do


Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-03 06:51:57 +02:00
Ivailo Monev
c5e5536470 kdecore: fix kstandarddirs test, kconf_update is not longer supported
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-03 06:31:20 +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
4a7e7dacad kdecore: remove deprecated kshared typedef
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-30 15:04:08 +02:00
Ivailo Monev
e080314c8d kdecore: remove redundant resolveSymbol() from klibrary
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-30 14:46:31 +02:00
Ivailo Monev
d721a8ddf3 kdecore: fix build of kstandarddirs test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-29 18:21:24 +02:00
Ivailo Monev
680d619de0 kdecore: remove unused WrongSyntax from kdebug 2015-10-28 20:02:55 +02:00