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

24639 commits

Author SHA1 Message Date
Doug Schaefer
ee7f9a49da Bug 495351 - Fix buttons on Arduino Download Dialog.
On Windows, OK and Cancel are reversed. Instead of making Cancel
invisible, dispose it so it's gone. Also rename OK to Done.

Change-Id: I37a63f431d71797c442c13389ead4bab9d08a8b1
2016-06-23 13:16:29 -04:00
Doug Schaefer
01ae529864 Bug 481747 - Final fix to get chipKIT working.
Change-Id: I94b99d42a9d1729ae6afd0f799931cd7c350ac86
2016-06-23 02:39:37 -05:00
Doug Schaefer
452d57aa7a Things I do to get Intel Arduino Working.
Use versions in platform installs just like tools. Make sure those
version numbers don't have +'s in them since it screws up Freemarker.
Add cheat in so that the Intel toolchains extract properly.

Change-Id: I7f4e6a92844461b6cbfe21436151d876558a4d2a
2016-06-23 00:23:05 -05:00
Marc Dumais
3447d2a00a bug 452356 - using o.e.remote: issues with remote browse dialog
This patch addresses an issue in the "Select Remote C/C++ Application
File" browse dialog: 
- The remote browse dialog's selected file or directory is still used 
in the launch configuration, even if the user cancels the browse dialog

Change-Id: Ib535254d681a349b2aadfe91adfc73d633a16e90
(cherry picked from commit 9dc70ec8a5)
2016-06-21 11:30:04 -04:00
Doug Schaefer
909e2294b1 Bug 487634 - remove hack for esptool.
Added ESP8266 boards to tests.

Change-Id: I3e2bc87338fc0f4e7fc64f278935d986ce7b8429
2016-06-19 17:15:26 -04:00
Doug Schaefer
9e17fbca4f Bug 492006 Add support for using programmers for uploads.
Needed by a few boards, Gemma famously. Adds UI to select a programmer
for a board and using it if upload.protocol isn't set for the board
(same as the Arduino IDE).

No support for the Burn Bootloader menu item yet, but we're closer.

Change-Id: I5d550b96191fdd1bd18da3daf69bbf7504bfa241
2016-06-19 15:30:34 -04:00
Doug Schaefer
2d87281d09 Bug 492006 - Get ATtinyCore building.
These boards don't have variants so now handle when they're missing.

Includes change to order the properties so that the default menu
selections are the same as in the Arduino IDE.

Change-Id: Ibcc69e2399a92f513964ef6500c1b1766021cd39
2016-06-18 02:13:58 -04:00
Doug Schaefer
7f494ba112 [Arduino] Fix Makefile template to use new libraries layout.
We removed the version from the file path and forgot to update the
Makefile template to take that into account.

Change-Id: I7ab74723554561f86674ef22e38fff6153526912
2016-06-17 10:59:48 -04:00
Doug Schaefer
e3e551cfc8 Bug 485992 - Add support for libs with parens and assembly files.
The AVR Timer Library has this.

Change-Id: I595ed64d2d6d56e17cbbb503875b07afb77ec199
2016-06-16 22:16:00 -04:00
Doug Schaefer
0c257b0bbd Bug 487633 - Arduino support build.system.path for Due.
Change-Id: I4ef4de8ed34c5fc412830ca9789bc5becb883911
2016-06-16 19:44:25 -04:00
Doug Schaefer
0bd96c77ef Bug 496187 Clean up the add Qt Install UI.
Change-Id: I2a315366690dc68d18bfff2bfde4c8fb58cf509c
2016-06-16 16:38:23 -04:00
Doug Schaefer
ab4138f805 Arduino Integration tests passing on Linux and weirdo Windows platform.
Change-Id: Ie7c34003fb12a513d14bbe8c189f0c578891d47f
2016-06-15 13:10:59 -07:00
Doug Schaefer
96ef6bcb78 Make sure Arduino intergration tests complete on Windows.
Change-Id: Ia82d07849434376c606885a3728e2eebedfa4428
2016-06-06 23:08:08 -04:00
Marc Khouzam
baf20dea39 Update Orbit for Neon
Change-Id: I631d0e768bc17890a2147b16138b5a57152947d1
2016-06-06 16:02:33 -04:00
Doug Schaefer
8990e95620 [Arduino] Fix up derivation of upload command.
Change-Id: I97caa1e9ca954d1a60a1fe9e73daa3cf2e0d439e
2016-06-06 14:01:00 -04:00
Marc Khouzam
66f822e464 Fix wrong javadoc
Change-Id: Ie4388f47fad9a1ed760fbe4576e01d408c0ca6ba
2016-06-06 10:43:00 -04:00
Doug Schaefer
8e5b38f590 Bug 480392 - add inter-platform references and integration tests.
Now have an integration test that builds an empty project for all
boards we can enter into it. This change fixes a bunch of the bugs
that were found making it.

Change-Id: Id62919abd419ac4fef986d620c32ac328eb2cf40
2016-06-06 02:03:55 -04:00
Doug Schaefer
3d27785ea7 Qt feature depend on LaunchBar.
We can launch new build system features using the existing launch
configuration delegates since they assume old build configs.

Since Qt is still preview. This will have to do now until we can
figure a way to support both build systems with those delegates.

Change-Id: I61074d3f5d3481222f75a887b3b2b59fdfa4d9eb
2016-06-03 19:24:08 -04:00
Doug Schaefer
b5b78c64d6 Bug 495044 - Fix launching for msys2
Not sure how this was working my desktop machine, but in my home
environment, I ran across an issue where the macros weren't resolved
in the ICdtVariables used for the launch. They need to be resolved.

I think took a look at the debug launch because it was also failing.
As I found out, the GdbLaunchDelegate wasn't using the new GDBLaunch
getVersion routine and was using the deprecated method in launch utils.

Change-Id: I63076833fc444c6df7f758e08df67c1c6f9d9f72
2016-06-03 12:14:12 -04:00
Marc-Andre Laperle
c62b5f8ae6 Sign the stand-alone debugger on Mac
The mac signing has to happen between materialize-products and
archive-products goals. Because we only want to do it when the
production profile is enabled (eclipse.org server), we have to duplicate
some xml to fit the macsigner between the two. I did extract some
variables in order to make the duplication less error prone.

Change-Id: I523c287c0e1dff15026e1007fa2831af6d14003a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-06-03 01:17:15 -04:00
Doug Schaefer
dd53919fb3 Fix up mixing of MSYS2 and Qt MinGW and 64/32-bit toolchains.
And fix up autodiscovery and launching on Linux. And disable
debug_and_release in all platforms. win32 adds it automatically.

Change-Id: If079f83645893d5132b6a459132123f33e5b28f2
2016-06-02 21:07:23 -04:00
Nathan Ridge
e6e5c4483d Bug 495095 - Disable parameter guessing for CDT 9.0
Change-Id: Iee60d904a725a0ed50b21de2f85cbcf01df09aed
2016-06-02 12:27:13 -04:00
Doug Schaefer
45a6d17001 Bug 495044 - Use build config env vars on local Run launch too.
We have this functionality for debug but didn't for run. When using
the MSYS2, you need that environment to setup the paths to the DLLs
it uses.

Change-Id: Idcb4400efd609d72b5ed587d5ba90777bec8a4d3
2016-05-31 14:15:31 -04:00
Jonah Graham
68dbbc0a88 Bug 494650: prevent UI hang multiple launches terminated
This prevents a deadlock where two different Executor threads are both
listening to changes on the same launch configuration (e.g. when the
same launch configuration is launched twice).

See Bug 494650 for more details and information on the master branch
which has a fuller, more involved fix.

This change is a continuation of:
  commit 6283890715
  Bug 472765: Use gdb's "set substitute-path from to"

Change-Id: I7615e34a949d7766c178025923cdab920250a591
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-05-30 21:31:20 +01:00
Doug Schaefer
9e0d307cdf Change the way default configs are handled.
Provide support for new build configs using the default config.
Previously, we used it to represent old style configs. But if you're
not using the launch bar, you end up building with the default config.

Adds support for Qt to build debug_and_release, and for Arduino to just
build normally for run.

Users are then responsible for creating their own launch config, just
like the old days.

Change-Id: I54305fa27e7eac198ac50d800e0c175143215516
2016-05-26 15:46:19 -04:00
Doug Schaefer
bf1f4c93ff Create a dummy file in the user doc index when skipDoc.
Change-Id: Id5039869212f6b900fb423ea1cd5b27782cc9ad5
2016-05-26 10:51:20 -04:00
Doug Schaefer
9687b58042 Add Arduino feature to Optional Category in repo.
Change-Id: Id597911b518f6a3dc494ebf6e5521243017f14b2
2016-05-26 00:20:08 -04:00
Alvaro Sanchez-Leon
26d519445f Move o.e.cdt.launch.remote to Java 8
The parent commit e6bec45
is using Java 8 API, moving the BREE to this level

Change-Id: I348cdf601bba5b733003a404ecbba8901f7085bd
2016-05-25 22:32:19 -04:00
Jonah Graham
6002c2abb0 Bug 494504 - Reverse API changes to GdbDebugServicesFactory
This change reverses the breaking API changes made to
GdbDebugServicesFactory as part of Bug 488909 while retaining the
code cleanup done in that bug.

Change-Id: If269fa5e38e0c019a8f5ce9aa927f27da70f43ee
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-05-25 11:39:46 -04:00
Sergey Prigogin
b73b588611 Bug 494489 - NPE in CPPASTCompoundStatementExpression.getEvaluation
Change-Id: Iff6243cee0e583af7b34681f123ba3016bfd6558
2016-05-24 18:20:13 -04:00
Marc Khouzam
274b55c778 Point cdt_9_0 build to its own location
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-05-24 18:06:06 -04:00
Sergey Prigogin
acf135781c Bug 494359 - Explicit specialization is improperly ignored
Test case.

Change-Id: I9eb34ad4d3309bf568d26338bd7611fa9fea0673
2016-05-24 13:59:05 -04:00
Sergey Prigogin
568ef45802 Bug 494359 - Explicit specialization is improperly ignored
Change-Id: I3294202002338281c7310f9ef77e2d5293566e0b
2016-05-24 13:58:31 -04:00
Alvaro Sanchez-Leon
881972f1be Bug 452356 - C/C++ remote launch uses o.e.remote - wait for file permission change
When uploading a file to a remote system, the file permissions are updated,
however the process taking care of it may not have completed this task before
the application tries to use it.
  This change forces the calling thread to wait for Max 1 sec for it to complete,
If the process task takes longer an exception is thrown so the application can
provide a meaningful message to the user.

A second fix is provided in:  execCmdInRemoteShell
So this method now makes sure that the remote connection is opened
before executing commands over the remote shell.

Change-Id: Ibe8bd2709e1b1f446e1f74aa8a3df424ac7fa650
2016-05-24 13:43:45 -04:00
Mat Booth
6a3079a11e Bug 459567 - Help missing for LLVM Managed Build
Include 'help' directory in build.properties

Change-Id: I6c86a5325a323c67a50166b70372c8a918aa8553
Signed-off-by: Mat Booth <mat.booth@redhat.com>
(cherry picked from commit 08074f77aa)
2016-05-24 11:37:29 -04:00
Doug Schaefer
7ba737a571 Add Arduino Neon update site.
Change-Id: I628fdc20f5714170cf5f2ec92967473415795800
2016-05-24 11:13:29 -04:00
Doug Schaefer
57a18b9b44 Clear up labelling on Arduino (Beta) and Qt (Preview) features. 2016-05-24 10:39:09 -04:00
Doug Schaefer
a978c2c0ad Arduino Downloads Manager and lots of cleanup around that.
Change-Id: Ie2e4d987849831006d443bae98349861871a4057
2016-05-24 01:01:27 -04:00
Doug Schaefer
758110471e Add MSYS2 32-bit support to MinGW GCC toolchain.
Change-Id: I185f1b070ce0e97340fc55b1fc0842a6f8e23637
2016-05-17 16:18:50 -04:00
Doug Schaefer
854f036c61 [Qt] Remove unused extension. Make QML Analyzer loading a system job.
Also more clean up of the Qt Hello World template.

Change-Id: I8dd862140e9e641005809f5b523e332b6bf496bd
2016-05-17 14:42:10 -04:00
Doug Schaefer
8f0ca866c4 Make sure CMake project property page only shows on CMake projects.
Change-Id: I804fcae05e618925d0cbf4b6fbc52b6665789916
2016-05-16 16:06:43 -04:00
Doug Schaefer
1cd5ff5169 Fix a few things for the QML editor.
Fixed up content type warning. Hooked up colors for the QMLEditor to
the CEditor preferences. Fixed up tabbing in the main.qml template.
Fixed the GCC toolchain to find compiler on path on windows.

Change-Id: I66a013666d1ab99bfe94a2a558486cc81681c67c
2016-05-16 15:15:39 -04:00
Jeff Johnston
022e9428fd Add a Debug configuration for Autotools projects
- set default CFLAGS and CXXFLAGS for debug configuration
  Autotool projects
- pass project when creating a new AutotoolsConfiguration
- add new Debug (GNU) configuration
- add new build type property to Debug configuration
- look for property when initializing AutotoolsConfiguration

Change-Id: I95e6fa59f854dad3aff71507a4a85ffa55f4b2bc
2016-05-16 12:02:50 -04:00
Jeff Johnston
9fd79b0596 Bug 491619 - Choosing a C++ dialect should reindex
- changed gcc builtin settings providers to prefer non-shared
- added isIndexerAffected method override to ToolSettingsTab which
  looks at new isIndexerAffected boolean
- add logic to ToolSettingsTab setOptions() method to look for
  dirty options that return true for isForScannerDiscovery() or
  are special options that affect include path or defines
- add performok method to ToolSettingsTab to look if isIndexerAffected
  when user hits OK without hitting APPLY
- change the message for bringing up the question dialog for end-user
  to choose whether to reindex or not

Change-Id: Icd740caafe638f272b6f1434d5817f2377ffe04a
2016-05-13 09:54:29 -04:00
Alvaro Sanchez-Leon
7436cb9ae4 Bug 489512 - Show local variables in the traditional memory render
* Added an adjustment to the calculation of the addressable char width
so it does not go beyond the containing cell size when using radixes
where the number of characters does not grow linearly with the number
of octets being represented.
This adjustment is only necessary when the cell can contain the same
number of octets as the addressable size

Change-Id: Ic9643c98094bc28621e6807eeed0c283dbe6672a
2016-05-13 09:10:33 -04:00
Sergey Prigogin
ed7f1cea09 Cosmetics.
Change-Id: If3fa0aa0c6679cf508492322c6e38e2dc0d1351f
2016-05-12 18:03:53 -04:00
Sergey Prigogin
efd6a7263b Bug 493475 - Add an option to format edited lines when saving a file
Change-Id: I1c5c91a269f7685e2963bb26f12fdee9bb5fae97
2016-05-12 18:02:49 -04:00
Doug Schaefer
0d7ee343e0 Add MSYS2 support for managed build. A few Qt cleanups on Windows.
Change-Id: I07ed0cb4a83996de194559570fedf9fb1b21b42d
2016-05-12 15:32:51 -04:00
Jonah Graham
e091657eaf Bug 493070: [GTK3] stop removing all items from list
in GTK3 when the current selection is removed from the
org.eclipse.swt.widgets.List the selection is updated to another item,
on GTK2 and Windows the list stops having a selection. 

This change updates the code to safely delete all selected items.

Change-Id: Iedc99db89af117a04ad163190bdda0f8720eb2a6
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-05-12 13:59:02 -04:00
Alexander Kurtakov
dff6b3bae3 Hook compiling o.e.cdt.core.linux into maven build.
Separate profiles for building single arch to allow full builds on the
arch one runs the build on. Simplifies build for people building from
source significantly.


Change-Id: Ic7738328b8e7072654ba7a673220a43feebb6801
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-05-12 03:35:59 -05:00