Commit graph

737 commits

Author SHA1 Message Date
Ivailo Monev
60dc63b20f cmake: actually define KDEBINDIR for tests
this change was supposed to be part of eac889a3

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-09 09:17:22 +02:00
Ivailo Monev
b81a9c6d17 kio: update documentaiton about supported image formats
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-09 09:15: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
d957fc4852 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-06 16:15:48 +02:00
Ivailo Monev
ea3bc85252 Revert "generic: install export files in modern location"
This reverts commit 43f704e26a.
2015-11-06 16:15:11 +02:00
Ivailo Monev
5b1c0c850c generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-06 16:15:09 +02:00
Ivailo Monev
43f704e26a generic: install export files in modern location
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-06 12:58:29 +02:00
Ivailo Monev
b313e3a236 solid: regenerate lexer and parser
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-06 12:08:27 +02:00
Ivailo Monev
273176ec02 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-06 12:06:01 +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
febdd6b0e6 cmake: drop redudant Gettext module
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-06 10:07:09 +02:00
Ivailo Monev
822d425368 cmake: drop custom Flex module
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-06 07:30:53 +02:00
Ivailo Monev
ecfa349e48 cmake: drop custom CUPS module, minor modules cleanup while at it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-06 07:16:05 +02:00
Ivailo Monev
f69be2e2b4 cmake: import modules from kde-workspace
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-05 10:05:41 +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
29defb8367 cmake: make targets created by gettext module random to solve CMP0002
this is more of hack, a complete rewrite of the module should happen soon
but for now this will fix build issues with translations
2015-11-05 06:59:05 +02:00
Ivailo Monev
e46a8d2570 kimgio: adjust to recent webp MIME type change
someone is going nuts and rouge on MIME type changes!

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-05 03:48:16 +02:00
Ivailo Monev
50b0ce19de cmake: add JSON module
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-04 08:29:31 +02:00
Ivailo Monev
20ca58afa6 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-03 10:14:43 +02:00
Ivailo Monev
211d80fc88 cmake: take orevious declarations of CMAKE_INSTALL_RPATH into account
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-03 06:52:52 +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
278289c6ef kdeui: fix kiconloader test, adjust to recent KStandardDirs::realPath() changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-03 06:32:10 +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
04506de1e7 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-02 19:10:29 +02:00
Ivailo Monev
8cc2eab7fd generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-02 04:32:40 +02:00
Ivailo Monev
3634770269 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-02 03:38:51 +02:00
Ivailo Monev
3506d67bab kdeui: reduse size of images used in about dialogs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-01 16:16:43 +02:00
Ivailo Monev
9d45b3904a generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-01 15:48:34 +02:00
Ivailo Monev
817bffd9b1 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-01 15:40:09 +02:00
Ivailo Monev
dfc0b3b9bc generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-01 15:28:30 +02:00
Ivailo Monev
a7b93fa3b2 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-01 15:08:31 +02:00
Ivailo Monev
53b39f3865 kded: get rid of useless string manipulation in KSycocaResourceList
this may horribly break some stuff (such as services) in external projects
,though, I've grep-ed and found none using that method outside of kded.
it was only for backwards compatibility but all places where old behavior
is used have been adjusted (hopefully)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-01 09:17:58 +02:00
Ivailo Monev
93f5415879 generic: import kimio plugin for webp format from kde-workspace repo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-01 05:10:05 +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
07025193fd README: replace with generic one
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 13:16:55 +02:00
Ivailo Monev
bc25e556fd kdeui: remove unused private variable in KCharSelectTable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 13:04:07 +02:00
Ivailo Monev
352b640187 kpty: declare KPtyPrivate and KPtyDevicePrivate as class rather than struct
because Q_DECLARE_PUBLIC() declares class clangs emmits warning that the
classes were previously declared as structs, this change is kinda of revert
of previous series of struct <-> class warnings fixes and may need changes
in other places (such as konsole from kde-baseapps) to fix the same issues
given that now the forementioned classes declaration has changed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 13:03:20 +02:00
Ivailo Monev
295393eaae generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 12:18:13 +02:00
Ivailo Monev
50233fdaa2 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 12:04:34 +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
f6d493c99d generic: append git revision to KDE_VERSION_STRING if possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 05:45:34 +02:00
Ivailo Monev
11ac57a34f generic: add cpack config file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 05:45:08 +02:00
Ivailo Monev
f5bf40a525 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 05:10:27 +02:00
Ivailo Monev
f16d4e7806 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 04:28:49 +02:00
Ivailo Monev
941fd29d95 generic: prepare for release, minor build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 04:24:11 +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
de6afc4fdf kexiv2: inline size(), it just calls count()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-30 14:48:38 +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