<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/tests/auto/qml/qqmllocale, branch dev</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Change exponent case to match the format passed to locale.toString()</title>
<updated>2025-03-29T12:45:57+00:00</updated>
<author>
<name>Edward Welbourne</name>
<email>edward.welbourne@qt.io</email>
</author>
<published>2025-03-24T13:55:26+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=d9145dd37e57aad18d99fae1d20c571c1ead30e6'/>
<id>d9145dd37e57aad18d99fae1d20c571c1ead30e6</id>
<content type='text'>
Match a recent change in QLocale and related tests.

Pick-to: 6.9 6.8 6.5
Task-number: QTBUG-134768
Change-Id: Ice980f0ce4db9966f812628526f1582506967736
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Match a recent change in QLocale and related tests.

Pick-to: 6.9 6.8 6.5
Task-number: QTBUG-134768
Change-Id: Ice980f0ce4db9966f812628526f1582506967736
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix failing tst_qmllocale::timezoneUpdateTest on VxWorks</title>
<updated>2025-01-07T16:01:09+00:00</updated>
<author>
<name>Michał Łoś</name>
<email>michal.los@siili.com</email>
</author>
<published>2024-11-28T14:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e18b8cece2e1c078d79d66dd8943535e21d5d11c'/>
<id>e18b8cece2e1c078d79d66dd8943535e21d5d11c</id>
<content type='text'>
On VxWorks TZ environment variable is accepted, but only with POSIX
format (described in VxWorks documentation as "C standard library
format"). VxWorks doesn't interpret correctly timezones in form of
"Australia/Brisbane" etc.

Fix this by passing timezones in POSIX format to `setTimeZone` function
for VxWorks.

Pick-to: 6.9 6.8
Task-number: QTBUG-115777
Change-Id: Ia1ea4f5dd8b8b1157fc52c40776d8d1334091700
Reviewed-by: Edward Welbourne &lt;edward.welbourne@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On VxWorks TZ environment variable is accepted, but only with POSIX
format (described in VxWorks documentation as "C standard library
format"). VxWorks doesn't interpret correctly timezones in form of
"Australia/Brisbane" etc.

Fix this by passing timezones in POSIX format to `setTimeZone` function
for VxWorks.

Pick-to: 6.9 6.8
Task-number: QTBUG-115777
Change-Id: Ia1ea4f5dd8b8b1157fc52c40776d8d1334091700
Reviewed-by: Edward Welbourne &lt;edward.welbourne@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tst_qqmllocale::timeZoneUpdated: Turn blacklist into QEXPECT_FAIL</title>
<updated>2024-07-08T11:05:47+00:00</updated>
<author>
<name>Fabian Kosmale</name>
<email>fabian.kosmale@qt.io</email>
</author>
<published>2024-07-05T13:40:01+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5d52461f80e9f261e43c05e0be452a9534bcc9ab'/>
<id>5d52461f80e9f261e43c05e0be452a9534bcc9ab</id>
<content type='text'>
The test is not flaky, it consistently fails on that platform.

Task-number: QTBUG-89889
Change-Id: I443bedeff301371acb8e6932d514eeec72f22ec6
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
Reviewed-by: Olivier De Cannière &lt;olivier.decanniere@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test is not flaky, it consistently fails on that platform.

Task-number: QTBUG-89889
Change-Id: I443bedeff301371acb8e6932d514eeec72f22ec6
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
Reviewed-by: Olivier De Cannière &lt;olivier.decanniere@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct am/pm indicators for en_AU to lowercase</title>
<updated>2024-04-25T07:21:46+00:00</updated>
<author>
<name>Edward Welbourne</name>
<email>edward.welbourne@qt.io</email>
</author>
<published>2024-04-24T11:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=abd985021abca808c583ddc3dbbf7492599395a1'/>
<id>abd985021abca808c583ddc3dbbf7492599395a1</id>
<content type='text'>
Previously QLocale's digested form of CLDR-derived data for AM/PM
indicators was processed through a mapping that always selected the
upper-case form, the AP format. Since 6.3, the formatting (and
parsing) code has understood an Ap format to select the
locale-appropriate case, rather than obliging client code to pick the
case regardless of the user's locale. However QLocale's data still
selected the upper-case version instead of the "locale-appropriate"
form for time and datetime formats. I recently fixed this in qtbase;
it's now time for QML's Locale's test-cases to catch up.

The en_AU locale inherits lower-case am/pm markers from en_001
("world" English, rather than plain "en" USAish), so correct the tests
that expected upper-case markers.

Change-Id: Ie05f5e39278758ea8d9e3ea556c133a143070ab8
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously QLocale's digested form of CLDR-derived data for AM/PM
indicators was processed through a mapping that always selected the
upper-case form, the AP format. Since 6.3, the formatting (and
parsing) code has understood an Ap format to select the
locale-appropriate case, rather than obliging client code to pick the
case regardless of the user's locale. However QLocale's data still
selected the upper-case version instead of the "locale-appropriate"
form for time and datetime formats. I recently fixed this in qtbase;
it's now time for QML's Locale's test-cases to catch up.

The en_AU locale inherits lower-case am/pm markers from en_001
("world" English, rather than plain "en" USAish), so correct the tests
that expected upper-case markers.

Change-Id: Ie05f5e39278758ea8d9e3ea556c133a143070ab8
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QtQml: Make QLocale an actual value type</title>
<updated>2024-03-02T09:28:44+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2023-01-17T16:13:08+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=ccbfa4458357a1c49b6c192b96ef9440cdbaf397'/>
<id>ccbfa4458357a1c49b6c192b96ef9440cdbaf397</id>
<content type='text'>
We want to be accessible to qmllint and other QML tooling. To this end,
make all legal invocations of its methods properly typed invokables.
Keep two QQmlV4Function overloads to produce error messages if the
methods are called with the wrong parameters. We have to do this because
JavaScript is more liberal in its argument coercion than the methods
would like.

Un-deprecate QJSNumberCoercion::isInteger() since it's actually quite
practical here.

Pick-to: 6.7
Fixes: QTBUG-112366
Change-Id: I016e5edc47efaade44461c504c1b3e2b1b829b58
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want to be accessible to qmllint and other QML tooling. To this end,
make all legal invocations of its methods properly typed invokables.
Keep two QQmlV4Function overloads to produce error messages if the
methods are called with the wrong parameters. We have to do this because
JavaScript is more liberal in its argument coercion than the methods
would like.

Un-deprecate QJSNumberCoercion::isInteger() since it's actually quite
practical here.

Pick-to: 6.7
Fixes: QTBUG-112366
Change-Id: I016e5edc47efaade44461c504c1b3e2b1b829b58
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct license for test files</title>
<updated>2024-02-27T09:32:21+00:00</updated>
<author>
<name>Lucie Gérard</name>
<email>lucie.gerard@qt.io</email>
</author>
<published>2024-02-22T14:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=9c5fc883881799fa28cf74535351e76dcea10a0a'/>
<id>9c5fc883881799fa28cf74535351e76dcea10a0a</id>
<content type='text'>
According to QUIP-18 [1], all test files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I26d72e8de04d4c7c57b3b7838af5d033265de5ba
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
Reviewed-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to QUIP-18 [1], all test files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I26d72e8de04d4c7c57b3b7838af5d033265de5ba
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
Reviewed-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Make QQmlLocale test robust against time and locale variations</title>
<updated>2023-10-28T12:49:10+00:00</updated>
<author>
<name>Volker Hilsheimer</name>
<email>volker.hilsheimer@qt.io</email>
</author>
<published>2023-10-28T09:12:54+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b5568a42f6ddefdbc26afab7f540768b684e9541'/>
<id>b5568a42f6ddefdbc26afab7f540768b684e9541</id>
<content type='text'>
JavaScript months start at 0, so don't check 1st of January and expect
1st of February. And don't hardcode the string we expect, test that we
pass the result of the QQmlLocale wrapper correctly back to QML instead.

Change-Id: I50a0875ec3b442bcfd8117cf261201ced4b87f0b
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
JavaScript months start at 0, so don't check 1st of January and expect
1st of February. And don't hardcode the string we expect, test that we
pass the result of the QQmlLocale wrapper correctly back to QML instead.

Change-Id: I50a0875ec3b442bcfd8117cf261201ced4b87f0b
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: Make qml tests standalone projects</title>
<updated>2023-07-05T10:34:11+00:00</updated>
<author>
<name>Alexandru Croitor</name>
<email>alexandru.croitor@qt.io</email>
</author>
<published>2023-06-29T15:46:25+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5818f97e70c90c545a745a066b005f595d44c252'/>
<id>5818f97e70c90c545a745a066b005f595d44c252</id>
<content type='text'>
Add the boilerplate standalone test prelude to each test, so that they
can be opened with an IDE without the qt-cmake-standalone-test script,
but directly with qt-cmake or cmake.

Boilerplate was added using the follow script:
https://git.qt.io/alcroito/cmake_refactor

Manual adjustments were made where the code was inserted in the wrong
location.

Task-number: QTBUG-93020
Change-Id: Ia68c9d263e7454f0c4a26c29b10f1c535d08e2f6
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
Reviewed-by: Amir Masoud Abdol &lt;amir.abdol@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the boilerplate standalone test prelude to each test, so that they
can be opened with an IDE without the qt-cmake-standalone-test script,
but directly with qt-cmake or cmake.

Boilerplate was added using the follow script:
https://git.qt.io/alcroito/cmake_refactor

Manual adjustments were made where the code was inserted in the wrong
location.

Task-number: QTBUG-93020
Change-Id: Ia68c9d263e7454f0c4a26c29b10f1c535d08e2f6
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
Reviewed-by: Amir Masoud Abdol &lt;amir.abdol@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tst_qqmllocale: Adapt to changed time format data</title>
<updated>2023-02-09T12:02:01+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2023-02-09T08:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=58935a5cdc0037750bca089cea211769e36591e6'/>
<id>58935a5cdc0037750bca089cea211769e36591e6</id>
<content type='text'>
In Australia, they have a non-breaking space between the time and the
AM/PM now. We're not interested in non-breaking spaces here.

Pick-to: 6.5
Fixes: QTBUG-111048
Change-Id: Id99d3deba068069ba6a0d4f5b045571c377d8b6f
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Australia, they have a non-breaking space between the time and the
AM/PM now. We're not interested in non-breaking spaces here.

Pick-to: 6.5
Fixes: QTBUG-111048
Change-Id: Id99d3deba068069ba6a0d4f5b045571c377d8b6f
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Retire the qt_parse_all_arguments</title>
<updated>2023-01-20T15:40:42+00:00</updated>
<author>
<name>Amir Masoud Abdol</name>
<email>amirmasoudabdol@icloud.com</email>
</author>
<published>2023-01-11T17:48:07+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=c2d37f964665bd647f3cd958502e8357f654f43f'/>
<id>c2d37f964665bd647f3cd958502e8357f654f43f</id>
<content type='text'>
Task-number: QTBUG-99238
Change-Id: Ia11c9cbd7c06347319ab3674ec0cd8da0214747e
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Task-number: QTBUG-99238
Change-Id: Ia11c9cbd7c06347319ab3674ec0cd8da0214747e
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
