OSDN Git Service

qt-creator-jp/qt-creator-jp.git
14 years agoFix compiler warnings in dumper tests.
Friedemann Kleint [Mon, 19 Oct 2009 14:46:59 +0000 (16:46 +0200)]
Fix compiler warnings in dumper tests.

14 years agoCDB: Add further checking to avoid invalid set asserts.
Friedemann Kleint [Mon, 19 Oct 2009 14:44:07 +0000 (16:44 +0200)]
CDB: Add further checking to avoid invalid set asserts.

Clear a failed call. _HAS_ITERATOR_DEBUGGING can unfortunately
not be turned off as it is not binary compatible with other code.

14 years agoFix for invalid parsing of "(a)[b]", including test cases.
Erik Verbruggen [Mon, 19 Oct 2009 12:49:51 +0000 (14:49 +0200)]
Fix for invalid parsing of "(a)[b]", including test cases.

14 years agoCDB: Fix attaching to a crashed process.
Friedemann Kleint [Mon, 19 Oct 2009 12:04:11 +0000 (14:04 +0200)]
CDB: Fix attaching to  a crashed process.

14 years agoCDB: Fix code model scope detection when stopping at function scope.
Friedemann Kleint [Mon, 19 Oct 2009 08:59:46 +0000 (10:59 +0200)]
CDB: Fix code model scope detection when stopping at function scope.

that is, setting a break point at the opening brace or at function.
Set StackFrame::from correctly.

14 years agoGot the gdb engine to compile on Mac.
Erik Verbruggen [Fri, 16 Oct 2009 15:08:51 +0000 (17:08 +0200)]
Got the gdb engine to compile on Mac.

Reviewed by: Friedemann Kleint

14 years agoDebugger: Use the code model to detect unitialized variables.
Friedemann Kleint [Fri, 16 Oct 2009 14:26:28 +0000 (16:26 +0200)]
Debugger: Use the code model to detect unitialized variables.

This should save debugger round trips and crashes in the debugging
helpers.
Add respective option to debugging helper option page, defaulting to
true.On this occasion, make CDB detect shadowed variables correctly
and display them as "<shadowed n>" as does the Gdb engine by
reversing the direction in which
CdbSymbolGroupContext::populateINameIndexMap works.
Rubber-stamped-by: hjk <qtc-committer@nokia.com>
14 years agodebbugger: fix item counts > 1000 in QVector dumper
hjk [Fri, 16 Oct 2009 12:39:51 +0000 (14:39 +0200)]
debbugger: fix item counts > 1000 in QVector dumper

14 years agoRename the internal parts that still used QuickOpen instead of Locator
con [Fri, 16 Oct 2009 12:25:30 +0000 (14:25 +0200)]
Rename the internal parts that still used QuickOpen instead of Locator

Merge branch 'adams' into 1.3

14 years agoUpdate references in translation files.
con [Fri, 16 Oct 2009 12:16:54 +0000 (14:16 +0200)]
Update references in translation files.

14 years agoRemove unused files
con [Fri, 16 Oct 2009 12:16:40 +0000 (14:16 +0200)]
Remove unused files

14 years agoThe base result needs to be an instance and not a class declaration.
Roberto Raggi [Fri, 16 Oct 2009 10:46:26 +0000 (12:46 +0200)]
The base result needs to be an instance and not a class declaration.

14 years agoAdded support to complete function-call operators.
Roberto Raggi [Fri, 16 Oct 2009 10:22:33 +0000 (12:22 +0200)]
Added support to complete function-call operators.

14 years agoRemoved resolveArrowOperator and resolveArrayOperator.
Roberto Raggi [Fri, 16 Oct 2009 09:43:13 +0000 (11:43 +0200)]
Removed resolveArrowOperator and resolveArrayOperator.

14 years agoRenamed Instantiation.
Roberto Raggi [Fri, 16 Oct 2009 09:30:45 +0000 (11:30 +0200)]
Renamed Instantiation.

14 years agoRemoved unused code.
Roberto Raggi [Fri, 16 Oct 2009 09:29:09 +0000 (11:29 +0200)]
Removed unused code.

14 years agoRename the QuickOpen plugin to Locator
con [Fri, 16 Oct 2009 09:54:39 +0000 (11:54 +0200)]
Rename the QuickOpen plugin to Locator

14 years agoRemove empty unused file.
con [Fri, 16 Oct 2009 09:51:02 +0000 (11:51 +0200)]
Remove empty unused file.

14 years agoRename pro and pri files
con [Fri, 16 Oct 2009 09:50:38 +0000 (11:50 +0200)]
Rename pro and pri files

14 years agoRename directory quickopen --> locator
con [Fri, 16 Oct 2009 09:44:18 +0000 (11:44 +0200)]
Rename directory quickopen --> locator

14 years agoquickopenconstants --> locatorconstants
con [Fri, 16 Oct 2009 09:34:35 +0000 (11:34 +0200)]
quickopenconstants --> locatorconstants

14 years agoTrk: Cleaned up waiting for finishing.
Robert Loehning [Thu, 15 Oct 2009 19:15:31 +0000 (21:15 +0200)]
Trk: Cleaned up waiting for finishing.

14 years agoRename QuickOpen namespace.
con [Fri, 16 Oct 2009 09:30:46 +0000 (11:30 +0200)]
Rename QuickOpen namespace.

14 years agodebugger: work on test frame work for new dumpers
hjk [Fri, 16 Oct 2009 09:00:46 +0000 (11:00 +0200)]
debugger: work on test frame work for new dumpers

14 years agodebugger: allow fancy/non-fancy mode for new dumpers
hjk [Fri, 16 Oct 2009 09:00:09 +0000 (11:00 +0200)]
debugger: allow fancy/non-fancy mode for new dumpers

14 years agodebugger: make parsing of new dumper outpuit a bit more robust
hjk [Fri, 16 Oct 2009 08:28:03 +0000 (10:28 +0200)]
debugger: make parsing of new dumper outpuit a bit more robust

14 years agodebugger: move adding the double quotes for valueencoding==7 to the host side
hjk [Thu, 15 Oct 2009 11:57:51 +0000 (13:57 +0200)]
debugger: move adding the double quotes for valueencoding==7 to the host side

14 years agoSimplified member completion.
Roberto Raggi [Fri, 16 Oct 2009 09:08:06 +0000 (11:08 +0200)]
Simplified member completion.

Share code with ResolveExpression.

14 years agoCppQuickOpenFilter --> CppLocatorFilter
con [Fri, 16 Oct 2009 08:55:58 +0000 (10:55 +0200)]
CppQuickOpenFilter --> CppLocatorFilter

14 years agoTrk: Changed Launcher::handleResult so it can be used for running various processes...
Robert Loehning [Fri, 16 Oct 2009 08:50:59 +0000 (10:50 +0200)]
Trk: Changed Launcher::handleResult so it can be used for running various processes on device.

Reviewed-by: Friedemann Kleint
14 years agoRename header file and export statement
con [Fri, 16 Oct 2009 08:48:49 +0000 (10:48 +0200)]
Rename header file and export statement

14 years agoRename resource file.
con [Fri, 16 Oct 2009 08:40:57 +0000 (10:40 +0200)]
Rename resource file.

14 years agoQuickOpenFiltersFilter --> LocatorFiltersFilter
con [Thu, 15 Oct 2009 14:08:11 +0000 (16:08 +0200)]
QuickOpenFiltersFilter --> LocatorFiltersFilter

14 years agoQuickOpenModel --> LocatorModel
con [Thu, 15 Oct 2009 13:52:21 +0000 (15:52 +0200)]
QuickOpenModel --> LocatorModel

14 years agoSome more QuickOpen --> Locator
con [Thu, 15 Oct 2009 13:50:43 +0000 (15:50 +0200)]
Some more QuickOpen --> Locator

14 years agoQuickOpenPlugin --> LocatorPlugin
con [Thu, 15 Oct 2009 13:47:15 +0000 (15:47 +0200)]
QuickOpenPlugin --> LocatorPlugin

14 years agoQuickOpenManager --> LocatorManager
con [Thu, 15 Oct 2009 13:39:43 +0000 (15:39 +0200)]
QuickOpenManager --> LocatorManager

14 years agoIQuickOpenFilter->ILocatorFilter and QuickOpenToolWindow->LocatorWidget
con [Thu, 15 Oct 2009 13:24:21 +0000 (15:24 +0200)]
IQuickOpenFilter->ILocatorFilter and QuickOpenToolWindow->LocatorWidget

14 years agoExpand the enclosing namespace.
Roberto Raggi [Thu, 15 Oct 2009 15:16:05 +0000 (17:16 +0200)]
Expand the enclosing namespace.

14 years agoAccept CDB_PATH env variable as custom path to CDB installation.
Daniel Molkentin [Thu, 15 Oct 2009 14:40:28 +0000 (16:40 +0200)]
Accept CDB_PATH env variable as custom path to CDB installation.

Also, shortened checks on possible CDB locations.

Reviewed-By: Friedemann Kleint
14 years agoDefine _WIN32_WCE if using the MSVC for Windows CE compiler.
Daniel Molkentin [Thu, 15 Oct 2009 14:32:38 +0000 (16:32 +0200)]
Define _WIN32_WCE if using the MSVC for Windows CE compiler.

Also, remove bogus default defines.

Reviewed-By: joerg
14 years agoCodePaster: Warn about empty hostname field instead of failing silently.
Daniel Molkentin [Thu, 15 Oct 2009 14:27:36 +0000 (16:27 +0200)]
CodePaster: Warn about empty hostname field instead of failing silently.

14 years agoPrettify settings page for CodePaster service.
Daniel Molkentin [Thu, 15 Oct 2009 14:26:30 +0000 (16:26 +0200)]
Prettify settings page for CodePaster service.

14 years agoSource USERNAME environment variable on Windows instead of USER.
Daniel Molkentin [Thu, 15 Oct 2009 14:26:01 +0000 (16:26 +0200)]
Source USERNAME environment variable on Windows instead of USER.

14 years agoRename Category: CodePaster -> Code Pasting.
Daniel Molkentin [Thu, 15 Oct 2009 14:25:28 +0000 (16:25 +0200)]
Rename Category: CodePaster -> Code Pasting.

Reviewed-By: TrustMe
14 years agoRemove obsolete checks for qdoc3 < Qt 4.6.
Daniel Molkentin [Thu, 15 Oct 2009 14:12:03 +0000 (16:12 +0200)]
Remove obsolete checks for qdoc3 < Qt 4.6.

14 years agoStore in the document's macroUsages only the top-level macro expansions.
Roberto Raggi [Thu, 15 Oct 2009 14:24:15 +0000 (16:24 +0200)]
Store in the document's macroUsages only the top-level macro expansions.

14 years agoStart working on Polish translations
Jarek Kobus [Thu, 15 Oct 2009 14:22:16 +0000 (16:22 +0200)]
Start working on Polish translations

14 years agoCDB: Ignore initial breakpoint only for console processes.
Friedemann Kleint [Thu, 15 Oct 2009 13:04:11 +0000 (15:04 +0200)]
CDB: Ignore initial breakpoint only for console processes.

As otherwise breaking when attaching to running processes
does not work as the startup trap is not received.

14 years agoProcess the names of the formal arguments when searching references in function defin...
Roberto Raggi [Thu, 15 Oct 2009 12:48:56 +0000 (14:48 +0200)]
Process the names of the formal arguments when searching references in function definitions.

14 years agoDon't use modality to inform the user about the dangerous world of code refactoring.
Roberto Raggi [Thu, 15 Oct 2009 11:59:04 +0000 (13:59 +0200)]
Don't use modality to inform the user about the dangerous world of code refactoring.

14 years agoFixed the refactoring engine.
Roberto Raggi [Thu, 15 Oct 2009 10:30:27 +0000 (12:30 +0200)]
Fixed the refactoring engine.

It was not working for files opened while indexing the project.

14 years agoRemove some unused code.
con [Tue, 13 Oct 2009 12:57:30 +0000 (14:57 +0200)]
Remove some unused code.

14 years agoImproved lookup of class bindings.
Roberto Raggi [Thu, 15 Oct 2009 09:39:22 +0000 (11:39 +0200)]
Improved lookup of class bindings.

Unmark the visited nodes when searching bindings in class or namespace scopes.

14 years agoWindows CE SDK not always found.
Aaron McCarthy [Tue, 6 Oct 2009 06:07:34 +0000 (16:07 +1000)]
Windows CE SDK not always found.

Creator fails to set up the build environment with MSVC 2008 and
Windows Mobile SDK 6.  This is caused by two problems:

1. The toolchain was being searched for in
   C:\Program Files\Microsoft Visual Studio 9.0\VC\VC
   The correct path is
   C:\Program Files\Microsoft Visual Studio 9.0\VC

2. Include statements in mkspecs were not being processed.  All of the
   important variables are set in files included from the
   wincewm60{standard,professional}-msvc2008 mkspecs.

14 years agoAdd more MSVC specific intrinsics.
Daniel Molkentin [Wed, 14 Oct 2009 16:06:10 +0000 (18:06 +0200)]
Add more MSVC specific intrinsics.

14 years agoFixed possible crash when searching the canonical symbol.
Roberto Raggi [Wed, 14 Oct 2009 15:12:41 +0000 (17:12 +0200)]
Fixed possible crash when searching the canonical symbol.

14 years agoDebugger: Adapt autotests to know new signals.
ck [Wed, 14 Oct 2009 12:44:41 +0000 (14:44 +0200)]
Debugger: Adapt autotests to know new signals.

14 years agoMerge branch '1.3' of git@scm.dev.nokia.troll.no:creator/mainline into 1.3
Friedemann Kleint [Wed, 14 Oct 2009 12:18:42 +0000 (14:18 +0200)]
Merge branch '1.3' of git@scm.dev.nokia.troll.no:creator/mainline into 1.3

14 years agoDebugger: Fix autotests for QAbstractItemModel & friends.
ck [Wed, 14 Oct 2009 12:19:00 +0000 (14:19 +0200)]
Debugger: Fix autotests for QAbstractItemModel & friends.

14 years agoDebugger: Remove obsolete code.
Friedemann Kleint [Wed, 14 Oct 2009 12:18:18 +0000 (14:18 +0200)]
Debugger: Remove obsolete code.

14 years agoFixed possible crash when building the helpId
Roberto Raggi [Wed, 14 Oct 2009 11:35:25 +0000 (13:35 +0200)]
Fixed possible crash when building the helpId

14 years agoRemove color:"white" in qml hello world
Kai Koehne [Wed, 14 Oct 2009 11:09:59 +0000 (13:09 +0200)]
Remove color:"white" in qml hello world

Default background of Rectangle is white anyway.

14 years agoDebugger: Dumper fix.
ck [Wed, 14 Oct 2009 10:59:39 +0000 (12:59 +0200)]
Debugger: Dumper fix.

- If NSX and NSY have quotes for the QT_NAMESPACE case, they need them
  for the non-namespace case too.
- Dumper autotest: Replace hard-coded namespace with compile-time
  dynamic one.

14 years agoDebugger: Fix QFileInfo auto test.
ck [Wed, 14 Oct 2009 10:32:13 +0000 (12:32 +0200)]
Debugger: Fix QFileInfo auto test.

14 years agoCDB: Perform dumper initialization in a thread.
Friedemann Kleint [Wed, 14 Oct 2009 09:38:40 +0000 (11:38 +0200)]
CDB: Perform dumper initialization in a thread.

... with an event loop with disabled user input to keep
the GUI alive.

14 years agodebugger: work on new autotests
hjk [Wed, 14 Oct 2009 09:28:18 +0000 (11:28 +0200)]
debugger: work on new autotests

14 years agoDebugger: Fix name demangler namespace and QString usage.
ck [Wed, 14 Oct 2009 08:44:21 +0000 (10:44 +0200)]
Debugger: Fix name demangler namespace and QString usage.

14 years agodebugger: work on autotests
hjk [Wed, 14 Oct 2009 07:41:14 +0000 (09:41 +0200)]
debugger: work on autotests

14 years agodo not attempt to load dumpers until the inferior is fully initialized
Oswald Buddenhagen [Tue, 13 Oct 2009 12:54:23 +0000 (14:54 +0200)]
do not attempt to load dumpers until the inferior is fully initialized

specifically, this will skip the initial stop at _start when using the
terminal and remote adapters.

14 years agoenable dumpers for attaching to debuggees
Oswald Buddenhagen [Tue, 13 Oct 2009 12:52:17 +0000 (14:52 +0200)]
enable dumpers for attaching to debuggees

FIXME: if the attached to program has no relation to the currently
selected run configuration, the qt version config dialog will pop up
rather effectlessly and thus confusingly.

14 years ago-gdb-exit has a special return code as well
Oswald Buddenhagen [Tue, 13 Oct 2009 15:13:19 +0000 (17:13 +0200)]
-gdb-exit has a special return code as well

14 years agomissed that -exec-continue
Oswald Buddenhagen [Tue, 13 Oct 2009 15:14:33 +0000 (17:14 +0200)]
missed that -exec-continue

14 years agofix state machine surrounding spontaneous stops
Oswald Buddenhagen [Fri, 9 Oct 2009 08:54:03 +0000 (10:54 +0200)]
fix state machine surrounding spontaneous stops

14 years agofold preparing inferior into starting inferior
Oswald Buddenhagen [Tue, 13 Oct 2009 07:53:47 +0000 (09:53 +0200)]
fold preparing inferior into starting inferior

after refactoring the trk adapter startup, the split was not necessary
any more. in fact, it seemed fairly arbitrary at this point.

14 years agoreorder instructions for readability
Oswald Buddenhagen [Tue, 13 Oct 2009 07:53:15 +0000 (09:53 +0200)]
reorder instructions for readability

14 years agofix message
Oswald Buddenhagen [Tue, 13 Oct 2009 10:18:33 +0000 (12:18 +0200)]
fix message

14 years agoremove dead code
Oswald Buddenhagen [Tue, 13 Oct 2009 17:13:57 +0000 (19:13 +0200)]
remove dead code

14 years agocomment out handleExecRunToFunction()
Oswald Buddenhagen [Tue, 13 Oct 2009 15:16:33 +0000 (17:16 +0200)]
comment out handleExecRunToFunction()

it is currently unused. do not just remove it, as hjk says he wants to
revive it.

14 years agoTrk: Some minor code improvements
Robert Loehning [Tue, 13 Oct 2009 17:11:30 +0000 (19:11 +0200)]
Trk: Some minor code improvements

14 years agoMerge branch '1.3' of git@scm.dev.nokia.troll.no:creator/mainline into 1.3
dt [Tue, 13 Oct 2009 15:18:39 +0000 (17:18 +0200)]
Merge branch '1.3' of git@scm.dev.nokia.troll.no:creator/mainline into 1.3

14 years agoSet correct mime type for C++ files.
dt [Tue, 13 Oct 2009 15:17:08 +0000 (17:17 +0200)]
Set correct mime type for C++ files.

14 years agodebugger: work on dumper autotests
hjk [Tue, 13 Oct 2009 12:42:18 +0000 (14:42 +0200)]
debugger: work on dumper autotests

14 years agodebugger: adjust dumper autotest to valuedisabled='true' -> valueeditable='false...
hjk [Tue, 13 Oct 2009 06:52:33 +0000 (08:52 +0200)]
debugger: adjust dumper autotest to valuedisabled='true' -> valueeditable='false' change

14 years agodebugger: don't test json parsing as this was removed
hjk [Tue, 13 Oct 2009 06:48:24 +0000 (08:48 +0200)]
debugger: don't test json parsing as this was removed

14 years agoRename the given enumerator.
Roberto Raggi [Tue, 13 Oct 2009 12:38:37 +0000 (14:38 +0200)]
Rename the given enumerator.

14 years agoCDB: Bug fixing
Friedemann Kleint [Tue, 13 Oct 2009 12:16:50 +0000 (14:16 +0200)]
CDB: Bug fixing

- Turn off initial breakpoint when attaching (terminal) and
  additionally ignore it before the first startup complete
- Refuse to step  the artifical thread created when
  interrupting
- If possible, switch to thread 0 when interupting (do not
  use artificial thread)
- Ignore non-fatal exceptions in dumper calls (stray Startup-
  complete-traps)
- Use right thread for dumper call loading
- Rename windows exception code enumeration
- Turn off modification off watch-data children by setType,
  show empty lists correctly.
- Verbose warnings about inserting invalid watch data.

14 years agoDebugger/Dumpers: Perform checks on QList/QVector<RawPointer>.
Friedemann Kleint [Tue, 13 Oct 2009 10:35:47 +0000 (12:35 +0200)]
Debugger/Dumpers: Perform checks on QList/QVector<RawPointer>.
Reviewed-by: hjk <qtc-committer@nokia.com>
14 years agoCheck the scope of class and fwd-class declarations
Roberto Raggi [Tue, 13 Oct 2009 10:20:21 +0000 (12:20 +0200)]
Check the scope of class and fwd-class declarations

14 years agoFixed a crash on exit when include files are still being scanned
Thorbjørn Lindeijer [Tue, 13 Oct 2009 10:12:51 +0000 (12:12 +0200)]
Fixed a crash on exit when include files are still being scanned

Found by Roberto.

14 years agoif 0 some code - the calling code is if 0'd as well
Oswald Buddenhagen [Mon, 12 Oct 2009 16:25:03 +0000 (18:25 +0200)]
if 0 some code - the calling code is if 0'd as well

14 years agocentralize entering the InferiorStartFailed state
Oswald Buddenhagen [Mon, 12 Oct 2009 16:23:54 +0000 (18:23 +0200)]
centralize entering the InferiorStartFailed state

14 years agochange trk adapter setup sequence
Oswald Buddenhagen [Mon, 12 Oct 2009 14:39:13 +0000 (16:39 +0200)]
change trk adapter setup sequence

gdb can be started before the debugee, so do it. that's more in line
with the other adapters.

14 years agoremove dead code
Oswald Buddenhagen [Mon, 12 Oct 2009 13:12:04 +0000 (15:12 +0200)]
remove dead code

14 years agosimplify
Oswald Buddenhagen [Mon, 12 Oct 2009 13:11:51 +0000 (15:11 +0200)]
simplify

14 years agofix a few license headers
hjk [Mon, 12 Oct 2009 16:28:48 +0000 (18:28 +0200)]
fix a few license headers

14 years agoUpdate changes file
con [Mon, 12 Oct 2009 15:50:26 +0000 (17:50 +0200)]
Update changes file

14 years agodebugger: remove debug output
hjk [Mon, 12 Oct 2009 13:22:11 +0000 (15:22 +0200)]
debugger: remove debug output

14 years agoFixes to tutorial, added missing screenshots.
Daniel Molkentin [Mon, 12 Oct 2009 12:29:40 +0000 (14:29 +0200)]
Fixes to tutorial, added missing screenshots.

Reviewed-By: con
14 years agodocs: Compile Fixes, Fixups in addressbook example
Daniel Molkentin [Mon, 12 Oct 2009 11:44:09 +0000 (13:44 +0200)]
docs: Compile Fixes, Fixups in addressbook example

Reviewed-By: TrustMe