OSDN Git Service

qt-creator-jp/qt-creator-jp.git
14 years agoSet the `virtual' attribute.
Roberto Raggi [Tue, 27 Oct 2009 13:03:19 +0000 (14:03 +0100)]
Set the `virtual' attribute.

14 years agoCompile Windows
Friedemann Kleint [Tue, 27 Oct 2009 11:36:07 +0000 (12:36 +0100)]
Compile Windows

14 years agoRemove duplicates from the working list.
Roberto Raggi [Tue, 27 Oct 2009 11:31:49 +0000 (12:31 +0100)]
Remove duplicates from the working list.

14 years agoDebugger: Fix autotests on Windows
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>
14 years agoIntroduced CPlusPlus::FindUsages.
Roberto Raggi [Tue, 27 Oct 2009 11:01:45 +0000 (12:01 +0100)]
Introduced CPlusPlus::FindUsages.

14 years agoPrint the result of the preprocessor.
Roberto Raggi [Tue, 27 Oct 2009 10:31:26 +0000 (11:31 +0100)]
Print the result of the preprocessor.

14 years agoRemoved obsoleted test.
Roberto Raggi [Tue, 27 Oct 2009 10:05:35 +0000 (11:05 +0100)]
Removed obsoleted test.

14 years agoDebugger: Fix exit crash, dump QVariantList with gdb
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.

14 years agodon't translate debug messages
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.

14 years agoimprove messages
Oswald Buddenhagen [Mon, 26 Oct 2009 18:59:16 +0000 (19:59 +0100)]
improve messages

14 years agoQtS60 Run Configuration: Proper slashes for path
Daniel Molkentin [Mon, 26 Oct 2009 17:34:57 +0000 (18:34 +0100)]
QtS60 Run Configuration: Proper slashes for path

Reviewed-By: con
14 years agoRemoved unused code.
Roberto Raggi [Mon, 26 Oct 2009 17:05:37 +0000 (18:05 +0100)]
Removed unused code.

14 years agoDebugger: Handle core shutdown, prompt user to terminate debugging.
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>
14 years agoAdded the copyright header
Roberto Raggi [Mon, 26 Oct 2009 17:00:49 +0000 (18:00 +0100)]
Added the copyright header

14 years agoInitial work on the `new' GenTemplateInstance.
Roberto Raggi [Mon, 26 Oct 2009 16:54:32 +0000 (17:54 +0100)]
Initial work on the `new' GenTemplateInstance.

14 years agoAdd qt-apps.org to the welcome page.
Daniel Molkentin [Mon, 26 Oct 2009 16:26:44 +0000 (17:26 +0100)]
Add qt-apps.org to the welcome page.

14 years agoSome refactoring on the Welcome Widget. Generalize tooltips.
Daniel Molkentin [Mon, 26 Oct 2009 16:26:04 +0000 (17:26 +0100)]
Some refactoring on the Welcome Widget. Generalize tooltips.

14 years agoAutotests: Compile on Windows
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>
14 years agoS60: Provide a MessageBox for starting serial communication as well.
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.

14 years agoDo not require QTDIR to be set.
Daniel Molkentin [Mon, 26 Oct 2009 14:35:37 +0000 (15:35 +0100)]
Do not require QTDIR to be set.

Reviewed-By: Oswald Buddenhagen
14 years agoDon't needlessly call updateProjectInfo()
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
14 years agoFixed the #include directive.
Roberto Raggi [Mon, 26 Oct 2009 14:21:21 +0000 (15:21 +0100)]
Fixed the #include directive.

14 years agoTest ExpressionUnderCursor
Roberto Raggi [Mon, 26 Oct 2009 14:07:00 +0000 (15:07 +0100)]
Test ExpressionUnderCursor

14 years agoTest GenTemplateInstance.
Roberto Raggi [Mon, 26 Oct 2009 14:00:56 +0000 (15:00 +0100)]
Test GenTemplateInstance.

14 years agoWe expect failures in tst_Semantic::pointer_to_function_1
Roberto Raggi [Mon, 26 Oct 2009 13:45:58 +0000 (14:45 +0100)]
We expect failures in tst_Semantic::pointer_to_function_1

14 years agoLink with cplusplus library.
Roberto Raggi [Mon, 26 Oct 2009 13:40:36 +0000 (14:40 +0100)]
Link with cplusplus library.

14 years agoActivate the completion only when the canonical symbol has a valid name.
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.

14 years agofakevim: prepare fix of QTextDocument::revision() based undo/redo.
hjk [Mon, 26 Oct 2009 11:51:25 +0000 (12:51 +0100)]
fakevim: prepare fix of QTextDocument::revision() based undo/redo.

14 years agoIntroduced CPlusPlus::GenTemplateInstance.
Roberto Raggi [Mon, 26 Oct 2009 11:41:13 +0000 (12:41 +0100)]
Introduced CPlusPlus::GenTemplateInstance.

14 years agoS60: Split up starters into a different file.
Friedemann Kleint [Mon, 26 Oct 2009 11:18:14 +0000 (12:18 +0100)]
S60: Split up starters into a different file.

14 years agosome forgotten license header changes. also, use Nokia instead of Trolltech.
hjk [Mon, 26 Oct 2009 11:08:05 +0000 (12:08 +0100)]
some forgotten license header changes. also, use Nokia instead of Trolltech.

14 years agoUpdated the copyright header.
Roberto Raggi [Mon, 26 Oct 2009 11:06:02 +0000 (12:06 +0100)]
Updated the copyright header.

14 years agoMerge branch '1.3' of scm.dev.nokia.troll.no:creator/mainline into 1.3
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

14 years agoS60/Debugger: Add Bluetooth starter to Debugger
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

14 years agoUpdated the QML front-end to revision 44f3548fde7cf6a87bd3cc8bb1cc0e63cfc5ca4c of...
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

14 years agoTest the enclosing scope of pointer-to-function symbols.
Roberto Raggi [Mon, 26 Oct 2009 10:24:32 +0000 (11:24 +0100)]
Test the enclosing scope of pointer-to-function symbols.

14 years agoFixed use of uninitialized/unallocated object.
Erik Verbruggen [Mon, 26 Oct 2009 09:19:44 +0000 (10:19 +0100)]
Fixed use of uninitialized/unallocated object.

14 years agoCheck for null scope when hovering.
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>
14 years agoS60: Fix the run configuration status label
Friedemann Kleint [Mon, 26 Oct 2009 08:12:00 +0000 (09:12 +0100)]
S60: Fix the run configuration status label

14 years agomove setting of m_currentFrame to a somewhat useful place
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

14 years agoremove unreachable "stopped for unknown reason" fallback
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.

14 years agodo the auto-continue-at-_start hack earlier
Oswald Buddenhagen [Fri, 23 Oct 2009 20:17:15 +0000 (22:17 +0200)]
do the auto-continue-at-_start hack earlier

14 years agoimprove breakpoint setting
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.

14 years agofix spurious inferior interruption (attempts ...)
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.

14 years agofix spurious command reordering
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.

14 years agoeliminate desperate attempts to keep short-long filename mapping complete
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 ...

14 years agoavoid copy of GdbResponse struct
Oswald Buddenhagen [Fri, 23 Oct 2009 19:32:08 +0000 (21:32 +0200)]
avoid copy of GdbResponse struct

14 years agodisable remainders of the plugin loading settings code
Oswald Buddenhagen [Fri, 23 Oct 2009 15:32:11 +0000 (17:32 +0200)]
disable remainders of the plugin loading settings code

14 years agojump is a RunRequest, too
Oswald Buddenhagen [Thu, 22 Oct 2009 20:55:09 +0000 (22:55 +0200)]
jump is a RunRequest, too

14 years agodon't print error messages in quotes
Oswald Buddenhagen [Thu, 22 Oct 2009 20:55:30 +0000 (22:55 +0200)]
don't print error messages in quotes

14 years agoS60: Deleting allocated TrkLauncher in dtor of S60DeviceRunControlBase.
Robert Loehning [Fri, 23 Oct 2009 16:40:46 +0000 (18:40 +0200)]
S60: Deleting allocated TrkLauncher in dtor of S60DeviceRunControlBase.

14 years agoFix compilation on Windows
Friedemann Kleint [Fri, 23 Oct 2009 16:19:53 +0000 (18:19 +0200)]
Fix compilation on Windows

14 years agoS60: Add startup logic for Bluetooth to the project/run configuration
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.

14 years agodebugger: better handling of qfDllInfo packet
hjk [Fri, 23 Oct 2009 15:06:25 +0000 (17:06 +0200)]
debugger: better handling of qfDllInfo packet

14 years agono need for a real state check here - an assert will do
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 :)=

14 years agoremove bogus assertion
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

14 years agodebugger: first shot at supporting qfDllInfo (only present in 6.4 symbianelf)
hjk [Fri, 23 Oct 2009 13:46:39 +0000 (15:46 +0200)]
debugger: first shot at supporting qfDllInfo (only present in 6.4 symbianelf)

14 years agofakevim: fix QTCREATORBUG-152
hjk [Fri, 23 Oct 2009 12:36:36 +0000 (14:36 +0200)]
fakevim: fix QTCREATORBUG-152

It took two 'u' to undo a '~'.

14 years agodebugger: more autotest work
hjk [Wed, 21 Oct 2009 16:21:20 +0000 (18:21 +0200)]
debugger: more autotest work

autotest for QStack dumper
custom structure
array

14 years agoTrk: Checking for NULL-pointers.
Robert Loehning [Fri, 23 Oct 2009 13:26:45 +0000 (15:26 +0200)]
Trk: Checking for NULL-pointers.

14 years agoResolve the conditional and new-expressions
Roberto Raggi [Fri, 23 Oct 2009 12:53:44 +0000 (14:53 +0200)]
Resolve the conditional and new-expressions

14 years agoReturn the cached AST node.
Roberto Raggi [Fri, 23 Oct 2009 12:31:55 +0000 (14:31 +0200)]
Return the cached AST node.

14 years agoAdded plain-cplusplus manual test.
Roberto Raggi [Fri, 23 Oct 2009 10:58:39 +0000 (12:58 +0200)]
Added plain-cplusplus manual test.

14 years agoFix wrong scoping in qtcreator.pri
dt [Fri, 23 Oct 2009 10:37:53 +0000 (12:37 +0200)]
Fix wrong scoping in qtcreator.pri

Reported-By: Tasuku Suzuki
14 years agoRegister qml.qch file automatically in help collection
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.

14 years agoSearch qmlviewer binary also in creator/bin
Kai Koehne [Fri, 23 Oct 2009 07:49:59 +0000 (09:49 +0200)]
Search qmlviewer binary also in creator/bin

14 years agoUse memoization to reduce the backtracking when parsing template arguments.
Roberto Raggi [Fri, 23 Oct 2009 09:21:36 +0000 (11:21 +0200)]
Use memoization to reduce the backtracking when parsing template arguments.

14 years agotry harder to keep m_modulesListOutdated in sync with reality
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.

14 years agoclearer and less inefficient
Oswald Buddenhagen [Thu, 22 Oct 2009 18:04:59 +0000 (20:04 +0200)]
clearer and less inefficient

14 years agoeven apple gdb wants -f for setting a pending breakpoint
Oswald Buddenhagen [Thu, 22 Oct 2009 12:17:17 +0000 (14:17 +0200)]
even apple gdb wants -f for setting a pending breakpoint

14 years agorun-time detection of apple gdb
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.

14 years agoremove unneeded code
Oswald Buddenhagen [Thu, 22 Oct 2009 09:04:55 +0000 (11:04 +0200)]
remove unneeded code

14 years agoreloadSourceFiles() may be called while the inferior is running
Oswald Buddenhagen [Thu, 22 Oct 2009 12:18:07 +0000 (14:18 +0200)]
reloadSourceFiles() may be called while the inferior is running

14 years agofix spurious assertion failure
Oswald Buddenhagen [Thu, 22 Oct 2009 15:53:36 +0000 (17:53 +0200)]
fix spurious assertion failure

14 years agogenerate install targets also for the not-yet-built QM files
Oswald Buddenhagen [Thu, 22 Oct 2009 15:36:18 +0000 (17:36 +0200)]
generate install targets also for the not-yet-built QM files

14 years agoWorkaround for Linux Distro Qt where examples live in write-protected dirs.
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.

14 years agoAdd validChanged(bool) to PathChooser.
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.

14 years agoReleased the memory allocated in the memory pool when backtracking from Parser::parse...
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().

14 years agoS60: Introduce a communications device type.
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

14 years agoConsistant naming with implementation.
Daniel Molkentin [Thu, 22 Oct 2009 12:23:46 +0000 (14:23 +0200)]
Consistant naming with implementation.

14 years agoFix detection of Qt Versions added by installer.
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.

14 years agoAdd "Inherits QObject" checkbox to Class Wizard.
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.

14 years agoInitialize _isInterface of ObjCClass
Roberto Raggi [Wed, 21 Oct 2009 15:03:18 +0000 (17:03 +0200)]
Initialize _isInterface of ObjCClass

14 years agoInitialize the members of List<T>
Roberto Raggi [Wed, 21 Oct 2009 15:01:40 +0000 (17:01 +0200)]
Initialize the members of List<T>

14 years agoRemoved unused member _pool in LiteralTable.
Roberto Raggi [Wed, 21 Oct 2009 15:00:20 +0000 (17:00 +0200)]
Removed unused member _pool in LiteralTable.

14 years agoInitialize ExpressionUnderCursor's _jumpedComma.
Roberto Raggi [Wed, 21 Oct 2009 14:59:17 +0000 (16:59 +0200)]
Initialize ExpressionUnderCursor's _jumpedComma.

14 years agoAdded ctors for the pp-scanners.
Roberto Raggi [Wed, 21 Oct 2009 14:57:17 +0000 (16:57 +0200)]
Added ctors for the pp-scanners.

14 years agoInitialize the pp's engine _dot member.
Roberto Raggi [Wed, 21 Oct 2009 14:54:59 +0000 (16:54 +0200)]
Initialize the pp's engine _dot member.

14 years agoInitialize all the members of CppCodeCompletion
Roberto Raggi [Wed, 21 Oct 2009 14:51:54 +0000 (16:51 +0200)]
Initialize all the members of CppCodeCompletion

14 years agoInitialize members of ModelItemInfo.
Roberto Raggi [Wed, 21 Oct 2009 14:47:28 +0000 (16:47 +0200)]
Initialize members of ModelItemInfo.

14 years agoRemoved unused member _node in QuickFixOperation
Roberto Raggi [Wed, 21 Oct 2009 14:45:43 +0000 (16:45 +0200)]
Removed unused member _node in QuickFixOperation

14 years agoInitialize m_line and m_column
Roberto Raggi [Wed, 21 Oct 2009 14:44:07 +0000 (16:44 +0200)]
Initialize m_line and m_column

14 years agoRemoved obsoleted code.
Roberto Raggi [Wed, 21 Oct 2009 14:42:23 +0000 (16:42 +0200)]
Removed obsoleted code.

14 years agoS60: Swap spacers in device run config widget.
Friedemann Kleint [Wed, 21 Oct 2009 15:03:52 +0000 (17:03 +0200)]
S60: Swap spacers in device run config widget.

14 years agoadd a FIXME
Oswald Buddenhagen [Wed, 21 Oct 2009 14:50:36 +0000 (16:50 +0200)]
add a FIXME

14 years agoif 0 unused code
Oswald Buddenhagen [Wed, 21 Oct 2009 14:50:00 +0000 (16:50 +0200)]
if 0 unused code

14 years agodon't attempt to sync breakpoints at inopportune times
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

14 years agoS60: Use a DetailsWidget for the run configuration widgets, add info
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.

14 years agodebugger: more autotests
hjk [Wed, 21 Oct 2009 14:41:18 +0000 (16:41 +0200)]
debugger: more autotests

14 years agodebugger: remove two unused variables
hjk [Wed, 21 Oct 2009 12:42:02 +0000 (14:42 +0200)]
debugger: remove two unused variables