Commit Graph

72811 Commits

Author SHA1 Message Date
Tobias Hunger
bbbe0f2cff Improve target selection page
* Expand all targets
 * Do not check any Qt flavour by default
2010-03-11 17:37:31 +01:00
dt
33a54c8121 Remove connect that is no longer used. 2010-03-11 17:02:36 +01:00
dt
c06fcc005b Fix crash for closing creator while evaluate is still in progress 2010-03-11 17:02:36 +01:00
Martin Aumüller
af3b1ce778 factor out the commonalities between the keyboard shortcut & ex command mapping dialog
Merge-request: 125
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2010-03-11 16:42:39 +01:00
Tobias Hunger
c5b5373978 Fix gccparser issue reported by con
... and add a unit test for it
2010-03-11 15:52:54 +01:00
Thorbjørn Lindeijer
efb453da0c Fixed reused message box to still update the text when necessary
The Variables message box is used for both the external editor as well
as the file browser instructions.

Reviewed-by: Daniel Molkentin
2010-03-11 15:04:54 +01:00
Friedemann Kleint
7ffc3733bc Debugger/CDB: Fix stack view when attaching to crashed app.
The timer for event-delivery time-out checking when attaching to a
crashed process in the case of not being spawned by the handler
(such as via single-application remote command) triggered too
early. Add a 'moduleLoaded()' signal to CoreEngine and trigger
from there (due to lack of a proper "engine up/attached"
notification.
Emit moduleLoaded() from the first timed-out debug event handler when
modules no longer change.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2010-03-11 14:52:22 +01:00
Roberto Raggi
7f2dea7c41 Get rid of QML_REGISTER_TYPE. 2010-03-11 14:01:00 +01:00
hjk
5946b78d8a debugger: close editors opened while stepping 2010-03-11 13:43:42 +01:00
Christiaan Janssen
b8b318dab7 QmlDesigner.Navigator: Avoiding focus rectangle in Mac 2010-03-11 13:41:21 +01:00
hjk
9d624732c8 debugger: code cosmetics 2010-03-11 12:25:05 +01:00
Tobias Hunger
999323c032 Fix DOCPATH on non-Mac builds
Reviewed-by: kh1
2010-03-11 12:20:33 +01:00
hjk
60995cf0ab debugger: re-enable basic support for reverse execution.
Needs polishing.
2010-03-11 12:04:19 +01:00
Thomas Hartmann
b08ecda9c2 QmlDesigner.property restrict size of siblingcombobox 2010-03-11 11:40:25 +01:00
Thomas Hartmann
6949453c08 QmlProjectManager: crash fix 2010-03-11 11:30:15 +01:00
Christian Kamm
5a7858f5ec Make sure the BackwardScanner has tokenized before asking for a string.
The problem was that for

Foo::Foo
(|)

when the user triggers completion at |, startOfLine() returns a token
that's not on the current line and not yet tokenized by that instance
of the BackwardScanner.

As a fix I explicitly ask the instance to tokenize up to the given
index.

Task-number: QTCREATORBUG-673
Reviewed-by: Roberto Raggi
2010-03-11 11:09:04 +01:00
Jens Bache-Wiig
2b40ed698a Add animation to detail widgets 2010-03-11 10:56:20 +01:00
Jens Bache-Wiig
42ebc6b0f2 Redesigned the project settings page
I redesigned the gradient boxes for a
more subtle an professional look.
2010-03-11 10:56:20 +01:00
Jens Bache-Wiig
f593b0d685 Polish for the build page
I added a sidebar as suggested in the ergosign
screenshots. It is required to balance things.
2010-03-11 10:56:19 +01:00
Erik Verbruggen
e0c381bbfb Included QStringBuilder to fix compilation on MacOS.
Reviewed-by: kh1
2010-03-11 10:44:29 +01:00
Tobias Hunger
00e78171df Remove unused variable 2010-03-11 10:25:45 +01:00
Tobias Hunger
e10a35e891 Remove unused variable 2010-03-11 10:25:29 +01:00
Friedemann Kleint
b15853e3ea Debugger: Fix debugger command line startup.
Protect against session changes at startup.
Reviewed-by: hjk
2010-03-11 08:44:07 +01:00
Robert Loehning
cfbd84639d Compile fix 2010-03-10 21:45:40 +01:00
kh1
0ec23fefd1 Fix split mode after last change for welcome page examples.
We need to append "?view=split"to force the split mode check. Make the
check more readable in viewerForContextMode.
2010-03-10 18:42:13 +01:00
kh1
4e7bbbdaaf Fix broken behavior for welcome page links if no docs are installed.
In case of split mode we did not check if the actual requested doc
exists and thus did fail to open the browser if it could not be found.

Reviewed-by: Daniel Molkentin
2010-03-10 18:42:12 +01:00
dt
51c0913a73 Fix crash 2010-03-10 18:29:22 +01:00
dt
dc5cb2bed1 Remove declaration of deleted slot 2010-03-10 18:29:22 +01:00
hjk
3066162eb4 debugger: avoid a few watchmodel rebuilds, also reset location markers properly 2010-03-10 17:39:42 +01:00
hjk
5e7c972a3e debugger: more messages for failed startup 2010-03-10 17:39:42 +01:00
Friedemann Kleint
f5814de278 Fix assert in session.cpp dependent on timer. 2010-03-10 17:29:53 +01:00
Christiaan Janssen
f8a6bc7294 QmlDesigner: Adjusted color of highlight in the case it is too bright 2010-03-10 17:16:15 +01:00
dt
90c1c8f54d Cancel a previous update code model 2010-03-10 17:02:24 +01:00
dt
ab8fc52d0b Use exact and aysnc .pro file evaluate
This is a big change touching almost all of our .pro file parsing.
With this patch we only evaluate once exact for all needs and once
greedy for the filelist. That is the qt runconfigurations don't have own
evaluaters but reuse the project wide exact evaluation.

We reevaluate if the user changes the build directory, the qmake
buildconfiguration or the qmake arguments. That is if you open src.pro
(or projects.pro) of qt with a shadow build you still don't get all the
files, but after correcting the build directory, we reevaluate the .pro
files and find all files. So for a suitable definition of fixed, that
bug is now fixed.

We now get the exact defines of all .pro files instead of all defines for all
buildconfigurations. We still don't distinguish in which
.pro file a DEFINE is set. So the code model now knows about all the
defines set for the given configuration but not for which files it is
actually set. Also that includes all DEFINES set in .qmake.cache or the
mkspecs. This means all defines from .pro files should now work.

The intial loading is still synchronous. I haven't looked into it to
deeply, but it seems possible to make it also async.There are probably a
few issues which need to be solved fist.

Also due to the asynchronous nature of the code, the executable is
updated a few seconds after actually changing the build configuration
2010-03-10 17:02:24 +01:00
Friedemann Kleint
309163cef8 Compile Windows. 2010-03-10 16:51:06 +01:00
Kai Koehne
ee34cd2205 QmlProject: Remove unconditional qdebug 2010-03-10 16:39:15 +01:00
Kai Koehne
1a37b0e762 Rename QML Viewer to QML Runtime 2010-03-10 16:39:15 +01:00
hjk
c0a8fbe9ff debugger: rename a few functions 2010-03-10 16:17:40 +01:00
hjk
411ccc8f57 debugger: setup connections to gdb process before starting it 2010-03-10 15:51:31 +01:00
kh1
98a0663e0d Don't open a help page while swtiching to 'Contents'. New default home.
Reviewed-by: ck
2010-03-10 15:03:55 +01:00
Christian Kamm
4722c6cf84 Fix the scope chain not being set up correctly for the outermost scope.
This bug manifested itself as not getting a tooltip and correct context
help for the type of the root object in a Qml file.
2010-03-10 14:52:34 +01:00
Tobias Hunger
e861161af4 Show TargetSelectionPage when opening .pro files
Do this as part of the ProjectLoadWizard
2010-03-10 14:38:37 +01:00
con
ce14eab65d Use file icon provider, mainly for consistency reasons.
And a vague probability that it could (in the future)
save fetching the standard icon multiple times from the system.
2010-03-10 14:32:34 +01:00
con
99929ac9b9 Avoid a flickering popup at startup and save some time on startup.
QCompleter::popup() actually shows the popup, which is both annoying and slow.
Delay the annoyance from startup to a later point till this is fixed in
Qt.
2010-03-10 14:32:34 +01:00
con
171cb415dc Build 2010-03-10 14:32:30 +01:00
ck
ac2d9bc8a4 Maemo: Fix compilation. 2010-03-10 14:30:12 +01:00
hjk
e6be08b388 debugger: use ITextEditor in DebuggerManager
The dependency was there for a while. No need to jump through hoops hoping
to maintain a stand-alone debugger anymore.
2010-03-10 13:58:20 +01:00
hjk
8f438da57b compile fix with namepspaces 2010-03-10 13:55:47 +01:00
hjk
6321e4ebfe debugger: closer dependency plugin<->manager, less signal/slot connections 2010-03-10 13:46:46 +01:00
hjk
944b6dad7d texteditor: return information on whether openEditor actually created an
editor or re-used an existing one
2010-03-10 13:46:45 +01:00