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

23989 commits

Author SHA1 Message Date
Doug Schaefer
0c59d09514 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
2015-10-24 13:09:16 -04:00
Doug Schaefer
15a087a3f4 Bug 480508 Add support for ttyACM serial ports.
Change-Id: I166c8d09c2ff59f113ceb82971b8d61e676f7b53
2015-10-24 13:06:53 -04:00
Benjamin Cabé
fabc2a02b9 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>
2015-10-22 13:22:36 +02:00
Doug Schaefer
8cc9e5f3f0 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
2015-10-21 22:22:41 -04:00
Doug Schaefer
a9034fa6e9 Bug 480334 - add dependency on CDT feature to make sure it's there.
Change-Id: I9445521483b680bdde4acb97dee556204a29de65
2015-10-21 22:22:16 -04:00
Doug Schaefer
79285aa3f0 Bug 480347 - Support utility folder for old Arduino libraries.
Change-Id: Ib25783b1d2b5a94757e3273ae0a2ada543e5c7e7
2015-10-21 22:21:24 -04:00
Doug Schaefer
948d0d13eb 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
2015-10-21 22:01:20 -04:00
Benjamin Cabé
31ef77b3b1 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>
2015-10-21 20:51:04 -04:00
Doug Schaefer
12acb6f54e Bug 480169 - Add proper support for platform libraries.
Change-Id: I3016ee6db3cd892f59b44d74d4181c30ca1b5b10
2015-10-21 19:25:42 -04:00
Doug Schaefer
a88d0eb0d9 Bug 480256 - Fix pattern for finding platform libraries
Change-Id: I781651c1204a7fb348271b69817260f0bf3beb81
2015-10-20 22:30:40 -04:00
Doug Schaefer
edd2025baa 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
2015-10-20 22:30:39 -04:00
Doug Schaefer
14b6ad286e Bug 480181 - Missing Arduino tools host choice for Linux
Change-Id: Icd47871214a21fcbc322b61abfb201d23b31ba7d
2015-10-20 12:14:51 -04:00
Doug Schaefer
8e38e98780 Bug 480114 Fix package URL dialog box. 2015-10-20 12:00:26 -04:00
Doug Schaefer
652943dfdf Bug 480077 Be more lenient on the *usbserial* port names.
Need to add support for /dev/tty.wchusbserial*.

Change-Id: I219070b7464eff1781baa57882c93d4b70032fb2
2015-10-18 21:08:27 -04:00
Marc-Andre Laperle
ca00512f6d 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 803bf0db80)
2015-10-14 10:23:51 -04:00
Doug Schaefer
063ab089db 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
2015-10-10 19:18:48 -04:00
Marc-Andre Laperle
b5b941ab33 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 5ffc733ead)
2015-10-09 15:14:09 -04:00
Thomas Corbat
c5aacf2a6b Bug 159803 - Console View Ignores EOF
Added statement to send end of transmission (ASCII 4) before close for
non-Windows PTY.

Change-Id: If98848a833f7619ce93277d05d39f3ba986a3cf4
2015-10-05 16:10:20 -04:00
Marc Khouzam
c87e334bf5 Point for 8.8 release
Change-Id: I8974e9a657f928f097a0d4e40f0e887288ccb8f1
2015-10-05 12:48:31 -04:00
Ivan Furnadjiev
96f0e9659c 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 a48852f21a)
2015-10-02 12:54:10 -04:00
Martin Schreiber
c4edcd8f07 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 2cf6b41bd2)
2015-10-02 12:52:44 -04:00
Ivan Furnadjiev
fdaf22169e 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 5cc4336072)
2015-10-02 09:30:55 -04:00
Marc-Andre Laperle
4f60df4024 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>
2015-09-24 13:42:23 -04:00
Marc-Andre Laperle
7e72f15f4e 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>
2015-09-23 17:12:23 -04:00
Martin Schreiber
e6c4bfcd6e 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>
2015-09-22 17:37:46 -04:00
Marc-Andre Laperle
1cfc8166d8 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>
2015-09-22 16:46:39 -04:00
Marc Khouzam
452916c430 Bug 477728 - Exit code not displayed in console for new Run config
Change-Id: Id1ecdffb5d3a99908f7ac4ee096f2b7f7e3d6440
(cherry picked from commit 366dcbb39a)
2015-09-17 14:28:36 -04:00
Marc-Andre Laperle
52d07e3933 Fix description and copyright for Remote CDT services feature
Change-Id: I0e4adb5efd15caaf740267b0d6a49e9c2372270a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-13 14:40:46 -04:00
Doug Schaefer
598690f75c Point at my copy of make.exe so we don't have to ftp equation.org.
Change-Id: Idf22a2eda8112550e5aa4172eae5d0fa49c9c1c2
2015-09-11 22:58:41 -04:00
Doug Schaefer
586937fc05 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
2015-09-11 12:01:00 -04:00
Doug Schaefer
97f85e0f6b Arduino also needs the Remote Console feature for the serial monitor.
Change-Id: I3e785d6dba5b698fe15c8b2d32e923c9be79edad
2015-09-09 13:47:12 -04:00
Doug Schaefer
4ba5681024 Fix template loading for packaged bundles. Remove src folder.
Change-Id: Ie0a00e36e6ffd4dc8fa920f6823c04cfd538cbeb
2015-09-09 11:27:04 -04:00
Doug Schaefer
919698379f Create a Preview category and add Arduino to it.
Change-Id: I29e4e4ffd5b72a549db5aa485db15939498a6ba0
2015-09-09 10:19:11 -04:00
Doug Schaefer
cd7319b883 [Arduino] Get things working on Windows again.
Change-Id: I0bc70a504fcc36cca36d646f35791c6c6fe08345
2015-09-08 13:58:40 -04:00
Doug Schaefer
d3e0ebc390 [Arduino] Force reindex when changing build configs.
Also fixes duplicate markers being created by the error parser.

Change-Id: I02d2430df40e62d8a329bfe0ea8728e06afca059
2015-09-08 11:06:46 -04:00
Doug Schaefer
eca5073324 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
2015-09-06 02:08:34 -04:00
Doug Schaefer
a887378f70 Arduino "menus" and stuff needed for ESP8266.
Change-Id: Ia275d697cb08b393445727a08768ca8d451c7537
2015-09-05 17:10:33 -04:00
Marc Khouzam
daf1be845c Bug 476589 - Cannot open a trace file in a post-mortem session
Change-Id: I0dbdb864d929f67286a2dbce32748df90b449754
2015-09-03 21:03:40 -04:00
Doug Schaefer
832f2bb899 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
2015-09-02 16:33:34 -04:00
Marc Khouzam
b5bdc32883 Bug 476432 - GDB version comparison fails for GDB 7.10
Move the new comparison method to LaunchUtils.

Change-Id: I97e5ff61ba1173525a5d1060e1b07ba2136eb49e
2015-09-02 14:02:50 -04:00
Marc Khouzam
377202feb1 Bug 476432 - GDB version comparison fails for GDB 7.10
Update sub-classes of GdbDebugServicesFactory.
Add safety checks around Integer.parseInt()

Change-Id: Ibc13c832840ebee2cf461df86fdfbdaadde2bcbf
2015-09-02 13:26:10 -04:00
Marc Khouzam
fa640a374a 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>
2015-09-02 11:19:23 -04:00
Doug Schaefer
a2e0c459bd Add description text for board and library install pages.
Change-Id: I6354ab5cc54e16df3ffe0d27fae0eec4158d9546
2015-08-31 21:35:05 -04:00
Doug Schaefer
3e704522ba 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
2015-08-27 09:42:00 -04:00
Jon Beniston
086de101df 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 708d6a6318)
2015-08-25 09:12:28 -04:00
Doug Schaefer
49cfd17ccb Arduino Library Support
Change-Id: Ifdc9075beba4002b1481576d07ed2d8d44e5c2da
2015-08-24 23:16:19 -04:00
Alena Laskavaia
4e1a3f4ff8 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 a288931a1b)
2015-08-24 13:08:25 -04:00
Marc-Andre Laperle
5136487f8e 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 2e90d6eaee)
2015-08-19 16:37:15 -04:00
Doug Schaefer
e79a534ba3 Remove dependency on apache http client. Don't need it.
Change-Id: Ic12222668217dab543e231bfbf2615757d6dc389
2015-08-18 21:20:45 -04:00
Marc Khouzam
b2a7580f0c Point cdt_8_8 build to its own location
Change-Id: I7f068d8a21f73af88f20a6a8bf67a97a9cdb173d
2015-08-17 11:36:59 -04:00