Commit Graph

72811 Commits

Author SHA1 Message Date
Thorbjørn Lindeijer
55302393ce Don't highlight \ at end of line as whitespace
It is not considered a token by the C++ tokenizer, and was hence
considered to be trailing whitespace. Use the highightLine method to
make sure that any non-whitespace characters in this "trailing
whitespace" are not highlighted as such.

Task-number: QTCREATORBUG-987
2010-04-16 17:46:32 +02:00
hjk
b5b29532f3 fakevim: add a setting for (rudimentary) reading of .vimrc on startup 2010-04-16 17:47:28 +02:00
hjk
4a1c9e5902 fakevim: refactoring of ex-mode command handling 2010-04-16 17:47:28 +02:00
Thorbjørn Lindeijer
0462d34377 Fixed compile (unimplemented slot) 2010-04-16 17:35:29 +02:00
Kai Koehne
db2fcdb416 QmlDesigner: Fix crash on exit
QtCreator crashed on exit when the library/navigator/sidebar wasn't
visible in the Design mode. This is caused by a double deletion: The
widgets have the DesignModeWidget as the default parent + the side bar
items try to delete them on exit.

Fixed by removing default parent.

Task-number: QTCREATORBUG-1197
Reviewed-by: Christiaan Janssen
2010-04-16 17:12:22 +02:00
kh1
a8db81fb08 Implement Qt version check in test dialog and show error next to close.
Reviewed-by: ck
2010-04-16 17:09:31 +02:00
con
6027c5a031 Avoid build progress' error widget flickering, and popping up as toplevel on Mac
When a build was started after a build had errors, the error widget
would be made visible before it had a parent, leading to it being shown
as a top level for a split second.
So, clear the tasks before creating the new error widget, and assume
that we start without errors in the error widget.
2010-04-16 17:02:02 +02:00
Friedemann Kleint
87e0e9253f Debugger: Disable "Operate by instruction" when running.
Preventing an the stack handler asserting on invalid
index when requesting disassembling.
Task-number: QTCREATORBUG-1173
Acked-by: hjk
2010-04-16 17:01:10 +02:00
Thorbjørn Lindeijer
f069f1a664 Forward Home and End keys to the editor when completing
It's annoying and not very useful if they get grabbed and handled by the
completion list. This happened as a side effect of
fc1780f126.
2010-04-16 16:52:09 +02:00
Thorbjørn Lindeijer
3057c6ecf7 Offer to force quit an application when closing its output window
Reviewed-by: dt
Task-number: QTCREATORBUG-1093
2010-04-16 16:52:09 +02:00
Friedemann Kleint
70153d1c73 Debugger[CDB]: Disable watchers.
As they work only in a very limited way and slow down debugging.
2010-04-16 16:37:23 +02:00
Lasse Holmstedt
6538ca63bc Fixed clone constructor for qml run configuration 2010-04-16 15:56:25 +02:00
Lasse Holmstedt
9b060071d9 UI improvements and functionality fixes to qml inspector
now you can modify expression values after you set a watch on them.
doesn't seem to work yet for all cases, but there must be some issues
within the qml debug server holding things back.
2010-04-16 15:56:24 +02:00
Friedemann Kleint
0a643a1994 Wizards: Open a relevant file in editor after the wizard run
Remove all hacks/conventions of considering the last generated
file as project file, etc. and instead add attributes flags to
Core::GeneratedFile, giving fine-grained control of what to do
with the file. Implement static utility functions in wizards
that handle it. Add boolean XML-attributes "openeditor"/"openproject"
to the file elements used by the CustomWizard XML-specification.
Manually set the attributes in all wizards.

Task-number: QTCREATORBUG-1166
2010-04-16 15:55:38 +02:00
con
854309267d Never nag again about Qt Quick Visual Designer after pressing X, or enabling it once.
Reviewed-by: kkoehne
2010-04-16 15:52:43 +02:00
con
8d2f5f201e Don't show VCS menus that are not enabled and can't create repos. 2010-04-16 15:52:36 +02:00
Erik Verbruggen
92d05ed89f Add option to clear the "Application Output" on a new run.
Reviewed-by: Thorbjorn Lindeijer
2010-04-16 15:24:53 +02:00
hjk
44c02264da fakevim: make :map work for non-ASCII characters 2010-04-16 15:16:48 +02:00
hjk
ac36620918 qmldesigner: compile fix for linux 2010-04-16 14:33:06 +02:00
Thomas Hartmann
de610cac45 QmlDesigner: crash fix for copy and paste
imports (in the model) are broken (regression)
Since I rely on working imports in copy and paste broke.

I hardcode 4.7 in this patch!

Reviewed-by: Kai Koehne
2010-04-16 13:46:35 +02:00
Thomas Hartmann
5c0b8462b3 QmlDesigner.propertyEditor: add GradientLine widget for gradient editing 2010-04-16 13:46:33 +02:00
Thomas Hartmann
3365dfe884 QmlDesigner: remove qDebug 2010-04-16 13:46:32 +02:00
Thomas Hartmann
8c99d3a1bf QmlDesigner.propertyEditor: avoid binding loops for QColor by clever comparing 2010-04-16 13:46:31 +02:00
Thorbjørn Lindeijer
a9a27f0847 Removed some dead code 2010-04-16 13:31:22 +02:00
Thorbjørn Lindeijer
2ab7d2eafc Some documentation comment formatting and a rename
Renamed RunConfiguration::configurationWidget to
createConfigurationWidget.

Reviewed-by: dt
2010-04-16 13:31:22 +02:00
hjk
d8be1fbca4 textedit: make whitespace visualization work with overwrite mode cursor
Done with mae.
2010-04-16 13:26:46 +02:00
Marco Bubke
6d3d54a84f List are now handled before writable properties for reseting properties
This is fixing a crash because the code was asuming that list could be
only readonly properties.

Task-Number: BAUHAUS-589
Task-Number: BAUHAUS-568
Reviewed-by: kkoehne
2010-04-16 13:10:04 +02:00
Erik Verbruggen
124bb7aad7 Emit extra signals to have the task manager show issues on project-load. 2010-04-16 13:09:44 +02:00
mae
db0a0f2996 "Fix" overwrite cursor for fake vim mode
It now behaves less logical but closer to what vim does. Since
this is the main target group, the change is probably right.
In detail: Overwrite cursor no longer shows *what* will get overwritten,
but instead it simply indicates *that* the editor is in overwrite mode,
with a more or less fixed size (fixed when the font is truly monospace).
2010-04-16 13:06:58 +02:00
Erik Verbruggen
9bd3c7d8f5 Added logic to handle fonts where QtFontDatabase returns an empty list of point-sizes.
The added logic is that if the font has more than one style, to ask for the point-sizes
of the first style. If that's also empty, return the list of standard point-sizes.

Task-number: QTCREATORBUG-1153
2010-04-16 12:55:00 +02:00
Erik Verbruggen
d88eaff481 Hooked up the QML task manager again.
The QML task manager behaviour is to show warnings/errors for _saved_ files
only.
2010-04-16 12:55:00 +02:00
Erik Verbruggen
fb9a9ceede Added a method to remove individual tasks from the task window. 2010-04-16 12:54:59 +02:00
Tobias Hunger
61b3a7beb8 Do not consider "In constructor foo" lines as errors
... in the ldparser.
2010-04-16 12:42:32 +02:00
Thorbjørn Lindeijer
b370804b01 Fixed initialization order warnings 2010-04-16 12:41:48 +02:00
Friedemann Kleint
577057d2a9 Welcome mode: Base on QScrollArea.
to able to scroll long lists again.
2010-04-16 12:37:47 +02:00
Thorbjørn Lindeijer
2128669052 Fixed possible infinite loop when searching in text editor
Caused by uninitialized variable and failure to check for the case where
nothing is found.

Done-with: mae
2010-04-16 12:29:22 +02:00
kh1
c57e2eaff4 Implement ssh key generation dialog.
Reviewed-by: ck
2010-04-16 12:12:23 +02:00
con
6c492dac4d Remove some focus rects on the Mac that don't belong there. 2010-04-16 11:40:25 +02:00
Christian Kamm
9220929375 QmlJSEditor: Prevent an infinite parsing loop with invalid qml/js files.
Reviewed-by: Erik Verbruggen
2010-04-16 11:32:49 +02:00
Friedemann Kleint
14624fffc3 Codepasting: Replace " entity. 2010-04-16 11:14:49 +02:00
con
7d9398b768 Fixup for non-Mac windowModified property handling.
Reviewed-by: Friedemann Kleint
2010-04-16 11:07:04 +02:00
con
da5ba10f32 Mac: Show modified state in window decoration.
Task-number: QTCREATORBUG-1118
2010-04-16 10:37:09 +02:00
Lasse Holmstedt
ae8a8a5c84 UI fixes to QML inspector 2010-04-16 10:22:50 +02:00
Lasse Holmstedt
5921289580 Disabled frame rate dock widget for QML inspector entirely 2010-04-16 10:22:50 +02:00
Thorbjørn Lindeijer
01a0ec161c Fixed unwanted wrapping of code editor tooltips
Turns out the <nobr> actually caused wrapping in some cases because the
tag made the QToolTip turn on its wrapping feature due to the text being
rich text. So avoid adding it to plain text tooltips unnecessarily.

Reviewed-by: hunger
Task-number: QTCREATORBUG-1169
2010-04-15 19:16:37 +02:00
Thorbjørn Lindeijer
02ebee6d23 Tweak frame for open editors and open help pages switchers
In the GTK style the scroll bar likes to be outside of the scroll area
frame. Like with the completion widget, we put the visible frame
explicitly outside of the scroll bar.

Reviewed-by: Jens Bache-Wiig
2010-04-15 19:14:00 +02:00
Thorbjørn Lindeijer
ebb752230f Image viewer should not have a frame
Looks blurry in combination with the one pixel splitters

Reviewed-by: Jens Bache-Wiig
2010-04-15 19:14:00 +02:00
Tobias Hunger
71ad41a075 Show warning when no builds were imported
Tasknumber: QTCREATORBUG-1148
2010-04-15 17:45:34 +02:00
Tobias Hunger
9b2a6d80e4 Add unit test for QTCREATORBUG-1165
Nothing to fix in master, move on;-)

Tasknumber: QTCREATORBUG-1165
2010-04-15 17:24:52 +02:00
Tobias Hunger
b7c0a42025 Fix indention of code generated for mobile gui apps 2010-04-15 17:24:51 +02:00