sdk/ide/org-eclipse-cdt.git
9 years agoBug 480603 - Deal with extra file in Intel's tarballs for Arduino.
Doug Schaefer [Mon, 26 Oct 2015 03:37:03 +0000 (23:37 -0400)]
Bug 480603 - Deal with extra file in Intel's tarballs for Arduino.

Change-Id: I575496e490959defe5fe978664bac87b7e53fede

9 years agoBug 480579 - Put platform libs into proper categories.
Doug Schaefer [Mon, 26 Oct 2015 00:20:07 +0000 (20:20 -0400)]
Bug 480579 - Put platform libs into proper categories.

I had created a category for platform libraries, but some of those
libraries actually belong to real categories. So, let's just use
them instead.

Change-Id: Ie94b546e4c21b2d6b545becc781ca0dc02f5379d

9 years agoBug 480109 - Force Shell on windows to be ComSpec (cmd)
Doug Schaefer [Sat, 24 Oct 2015 17:01:27 +0000 (13:01 -0400)]
Bug 480109 - Force Shell on windows to be ComSpec (cmd)

Change-Id: I35e7710c3a6eb27ba6d30a46fe1e585bd4296036

9 years agoBug 480287 Uncategorized libs were losing their parent.
Doug Schaefer [Sat, 24 Oct 2015 15:38:21 +0000 (11:38 -0400)]
Bug 480287 Uncategorized libs were losing their parent.

This badly affected the check behavior since it couldn't find it in
the tree.

Change-Id: Ic77c9d45568f31f9563d2c1a93040291e28b20df

9 years agoBug 480508 Add support for ttyACM serial ports.
Doug Schaefer [Sat, 24 Oct 2015 15:28:39 +0000 (11:28 -0400)]
Bug 480508 Add support for ttyACM serial ports.

Change-Id: I166c8d09c2ff59f113ceb82971b8d61e676f7b53

9 years agoBug 480407 - Arduino Yún name is mangled in the UI
Benjamin Cabé [Thu, 22 Oct 2015 11:22:36 +0000 (13:22 +0200)]
Bug 480407 - Arduino Yún name is mangled in the UI

Chain the FileReader (which uses default character encoding) with an InputStreamReader in order to force UTF-8 encoding

Change-Id: Ia32c079a18f580e36f1629182bfb829ab8f71c71
Signed-off-by: Benjamin Cabé <benjamin@eclipse.org>
9 years agoBug 480365 - Support Arduino Zero
Doug Schaefer [Thu, 22 Oct 2015 02:19:30 +0000 (22:19 -0400)]
Bug 480365 - Support Arduino Zero

Made a number of bad assumptions. This get us building for the Zero
and tested to make sure Uno and ESP8266 still work.

Change-Id: Ifed78af11969c7fba65754b9254d8a2eecf335ac

9 years agoBug 480334 - add dependency on CDT feature to make sure it's there.
Doug Schaefer [Thu, 22 Oct 2015 00:56:53 +0000 (20:56 -0400)]
Bug 480334 - add dependency on CDT feature to make sure it's there.

Change-Id: I9445521483b680bdde4acb97dee556204a29de65

9 years agoBug 480347 - Support utility folder for old Arduino libraries.
Doug Schaefer [Thu, 22 Oct 2015 00:38:51 +0000 (20:38 -0400)]
Bug 480347 - Support utility folder for old Arduino libraries.

Change-Id: Ib25783b1d2b5a94757e3273ae0a2ada543e5c7e7

9 years agoBug 480115 - Pick a board any board
Doug Schaefer [Thu, 22 Oct 2015 00:06:29 +0000 (20:06 -0400)]
Bug 480115 - Pick a board any board

If Uno isn't installed, pick the first board in the installed board
list instead so we have something and don't NPE.

Change-Id: I691c1a743d374a1950d00c084e74ff8a174efdc0

9 years agoBug 480345 - Invalid values in Arduino project properties
Benjamin Cabé [Wed, 21 Oct 2015 21:19:30 +0000 (23:19 +0200)]
Bug 480345 - Invalid values in Arduino project properties
Fix the enablement condition for ArduinoTargetPropertyPage.

Change-Id: Ib9d69d2cf03733a4a21cd0173a1e342f2549efb9
Signed-off-by: Benjamin Cabé <benjamin@eclipse.org>
9 years agoBug 480169 - Add proper support for platform libraries.
Doug Schaefer [Wed, 21 Oct 2015 02:53:17 +0000 (22:53 -0400)]
Bug 480169 - Add proper support for platform libraries.

Change-Id: I3016ee6db3cd892f59b44d74d4181c30ca1b5b10

9 years agoBug 480256 - Fix pattern for finding platform libraries
Doug Schaefer [Wed, 21 Oct 2015 01:20:45 +0000 (21:20 -0400)]
Bug 480256 - Fix pattern for finding platform libraries

Change-Id: I781651c1204a7fb348271b69817260f0bf3beb81

9 years agoBug 480253 - fix look up of menu properties for boards
Doug Schaefer [Wed, 21 Oct 2015 01:12:11 +0000 (21:12 -0400)]
Bug 480253 - fix look up of menu properties for boards

Also removes the old arduino.mk file. The new system works pretty well.

Change-Id: I8a954af055e162ed88eebb69c1812e77a6b74f0b

9 years agoBug 480181 - Missing Arduino tools host choice for Linux
Doug Schaefer [Tue, 20 Oct 2015 16:13:50 +0000 (12:13 -0400)]
Bug 480181 - Missing Arduino tools host choice for Linux

Change-Id: Icd47871214a21fcbc322b61abfb201d23b31ba7d

9 years agoBug 480114 Fix package URL dialog box.
Doug Schaefer [Tue, 20 Oct 2015 15:59:46 +0000 (11:59 -0400)]
Bug 480114 Fix package URL dialog box.

9 years agoBug 480077 Be more lenient on the *usbserial* port names.
Doug Schaefer [Mon, 19 Oct 2015 01:08:27 +0000 (21:08 -0400)]
Bug 480077 Be more lenient on the *usbserial* port names.

Need to add support for /dev/tty.wchusbserial*.

Change-Id: I219070b7464eff1781baa57882c93d4b70032fb2

9 years agoBug 458771 - Cannot refresh an editor in standalone debugger
Marc-Andre Laperle [Tue, 13 Oct 2015 19:13:46 +0000 (15:13 -0400)]
Bug 458771 - Cannot refresh an editor in standalone debugger

-Add Refresh command to File menu.
-Enable 'Refresh on Access' by default, like Eclipse for C/C++ package
-Reorder the File menu a bit so that Exit is last

Change-Id: I3636cd20da1a2523ca1574674cf6ebc59a124860
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
(cherry picked from commit 803bf0db80a7352841f0caa4e35ea7e7ecbbc2c6)

9 years agoImprove robustness of downloads and add license confirmation.
Doug Schaefer [Sat, 10 Oct 2015 23:18:48 +0000 (19:18 -0400)]
Improve robustness of downloads and add license confirmation.

Bad things were happening when the downloads of the tools and sdk
failed. Added retries and changed the order of the downloads so that
partial downloads aren't registered as complete.

Also added license confirmation dialog to make sure the user agrees
to the Arduino licenses before installing the tools and sdk.

Change-Id: Ie8f4fcd041d8e89195bc7d3551c63fd3270881ef

9 years agoBug 477082 - Cannot set a proxy for RCP standalone debugger
Marc-Andre Laperle [Tue, 15 Sep 2015 20:27:42 +0000 (16:27 -0400)]
Bug 477082 - Cannot set a proxy for RCP standalone debugger

Change-Id: I0e00b67ad513583d077a7e3470d321cd90435a33
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
(cherry picked from commit 5ffc733ead6946289fb88c7acbd11cecefe5ac37)

9 years agoBug 159803 - Console View Ignores EOF
Thomas Corbat [Wed, 9 Sep 2015 07:08:31 +0000 (09:08 +0200)]
Bug 159803 - Console View Ignores EOF

Added statement to send end of transmission (ASCII 4) before close for
non-Windows PTY.

Change-Id: If98848a833f7619ce93277d05d39f3ba986a3cf4

9 years agoPoint for 8.8 release
Marc Khouzam [Fri, 2 Oct 2015 15:29:35 +0000 (11:29 -0400)]
Point for 8.8 release

Change-Id: I8974e9a657f928f097a0d4e40f0e887288ccb8f1

9 years agoBug 475344: Don't create empty file-mapping entries in .cproject file
Ivan Furnadjiev [Wed, 19 Aug 2015 08:32:59 +0000 (11:32 +0300)]
Bug 475344: Don't create empty file-mapping entries in .cproject file

When file language mapping is reset back to inherit, empty (without
configuration, language and path attributes) file-mapping element is
created in .cproject file. This leads to project corruption.

Add a check for empty entry value in
LanguageMappingStore#addFileMappings.

475344: Broken .cproject file after file language mapping is reset to
inherit
https://bugs.eclipse.org/bugs/show_bug.cgi?id=475344

Change-Id: I6e7d0b8d1199501e087ce42b75f0d8e83fca77cd
Signed-off-by: Ivan Furnadjiev <ivan@eclipsesource.com>
(cherry picked from commit a48852f21a873b142c18f46b3f4086e8f76cd935)

9 years agoBug 474946 - Initialization Code must be run asynchronously
Martin Schreiber [Mon, 21 Sep 2015 13:30:21 +0000 (15:30 +0200)]
Bug 474946 - Initialization Code must be run asynchronously

Do the initialization asynchronously. If the service was initialized
during this class gets instantiated, it was re-instantiated and so a
StackOverflowException was produced. Now the initialization is done
asynchronously.

Bug: 474946
Change-Id: I15356c5f6e450d825d4f8615e2fba177409f5894
Signed-off-by: Martin Schreiber <m.schreiber@bachmann.info>
(cherry picked from commit 2cf6b41bd226ac862925b6a61c72ae9e2a867050)

9 years agoBug 475342: Fix CoreException of file language mappings reset to inherit
Ivan Furnadjiev [Wed, 19 Aug 2015 08:21:15 +0000 (11:21 +0300)]
Bug 475342: Fix CoreException of file language mappings reset to inherit

There is an assumption in
FileLanguageMappingPropertyPage#computeInheritedMapping that there is
only one overridden file mapping. If both project and workspace file
mappings have been overridden, a CoreException is thrown when they both
are reset to inherit together.

Change-Id: I5c845831ac446eaf65c782b4428b3b72a274fb23
Signed-off-by: Ivan Furnadjiev <ivan@eclipsesource.com>
(cherry picked from commit 5cc43360724772fefa127a28023b67d4f8133f1f)

9 years agoUpdate Tycho to 0.23.1
Marc-Andre Laperle [Tue, 22 Sep 2015 15:30:55 +0000 (11:30 -0400)]
Update Tycho to 0.23.1

See
https://wiki.eclipse.org/Tycho/Release_Notes/0.23#Milestone_0.23.1

Change-Id: I63a7204ab5f79194c24c69783da44a046f50d81c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoUpdate tycho-eclipserun to use Eclipse 4.5 instead of 4.4
Marc-Andre Laperle [Tue, 22 Sep 2015 15:26:25 +0000 (11:26 -0400)]
Update tycho-eclipserun to use Eclipse 4.5 instead of 4.4

That way we have less dependencies to download at build time.

Change-Id: I2caf9e7dfb98578ef376673bf2db749622d42289
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoBug 478018 - Updating the URLs to Mars release
Martin Schreiber [Tue, 22 Sep 2015 05:35:45 +0000 (07:35 +0200)]
Bug 478018 - Updating the URLs to Mars release

The cdt-e4.5.target and the Oomph setup file (Mars Repo List) are
pointing now to the Mars release UR.

Bug: 478018
Change-Id: Icff0c388f4422598d7ab22d056f9d97638a7b7fd
Signed-off-by: Martin Schreiber <m.schreiber@bachmann.info>
9 years agoBug 478074 - Maven builds don't show same error as Eclipse
Marc-Andre Laperle [Tue, 22 Sep 2015 15:09:57 +0000 (11:09 -0400)]
Bug 478074 - Maven builds don't show same error as Eclipse

Change-Id: I48d1cae2d0b4a386cb805259218046c175d2c7c7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoBug 477728 - Exit code not displayed in console for new Run config
Marc Khouzam [Thu, 17 Sep 2015 14:39:44 +0000 (10:39 -0400)]
Bug 477728 - Exit code not displayed in console for new Run config

Change-Id: Id1ecdffb5d3a99908f7ac4ee096f2b7f7e3d6440
(cherry picked from commit 366dcbb39a7d18756641058427bbec4f3d828b06)

9 years agoFix description and copyright for Remote CDT services feature
Marc-Andre Laperle [Sat, 12 Sep 2015 03:14:40 +0000 (23:14 -0400)]
Fix description and copyright for Remote CDT services feature

Change-Id: I0e4adb5efd15caaf740267b0d6a49e9c2372270a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoPoint at my copy of make.exe so we don't have to ftp equation.org.
Doug Schaefer [Sat, 12 Sep 2015 02:58:41 +0000 (22:58 -0400)]
Point at my copy of make.exe so we don't have to ftp equation.org.

Change-Id: Idf22a2eda8112550e5aa4172eae5d0fa49c9c1c2

9 years agoTry Arduino without adding things to the enviornment.
Doug Schaefer [Fri, 11 Sep 2015 16:01:00 +0000 (12:01 -0400)]
Try Arduino without adding things to the enviornment.

Full paths to tools seems to be the norm for the arduino platform
definitions. We're having trouble on Windows finding make so let's
try without then env and put the full path to make as well.

Change-Id: I0143c7b36d93a035ec07ded5b55859bcef7ce0d0

9 years agoArduino also needs the Remote Console feature for the serial monitor.
Doug Schaefer [Wed, 9 Sep 2015 17:47:12 +0000 (13:47 -0400)]
Arduino also needs the Remote Console feature for the serial monitor.

Change-Id: I3e785d6dba5b698fe15c8b2d32e923c9be79edad

9 years agoFix template loading for packaged bundles. Remove src folder.
Doug Schaefer [Wed, 9 Sep 2015 15:27:04 +0000 (11:27 -0400)]
Fix template loading for packaged bundles. Remove src folder.

Change-Id: Ie0a00e36e6ffd4dc8fa920f6823c04cfd538cbeb

9 years agoCreate a Preview category and add Arduino to it.
Doug Schaefer [Wed, 9 Sep 2015 14:19:11 +0000 (10:19 -0400)]
Create a Preview category and add Arduino to it.

Change-Id: I29e4e4ffd5b72a549db5aa485db15939498a6ba0

9 years ago[Arduino] Get things working on Windows again.
Doug Schaefer [Tue, 8 Sep 2015 17:58:40 +0000 (13:58 -0400)]
[Arduino] Get things working on Windows again.

Change-Id: I0bc70a504fcc36cca36d646f35791c6c6fe08345

9 years ago[Arduino] Force reindex when changing build configs.
Doug Schaefer [Tue, 8 Sep 2015 15:06:46 +0000 (11:06 -0400)]
[Arduino] Force reindex when changing build configs.

Also fixes duplicate markers being created by the error parser.

Change-Id: I02d2430df40e62d8a329bfe0ea8728e06afca059

9 years agoSupport for platform libraries for Arduino.
Doug Schaefer [Sun, 6 Sep 2015 06:08:34 +0000 (02:08 -0400)]
Support for platform libraries for Arduino.

Went to use the ESP8266 wifi library and couldn't since it's shipped
with the esp8266 platform.

Also fixed up a platform sdk problem that prevented the project from
building even after I added the library.

Change-Id: If99596f1f531f62f7553b238aa7cf0d6c426aca8

9 years agoArduino "menus" and stuff needed for ESP8266.
Doug Schaefer [Thu, 3 Sep 2015 00:51:40 +0000 (20:51 -0400)]
Arduino "menus" and stuff needed for ESP8266.

Change-Id: Ia275d697cb08b393445727a08768ca8d451c7537

9 years agoBug 476589 - Cannot open a trace file in a post-mortem session
Marc Khouzam [Thu, 3 Sep 2015 19:36:46 +0000 (15:36 -0400)]
Bug 476589 - Cannot open a trace file in a post-mortem session

Change-Id: I0dbdb864d929f67286a2dbce32748df90b449754

9 years agoAdd support for multiple board packages suppliers.
Doug Schaefer [Wed, 2 Sep 2015 02:39:10 +0000 (22:39 -0400)]
Add support for multiple board packages suppliers.

Default URLs for Arduino and the ESP8266 community. Preference page
to allow user to add their own.

Change-Id: I6b134712d3189ae3559cae3e412acd7d3b1df7f1

9 years agoBug 476432 - GDB version comparison fails for GDB 7.10
Marc Khouzam [Wed, 2 Sep 2015 18:02:50 +0000 (14:02 -0400)]
Bug 476432 - GDB version comparison fails for GDB 7.10

Move the new comparison method to LaunchUtils.

Change-Id: I97e5ff61ba1173525a5d1060e1b07ba2136eb49e

9 years agoBug 476432 - GDB version comparison fails for GDB 7.10
Marc Khouzam [Wed, 2 Sep 2015 17:12:32 +0000 (13:12 -0400)]
Bug 476432 - GDB version comparison fails for GDB 7.10

Update sub-classes of GdbDebugServicesFactory.
Add safety checks around Integer.parseInt()

Change-Id: Ibc13c832840ebee2cf461df86fdfbdaadde2bcbf

9 years agoBug 476432 - GDB version comparison fails for GDB 7.10
Marc Khouzam [Wed, 2 Sep 2015 15:19:23 +0000 (11:19 -0400)]
Bug 476432 - GDB version comparison fails for GDB 7.10

This version of the fix does not add APIs.

Change-Id: I707b4fe72061902ca471acf56a1c3aa00ca9b252
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
9 years agoAdd description text for board and library install pages.
Doug Schaefer [Tue, 1 Sep 2015 01:35:05 +0000 (21:35 -0400)]
Add description text for board and library install pages.

Change-Id: I6354ab5cc54e16df3ffe0d27fae0eec4158d9546

9 years agoBuild and Launch working on Windows.
Doug Schaefer [Thu, 27 Aug 2015 01:50:14 +0000 (21:50 -0400)]
Build and Launch working on Windows.

Had to convert backslashes in paths to forward slashes. Also had
figure out how to call the compiler for scanner info. Had to break
the command up myself into args.

Change-Id: I08f1438d8c17bb92a8871d4bd6e187af4e8a49f7

9 years agoBug 417895. Use tab instead of space between opcode and operand.
Jon Beniston [Thu, 20 Aug 2015 13:06:46 +0000 (14:06 +0100)]
Bug 417895. Use tab instead of space between opcode and operand.

This makes the disassembly easier to read.

Change-Id: I5f7d737f321aa05f5056a74af70794ee618f323c
Signed-off-by: Jon Beniston <jon@beniston.com>
(cherry picked from commit 708d6a6318c0c8c787792744b2826396c4b1a710)

9 years agoArduino Library Support
Doug Schaefer [Sun, 23 Aug 2015 02:26:30 +0000 (22:26 -0400)]
Arduino Library Support

Change-Id: Ifdc9075beba4002b1481576d07ed2d8d44e5c2da

9 years agoBug 471967: preference page does not show up - invalid values
Alena Laskavaia [Thu, 13 Aug 2015 15:46:48 +0000 (11:46 -0400)]
Bug 471967: preference page does not show up - invalid values

Change-Id: I01f0ff56dd76ded66e5b22f53130e5d865440384
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
(cherry picked from commit a288931a1bc06bd1ed4015eee19c515c17d028aa)

9 years agoAdd a new target to specify the API baseline
Marc-Andre Laperle [Tue, 18 Aug 2015 18:33:14 +0000 (14:33 -0400)]
Add a new target to specify the API baseline

Eclipse 4.5 now offers specifying API baselines using target files.
This is much more simple than having to install and maintain a
separate Eclipse installation. This patch adds a new
cdt-baseline.target containing all the CDT features from the CDT
project update site.

To use the baseline target:
1. Go to preferences, Plug-in Development, API Baselines
2. Add Baseline...
3. Select "A target platform"
4. Enter a name, "cdt-baseline" for example
5. Select cdt-baseline in the list (cdt-baseline.target)
6. Click refresh, Finish
7. Make sure you select the newly created baseline as the new default
8. Press OK

Change-Id: Id953b1719a41e2e4e64245c011d01e391305859c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
(cherry picked from commit 2e90d6eaee67332efba3cd2abacdfe3d1b1289d5)

9 years agoRemove dependency on apache http client. Don't need it.
Doug Schaefer [Wed, 19 Aug 2015 01:20:45 +0000 (21:20 -0400)]
Remove dependency on apache http client. Don't need it.

Change-Id: Ic12222668217dab543e231bfbf2615757d6dc389

9 years agoPoint cdt_8_8 build to its own location
Marc Khouzam [Mon, 17 Aug 2015 15:36:25 +0000 (11:36 -0400)]
Point cdt_8_8 build to its own location

Change-Id: I7f068d8a21f73af88f20a6a8bf67a97a9cdb173d

9 years agoBug 474179: Require file name to be absolute and exist
Jonah Graham [Fri, 7 Aug 2015 15:37:49 +0000 (16:37 +0100)]
Bug 474179: Require file name to be absolute and exist

When a file is not found, the debugger will be used to resolve it to an
absolute file. One of the side effects at the moment is that no
breakpoint marker is created in the editor for the file. To mitigate the
situation and reduce user confusion, until installed breakpoints can be
displayed in the UI don't allow users to create breakpoints on
non-absolute file names.

Change-Id: Ib69bfdfcde0c83fe6e20cacb0850d8ee907583a1
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
(cherry picked from commit bd6fa94e63387dbaf42ce0f5f426cf1f1b1b4d00)

9 years agoA good start on the error parsers/hyperlinks for Arduino.
Doug Schaefer [Mon, 17 Aug 2015 03:04:38 +0000 (23:04 -0400)]
A good start on the error parsers/hyperlinks for Arduino.

Change-Id: I5f3a3565970d177392ca6af569a3447aabe1be81

9 years agoBug 470538 - Build selected File(s) should create error/warning marker
Andrew Gvozdev [Tue, 11 Aug 2015 14:08:37 +0000 (10:08 -0400)]
Bug 470538 - Build selected File(s) should create error/warning marker

Change-Id: I0f37e3733299ab0e0db262a0194c9734b39eea94
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
9 years agoFix some trivial sonar warnings
Marc Khouzam [Mon, 10 Aug 2015 20:42:35 +0000 (16:42 -0400)]
Fix some trivial sonar warnings

Change-Id: I3da053a5fb4186a8cbbef73f58dc50d8b89bbd8e

9 years agoHooked up Arduino launch to new build configs.
Doug Schaefer [Thu, 13 Aug 2015 03:11:35 +0000 (23:11 -0400)]
Hooked up Arduino launch to new build configs.

Wow, this is slick. Launch delegate gets upload command from
build config.

Change-Id: I779625407877610f1405a48eab851b25d886165f

9 years agoScanner info with built-ins working for Arduino.
Doug Schaefer [Wed, 12 Aug 2015 18:37:51 +0000 (14:37 -0400)]
Scanner info with built-ins working for Arduino.

Change-Id: Ifa3ea76c11324e06fb7f735f5eb435f387fbbedc

9 years agoBug 474612 - Number format detail Shall report Error details of selected
Alvaro Sanchez-Leon [Mon, 10 Aug 2015 20:30:54 +0000 (16:30 -0400)]
Bug 474612 - Number format detail Shall report Error details of selected
items

Change-Id: Ie96e37912f8f32cd632a8bd6c4c0497fb5f27c5f

9 years agoCompleted new Arduino makefile generator and build.
Doug Schaefer [Wed, 12 Aug 2015 02:01:10 +0000 (22:01 -0400)]
Completed new Arduino makefile generator and build.

Change-Id: I0ab166174131b81361b7ee249cd0f178c9d6e5e2

9 years agoMuch progress on the Arduino build system.
Doug Schaefer [Tue, 11 Aug 2015 03:33:15 +0000 (23:33 -0400)]
Much progress on the Arduino build system.

Change-Id: I437621ed8af02abddc05852bf6c1b62b50f17a25

9 years agoBug 474327 - Update winpty-agent.exe for Windows 10
Anton Leherbauer [Thu, 6 Aug 2015 07:41:16 +0000 (09:41 +0200)]
Bug 474327 - Update winpty-agent.exe for Windows 10

9 years agoCosmetics.
Sergey Prigogin [Tue, 4 Aug 2015 17:28:52 +0000 (10:28 -0700)]
Cosmetics.

9 years agoFixed a couple of FindBugs errors in DSF examples.
Jesper Eskilson [Wed, 24 Jun 2015 07:53:55 +0000 (09:53 +0200)]
Fixed a couple of FindBugs errors in DSF examples.

Change-Id: Ibce2e1ec4f128900989c1420488bf2d1d636e6fc
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
9 years agoBug 469763 - DSF-GDB top-level service classes for better extensibility
Marc Khouzam [Wed, 22 Jul 2015 14:06:24 +0000 (10:06 -0400)]
Bug 469763 - DSF-GDB top-level service classes for better extensibility

Change-Id: Ie01af2df69a4c12bc3489ab5ecb76a3f5b6bfa79
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
9 years agoBug 474020 - [ASTRewrite] Nested modifications are suppressed by macros
Thomas Corbat [Fri, 31 Jul 2015 12:16:14 +0000 (14:16 +0200)]
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>
9 years agoMIRegistersTest fixes
Simon Marchi [Wed, 5 Aug 2015 19:24:05 +0000 (21:24 +0200)]
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>
9 years agoBug 436041 - doxygen tags are not generated when using single line format /// or //!
Martin Stumpf [Wed, 25 Jun 2014 21:37:23 +0000 (23:37 +0200)]
Bug 436041 - doxygen tags are not generated when using single line format /// or //!

Change-Id: I1c392d1ea360efcc62328ce1541a42439948706b
Signed-off-by: Martin Stumpf <stumpfpublic@gmail.com>
9 years agoReverted "Bug 393717 - Have constructor definitions reference implicitly
Sergey Prigogin [Wed, 5 Aug 2015 01:40:21 +0000 (18:40 -0700)]
Reverted "Bug 393717 - Have constructor definitions reference implicitly
called base constructors via implicit names"

Change-Id: Icb3614727b2da9ed8d0e97ee08c7d4ba7e6eef8d

9 years agoBug 460760: Revert Fix DsfSourceDisplayAdapter.openEditor change
Jonah Graham [Thu, 16 Jul 2015 18:14:04 +0000 (19:14 +0100)]
Bug 460760: Revert Fix DsfSourceDisplayAdapter.openEditor change

Revert "Bug 460760: Fix DsfSourceDisplayAdapter.openEditor to avoid
ignoring editor id set in SourceLookupResult "

This reverts commit 2af7d6d5926acc33f6faa6ccdf72863920eb54d0.

Change-Id: I0f2694605f95007ad1feac9a126365958d732bd4
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
9 years agoBug 473576 - If the enclosing element of a search result is a class
Nathan Ridge [Sun, 26 Jul 2015 04:35:09 +0000 (00:35 -0400)]
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>
9 years agoBug 473577 - If there are multiple markers on a line, give each one,
Nathan Ridge [Sun, 26 Jul 2015 05:59:37 +0000 (01:59 -0400)]
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>
9 years agoBug 473578 - Include "..." in the signature of a vararg function in
Nathan Ridge [Sun, 26 Jul 2015 03:50:06 +0000 (23:50 -0400)]
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>
9 years agoBug 473373 - Remove unneeded runtime dep on ant from autotools.docs bundle
Mat Booth [Thu, 23 Jul 2015 09:47:19 +0000 (10:47 +0100)]
Bug 473373 - Remove unneeded runtime dep on ant from autotools.docs bundle

Change-Id: I6bb5cf37bd2122e97ab8171b4eb12324fdb38b3a
Signed-off-by: Mat Booth <mat.booth@redhat.com>
9 years agoUse the formatter line length for margin.
Sergey Prigogin [Mon, 3 Aug 2015 18:38:08 +0000 (11:38 -0700)]
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

9 years agoBug 474054 - Null Pointer Exception in "Properties for C/C++ Watchpoint"
Alvaro Sanchez-Leon [Fri, 31 Jul 2015 18:24:23 +0000 (14:24 -0400)]
Bug 474054 - Null Pointer Exception in "Properties for C/C++ Watchpoint"
when deselecting the "Range" check box

Change-Id: I3ba0cac2bd3e8f9e52378d9d5cc0c25981369a6a

9 years agoBug 474050 - [memory] Add the context menu option "Add Watchpoint
Alvaro Sanchez-Leon [Fri, 31 Jul 2015 17:38:56 +0000 (13:38 -0400)]
Bug 474050 - [memory] Add the context menu option "Add Watchpoint
(C/C++)" to the Memory Browser view

Change-Id: I56887ed783b527a72ba74d5f3776d5adcc42ece9

9 years agoTypo in copyright header
Marc Khouzam [Fri, 31 Jul 2015 18:16:58 +0000 (14:16 -0400)]
Typo in copyright header

Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
9 years agoBug 473536 - [memory] Add a Find-Replace menu option to the memory view
Alvaro Sanchez-Leon [Fri, 24 Jul 2015 19:13:20 +0000 (15:13 -0400)]
Bug 473536 - [memory] Add a Find-Replace menu option to the memory view

Change-Id: I0adfae1c9bf0b65408c9a8e6230d5be14b728650

9 years agoUpdate plugin dependencies for the Stand-alone debugger RCP
Alvaro Sanchez-Leon [Mon, 15 Jun 2015 15:57:00 +0000 (11:57 -0400)]
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

9 years agoBuild stand-alone debugger RCP for Windows
Marc-Andre Laperle [Mon, 20 Jul 2015 17:44:28 +0000 (13:44 -0400)]
Build stand-alone debugger RCP for Windows

Change-Id: I50dae8e3cfb47c4db7f0354e57753055958e3d2c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoSome cleanup for Arduino CDT.
Doug Schaefer [Tue, 28 Jul 2015 19:58:25 +0000 (15:58 -0400)]
Some cleanup for Arduino CDT.

Change-Id: Ib2384053c1bf40d65c9e6e72c3146a3264abbf33

9 years agoSupport installing of board platforms using pref page.
Doug Schaefer [Tue, 28 Jul 2015 17:26:06 +0000 (13:26 -0400)]
Support installing of board platforms using pref page.

Change-Id: Ieaa9704027183a25657d2f4ec0f446949bb5e27f

9 years agoBug 473352 - [dynamic printf] The default printf format string does not support 64bit...
Anton Leherbauer [Mon, 27 Jul 2015 10:43:14 +0000 (12:43 +0200)]
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>
9 years agoFix typo: Aurdino -> Arduino
Marc-Andre Laperle [Mon, 27 Jul 2015 16:56:44 +0000 (12:56 -0400)]
Fix typo: Aurdino -> Arduino

Change-Id: Ic9a49e519a4eca85da756271a72243f59397e127
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoBump target sequence number to pick up latest changes automatically
Marc-Andre Laperle [Mon, 27 Jul 2015 15:36:24 +0000 (11:36 -0400)]
Bump target sequence number to pick up latest changes automatically

Change-Id: Id505cf0e0cc36aec7944649c75266d9aed5bea7e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoFollow-up on bug 439631 - escape also the path for function dynamic printf
Anton Leherbauer [Thu, 23 Jul 2015 14:07:13 +0000 (16:07 +0200)]
Follow-up on bug 439631 - escape also the path for function dynamic printf

9 years agoBug 447431 - Have ICPPASTSimpleTypeConstructorExpression reference the
Nathan Ridge [Sat, 25 Jul 2015 21:23:46 +0000 (17:23 -0400)]
Bug 447431 - Have ICPPASTSimpleTypeConstructorExpression reference the
called constructor via an implicit name

Change-Id: I8c1baf0bbe71d748e3849619613a74ea892db6ee
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 86654 - During binding resolution, replace virtual methods with
Nathan Ridge [Sun, 19 Jul 2015 06:17:15 +0000 (02:17 -0400)]
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>
9 years agoBug 472615 - Instantiate alias template found as binding for template-id
Nathan Ridge [Thu, 16 Jul 2015 08:08:08 +0000 (04:08 -0400)]
Bug 472615 - Instantiate alias template found as binding for template-id
in expression

Change-Id: I51aced984cfe87d4b2f2d4ebe359d65ce2845b6c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 389191 - NPE in CDocHover.getHoverInfo()
Nathan Ridge [Sat, 18 Jul 2015 06:24:04 +0000 (02:24 -0400)]
Bug 389191 - NPE in CDocHover.getHoverInfo()

Change-Id: Ied3f42206a5af49577bc487b3c40a1b87a02cd02
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 86654 - Cache final overrider maps in the AST
Nathan Ridge [Sun, 19 Jul 2015 02:29:21 +0000 (22:29 -0400)]
Bug 86654 - Cache final overrider maps in the AST

Change-Id: I33d79c160b7aa7b014042ea06e0b851abc9cb608
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 86654 - Extract the final overrider analysis used by
Nathan Ridge [Sun, 19 Jul 2015 02:21:55 +0000 (22:21 -0400)]
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>
9 years agoBug 393717 - Have constructor definitions reference implicitly called
Nathan Ridge [Fri, 24 Jul 2015 01:47:19 +0000 (21:47 -0400)]
Bug 393717 - Have constructor definitions reference implicitly called
base constructors via implicit names

Change-Id: Ib42a44488c5f5851a227295f075f028ff1aa7ded
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 472950 - Account for the possibility of statements inside
Nathan Ridge [Sat, 18 Jul 2015 05:28:00 +0000 (01:28 -0400)]
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>
9 years agoBug 460953 - SetCrossCommandWizardPage does not check for 'null' in
Alena Laskavaia [Tue, 21 Jul 2015 00:37:20 +0000 (20:37 -0400)]
Bug 460953 - SetCrossCommandWizardPage does not check for 'null' in
result for dialog.open()

Change-Id: I8bc947e5f72891138cd41fd781d5839d09381c51

9 years agoCosmetics.
Sergey Prigogin [Thu, 23 Jul 2015 05:12:24 +0000 (22:12 -0700)]
Cosmetics.

9 years agoReplaced impossible instanceof check in ASTQueries:
Thomas Corbat [Wed, 22 Jul 2015 06:50:11 +0000 (08:50 +0200)]
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>
9 years agoCleaned up random number generation in DSF examples.
Jesper Eskilson [Wed, 24 Jun 2015 07:28:53 +0000 (09:28 +0200)]
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>