Commit Graph

72811 Commits

Author SHA1 Message Date
Friedemann Kleint
239a95710f Debugger: Windows compile fix/warnings 2010-05-19 08:51:46 +02:00
Erik Verbruggen
8f9e2eebe7 Added #preprocessor directive completion. 2010-05-18 17:57:49 +02:00
dt
5193cef369 Remove dead code 2010-05-18 17:40:34 +02:00
dt
3cc8f2f9e0 Fix check for g++ 2010-05-18 17:40:34 +02:00
Erik Verbruggen
d1220f3113 Revert "Added #preprocessor directive completion."
This reverts commit e4fb53e8d9.

Should have gone into master, not into the 2.0 release branch.
2010-05-18 17:37:22 +02:00
Thomas Hartmann
e60d94a44b QmlDesigner.propertyEditor: initlialize members
Task-number: BAUHAUS-647
2010-05-18 17:11:06 +02:00
Thomas Hartmann
76362232b6 QmlDesigner.DragAndDrop: avoid flicker
Task-number: BAUHAUS-448
2010-05-18 17:11:06 +02:00
Jens Bache-Wiig
bdd62b8925 Increase category item spacing in settings dialog
This should give things a cleaner look.
2010-05-18 17:09:19 +02:00
dt
02e1b8694b Check if the file is already used in the .pro file.
And refuse to add it twice. The check is pretty simplistic in that it
doesn't take scopes or which variable it's exactly in into account.
But in those cases you need to edit the .pro file manually anyway.

Task-Nr: QTCREATORBUG-932
Task-Nr: QTCREATORBUG-891
Task-Nr: QTCREATORBUG-653
2010-05-18 16:31:22 +02:00
dt
8e11d1d18a Fix comment to be more readeable 2010-05-18 16:31:05 +02:00
dt
435ff5dfe3 For adding files use the "primary" variable for each file type.
That is e.g. SOURCES instead of whatever variable is used first in the
project file.

Reviewed-By: ossi
2010-05-18 16:31:05 +02:00
Thomas Hartmann
79dae814aa QmlDesigner.property: DeclarativeWidgetView instead of QDeclarativeView
Since the property editor is QWidget based it uses our own
DeclarativeWidgetView instead of QDeclarativeView now

Reviewed-by: Kai Koehne
2010-05-18 16:27:41 +02:00
Erik Verbruggen
e4fb53e8d9 Added #preprocessor directive completion. 2010-05-18 16:19:32 +02:00
mae
8c9a97479a Small fixes for vertical block selection
The find scope was sometimes painted incorrectly, and the last
line was occassionally ommited from the standard selection paint.

Reviewed-by: thorbjorn
2010-05-18 16:02:03 +02:00
kh1
39bd73ff87 We need to keep the action around, not the command.
Fixes broken enabled/ disabled qemu start button behavior.
2010-05-18 15:38:50 +02:00
Erik Verbruggen
eb9e7866f2 Fixed QTCREATORBUG-1397.
When adding a new file, refreshing semantic errors in the open editor should
have worked. It now also works for removing existing files.

Done-with: Christian Kamm
2010-05-18 15:29:11 +02:00
Thomas Hartmann
9766f14eaf QmlDesigner.propertyEditor: avoid Qml warnings
Task-number: BAUHAUS-274
2010-05-18 14:48:21 +02:00
Thomas Hartmann
cd004cdf98 QmlDesigner: avoid crash for Components and copy and paste
We have to set the proper fileUrl on all models
2010-05-18 14:48:21 +02:00
Thomas Hartmann
a87030201c QmlDesigner: set opacity to 0 instead of isVisible to false in DnD
You cannot animate from visible true to false, but you can animate
from opacity:  0.0 to 1.0 so using opacity would be better.

Task-number: BAUHAUS-672
2010-05-18 14:48:20 +02:00
con
15e0630c0c Show keyboard shortcut for min/max output pane.
Reviewed-by: mae
2010-05-18 14:26:33 +02:00
con
2d17da65a9 Icon update. 2010-05-18 14:26:33 +02:00
dt
fb3cc11494 Make .pro files writeable if needed.
Task-Nr: QTCREATORBUG-765
2010-05-18 13:48:57 +02:00
hjk
35bfbec797 debugger: refactor thread related class 2010-05-18 12:13:27 +02:00
hjk
53e9c4fad6 fakevim: uniformly use double quote around file names in status messages 2010-05-18 12:13:27 +02:00
hjk
d2e9658e13 debugger: use book case also in new actions 2010-05-18 12:13:27 +02:00
hjk
2f69bae63f debugger: gather more information on threads when easily available 2010-05-18 12:13:27 +02:00
hjk
5d5eeed6c0 fakevim: set target column and mark after undo/redo, 'o' and 'O' and Return 2010-05-18 12:13:27 +02:00
Leandro Melo
16de34e533 No need to set format when text is normal. 2010-05-18 11:38:52 +02:00
Leandro Melo
1ce3eb3863 Initialize editor in duplicate. 2010-05-18 11:38:51 +02:00
Roberto Raggi
1e1d8e450f Use the Control created by CPlusPlus::CreateBindings. 2010-05-18 09:24:14 +02:00
Roberto Raggi
35c50dcbfc Use the context created by TypeOfExpression. 2010-05-18 09:24:11 +02:00
Roberto Raggi
5cb42c93ef Instantiate the template functions. 2010-05-18 09:24:04 +02:00
Thorbjørn Lindeijer
5860ff3702 Use the editor font in the completion widget
This is pretty common in other editors, and the application font looks
weird if the text editor font is significantly larger.

Task-number: QTCREATORBUG-1424
Reviewed-by: Olivier Goffart
2010-05-17 18:29:20 +02:00
con
38f6379f39 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/find/currentdocumentfind.cpp
	src/plugins/qt4projectmanager/qt-s60/s60createpackagestep.cpp
2010-05-17 17:40:40 +02:00
Marco Bubke
b52f3cb274 Don't do anything if the target object is already set
Task-Number: BAUHAUS-666
Reviewed-by: kkoehne
2010-05-17 17:30:23 +02:00
Thorbjørn Lindeijer
2816ccbd37 Don't allow opening the same generic project multiple times
Quick fix by copying code also found in Qt4 and QML project managers.
Would be better to have some common solution...

Task-number: QTCREATORBUG-1383
2010-05-17 16:33:25 +02:00
Robert Loehning
896f474511 String fixes
Reviewed-by: Leena Miettinen
2010-05-17 15:50:33 +02:00
hjk
d8318a9502 debugger: refactor breakpoint handling
Use BreakpointData objects for communicaition instead of random
collection of some of their attributes.
2010-05-17 15:41:59 +02:00
dt
88e4917b2e Fix warning about unused parameters 2010-05-17 13:12:19 +02:00
Roberto Raggi
5058dd670a Reuse TypeOfExpression. 2010-05-17 13:06:49 +02:00
Roberto Raggi
18490596f9 Renamed Document::findSymbolAt(). 2010-05-17 13:01:56 +02:00
Friedemann Kleint
9432070656 Fix clone wizard texts. 2010-05-17 13:01:45 +02:00
Roberto Raggi
56c5c8266a Get rid off of typeid() and <typeinfo>. 2010-05-17 12:52:46 +02:00
Friedemann Kleint
47d49d2539 CodePaster: Fix sample URL: qtcreator.pastebin.com->creator.pastebin.com
Fix up bb6af2131c.
Clear richtext flag on the QLabel and set openExternalLinks.
Change sample URL from qtcreator.pastebin.com to creator.pastebin.com.
2010-05-17 12:12:43 +02:00
Friedemann Kleint
80e941c007 Revert "Fixed url": Do not introduce rich text.
This reverts commit bb6af2131c.
2010-05-17 12:09:18 +02:00
Christian Kamm
6f4b864487 QmlJS: Make Snapshot discard outdated Documents.
Previously, fresh versions of a Document would be added to the
_documentsByPath QMultiHash without removing the old version first.
This means Link could pick up old versions of a Document.

Task-number: QTCREATORBUG-1418
2010-05-17 12:05:18 +02:00
mae
bb6af2131c Fixed url 2010-05-17 11:42:07 +02:00
mae
1a77c287df Workaround for QTCREATORBUG-72 (multiple shortcuts)
This fixes the Ctrl+W vs. Ctrl+F4 for close on MS-Windows
by introducing Ctrl+F4 as an alternative shortcut.

Reviewed-by: con
2010-05-17 11:42:07 +02:00
mae
78f130a121 Fix Backtab behavior to standard Windows behavior
Creator implemented Backtab similar to Eclipse and other editors,
now we do standard windows behavior.
2010-05-17 11:42:07 +02:00
Kai Koehne
d65eaadd6e QuickDesigner: Support nesting of all nodes in navigator
Don't check for isContainer, which is rather a hint for the visual
editor whether to nest automatically. In the navigator case, the user
explicitly requested a nesting, and we shouldn't prevent him from doing
so.

Task-number: BAUHAUS-650
Reviewed-by: Christiaan Janssen
2010-05-17 10:59:05 +02:00