Commit Graph

15358 Commits

Author SHA1 Message Date
hjk
73e4cce7aa debugger: not calling resetLocation early makes it "snappier" 2010-11-23 16:43:49 +01:00
hjk
0f4765b8af debugger: revert the decision to not update the location marker early. 2010-11-23 16:43:49 +01:00
hjk
9c1c720db3 debugger: make -thread-select and -stack-select-frame discardable 2010-11-23 16:43:48 +01:00
hjk
f2e8a65ca9 debugger: some comments 2010-11-23 16:43:48 +01:00
Kai Koehne
d2ed221b1b QmlObserver: Add 'show app on top' switch to creator + qmlobserver
This is convenient especially in the observer mode.

Reviewed-by: Christiaan Janssen
2010-11-23 16:24:23 +01:00
Kai Koehne
e0811beef3 QmlJsDebugger: Code cleanup 2010-11-23 16:24:23 +01:00
Kai Koehne
72af7899f2 QmlJsInspector: Code cleanup 2010-11-23 16:24:23 +01:00
Kai Koehne
a720abb733 QmlJSInspector: Code cleanup 2010-11-23 16:24:23 +01:00
Kai Koehne
302a07b05b QmlJSDebugger: Fix indentation in .pri file 2010-11-23 16:24:22 +01:00
Kai Koehne
ff7abee83b QmlJsDebugger: Remove QWEAKPOINTER_ENABLE_ARROW define
Any DEFINE used in qmljsdebugger-lib.pri is also passed to the users
code.
2010-11-23 16:24:22 +01:00
Kai Koehne
28adb0a178 QmlJSDebugger: Remove editor.pri
Incorporate into qmljsdebugger-lib.pri

Task-number: QTCREATORBUG-2951
2010-11-23 16:24:22 +01:00
Christiaan Janssen
a35170a854 QmlDebugger: Assigning Qml breakpoints to the Qml Engine
Reviewed-by: hjk
2010-11-23 16:12:58 +01:00
Tobias Hunger
d1976d1959 Git: Only enable submit button when a description is available
Only enable submit button in the git submit editor when a non-empty
desciption of the patch is available. Git rejects empty commit messages
and old versions fail without even giving an error Qt Creator can detect,
so this should make commiting a bit more save.

Task-number: QTCREATORBUG-2410
2010-11-23 16:01:48 +01:00
Tobias Hunger
2f07660e5b Git: Do not accept invalid commits
Do not offer to commit in the dialog opened when closing the
commit editor when the commit is not containing all the required
information.
2010-11-23 16:01:47 +01:00
Oswald Buddenhagen
f3b5c98bf5 Merge remote branch 'origin/2.1' 2010-11-23 15:44:58 +01:00
dt
5689e904fe New Project Wizard: Recheck existence of directory after browsing
The user might create directories or delete them while in the browsing
interface, thus in the PathChooser trigger a validation after browsing.

Task-Nr: QTCREATORBUG-3105
Reviewed-By: Friedemann Kleint
2010-11-23 15:25:17 +01:00
hjk
ba811dfb71 debugger: make watchers visible after project load again 2010-11-23 13:45:18 +01:00
hjk
790648b915 debugger: make freshly inserted watchers immediately visble
Even if no engine is running.
2010-11-23 13:45:18 +01:00
Friedemann Kleint
191b7e0b00 Debugger[new CDB]: Work on locals.
Add optional code model scope checking. Remove need to call
to 'expandlocals' command by giving 'locals' options for expanded
and uninitialized variables, saving one roundtrip.
Handle shadowed variables and __formal parameters. Differentiate
between name and iname in SymbolGroup.
2010-11-23 13:36:39 +01:00
Tobias Hunger
40548df8f8 Symbian: Improve warnings on project setup
* Warn on spaces in the project path
 * Warn on special characters in the project name only

This should stop warnings from appearing when trying to run the Qt demos
on symbian.
2010-11-23 13:06:55 +01:00
Tobias Hunger
3e9eb325a8 Fix default names of configutation objects
Fix default names of project configuration objects on upgrades
from pre 2.0 creators.

Task-number: QTCREATORBUG-3143
2010-11-23 12:41:41 +01:00
hjk
66bffd3dcd debugger: move the "SOMETHING NEEDED" message from console to log 2010-11-23 12:37:44 +01:00
hjk
0d3ca6da16 debugger: make attach to running process stop the process (again) 2010-11-23 12:31:47 +01:00
Thomas Hartmann
84515448e8 QmlDesigner.rewriter: crash fix for Flipable
Removing a property from a Flipabke back or front property
resulted in a crash, because the offset of UiObjectBinding
was not handled correctly.
The left hand side of the binding is not part of the node anymore.

Reviewed-by: Kai Koehne
2010-11-23 12:16:17 +01:00
Rhys Weatherley
7812c958fa Add .vert to the set of recognized GLSL extensions 2010-11-23 17:14:19 +10:00
Rhys Weatherley
7ccc6fc7f7 Highlight reserved GLSL keywords 2010-11-23 17:05:55 +10:00
Daniel Molkentin
7e48a3a314 Add some more examples if available (SDK case)
Reviewed-by: Alessandro Portale
2010-11-22 20:49:05 +01:00
Tobias Hunger
e151381a8a Git: Allow . in checkout pathes
Task-number: QTCREATORBUG-3141
2010-11-22 18:07:35 +01:00
hjk
df4aa2d78d debugger: fix display of locals after fedd048f 2010-11-22 17:12:50 +01:00
hjk
acdae43ab7 debugger: split an assert
Always nice to know which part failed.
2010-11-22 17:12:50 +01:00
Friedemann Kleint
c35672eaa8 Debugger: Remove 'friend gdbengine' from stackhandler.
Preparing the introduction of tooltips for the new
CDB engine. Fix some breakpoint states in CDB.
2010-11-22 17:06:08 +01:00
Thorbjørn Lindeijer
68266eae2e Fixed visible wrap column on systems with non-fractional fonts sizes
QFontMetricsF::averageCharWidth seems to always return a fractional size
(at least on Linux/GNOME with DejaVu Mono), even when the font is not
actually drawn at sub-pixels. This caused the visible wrap column to
appear in the wrong place.

As a workaround, use the width of the character 'x', which is pretty
average and does align to pixels when needed.

Task-number: QTCREATORBUG-2746
Reviewed-by: con
2010-11-22 16:41:04 +01:00
Arvid Ephraim Picciani
10b0c3f445 lldb: fix shadow build 2010-11-22 16:23:32 +01:00
Tobias Hunger
32dd271aa9 Symbian: Unset SBS_HOME when not needed
Unset SBS_HOME when none is needed. This prevents SBS from getting
confused about where its dependencies are located.

Task-number: QTCREATORBUG-3145
Reviewed-by: Alessandro Portale
2010-11-22 15:53:02 +01:00
Kai Koehne
a0dc497935 QmlProject: Fix creator becoming unresponsive if filesystem changes
Buffer update calls to the project tree. Otherwise large updates (e.g.
renaming a directory) will block QtCreator for up to several minutes.

Reviewed-by: ckamm
2010-11-22 15:28:38 +01:00
Friedemann Kleint
818f5f0e78 VCS: Allow to run commands synchronously
Run some commands synchronously. This avoids issues with the UI
reacting to file changes done by the VCS on windows which can lead
to crashes.

Task-number: QTCREATORBUG-3021
Reviewed-by: Tobias Hunger
2010-11-22 15:16:50 +01:00
Tobias Hunger
a13014eb4e Fix whitespace issue 2010-11-22 15:16:49 +01:00
Arvid Ephraim Picciani
ce27e9b533 Import lldb guest engine code 2010-11-22 15:13:24 +01:00
Friedemann Kleint
e94990f15e Code model: Fix endless loop in AbstractEditorSupport::functionAt
used by CDB debugger tooltip (introduced by
 A 354b9712e4).

Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
Rubber-stamped-by: dt
2010-11-22 15:10:20 +01:00
dt
e4443ef600 Qt4ProjectManager: Show ICON in other files 2010-11-22 15:10:20 +01:00
dt
fa7d22e348 Qt4ProjectManager: Do not enumerate files from cumulatively found folders
Ignore folders from cumulative parse, we are recursively enumerating all the
files from those folders and add watchers for them, that's too dangerous
if we get the foldrs wrong and enumerate the whole project tree multiple
times.

Task-Nr: QTCREATORBUG-3104

Reviewed-By: con
Reviewed-By: Alessandro Portale
2010-11-22 15:09:11 +01:00
hjk
82cad87c6b debugger: make -stack-select-frame and -thread-list-ids discardable 2010-11-22 14:14:38 +01:00
hjk
585bb50d89 debugger: move qml engine private classes to internal namespace 2010-11-22 14:13:23 +01:00
Friedemann Kleint
7fbff9c3af Debugger[New CDB]: Fix disassembly.
Introduce GDBMI-based 'stack' extension command instead of the
builtin 'k' as this does not print the correct instruction pointer.
2010-11-22 13:50:40 +01:00
Pawel Polanski
3e002e6d79 If no Symbian device is connected to USB port an appropriate message is shown.
Task-Number: QTCREATORBUG-3157

Reviewed-by: Tobias Hunger
2010-11-22 13:14:45 +01:00
Kai Koehne
d47a2c56d1 Bauhaus: Remove invalid image file
Requested-by: Maurice Kalinowski
2010-11-22 13:10:27 +01:00
Arvid Ephraim Picciani
b2849c306f Adapt IpcEngine to breakpoint handling changes 2010-11-22 13:10:26 +01:00
Friedemann Kleint
9be36be951 Debugger: Fix switching between assembler and source.
Do not drop stack index in resetLocation (which is called
when switching). Do not switch to source unless we have
the file.

Reviewed-by: hjk
2010-11-22 12:22:53 +01:00
Tobias Hunger
fedd048fd0 Add some comments about code folding
I needed to find out how this works the hard way, so add
at least some hints on how to work with code folding:-)
2010-11-22 12:03:09 +01:00
Tobias Hunger
8808f0fa2d VCS: Handle code folding in diff view
Allow to do codefolding on files and hunks in the diff editor
2010-11-22 12:03:08 +01:00