Commit Graph

68 Commits

Author SHA1 Message Date
Alessandro Portale
3aa3c5688f Pedantic cleanup of filename parameters for QIcon constructor
Using more *::Constants::ICON_* where it makes sense and
wrapping the file names into QLatin1String where they were
missing.

The increased usage of the ICON constants needed a few more
cross plugin includes of *constants.h, here and there.
I think that it is OK, since the dependencies were alredy there
icon resource wise.
2010-07-30 22:17:14 +02:00
con
eef08b12e3 Merge remote branch 'origin/2.0'
Conflicts:
	src/plugins/projectexplorer/buildmanager.cpp
	src/plugins/projectexplorer/compileoutputwindow.cpp
	src/plugins/projectexplorer/compileoutputwindow.h
	src/plugins/projectexplorer/outputwindow.cpp
	src/plugins/projectexplorer/outputwindow.h
2010-07-16 11:50:01 +02:00
dt
6fdfc6596d Add more signals to BuildManager.
Enabling other plugins to know which tasks currently exist.
2010-07-15 10:47:34 +02:00
Kai Koehne
679ccc3b74 QmlOutline: Add filter for hiding bindings (properties) 2010-07-14 16:56:14 +02:00
dt
0a751084eb Task hub 2010-07-07 11:43:03 +02:00
hjk
2f5f358ff4 Core::Context: compile hot fix for Windows. 2010-06-25 17:38:25 +02:00
hjk
c7e8b51d37 core: use a class derived from QList<int> instead of a QList<int> for Core::Context
A mostly mechanical change.

Reviewed-By: con
2010-06-25 12:58:07 +02:00
Tobias Hunger
4214193d21 Add method to get a task from the taskmodel
* Add a method to get a task from the taskmodel.
 * Use it.
2010-06-24 15:58:18 +02:00
Tobias Hunger
aa41af8ccc Use task handlers in taskwindow
Reviewed-by: dt
2010-06-24 15:58:18 +02:00
Tobias Hunger
d9fbf55a98 Make Task and TaskWindowPrivate classes
They both used to be structs.
2010-06-16 15:16:36 +02:00
Tobias Hunger
bf5c990283 Move ProjectExplorer::Task into its own file 2010-06-16 15:16:24 +02:00
con
b0040dc858 Merge remote branch 'origin/2.0'
Conflicts:
	src/plugins/projectexplorer/taskwindow.cpp
	src/shared/proparser/profileevaluator.cpp
2010-06-10 15:00:16 +02:00
dt
27bdfe510e Make the TaskView 10% faster by caching how wide "8888" is. 2010-06-08 17:37:29 +02:00
dt
cedf9e21dc Optimize the taskCount tracking
Saving another 20%
2010-06-08 17:19:25 +02:00
dt
7bfb7a62e7 Make clearing the build issue list way faster 2010-06-08 17:19:25 +02:00
dt
d807b14c85 Make TaskModel 2.5x faster 2010-06-08 15:23:58 +02:00
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