Skip to main content
AgeCommit message (Collapse)AuthorFilesLines
12 min.Bug 565771: Allow to extend GdbConnectCommand PID prompting mechanismHEADmasterDominic Scharfe1-34/+38
- partially refactor connect method to connectToProcesses - rename variables to match existing ones from other methods (attachToProcesses and the PromptForPidJob constructor) - change visibility for attachToProcesses from private -> protected Change-Id: I62de9e1303895faac61fec011a8cce0d59d81f71 Signed-off-by: Dominic Scharfe <>
71 min.Bug 534105: Only files are allowed to be executedTorbjörn Svensson7-3/+7
When searching the PATH environment variable, only accept resources of type "file" and that are executable. Any directories on the PATH is silently ignored by shells and so should also CDT do. Change-Id: Ia7cfd1b0b61d59602994528f0fb2af7fee93d946 Signed-off-by: Torbjörn Svensson <>
117 min.Bug 565628: Fix typo in variable nameJonah Graham1-5/+5
Change-Id: I62a470e6ebe3b3e8369aad5861bab7dc1d5dd6f4
2 hours[releng] Add instructions for updating org.eclipse.cdt.core.win32.x86_64's dllsJonah Graham1-0/+8
(BTW We need a better solution for this!) Change-Id: Ic163e2504ff62cabc6951de2ec5606646c460937
18 hoursBug 565628: Handle formatting/indentation of XML files with CDT code onlyJonah Graham4-4/+47
The javax.xml.transform.Transformer as used in CDT did not fully indent, despite INDENT=yes being set (See Bug 286751). However in Java 11, INDENT=yes started doing "more", so to maintain compatibility with how .cproject and others are formatted, turn off INDENT=yes and rely solely on XmlUtil.prettyFormat and the related workarounds in xmlutil. Change-Id: Icec04cfd3f9f1290593cff8b15b398b41c9d932a
18 hoursBug 565628: Fix spelling of Indent in variable namesJonah Graham1-14/+14
Change-Id: Ifb9124927a7c1afecede6e8bcd75ac8c09526422
19 hoursBug 565836: Add linux aarch64 for nativesJonah Graham23-1/+416
Note: the Windows dll is not actually modified, apart from the embedded date stamp to match the date of the jni/ modification Also-by: Liviu Ionescu <> Change-Id: Ice3d5e7ae5999a0e4d1866e76e515a91e30e9f11
6 daysBug 521515: Adopt native build support on jenkinsTorbjörn Svensson67-2190/+395
Change-Id: I6aee7a7c94f93375d3a2ddb0171602a27a6873e7 Signed-off-by: Torbjörn Svensson <>
6 daysBug 521515: Align directory name of native source codeTorbjörn Svensson9-11/+11
The native directory can contain both libraries and utilities. In Gerrit, there is a utility, so the directory name "jni", or even "library" does not work. In order to support both utilities and libraries, the suggested name of the directory is "native_src" and thus, this commit syncs that change in o.e.c.native.serial. Change-Id: Iafa9ce9ae1dca7ef563ab397e8b3eb0b8642372d Signed-off-by: Torbjörn Svensson <>
8 daysBug 559674: Include only "primary" support by defaultJonah Graham7-56/+35
The vendor specific support files need to be installed separately. Includes changing the bundles display names to match the CMake main bundle so that in the install wizard it is clear(er) what they work with. Change-Id: I12ca155228e906c6c38fe37e37e8ce08d05a2452
8 daysBug 559674: Include CMake IS in CMake featureJonah Graham1-0/+55
This is one way to publish the plug-ins. It may be that additional features are desired as this implementation is all of cmake support or non of it. Change-Id: Ie945d2ce94b5ac34c6c238ed7bfbdc3ff336e538
9 daysBug 565457 - CDB settings provider/parser's automatic exclusion of files is ↵Marc-Andre Laperle2-51/+110
very slow Implement a file exclusion algorithm that favors excluding whole folders when possible. The way it works is we gather exclusion information of each folder as we visit each children. When "leaving" the folder, we can act on whether or not it can be considered for exclusion as a whole or instead individually exclude a subset of its children. Using LLVM code base as a test: Before: 613 sec After: 2.4 sec Change-Id: Ib882a72cae157e3db6b6c94a1a09cb6f05b66bc4 Signed-off-by: Marc-Andre Laperle <>
9 daysBug 540737: Add 8 and 24-bit color support to terminalJonah Graham12-42/+481
Change-Id: Iab3b648fb3bfa8f43f333371bd118e90a3a182f2
9 daysBug 549697: Define standard terminal colors with Eclipse preferencesJonah Graham56-725/+1492
New types TerminalColor and TerminalStyle replace StyleColor and Style to separate the meta information about styles and colors from the user currently selected colors. The StyleMap maps the TerminalColor/Style to the concrete fonts and colors used in the display. Colors are now configurable via the terminal preference page using the new TerminalColorsFieldEditor. All preferences are now passed in to the VT100 control so that different terminal consumers can have different preferences and styles. Remove dark theme contribution. The colors of the terminal are now inherited from the editor settings (using SystemDefaultColors) which come from the theme. If we were to invert colors too when in Dark theme then the colors actually end up light background. Change-Id: I2cf5427ac0be9a189a7f0d3565cfc97ceedb8749
9 days[releng] Update self-referenced CDT version in targetJonah Graham2-3/+3
Change-Id: Ibf8f2f01d97d1d8bf8fa09483170e70372b99d26
9 days[releng] Update to Eclipse platform 4.17 M2 contributionJonah Graham2-3/+3
Change-Id: I394fd614400cae4b4ee3efe33cedc4dea67fb7f5
9 daysBug 565553 - Improve performance of build command parsers with large number ↵Marc-Andre Laperle1-8/+37
of files Cache results of various path resolution algorithms. Resolving paths is particularly slow while creating entries, see AbstractLanguageSettingsOutputScanner.createResolvedPathEntry. There are three main callees within that method that this patch addresses with a caching approach: * findContainerForLocationURI: First, this finds containers for a given URI in the workspace using Eclipse resources API. Then a single container is selected based on a preferred project. This can done repeatedly for include paths, which are often similar for source files in a given project or source folder. This first step is the expensive one and it only depends on one argument (the URI) and a simple IResource[] return type, so the cache here is done for this operation. Then the post-filtering is kept as is. * findFileForLocationURI: Similar to the container case but for files. A typical projet has much less file paths than folder paths in its options. One more common option using file paths is -include. The same approach is applied here as the previous point because there are performance gains but they are smaller if you consider typical projet setup. * findBestFitInWorkspace: When a path cannot be found, this makes an attempt to find the parsed path relative to every folder of the workspace, by starting first with the preferred project, then its referenced projects and then the rest. Caching the result of findBestFitInWorkspace itself is too cumbersome because the result depends on 3 variables (currentProject, currentCfgDescription and parsedName) which would make a complex cache key. Instead, caching the result of findPathInFolder at the project level is sufficient, with little to no performance difference. In all three cases, the class LRUCache is used in order to limit memory consumption of the cache. A limit of 100 elements for each cache was chosen based on experimentation with a few projects like LLVM and projets several times bigger. A limit higher than necessary for small projects does not incur a noticeable overhead for small projects and a limit too small for very large projects merely diminishes the performance gains. Using LLVM code base as a test, the time to parse options for all files: Before: 68395ms, after: 5599ms Change-Id: Ib997e9373087950f9ae6d93bbb1a5f265431c6bc Signed-off-by: Marc-Andre Laperle <>
9 daysFix CompilationDatabaseParserTest wrongly running the parser twice ↵Marc-Andre Laperle1-104/+61
simultaneously By design, the parser/provider fires when loading the cproject description but we also call it by hand in the main code of the tests. This means CompilationDatabaseParser could be running twice simultaenously along with the same output parser code that it delegates to. The problem was exposed fully when adding more complex data structure (hash maps) to the output parsers in another commit, as it would produce ConcurrentModificationException. We need to be careful when we choose to call setProjectDescription because it triggers the provider and then we have to wait for the jobs to complete (joinLanguageSettingsJobs). By taking this into consideration, several tests had to be updated. Most notably, the read-only config test case had to be merged with the time-stamp update test case because it was the only sensible way to test before/after changes of language settings with such config. Change-Id: Ib3a7caefa95b436ad9b699a2614e966a4a8dfca9 Signed-off-by: Marc-Andre Laperle <>
11 daysBug 565154 - Delete CDT Core Options APIAlexander Fedorov14-646/+14
Removed org.eclipse.cdt.core.options package Removed org.eclipse.cdt.internal.core.options package Removed corresponding tests Updated documentation Change-Id: Iac3ae1328e9eec3c8db0a633de68bde71573b736 Signed-off-by: Alexander Fedorov <>
12 daysBug 565586: Handle -include and -imacros compiler flagsMartin Weber12-9/+474
Change-Id: Iee67ab08ed2daa9af69fa1de583f3c6f8305960a Signed-off-by: Martin Weber <>
13 daysBug 565461 - Contribute "Show in Local Terminal" to Bndtools ExplorerDirk Fauth3-1/+91
Change-Id: Ia9edd87e7594bf5def0e511c34694e4098c64529 Signed-off-by: Dirk Fauth <>
2020-07-29Bug 315774 - Allow force refresh of Disassembly view.Deep Amin2-2/+14
Change-Id: I8900528d1051f37d470e53800ad0ad60821ae8f4 Signed-off-by: Deep Amin <>
2020-07-27Bug 559674: rename doc fileMartin Weber8-7/+7
Change-Id: I3eb943e36df734afef4a5ce6e99334111a18cedf Signed-off-by: Martin Weber <>
2020-07-27Add leave method to ICElementVisitor to support leaving ICElementsMarc-Andre Laperle3-0/+44
This can be used when walking the ICElement tree and wanting to act after visiting all children of an element and the element itself. For example, I use this to collect information about whether or not all files in a folder are excluded or not and when "leaving" the source container, I can then act on whether or not the source exclusions can be simplified by excluding the whole folder. Without the leave() method, one would have to do cumbersome and error-prone path checking when visiting each node to detect if we have left a parent node. Change-Id: Iad480fe18f28db1477d5d527ac51c320f6d280b7 Signed-off-by: Marc-Andre Laperle <>
2020-07-22Bug 559674: Integrate new indexer support into CDT buildMartin Weber9-141/+964
Change-Id: Ie07e6283f8285e56b7f74f29a8db1cbe222e0304 Signed-off-by: Martin Weber <>
2020-07-22Remove unused imports.Alexander Kurtakov10-10/+0
Change-Id: Ida8455b078fa7cb39af17773c7bde1a4895158ca Signed-off-by: Alexander Kurtakov <>
2020-07-22Update build-helper-maven-plugin to 3.2.0.Alexander Kurtakov1-1/+1
Change-Id: Ifeef48c2d200c081391da693c5326b89872550f6 Signed-off-by: Alexander Kurtakov <>
2020-07-22Set maven-antrun-plugin to 3.0.0Alexander Kurtakov9-9/+1
Don't overwrite it in plugins as version is set in parent/pluginManagement. Change-Id: I73d2b4d234ba83eae7ec2cd51f3e53d58256b81e Signed-off-by: Alexander Kurtakov <>
2020-07-22Build with Tycho 1.7.0Alexander Kurtakov6-14/+13
Get rid of tycho-extras-version as there is no more tycho-extras. Change-Id: I9d215aad94c4e8320153f06368d6b3ecfa4a3c42 Signed-off-by: Alexander Kurtakov <>
2020-07-18Bug 521515 - Access Windows registry using JNATorbjörn Svensson19-531/+255
There is no need to have custom JNI implementation any more in java to be able to access native functions. JNA solves this just fine with the benefit that the code is easier to debug and maintain. Change-Id: Ia9d36981cb10fa7348bf0a5f0549b3e96bd4c982 Signed-off-by: Torbjörn Svensson <>
2020-07-18[releng] Update simrel staging repo to 2020-09Jonah Graham1-1/+1
Change-Id: I1fc74d069806b493368d600d24d8039bc1c8e0ff
2020-07-17Bug 521515 - List running tasks using JNA on win32Torbjörn Svensson10-651/+78
As Eclipse only support 64-bit JRE on Windows, some legacy support has been dropped. * Dropped support for listing 16-bit applications using NTVDM.EXE process (was only supported on 32-bit WinNT based systems). * Dropped support for listing processes on non-WinNT based systems (Windows 9x/ME is 32-bit only). Signed-off-by: Torbjörn Svensson <> Change-Id: Ib827de6510a342c0de5c6eaca68a944b2f1d641e
2020-07-16Fixed NLS warnings and removed excess semicolonTorbjörn Svensson27-100/+106
Signed-off-by: Torbjörn Svensson <> Change-Id: Ife6550a77af5e410fd7b252a239dfa1ae6ae36f5
2020-07-14[releng] Remove explicit mentions of com.sun.jna.* in target platformMarc-Andre Laperle2-7/+1
They come along with org.eclipse.sdk feature anyway. org.eclipse.sdk -> org.eclipse.platform -> org.eclipse.rcp -> org.eclipse.e4.rcp -> com.sun.jna Change-Id: Icc64906305b1ee96ff8a3a8850d681bf854ea784 Signed-off-by: Marc-Andre Laperle <>
2020-07-14[releng] Add wildwebdeveloper to target platformJonah Graham2-1/+7
The Linuxtools, as of I32779335ee3f5c94d733c3fa68d1b593f9206667, requires WWD node fragments Change-Id: I7c8f9553c159f74941d422d136f929bb322aac27
2020-07-12Only validate features committed to gitTorbjörn Svensson1-1/+1
Change-Id: Icd2427c515bb0cc79e9179ba00216c173264ca17 Signed-off-by: Torbjörn Svensson <>
2020-07-12Mark exe and dll files as executableTorbjörn Svensson8-0/+8
When git is configured to honor executable bit for files (core.fileMode=true), the .exe and .dll files in the repository needs to have execute bit set to be able to run Eclipse in runtime mode on Windows. For more details: "Git for Windows" does not appear to have this problem, but at least Cygwin does. Change-Id: I4c164f6d99219d461c301189f101ccbf63debb50 Signed-off-by: Torbjörn Svensson <>
2020-07-11Bug 563006 - CDB settings provider/parser doesn't support "arguments"Marc-Andre Laperle3-3/+55
One flaw with this implementation is that the "arguments" coming from the CDB do not have shell quoting and shell escaping of quotes whereas the current implementations of Build Output parsers assume some form of shell quoting. This means that simply joining strings of arguments with spaces will be missing the expected shell quoting and possibly misparsed by the build output parsers. It is not clear to be at this point if this should be fixed or not as it might involve revamping the existing build output parsers to add the concept of shell/environment and this could also affect potential extenders. In this current form, simple cases with no spacing and quote escaping involved work correctly and is still a nice improvement. Change-Id: Ia81796e63c748318b34696998ac4a467712e5f96 Signed-off-by: Marc-Andre Laperle <>
2020-07-11Bug 565144 - CDT.setup and .target should be configured for 2020-09Alexander Fedorov3-2/+9
Changes for .setup and .target * add "com.sun.jna" bundle from Orbit * add "com.sun.jna.platform" bundle from Orbit Changes for "org.eclipse.cdt.debug.application.product": * remove "org.eclipse.update.configurator" bundle * add "org.eclipse.jface.notifications" bundle * add "com.sun.jna" bundle * add "com.sun.jna.platform" bundle Change-Id: Ic1a0b2d6d5189c9f3652def987d3c6a0daa4c7ee Signed-off-by: Alexander Fedorov <>
2020-07-11Bug 565144 - CDT.setup should be configured for 2020-09 developmentAlexander Fedorov4-4/+15
Switch Eclipse Platform to 4.17 M1 for .setup and .target Switch baseline comparator to the latest released CDT And I need this root project manifest to simplify my work, please Change-Id: I8c3af45144d3859d171a87d5d37dfa7e5c7ea97b Signed-off-by: Alexander Fedorov <>
2020-07-11Bug 565144 - CDT.setup should be configured for 2020-09 developmentAlexander Fedorov3-25/+69
Updated to 2020-09 (still use Eclipse Platform 4.16) Updated to 2020-06 Added repositories for 2020-09 to CDT.setup (still use Eclipse Platform 4.16) Updated baseline to 2020-06 for CDT.setup Change-Id: Iba1c98e5e9f89ca953727c857788298d57aa40fc Signed-off-by: Alexander Fedorov <>
2020-07-11Bug 564369 - CDT : use 4.16 GA version for .setup and .targetAlexander Fedorov1-18/+18
Change order of repositories: start the list from the most recent platform release Change-Id: I565f640c72f1ab67b63c8cffc0858f8303282609 Signed-off-by: Alexander Fedorov <>
2020-07-11Bug 564369 - CDT : use 4.16 GA version for .setup and .targetAlexander Fedorov1-8/+8
Prefer release specific update URLs for p2 repositories Change-Id: I61923c4b3c0b3e3ed151916ca35c9ec5d674e1dd Signed-off-by: Alexander Fedorov <>
2020-07-11Bug 564369 - CDT : use 4.16 GA version for .setup and .targetAlexander Fedorov1-4/+4
Fix .setup for 2020-06 Change-Id: I95322e2a43f305ae8b3a6199dd9f4d5ed232ca02 Signed-off-by: Alexander Fedorov <>
2020-07-11Bug 564369 - CDT : use 4.16 GA version for .setup and .targetAlexander Fedorov1-22/+22
Move target platform resolution ahead of clone to simplify testing Change-Id: Ic6a0b2770762a3bd42633bd7011073731c9d4f4e Signed-off-by: Alexander Fedorov <>
2020-07-08Throw an exception rather than return null on errorTorbjörn Svensson1-20/+20
Switch to try-with-resources pattern Change-Id: I7bbb1a6faf0ba86e456f8a66776c3eda9b9144ed Signed-off-by: Torbjörn Svensson <>
2020-07-08Fixed NLS warnings, potential NPE and removed excess semicolonTorbjörn Svensson22-68/+70
Signed-off-by: Torbjörn Svensson <> Change-Id: I266a72dadae318ae301ca11d2ea2d74082219a24
2020-07-08Bug 564949 - Remove support for CDT 3.X style projects (partial)Marc-Andre Laperle13-629/+78
Remove some Wizard classes that are not referenced anywhere anymore. This commit is just a first of probably several commits but is already a start. I already had very large commits in progress in the past but it became big and hard to push so I'd rather do it step by step this time and at least have some of it done for the next release. Also moved some messages to its own message bundle in managedbuilder.ui because it's the only place they are used now. Change-Id: Ib4258684c91f205dc4af3b17169609b5ebcff253 Signed-off-by: Marc-Andre Laperle <>
2020-07-05Bug 559674: Replace mailing list referenceMartin Weber1-6/+2
Change-Id: I2da8201a9c85722aff6dfd9a56950ba12891ec95 Signed-off-by: Martin Weber <>
2020-07-05Bug 559674: Eliminate warningMartin Weber1-1/+1
Change-Id: I3bcaa4b95708cb185e66dcffc6e0be68cf56b56e Signed-off-by: Martin Weber <>

Back to the top