OSDN Git Service
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
dt [Wed, 21 Oct 2009 12:21:22 +0000 (14:21 +0200)]
Fix unused variable.
dt [Thu, 15 Oct 2009 11:47:35 +0000 (13:47 +0200)]
Compile with gcc
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
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
dt [Fri, 9 Oct 2009 16:25:23 +0000 (18:25 +0200)]
Add a todo for a future change.
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.
dt [Thu, 8 Oct 2009 14:30:17 +0000 (16:30 +0200)]
Add a startRunControl() method.
For plugins that create runcontrols in unsual ways
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
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
Oswald Buddenhagen [Tue, 20 Oct 2009 17:26:20 +0000 (19:26 +0200)]
collapse #ifdef branches
Robert Loehning [Mon, 19 Oct 2009 17:18:44 +0000 (19:18 +0200)]
Reporting failed Trk-connect.
Oswald Buddenhagen [Tue, 20 Oct 2009 16:13:23 +0000 (18:13 +0200)]
find executable relative to core location
Oswald Buddenhagen [Tue, 20 Oct 2009 16:05:56 +0000 (18:05 +0200)]
refactor attachAdapter
Oswald Buddenhagen [Tue, 20 Oct 2009 15:51:06 +0000 (17:51 +0200)]
clean up includes
Oswald Buddenhagen [Tue, 20 Oct 2009 15:43:57 +0000 (17:43 +0200)]
remove useless methods (base class has identical implementations)
Oswald Buddenhagen [Tue, 20 Oct 2009 15:43:23 +0000 (17:43 +0200)]
fix error message
these are a mess anyway
Oswald Buddenhagen [Tue, 20 Oct 2009 15:43:06 +0000 (17:43 +0200)]
centralize message box handling in adapters
Robert Loehning [Tue, 20 Oct 2009 15:51:10 +0000 (17:51 +0200)]
Trk: Added preventive disconnects.
Reviewed-by: hjk
Roberto Raggi [Tue, 20 Oct 2009 15:17:11 +0000 (17:17 +0200)]
Fixed possible crash when completing top-level declarations.
Roberto Raggi [Tue, 20 Oct 2009 14:53:09 +0000 (16:53 +0200)]
Regenerated the AST cloner.
Friedemann Kleint [Tue, 20 Oct 2009 14:44:42 +0000 (16:44 +0200)]
Debugger: Resize columns correctly in Threads Window.
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
Roberto Raggi [Tue, 20 Oct 2009 14:37:01 +0000 (16:37 +0200)]
Don't acticate completion inside C++-like comments.
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.
hjk [Tue, 20 Oct 2009 14:02:35 +0000 (16:02 +0200)]
debugger: small changes for synchroneous mode
hjk [Fri, 16 Oct 2009 13:45:21 +0000 (15:45 +0200)]
debugger: work on autotests
Robert Loehning [Tue, 20 Oct 2009 13:55:40 +0000 (15:55 +0200)]
Compile fix in Parser.cpp
Roberto Raggi [Tue, 20 Oct 2009 13:29:58 +0000 (15:29 +0200)]
More tests for template-ids.
Roberto Raggi [Tue, 20 Oct 2009 13:29:00 +0000 (15:29 +0200)]
Reduce backtracking when parsing ambiguous name ids.
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.
Roberto Raggi [Tue, 20 Oct 2009 12:56:36 +0000 (14:56 +0200)]
Added debug helpers
Oswald Buddenhagen [Tue, 20 Oct 2009 12:17:26 +0000 (14:17 +0200)]
silence & fix debug messages
Oswald Buddenhagen [Tue, 20 Oct 2009 12:08:59 +0000 (14:08 +0200)]
centralize exec-continue calling and error handling
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.
Erik Verbruggen [Tue, 20 Oct 2009 11:50:36 +0000 (13:50 +0200)]
Fixed use of uninitialized Control.
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>
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)
Erik Verbruggen [Tue, 20 Oct 2009 10:47:54 +0000 (12:47 +0200)]
Changed ObjC context keyword comparison to use identifiers.
Roberto Raggi [Tue, 20 Oct 2009 09:41:19 +0000 (11:41 +0200)]
Check for valid decl_specifier_seq when parsing declaration statements.
Oswald Buddenhagen [Tue, 20 Oct 2009 09:38:27 +0000 (11:38 +0200)]
fix compile :}
Roberto Raggi [Tue, 20 Oct 2009 09:29:53 +0000 (11:29 +0200)]
Removed unused method Parser::maybeSimpleExpression()
Roberto Raggi [Tue, 20 Oct 2009 09:28:38 +0000 (11:28 +0200)]
Removed unused method Parser::maybeFunctionCall()
Roberto Raggi [Tue, 20 Oct 2009 09:26:58 +0000 (11:26 +0200)]
Added tests for the new regressions in the C++ parser.
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
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.
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
Oswald Buddenhagen [Thu, 15 Oct 2009 11:51:02 +0000 (13:51 +0200)]
adapters don't need to set DebuggerNotReady state
Oswald Buddenhagen [Thu, 15 Oct 2009 11:48:25 +0000 (13:48 +0200)]
centralize setting of AdapterStarted state
Oswald Buddenhagen [Thu, 15 Oct 2009 10:32:49 +0000 (12:32 +0200)]
group declarations logically
Oswald Buddenhagen [Thu, 15 Oct 2009 10:32:27 +0000 (12:32 +0200)]
remove dead code
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.
Robert Loehning [Mon, 19 Oct 2009 16:49:31 +0000 (18:49 +0200)]
Trk: Ensure proper connecting and disconnecting.
Roberto Raggi [Mon, 19 Oct 2009 15:47:49 +0000 (17:47 +0200)]
Improved parsing of ambiguous statements.
Done with Erik Verbruggen
Friedemann Kleint [Mon, 19 Oct 2009 14:46:59 +0000 (16:46 +0200)]
Fix compiler warnings in dumper tests.
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.
Erik Verbruggen [Mon, 19 Oct 2009 12:49:51 +0000 (14:49 +0200)]
Fix for invalid parsing of "(a)[b]", including test cases.
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>
Friedemann Kleint [Mon, 19 Oct 2009 12:04:11 +0000 (14:04 +0200)]
CDB: Fix attaching to a crashed process.
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.
ck [Mon, 19 Oct 2009 08:20:00 +0000 (10:20 +0200)]
Remote debugging: Choose the right debugger.
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
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
ck [Fri, 16 Oct 2009 14:16:24 +0000 (16:16 +0200)]
Add support for "set sysroot" for remote debugging.
ck [Fri, 16 Oct 2009 13:50:52 +0000 (15:50 +0200)]
When we hide the action, also hide its toolbutton.
Originally-By: kh1
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
ck [Fri, 16 Oct 2009 13:05:30 +0000 (15:05 +0200)]
Re-enable "set target-async on" and make failure non-fatal
ck [Fri, 16 Oct 2009 13:01:35 +0000 (15:01 +0200)]
Make DebuggerStartParameters::clear() more readable
ck [Fri, 16 Oct 2009 14:48:49 +0000 (16:48 +0200)]
Add braces.
More diff reduction ...
ck [Fri, 16 Oct 2009 14:42:42 +0000 (16:42 +0200)]
Fix typo
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
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>
hjk [Fri, 16 Oct 2009 12:39:51 +0000 (14:39 +0200)]
debbugger: fix item counts > 1000 in QVector dumper
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
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
con [Fri, 16 Oct 2009 12:16:54 +0000 (14:16 +0200)]
Update references in translation files.
con [Fri, 16 Oct 2009 12:16:40 +0000 (14:16 +0200)]
Remove unused files
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.
Roberto Raggi [Fri, 16 Oct 2009 10:22:33 +0000 (12:22 +0200)]
Added support to complete function-call operators.
Roberto Raggi [Fri, 16 Oct 2009 09:43:13 +0000 (11:43 +0200)]
Removed resolveArrowOperator and resolveArrayOperator.
Roberto Raggi [Fri, 16 Oct 2009 09:30:45 +0000 (11:30 +0200)]
Renamed Instantiation.
Roberto Raggi [Fri, 16 Oct 2009 09:29:09 +0000 (11:29 +0200)]
Removed unused code.
con [Fri, 16 Oct 2009 09:54:39 +0000 (11:54 +0200)]
Rename the QuickOpen plugin to Locator
con [Fri, 16 Oct 2009 09:51:02 +0000 (11:51 +0200)]
Remove empty unused file.
con [Fri, 16 Oct 2009 09:50:38 +0000 (11:50 +0200)]
Rename pro and pri files
con [Fri, 16 Oct 2009 09:44:18 +0000 (11:44 +0200)]
Rename directory quickopen --> locator
con [Fri, 16 Oct 2009 09:34:35 +0000 (11:34 +0200)]
quickopenconstants --> locatorconstants
Robert Loehning [Thu, 15 Oct 2009 19:15:31 +0000 (21:15 +0200)]
Trk: Cleaned up waiting for finishing.
con [Fri, 16 Oct 2009 09:30:46 +0000 (11:30 +0200)]
Rename QuickOpen namespace.
hjk [Fri, 16 Oct 2009 09:00:46 +0000 (11:00 +0200)]
debugger: work on test frame work for new dumpers
hjk [Fri, 16 Oct 2009 09:00:09 +0000 (11:00 +0200)]
debugger: allow fancy/non-fancy mode for new dumpers
hjk [Fri, 16 Oct 2009 08:28:03 +0000 (10:28 +0200)]
debugger: make parsing of new dumper outpuit a bit more robust
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
Roberto Raggi [Fri, 16 Oct 2009 09:08:06 +0000 (11:08 +0200)]
Simplified member completion.
Share code with ResolveExpression.
con [Fri, 16 Oct 2009 08:55:58 +0000 (10:55 +0200)]
CppQuickOpenFilter --> CppLocatorFilter
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
con [Fri, 16 Oct 2009 08:48:49 +0000 (10:48 +0200)]
Rename header file and export statement
con [Fri, 16 Oct 2009 08:40:57 +0000 (10:40 +0200)]
Rename resource file.
con [Thu, 15 Oct 2009 14:08:11 +0000 (16:08 +0200)]
QuickOpenFiltersFilter --> LocatorFiltersFilter
con [Thu, 15 Oct 2009 13:52:21 +0000 (15:52 +0200)]
QuickOpenModel --> LocatorModel