1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 01:36:01 +02:00
Commit graph

24291 commits

Author SHA1 Message Date
Marc Khouzam
22fb739c9b Simple changes for Sonar warnings
Change-Id: Ic47b9cef191d1f59514327cdb2f612869da12b16
2015-08-17 09:27:51 -04:00
Marc Khouzam
f8292e1bc4 Simple changes for Sonar warnings
Change-Id: I180c828485beccd7944c61a8e58d42b909333a41
2015-08-17 09:27:31 -04:00
Marc Khouzam
dc4b8aaf58 Simple changes for Sonar warnings
Change-Id: I105e0cb90aa64dd7af6ac10a9a74d9e73e932a6f
2015-08-17 08:03:21 -04:00
Doug Schaefer
81f6bd0259 A good start on the error parsers/hyperlinks for Arduino.
Change-Id: I5f3a3565970d177392ca6af569a3447aabe1be81
2015-08-16 23:04:38 -04:00
Andrew Gvozdev
f635f6c7d8 Bug 470538 - Build selected File(s) should create error/warning marker
Change-Id: I0f37e3733299ab0e0db262a0194c9734b39eea94
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2015-08-14 07:42:26 -04:00
Marc Khouzam
7a16ca18f5 Fix some trivial sonar warnings
Change-Id: I3da053a5fb4186a8cbbef73f58dc50d8b89bbd8e
2015-08-13 16:12:46 -04:00
Doug Schaefer
fb9547a46c Hooked up Arduino launch to new build configs.
Wow, this is slick. Launch delegate gets upload command from
build config.

Change-Id: I779625407877610f1405a48eab851b25d886165f
2015-08-12 23:11:35 -04:00
Doug Schaefer
f38efe2a91 Scanner info with built-ins working for Arduino.
Change-Id: Ifa3ea76c11324e06fb7f735f5eb435f387fbbedc
2015-08-12 15:32:00 -04:00
Alvaro Sanchez-Leon
22e7d3a7ba Bug 474612 - Number format detail Shall report Error details of selected
items

Change-Id: Ie96e37912f8f32cd632a8bd6c4c0497fb5f27c5f
2015-08-12 13:27:34 -04:00
Doug Schaefer
fbee145ff0 Completed new Arduino makefile generator and build.
Change-Id: I0ab166174131b81361b7ee249cd0f178c9d6e5e2
2015-08-11 22:01:10 -04:00
Doug Schaefer
19629b7ab5 Much progress on the Arduino build system.
Change-Id: I437621ed8af02abddc05852bf6c1b62b50f17a25
2015-08-11 10:07:55 -04:00
Anton Leherbauer
64b26a87d5 Bug 474327 - Update winpty-agent.exe for Windows 10 2015-08-11 14:58:10 +02:00
Sergey Prigogin
fcc251f0b5 Cosmetics. 2015-08-10 17:06:34 -07:00
Jesper Eskilson
f07ed550d7 Fixed a couple of FindBugs errors in DSF examples.
Change-Id: Ibce2e1ec4f128900989c1420488bf2d1d636e6fc
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2015-08-10 11:27:25 -04:00
Marc Khouzam
0d7432318e Bug 469763 - DSF-GDB top-level service classes for better extensibility
Change-Id: Ie01af2df69a4c12bc3489ab5ecb76a3f5b6bfa79
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-08-10 10:47:49 -04:00
Thomas Corbat
7168d36c58 Bug 474020 - [ASTRewrite] Nested modifications are suppressed by macros
Added further check to isStatementWithMixedLocation return false if all
macro expansions are further enclosed in child statements.

Change-Id: Ida6994adbbf76674c37a4c1c214aeea79b4963f2
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-08-07 02:11:37 -04:00
Simon Marchi
6ed3ce5fce MIRegistersTest fixes
- Fix getModelDataForRegisterDataValueInDifferentNumberFormats failure

Nothing seems to set the register we use to do the test to a particular
value.  The value happened to be 0.  This broke the octal test, because
it assumes that the result starts with a 0, but has characters after
that 0.  This is not true when the result is 0.  The fix is to set the
register to a know value beforehand (0x1234).

- Fix compareRegisterForMultipleExecutionContexts for slow targets by
adding missing massageTimeout.

Change-Id: I681acdeb08f8e3c2fdaf8dc9cf60801584da4423
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-08-06 14:47:38 -04:00
Martin Stumpf
1386247a0e Bug 436041 - doxygen tags are not generated when using single line format /// or //!
Change-Id: I1c392d1ea360efcc62328ce1541a42439948706b
Signed-off-by: Martin Stumpf <stumpfpublic@gmail.com>
2015-08-05 15:22:59 +02:00
Sergey Prigogin
f6828f8daf Reverted "Bug 393717 - Have constructor definitions reference implicitly
called base constructors via implicit names"

Change-Id: Icb3614727b2da9ed8d0e97ee08c7d4ba7e6eef8d
2015-08-04 19:02:32 -07:00
Jonah Graham
ad52facf4e Bug 460760: Revert Fix DsfSourceDisplayAdapter.openEditor change
Revert "Bug 460760: Fix DsfSourceDisplayAdapter.openEditor to avoid
ignoring editor id set in SourceLookupResult "

This reverts commit 2af7d6d592.

Change-Id: I0f2694605f95007ad1feac9a126365958d732bd4
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-08-04 13:50:28 -04:00
Nathan Ridge
7237fa8ac6 Bug 473576 - If the enclosing element of a search result is a class
member, include the class name in the search view

Change-Id: Idbf86a22c9000328aecbab50f3f562f721bb64f6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-08-03 19:44:54 -04:00
Nathan Ridge
3b4d359fa6 Bug 473577 - If there are multiple markers on a line, give each one,
from top to bottom, a chance to handle a click

Change-Id: I294b5511e65dfe593dfbb58beda6888da1870779
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-08-03 19:44:30 -04:00
Nathan Ridge
0292fcf135 Bug 473578 - Include "..." in the signature of a vararg function in
element selection dialogs

Change-Id: I9d44e3067b07035df3a0c1ad8674bcc6c83e4add
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-08-03 19:43:31 -04:00
Mat Booth
c9a1d984ca Bug 473373 - Remove unneeded runtime dep on ant from autotools.docs bundle
Change-Id: I6bb5cf37bd2122e97ab8171b4eb12324fdb38b3a
Signed-off-by: Mat Booth <mat.booth@redhat.com>
2015-08-03 19:42:52 -04:00
Sergey Prigogin
566dc53c92 Use the formatter line length for margin.
There is a similar change in JDT:
https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=6d5249a7460d4eadb7933705626efb5fbb168d42
2015-08-03 11:38:37 -07:00
Alvaro Sanchez-Leon
93b7f29f9d Bug 474054 - Null Pointer Exception in "Properties for C/C++ Watchpoint"
when deselecting the "Range" check box

Change-Id: I3ba0cac2bd3e8f9e52378d9d5cc0c25981369a6a
2015-08-03 08:42:02 -04:00
Alvaro Sanchez-Leon
64243f4a4c Bug 474050 - [memory] Add the context menu option "Add Watchpoint
(C/C++)" to the Memory Browser view

Change-Id: I56887ed783b527a72ba74d5f3776d5adcc42ece9
2015-08-03 08:41:07 -04:00
Marc Khouzam
be1be83027 Typo in copyright header
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-07-31 14:16:58 -04:00
Alvaro Sanchez-Leon
ee31cb921d Bug 473536 - [memory] Add a Find-Replace menu option to the memory view
Change-Id: I0adfae1c9bf0b65408c9a8e6230d5be14b728650
2015-07-30 13:29:54 -04:00
Alvaro Sanchez-Leon
abe742264a Update plugin dependencies for the Stand-alone debugger RCP
This change will make it work when launching from Eclipse
This is not necessary when building as tycho resolves the dependecies

Change-Id: I914405e3a1fc43238717fd05b872584fc0c1c561
2015-07-30 11:10:10 -04:00
Marc-Andre Laperle
c137a9dfbc Build stand-alone debugger RCP for Windows
Change-Id: I50dae8e3cfb47c4db7f0354e57753055958e3d2c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-07-28 23:21:29 -04:00
Doug Schaefer
7571170de6 Some cleanup for Arduino CDT.
Change-Id: Ib2384053c1bf40d65c9e6e72c3146a3264abbf33
2015-07-28 15:58:52 -04:00
Doug Schaefer
8d2489c8ac Support installing of board platforms using pref page.
Change-Id: Ieaa9704027183a25657d2f4ec0f446949bb5e27f
2015-07-28 15:29:35 -04:00
Anton Leherbauer
9b8aa0e12c Bug 473352 - [dynamic printf] The default printf format string does not support 64bit addresses
Change-Id: I85a8281d409c3a6d164bdb3434b197ab57c656c9
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-07-28 09:15:56 +02:00
Marc-Andre Laperle
18ca0c7583 Fix typo: Aurdino -> Arduino
Change-Id: Ic9a49e519a4eca85da756271a72243f59397e127
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-07-27 12:56:44 -04:00
Marc-Andre Laperle
bbc1b11d23 Bump target sequence number to pick up latest changes automatically
Change-Id: Id505cf0e0cc36aec7944649c75266d9aed5bea7e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-07-27 11:36:24 -04:00
Anton Leherbauer
124ba056ee Follow-up on bug 439631 - escape also the path for function dynamic printf 2015-07-27 12:43:47 +02:00
Nathan Ridge
a1cc0b1d07 Bug 447431 - Have ICPPASTSimpleTypeConstructorExpression reference the
called constructor via an implicit name

Change-Id: I8c1baf0bbe71d748e3849619613a74ea892db6ee
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 17:23:46 -04:00
Nathan Ridge
b82275a4c0 Bug 86654 - During binding resolution, replace virtual methods with
their final overrider where appropriate

Change-Id: I5d6ef9ca5cf8dd4461255ef59ee3384f5060ee4e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 16:49:12 -04:00
Nathan Ridge
cb7f0f3462 Bug 472615 - Instantiate alias template found as binding for template-id
in expression

Change-Id: I51aced984cfe87d4b2f2d4ebe359d65ce2845b6c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 13:08:06 -04:00
Nathan Ridge
95aa27858c Bug 389191 - NPE in CDocHover.getHoverInfo()
Change-Id: Ied3f42206a5af49577bc487b3c40a1b87a02cd02
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 13:07:32 -04:00
Nathan Ridge
8af3f1df86 Bug 86654 - Cache final overrider maps in the AST
Change-Id: I33d79c160b7aa7b014042ea06e0b851abc9cb608
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 04:00:35 -04:00
Nathan Ridge
d9a2c02fbf Bug 86654 - Extract the final overrider analysis used by
SemanticQueries.getPureVirtualMethods() so it can be reused

Change-Id: I5a48bdc3111ac75f2c1ca4f5595fe86defd686b8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-24 18:09:03 -07:00
Nathan Ridge
b0d8f8d3f1 Bug 393717 - Have constructor definitions reference implicitly called
base constructors via implicit names

Change-Id: Ib42a44488c5f5851a227295f075f028ff1aa7ded
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-24 21:00:29 -04:00
Nathan Ridge
005d40d228 Bug 472950 - Account for the possibility of statements inside
expressions in some of the parser's heuristic checks

Change-Id: Ia91a00b91e0050838e990d1daad81b524816f8d0
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-24 20:56:19 -04:00
Alena Laskavaia
4459b9a317 Bug 460953 - SetCrossCommandWizardPage does not check for 'null' in
result for dialog.open()


Change-Id: I8bc947e5f72891138cd41fd781d5839d09381c51
2015-07-23 14:37:43 -04:00
Sergey Prigogin
4e6eb33e1f Cosmetics. 2015-07-22 22:12:24 -07:00
Thomas Corbat
f2a86c5b5e Replaced impossible instanceof check in ASTQueries:
It does not make sense for findTypeRelevantDeclarator to check whether
the innermost declarator (result) is of type IASTArrayModifier:
- There is no common subtype of IASTDeclarator and IASTArrayModifier.
- IASTArrayModifier are attached to IASTArrayDeclarators but they are
not resolved as nested declarators.
- Similar to the existence of pointer operators, the resolution of the
innermost type relevant declarator should stop at array declarators.

Change-Id: I9c3673f60a48245eb51ccc8cb94757b87abf0265
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-07-22 08:54:14 +02:00
Jesper Eskilson
7542722436 Cleaned up random number generation in DSF examples.
Fixed two FindBugs problems: (1) doing Math.abs(random.nextInt()) (which
may be negative if nextInt() returns Integer.MIN_VALUE), and (2)
creating a new Random() object for each nextInt() invocation.

Change-Id: I037a8f6c6c875c951a20beb315c54dc3759c963f
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2015-07-21 16:13:35 -04:00
Marc Khouzam
bb50c58c02 Bug 473098 - Reflect tp action changes from while-stepping
The action changes were not immediately shown when changes were done
from the while-stepping action dialog

Change-Id: I36c4b366f0fd97d0a5c939b17eda5e6cd696d89d
2015-07-21 12:58:22 -04:00