OSDN Git Service
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
Oswald Buddenhagen [Thu, 22 Oct 2009 15:36:18 +0000 (17:36 +0200)]
generate install targets also for the not-yet-built QM files
Daniel Molkentin [Thu, 22 Oct 2009 15:59:17 +0000 (17:59 +0200)]
Workaround for Linux Distro Qt where examples live in write-protected dirs.
Offer to copy the project into an alternative root.
Daniel Molkentin [Thu, 22 Oct 2009 15:57:16 +0000 (17:57 +0200)]
Add validChanged(bool) to PathChooser.
This is useful when e.g. connecting directly to the setEnabled() slot of
a Widget.
Roberto Raggi [Thu, 22 Oct 2009 14:46:26 +0000 (16:46 +0200)]
Released the memory allocated in the memory pool when backtracking from Parser::parseTemplateId().
Friedemann Kleint [Thu, 22 Oct 2009 14:42:25 +0000 (16:42 +0200)]
S60: Introduce a communications device type.
- Introduce a communications device type flag, add stubs for
Bluetooth to serialdevicelister and pass the device type
in new struct CommunicationDevice along to run configuration
and debugger start parameters (overriding the debugger settings).
- Give the s60devices::Device a tooltip in the settings page
Daniel Molkentin [Thu, 22 Oct 2009 12:23:46 +0000 (14:23 +0200)]
Consistant naming with implementation.
Daniel Molkentin [Thu, 22 Oct 2009 12:23:30 +0000 (14:23 +0200)]
Fix detection of Qt Versions added by installer.
Now that we check for the qmake.exe location rather than for
the path itself, we need to use QFile for the check.
Daniel Molkentin [Wed, 21 Oct 2009 15:06:15 +0000 (17:06 +0200)]
Add "Inherits QObject" checkbox to Class Wizard.
For now it is dumb, but it can be improved over time.
Roberto Raggi [Wed, 21 Oct 2009 15:03:18 +0000 (17:03 +0200)]
Initialize _isInterface of ObjCClass
Roberto Raggi [Wed, 21 Oct 2009 15:01:40 +0000 (17:01 +0200)]
Initialize the members of List<T>
Roberto Raggi [Wed, 21 Oct 2009 15:00:20 +0000 (17:00 +0200)]
Removed unused member _pool in LiteralTable.
Roberto Raggi [Wed, 21 Oct 2009 14:59:17 +0000 (16:59 +0200)]
Initialize ExpressionUnderCursor's _jumpedComma.
Roberto Raggi [Wed, 21 Oct 2009 14:57:17 +0000 (16:57 +0200)]
Added ctors for the pp-scanners.
Roberto Raggi [Wed, 21 Oct 2009 14:54:59 +0000 (16:54 +0200)]
Initialize the pp's engine _dot member.
Roberto Raggi [Wed, 21 Oct 2009 14:51:54 +0000 (16:51 +0200)]
Initialize all the members of CppCodeCompletion
Roberto Raggi [Wed, 21 Oct 2009 14:47:28 +0000 (16:47 +0200)]
Initialize members of ModelItemInfo.
Roberto Raggi [Wed, 21 Oct 2009 14:45:43 +0000 (16:45 +0200)]
Removed unused member _node in QuickFixOperation
Roberto Raggi [Wed, 21 Oct 2009 14:44:07 +0000 (16:44 +0200)]
Initialize m_line and m_column
Roberto Raggi [Wed, 21 Oct 2009 14:42:23 +0000 (16:42 +0200)]
Removed obsoleted code.
Friedemann Kleint [Wed, 21 Oct 2009 15:03:52 +0000 (17:03 +0200)]
S60: Swap spacers in device run config widget.
Oswald Buddenhagen [Wed, 21 Oct 2009 14:50:36 +0000 (16:50 +0200)]
add a FIXME
Oswald Buddenhagen [Wed, 21 Oct 2009 14:50:00 +0000 (16:50 +0200)]
if 0 unused code
Oswald Buddenhagen [Wed, 21 Oct 2009 14:49:39 +0000 (16:49 +0200)]
don't attempt to sync breakpoints at inopportune times
e.g., when the engine is not ready
Friedemann Kleint [Wed, 21 Oct 2009 14:48:46 +0000 (16:48 +0200)]
S60: Use a DetailsWidget for the run configuration widgets, add info
- Move the s60devicerunconfigurationwidget into a separate file,
add an info button that connects to the device and displays
CPU/Trk version for testing the connection.
- give TrkLauncher a parent object and an acessor for the device
description in formatted form.
- Break deadlock when trying to terminate the Windows Trk writer
thread with bytes pending by using a wait with timeout and
termination flag.