Commit Graph

202 Commits

Author SHA1 Message Date
Friedemann Kleint
647c5d9b63 ProjectExplorer: Header cleanup in Taskwindow.
Introduce TaskWindowPrivate, add and reformat some
comments.
2010-05-27 13:28:07 +02:00
Friedemann Kleint
058d76fca8 TaskWindow: Fix warnings about leaking X11 pixmap data.
Attach icons to TaskModel.
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2010-05-26 11:57:39 +02:00
dt
1f6949c19b Fixes off by one pixel drawing in Build Issues
Task-Nr: QTCREATORBUG-1445
2010-05-20 16:15:27 +02:00
Tobias Hunger
e3720a4659 Add method to task to retreive the icon
This makes a task somewhat more useful outside of the
context of a taskwindow.

Reviewed-by: dt
2010-04-20 15:21:16 +02:00
Erik Verbruggen
fb9a9ceede Added a method to remove individual tasks from the task window. 2010-04-16 12:54:59 +02:00
dt
2d908b558a Add text formatting to the TaskDelegate
Reviewed-By: hunger
2010-04-12 15:05:29 +02:00
dt
5b2f892190 Multiline layout for TaskDelegate
Reviewed-By: hunger
2010-04-12 15:05:19 +02:00
Friedemann Kleint
c8b018766a VCS: Annotate task window: Give action global context. 2010-03-19 17:50:19 +01:00
Friedemann Kleint
751d7d043c VCS: Add 'Annotate' context menu entry to build issues task window. 2010-03-19 17:22:53 +01:00
Friedemann Kleint
bbcacaf59f Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4. 2010-03-18 10:59:06 +01:00
dt
7c11c4d8b0 Move TaskWindow::Task out of the nesting to ProjectExplorer::
Since otherwise we can't forward declare it.
2010-03-12 15:00:15 +01:00
Jens Bache-Wiig
67c421f018 Remove unknown icons from compiler output
These icons adds visual clutter and do not really give any
added value. We should reserve icons for lines that are
known as errors or warnings as these deserve special
attention.
2010-03-10 12:10:46 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Tobias Hunger
c59912819f Extend ioutputparser interface to improve testability 2010-03-04 15:25:14 +01:00
con
4ae45cf22e New Error and Warning icons. 2010-02-23 17:00:50 +01:00
Friedemann Kleint
2fd8b2d7ff Fix some code scanning issues.
QString: Use QChar where appropriate.
2010-02-01 12:43:56 +01:00
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
Jarek Kobus
b5099480fc Designer shortcuts fixes, TaskWindow's copy action fixed
Reverted the commit 59ecb9cf8 which could break wrongly written code
(or the cases like designer).
Fix one of such case (copy action in task window).
Fix synchronization of designer shortcuts by connecting to the
keySequenceChanged() signal of their Command representation.

Reviewed-by: con
Task-number: QTCREATORBUG-471
2010-01-08 13:13:56 +01:00
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