<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/qt-creator.git/src/plugins/projectexplorer/ioutputparser.cpp, branch master</title>
<subtitle>code.qt.io: qt-creator/qt-creator.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/qt-creator.git/'/>
<entry>
<title>Remove GPL-3.0+ from license identifiers</title>
<updated>2023-01-06T11:15:13+00:00</updated>
<author>
<name>Kai Köhne</name>
<email>kai.koehne@qt.io</email>
</author>
<published>2022-12-21T09:12:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/qt-creator.git/commit/?id=56baf8c058792187b574cf988fcf4b313f527156'/>
<id>56baf8c058792187b574cf988fcf4b313f527156</id>
<content type='text'>
Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0,
this applies only to a hypothetical newer version of GPL, that doesn't
exist yet. If such a version emerges, we can still decide to relicense...

While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only

Change was done by running

  find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \;

Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b
Reviewed-by: Eike Ziller &lt;eike.ziller@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0,
this applies only to a hypothetical newer version of GPL, that doesn't
exist yet. If such a version emerges, we can still decide to relicense...

While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only

Change was done by running

  find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \;

Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b
Reviewed-by: Eike Ziller &lt;eike.ziller@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Port from qAsConst() to std::as_const()</title>
<updated>2022-10-07T13:47:53+00:00</updated>
<author>
<name>Marc Mutz</name>
<email>marc.mutz@qt.io</email>
</author>
<published>2022-10-07T12:46:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/qt-creator.git/commit/?id=8eb4d52342fe3a6ede1c1dce3174d95bfa0cea88'/>
<id>8eb4d52342fe3a6ede1c1dce3174d95bfa0cea88</id>
<content type='text'>
We've been requiring C++17 since Qt 6.0, and our qAsConst use finally
starts to bother us (QTBUG-99313), so time to port away from it
now.

Since qAsConst has exactly the same semantics as std::as_const (down
to rvalue treatment, constexpr'ness and noexcept'ness), there's really
nothing more to it than a global search-and-replace.

Task-number: QTBUG-99313
Change-Id: I88edd91395849574436299b8badda21bb93bea39
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We've been requiring C++17 since Qt 6.0, and our qAsConst use finally
starts to bother us (QTBUG-99313), so time to port away from it
now.

Since qAsConst has exactly the same semantics as std::as_const (down
to rvalue treatment, constexpr'ness and noexcept'ness), there's really
nothing more to it than a global search-and-replace.

Task-number: QTBUG-99313
Change-Id: I88edd91395849574436299b8badda21bb93bea39
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use SPDX license identifiers</title>
<updated>2022-08-26T12:27:18+00:00</updated>
<author>
<name>Lucie Gérard</name>
<email>lucie.gerard@qt.io</email>
</author>
<published>2022-08-19T13:59:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/qt-creator.git/commit/?id=a7956df3ca45579c62b496621a7d3b55d73c98b8'/>
<id>a7956df3ca45579c62b496621a7d3b55d73c98b8</id>
<content type='text'>
Replace the current license disclaimer in files by
a SPDX-License-Identifier.

Task-number: QTBUG-67283
Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813
Reviewed-by: Eike Ziller &lt;eike.ziller@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace the current license disclaimer in files by
a SPDX-License-Identifier.

Task-number: QTBUG-67283
Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813
Reviewed-by: Eike Ziller &lt;eike.ziller@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix various compiler warnings</title>
<updated>2021-12-02T15:48:52+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2021-12-01T18:19:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/qt-creator.git/commit/?id=b2d63bf79e6f0144983a87902ad1eb149c6eb527'/>
<id>b2d63bf79e6f0144983a87902ad1eb149c6eb527</id>
<content type='text'>
Change-Id: Ib64f04f154b2c44dad3248ef038449c2ac628686
Reviewed-by: Christian Stenger &lt;christian.stenger@qt.io&gt;
Reviewed-by: &lt;github-actions-qt-creator@cristianadam.eu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ib64f04f154b2c44dad3248ef038449c2ac628686
Reviewed-by: Christian Stenger &lt;christian.stenger@qt.io&gt;
Reviewed-by: &lt;github-actions-qt-creator@cristianadam.eu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ProjectExplorer: Generalize issues -&gt; output pane linking</title>
<updated>2021-11-25T15:19:42+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2021-11-25T11:31:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/qt-creator.git/commit/?id=08a86169db490b23fc9512388c3311a79f12de56'/>
<id>08a86169db490b23fc9512388c3311a79f12de56</id>
<content type='text'>
This feature was specific to the compile output pane, but we want
to have it in other panes too.

Change-Id: I110b27af7d0aa23acbc5623d1c0405816250df19
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This feature was specific to the compile output pane, but we want
to have it in other panes too.

Change-Id: I110b27af7d0aa23acbc5623d1c0405816250df19
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Some Qt6 porting</title>
<updated>2020-07-22T10:22:56+00:00</updated>
<author>
<name>hjk</name>
<email>hjk@qt.io</email>
</author>
<published>2020-07-21T13:47:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/qt-creator.git/commit/?id=2d78bd4b1980b9cc70fef63d9a1d315c7fd6715a'/>
<id>2d78bd4b1980b9cc70fef63d9a1d315c7fd6715a</id>
<content type='text'>
- new ambiguous overloads for mapToGlobal
- some functions now return qsizetype instead of int

Task-number: QTCREATORBUG-24098
Change-Id: I0020e5689e093653e9e0e6f0d6263720bc2e003b
Reviewed-by: Christian Stenger &lt;christian.stenger@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- new ambiguous overloads for mapToGlobal
- some functions now return qsizetype instead of int

Task-number: QTCREATORBUG-24098
Change-Id: I0020e5689e093653e9e0e6f0d6263720bc2e003b
Reviewed-by: Christian Stenger &lt;christian.stenger@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>GCC parser: Create fewer and better issues</title>
<updated>2020-05-18T12:34:52+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2020-05-11T13:31:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/qt-creator.git/commit/?id=d9dd1f8d527b47fba0cc683f9ea34055e2a7283d'/>
<id>d9dd1f8d527b47fba0cc683f9ea34055e2a7283d</id>
<content type='text'>
Consider the following compiler warning:

In file included from qgroundcontrol/libs/mavlink/include/mavlink/v2.0/
ardupilotmega/ardupilotmega.h:946,
                 from qgroundcontrol/libs/mavlink/include/mavlink/v2.0/
ardupilotmega/mavlink.h:32,
                 from qgroundcontrol/src/comm/QGCMAVLink.h:24,
                 from qgroundcontrol/src/comm/LinkInterface.h:21,
                 from qgroundcontrol/src/comm/LinkManager.h:21,
                 from qgroundcontrol/src/QGCApplication.h:27,
                 from qgroundcontrol/src/QtLocationPlugin/
QGCMapUrlEngine.cpp:19:
qgroundcontrol/libs/mavlink/include/mavlink/v2.0/ardupilotmega/./
mavlink_msg_vision_position_delta.h: In function ‘uint16_t
mavlink_msg_vision_position_delta_encode(uint8_t, uint8_t,
mavlink_message_t*, const mavlink_vision_position_delta_t*)’:
qgroundcontrol/libs/mavlink/include/mavlink/v2.0/ardupilotmega/./
mavlink_msg_vision_position_delta.h:138:178: warning: taking address of
packed member of ‘__mavlink_vision_position_delta_t’ may result in an
unaligned pointer value [-Waddress-of-packed-member]
  138 |     return mavlink_msg_vision_position_delta_pack(system_id,
component_id, msg, vision_position_delta-&gt;time_usec,
vision_position_delta-&gt;time_delta_usec, vision_position_delta-
&gt;angle_delta, vision_position_delta-&gt;position_delta,
vision_position_delta-&gt;confidence);
      |
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

Before this patch, this output resulted in nine entries in the issues
pane, which defeats the purpose: The user is supposed to get a quick
overview of the build problems, but instead we basically just copied
over the contents of the compile window, which is of little help and
also slows things down by overloading the task model.
We now try harder to identify output lines that belong to the same issue
and create just one task for them. File paths are now linkified in the
detailed issue view, so that users can still navigate quickly to all
involved files.

Task-number: QTCREATORBUG-22914
Change-Id: I1aed2ffac7d363c02073ef318cb863754379cf6d
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Consider the following compiler warning:

In file included from qgroundcontrol/libs/mavlink/include/mavlink/v2.0/
ardupilotmega/ardupilotmega.h:946,
                 from qgroundcontrol/libs/mavlink/include/mavlink/v2.0/
ardupilotmega/mavlink.h:32,
                 from qgroundcontrol/src/comm/QGCMAVLink.h:24,
                 from qgroundcontrol/src/comm/LinkInterface.h:21,
                 from qgroundcontrol/src/comm/LinkManager.h:21,
                 from qgroundcontrol/src/QGCApplication.h:27,
                 from qgroundcontrol/src/QtLocationPlugin/
QGCMapUrlEngine.cpp:19:
qgroundcontrol/libs/mavlink/include/mavlink/v2.0/ardupilotmega/./
mavlink_msg_vision_position_delta.h: In function ‘uint16_t
mavlink_msg_vision_position_delta_encode(uint8_t, uint8_t,
mavlink_message_t*, const mavlink_vision_position_delta_t*)’:
qgroundcontrol/libs/mavlink/include/mavlink/v2.0/ardupilotmega/./
mavlink_msg_vision_position_delta.h:138:178: warning: taking address of
packed member of ‘__mavlink_vision_position_delta_t’ may result in an
unaligned pointer value [-Waddress-of-packed-member]
  138 |     return mavlink_msg_vision_position_delta_pack(system_id,
component_id, msg, vision_position_delta-&gt;time_usec,
vision_position_delta-&gt;time_delta_usec, vision_position_delta-
&gt;angle_delta, vision_position_delta-&gt;position_delta,
vision_position_delta-&gt;confidence);
      |
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

Before this patch, this output resulted in nine entries in the issues
pane, which defeats the purpose: The user is supposed to get a quick
overview of the build problems, but instead we basically just copied
over the contents of the compile window, which is of little help and
also slows things down by overloading the task model.
We now try harder to identify output lines that belong to the same issue
and create just one task for them. File paths are now linkified in the
detailed issue view, so that users can still navigate quickly to all
involved files.

Task-number: QTCREATORBUG-22914
Change-Id: I1aed2ffac7d363c02073ef318cb863754379cf6d
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ProjectExplorer: Give the Task class an explicit summary</title>
<updated>2020-05-14T08:23:59+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2020-05-12T14:26:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/qt-creator.git/commit/?id=b02f6b5d30a81040ad5f4912d689926ddc4da95a'/>
<id>b02f6b5d30a81040ad5f4912d689926ddc4da95a</id>
<content type='text'>
We'd like to create more useful tasks from compiler output, that is, try
harder to identify consecutive lines that refer to the same issue and
create one task for them, rather than one for each line. In such
"aggregate" tasks, the first line will not necessarily carry the main
information. Therefore, we make it explicit what this main information
is by introducing a dedicated summary member.
Also streamline the font handling for compile tasks.

Change-Id: I933f2643a13c710dab1ab548c56669b129026eb5
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We'd like to create more useful tasks from compiler output, that is, try
harder to identify consecutive lines that refer to the same issue and
create one task for them, rather than one for each line. In such
"aggregate" tasks, the first line will not necessarily carry the main
information. Therefore, we make it explicit what this main information
is by introducing a dedicated summary member.
Also streamline the font handling for compile tasks.

Change-Id: I933f2643a13c710dab1ab548c56669b129026eb5
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge output formatters and output parsers</title>
<updated>2020-04-23T08:47:08+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2020-04-16T11:53:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/qt-creator.git/commit/?id=1c6e4fbd3211bc180b0de95d232226825bcb124d'/>
<id>1c6e4fbd3211bc180b0de95d232226825bcb124d</id>
<content type='text'>
Now only one piece of code needs to be written to both linkify output in
an output pane and create tasks for it in the issues pane.
The calling sites are also simplified. For instance, until now, build
steps had to feed their output parsers manually and then push the
created tasks up the signal stack in parallel with the actual output,
which the build manager relied upon for cross-linking the output pane
content. Afterwards, the output would get forwarded to the formatter
(and parsed for ANSI escape codes a second time). In contrast, a build
step now just forwards the process output, and task parsing as well as
output formatting is done centrally further up the stack.
Concrete user-visible improvements so far:
    - File paths in compiler/linker messages are clickable links now.
    - QtTest applications now create clickable links also when run
      as part of a build step, not just in the app output pane.

Task-number: QTCREATORBUG-22665
Change-Id: Ic9fb95b2d97f2520ab3ec653315e9219466ec08d
Reviewed-by: Christian Kandeler &lt;christian.kandeler@qt.io&gt;
Reviewed-by: hjk &lt;hjk@qt.io&gt;
Reviewed-by: Christian Stenger &lt;christian.stenger@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now only one piece of code needs to be written to both linkify output in
an output pane and create tasks for it in the issues pane.
The calling sites are also simplified. For instance, until now, build
steps had to feed their output parsers manually and then push the
created tasks up the signal stack in parallel with the actual output,
which the build manager relied upon for cross-linking the output pane
content. Afterwards, the output would get forwarded to the formatter
(and parsed for ANSI escape codes a second time). In contrast, a build
step now just forwards the process output, and task parsing as well as
output formatting is done centrally further up the stack.
Concrete user-visible improvements so far:
    - File paths in compiler/linker messages are clickable links now.
    - QtTest applications now create clickable links also when run
      as part of a build step, not just in the app output pane.

Task-number: QTCREATORBUG-22665
Change-Id: Ic9fb95b2d97f2520ab3ec653315e9219466ec08d
Reviewed-by: Christian Kandeler &lt;christian.kandeler@qt.io&gt;
Reviewed-by: hjk &lt;hjk@qt.io&gt;
Reviewed-by: Christian Stenger &lt;christian.stenger@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Output parsers: Make file look-up self-contained</title>
<updated>2020-04-17T08:14:14+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2020-04-09T12:30:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/qt-creator.git/commit/?id=c564805095e4f2cebb263dba28ce07ea6f1f5350'/>
<id>c564805095e4f2cebb263dba28ce07ea6f1f5350</id>
<content type='text'>
Change-Id: Iffe104b6b52f0902f1977adeaa0fee3dc1e374a4
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iffe104b6b52f0902f1977adeaa0fee3dc1e374a4
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
