Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Made template argument classes final.Sergey Prigogin2-2/+2
Change-Id: I06d532e6b4be8f3684e7d3e1470d10df1985db57
2016-11-15Bug 507511 - Template function resolution problem when using indexSergey Prigogin2-1/+43
Change-Id: I7e75a188f8902c6b21f2c96660cc68fcebfdd0db
2016-11-14Fix up feature names for Neon.2 SimRel repo.Doug Schaefer3-3/+3
Change-Id: I5436457e553610d0676cc87385c2986040e04f2a
2016-11-14Mark CMake feature as experimental.Doug Schaefer1-2/+2
We will the put it into the simrel repository so people can try it out. Change-Id: Ie7bd94062cfb236f266e413a8350c214ccdadb2c
2016-11-14Bug 497166: Support the user using the 'run' command in the gdb consoleMarc Khouzam14-116/+491
This commit introduces a PersistentPTY. By using it, we now allow the user to restart the process from the GDB console (by pressing 'run'). In this case, the I/O will continue using the PersistentPTY. Previously, the PTY would have been closed, and GDB would fail to restart the process because it would fail to use the closed PTY. Change-Id: I395b402e297a2043af8fce33df163eddef9e6c7a
2016-11-14Bug 498782 - add synchronize of process selection between the DV and GDBMarc Khouzam4-6/+98
This patch synchronizes the GDB focus when the user selects a process node in the DV. When the user selects a new process (inferior) from the GDB console, we are already synchronizing the DV to the thread/frame that GDB selects from that process. Change-Id: I11dfd175d51ec49e969f4d07288f80f7ea72a3e1
2016-11-14Don't force the GDB console to be shown when created.Marc Khouzam1-2/+7
When a new launch is triggered and a new GDB console created, it was shown automatically. However, if there was a current debug session where the selection was a stack frame, our sticky policy (DefaultDsfSelectionPolicy) prevents the new session from being selected, so the new GDB console shown didn't match the selection in the DV. With this patch, when a new GDB console is created, we don't show it automatically, but let other logic figure out if it should be shown or not. Change-Id: If826677a6fb0f925f6b397a13f61fc75fc892748
2016-11-14Adding API filter for default methodMarc Khouzam1-0/+6
Change-Id: I3a7441ce7820976b663ba5711e848761c8d41f66
2016-11-11Implement Qt build tab for the launch config dialog.Doug Schaefer38-315/+543
Make sure Core Build handles the properties set by these tabs correctly. A bunch of string externalization too. Change-Id: I54a61b4d2520a0952c43608169747e792826062e
2016-11-11Remove interim version of GDB for full consoleMarc Khouzam1-3/+1
Now that GDB 7.12 is released, there is no need to support an interim version. Change-Id: I7ccfb6b544023468c7511841890d20ea6cf2f5bf
2016-11-11Bug 507148. Fixed opening/switching to editor.Dominic Scharfe13-10/+337
- Reuse the TU from the open editor if present, otherwise load it from workspace - Added test plugin org.eclipse.cdt.codan.checkers.ui.test Change-Id: I725b7b8e462ffba39dd6c9a828ab72dd58f86b1f Signed-off-by: Dominic Scharfe <dominic.scharfe@coseda-tech.com>
2016-11-10bug 498782 - [debug] synchronize selection between the DV and GDBMarc Dumais19-8/+1363
This adds a new service, GDBFocusSynchronizer, that helps keep the internal GDB selection and the Debug View selection synchronized. Change-Id: I021b3f65d61e82f6971bdb9232369b6fdf58ea5b
2016-11-09Add Local Debug for Core Build launches. Qt Path var for Windows.Doug Schaefer9-91/+299
Adds gdb launching for Core Build launches. A common class is created for things common to run and debug (and probably others). At the bin directory containing qmake to the PATH var for builds and launches since that's where the DLLs are. Adds method and variable to GDBLaunch to override the default environment. Change-Id: I3ab3b48a2f99eaed50cdb4cfdc03959e9700abc5
2016-11-08Bug 422378: allow case of getOutputNames() returning nulljantje1-45/+47
Allow GnuMakefileGenerator to completely ignore an input file Change-Id: If4b45db8482b273f4729211d55cfa4f201760b29 Signed-off-by: jantje <eclipse@baeyens.it>
2016-11-04Bug 507078 - o.e.cdt.launch.remote.source should be in separate feature.Roland Grunberg3-7/+36
The org.eclipse.cdt.launch.remote feature is the only non-source, non-sdk feature to include the corresponding source plugin for it's main provided plugin. An org.eclipse.cdt.launch.remote source-feature should be created to provide the source plugin. Change-Id: I2e396270f0d19f023e75452c316da0e4eda495b1 Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
2016-11-04Bug 499230 - Duplicated "-thread-select" and "-stack-select-frame" Marc Dumais2-10/+0
Most GDB MI commands support the "--thread" and "--frame" options, that tells GDB on which thread/stack frame the command is meant to act-on. For those that don't, CDT has a mechanism to first have GDB switch thread (MIThreadSelect) or frame (MIStackSelectFrame), before issuing the command that will act on that entity. Ironically, those two commands are wrongly identified as not supporting those parameters, and so are sometimes sent in duplicate, when a single command including the thread or frame would be possible. This commit correctly identifies those commands as supporting the thread/frame parameter. Change-Id: I6e7fc4e873abe36ad024c7131efda7c0aa89dc44
2016-11-04Hide 'gdb traces' by default.Marc Khouzam5-65/+65
Since users don't usually care about seeing the communication between CDT and GDB, we should not show it by default. However, once a problem happens it would be nice to be able to look at the traces even if they were previously hidden. This patch has the gdb traces always enabled, but hides the actual console from the user. When the user enables the traces, they will be shown in the Console view, with all previous traces available. Change-Id: Ifd312aa19e4421b6764169b6199b5e935cf25f87
2016-11-04Bug 506170 - Compute correct associated namespaces for enumeration typeNathan Ridge2-8/+47
Change-Id: I60ddfd1f98b6f32ad785e8d881704356aff18043
2016-11-04Bug 506170 - Evaluation of dependent conditional expressionNathan Ridge2-1/+20
Change-Id: I59355bb40e84662554be76929ba9f9618aec7dba
2016-11-02Fix no binaries issue with Core Build.Doug Schaefer3-15/+27
When a second config is added, the binary parsers wasn't getting reset so the new binary parser wasn't getting called. Also cleans up the reset to remove the close that happens. Not sure why it was needed so will keep an eye out for new bad behavior. Change-Id: I0b4cb628829b138e2ceb3f08833649b90255648c
2016-11-02Removing stand alone swtbot test module from buildAlvaro Sanchez-Leon1-1/+3
This hanging needs to be investigated/fix before re-enabling this needs to be done as it impacts every single verification build Change-Id: I66d5e46773c4f816dd09268fdd55a7495755375e
2016-11-02Bug 506843: Reset buildFailed flag on buildForLaunchPhilip Langer2-1/+6
Since delegate instances are cached and reused for subsequent launches, we have to reset the buildFailed flag on subsequent builds (i.e., calls of buildForLaunch). Otherwise, this flag will remain to be set to true after a failed/cancelled build for the entire lifetime of this delegate, even if a project has been re-launched and the build succeeded. If the flag remains to be true, the dialog keeps popping up asking the user whether to succeed with the launch with errors in the project, even if the build succeeded and there are no errors any more. Change-Id: I51aece90154f817542ed7548ec4c36591b19eaec Signed-off-by: Philip Langer <planger@eclipsesource.com>
2016-11-02Bug 501006 - [visualizer] harmonize TID with DV and new GDB consoleMarc Dumais1-2/+2
In the Multicore Visualizer, add the gdb thread ids so that users can more easily recognize threads Change-Id: I747e9223d9b689dd6a94d707dd2e5cfdb767764e
2016-10-31Revert "Bug 483602 - Implement deletion of elements from Outline view"Sergey Prigogin6-89/+2
The Delete operation doesn't properly call TextEditorAction.validateEditorInputState() and as a result doesn't work in version control environments that keep unchanged files read-only. Another problem is that Ctrl+Z doesn't trigger Undo when the Outline view is active. When the Delete element action is reintroduced it should be made to behave the same way as in JDT, e.g, display a prompt before deletion and be bound to the Delete key. This reverts commit f034a69fb7498c184a7572532ea0249825fdcdfa. Change-Id: I6d37f5aaea1770143fbf84288068794430a5b0e0
2016-10-31Bug 303808: DebuggerConsole shall not be automatically brought to topAlvaro Sanchez-Leon3-4/+45
The DebuggerConsoleView may be interfering with other views while bringing it to the top. This is not desirable as many users may not need to access the features of the GDB CLI. With this change the view will be shown but not automatically brought up to the top, so users can find it and select it as needed. Change-Id: I6a26f3a39d43732659d1db4e1aeb77f3c9e399d9 Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2016-10-31Simplify API that opens the DebuggerConsoleMarc Khouzam4-20/+6
IDebuggerConsoleManager.showConsoleView() was mimicked on IConsoleManager.showConsoleView() which allows to specify which console in the view should now be shown. This makes sense for the generic platform Console view where extenders could choose to display any kind of console when an event happens (e.g., a build console when the build is started). However, in our Debugger Console case, it complicates things unnecessarily. In our case, we want to be able to open the view, but the console to show is handled by other logic such as a synchronizer service. And if there is a need to change which console should be shown within the Debugger Console view, then IDebuggerConsoleView.display() should be used. I think having it in IConsoleManager.showConsoleView() is a shortcut that is not very useful in our case. Change-Id: Id66ea5c953e8a7ab603cfc23789a814c1ad821d2
2016-10-31Fix DebuggerConsoleManager#showConsoleView() not showing the consoleMarc Khouzam1-1/+4
According to the javadoc of IDebuggerConsoleManager.showConsoleView(IDebuggerConsole), the specified console should be made visible when this method is called. Our implementation was not doing that. The PageSwitcher used in DebuggerConsoleView is making use of that call and was not working properly. One can verify this by using the "Next Page" key binding to change console pages. It works in the platform console but did not in the Debugger Console. This patch fixes it. Change-Id: I0caa94c85e5c9dbbd94d80081c7b4691c17d9582
2016-10-31Update plugin version and fix @since tagMarc Khouzam3-4/+4
Change-Id: I60463177469d823d3ce69a4ed0612291ca542fc6
2016-10-30Bug 483602 - Implement deletion of elements from Outline viewljyanesm6-2/+89
Adding the delete refactor to the refactor context menu in the Outline View. Change-Id: I208078d2200853389bf4eb114756cf4e9b719134 Signed-off-by: ljyanesm <yanes.luis@gmail.com>
2016-10-29Bug 506728 - Ref-qualified conversion operatorNathan Ridge2-2/+22
Change-Id: Ic5e1650bdd1235fd953ab79e44f801c0b52badf3
2016-10-28Cosmetics.Sergey Prigogin3-43/+12
Change-Id: Ibd8c8ac950c55c02259e9dfacb0649dfca8820dc
2016-10-28Bug 506668 - Name resolution problem with namespace alias in macroSergey Prigogin2-8/+26
expansion Change-Id: I15a0198c588cbb0e044392f47367679bb90180a6
2016-10-28Improved diagnostic messages in tests.Sergey Prigogin3-10/+28
Change-Id: I031061fa7ce8c7cf5af76f229ff9b93c411d1be3
2016-10-28Bug 505746 - A colon in the project name causes an NPEMarc Dumais1-3/+2
Doubled column character addressed in this patch. Change-Id: I942fbceeac231b2998fa808266f579509dc55295
2016-10-28Bug 397296 - Add missing keywords to the list of keywords for which ↵Nathan Ridge1-0/+22
completion is offered Change-Id: I3c08e736ec5ce8ef7a4c8954cd4e9548bf079d25
2016-10-27Bug 506170 - Calculate sizeof(double) correctlyNathan Ridge3-2/+10
Change-Id: Ie0b4767a81ed529e827d1b9decd4d065225e8e5b
2016-10-27Bug 395571 - Show name of nesting type when printing names of nested types ↵Nathan Ridge5-10/+31
in completions Change-Id: I2fc191403a6ead68d30b99e427a005109355baad
2016-10-27Revert "Bug 402498 - Apply declaredBefore() filtering to index bindings"Sergey Prigogin7-144/+57
This reverts commit fbccef3ff12c3d394e30a8bd1f1198512cff3161. Change-Id: I2b899750815200068dbe27b097f108b237d02447
2016-10-27Bug 417193 - Incorrect Symbol <X> could not be foundJoseph Henry1-10/+86
Fixed bug with mixing #pragma once with standard include guard. Change-Id: Ic418ab290f9d322d943bab56625ce1f0fe6b2aee Signed-off-by: Joseph Henry <joseph.henry@sas.com>
2016-10-26Removed redundant qualifiers.Sergey Prigogin1-3/+3
Change-Id: Ife57237b66199ac753c804141be1d77b6188caf6
2016-10-26Fixed an NPE.Sergey Prigogin1-3/+6
Change-Id: I20e5a2c2a452159224cd8af5a3e0c434801b67cc
2016-10-26Bug 496720 - Respect scope filters for AST-based checkersNathan Ridge1-2/+2
Change-Id: Ib96879ec50bdc5a14215abbe6d109bcf3767d4f4
2016-10-25Bug 506529 - NPE when organizing includesSergey Prigogin2-3/+34
Change-Id: Ib6780aefd2febff4ffb953ae36b1f4312922a5b8
2016-10-25Bug 303808: Move console actions to its own packageAlvaro Sanchez-Leon12-9/+35
Change-Id: I8188f69c08fee284c02aa34c2a4d9f29de3c13e7 Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2016-10-25Bug 303808: Remove GdbConsoleInvertColorAction and use preferencesAlvaro Sanchez-Leon7-53/+1
Change-Id: Ic99160ff208eb71457093003b4cf070a9dfda540 Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2016-10-25Added "PRESERVE" comment to protect some nodes from removal.Sergey Prigogin2-2/+33
Change-Id: I63038293cf66fb81fa30ab0d14f847d9c4bfea4d
2016-10-25Bug 303808: Add a Preference page for GDB CLI consolesAlvaro Sanchez-Leon17-73/+277
In addition, a new "Preferences" Action is available for the GDB CLI consoles so the user can easily find/adjust them. Change-Id: I8d2756683f92ca9b42454906dd600c97e1e07cd2 Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2016-10-24Bug 303808: Share GDB process streams among console pagesAlvaro Sanchez-Leon5-118/+183
The GDB process streams now stay opened regardless of the life-cycle of associated console views. This allows to close the Debugger Console view without affecting the debugging session. At the same time, closing and re-opening the Debugger Console causes new console pages to be created, but should not cause multiple jobs to read from the same input stream. Change-Id: Ief78aa2053e5a54514773a8f24f0a465364a7351 Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com> Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-10-24Bug 487764 - Add a highlighting for variables passed by non-const referenceNathan Ridge9-31/+225
The highlighting is disabled by default. Change-Id: I0b9e587c3b9d7206614937893d535825a4be99e5
2016-10-23Follow-up to the DependentValue refactoringNathan Ridge2-3/+4
Replace some uses of IntegralValue with DependentValue that were missed originally. Change-Id: Ieac5757c042378082c8d38f4883d7e495f64d208

Back to the top