Commit Graph

72811 Commits

Author SHA1 Message Date
Friedemann Kleint
9a7729ebdc Preferences: Set up infrastructure for a filter widget.
Add filter widget, use a special QSortFilterProxyModel +
StandardItemModel, add a slot selecting the page.
Add matches() to IOptionsPage.
2009-11-19 17:47:13 +01:00
dt
d49dc172ad Compile 2009-11-19 17:46:04 +01:00
dt
651eb33823 Remove a unecessary QDir::toNativeSeparators()
Reviewed-by: Tobias Hunger <qt-info@nokia.com>
2009-11-19 17:46:04 +01:00
Roberto Raggi
3bd33607af QuickFix: move declaration out of if statement condition.
Done-with: ckamm
2009-11-19 17:36:45 +01:00
Thorbjørn Lindeijer
69969bef43 Fixed possible crash on constructor completion
When constructor completion was attempted on a base class specified in a
class declaration, a null pointer reference would occur.

Task-number: QTCREATORBUG-321
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
2009-11-19 17:29:37 +01:00
dt
6f0b4777d9 Merge commit 'origin/master' 2009-11-19 17:15:35 +01:00
Roberto Raggi
eec54d4089 Improve if condition splitting.
Done-with: ckamm
2009-11-19 17:07:20 +01:00
Tobias Hunger
e106e218d8 Do not mark env vars as modified if not needed.
* Ignore steData calls that do not actually change any data
   in the EnvironmentEditorModel. This prevents all variables
   touched from getting marked up as changed.

Reviewed-By: con
2009-11-19 16:55:27 +01:00
Tobias Hunger
f09cb01f46 Make sure we export native directory separators.
* Export QTDIR and path to Qt binaries with native
   directory separators.

Reviewed-By: con
2009-11-19 16:50:58 +01:00
Tobias Hunger
1a5c8a1df7 Support symbian-sbsv2 mkspecs
* Handle SBSv2 by doing the same as for the older ABLD
   build system.

Reviewed-By: con
2009-11-19 16:37:13 +01:00
dt
0d162be22f Make BuildSteps one instance per BuildConfiguration
Enables users to change which buildsteps get run per buildconfiguration.
Some further tweaks are probably necessary. This is a rather big
change, though it should work. :)
2009-11-19 16:36:48 +01:00
dt
ab038986a2 Compile 2009-11-19 16:35:20 +01:00
dt
fa0be746a9 Make Maemo compile again.
Conflicts:

	src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.h
2009-11-19 16:35:19 +01:00
dt
72fe54db77 Remove value(name) and setValue(name, value) from BuildStep 2009-11-19 16:35:19 +01:00
dt
0fa60aa3d8 Use QFlags<> for QmakeBuildConfig that removes a few casts. 2009-11-19 16:35:19 +01:00
dt
0d648636fa The code never did anything anyway, also the disconnect is not necessary
Since the runconfiguration gets deleted anyway.
2009-11-19 16:35:19 +01:00
dt
f383e27c6d Fix memory leaks :) 2009-11-19 16:35:19 +01:00
dt
10a0647ddf Remove QSharedPointer<> for RunConfiguration 2009-11-19 16:35:18 +01:00
Tobias Hunger
b4e2db59bc Update S60 device mixin
* Update list of system pathes.
 * Consistently use / as directory separator internally.

Reviewed-By: con
2009-11-19 16:35:04 +01:00
hjk
1d0758d8b1 reset 'busy' cursor if editor could not be created 2009-11-19 09:52:34 +01:00
hjk
4461ec2ef5 debugger: prevent crash when trying to view memory if bin editor is
unavailable
2009-11-19 09:51:21 +01:00
hjk
aa3b274a93 fakevim: fix undo of 'J' 2009-11-19 08:51:18 +01:00
Tobias Hunger
8adef29bf6 Use S60 mixin in winscwtoolchain.
* Use S60 mixin in winscw toolchain. Get rid of settings duplicated
   into the winscwtoolchain.

Reviewed-By: dt
2009-11-18 17:33:16 +01:00
Roberto Raggi
040ce975f4 Split or conditions. 2009-11-18 17:31:27 +01:00
Roberto Raggi
a3580db7bc Split if statements. 2009-11-18 17:31:27 +01:00
Roberto Raggi
f3f5ce5e04 Removed HelloQuickFix. 2009-11-18 17:31:27 +01:00
ck
24a98feada Maemo: Refine pkill command line.
Reviewed-by: kh1
2009-11-18 17:01:39 +01:00
Roberto Raggi
d8ada46fc4 Compile. 2009-11-18 15:27:17 +01:00
Roberto Raggi
8fd0777ab0 Ensure the document is updated before invoking a quickfix. 2009-11-18 15:15:00 +01:00
Christian Kamm
8e16ea717a Make more QuickFixOperation helpers available.
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-11-18 14:53:35 +01:00
Christian Kamm
317533b520 Add TextWriter from QML. 2009-11-18 14:49:45 +01:00
Roberto Raggi
81b0f81cbc Rewrite (!a && !b) as !(a || b). 2009-11-18 12:54:39 +01:00
Friedemann Kleint
ce5380aaeb Wizard: Polish, layout and module names.
Reviewed-by: con
2009-11-18 12:11:16 +01:00
Christian Kamm
e2ef1d8298 Make the QuickFixOperation interface more useful.
* Rename cursor(unsigned/AST*) to selectToken and selectNode.
  These return a cursor that has the given token or AST node selected.
* Rename getTokenStart/EndPosition to tokenStart/EndPosition.
  Instead of returning line and column numbers, return a position
  usable with text cursors.
* Remove moveAtStart/EndOfToken.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-11-18 11:28:06 +01:00
Christian Kamm
fd17d2f98f QuickFixOperation: don't pass the text cursor in constructor and apply
Instead, reintroduce setTextCursor and let CPPQuickFixCollector
call it just before invoking apply.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-11-18 11:10:50 +01:00
Friedemann Kleint
213b8638ed Designer: Restrict files used for "Go to slot" to project of ui-file.
Reviewed-by: con
Task-number: QTCREATORBUG-245
2009-11-18 10:31:16 +01:00
Thorbjørn Lindeijer
dd1eaec040 Silence compiler warning 2009-11-17 23:14:53 +01:00
con
8eccfac6a7 Missing path for symbian tool chains. 2009-11-17 17:44:36 +01:00
Friedemann Kleint
066b1d8d6b Shortcut Ctrk-L (Locator Goto Line) broken in most translations.
Change the translateable string not to contain a blank.

Task-number: QTCREATORBUG-299
Reviewed-by: Thorbjorn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-11-17 16:56:04 +01:00
Tobias Hunger
a5e88571ec Fix a warning about unused parameters.
Reviewed-By: Roberto Raggi
2009-11-17 15:00:29 +01:00
Roberto Raggi
f9f990914d Pass the fully specified type as const reference. 2009-11-17 14:37:45 +01:00
Roberto Raggi
ecf40d2426 Get rid off QPair<FullySpecifiedType, Symbol *>. Use LookupItem intead. 2009-11-17 14:24:09 +01:00
Roberto Raggi
5d7def6d2a Refactored the AST visitors.
Now, the ASTVisitor constructor takes a valid reference to a TranslationUnit.
2009-11-17 13:30:39 +01:00
Thorbjørn Lindeijer
04a333bac6 Make the title of the message output window more clear
Now it says "General Messages" instead of just "General".

Task-number: QTCREATORBUG-12
2009-11-17 11:03:34 +01:00
Roberto Raggi
35901130ee Merge remote branch 'origin/1.3' 2009-11-17 09:40:50 +01:00
Roberto Raggi
fa2eca8262 Insert semicolon when matching enum declarations.
Task-number: QTCREATORBUG-282
2009-11-16 18:15:33 +01:00
Roberto Raggi
0b641d38d5 Use a map for the memoization. 2009-11-16 18:01:50 +01:00
ck
d208a3acc8 Help plugin: Fix handling of oblique font style.
Reviewed-by: kh1
2009-11-16 17:58:59 +01:00
Roberto Raggi
576a1ee31f Build the list of the visible AST nodes (aka AST path). 2009-11-16 16:18:08 +01:00
Roberto Raggi
bc96850ded Introduced ASTPatternBuilder 2009-11-16 14:54:45 +01:00