Commit Graph

83 Commits

Author SHA1 Message Date
Tobias Hunger
ec025c6dbf Rework Build Parser handling
* Rework IBuildParser:
    * Remove name() method.
    * Remove enterDirectory and leaveDirectory signals.
    * Allow chaining of parsers.
 * Rename IBuildParser to IOutputParser.
 * Implement GnuMakeParser.
    * Remove entering/leaving directory related code from all other parsers
    * Move filename fixup heuristic based on entering/leaving directory
      massages from gnumake here from AbstractMakeStep.
 * Add outputParser method to ToolChain: This removes the need to map
   toolchains to BuildParser names in the BuildSteps.
 * Enhance AbstractProcessStep to accept a IOutputParser to parse its output.
 * Remove AbstractMakeStep.
 * Set the appropriate Parsers in all classes deriving from AbstractProcessStep
   and append the ToolChain's parser to the parser chain.
 * Remove BuildParserFactories: There is no more need for them.
 * Remove constants used to identify the BuildParsers.
 * Clean up some names:
    * Replace stdOut with stdOutput.
    * Replace addToTaskWindow with addTask and addToOutputWindow with
      addOutput. Do this wherever it is not yet clear that this will end up
      in the Task/Output window.

Reviewed-by: dt
2009-12-09 18:39:03 +01:00
Kai Koehne
ac150dfa93 Reuse filter icon from project explorer in task window 2009-11-16 12:41:24 +01:00
Tobias Hunger
b2f6803329 Use Task class in addToTaskWindow(...) signal.
* Use Task class in addToTaskWindow(...) signal. This introduces
   support for task categories into the BuildParsers.
 * Add a task category for buildsystem issues.
 * Update existing BuildParsers to new API and assign their
   tasks to the Compile or Buildsystem task category.

Reviewed-By: dt
2009-11-12 16:28:40 +01:00
Tobias Hunger
1a6f279314 Do not display negative line numbers in the TaskWindow
* Do not display negative line numbers in the TaskWindow.

Reviewed-By: kkoehne
2009-11-11 14:12:38 +01:00
Kai Koehne
caf4bb4a90 Add option to filter according to categories
Icon is still missing
2009-11-11 12:40:10 +01:00
Kai Koehne
a475761384 Refactor TaskWindow to support different 'categories'
The category differs between e.g. TODO tasks, compiler errors/warnings,
qml syntax errrors ... Idea is that every plugin can manage it's
own virtual list of tasks.

Reviewed-by: dt
2009-11-11 10:12:25 +01:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
con
8ed85f1eb6 Unify tool button appearance in "panelWidgets".
Reviewed-by: Jens Bache-Wiig
2009-07-17 13:13:32 +02:00
Joel Nordell
65996524f8 implement show/hide warnings button on build output window
Merge-request: 543
Reviewed-by: dt <qtc-committer@nokia.com>
2009-07-16 12:11:32 +02:00
Alessandro Portale
d3f9757916 Removing some unused semicolons after Q_UNUSED
There were both variants, with and without extra semicolon.
2009-07-13 17:35:17 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
dt
b718730d60 Remove unused functions, found while reviewing a merge request.
TaskModel::firstError() and TaskWindow::gotoFirstError()
2009-05-19 19:01:28 +02:00
dt
540ddcd562 Add a next/prev shortcut (F6 for now) for outputpanes.
This one has some magic inside to always use the current outputpane.
This solves the issue that I don't want Search and Build Issues list to
have its own set of next/prev shortcuts. todo is a better definition of
next for the build issues and/or a way to restrict it only to errors.
2009-04-30 12:50:52 +02:00
Alessandro Portale
1d35bc7003 Don't annoy Windows users with alien dir separators 2009-04-15 16:34:37 +02:00
dt
55c5e4aa2b Make the TaskDelegate (the one painting in Build Issue) a lot faster
It feels like day and night difference.
2009-03-27 13:37:24 +01:00
dt
1f3293ea41 Fixes: Build Issue doesn't respect the project encoding settings
Task:     243866
Details:  Patch by Kris Wong.
2009-03-12 11:25:29 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
con
66e9410f3d Fixes: - Unwanted focus halos 2009-01-30 17:09:33 +01:00
dt
4c41532666 Fixes: Memory leak in taskwindow
Task:     -
RevBy:    -
AutoTest: -
Details:  -
2009-01-30 14:32:28 +01:00
Thorbjørn Lindeijer
735e609e00 Removed more icore.h includes from header files 2009-01-23 13:03:36 +01:00
Thorbjørn Lindeijer
6adecf3767 Avoid going through ICore when it's not necessary
Many singletons have their own instance() method, in which case there is
no need to use ICore::instance() to get access to them.
2009-01-21 15:55:33 +01:00
hjk
113b81e9db replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance() 2009-01-20 11:52:04 +01:00
hjk
cc5ff1ec74 Remove #include <extensionsystem/pluginmanager.h> from icore.h, a
forward declaration is sufficient.
2009-01-19 12:39:20 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
con
bbc97c3944 Fixes: - "Problems" -> "Build Issues" 2008-12-09 17:05:37 +01:00
hjk
342caa2141 some more whitespace changes 2008-12-09 11:07:24 +01:00
Oswald Buddenhagen
ab20c6ea8b add "copy" action to problems output pane. 2008-12-03 22:03:07 +01:00
dt
3bf1a30672 Fixes: Jump to editor doesn't work, if the output mode is active.
Task:     Reported on irc.
2008-12-02 17:57:50 +01:00
hjk
cf11b69643 more code cosmetics 2008-12-02 16:19:05 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00