<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/tests/ECMPoQmToolsTest, branch v5.66.0</title>
<subtitle>hurd extra-cmake-modules.git</subtitle>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/'/>
<entry>
<title>Raise CMake requirements to 3.5</title>
<updated>2019-10-22T16:54:07+00:00</updated>
<author>
<name>Hannah von Reth</name>
<email>vonreth@kde.org</email>
</author>
<published>2019-10-21T21:38:02+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=5ca01895e3c50322f79feeef5054d7f28b164d68'/>
<id>5ca01895e3c50322f79feeef5054d7f28b164d68</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix destroying QThread while still running -&gt; warning -&gt; crash</title>
<updated>2019-02-09T15:27:37+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2019-02-09T15:27:37+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=6bbb7b0a87461207896f90fbe425c7659c2d4063'/>
<id>6bbb7b0a87461207896f90fbe425c7659c2d4063</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fall back to language name for translations lookup if locale name fails</title>
<updated>2018-01-17T20:55:53+00:00</updated>
<author>
<name>Wolfgang Bauer</name>
<email>wbauer@tmo.at</email>
</author>
<published>2018-01-17T20:55:53+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=78443e0f0373c2b243d75ac37f891879df8ec08b'/>
<id>78443e0f0373c2b243d75ac37f891879df8ec08b</id>
<content type='text'>
For locales like de_AT, the current code only looks in
share/locale/de_AT/ and share/locale/de-AT/ for translation catalogs,
but not in share/locale/de/ where they most likely are.
That's because bcp47Name() returns "de-AT" for de_AT (though in the
case of de_DE e.g. it does return "de").

This patch additionally tries to fall back to the general language by
taking the part of the locale name before the first '_'.

Differential Revision: https://phabricator.kde.org/D9793
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For locales like de_AT, the current code only looks in
share/locale/de_AT/ and share/locale/de-AT/ for translation catalogs,
but not in share/locale/de/ where they most likely are.
That's because bcp47Name() returns "de-AT" for de_AT (though in the
case of de_DE e.g. it does return "de").

This patch additionally tries to fall back to the general language by
taking the part of the locale name before the first '_'.

Differential Revision: https://phabricator.kde.org/D9793
</pre>
</div>
</content>
</entry>
<entry>
<title>Make ECMPoQmToolsTest actually fail if a translation is wrong</title>
<updated>2017-07-31T11:55:18+00:00</updated>
<author>
<name>Wolfgang Bauer</name>
<email>wbauer@tmo.at</email>
</author>
<published>2017-07-31T11:55:18+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=899519f0be03360e2fa4f995c44cefc693805418'/>
<id>899519f0be03360e2fa4f995c44cefc693805418</id>
<content type='text'>
Currently the test still passed even if one of the check_translations()
calls would fail.
The reason is that check_translations() is a function which has its own
scope, so if it sets "failed" the upper level doesn't see it.

Use the PARENT_SCOPE option when setting the variable to properly
propagate the value to the upper level.

Differential Revision: https://phabricator.kde.org/D6701
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the test still passed even if one of the check_translations()
calls would fail.
The reason is that check_translations() is a function which has its own
scope, so if it sets "failed" the upper level doesn't see it.

Use the PARENT_SCOPE option when setting the variable to properly
propagate the value to the upper level.

Differential Revision: https://phabricator.kde.org/D6701
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing licenses.</title>
<updated>2015-11-30T14:09:24+00:00</updated>
<author>
<name>Alex Merry</name>
<email>alex.merry@kde.org</email>
</author>
<published>2015-11-30T14:09:24+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=d3db1b7b1ccda583534a6cc73ad048b3aad3b211'/>
<id>d3db1b7b1ccda583534a6cc73ad048b3aad3b211</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure we load translations on the main thread.</title>
<updated>2015-11-30T14:07:07+00:00</updated>
<author>
<name>Alex Merry</name>
<email>alex.merry@kde.org</email>
</author>
<published>2015-11-08T23:10:59+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=fb4d91996affdbcd3ffc19c7646fbf77b96bf1e5'/>
<id>fb4d91996affdbcd3ffc19c7646fbf77b96bf1e5</id>
<content type='text'>
Because the old implementation (accidentally) worked when you put the
ecm_create_qm_loader call in a different CMakeLists.txt file to the
target the file was added to, some projects did this.

This won't work with build-time-generated files, though, like moc files.
So we (ab)use QTimer events to make the loading happen on the main
thread.

BUG: 346188
REVIEW: 126000
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because the old implementation (accidentally) worked when you put the
ecm_create_qm_loader call in a different CMakeLists.txt file to the
target the file was added to, some projects did this.

This won't work with build-time-generated files, though, like moc files.
So we (ab)use QTimer events to make the loading happen on the main
thread.

BUG: 346188
REVIEW: 126000
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix multiple calls to ecm_create_qm_loader.</title>
<updated>2015-11-14T17:45:29+00:00</updated>
<author>
<name>Alex Merry</name>
<email>alex.merry@kde.org</email>
</author>
<published>2015-10-14T11:18:40+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=55c55808298986d13ca461d571069f4214d8174d'/>
<id>55c55808298986d13ca461d571069f4214d8174d</id>
<content type='text'>
Multiple ecm_create_qm_loader() with different catalog names would
overwrite each other's generated files, causing the wrong catalog to be
loaded at runtime for some targets.

This puts the catalog name into the generated filename. Since the
catalog name is the only difference between the generated files, this is
sufficient to fix the runtime behaviour.

REVIEW: 125999
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Multiple ecm_create_qm_loader() with different catalog names would
overwrite each other's generated files, causing the wrong catalog to be
loaded at runtime for some targets.

This puts the catalog name into the generated filename. Since the
catalog name is the only difference between the generated files, this is
sufficient to fix the runtime behaviour.

REVIEW: 125999
</pre>
</div>
</content>
</entry>
<entry>
<title>Add unit test for ecm_create_qm_loader.</title>
<updated>2015-11-08T20:34:16+00:00</updated>
<author>
<name>Alex Merry</name>
<email>alex.merry@kde.org</email>
</author>
<published>2015-10-14T11:18:40+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=c88bc78e0ca3834c46b89ca9d14b404751da5d4a'/>
<id>c88bc78e0ca3834c46b89ca9d14b404751da5d4a</id>
<content type='text'>
This is based on commit 6745bd7e4796560959bb67e33b7c7f86f96a5a94 (and
the subsequent fix-up commits).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is based on commit 6745bd7e4796560959bb67e33b7c7f86f96a5a94 (and
the subsequent fix-up commits).
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Make sure we load translations on the main thread."</title>
<updated>2015-11-08T19:29:44+00:00</updated>
<author>
<name>Alex Merry</name>
<email>alex.merry@kde.org</email>
</author>
<published>2015-11-08T19:23:22+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=6745bd7e4796560959bb67e33b7c7f86f96a5a94'/>
<id>6745bd7e4796560959bb67e33b7c7f86f96a5a94</id>
<content type='text'>
This broke the build for projects which used ecm_create_qm_loader in
unusual ways. A better approach is coming, but won't be in e-c-m 5.16.

This reverts commit 009c480413910e8c1a18f4d1420f4a517ea606e6.

CCBUG: 346188
CCMAIL: release-team@kde.org
CCMAIL: kde-buildsystem@kde.org
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This broke the build for projects which used ecm_create_qm_loader in
unusual ways. A better approach is coming, but won't be in e-c-m 5.16.

This reverts commit 009c480413910e8c1a18f4d1420f4a517ea606e6.

CCBUG: 346188
CCMAIL: release-team@kde.org
CCMAIL: kde-buildsystem@kde.org
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Add license to tests."</title>
<updated>2015-11-08T19:26:29+00:00</updated>
<author>
<name>Alex Merry</name>
<email>alex.merry@kde.org</email>
</author>
<published>2015-11-08T19:23:21+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=c58a8eefb05d0749bb4cc26a6cd74dee34e1f4be'/>
<id>c58a8eefb05d0749bb4cc26a6cd74dee34e1f4be</id>
<content type='text'>
This commit is dependent on 009c480413910e8c1a18f4d1420f4a517ea606e6,
which is the primary commit to be reverted.

This reverts commit 634a0a2d3d7ba1bec2bae846acf0faf6184f4c71.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit is dependent on 009c480413910e8c1a18f4d1420f4a517ea606e6,
which is the primary commit to be reverted.

This reverts commit 634a0a2d3d7ba1bec2bae846acf0faf6184f4c71.
</pre>
</div>
</content>
</entry>
</feed>
