Commit Graph

17225 Commits

Author SHA1 Message Date
Leandro Melo
c5b57ea5f9 More options dialog UI changes
Continuing 561f87fcb9
2011-02-25 17:00:06 +01:00
Leandro Melo
561f87fcb9 Make our options dialog a bit more uniform
In terms of buttons, layouts, aesthetics in general.
2011-02-25 16:29:35 +01:00
Christian Kamm
aeb8c352ee QmlJS: Try to implicitly import libraries in the same directory.
In QML, the current directory that holds a QML file is imported
implicitly. If it contains a qmldir file, the library is imported.

Since there is no explicit import statement, Creator can't know the URI
of this library. However, if type information is available for it
already - either through a previous dump or a qmltypes file - we can
guess the URI by looking at the contained exports.

Task-number: QTCREATORBUG-3768
2011-02-25 16:23:12 +01:00
hjk
42077be2a0 coding style in example 2011-02-25 16:26:22 +01:00
hjk
0a512797b9 debugger: reset OperateByInstruction on runControlFinished 2011-02-25 16:26:22 +01:00
Thorbjørn Lindeijer
9229a9a60b Stop line number label from resizing too often
For example when changing options in the git blame editor, the label
would resize since it took into account the block count, which is
temporarily 0 while the blame is calculated.

Done-with: Tobias Hunger
2011-02-25 16:11:20 +01:00
Thorbjørn Lindeijer
70b70770a4 Fixed layout issues in some editor toolbars
Cleaned up some hacky code in the process.

Done-with: Tobias Hunger
2011-02-25 16:11:20 +01:00
Steffen Imhof
b316970101 Add uppercase and lowercase selection actions to the text editor.
Merge-request: 256
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2011-02-25 16:11:20 +01:00
Friedemann Kleint
ed8dd0b031 Debugger: Actually pass the debugger command from ToolChain.
Do not retrieve debugger command from ABI as that causes mismatches
when several toolchains of the same ABI are present.
Use indexes in the debugger dialogs.
Polish tooltip.
2011-02-25 16:03:22 +01:00
Friedemann Kleint
88f333267f Fix Krazy code scanning tool warnings (QString, loops, spelling). 2011-02-25 15:28:01 +01:00
Thorbjørn Lindeijer
49311aa362 Detect GCC by looking for g++ rather than gcc
Improves compatibility with TeamBuilder.

Reviewed-by: Tobias Hunger
2011-02-25 15:27:38 +01:00
hjk
b43c6df268 bineditor: remove unused m_fixedSize member 2011-02-25 15:13:21 +01:00
Pawel Polanski
f23c4632c4 Fixes for the Static Checks 2011-02-25 15:07:16 +01:00
hjk
f125b57163 debugger: work on writable memory view 2011-02-25 14:30:38 +01:00
Friedemann Kleint
14d590590f Debugger: Use Startparameters.debuggerCommand for command.
Use in both engines preferred over ABI if it is compatible.
Report start parameters. Introduce gdb configuration check.
2011-02-25 13:43:06 +01:00
Friedemann Kleint
a49972e783 Toolchains: Store gc--derived toolchains correctly.
Reviewed-by: dt
2011-02-25 11:17:54 +01:00
Thorbjørn Lindeijer
6355ed4734 QmlJSDebugger: Animation speed can always be changed
The play button, that also allows changing animation speed, should never
be disabled since it works both in and outside of "observer" mode.

Reviewed-by: Kai Koehne
2011-02-25 11:06:04 +01:00
Thorbjørn Lindeijer
ec92b3b2c0 QmlJSDebugger: Code cosmetics 2011-02-25 11:06:03 +01:00
Thorbjørn Lindeijer
603e7ade3f QmlJSDebugger: Switched message identifiers from string to enum
Avoids spelling problems, makes it easier to know all possible messages
and enables autocompletion.

The enum is part of a QObject derived class so that the meta object can
be used to print out the enumerators as readable strings.

Reviewed-by: Kai Koehne
2011-02-25 11:05:48 +01:00
Friedemann Kleint
047ee5522c Debugger: Improve configuration error reporting.
- Make showWarningWithOptions actually show the details.
- Show errors from multiple engines as separate messages.
- Remove 'enabled' option from CDB (handled by toolchain config now).
- Show ABI as tooltip in debbugger toolchain chooser.
2011-02-25 09:34:31 +01:00
Kai Koehne
5d615f7fbf QmlDebug: Enable 'What are the prerequisites?' link in run configuration
DebuggerLanguageChooser is in utils, which is why we cannot directly open
the URL in the help plugin.
2011-02-25 09:24:39 +01:00
Marco Bubke
3930450efb QmlDesigner.NodeInstances: Id getter and setter are now virtual 2011-02-24 21:17:28 +01:00
Marco Bubke
04f3a37995 QmlDesigner.NodeInstances: Return engine context for no import context
If the import component is invalid there is no context. Because the instances
rely on a context we use the engine context.
2011-02-24 21:17:28 +01:00
Marco Bubke
34eb8aa966 QmlDesigner.NodeInstances: Fix warnings 2011-02-24 21:17:27 +01:00
Marco Bubke
f7f7c20cc5 QmlDesigner.NodeInstances: More methode for dummy object 2011-02-24 21:17:27 +01:00
Thiago Macieira
516397b3e2 Re-apply compilation fix from 9232b3d5e8.
Commit 06ee3aee7f reverted it by accident.
2011-02-24 19:34:48 +01:00
Pasi Hirvonen
d28dc2d989 coreplugin: Make RightPaneWidget more widely usable.
RightPaneWidget now has setWidget() and is no longer intimately tied
to the help plugin. Help plugin now uses setWidget().

Reviewed-By: dt
2011-02-24 19:10:58 +01:00
Tobias Hunger
e48cce0739 Symbian: Check the correct data
Make sure to check the data we are actually using later.
2011-02-24 17:54:09 +01:00
Tobias Hunger
b37cafc626 Symbian: Remove some dead code 2011-02-24 17:54:09 +01:00
Tobias Hunger
4792715f20 Symbian: Allow for EPOCROOT and project to be on different drives
Allow for EPOCROOT and the project to be on different drives when
using SBSv2.

Task-number: QTCREATORBUG-3781
2011-02-24 17:54:09 +01:00
Tobias Hunger
1cc74effde Symbian: Remove unnecessary warning on project setup
Remove warning on projects with names containing dashes. This is no longer an
issue.

The issue of warning when the project path containes special characters was already
fixed before.

Task-number: QTCREATORBUG-3631
2011-02-24 17:54:09 +01:00
Friedemann Kleint
75f4b9cf25 Debugger: Add toolchain combos to start dialogs, refactor detection.
Add combo box listing toolchains with debuggers to start external,
attach and core.
Another attempt at streamlining engine detection:
Split in detection functions that first collect a list of
available engines by preference, then remove disabled and
wrongly configured engines and use the remaining best.
matching. checkconfiguration is now the central place where
engine detection and config check takes place.

Rubber-stamped-by: hjk
2011-02-24 16:50:15 +01:00
Friedemann Kleint
93b3c8bbd2 Symbian: Fix Toolchain to remember its debugger. 2011-02-24 15:35:47 +01:00
Thorbjørn Lindeijer
c82613ef93 QString is empty by default 2011-02-24 15:07:11 +01:00
Thorbjørn Lindeijer
6d6510139b QmlJSDebugger: Corrected some labels
Reviewed-by: Kai Koehne
2011-02-24 14:39:59 +01:00
hjk
65ff34f315 debugger: add C:/ndk_buildrepos/qt-desktop/src as possible source location
The whole approach is broken.

Task-number: QTCREATORBUG-3804
2011-02-24 14:30:51 +01:00
hjk
0e9a2c1390 debugger: hard-code "Display" and "Normal" as translatable
Task-number: QTCREATORBUG-3747
2011-02-24 14:27:48 +01:00
hjk
0c9914b17e fakevim: fix leaking commanditems 2011-02-24 14:27:48 +01:00
Kai Koehne
8a82f11202 QmlProject: Remove unneeded class declarations 2011-02-24 13:45:39 +01:00
Kai Koehne
4b49d4f74c QtVersion: Rename 'debuggingHelper' to 'gdbDebuggingHelper'
Avoid confusion with other debugging helpers.
2011-02-24 13:45:39 +01:00
Kai Koehne
8b5f742fdf Qt Options Page: Remove gdb debugging helper status from tooltip
Listening all debugging helpers there is overkill, and one can see
their status conveniently anyway if the Qt version is selected.
2011-02-24 13:45:39 +01:00
Thorbjørn Lindeijer
eda6e85530 QmlJSDebugger: Fixed availability of resources of static library
On some systems, apparently including Linux and Windows, it is necessary
to manually initialize resources when they are included in a static
library, with Q_INIT_RESOURCE.
2011-02-24 13:40:56 +01:00
hjk
f7ab622224 debugger: don't leak the break handler 2011-02-24 13:25:30 +01:00
hjk
5098787a07 bineditor: make all "lazy" 2011-02-24 13:19:45 +01:00
dt
a552bc8b25 Do not create a widget if no valid qt version was found 2011-02-24 12:33:01 +01:00
dt
e247aec8b9 QtOptionsPage: Fix memory leaks 2011-02-24 12:13:27 +01:00
dt
66aa9db794 QtOptionsPage: Simpler code, remove shared pointer 2011-02-24 12:11:36 +01:00
dt
3c3ebd223a Fix memory leak in s60 devices preferences page 2011-02-24 12:07:14 +01:00
dt
d03d13d7e8 QtVersion dialog: Show invalid reason for invalid qts
Reported on mailing list
2011-02-24 10:56:51 +01:00
Tobias Hunger
372530e35c Add copyright headers to c++ files in doc/ 2011-02-24 10:27:00 +01:00