aboutsummaryrefslogtreecommitdiffstats log msg author committer range
path: root/cross
AgeCommit message (Collapse)AuthorFilesLines
2018-02-06Bug 530635: Add ability to do "set remotetimeout" via UIJonah Graham3-3/+73
Change-Id: Iaeaea1e8656d85cb854a5b27f5f212fa37a3159d
2017-12-02Fix version of serial launch feature.Doug Schaefer1-1/+1
Change-Id: I850f72c9b094f732e384596c05ed30485bd2fceb (cherry picked from commit fdd005c96f173fb25360933cd40857da36a078df)
2017-12-02Fix up license field for serial launch feature.Doug Schaefer2-5/+11
Change-Id: I26534c7748186428af908111dc712cd0c0d09708 (cherry picked from commit c546572ac94bddb1b25388698382d875f6985948)
2017-12-01Fixes for ESP32.CDT_9_4_branchDoug Schaefer1-0/+8
In the new toolchain wizard, the select button wasn't hooked up. So I turned it off. Also, we had no build settings tab on the serial launch. Change-Id: I811f579334889085f49d298878589109c5e4a228
2017-11-21Releng fixes, ensuring legal files are there. Removing projects.Doug Schaefer7-6/+71
Removed the empty debug.core.tests project. Also removed the utils-feature and remote-feature projects since these shouldn't be features. Change-Id: Ib5d297c626de5328e3421a1fc9346330d9907750
2017-11-13Serial Flash Target and Launch. Clean up Generic Launch.Doug Schaefer30-0/+804
Adds target, launch classes, and launch bar support for targets intended to upload their code to flash using a Serial Port. The port is co-ordinated with the Serial Terminal so that the terminal is paused during the upload. Also cleaned up the Generic Launch so it's not using the External Tools launch which has a number of UX issues. This simplifies the settings and gives us more control. And it's made reusable for the Serial Flash launch. Change-Id: I31e9970243fbf1cf22d027bbdb892fde104dbefe
2017-10-06Add UI tests plugin for CMake. Fix a couple of bugs it found.Doug Schaefer1-7/+0
Also restructures the pom.xmls to put the modules in the top level so we can order them to have the test plugins build after them. Change-Id: I2f0e4ebd252791fb8844cdf0f635d574946207aa
2017-09-19Reinstate commit 709689b36e1a1ec573d81a02a7e882faabca58e5Jeff Johnston2-0/+36
- This commit is still needed to allow CDT Sonar job to run so that features that have same name as plug-ins will be distinguishable by Sonar job Change-Id: I3eb3f3cf94d5f4338d72c5d19d0baf2f7506c388
2017-09-11Update feature versions to CDT 9.4.Doug Schaefer4-40/+4
Also remove remaining pom.xmls for feature projects. Change-Id: I78d6335f92d70ad2699b8a25801ff72d2935aefe
2017-04-19Bring back some pom.xml from featuresMarc-Andre Laperle2-0/+36
Those features have the exact same id and groupid than a plugin which throws off SonarQube with: "Two modules have the same id: 'org.eclipse.cdt:org.eclipse.cdt.util'. Each module must have a unique id." In the pom.xml, we can specify a different groupid which resolves the problem. Alternatively, the feature id could have been changed but that would break upgrades. Change-Id: Ib2912ad854a3af431b96f89a6ead1bcb6d06ba60 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-03-15Bug 511801 - Remote launch: validate that the remote exec file is absoluteSimon Marchi3-18/+37
From my experience, bad things happen if the user specifies a non-absolute path in the box labeled "Remote Absolute File Path for C/C++ Application". This patch adds a validation to the tab to make sure that the path is a valid absolute POSIX path. This assumes that we do not support remote launching on Windows targets, and therefore do not need to specify paths such as "C:\foo\bar.exe". Change-Id: I20367078ff20179f0515272afee17d0986940309 Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2017-03-15Remote debug: Use the IFileStore interface to force the file executableSimon Marchi1-25/+10
Instead of calling "chmod +x" by hand, use IFileStore.putInfo to set the file attributes. Since we already use the IFileStore API to copy the file, it makes sense (and it's cleaner) to use it to set the executable attribute as well. In most cases, it wouldn't be needed to make the file executable, since it should already be on the host filesystem and IFileStore.copy transfers the attributes. However, it's still good to force it executable in case it's not already for some reason. Change-Id: I4c86e36265962781d4541aaceeb40b502248f674 Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
This patch converts RemoteHelper.remoteFileDownload to use SubMonitor instead of the deprecated SubProgressMonitor. The remoteFileDownload operation consists of two sub-operations, to which I assigned the following weigth: - Download the file to the target (95%) - Change the permissions (5%) Ref: http://www.eclipse.org/articles/Article-Progress-Monitors/article.html Change-Id: I8336f8e853e811a4350f1a63ba64934121ace5d8 Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2017-02-14releng: Make use of Tycho POM-less functionalityMarc-Andre Laperle5-70/+22
This removes a lot of pom.xml from the source tree. This is using the "POM-less" Tycho functionality. See https://wiki.eclipse.org/Tycho/Release_Notes/0.24#POM-less_Tycho_builds One advantage of this is that you do not need to update the version in the pom.xml when you change it in the MANIFEST.MF because the pom.xml is automatically generated. This also reduces a lot of the duplicated information and pom.xml repetition. - Maven 3.3 and up is required. - Only eclipse-plugins and eclipse-features can be pom-less. Repositories, target and others still have pom.xml. - New parent poms are added because a parent is necessary directly one level above the plug-in/feature that will have its pom generated - Some test plug-ins had to be renamed .test -> .tests because it's required so that it detects that it's a test plug-in - Some suites were renamed so that they all use the same consistent name "AutomatedIntegrationSuite" - Profiles were added for the more common test configurations. They are activated by the presence of simple .properties files that only serve to activate the correct profile. The profiles: - One for UI tests (UI present and start in UI thread) - One for SWTBot tests (UI present and do not start in UI thread) Other test plug-ins that are too different are kept intact and still have a pom.xml - Fragments are kept intact since they all have different target platform configurations Change-Id: I9d73380eb766f547830c552daf08053a30b1845c Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-01-25Auto-generate source features using tycho.Marc Khouzam5-227/+0
This commit removes explicit source features and has tycho create them automatically, along with all other source features that were not previously defined. The logic to auto-generate is in the root pom.xml For all pre-existing source feature, the name presented to the user has been changed to use the default name used by Tycho, which is "Developer Resources". This will provide a more standard user-experience with respect to other source features built by Tycho. Existing SDK features are kept for backwards compatibility. All the names of the auto-generated source features that replace an existing source feature have stayed the same except for the 'testsrunner' feature; for that one name change, a p2.inf file is added to allow upgrading from the old named feature to the new named feature. Change-Id: Ie632e798c93898fd828f88df4983fc43e2749d22
2016-11-16Update version to 9.3.0Marc Khouzam7-9/+9
2016-11-15Update version to 9.2.0Marc Khouzam7-9/+9
2016-11-04Bug 507078 - o.e.cdt.launch.remote.source should be in separate feature.Roland Grunberg2-7/+33
The org.eclipse.cdt.launch.remote feature is the only non-source, non-sdk feature to include the corresponding source plugin for it's main provided plugin. An org.eclipse.cdt.launch.remote source-feature should be created to provide the source plugin. Change-Id: I2e396270f0d19f023e75452c316da0e4eda495b1 Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
2016-08-17Update version to 9.1.0Marc Khouzam7-9/+9
This commit used the script releng/scripts/ChangeFeaturesVersion.sh Change-Id: I8274a6e8dd5c0f1e450f07952e138b265a441a62
2016-06-30Remove old .cvsignore filesMarc Khouzam1-1/+0
2016-06-22Move the rest of the CDT plugins to java 8Marc Khouzam3-5/+5
This change was generated using the script: releng/scripts/ChangeJavaVersion.sh Change-Id: I2ad96dc682a5acb8529c3edec40de279c331b5a4
2016-06-09bug 452356 - using o.e.remote: issues with remote browse dialogMarc Dumais1-1/+8
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
2016-05-26Move o.e.cdt.launch.remote to Java 8Alvaro Sanchez-Leon3-6/+5
The parent commit e6bec45 is using Java 8 API, moving the BREE to this level Change-Id: I348cdf601bba5b733003a404ecbba8901f7085bd
2016-05-24Bug 452356 - C/C++ remote launch uses o.e.remote - wait for file permission ↵Alvaro Sanchez-Leon1-2/+26
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-04-29Bug 452356 - C/C++ remote launch uses o.e.remote - explicit dependency at ↵Alvaro Sanchez-Leon3-4/+4
feature level Adding an explicit dependency to o.e.remote at feature level, so the dependecies are loaded at the installation of the launch remote feature Change-Id: I90f6bd29cd1b6f2efc46e241520621bbd256ffef
2016-04-29Remove Solaris Sparc supportMarc-Andre Laperle1-10/+0
Solaris Sparc support was removed in SWT therefore it cannot be supported by CDT anymore. Change-Id: Ic40f55632023fd77fd164d3e48b5ca06835c3a31 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-04-28Bug 452356 - C/C++ remote launch uses o.e.remoteWainer dos Santos Moschetta14-560/+568
Replaced RSE with o.e.remote on C/C++ remote run and debug launchers. Change-Id: I308b81ad90ae8e838557d7b2afb53efb1cdf7ff9 Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
2016-04-19Bug 491984 - Replace .equals("") with .isEmpty()Alex Blewitt3-6/+6
In many cases a String's empty status is tested with .equals(""). However, Java 1.6 added .isEmpty() which can be more efficient since it compares the internal length parameter only for testing. Replace code using the .isEmpty() variant instead. Some tests for "".equals(expr) can be replaced with expr.isEmpty() where it is already known that the expr is not null; however, these have to be reviewed on a case-by-case basis. Change-Id: I3c6af4d8b7638e757435914ac76cb3a67899a5fd Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-02Make remote launch tab definition readableMarc Khouzam1-43/+40
Change-Id: I098091ea75d3839754c6a354a732a408b8258138
2016-03-18Bug 484900: Cleanup remote launch after CDI cleanupMarc Khouzam3-782/+2
API Breaking changes: - The old RemoteCMainTab.java was removed. RemoteCDSFMainTab should be used. Move Remote Run launch to use RemoteCDSFMainTab Remove plugin.xml definition of the tabs associated with the removed CDI Remote debug launch. Change-Id: Ie71497aa745295cc696b2679aa3047d9895d2481
2016-03-18Bug 484900: Remove CDI launch delegate for post-mortem and attachMarc Khouzam1-0/+1
Change-Id: I47e28d17eb2bc8b63762f799f93e8a2705d7e815
2016-03-09Bug 484900: Remove Majority of CDI classesJonah Graham6-540/+3
This is the first change to remove CDI from CDT. The CDI model implementation is removed along with everything that directly depends upon the implementation. This commit does not include refactoring or moving classes. The few insertions are the minimum necessary. Change-Id: I80274e1a0d77bc7bb00a2afe4babc00c4f7613ae Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
Change-Id: I94ac38c37657e270f62db9bbd2859c2c6de40e5f
2016-01-18Incremented CDT features version to 9.0.0Marc Khouzam7-9/+9
This includes bumping the standalone debugger to 9.0.0 Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-04Fix copyright of all CDT plugins using the copyright tool from platform.Marc Khouzam13-14/+14
This commit does not add missing copyrights, just updates the date on the existing ones. Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2015-07-23Bug 460953 - SetCrossCommandWizardPage does not check for 'null' inAlena Laskavaia1-2/+3
result for dialog.open() Change-Id: I8bc947e5f72891138cd41fd781d5839d09381c51
2015-06-16Bug 469533 - [Remote launch] Necessary plugins not installed along with ↵Marc-Andre Laperle1-0/+4
C/C++ Remote Launch (RSE) Change-Id: I10facf0b2a842bfdfa76373df09ad5c05dfaf392 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-06-10Incremented CDT feature version to 8.8.0Marc Khouzam7-9/+9
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-02Bug 469066 - NPE in CrossGCCBuiltinSpecsDetector.getCompilerCommandMarc-Andre Laperle1-2/+4
Change-Id: Ie79a6043c742d9cd42bb846e5736676d9d0cbd6c Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-05-05Incremented CDT feature version to 8.7.0Marc Khouzam7-9/+9
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24Fix two modules having the same artifactId and groupIdMarc-Andre Laperle1-0/+1
org.eclipse.cdt.launch.remote and org.eclipse.cdt.launch.remote-feature had the same artifactId and groupId. This made Sonar fail and is probably an oversight anyway. Change-Id: I026e5a67ddd811db75c1b0cb59dcb734fce9f446 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-03-25Move some leftover plugins from Java 5 to Java 7.Marc Khouzam3-5/+5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25Remove warnings caused by change to getAdaptable()Marc Khouzam1-3/+3
getAdaptable() in 4.5 M6 has changed to use generics, making casting its result no longer necessary. Change-Id: Idd943216a925576bb72c784b2c5a2a4b8e8b00d2 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-24Bug 458650: Remove change not directly related to NPEMarc Khouzam1-2/+4
Partial revert of commit 196d978624fcb25c379728d10ddfa50be16b6c5d. The removed change was causing a problem where the connectionCombo pulldown was being set to its first element even for existing LC Change-Id: I6888f2f783a303770d2924d0351b5dd7b5c055cc Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-21[Bug 460131] Eclipse bin dir prepended to cross tool pathMorten Kristiansen1-1/+1
java.io.File is used to store the path to the cross tools. getAbsolutePath is invoked before variables are expanded. Hence File cannot see the path is already absolute and therefore prepends CWD. Reverted to getPath, since conversion to full path would not make sense anyway. Change-Id: I13e5b2c0d7747741926a88e120d13003b910e8c6 Signed-off-by: Morten Kristiansen <millibit@gmail.com>
2015-01-29Bug 458650 - NPE when creating a "C/C++ Remote Application" launchTeodor Madan1-4/+2