1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-25 17:23:56 +02:00
Commit graph

35930 commits

Author SHA1 Message Date
Sergey Prigogin
340b507e38 Cosmetics. 2015-02-18 15:28:36 -08:00
Alena Laskavaia
3cf5ec86ee Bug 327375 control flow graph regression - dead connector nodes
basically for the code like
if (a) return 1; else return 2;
a++; // this should be a dead code node

but we don't check connector node of "if" and don't add
it to dead nodes graph resulting it this code not being marked as dead,
which can lead to false positives or false negatives for checkers that
use that. Same apply for other control statements...

Change-Id: Iafb4b48ca960f0ffab2c0265285a31cb08eb0d11
2015-02-18 16:42:59 -05:00
Marc Khouzam
3edc86361c Add cdt-e4.5.target file
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-18 16:27:49 -05:00
Martin Oberhuber
b643b03b7a Terminals: View stacking in JDT and PDE for Mars (no more Tasks View) 2015-02-18 18:05:49 +01:00
Marc Khouzam
78cd08f40d Allow for filtering of findbugs
Choose version 2.5.2 which is what is supported by CDT's HIPP.  Note that by removing the version altogether, the latest available findBugs would be selected.  However, this could lead to different results between manual builds and HIPP builds, which is why I thought it would be better to specify the version explicitly.

FindBugs can be run by adding the string

 findbugs:findbugs

as a maven parameter, either in a local maven build, or on HIPP.

Add releng/findbugs-exclude.xml to control the errors shown by FindBugs.
The content of that file was copied from the TM project, but should
eventually be ajusted for CDT.

Change-Id: Ibc8348b9286f00580a4079a7ca3c669708bc6194
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-18 11:50:43 -05:00
Simon Marchi
059db21d52 debug tests: Fix error in SyncUtil.fillMemory doc
Change-Id: I7b1ab19b52a9c080c569a95e9ea11cbd45d987cb
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-18 11:35:37 -05:00
Simon Marchi
5ad1f5c4c3 debug tests: MIMemoryTest: Use runToLocation when possible
Change-Id: I66f76039cecf5333826be1b75556437a059c71b9
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-18 11:35:36 -05:00
Simon Marchi
544dbb5af8 [debug tests] Remove superfluous breakpoint tag
There is a superfluous LINE_MAIN_BEFORE_THREAD_START that is causing
problems, remove it.

Change-Id: I57c4637ada0b5efda2848029e5216a13cf638067
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-18 11:34:54 -05:00
Uwe Stieber
4ac540bb75 Terminals: Allow customization of default shell used by the local
terminal
2015-02-18 16:25:02 +01:00
Greg Watson
849fa0e175 Merge "Bug 460067 - Update remote terminal to new API" 2015-02-18 09:56:57 -05:00
Uwe Stieber
bcf2bdc3ea Terminals: Adjust dependency to o.e.core.variables to also build in
Eclipse 3.8
2015-02-18 15:35:47 +01:00
Uwe Stieber
56c14796a0 Terminals: Adjust dependency to o.e.core.variables to also build in
Eclipse 3.8
2015-02-18 15:14:27 +01:00
Uwe Stieber
bcc7f05ec5 Findbugs: Update filter to exclude remaining RSE artifacts 2015-02-18 15:12:12 +01:00
Greg Watson
c3819f4d49 Bug 460067 - Update remote terminal to new API
Change-Id: I73d856d8fb65309ce667723b8729fa31f892cd34
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-02-18 08:42:03 -05:00
Greg Watson
c1a00f133c Bug 460067 - Update remote terminal to new API
Change-Id: I73d856d8fb65309ce667723b8729fa31f892cd34
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-02-18 08:42:03 -05:00
Uwe Stieber
49592b0d05 Terminals: Allow the use of Eclipse variables to specify the initial
local terminal working directory within the Terminals View preferences
2015-02-18 14:08:34 +01:00
Doug Schaefer
7fdd6f6e90 Fix up API @since tags against CDT 8.6.
Change-Id: I31966aa0dc312bb7ba77b6ce91eecd01ad4891ce
2015-02-17 23:43:49 -05:00
Simon Marchi
9ed8f75f74 Change word_size to wordSize
... to respect the coding style.

Change-Id: Ie68422182afad2532ce9238665bb06576fc3cc18
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-17 20:37:37 -05:00
Nathan Ridge
d0ef9d1d82 Bug 455828 - General cleanup in ControlFlowGraphBuilder
Change-Id: I46cfe23fc10bed235d091afaec8eec29dd7d62ac
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-17 20:07:04 -05:00
Doug Schaefer
cd65a29016 Bug 459972 - Update CDT to use o.e.remote 2.0.
Requires a couple of changes in the autotools plug-ins. Change the
4.5 target to refer to the remote 2.0 build and update the pom to
use the 4.5 target.

Also fixes autotools test so they run on the Mac.

Change-Id: I145de3ea3f14d61ffba7354ad0fa3e0ec2467e26
2015-02-17 14:48:08 -05:00
Greg Watson
72289d3ce6 Merge "Bug 460059 - Add handling of file scheme for Local connection." 2015-02-17 12:19:21 -05:00
Vladimir Prus
9471bc7bc1 Extract MIExpressions.getBasicType.
This permits derived classes to reimplement the logic for getting
expression value without copy-pasting the logic for getting type.

Change-Id: I21b048afaee8433d17e873b7aaf4f7b118edd107
2015-02-17 12:13:17 -05:00
Doug Schaefer
cf2f51f8ff Bug 460059 - Add handling of file scheme for Local connection.
LocalFileManager is renamed to LocalFileService to fit in with the
standard naming.

Change-Id: I2ac49c64346709bdde0f3b38034cefaea3df913f
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
2015-02-17 12:01:14 -05:00
Greg Watson
666decb0f7 Merge "Bug 460113: Fix IRemoteConnectionHostService definition for build-in SSH" 2015-02-17 11:45:13 -05:00
Uwe Stieber
5d84a80a39 Terminals: Bug 460065 - The SSH Terminal "disconnect" icon disappears
when a selection is made
2015-02-17 17:17:17 +01:00
Uwe Stieber
cf87ee533b Terminals: Bug 460064 - The Ctrl+Alt+T shortcut should pick up the
directory of the editor in focus
2015-02-17 16:02:41 +01:00
Greg Watson
12b86bff42 Remove some unneeded exceptions.
Change-Id: I019898868080900213663d53d1b943048ae7383c
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-02-17 09:52:00 -05:00
Bernd Hufmann
d3f785c9ea Bug 460113: Fix IRemoteConnectionHostService definition for build-in SSH
Change-Id: I6a1ee62017c792c33494f49844e3fb2bdfa98c10
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
2015-02-17 09:30:24 -05:00
Uwe Stieber
3c24c4231f Terminals: Fix invalid category ids for view and commands 2015-02-17 15:13:28 +01:00
Uwe Stieber
06c2bb5245 Terminals: Update target platform definition and team project set to
include o.e.remote from source repository
2015-02-17 14:47:39 +01:00
Marc Dumais
ae9445c5ae Bug 460015 - [visualizer] Make VisualizerThread "m_locInfo" field
protected instead of private

Change-Id: Idd6faafa39fae849839072a96dc8296ebd27652c
2015-02-17 08:31:48 -05:00
Alvaro Sanchez-Leon
ef889c26f9 Bug 459901 - [visualizer] The visualizer may display duplicate elements
Change-Id: I9fb3fb8f85ec51afde48a665e275c6080b9b9bab
2015-02-17 08:31:11 -05:00
Uwe Stieber
95bf963dd0 Terminals: Remove SWTBot from terminals target platform definition 2015-02-17 13:22:21 +01:00
Uwe Stieber
5f0f2461e2 Terminals: Re-add lost RSE features 2015-02-17 13:08:31 +01:00
Uwe Stieber
b2ff4955d5 Terminals: Update target platform definition 2015-02-17 13:06:37 +01:00
Uwe Stieber
0a5ca11382 Terminals: Update target platform definition 2015-02-17 13:01:51 +01:00
Uwe Stieber
97383321fb Terminal: Fix typo in pom.xml 2015-02-17 12:53:04 +01:00
Uwe Stieber
3642aec8d0 Terminal: Remove deprecated local terminal features and plug-in 2015-02-17 12:50:03 +01:00
Uwe Stieber
f525fb430b Terminal: Remove deprecated local terminal features and plug-in 2015-02-17 12:50:03 +01:00
Uwe Stieber
ed170d5400 Terminals: Switch minimal execution environment of all terminal plug-ins
to JavaSE-1.6
2015-02-17 12:47:17 +01:00
Uwe Stieber
5ed64c70e8 Terminals: Switch minimal execution environment of all terminal plug-ins
to JavaSE-1.6
2015-02-17 12:47:17 +01:00
Uwe Stieber
a5f258824b Terminals: Add terminals team project set 2015-02-17 12:24:34 +01:00
Uwe Stieber
daacaa21d5 Terminals: Add terminals target platform definition for Luna 2015-02-17 11:57:24 +01:00
Uwe Stieber
c50ea0d54c Terminals: Also move terminals core plugin 2015-02-17 11:00:41 +01:00
Uwe Stieber
c12b5e6736 Terminals: Move terminals plugins and features into separate directory structure 2015-02-17 10:32:24 +01:00
Sergey Prigogin
7e3a37be7b Revert "Revert "Bug 459940 - Sfinae in id-expression""
This reverts commit a3147f85b0.

The regression manifests itself only during indexing but doesn't produce unresolved symbols in C++ editor. Restoring the original change since the regression is relatively benign. Will continue to investigate.

Change-Id: I1fdfb4c31a0d5c08c3bc88baaf11d36c708cd883
2015-02-16 21:41:45 -05:00
Sergey Prigogin
a3147f85b0 Revert "Bug 459940 - Sfinae in id-expression"
This reverts commit 5e2c5d8491.

The change caused few regressions on my code base. Investigating.

Change-Id: I765b1fb5e730387ec3e91d4ecdfdb8c06db3e45e
2015-02-16 20:36:17 -05:00
Alvaro Sanchez-Leon
384e9759c4 Bug 459114 - [visualizer] Make it possible to override the construction of the data model
Change-Id: Ib2af550136fa3ca638fd970e3c2e40ddf597ba80
2015-02-16 13:44:26 -05:00
Doug Schaefer
275feb6874 Bug 459971 New SerialPort support. First step is Mac library.
Java classes are defined and a pretty simple native library for
Mac is there. Tested with Arduino so I know reading works. This
implementation should work for Linux as well. Windows is going to
be the hard one.

Not checking in the binaries yet until I get more testing with them.

Also remove ppc native libraries for Mac since that hasn't been
supported in a long time.

Change-Id: If4ffbc6e73a7656a47c2f45b875be0842c482b05
2015-02-16 13:19:54 -05:00
Uwe Stieber
97fa987881 Terminal: Revert commits 91db4b63c9 and 2c2dbb710b 2015-02-16 12:36:23 +01:00