OSDN Git Service

qt-creator-jp/qt-creator-jp.git
14 years agoFix a bug with selecting copying the right text to the Find dialog.
dt [Wed, 21 Oct 2009 13:10:27 +0000 (15:10 +0200)]
Fix a bug with selecting copying the right text to the Find dialog.

To reproduce:
Split editors.
Select text in first editor.
Select text in second editor.
Invoke the find dialog.
Notice that the text from the first editor was used.

Reviewed-By: mae
14 years agoFix unused variable.
dt [Wed, 21 Oct 2009 12:21:22 +0000 (14:21 +0200)]
Fix unused variable.

14 years agoCompile with gcc
dt [Thu, 15 Oct 2009 11:47:35 +0000 (13:47 +0200)]
Compile with gcc

14 years agoRemove function that was only declared but not used from BuildStep
dt [Thu, 15 Oct 2009 11:46:53 +0000 (13:46 +0200)]
Remove function that was only declared but not used from BuildStep

Even private

14 years agoThis variable is only used on mac, so move it into the #ifdef block
dt [Fri, 9 Oct 2009 16:25:41 +0000 (18:25 +0200)]
This variable is only used on mac, so move it into the #ifdef block

14 years agoAdd a todo for a future change.
dt [Fri, 9 Oct 2009 16:25:23 +0000 (18:25 +0200)]
Add a todo for a future change.

14 years agoFix startExternal, attachExternal &more to not use a RunConfiguration
dt [Thu, 8 Oct 2009 15:36:07 +0000 (17:36 +0200)]
Fix startExternal, attachExternal &more to not use a RunConfiguration

Removes around 50 lines of code, one completly unecessary class and
makes the code paths easier to understand.

14 years agoAdd a startRunControl() method.
dt [Thu, 8 Oct 2009 14:30:17 +0000 (16:30 +0200)]
Add a startRunControl() method.

For plugins that create runcontrols in unsual ways

14 years agocheck the collection file for updates
Maurice Kalinowski [Wed, 21 Oct 2009 10:37:26 +0000 (12:37 +0200)]
check the collection file for updates

- In case documentation has been added to the collection,
  creator registers the documentation on startup.

Reviewed-By: ck
14 years agoMerge remote branch 'origin/1.3'
Oswald Buddenhagen [Tue, 20 Oct 2009 18:09:00 +0000 (20:09 +0200)]
Merge remote branch 'origin/1.3'

Conflicts:
src/plugins/cpptools/cppcodecompletion.cpp
src/plugins/debugger/gdb/remotegdbadapter.cpp

14 years agocollapse #ifdef branches
Oswald Buddenhagen [Tue, 20 Oct 2009 17:26:20 +0000 (19:26 +0200)]
collapse #ifdef branches

14 years agoReporting failed Trk-connect.
Robert Loehning [Mon, 19 Oct 2009 17:18:44 +0000 (19:18 +0200)]
Reporting failed Trk-connect.

14 years agofind executable relative to core location
Oswald Buddenhagen [Tue, 20 Oct 2009 16:13:23 +0000 (18:13 +0200)]
find executable relative to core location

14 years agorefactor attachAdapter
Oswald Buddenhagen [Tue, 20 Oct 2009 16:05:56 +0000 (18:05 +0200)]
refactor attachAdapter

14 years agoclean up includes
Oswald Buddenhagen [Tue, 20 Oct 2009 15:51:06 +0000 (17:51 +0200)]
clean up includes

14 years agoremove useless methods (base class has identical implementations)
Oswald Buddenhagen [Tue, 20 Oct 2009 15:43:57 +0000 (17:43 +0200)]
remove useless methods (base class has identical implementations)

14 years agofix error message
Oswald Buddenhagen [Tue, 20 Oct 2009 15:43:23 +0000 (17:43 +0200)]
fix error message

these are a mess anyway

14 years agocentralize message box handling in adapters
Oswald Buddenhagen [Tue, 20 Oct 2009 15:43:06 +0000 (17:43 +0200)]
centralize message box handling in adapters

14 years agoTrk: Added preventive disconnects.
Robert Loehning [Tue, 20 Oct 2009 15:51:10 +0000 (17:51 +0200)]
Trk: Added preventive disconnects.

Reviewed-by: hjk
14 years agoFixed possible crash when completing top-level declarations.
Roberto Raggi [Tue, 20 Oct 2009 15:17:11 +0000 (17:17 +0200)]
Fixed possible crash when completing top-level declarations.

14 years agoRegenerated the AST cloner.
Roberto Raggi [Tue, 20 Oct 2009 14:53:09 +0000 (16:53 +0200)]
Regenerated the AST cloner.

14 years agoDebugger: Resize columns correctly in Threads Window.
Friedemann Kleint [Tue, 20 Oct 2009 14:44:42 +0000 (16:44 +0200)]
Debugger: Resize columns correctly in Threads Window.

14 years agoMerge branch '1.3' of scm.dev.nokia.troll.no:creator/mainline into 1.3
Friedemann Kleint [Tue, 20 Oct 2009 14:37:42 +0000 (16:37 +0200)]
Merge branch '1.3' of scm.dev.nokia.troll.no:creator/mainline into 1.3

14 years agoDon't acticate completion inside C++-like comments.
Roberto Raggi [Tue, 20 Oct 2009 14:37:01 +0000 (16:37 +0200)]
Don't acticate completion inside C++-like comments.

14 years agoCDB: Add consistency checks to dumpers that avoid iterator asserts.
Friedemann Kleint [Tue, 20 Oct 2009 14:34:37 +0000 (16:34 +0200)]
CDB: Add consistency checks to dumpers that avoid iterator asserts.

_HAS_ITERATOR_DEBUGGING asserts can cause the debugger to be in an
inconsistent state and should thus be avoided. Add checks on the
underlying red/black tree structures using friend helper classes.

14 years agodebugger: small changes for synchroneous mode
hjk [Tue, 20 Oct 2009 14:02:35 +0000 (16:02 +0200)]
debugger: small changes for synchroneous mode

14 years agodebugger: work on autotests
hjk [Fri, 16 Oct 2009 13:45:21 +0000 (15:45 +0200)]
debugger: work on autotests

14 years agoCompile fix in Parser.cpp
Robert Loehning [Tue, 20 Oct 2009 13:55:40 +0000 (15:55 +0200)]
Compile fix in Parser.cpp

14 years agoMore tests for template-ids.
Roberto Raggi [Tue, 20 Oct 2009 13:29:58 +0000 (15:29 +0200)]
More tests for template-ids.

14 years agoReduce backtracking when parsing ambiguous name ids.
Roberto Raggi [Tue, 20 Oct 2009 13:29:00 +0000 (15:29 +0200)]
Reduce backtracking when parsing ambiguous name ids.

14 years agoCheck the lookahead token before to start the parse of core-postfix expressions.
Roberto Raggi [Tue, 20 Oct 2009 13:01:45 +0000 (15:01 +0200)]
Check the lookahead token before to start the parse of core-postfix expressions.

14 years agoAdded debug helpers
Roberto Raggi [Tue, 20 Oct 2009 12:56:36 +0000 (14:56 +0200)]
Added debug helpers

14 years agosilence & fix debug messages
Oswald Buddenhagen [Tue, 20 Oct 2009 12:17:26 +0000 (14:17 +0200)]
silence & fix debug messages

14 years agocentralize exec-continue calling and error handling
Oswald Buddenhagen [Tue, 20 Oct 2009 12:08:59 +0000 (14:08 +0200)]
centralize exec-continue calling and error handling

14 years agolegalize InferiorRunningRequested => InferiorStopped transition
Oswald Buddenhagen [Tue, 20 Oct 2009 12:05:42 +0000 (14:05 +0200)]
legalize InferiorRunningRequested => InferiorStopped transition

it is alread used for the error cases anyway.
one could introduce an intermediate state InferiorRunningFailed, but
this doesn't seem to bring any advantages.

14 years agoFixed use of uninitialized Control.
Erik Verbruggen [Tue, 20 Oct 2009 11:50:36 +0000 (13:50 +0200)]
Fixed use of uninitialized Control.

14 years agoFix function signature completion for cv-qualified functions.
Christian Kamm [Tue, 20 Oct 2009 10:54:30 +0000 (12:54 +0200)]
Fix function signature completion for cv-qualified functions.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
14 years agoAdd completion for function signatures.
Christian Kamm [Mon, 19 Oct 2009 12:14:28 +0000 (14:14 +0200)]
Add completion for function signatures.

You now get the function parameters as a completion suggestion when
declaring or defining a function. The tooltip for function calls
is unchanged.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
(cherry picked from commit 202fef42ca2104a7113958c0cbfbdf1cce2024f8)

14 years agoChanged ObjC context keyword comparison to use identifiers.
Erik Verbruggen [Tue, 20 Oct 2009 10:47:54 +0000 (12:47 +0200)]
Changed ObjC context keyword comparison to use identifiers.

14 years agoCheck for valid decl_specifier_seq when parsing declaration statements.
Roberto Raggi [Tue, 20 Oct 2009 09:41:19 +0000 (11:41 +0200)]
Check for valid decl_specifier_seq when parsing declaration statements.

14 years agofix compile :}
Oswald Buddenhagen [Tue, 20 Oct 2009 09:38:27 +0000 (11:38 +0200)]
fix compile :}

14 years agoRemoved unused method Parser::maybeSimpleExpression()
Roberto Raggi [Tue, 20 Oct 2009 09:29:53 +0000 (11:29 +0200)]
Removed unused method Parser::maybeSimpleExpression()

14 years agoRemoved unused method Parser::maybeFunctionCall()
Roberto Raggi [Tue, 20 Oct 2009 09:28:38 +0000 (11:28 +0200)]
Removed unused method Parser::maybeFunctionCall()

14 years agoAdded tests for the new regressions in the C++ parser.
Roberto Raggi [Tue, 20 Oct 2009 09:26:58 +0000 (11:26 +0200)]
Added tests for the new regressions in the C++ parser.

14 years agore-add debug-in-terminal in form of a new gdb adapter
Oswald Buddenhagen [Wed, 7 Oct 2009 08:25:26 +0000 (10:25 +0200)]
re-add debug-in-terminal in form of a new gdb adapter

14 years agofix initial breakpoint setting
Oswald Buddenhagen [Mon, 19 Oct 2009 17:04:01 +0000 (19:04 +0200)]
fix initial breakpoint setting

as it turns out, it is not possible to set pending breakpoints until
gdb has loaded as image. so add some hooks to enable adapters to trigger
the initial breakpoint syncing at the right time. do not add additional
states (say, InferiorPreparing), as it would just complicate things.

14 years agofix shutdown paths
Oswald Buddenhagen [Tue, 20 Oct 2009 09:02:16 +0000 (11:02 +0200)]
fix shutdown paths

this includes:
- move the gdb ownership back to the engine (thus strip down the
  adaptors as far as possible)
- make gdb startup synchronous
- make adapter shutdown synchronous
- fix the state transitions relating to shutdown

14 years agoadapters don't need to set DebuggerNotReady state
Oswald Buddenhagen [Thu, 15 Oct 2009 11:51:02 +0000 (13:51 +0200)]
adapters don't need to set DebuggerNotReady state

14 years agocentralize setting of AdapterStarted state
Oswald Buddenhagen [Thu, 15 Oct 2009 11:48:25 +0000 (13:48 +0200)]
centralize setting of AdapterStarted state

14 years agogroup declarations logically
Oswald Buddenhagen [Thu, 15 Oct 2009 10:32:49 +0000 (12:32 +0200)]
group declarations logically

14 years agoremove dead code
Oswald Buddenhagen [Thu, 15 Oct 2009 10:32:27 +0000 (12:32 +0200)]
remove dead code

14 years agoCleanup the C++ front-end.
Roberto Raggi [Tue, 20 Oct 2009 09:21:25 +0000 (11:21 +0200)]
Cleanup the C++ front-end.

Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT.

14 years agoTrk: Ensure proper connecting and disconnecting.
Robert Loehning [Mon, 19 Oct 2009 16:49:31 +0000 (18:49 +0200)]
Trk: Ensure proper connecting and disconnecting.

14 years agoImproved parsing of ambiguous statements.
Roberto Raggi [Mon, 19 Oct 2009 15:47:49 +0000 (17:47 +0200)]
Improved parsing of ambiguous statements.

Done with Erik Verbruggen

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 agoAdd completion for function signatures.
Christian Kamm [Mon, 19 Oct 2009 12:14:28 +0000 (14:14 +0200)]
Add completion for function signatures.

You now get the function parameters as a completion suggestion when
declaring or defining a function. The tooltip for function calls
is unchanged.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
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 agoRemote debugging: Choose the right debugger.
ck [Mon, 19 Oct 2009 08:20:00 +0000 (10:20 +0200)]
Remote debugging: Choose the right debugger.

14 years agoAdd experimental Maemo support.
ck [Fri, 16 Oct 2009 15:33:12 +0000 (17:33 +0200)]
Add experimental Maemo support.

Includes Maemo tool chain, run configuration, run control,
manager, etc.

Adds the DebuggerManager to the object pool. This is ugly, but
nobody came up with anything better on short notice. To be
refactored.

Co-Authored-By: kh1
14 years agoRefactor conditional for clarity ...
ck [Fri, 16 Oct 2009 14:46:41 +0000 (16:46 +0200)]
Refactor conditional for clarity ...

... and diff-reduction to Maemo branch. :)

Real-Author: ossi

14 years agoAdd support for "set sysroot" for remote debugging.
ck [Fri, 16 Oct 2009 14:16:24 +0000 (16:16 +0200)]
Add support for "set sysroot" for remote debugging.

14 years agoWhen we hide the action, also hide its toolbutton.
ck [Fri, 16 Oct 2009 13:50:52 +0000 (15:50 +0200)]
When we hide the action, also hide its toolbutton.

Originally-By: kh1
14 years agoInferior interruption handling changes
ck [Fri, 16 Oct 2009 13:47:54 +0000 (15:47 +0200)]
Inferior interruption handling changes

On UNIX, use SIGINT to interrupt the child, as the remote debugger's
-exec-interrupt does so as well.
On Windows, we get a SIGTRAP which we cannot influence.
As we currently do not know on which OS a remote debuggee is running,
accept either signal in that mode.

Reviewed-By: ossi
14 years agoRe-enable "set target-async on" and make failure non-fatal
ck [Fri, 16 Oct 2009 13:05:30 +0000 (15:05 +0200)]
Re-enable "set target-async on" and make failure non-fatal

14 years agoMake DebuggerStartParameters::clear() more readable
ck [Fri, 16 Oct 2009 13:01:35 +0000 (15:01 +0200)]
Make DebuggerStartParameters::clear() more readable

14 years agoAdd braces.
ck [Fri, 16 Oct 2009 14:48:49 +0000 (16:48 +0200)]
Add braces.

More diff reduction ...

14 years agoFix typo
ck [Fri, 16 Oct 2009 14:42:42 +0000 (16:42 +0200)]
Fix typo

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 agoMerge remote branch 'origin/1.3'
con [Fri, 16 Oct 2009 12:40:40 +0000 (14:40 +0200)]
Merge remote branch 'origin/1.3'

Conflicts:
src/plugins/cpptools/CppTools.pluginspec
src/plugins/help/Help.pluginspec
src/plugins/locator/Locator.pluginspec
src/plugins/projectexplorer/ProjectExplorer.pluginspec
src/plugins/texteditor/TextEditor.pluginspec

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