Commit Graph

72811 Commits

Author SHA1 Message Date
Thomas Hartmann
efc471af5e QmlDesigner.propertyEditor: fixing crashes in expression editing 2010-03-08 17:40:32 +01:00
Thomas Hartmann
3300a1c2d4 QmlDesigner: adding ExpressionEditor to basicwidgets 2010-03-08 17:40:32 +01:00
Thomas Hartmann
54981a4a62 QmlDesigner: tweaking of pasting into the visual designer 2010-03-08 17:40:31 +01:00
Christiaan Janssen
56a25fffa8 QmlDesigner.Navigator: LineInput now covers the whole item row 2010-03-08 17:34:10 +01:00
Jens Bache-Wiig
e9f33fb8d3 Fix examples failing to open
After fixing the sidebar to use delayed update,
code that relied on setCurrentItem could break
since the state was not set asyncronously.
This fixes it by only making mouseClick delayed,
while setCurrentIndex works as before when set
programatically.

Reviewed-by: Lasse Holmstedt
2010-03-08 15:08:44 +01:00
Friedemann Kleint
8a73827ca8 Design mode: Suppress warning about top level spacers.
Improve c5d6c139c1.
2010-03-08 15:04:58 +01:00
Friedemann Kleint
666c96cf5d Revert "Design mode: Suppress warning about top level spacers."
This reverts commit c5d6c139c1.
2010-03-08 15:03:12 +01:00
Lasse Holmstedt
09c337dcab Fixed focus issues with F4 edit/design switch
Reviewed-by: kkoehne
2010-03-08 14:54:48 +01:00
hjk
a14b1a580c debugger: next attempt at fixing the "can't open items in locals view" issue. 2010-03-08 14:46:28 +01:00
hjk
5879b1fb1a debugger: removed unused variables 2010-03-08 14:46:27 +01:00
Jens Bache-Wiig
e2f79dd0c0 Disable project selector combo box when not needed
When we only have one option available, it makes no sense to
enable the combo box.
2010-03-08 14:40:42 +01:00
Lasse Holmstedt
61ca001e67 QML project executable file to default to lowercase .qml file
Use a lowercase .qml file found in project tree if no current file is
selected. This way we don't have to disable run controls if there are
some files to execute.

Reviewed-by: kkoehne
2010-03-08 14:39:46 +01:00
Friedemann Kleint
c5d6c139c1 Design mode: Suppress warning about top level spacers. 2010-03-08 14:10:31 +01:00
Thomas Hartmann
845948cdee QmlDesigner: crash fix
See BAUHAUS-435
Inside a modification group/transaction we disable undo/redo
2010-03-08 13:55:19 +01:00
Lasse Holmstedt
21b26a796d Show different tooltips for run/debug actions when no project selected
Task-number: QTCREATOR-191
Reviewed-by: dt
2010-03-08 12:17:34 +01:00
Martin Aumüller
f12753a499 fakevim: by default, startofline is on in vim
Merge-request: 126
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-03-08 11:44:43 +01:00
Martin Aumüller
414c5ba979 fakevim: 'cw' invoked on a sequence of space should just change the spaces
Merge-request: 126
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-03-08 11:44:43 +01:00
Martin Aumüller
6d5c121063 fakevim: 'I' should enter insert mode even when not in visual mode
Merge-request: 126
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-03-08 11:44:43 +01:00
hjk
63751cdadf debugger: also show file names in 'sources' view that cannot be resolved 2010-03-08 11:38:25 +01:00
ck
2c59a246d4 Maemo: Make it possible to have more than one run configuration. 2010-03-08 11:19:40 +01:00
Kai Koehne
2c87f1eed5 QmlDesigner: Update states editor icons when element is removed
Schedule a redraw of the states icons when an element is removed from
the model.

Task-number: BAUHAUS-460
Reviewed-by: Christiaan Janssen
2010-03-08 11:15:30 +01:00
Lasse Holmstedt
736963a422 Context Help support for Bauhaus
Task-number: BAUHAUS-451
Reviewed-by: kkoehne
2010-03-08 09:48:31 +01:00
Oswald Buddenhagen
1b5bc65645 define EPROTO fallback for openbsd 2010-03-05 20:13:00 +01:00
Oswald Buddenhagen
a7a370db99 fix solaris compile ... finally. 2010-03-05 19:45:41 +01:00
Christiaan Janssen
155296b070 QmlDesigner.StatesEditor: Showing message box when wrong state name is entered 2010-03-05 17:22:27 +01:00
Christiaan Janssen
ac030f6d9d QmlDesigner.MetaInfo: renamed subcomponents group 2010-03-05 17:17:01 +01:00
kh1
b748f99c69 Lazy start the full text search indexer. Fix missing progress for more
the one run of the indexer.

Reviewed-by: ck
2010-03-05 16:09:19 +01:00
ck
2e25571edb Maemo: Make deployment timestamps per host.
Reviewed-by: kh1
2010-03-05 16:07:14 +01:00
con
e6ab80a9d6 Revert "Fix unit tests for gcc parser"
This reverts commit a797b1f9c1.
2010-03-05 16:03:31 +01:00
con
f9d314d144 Revert "Improve parsing of linker problems"
This reverts commit 6b24754226.
2010-03-05 16:03:31 +01:00
con
ab74d23848 Avoid pulling in the svg plugin. 2010-03-05 16:03:31 +01:00
con
67a14a172e Sometimes the progress bar would show a 50% green bar in the beginning.
QtConcurrent seems to sometimes take some time before the
progress information is initialized. This change fixes the appearance
for that case.
2010-03-05 16:03:31 +01:00
con
afe939ef23 A bit more efficient adding/removing of file watchers.
Each call of addPath(s) removePath(s) potentially is locking and
unlocking a mutex, so do it for all paths at once.
2010-03-05 16:03:30 +01:00
Erik Verbruggen
72ea71aacf Fixed string escaping when writing QML properties. 2010-03-05 15:54:09 +01:00
dt
b59442e072 Fix FileManager after recent commit
Temporary files should not be watched also fix a few corner cases where
the fixedname of IFile change without the file name changing.
(Oh the fun of symlinks.)

It's more consistent now, though I haven't gone through all the
implications of IFile's who's fixedName change
2010-03-05 15:51:30 +01:00
dt
ff5f79334f SubmitFileEditor should emit signals 2010-03-05 15:51:30 +01:00
dt
447919d855 Fix buildmanager state handling 2010-03-05 15:51:30 +01:00
dt
2dedde25fe Remove work around again 4.2.0
Reviewed-by: Friedemann Kleint <qtc-committer@nokia.com>
2010-03-05 15:51:30 +01:00
dt
86cfbbddfc Fix cmake wizard not showing after a file change 2010-03-05 15:51:30 +01:00
dt
431a276382 Ask for saving when using the context menu 2010-03-05 15:51:30 +01:00
dt
73d6ea78fe Remove old code 2010-03-05 15:51:30 +01:00
dt
96c1a21a51 Remove unused code emptyProject 2010-03-05 15:51:30 +01:00
dt
ef90afe5aa Remove qtextended_integration 2010-03-05 15:51:30 +01:00
Christian Kamm
9e75ff8ea2 Don't add the default arguments when completing function definitions.
Fixes QTCREATORBUG-787

Reviewed-by: Erik Verbruggen
2010-03-05 15:45:58 +01:00
Kai Koehne
d700b84714 QmlDesigner: Fix crash when opening a .qml file with states
This fixes an assert in QGraphicsScene because of
overlapping deferred calls of _q_processDirtyItems & _q_emitUpdated.
Both used to be queued in the same event loop:

 _q_emitUpdated call queued with "calledEmitUpdated=true"
 _q_processDirtyItems call queued
-> Event loop runs
 _q_emitUpdated runs, setting "calledEmitUpdated=false"
 _q_processDirtyItems runs, asserting because of !calledEmitUpdated

This fix forces the event loop to run between the queueing of
_q_emitUpdated & _q_processDirtyItems, effectively separating
both calls.

Task-number: BAUHAUS-459
Reviewed-by: Christiaan Janssen
2010-03-05 15:19:45 +01:00
Marius Storm-Olsen
651ff4b172 Don't draw column margin twice
The last line is even blended, which slows things down.

Reviewed-by: Thorbjørn Lindeijer
(caused by wrong merge of ab3d3cf413)
2010-03-05 15:08:44 +01:00
Marius Storm-Olsen
b448e6e7b9 Enable suppressing syntax and setting a foreground color on disabled blocks
If the foreground color for the disabled text is different than the normal
text foreground, that's an indication that the user wants the disabled
block to be colored differently. If so, disable the syntax highlighting
and set uniform colors for the block.

If the foreground colors are identical apply full syntax highlighting in
the disabled block too. Some people want that.

Reviewed-by: Thorbjørn Lindeijer
2010-03-05 15:04:23 +01:00
Thorbjørn Lindeijer
181b086f99 Added syntax highlighted code to clipboard as HTML when copying
The generated HTML is not the prettiest HTML in the universe, but it
does the job. When copying code from Qt Creator to Microsoft Office or
OpenOffice.org, the syntax highlighting is now preserved. The code also
pastes as preformatted text.

Reviewed-by: mae
Task-number: QTCREATORBUG-727
2010-03-05 15:04:23 +01:00
Tobias Hunger
90099cb3ae Remove obsolete member variable
Reviewed-by: Friedemann Kleint
2010-03-05 13:50:49 +01:00
Tobias Hunger
9cdddd949e Fix memory leak
Reviewed-by: Friedemann Kleint
2010-03-05 13:50:49 +01:00