1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00
Commit graph

34770 commits

Author SHA1 Message Date
Anton Leherbauer
d75f0dbf2e Bug 420928 - Terminal widget leaks memory
Change-Id: I38f62a629f0a11e9b5dc6e33147f0ea06777bd6c
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-02-20 09:52:06 -05:00
Anton Leherbauer
7a4a0a06bd Bug 420928 - Terminal widget leaks memory
Change-Id: I38f62a629f0a11e9b5dc6e33147f0ea06777bd6c
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-02-20 09:52:06 -05:00
Iulia Vasii
6b512c3be4 Bug 459296 - catch exception when 'Reset and Delay' field has invalid
value

Change-Id: Id1c7e3b54d7b9cedb4d8441d8735cd759df55236
Signed-off-by: Iulia Vasii <IuliaMadalina.Vasii@freescale.com>
2015-02-20 09:50:45 -05:00
Simon Marchi
e90766e72a Change some comments from non-javadoc to javadoc
This way, we can ctrl-click them.

Change-Id: Ic9dcf299e865deac57e4cc1a29ce11578c651b16
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-20 09:48:47 -05:00
Martin Oberhuber
3f280c4fc1 Terminals: [releng] Require tm.terminal 3.3.1 or later
Since TCF Terminals assumes xterm emulation, it requires a 
tm.terminal 3.3.1 or later widget, since bug fixes from the widget
are required for this to work properly.

Change-Id: I7be8f355067bf385bb6b4171a1fbd7cbd2f9c102
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2015-02-20 09:46:21 -05:00
Nathan Ridge
80c624f2c3 Bug 455828 - Don't be over-eager when collecting dead nodes in the
control flow graph

Change-Id: I54013e31a197c02698e3161f9f52755e4cb6b203
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-20 09:30:19 -05:00
Anton Leherbauer
65d0ec77c4 Terminals: Improve disconnect from local process
Better close streams first before destroying the process.
An interactive program will terminate on EOF anyway.
On Windows process destroy takes > 1s because cmd.exe
does not respond to Spawner.terminate().
2015-02-20 14:50:31 +01:00
Martin Oberhuber
afa83b3ffb [terminal][releng] Update tm.terminal version to 3.3.100
In order to account for bug fixes since LunaSR2 (which was 3.3.0)

Change-Id: Ic3999d38b8c8f4827114f0e7d4650d7bd9f76d7c
2015-02-20 13:38:58 +01:00
Martin Oberhuber
12f0136c24 [terminal][releng] Update tm.terminal version to 3.3.100
In order to account for bug fixes since LunaSR2 (which was 3.3.0)

Change-Id: Ic3999d38b8c8f4827114f0e7d4650d7bd9f76d7c
2015-02-20 13:38:58 +01:00
Martin Oberhuber
8a4bd7c366 Terminals: [releng] use https in team project set for easier push config
The https protocol should work through proxies just like http, so it
is easy for getting the initial code. But other than http, it also
allows pushing just by specifying the username and password generated
from Gerrit at https://git.eclipse.org/r/#/settings/http-password
This makes it preferable over git, ssh or other protocols.
2015-02-20 12:14:10 +01:00
Martin Oberhuber
5d0ca59ab1 Terminals: [releng] get o.e.remote from master in team project set
Change-Id: I91535fff958c7ef2820fee8cbfb8ba4de00f1ea2
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2015-02-20 12:07:17 +01:00
Uwe Stieber
988c243f07 Terminal: Fix Bug 448144 - accent characters do not work correctly
Improved logging of send characters
2015-02-20 10:27:33 +01:00
Uwe Stieber
5b23080143 Terminal: Fix Bug 448144 - accent characters do not work correctly
Improved logging of send characters
2015-02-20 10:27:33 +01:00
Uwe Stieber
47132a5b5f Terminal: Fix Bug 448144 - accent characters do not work correctly
Encode the byte to send for the currently selected encoding before
sending it to the terminal.

Change-Id: I0ed295163c6e5dd2fde19b8b562d76a8d775a78b
2015-02-20 10:09:47 +01:00
Uwe Stieber
19716c0ca7 Terminal: Fix Bug 448144 - accent characters do not work correctly
Encode the byte to send for the currently selected encoding before
sending it to the terminal.

Change-Id: I0ed295163c6e5dd2fde19b8b562d76a8d775a78b
2015-02-20 10:09:47 +01:00
Uwe Stieber
504226af17 Terminal: Fix Bug 460334 - Local terminal disconnects if typing german umlaut character 2015-02-20 09:43:30 +01:00
Uwe Stieber
dec3c0f563 Terminal: Fix Bug 460334 - Local terminal disconnects if typing german umlaut character 2015-02-20 09:43:30 +01:00
Matthew Khouzam
bb8cc948c4 clean up GDBTypeParser
Reduce function complexity and comply with java coding styles.
Convert some larger ifs to switches for performance sake.

Change-Id: Ief2672141511a1373cdd8a98e0fa2eeb564816e1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2015-02-19 17:09:29 -05:00
Marc Khouzam
74106910dd Bug 460370 - Remove reference to CDT project name in Welcome screen
Change-Id: I5532b0f4b2f1c47d45fab056769187bca1895427
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-19 13:46:31 -05:00
Alvaro Sanchez-Leon
33f85536b5 Bug 460241 - [Memory] Make tests run with different values of addressable size
Change-Id: I594071e3cee9a99d24dfcae3c080995610ffb533
2015-02-19 12:44:07 -05:00
Marc-Andre Laperle
8c0df4e50b Remove Jetty from 4.5 target
Both Jetty 8 and Jetty 9 were getting included in the target platform. It seems
that those two versions can't co-exist and Eclipse fails to start.

Change-Id: I33e94458b34c339f8bffa5f64830958fe00a2e2d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-19 10:10:32 -05:00
Uwe Stieber
f811ab6852 Terminal: Update the target platform definitions 2015-02-19 15:56:28 +01:00
Alena Laskavaia
10cb69009a removed mandatory sleeps to speed-up tests
Change-Id: Id55eb28cc5f98ccfaff9ab88eb6fff87352519d2
2015-02-19 08:32:01 -05:00
Uwe Stieber
08592ec36d Terminal: Move terminal logging into workspace state location (if exist) 2015-02-19 10:50:34 +01:00
Uwe Stieber
4b199bf5ef Terminal: Move terminal logging into workspace state location (if exist) 2015-02-19 10:50:34 +01:00
Uwe Stieber
73c38e44c7 Terminals: Bug 443046 -- Encoding is lost if restoring terminal sessions 2015-02-19 10:02:52 +01:00
Anton Leherbauer
ab0be06cdb Bug 460303 - Initial output of a local terminal might get wrapped at column 80
Make sure the layout of the terminal control happens before the terminal
is connected to the remote.

Change-Id: Ic12c93fb6fd459652836a5568f79f168a68d585f
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-02-19 09:39:36 +01:00
Anton Leherbauer
b39812c3fd Bug 460303 - Initial output of a local terminal might get wrapped at column 80
Make sure the layout of the terminal control happens before the terminal
is connected to the remote.

Change-Id: Ic12c93fb6fd459652836a5568f79f168a68d585f
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-02-19 09:39:36 +01:00
Uwe Stieber
e2e9e2f0d3 Terminal: Add missing runtime features to the category.xml 2015-02-19 08:47:50 +01:00
Uwe Stieber
cc90afa188 Terminal: SDK features includes corresponding runtime features instead
of just requiring them
2015-02-19 08:28:11 +01:00
Uwe Stieber
df694d61ef Terminal: SDK features includes corresponding runtime features instead
of just requiring them
2015-02-19 08:28:11 +01:00
Sergey Prigogin
b2f459e075 Bug 460183 - Template resolution problem with trailing-return-type
function in index

Change-Id: I87d1ef78b064d187b4dd204ce1e040b98418808b
2015-02-18 23:26:11 -05:00
Doug Schaefer
d2903f890e Bug 460298 Fix up dependencies so terminal features end up in repo.
Change-Id: Ie7ef999c90fd18909b5f4ba6f2dae968c3c9f490
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
2015-02-18 20:38:56 -05:00
Doug Schaefer
c95b82b541 Bug 460298 Fix up dependencies so terminal features end up in repo.
Change-Id: Ie7ef999c90fd18909b5f4ba6f2dae968c3c9f490
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
2015-02-18 20:38:56 -05:00
Nathan Ridge
43097ce04e Bug 455828 - Proper handling of 'switch' without explicit default
(including empty switch)

Change-Id: I3e20400f86c5e4273d8b0c62ed9ac3f429a84879
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-18 19:30:08 -05:00
Nathan Ridge
3586267e6b Bug 455828 - Proper handling of 'break' inside compound statement in a
case of a switch

Change-Id: I73329a8769bc20a4fc4e017faad627e03adce9d9
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-18 19:08:59 -05:00
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