Commit graph

355 commits

Author SHA1 Message Date
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
Ivailo Monev
5333af40b5 kdecore: remove unused setFracDigits() from klocale
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-28 10:26:03 +02:00
Ivailo Monev
ec5f61b012 generic: stop using oboslete code paths
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-28 06:47:23 +02:00
Ivailo Monev
1379754a6d generic: drop KEncodingProber 2015-10-18 01:32:54 +03:00
Ivailo Monev
ccbae05905 kdecore: oops, fix variable reference 2015-10-17 18:59:04 +03:00
Ivailo Monev
636f904183 generic: optimize standard directories lookup
by caching results and storing them in a hash the results should
flow faster, a limit should probably be set on this but for now
there isn't. exists() and realPath() now cannot be called without
object!
2015-10-17 18:53:50 +03:00
Ivailo Monev
060ce58f09 kdecore: simplify KStandardDirs::exists()
also, added a debug message to tell when and on what this method
is called. I'm seeing many obscure check done repeatedly,
especially MIME paths check done over and over again when opening
a folder with dolphin so that should help identify places where
optimizations should be made.
2015-10-17 12:27:05 +03:00
Ivailo Monev
79d3e27b58 generic: code shrinks 2015-10-17 11:45:14 +03:00
Ivailo Monev
153da2a410 kdecore: change kstandarddirs documentation to match defaults 2015-10-17 11:44:59 +03:00
Ivailo Monev
7c1ee5486e generic: drop unused custom types 2015-10-14 22:00:38 +03:00
Ivailo Monev
2d49fadeb1 generic: misc cleanups 2015-10-12 23:58:56 +03:00
Ivailo Monev
9457544b8b kdecore: misc cleanups 2015-10-12 18:43:14 +03:00
Ivailo Monev
01e088a229 generic: cleanup remains of deprecated DocPath 2015-10-10 09:01:28 +03:00
Ivailo Monev
4f2d53668c kdecore: fix regression in url handing since 69f2daf7 2015-10-01 10:25:57 +03:00
Ivailo Monev
a4996f3d49 generic: misc cleanups 2015-10-01 07:46:47 +03:00
Ivailo Monev
5731f1690c kdecore: adjust kdebug and kdesktopfile tests 2015-10-01 06:07:16 +03:00
Ivailo Monev
3d14a4b88b generic: code shrinks 2015-09-30 10:37:53 +03:00
Ivailo Monev
2fb74439bd generic: code shrinks 2015-09-29 05:49:46 +00:00
Ivailo Monev
7b82170623 generic: misc cleanups 2015-09-28 16:08:18 +00:00
Ivailo Monev
69f2daf774 generic: code shrinks 2015-09-28 15:50:22 +00:00
Ivailo Monev
2eceb5f064 generic: misc cleanups 2015-09-27 01:19:30 +00:00
Ivailo Monev
a9e96a38b0 generic: drop Q_CC_MSVC conditionals 2015-09-25 04:08:21 +00:00
Ivailo Monev
e31da1d693 generic: misc cleanups 2015-09-25 01:45:51 +00:00
Ivailo Monev
d6d3906a71 kdecore: minor karchive test cleanup, test still hangs
for some reason the group is not what the test expects, it may
not fail if the tests are run as root user but I doubt someone
will do that (I do not for one)
2015-09-23 04:11:05 +00:00
Ivailo Monev
21fd141901 kdecore: fix crashes due to bogus check in bzip2 filter
this is a regression since 7e68dd70, a nasty one at this
2015-09-23 03:26:41 +00:00
Ivailo Monev
9c7b41e8f4 generic: misc cleanups 2015-09-21 20:30:05 +00:00
Ivailo Monev
a8a54f0484 generic: proper support for icon and caption in .desktop files 2015-09-21 00:26:31 +00:00
Ivailo Monev
83ac368076 generic: cleanups remains of kdeinit-wrapped executables 2015-09-06 15:33:03 +03:00
Ivailo Monev
c0da30760b generic: misc cleanups 2015-09-06 14:43:27 +03:00
Ivailo Monev
4d683ae8b3 generic: cleanups remains of custom apps resources support 2015-09-06 14:42:29 +03:00
Ivailo Monev
e7133114e1 generic: misc cleanups 2015-09-05 05:16:46 +00:00
Ivailo Monev
f4f2c7bc75 generic: misc cleanups 2015-09-04 22:56:23 +00:00