<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/qt-creator.git/src/plugins/projectexplorer/outputparser_test.cpp, branch qds/1.6.0-rc1</title>
<subtitle>code.qt.io: qt-creator/qt-creator.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/'/>
<entry>
<title>OutputFormatter: Fix visual glitch</title>
<updated>2020-09-07T08:35:15+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2020-09-04T14:51:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=b0cad9e9c7aad209756fb2409520c0d048614dd9'/>
<id>b0cad9e9c7aad209756fb2409520c0d048614dd9</id>
<content type='text'>
When inserting a line into an output window, we have to delay appending
the line feed character. Otherwise strange visual effects appear under
certain circumstances.
I have no idea why.

Fixes: QTCREATORBUG-24411
Change-Id: If8842ae4d9db36d514996b1f34dcca0432fafbfc
Reviewed-by: Orgad Shaneh &lt;orgads@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When inserting a line into an output window, we have to delay appending
the line feed character. Otherwise strange visual effects appear under
certain circumstances.
I have no idea why.

Fixes: QTCREATORBUG-24411
Change-Id: If8842ae4d9db36d514996b1f34dcca0432fafbfc
Reviewed-by: Orgad Shaneh &lt;orgads@gmail.com&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://91.123.203.49/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://91.123.203.49/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>ProjectExplorer: Split up the IOutputParser class</title>
<updated>2020-04-16T10:40:33+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2020-04-15T12:59:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=6f32538c5da7cfa1a6804336dcb4db0e4f205c28'/>
<id>6f32538c5da7cfa1a6804336dcb4db0e4f205c28</id>
<content type='text'>
For symmetry with Utils::OutputFormatter.

Task-number: QTCREATORBUG-22665
Change-Id: I148fed69dba042ad3ef26e080829c31cd3f357fd
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For symmetry with Utils::OutputFormatter.

Task-number: QTCREATORBUG-22665
Change-Id: I148fed69dba042ad3ef26e080829c31cd3f357fd
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Output parsers: Replace the chaining approach</title>
<updated>2020-04-09T14:49:32+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2020-04-08T15:45:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=45ba9fcd535e4cfd5f057149b1ca4bb4dfed5bdb'/>
<id>45ba9fcd535e4cfd5f057149b1ca4bb4dfed5bdb</id>
<content type='text'>
Use "flat" aggregation instead.
This is another step towards the formatter/parser merger.
Along the way, also fix some some subclasses (mostly in BareMetal) that
erroneously forwarded handled output to other parsers.

Task-number: QTCREATORBUG-22665
Change-Id: I12947349ca663d2e6bbfc99efd069d69e2b54969
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use "flat" aggregation instead.
This is another step towards the formatter/parser merger.
Along the way, also fix some some subclasses (mostly in BareMetal) that
erroneously forwarded handled output to other parsers.

Task-number: QTCREATORBUG-22665
Change-Id: I12947349ca663d2e6bbfc99efd069d69e2b54969
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>IOutputParser: Replace std{Out,Err} with a single parameterized function</title>
<updated>2020-04-08T09:31:33+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2020-04-08T07:42:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=98fb412e6e735184927f6d23e392566576904633'/>
<id>98fb412e6e735184927f6d23e392566576904633</id>
<content type='text'>
Another step towards parser/formatter unification.

Task-number: QTCREATORBUG-22665
Change-Id: I6de86b3aee2c54585cdd4b06d21b0ea67300aeac
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Another step towards parser/formatter unification.

Task-number: QTCREATORBUG-22665
Change-Id: I6de86b3aee2c54585cdd4b06d21b0ea67300aeac
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Output parsers: Generalize the search directory concept</title>
<updated>2020-04-07T15:20:22+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2020-04-07T11:49:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=7745eacc7afae4acf3e07325ab01cf6e6821037c'/>
<id>7745eacc7afae4acf3e07325ab01cf6e6821037c</id>
<content type='text'>
All parsers can now have search directories, not just the GnuMakeParser.
This allows us to get rid of the "task mangling", removing another
instance where the order of parsers in the chain mattered.

Task-number: QTCREATORBUG-22665
Change-Id: Id0d55522ae6800afd9f50ff36546224b0d8bb382
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All parsers can now have search directories, not just the GnuMakeParser.
This allows us to get rid of the "task mangling", removing another
instance where the order of parsers in the chain mattered.

Task-number: QTCREATORBUG-22665
Change-Id: Id0d55522ae6800afd9f50ff36546224b0d8bb382
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ProjectExplorer: Let IOutputParser handle newlines</title>
<updated>2020-04-07T08:13:58+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2020-03-31T12:34:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=b15d1951a21e3d0f3c2f41a32f9e26b473f60ddf'/>
<id>b15d1951a21e3d0f3c2f41a32f9e26b473f60ddf</id>
<content type='text'>
This makes IOutputParser structurally more similar to
Utils::OutputFormatter, which makes it simpler to explore possibilities
of somehow uniting these two related classes.

Task-number: QTCREATORBUG-22665
Change-Id: Ibb12ab6c8c785d863b9a921102a929864d0a5251
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes IOutputParser structurally more similar to
Utils::OutputFormatter, which makes it simpler to explore possibilities
of somehow uniting these two related classes.

Task-number: QTCREATORBUG-22665
Change-Id: Ibb12ab6c8c785d863b9a921102a929864d0a5251
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ProjectExplorer: Clean up IOutputParser interface</title>
<updated>2020-04-03T10:57:06+00:00</updated>
<author>
<name>Christian Kandeler</name>
<email>christian.kandeler@qt.io</email>
</author>
<published>2020-03-31T09:55:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=cddaecfe216bccc970c225cc83b532c2c420cae8'/>
<id>cddaecfe216bccc970c225cc83b532c2c420cae8</id>
<content type='text'>
- Remove unneeded/unused functions.
- De-virtualize where possible.

In particular, after untangling a number of self-referential
redirections, it became apparent that the outputAdded()
infrastructure was entirely unused.

Change-Id: I51e1beed008df2727b42494b087efa476342397e
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Remove unneeded/unused functions.
- De-virtualize where possible.

In particular, after untangling a number of self-referential
redirections, it became apparent that the outputAdded()
infrastructure was entirely unused.

Change-Id: I51e1beed008df2727b42494b087efa476342397e
Reviewed-by: hjk &lt;hjk@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid warning on empty expressions</title>
<updated>2019-07-23T11:55:59+00:00</updated>
<author>
<name>hjk</name>
<email>hjk@qt.io</email>
</author>
<published>2019-07-23T08:58:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=251287f0d35dd82e68dabed8214ef8af893aff91'/>
<id>251287f0d35dd82e68dabed8214ef8af893aff91</id>
<content type='text'>
For some reason, Q_UNUSED includes already a semicolon, adding one
on the user side creates an additional empty statement.

Change-Id: I9c5e8fac381345a60792cb75e2938fd53958d3b0
Reviewed-by: Christian Stenger &lt;christian.stenger@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For some reason, Q_UNUSED includes already a semicolon, adding one
on the user side creates an additional empty statement.

Change-Id: I9c5e8fac381345a60792cb75e2938fd53958d3b0
Reviewed-by: Christian Stenger &lt;christian.stenger@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
