1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-18 21:55:45 +02:00
Commit graph

24000 commits

Author SHA1 Message Date
Doug Schaefer
dae65dd9f3 Bug 481469 - Support new archive_file_path var in Arduino 1.6.9.
Change-Id: I1aa9473ad50418d908993c7b39929e5d73b34685
2015-11-05 12:56:45 -05:00
Doug Schaefer
365828b0fd Bug 480585 - Better handling of default config.
We no longer create a default config. Instead we use the Eclipse
default and select a default board for it. At build time though we
make sure we create a new one for it.

Change-Id: I11bd9e67f1df160d5a660d383eb37a74da8ec38c
2015-11-01 22:32:12 -05:00
Doug Schaefer
acf1d055c1 Bug 480577 - Add an empty tab group for Arduino launch configs
This prevents the error in the launch config dialog so you can delete
orphaned configs.

Change-Id: I9c33547a506b32260f4a258ec1911f32fd363df2
2015-11-01 21:59:31 -05:00
Doug Schaefer
c5cc857c99 Bug 481199 - Add support for cu.usb... devices on Mac.
Apparently needed by the Intel Arduino boards.

Change-Id: I5e1b7c3876dc042f8d8df2ba95df258157fd5c61
2015-11-01 18:39:02 -05:00
Sergey Prigogin
dc9dfa517b Bug 481161 - Namespace resolution problem with index
Change-Id: I2adaa53647bcd67f0a1058de4d44dbc808ff84a9
2015-10-30 16:29:16 -07:00
Sergey Prigogin
ef148a9ec5 Bug 472950 - Fixed an infinite loop in content assist inside a body of a
lambda.

Change-Id: I5194571ba8a88e67e9cc897be463c5e833700000
2015-10-30 16:29:06 -07:00
Doug Schaefer
2838a8621a Bug 480602 - Add delay to serial port close.
The FTDI drivers are slow at closing and don't wait for the close to
happen. Adds a one second delay. Also upgrades the project files for
VS 2015.

Change-Id: Iccb77f3c9f4b5dc73a9529c1d0eab940391ce95d
2015-10-28 22:38:27 -04:00
Doug Schaefer
4d22181892 Bug 480603 - Support Intel's crazy tarballs and such.
Includes +'s in file names. Also fixed up how we unpack the links
inside tarballs.

Change-Id: I09a7e6a4a6f1c2db91f3f429f313eaff67fc84db
2015-10-26 11:56:44 -04:00
Doug Schaefer
9e2f937a06 Bug 480603 - Deal with extra file in Intel's tarballs for Arduino.
Change-Id: I575496e490959defe5fe978664bac87b7e53fede
2015-10-25 23:37:03 -04:00
Doug Schaefer
e61edf0d66 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
2015-10-25 20:20:07 -04:00
Doug Schaefer
cf05b210bd Bug 480109 - Force Shell on windows to be ComSpec (cmd)
Change-Id: I35e7710c3a6eb27ba6d30a46fe1e585bd4296036
2015-10-24 13:30:45 -04:00
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