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

23787 commits

Author SHA1 Message Date
Sergey Prigogin
ad308251da Code streamlining. 2015-03-07 23:58:05 -08:00
Sergey Prigogin
7020c95a8b Cosmetics. 2015-03-07 23:45:29 -08:00
Alena Laskavaia
acbd1e14f8 codan: example of CElement checker - external invoke
Change-Id: I0b88fb611372ffdbcceda3d0588c9fb65486cb03
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-03-06 15:38:59 -05:00
Alena Laskavaia
dd528c19b6 codan: added AbstractCElementChecker class
this allows to run on translation unit but without index locking
useful for externl tools

Change-Id: If0788eee7d322aa4cafb7985e0c8f742c31369ae
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-03-06 15:38:44 -05:00
Doug Schaefer
6bd7355e47 Bug 459971 Windows native for Serial Port.
Not checking the binaries in until I get closer to the end. Still some
API changes I want to make to do more buffering.

Done as a Visual Studio 2013 project. I also brough winreg into that
sln file as I though I had to make a change in it but didn't in the
end. But really should bring them all.

Change-Id: I6e7d472763381cdc0ae558d8cd63993bb0460457
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
2015-03-06 13:14:25 -05:00
Doug Schaefer
3ad1ac66cf CQ 9334 - Add Apache Commons Compress to target
I am updating the cdt.p2 plug-in to be able to extract toolchains that
are packed up with different archivers and compressors. The Apache
Compress classes are great at dealing with that. CQ has been approved.

Change-Id: Icf72be97e918f2e54f2d41756435266f0dd46e4c
2015-03-06 10:50:09 -05:00
Alena Laskavaia
7ecd20efa9 codan: refactored external tool invoke to be more useful
Change-Id: Ide621e5541febe8fda784605ef4d5e23476669d4
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-03-05 15:18:31 -05:00
Marc Khouzam
f3457c7a55 Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-05 13:38:43 -05:00
Alena Laskavaia
82274d4060 added codan marker generator
its required for some cdt classes like console parsers

Change-Id: Ibde68774656a15c735dce08d5f3041dc56a7266f
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-03-05 09:19:54 -05:00
Alvaro Sanchez-Leon
6c8408c1d5 Remove Jetty from target definitions as this is no longer needed
Jetty has already been removed from the cdt-e4.5.target
However it's ocassionally causing errors in 4.4 and it's not
actually needed as it's now included in the platform.

This change removes Jetty from all available target files.

Change-Id: Iaff7497a8387c13b6bfc011b5ded905b134994da
2015-03-05 06:56:11 -05:00
Sergey Prigogin
c9a8d9e849 Removed a confusing comment. 2015-03-04 13:49:34 -08:00
Alena Laskavaia
0966863ef7 updated codan examples
Change-Id: I30bf2da294ec613917ce0f836f61709b1af9b513
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-03-04 14:28:26 -05:00
Alena Laskavaia
a1b9cc4fbd codan - tracing options for printing checker stats
Change-Id: Ia0d1be6fc6be6092ae4b1dac84dff24fb722b1d5
2015-03-04 14:27:39 -05:00
Marc Khouzam
7a245a2520 Bug 460837 - Provide setter for m_loadMetersEnabled
Change-Id: Ia7e4077146bead882a1dc5d21a04d176e54e07ac
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-04 11:48:08 -05:00
Matthew Khouzam
f517c704bc replace size()|length() > 0 with !isEmpty()
isEmpty is garantied to be as fast or faster than size and
length. It is also easier to read.

Change-Id: Ia768910c21313666aeab774963c0b6e82d825b44
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2015-03-04 10:33:47 -05:00
Marc Dumais
9105e2d42c Bug 460476 - [visualizer] make showing debug actions in toolbar
configurable

Change-Id: I860a0268c727f482fcc136031f8bd0cc11315831
2015-03-04 07:03:51 -05:00
Marc Dumais
d38aa32296 Bug 460837 - [visualizer] Add persistent information storage in the MV
Change-Id: I18bf08043c17f3bf4c1a2da86cbd6ef5b46d0120
2015-03-04 06:59:44 -05:00
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