1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-27 02:45:32 +02:00
Commit graph

35735 commits

Author SHA1 Message Date
Uwe Stieber
dfa4b4d51f Terminals: Fix terminal settings dialog not revalidated on switching the terminal type 2015-02-23 09:12:10 +01:00
Uwe Stieber
15989a01cf Terminal: Clean up terminal control trace options 2015-02-23 07:36:33 +01:00
Uwe Stieber
38c52c3e43 Terminal: Clean up terminal control trace options 2015-02-23 07:36:33 +01:00
Alena Laskavaia
8968b8f2ca codan - code cleanup
Change-Id: I25f1047b9b07388adeeab38ba7679ac3109280fb
2015-02-22 22:06:50 -05:00
Christian Walther
3e7f1d284b Bug 355609 - Add -no-indexer argument to headless build
The indexer is mostly useless in a headless build and slows things down
- add an option to disable it.

Change-Id: I32560499923561acbcc0421ca77716232b18008a
Signed-off-by: Christian Walther <walther@indel.ch>
2015-02-21 22:11:11 -05:00
Alena Laskavaia
32d1a28f49 codan tests - removed sleeps and made sure it runs in non-ui thread
Change-Id: Ic684e647ea43968c7da35e0f9448e01e66c06e8f
2015-02-21 22:07:10 -05:00
Alena Laskavaia
2fca26b8e5 codan tests - make use of comment tags in tests
Change-Id: I822ea36bfa49164b43954ae80bc9fd223ae8d0f6
2015-02-21 22:06:56 -05:00
Morten Kristiansen
f680519739 [Bug 460131] Eclipse bin dir prepended to cross tool path
java.io.File is used to store the path to the cross tools.
getAbsolutePath is invoked before variables are expanded. Hence File
cannot see the path is already absolute and therefore prepends CWD.
Reverted to getPath, since conversion to full path would not make sense
anyway.

Change-Id: I13e5b2c0d7747741926a88e120d13003b910e8c6
Signed-off-by: Morten Kristiansen <millibit@gmail.com>
2015-02-20 21:41:04 -05:00
Marc Khouzam
9c05b3506a Add test suite for GDB 7.9 and move Automated Suite to use GDB 7.9
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-20 16:01:33 -05:00
Marc Khouzam
74bd3e0c66 Update script to support GDB 7.9
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-20 15:58:34 -05:00
Simon Marchi
7402cd3123 [dsf-gdb] Put back event assert in
MIMemoryTest.writeCharVarying{Address,Offset}

When we switched SyncUtil.readMemory to use queries, it exposed a race
condition with the asserts that check for the number of event received.
Basically, nothing guarantees that when the assert is evaluated the
event had the time to arrive.

We now use a ServiceEventWaitor to wait until the event arrives (with a
timeout, of course).

At the same time, rename word_size to wordSize.

Change-Id: I6f4b51e22f46625e20bbbdbac91cf70cfd864e5e
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-20 14:27:39 -05:00
Simon Marchi
7328220fe6 [dsf-gdb] Add expected message in MIMemoryTest.writeWithInvalidAddress
Change-Id: Id1f46c879669e3a428bbc8039ff6363be35a9cb6
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-20 14:14:00 -05:00
Simon Marchi
18a8a45323 debug tests: add missing massageTimeout
Change-Id: I6be611a345de90f36996151fb910449292938f15
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-20 14:09:12 -05:00
Marc Khouzam
61ee8133f2 Small cleanup in the tests.
Change-Id: I3236c0efc3de5dbc9b21ed33afbbaeb1439f4864
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-20 14:07:17 -05:00
Simon Marchi
6f0f5d1cc4 debug tests: Move some tests from AsyncCompletionWaitor to Query
Change-Id: Ic9860c369c8cc0cf4bf9d72d83c09e60a119e9b6
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-20 14:05:51 -05:00
Matthew Khouzam
b67e0bcc56 bug 454501: make replace private method with String.trim()
Change-Id: I5bb0fbc12ab70bdaa2b80c3367de92633834801e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2015-02-20 14:05:30 -05:00
Simon Marchi
315a204251 debug tests: Convert MIDisassemblyTest to queries
Change-Id: I15a3f49e50c55d42c66b901bf302ed01f974ae98
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-20 14:04:10 -05:00
Simon Marchi
989d77bf7a Make disassembly default end address relative to start
As it is now, if you pass a start address but no end address (null), the
disassembled range will be [startAddress, $pc + 100], which does not
quite make sense.

I think the intention was to have the default end address be whatever
the start address is, + 100.

Change-Id: I1399cc116ecde6cfbdb2f1ec54a181e64a7f4c5f
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-20 13:55:03 -05:00
Martin Oberhuber
3cbabbb4b8 Terminals: [releng] re-add terminals branding icon for about dialog
Change-Id: I853b3ffcc58724dc0733dfc89ee9162e8b2219b1
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2015-02-20 16:18:52 +01:00
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