OSDN Git Service
Oswald Buddenhagen [Tue, 27 Oct 2009 11:05:03 +0000 (12:05 +0100)]
protect against recursing into handleResponse
those pesky nested event loops ...
i pondered various other scenarios (in particular, the adapter or
gdb crashing while the nested loop is running), but did not discover
serious side effects of it, so i'm not trying to handle it specially.
Oswald Buddenhagen [Tue, 27 Oct 2009 13:52:29 +0000 (14:52 +0100)]
fewer and better debug messages
Oswald Buddenhagen [Tue, 27 Oct 2009 18:41:19 +0000 (19:41 +0100)]
try harder to kill unwanted child. mwahaha
Oswald Buddenhagen [Tue, 27 Oct 2009 18:34:40 +0000 (19:34 +0100)]
improve termination confirmation dialog
- default to yes
- better message
- give it a parent
Oswald Buddenhagen [Tue, 27 Oct 2009 18:52:17 +0000 (19:52 +0100)]
reflect current session in the welcome page's list
dt [Tue, 27 Oct 2009 17:10:52 +0000 (18:10 +0100)]
Add a window title to the Import existing build settings dialog
Roberto Raggi [Tue, 27 Oct 2009 17:04:19 +0000 (18:04 +0100)]
No declSymbol, no party
Friedemann Kleint [Tue, 27 Oct 2009 17:05:04 +0000 (18:05 +0100)]
Qt4ProjectManager: Give a verbose tooltip on the Qt versions.
Reviewed-by: dt <qtc-committer@nokia.com>
con [Tue, 27 Oct 2009 16:59:53 +0000 (17:59 +0100)]
Make it possible to use non-autodetected Qt for Symbian.
Users can specify a S60 SDK root for Qt for Symbian versions
now.
hjk [Tue, 27 Oct 2009 16:37:13 +0000 (17:37 +0100)]
debugger: add missing .pro file
hjk [Tue, 27 Oct 2009 16:19:47 +0000 (17:19 +0100)]
debugger: disable warning that triggers too often
hjk [Tue, 27 Oct 2009 16:16:46 +0000 (17:16 +0100)]
debugger: call beginCycle also for new dumpers
dt [Tue, 27 Oct 2009 16:27:37 +0000 (17:27 +0100)]
Fix "Add New" using the wrong directory for cmake projects
hjk [Tue, 27 Oct 2009 15:36:23 +0000 (16:36 +0100)]
debugger: prevent endless recursion due to broken dumpers
hjk [Tue, 27 Oct 2009 15:35:49 +0000 (16:35 +0100)]
debugger: work on dumper autotests
hjk [Tue, 27 Oct 2009 15:34:32 +0000 (16:34 +0100)]
debugger: allow NULL pointers in QVector<Foo*> and QStack<Foo*> dumpers
hjk [Mon, 26 Oct 2009 12:37:27 +0000 (13:37 +0100)]
compile fix with namespaces
dt [Tue, 27 Oct 2009 15:14:18 +0000 (16:14 +0100)]
Fix setBuildTargets() in the generic project manager
dt [Tue, 27 Oct 2009 15:13:09 +0000 (16:13 +0100)]
Fix that the cmake plugin did not allow removing build targets
Roberto Raggi [Tue, 27 Oct 2009 15:12:39 +0000 (16:12 +0100)]
Cleanup
Roberto Raggi [Tue, 27 Oct 2009 15:08:23 +0000 (16:08 +0100)]
Handle ambiguous function declarations vs c++-like initialized declarations.
Robert Loehning [Tue, 27 Oct 2009 14:26:37 +0000 (15:26 +0100)]
S60: Falling back to epocRoot if toolsRoot is empty.
Reviewed-by: con
mae [Tue, 27 Oct 2009 14:22:01 +0000 (15:22 +0100)]
apply insert-whole-lines magic only if the cursor is at the beginning
of the line.
Roberto Raggi [Tue, 27 Oct 2009 13:59:27 +0000 (14:59 +0100)]
Set the `virtual' attribute of a function definition.
Roberto Raggi [Tue, 27 Oct 2009 13:59:10 +0000 (14:59 +0100)]
Introduced FullySpecifiedType::copySpecifiers()
con [Tue, 27 Oct 2009 13:43:42 +0000 (14:43 +0100)]
"MWC Directory" is not a good term.
Use "Carbide Directory" instead, because that's what it is.
Roberto Raggi [Tue, 27 Oct 2009 13:03:19 +0000 (14:03 +0100)]
Set the `virtual' attribute.
Friedemann Kleint [Tue, 27 Oct 2009 11:36:07 +0000 (12:36 +0100)]
Compile Windows
Roberto Raggi [Tue, 27 Oct 2009 11:31:49 +0000 (12:31 +0100)]
Remove duplicates from the working list.
Friedemann Kleint [Tue, 27 Oct 2009 11:25:11 +0000 (12:25 +0100)]
Debugger: Fix autotests on Windows
Format pointers consistently using 0x%[l]x in printf/scanf.
Remove %p formatting as the existence of the prefix 0x
is platform-dependent (missing with MSVC), which caused
a scanf error and thus dumper crash for QAbstractItem.
Reviewed-by: ck <qt-info@nokia.com>
Roberto Raggi [Tue, 27 Oct 2009 11:01:45 +0000 (12:01 +0100)]
Introduced CPlusPlus::FindUsages.
Roberto Raggi [Tue, 27 Oct 2009 10:31:26 +0000 (11:31 +0100)]
Print the result of the preprocessor.
Roberto Raggi [Tue, 27 Oct 2009 10:05:35 +0000 (11:05 +0100)]
Removed obsoleted test.
Friedemann Kleint [Tue, 27 Oct 2009 08:51:14 +0000 (09:51 +0100)]
Debugger: Fix exit crash, dump QVariantList with gdb
Handle QVariantList within dumpers, as gdb does not resolve
typedefs. Disconnect the gdb process on exit, one more round
of event loop when quitting.
Oswald Buddenhagen [Mon, 26 Oct 2009 20:07:42 +0000 (21:07 +0100)]
don't translate debug messages
this isn't bullet-proof - integrated error messages are already
translated. but at least we know *where* the message comes from.
also, saves the translators from some pretty useless work.
Oswald Buddenhagen [Mon, 26 Oct 2009 18:59:16 +0000 (19:59 +0100)]
improve messages
Daniel Molkentin [Mon, 26 Oct 2009 17:34:57 +0000 (18:34 +0100)]
QtS60 Run Configuration: Proper slashes for path
Reviewed-By: con
Roberto Raggi [Mon, 26 Oct 2009 17:05:37 +0000 (18:05 +0100)]
Removed unused code.
Friedemann Kleint [Mon, 26 Oct 2009 17:05:11 +0000 (18:05 +0100)]
Debugger: Handle core shutdown, prompt user to terminate debugging.
Add a corelistener and trigger on shutdown. Notify about critical
states.
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Roberto Raggi [Mon, 26 Oct 2009 17:00:49 +0000 (18:00 +0100)]
Added the copyright header
Roberto Raggi [Mon, 26 Oct 2009 16:54:32 +0000 (17:54 +0100)]
Initial work on the `new' GenTemplateInstance.
Daniel Molkentin [Mon, 26 Oct 2009 16:26:44 +0000 (17:26 +0100)]
Add qt-apps.org to the welcome page.
Daniel Molkentin [Mon, 26 Oct 2009 16:26:04 +0000 (17:26 +0100)]
Some refactoring on the Welcome Widget. Generalize tooltips.
Friedemann Kleint [Mon, 26 Oct 2009 16:26:53 +0000 (17:26 +0100)]
Autotests: Compile on Windows
Reviewed-by: Roberto Raggi <qtc-committer@nokia.com>
Friedemann Kleint [Mon, 26 Oct 2009 14:37:09 +0000 (15:37 +0100)]
S60: Provide a MessageBox for starting serial communication as well.
Generalize the concept of the Bluetooth starter, extract base class
BaseCommunicationStarter that can be used to start a serial communication
without further resources (listener) as well. Introduce convenience
functions for both types.
Note: This will only work for COM-ports that are not used otherwise
by the operating system.
Daniel Molkentin [Mon, 26 Oct 2009 14:35:37 +0000 (15:35 +0100)]
Do not require QTDIR to be set.
Reviewed-By: Oswald Buddenhagen
Thorbjørn Lindeijer [Mon, 26 Oct 2009 14:31:43 +0000 (15:31 +0100)]
Don't needlessly call updateProjectInfo()
Should not be necessary when nothing changed in the project info. This
also fixes a problem where include file scanning happened twice after
saving a pro file.
Reviewed-by: Roberto Raggi
Roberto Raggi [Mon, 26 Oct 2009 14:21:21 +0000 (15:21 +0100)]
Fixed the #include directive.
Roberto Raggi [Mon, 26 Oct 2009 14:07:00 +0000 (15:07 +0100)]
Test ExpressionUnderCursor
Roberto Raggi [Mon, 26 Oct 2009 14:00:56 +0000 (15:00 +0100)]
Test GenTemplateInstance.
Roberto Raggi [Mon, 26 Oct 2009 13:45:58 +0000 (14:45 +0100)]
We expect failures in tst_Semantic::pointer_to_function_1
Roberto Raggi [Mon, 26 Oct 2009 13:40:36 +0000 (14:40 +0100)]
Link with cplusplus library.
Roberto Raggi [Mon, 26 Oct 2009 12:45:01 +0000 (13:45 +0100)]
Activate the completion only when the canonical symbol has a valid name.
hjk [Mon, 26 Oct 2009 11:51:25 +0000 (12:51 +0100)]
fakevim: prepare fix of QTextDocument::revision() based undo/redo.
Roberto Raggi [Mon, 26 Oct 2009 11:41:13 +0000 (12:41 +0100)]
Introduced CPlusPlus::GenTemplateInstance.
Friedemann Kleint [Mon, 26 Oct 2009 11:18:14 +0000 (12:18 +0100)]
S60: Split up starters into a different file.
hjk [Mon, 26 Oct 2009 11:08:05 +0000 (12:08 +0100)]
some forgotten license header changes. also, use Nokia instead of Trolltech.
Roberto Raggi [Mon, 26 Oct 2009 11:06:02 +0000 (12:06 +0100)]
Updated the copyright header.
Friedemann Kleint [Mon, 26 Oct 2009 11:00:21 +0000 (12:00 +0100)]
Merge branch '1.3' of scm.dev.nokia.troll.no:creator/mainline into 1.3
Friedemann Kleint [Mon, 26 Oct 2009 10:55:02 +0000 (11:55 +0100)]
S60/Debugger: Add Bluetooth starter to Debugger
- Remove old rfcomm process handler from TrkGdbAdapter, use
Bluetooth starter instead
- Synchronous connection, remove waitForTrkConnect()
- Move gdb start into Trk version answer, pass on
settings id hint
- Prevent exit crash triggered by signal gdbProcessFinished()
- Set DebuggerNotReady correctly on AdapterStartFailed when no
gdb is started yet
Roberto Raggi [Mon, 26 Oct 2009 10:53:28 +0000 (11:53 +0100)]
Updated the QML front-end to revision
44f3548fde7cf6a87bd3cc8bb1cc0e63cfc5ca4c of qt/kinetic-declarativeui
Roberto Raggi [Mon, 26 Oct 2009 10:24:32 +0000 (11:24 +0100)]
Test the enclosing scope of pointer-to-function symbols.
Erik Verbruggen [Mon, 26 Oct 2009 09:19:44 +0000 (10:19 +0100)]
Fixed use of uninitialized/unallocated object.
Christian Kamm [Mon, 26 Oct 2009 09:33:32 +0000 (10:33 +0100)]
Check for null scope when hovering.
Fixes a segfault when hovering over QtCleanUpFunction in
qcoreapplication.h.
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Friedemann Kleint [Mon, 26 Oct 2009 08:12:00 +0000 (09:12 +0100)]
S60: Fix the run configuration status label
Oswald Buddenhagen [Fri, 23 Oct 2009 20:59:30 +0000 (22:59 +0200)]
move setting of m_currentFrame to a somewhat useful place
specifically, we need it iff the user gets to see the stopped inferior
Oswald Buddenhagen [Fri, 23 Oct 2009 20:52:16 +0000 (22:52 +0200)]
remove unreachable "stopped for unknown reason" fallback
seems to have been an artifact from an early version. it was
unreachable (gdb going wild notwithstanding), and would do
Strange Stuff (TM) if it ever were reached.
Oswald Buddenhagen [Fri, 23 Oct 2009 20:17:15 +0000 (22:17 +0200)]
do the auto-continue-at-_start hack earlier
Oswald Buddenhagen [Thu, 22 Oct 2009 20:54:30 +0000 (22:54 +0200)]
improve breakpoint setting
first, try harder to have an up-to-date sources list.
then, use the mapping whenever applicable and available.
Oswald Buddenhagen [Fri, 23 Oct 2009 19:54:27 +0000 (21:54 +0200)]
fix spurious inferior interruption (attempts ...)
when queuing up commands, don't interrupt if we are already waiting
for interruption. that will be the case when other commands area already
queued.
Oswald Buddenhagen [Fri, 23 Oct 2009 19:50:33 +0000 (21:50 +0200)]
fix spurious command reordering
if there are already commands queued for running after temporary break,
then *all* commands must queued up or their order will change.
Oswald Buddenhagen [Fri, 23 Oct 2009 16:45:01 +0000 (18:45 +0200)]
eliminate desperate attempts to keep short-long filename mapping complete
*in theory*, there is no way we could at any point know more than gdb
knows and tells us about full path names. let's see what practice shows
for the gdbs we support ...
Oswald Buddenhagen [Fri, 23 Oct 2009 19:32:08 +0000 (21:32 +0200)]
avoid copy of GdbResponse struct
Oswald Buddenhagen [Fri, 23 Oct 2009 15:32:11 +0000 (17:32 +0200)]
disable remainders of the plugin loading settings code
Oswald Buddenhagen [Thu, 22 Oct 2009 20:55:09 +0000 (22:55 +0200)]
jump is a RunRequest, too
Oswald Buddenhagen [Thu, 22 Oct 2009 20:55:30 +0000 (22:55 +0200)]
don't print error messages in quotes
Robert Loehning [Fri, 23 Oct 2009 16:40:46 +0000 (18:40 +0200)]
S60: Deleting allocated TrkLauncher in dtor of S60DeviceRunControlBase.
Friedemann Kleint [Fri, 23 Oct 2009 16:19:53 +0000 (18:19 +0200)]
Fix compilation on Windows
Friedemann Kleint [Fri, 23 Oct 2009 16:00:20 +0000 (18:00 +0200)]
S60: Add startup logic for Bluetooth to the project/run configuration
Prepare trk::Launcher to deal with a shared trkdevice.
Add encapsulation for the rfcomm listener process and helper
classes for prompting the user to connect the Bluetooth
device. Add a command line prompt to the trklauncher test.
hjk [Fri, 23 Oct 2009 15:06:25 +0000 (17:06 +0200)]
debugger: better handling of qfDllInfo packet
Oswald Buddenhagen [Fri, 23 Oct 2009 15:03:45 +0000 (17:03 +0200)]
no need for a real state check here - an assert will do
and fix typo in debug message :)=
Oswald Buddenhagen [Fri, 23 Oct 2009 14:59:27 +0000 (16:59 +0200)]
remove bogus assertion
the state check is in higher-level functions already
hjk [Fri, 23 Oct 2009 13:46:39 +0000 (15:46 +0200)]
debugger: first shot at supporting qfDllInfo (only present in 6.4 symbianelf)
hjk [Fri, 23 Oct 2009 12:36:36 +0000 (14:36 +0200)]
fakevim: fix QTCREATORBUG-152
It took two 'u' to undo a '~'.
hjk [Wed, 21 Oct 2009 16:21:20 +0000 (18:21 +0200)]
debugger: more autotest work
autotest for QStack dumper
custom structure
array
Robert Loehning [Fri, 23 Oct 2009 13:26:45 +0000 (15:26 +0200)]
Trk: Checking for NULL-pointers.
Roberto Raggi [Fri, 23 Oct 2009 12:53:44 +0000 (14:53 +0200)]
Resolve the conditional and new-expressions
Roberto Raggi [Fri, 23 Oct 2009 12:31:55 +0000 (14:31 +0200)]
Return the cached AST node.
Roberto Raggi [Fri, 23 Oct 2009 10:58:39 +0000 (12:58 +0200)]
Added plain-cplusplus manual test.
dt [Fri, 23 Oct 2009 10:37:53 +0000 (12:37 +0200)]
Fix wrong scoping in qtcreator.pri
Reported-By: Tasuku Suzuki
Kai Koehne [Fri, 23 Oct 2009 09:07:35 +0000 (11:07 +0200)]
Register qml.qch file automatically in help collection
Automatically register qml.qch if found in shared/help/qtcreator.
This is needed for the special 'creator-qml' package.
Kai Koehne [Fri, 23 Oct 2009 07:49:59 +0000 (09:49 +0200)]
Search qmlviewer binary also in creator/bin
Roberto Raggi [Fri, 23 Oct 2009 09:21:36 +0000 (11:21 +0200)]
Use memoization to reduce the backtracking when parsing template arguments.
Oswald Buddenhagen [Thu, 22 Oct 2009 13:46:49 +0000 (15:46 +0200)]
try harder to keep m_modulesListOutdated in sync with reality
this is an epic fail for older gdbs which don't report library events,
but at least we tried.
Oswald Buddenhagen [Thu, 22 Oct 2009 18:04:59 +0000 (20:04 +0200)]
clearer and less inefficient
Oswald Buddenhagen [Thu, 22 Oct 2009 12:17:17 +0000 (14:17 +0200)]
even apple gdb wants -f for setting a pending breakpoint
Oswald Buddenhagen [Thu, 22 Oct 2009 09:08:06 +0000 (11:08 +0200)]
run-time detection of apple gdb
in theory, we should support fsf gdb on apple now.
this also cleans and documents some execution paths.
Oswald Buddenhagen [Thu, 22 Oct 2009 09:04:55 +0000 (11:04 +0200)]
remove unneeded code
Oswald Buddenhagen [Thu, 22 Oct 2009 12:18:07 +0000 (14:18 +0200)]
reloadSourceFiles() may be called while the inferior is running
Oswald Buddenhagen [Thu, 22 Oct 2009 15:53:36 +0000 (17:53 +0200)]
fix spurious assertion failure