1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 15:45:25 +02:00
Commit graph

23980 commits

Author SHA1 Message Date
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
Jonah Graham
7500101404 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 bd6fa94e63)
2015-08-17 11:28:50 -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