<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/src/3rdparty/masm, 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>WTF::String: add missing qHash() function</title>
<updated>2026-04-20T01:06:33+00:00</updated>
<author>
<name>Marc Mutz</name>
<email>marc.mutz@qt.io</email>
</author>
<published>2026-04-17T08:53:49+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=8421e813ddde50d4c252907045448b22a36a0a70'/>
<id>8421e813ddde50d4c252907045448b22a36a0a70</id>
<content type='text'>
WTF::String is used in QHash (as WTF::HashMap), but didn't have a
qHash() function itself. Instead, the 1-to-2-arg adapter was used,
which ended up calling the QString overload (QString is a public base
class of WTF::String).

With a deprecated or =delete'ed adapter, this causes a warning/error.

Fix by providing a hidden friend qHash() for WTF::String. It can just
delegate to the QString one, too, and, since this is private API, we
don't need to emulate the adapters seed handling, which differs from
just passing the seed to the QString qHash().

For what it's worth, this also restores consistency of hash value
between equal QString and WTF::Strings.

Amends 94f5a6ec6d81f262be6fc3de1c11f2742bb05196 (5.2).

Pick-to: 6.11 6.8
Task-number: QTBUG-145828
Change-Id: I8fe0ef8db0bcbf0434d33bc0acd80bd541fe4354
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
WTF::String is used in QHash (as WTF::HashMap), but didn't have a
qHash() function itself. Instead, the 1-to-2-arg adapter was used,
which ended up calling the QString overload (QString is a public base
class of WTF::String).

With a deprecated or =delete'ed adapter, this causes a warning/error.

Fix by providing a hidden friend qHash() for WTF::String. It can just
delegate to the QString one, too, and, since this is private API, we
don't need to emulate the adapters seed handling, which differs from
just passing the seed to the QString qHash().

For what it's worth, this also restores consistency of hash value
between equal QString and WTF::Strings.

Amends 94f5a6ec6d81f262be6fc3de1c11f2742bb05196 (5.2).

Pick-to: 6.11 6.8
Task-number: QTBUG-145828
Change-Id: I8fe0ef8db0bcbf0434d33bc0acd80bd541fe4354
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add JIT to VxWorks</title>
<updated>2025-11-11T11:11:53+00:00</updated>
<author>
<name>Karim Pinter</name>
<email>karim.pinter@qt.io</email>
</author>
<published>2025-11-07T12:04:38+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=8cfa5527119ebe1904acf3f4176ada2420aabd77'/>
<id>8cfa5527119ebe1904acf3f4176ada2420aabd77</id>
<content type='text'>
Qt 5.15 for VxWorks had JIT and this change brings back this feature.

Task-number: QTBUG-133449
Pick-to: 6.8 6.10
Change-Id: I0ce487ca01e5578f47fdb5cddac9ea4e5804b857
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Qt 5.15 for VxWorks had JIT and this change brings back this feature.

Task-number: QTBUG-133449
Pick-to: 6.8 6.10
Change-Id: I0ce487ca01e5578f47fdb5cddac9ea4e5804b857
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QtQml: Adapt to restructuring of QUnicodeTables</title>
<updated>2025-10-29T13:10:18+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2025-10-28T11:43:50+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=cc1772e74ba2dda3994026d929ab28ea5a056fb8'/>
<id>cc1772e74ba2dda3994026d929ab28ea5a056fb8</id>
<content type='text'>
case conversions are now separate from other properties.

See commit 763f19151cc31ca1ba4912e0828359be5dba89e8 in qtbase.

Pick-to: 6.10 6.8 6.5
Change-Id: Ia13f515e613c7470f816c9930e870e391c88e367
Reviewed-by: Marc Mutz &lt;marc.mutz@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
case conversions are now separate from other properties.

See commit 763f19151cc31ca1ba4912e0828359be5dba89e8 in qtbase.

Pick-to: 6.10 6.8 6.5
Change-Id: Ia13f515e613c7470f816c9930e870e391c88e367
Reviewed-by: Marc Mutz &lt;marc.mutz@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo: rename occured to occurred</title>
<updated>2025-07-31T12:43:44+00:00</updated>
<author>
<name>Tian Shilin</name>
<email>tianshilin@uniontech.com</email>
</author>
<published>2025-07-29T13:19:46+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=57d67a29186f559c641a7301ab3979914e752c3a'/>
<id>57d67a29186f559c641a7301ab3979914e752c3a</id>
<content type='text'>
The function name had a spelling error. This change improves code
readability and follows Qt naming conventions.

Change-Id: Ic0646ea679bf3619691b6a581ba5ef589e7827bd
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function name had a spelling error. This change improves code
readability and follows Qt naming conventions.

Change-Id: Ic0646ea679bf3619691b6a581ba5ef589e7827bd
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow udis86 generation scripts to work with a more modern python</title>
<updated>2025-07-08T17:40:03+00:00</updated>
<author>
<name>Luca Di Sera</name>
<email>luca.disera@qt.io</email>
</author>
<published>2025-07-08T10:03:25+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=80e787d6312aff33542fbfeeec86aaeb1f90e78a'/>
<id>80e787d6312aff33542fbfeeec86aaeb1f90e78a</id>
<content type='text'>
V4's baseline JIT uses some old JavaScriptCore code to
optimize functions.

As part of the offering, it is possible to use a disassembler, if
enabled, to peek into the code that the JIT has generated for a
function.

For i386 and x86_64 udis86 is used, of which we bundle a very old
version.

To build and make use of udis86 it is necessary to generate some code
running some bundled python scripts.

The scripts are still written for a python2 target, which has long been
sunsetted, making the scripts difficult to run on more modern systems.

To allow the scripts to be run more easily, some modifications were made
to support more modern pythons versions.

In particular, print statements were modified to print functions.

Furthermore, usages of the division operator("/") were modified to the
integer division operator("//"), as the meaning of "/" was changed to
non-integer division between python 2 and 3.

Finally, a usage of the sort method was modified with self assignment to
a `sorted()` value, due to python 3 not returning a list anymore, which
has a sort method, on dict's `items` method.

The changes are expected to mostly be semantically compatible, albeit it
wasn't ascertained whether the behavior of other parts of the script
might have been silently hit when running on a more modern python
version.

Informally, the script was used with a python 3.13 version, and the
generated code was used to disassemble a few jitted function with
success during an unrelated bug investigation.

Change-Id: Ide0bcf4d29a51759f9bb9bd07d940562a8cfcc04
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
V4's baseline JIT uses some old JavaScriptCore code to
optimize functions.

As part of the offering, it is possible to use a disassembler, if
enabled, to peek into the code that the JIT has generated for a
function.

For i386 and x86_64 udis86 is used, of which we bundle a very old
version.

To build and make use of udis86 it is necessary to generate some code
running some bundled python scripts.

The scripts are still written for a python2 target, which has long been
sunsetted, making the scripts difficult to run on more modern systems.

To allow the scripts to be run more easily, some modifications were made
to support more modern pythons versions.

In particular, print statements were modified to print functions.

Furthermore, usages of the division operator("/") were modified to the
integer division operator("//"), as the meaning of "/" was changed to
non-integer division between python 2 and 3.

Finally, a usage of the sort method was modified with self assignment to
a `sorted()` value, due to python 3 not returning a list anymore, which
has a sort method, on dict's `items` method.

The changes are expected to mostly be semantically compatible, albeit it
wasn't ascertained whether the behavior of other parts of the script
might have been silently hit when running on a more modern python
version.

Informally, the script was used with a python 3.13 version, and the
generated code was used to disassemble a few jitted function with
success during an unrelated bug investigation.

Change-Id: Ide0bcf4d29a51759f9bb9bd07d940562a8cfcc04
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: Add PURL and CPE info to 3rd party attribution files</title>
<updated>2025-06-04T15:03:29+00:00</updated>
<author>
<name>Alexandru Croitor</name>
<email>alexandru.croitor@qt.io</email>
</author>
<published>2025-05-28T16:44:52+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=92dceea85ef77c0dddef28917c543902e0f85478'/>
<id>92dceea85ef77c0dddef28917c543902e0f85478</id>
<content type='text'>
[ChangeLog][Third-Party Code] Added PURL and CPE information to the
attribution files of 3rd party sources.

Pick-to: 6.5 6.8 6.9 6.10
Fixes: QTBUG-137262
Task-number: QTBUG-129602
Change-Id: I1a5691ff042c47461fe4769399c3bd2d6ec52160
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[ChangeLog][Third-Party Code] Added PURL and CPE information to the
attribution files of 3rd party sources.

Pick-to: 6.5 6.8 6.9 6.10
Fixes: QTBUG-137262
Task-number: QTBUG-129602
Change-Id: I1a5691ff042c47461fe4769399c3bd2d6ec52160
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>masm: fix -Wundef warnings</title>
<updated>2025-02-21T15:20:38+00:00</updated>
<author>
<name>Giuseppe D'Angelo</name>
<email>giuseppe.dangelo@kdab.com</email>
</author>
<published>2025-01-17T20:55:23+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=8e57beb1784fe8a8c10a1660b3459e3baece2e65'/>
<id>8e57beb1784fe8a8c10a1660b3459e3baece2e65</id>
<content type='text'>
Change the compiler/platform detection macros to check whether a macro
is defined, before testing its value. See also the discussion at

https://bugs.webkit.org/show_bug.cgi?id=167643
https://codereview.qt-project.org/c/qt/qtbase/+/618094

Task-number: QTBUG-132900
Change-Id: Ic3cc02b23e034cc7622e899b4acc381166a9ec95
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the compiler/platform detection macros to check whether a macro
is defined, before testing its value. See also the discussion at

https://bugs.webkit.org/show_bug.cgi?id=167643
https://codereview.qt-project.org/c/qt/qtbase/+/618094

Task-number: QTBUG-132900
Change-Id: Ic3cc02b23e034cc7622e899b4acc381166a9ec95
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Set allocated memory to 0 on VxWorks</title>
<updated>2025-02-19T10:35:27+00:00</updated>
<author>
<name>Karim Pinter</name>
<email>karim.pinter@qt.io</email>
</author>
<published>2025-02-07T14:03:48+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=0856267750b15efaf93e6941ffb23b2ebb192f25'/>
<id>0856267750b15efaf93e6941ffb23b2ebb192f25</id>
<content type='text'>
When VxWorks is configured with RTP_MEM_FILL false for performance
reasons, then it is not filling the allocated memory to 0, causing
the QML engine to crash, because it is expecting that it is filled
with 0s. This change handles this scenario by calling memset 0 on
the allocated memory. Qt needs to be configured with
QT_RTP_MEM_FILL define.

Task-number: QTBUG-133305
Pick-to: 6.8 6.9
Change-Id: I885c3cad7d81a11b8a0c125ddc098751b9643392
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When VxWorks is configured with RTP_MEM_FILL false for performance
reasons, then it is not filling the allocated memory to 0, causing
the QML engine to crash, because it is expecting that it is filled
with 0s. This change handles this scenario by calling memset 0 on
the allocated memory. Qt needs to be configured with
QT_RTP_MEM_FILL define.

Task-number: QTBUG-133305
Pick-to: 6.8 6.9
Change-Id: I885c3cad7d81a11b8a0c125ddc098751b9643392
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use MAP_JIT on all Apple platforms</title>
<updated>2024-12-17T13:09:32+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2024-12-10T13:01:21+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=caf7f29f3acad624aedc5847819e6e2d28a408cb'/>
<id>caf7f29f3acad624aedc5847819e6e2d28a408cb</id>
<content type='text'>
... and make it actually compile.

... and set the flag for JIT pages being prepared. We are clever enough
not to make them executable right away.

Pick-to: 6.9 6.8
Task-number: QTBUG-131957
Change-Id: I07dc6a9c8ec7d0881d73fc5bd44a6059f66dd2eb
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... and make it actually compile.

... and set the flag for JIT pages being prepared. We are clever enough
not to make them executable right away.

Pick-to: 6.9 6.8
Task-number: QTBUG-131957
Change-Id: I07dc6a9c8ec7d0881d73fc5bd44a6059f66dd2eb
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QtQml: Revert to old executable memory detection for macOS on x86</title>
<updated>2024-12-17T13:09:10+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2024-12-16T14:52:02+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=4f64760f3bac8aa0278d8a315297712405865836'/>
<id>4f64760f3bac8aa0278d8a315297712405865836</id>
<content type='text'>
Since we cannot figure out what exactly has to be done to prevent the
JIT from crashing, we perform a partial revert of commit
912af1e8b4c1f62802a3e0a4b428bb4e9f4d2c90, only for this platform.

The bug fixed by the original change is specific to linux. Therefore
this doesn't cause any real harm.

Pick-to: 6.9 6.8
Fixes: QTBUG-131957
Change-Id: Ic3baf32aae1f0f2feb9abc34b9f43a5db867165b
Reviewed-by: Tor Arne Vestbø &lt;tor.arne.vestbo@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>
Since we cannot figure out what exactly has to be done to prevent the
JIT from crashing, we perform a partial revert of commit
912af1e8b4c1f62802a3e0a4b428bb4e9f4d2c90, only for this platform.

The bug fixed by the original change is specific to linux. Therefore
this doesn't cause any real harm.

Pick-to: 6.9 6.8
Fixes: QTBUG-131957
Change-Id: Ic3baf32aae1f0f2feb9abc34b9f43a5db867165b
Reviewed-by: Tor Arne Vestbø &lt;tor.arne.vestbo@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
