<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kconfig.git/autotests, branch v5.41.0-rc1</title>
<subtitle>hurd kconfig.git</subtitle>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/'/>
<entry>
<title>KConfig: fix autotest on CI with trailing slash in HOME.</title>
<updated>2017-12-02T09:18:18+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2017-12-02T09:18:12+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=7d802e39d56bd9eb9cf28f629a3d0b94a85dd4bb'/>
<id>7d802e39d56bd9eb9cf28f629a3d0b94a85dd4bb</id>
<content type='text'>
Summary:
The CI has $HOME=/home/jenkins/ with a trailing slash, which leads to
FAIL!  : KConfigTest::testPath() Compared values are not the same
  Actual   (sc3.readPathEntry("homepath", QString())): "/home/jenkins//foo"
  Expected (HOMEPATH): "/home/jenkins/foo"

QDir::homePath() is too clean for our purposes, use $HOME on Unix.

Test Plan:
kconfigtest now passes with HOME=/home/dfaure/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
The CI has $HOME=/home/jenkins/ with a trailing slash, which leads to
FAIL!  : KConfigTest::testPath() Compared values are not the same
  Actual   (sc3.readPathEntry("homepath", QString())): "/home/jenkins//foo"
  Expected (HOMEPATH): "/home/jenkins/foo"

QDir::homePath() is too clean for our purposes, use $HOME on Unix.

Test Plan:
kconfigtest now passes with HOME=/home/dfaure/
</pre>
</div>
</content>
</entry>
<entry>
<title>Repair broken test after commit ee2b394599.</title>
<updated>2017-12-02T08:46:35+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2017-12-02T08:46:35+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=45363ae55c3bd6308b268baf5db122ead219c2d3'/>
<id>45363ae55c3bd6308b268baf5db122ead219c2d3</id>
<content type='text'>
QStringLiteral is latin1, not utf8.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
QStringLiteral is latin1, not utf8.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some clazy warning</title>
<updated>2017-11-30T12:36:08+00:00</updated>
<author>
<name>Montel Laurent</name>
<email>montel@kde.org</email>
</author>
<published>2017-11-30T12:36:08+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=ee2b394599ffe1242e3b7ae7d40b3469485dcd97'/>
<id>ee2b394599ffe1242e3b7ae7d40b3469485dcd97</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't build the kconfig_compiler tests when crosscompiling</title>
<updated>2017-10-25T23:07:08+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2017-10-25T00:18:00+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=a078222073742e7869d467970a6ab2d2abf42197'/>
<id>a078222073742e7869d467970a6ab2d2abf42197</id>
<content type='text'>
Summary: We will be using an external version of it in practice

Reviewers: #frameworks, davidedmundson

Reviewed By: davidedmundson

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D8457
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: We will be using an external version of it in practice

Reviewers: #frameworks, davidedmundson

Reviewed By: davidedmundson

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D8457
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfigini: Strip leading whitespace when reading entry values.</title>
<updated>2017-08-09T03:40:45+00:00</updated>
<author>
<name>Michael Pyne</name>
<email>mpyne@kde.org</email>
</author>
<published>2017-08-07T02:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=11ee92d92b1e9875a2707848324012fe881bf893'/>
<id>11ee92d92b1e9875a2707848324012fe881bf893</id>
<content type='text'>
As per the Desktop Entry spec, we strip trailing whitespace from the key
when we split an entry into a key/value pair at the '='.  Now we also
strip leading whitespace from the resulting value like we should.

CCBUG:310674

Differential Revision: https://phabricator.kde.org/D7169
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As per the Desktop Entry spec, we strip trailing whitespace from the key
when we split an entry into a key/value pair at the '='.  Now we also
strip leading whitespace from the resulting value like we should.

CCBUG:310674

Differential Revision: https://phabricator.kde.org/D7169
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow to build KConfig without Qt5Gui</title>
<updated>2017-08-04T16:54:42+00:00</updated>
<author>
<name>Volker Krause</name>
<email>vkrause@kde.org</email>
</author>
<published>2017-07-30T13:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=ba75a6c6a0231f93fd40480992beec46b0f64885'/>
<id>ba75a6c6a0231f93fd40480992beec46b0f64885</id>
<content type='text'>
Summary:
This is particularly useful for cross-compilation, where we only need the
kconfig_compiler on the host system.

Reviewers: #frameworks, apol, aacid

Reviewed By: aacid

Subscribers: aacid

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D6994
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
This is particularly useful for cross-compilation, where we only need the
kconfig_compiler on the host system.

Reviewers: #frameworks, apol, aacid

Reviewed By: aacid

Subscribers: aacid

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D6994
</pre>
</div>
</content>
</entry>
<entry>
<title>autotests: fix the failures I got here.</title>
<updated>2017-08-01T07:56:00+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2017-08-01T07:56:00+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=48e2e7c9bcd24cc010a6af0a455f8793ea863d40'/>
<id>48e2e7c9bcd24cc010a6af0a455f8793ea863d40</id>
<content type='text'>
1) some of them can't run in parallel
2) kconfigskeletontest failed due to KSharedConfig being used under the
scene (for a year now), and there's probably some QPA or widget style
holding a ref (here, not in the CI). Indirectly, simply setting
QStandardPaths::setTestModeEnabled(true) fixes this since KSharedConfig
will then not share the instance with the non-test-mode-enabled instance.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1) some of them can't run in parallel
2) kconfigskeletontest failed due to KSharedConfig being used under the
scene (for a year now), and there's probably some QPA or widget style
holding a ref (here, not in the CI). Indirectly, simply setting
QStandardPaths::setTestModeEnabled(true) fixes this since KSharedConfig
will then not share the instance with the non-test-mode-enabled instance.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: use QIODevice::Text in kconfigcompiler_test</title>
<updated>2017-05-25T22:57:35+00:00</updated>
<author>
<name>Pino Toscano</name>
<email>pino@kde.org</email>
</author>
<published>2017-05-25T22:57:35+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=1fad6902629191558e53ea9b58a8a67a0bfc9440'/>
<id>1fad6902629191558e53ea9b58a8a67a0bfc9440</id>
<content type='text'>
This way, different newline endings in OSes are handled as \n when
reading, and thus fixing the comparison on non-\n OSes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way, different newline endings in OSes are handled as \n when
reading, and thus fixing the comparison on non-\n OSes.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: use right QProcess API in kconfigcompiler_test</title>
<updated>2017-05-25T22:40:20+00:00</updated>
<author>
<name>Pino Toscano</name>
<email>pino@kde.org</email>
</author>
<published>2017-05-25T22:40:20+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=97ec146bd109109ac11e3c573625b47bfa4fd4ff'/>
<id>97ec146bd109109ac11e3c573625b47bfa4fd4ff</id>
<content type='text'>
Use the QProcess::start() variant with explicit (empty, in this case)
arguments, so the program string is not parsed as shell command, thus
preserving paths with spaces as such.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the QProcess::start() variant with explicit (empty, in this case)
arguments, so the program string is not parsed as shell command, thus
preserving paths with spaces as such.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix relativePath calculation in KDesktopFile::locateLocal()</title>
<updated>2017-04-25T21:37:11+00:00</updated>
<author>
<name>Wolfgang Bauer</name>
<email>wbauer@tmo.at</email>
</author>
<published>2017-04-25T21:37:11+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=3ad00c4e56eb9fe6ea7386f8ca1db6e15c26ac11'/>
<id>3ad00c4e56eb9fe6ea7386f8ca1db6e15c26ac11</id>
<content type='text'>
The "dir" and "path" variables were obviously swapped here by mistake.
This resulted in the relativePath always being empty, and made the
function return "~/.local/share/" (or "~/.config/") instead of the
correct path.

BUG: 345100
FIXED-IN: 5.34.0
Differential Revision: https://phabricator.kde.org/D5502
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "dir" and "path" variables were obviously swapped here by mistake.
This resulted in the relativePath always being empty, and made the
function return "~/.local/share/" (or "~/.config/") instead of the
correct path.

BUG: 345100
FIXED-IN: 5.34.0
Differential Revision: https://phabricator.kde.org/D5502
</pre>
</div>
</content>
</entry>
</feed>
