1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

23570 commits

Author SHA1 Message Date
Alena Laskavaia
498bfb6509 converted codan test to use comment labels positioning
Change-Id: Ib389c90a8b10abac46399248f435428e27b6975b
2015-03-03 19:36:51 -05:00
Milivoje Legenovic
52794aa29c Bug 460551. C++11 Keyword 'final' not supported in code formatter
Change-Id: I87db78c4b848f2a469c8a0cd53caa6c60aa3adca
Signed-off-by: Milivoje Legenovic <duh-sa-sekirom@hotmail.com>
2015-03-03 23:37:29 +01:00
Nathan Ridge
bb4b74b367 Bug 345872 - Show correct override markers in the presence of multiple
iheritance

Change-Id: I6d9196d06d2077208ba246991ec712897c09a0df
Signed-off-by: Patrick Hofer <paedu.hofer@gmail.com>
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-03 14:32:16 -05:00
Nathan Ridge
4dd74cb463 Bug 451082 - Syntax-color 'alignof' and 'alignas' as keywords
Change-Id: Iffc19fa431df97a18a1906db73eeed280f5f2a09
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-03 03:46:32 -05:00
Nathan Ridge
d31d768681 Bug 402617 - Code completion for members of a field of a deferred class
instance

Change-Id: Idfd8535e62fa35bbed3385c5489fae81e65b64d5
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-03 01:59:48 -05:00
Marc Dumais
da922a8b01 Bug 458671 - [visualizer] add an example of using an image on graphic
object

Change-Id: Idf604db4d0138b489d9ceda81d5848a5e4698dbb
2015-03-02 13:07:48 -05:00
Marc Dumais
4d22e11d4b Bug 458644 - [visualizer] - enhance visualizer framework, to permit
displaying images on graphic objects

Change-Id: I298ccb690fff18f655e9b78b3efa56b0a6c8de29
2015-03-02 11:50:25 -05:00
Sergey Prigogin
0ea6663c22 An attempt to make testTemplateClassMethod_207320 test less flaky.
Change-Id: I44124e7ba53be1d59a6b89b14733a0bda4320257
2015-03-01 22:34:35 -08:00
Nathan Ridge
ce34d2d48e Bug 460080 - Template id inside special cast expression forming '>>'
Change-Id: I949cef0c6774c4c90edce921c2cc99f514ffea87
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-28 20:56:41 -05:00
Nathan Ridge
8607866e33 Bug 460741 - Type of conditional expression in C
Change-Id: I64f4fded197b31e60d81e2fbd5a2728aa8d8d8ce
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-28 20:55:45 -05:00
Alena Laskavaia
de3c23df86 adjusted message for comment checker
Change-Id: I68e6bf14340e38c7c623b444870596ab917c0b40
2015-02-27 20:17:57 -05:00
Marc-Andre Laperle
26a0202bb2 Set sonar.java.source in pom
That way we don't have to remember to set it in the Hudson job or manual
maven builds.

Change-Id: I7208ddaa15d8309b78be5991e64e0e88228d2a7d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-27 00:17:50 -05:00
Simon Marchi
539660d4f7 [dsf-gdb] gdb download script: add examples and print help if unsupported version is given
I got a feedback that the error message when passing an unsupported
version should be more helpful.

Change-Id: I3c925c500d6de787ca9bfce421eda6109e9f6415
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-26 18:26:42 -05:00
Marc Dumais
2ec6e11b2b Bug 460737 - [visualizer] enable MV to know which (cloned) instance it
is

Change-Id: I586dedab6df808f9e68600fa55fa1169b44defaf
2015-02-26 15:07:53 -05:00
Marc Khouzam
3642fbc5cd Bug 459972: Update all target files on master for o.e.remote 2.0
Change-Id: Ib9dc2ae0f4011e8db5ab09527c2b89b70ce95d16
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-26 00:22:17 -05:00
Alena Laskavaia
396b946015 codan - checker for comments
implement few code style rules for comments
- no line comments (sometimes enforced)
- no nested comments (no /* in block comment)

Change-Id: Ib4042a8ffab0dc1c5effd7b77ab6d2f51a1e6cae
2015-02-25 20:19:39 -05:00
Simon Marchi
0ba2118dc9 [dsf-gdb] debug tests: Adjust buffer sizes in MIMemoryTest to take word size into account
Change-Id: I1ffa59165c713609b25b9331c3d245094df4544e
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-24 22:26:43 -05:00
Sergey Prigogin
b1d0e96fc1 Cosmetics. 2015-02-24 10:52:18 -08:00
Alena Laskavaia
7f4a8de499 Fixed category name "&C/C++" (Removed &)
- looks like Mars now renders & in category names :)

Change-Id: Iaf568be59959f3477b6d203e15620e0ceec0095b
2015-02-24 13:37:32 -05:00
Marc Khouzam
b7bfd5fec4 Bug 458650: Remove change not directly related to NPE
Partial revert of commit 196d978624.

The removed change was causing a problem where the connectionCombo
pulldown was being set to its first element even for existing LC

Change-Id: I6888f2f783a303770d2924d0351b5dd7b5c055cc
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-24 08:54:01 -05:00
Marc-Andre Laperle
5664514d00 swtbot: Wait for the presence of a text pattern in the console view
Instead of relying only on a sleep, wait until the specified console
view has the specified text pattern.

Change-Id: I196ac1f1c04212c536b9bd5917156f24158df469
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-23 20:24:46 -05:00
Sergey Prigogin
6744ecdeab Cosmetics. 2015-02-23 16:28:26 -08:00
Sergey Prigogin
e424d5f1a3 Bug 460646 - Open Element doesn't work for a class inside an anonymous
workspace
2015-02-23 16:27:56 -08:00
Sergey Prigogin
0a69302022 Cosmetics. 2015-02-23 16:27:54 -08:00
Michi
151a5d30c5 Bug 460341 - Nested Template Specialization not properly resolved
Change-Id: I10564878dc0daacad58d164941d73749bf77e787
Signed-off-by: Michi <woskimi@yahoo.de>
2015-02-23 18:46:01 +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
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
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
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
Alena Laskavaia
10cb69009a removed mandatory sleeps to speed-up tests
Change-Id: Id55eb28cc5f98ccfaff9ab88eb6fff87352519d2
2015-02-19 08:32:01 -05: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
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