SuccessChanges

Summary

  1. Revert "Bug 565207: Stop building standalone debugger as it is holding up CDT 10.0 M1" (details)
  2. Bug 565207: Stop building standalone debugger as it is holding up CDT 10.0 M2 (details)
  3. Add C++ mingw compiler to docker image (details)
  4. JDK file for mac is a tar.gz, not a zip (details)
  5. Bug 565836: Add aarch64-linux-gnu cross compilers (details)
  6. Update images to Dockerfiles from commit bdcd663 (details)
  7. Save the natives in artifacts when doing gerrit code cleanliness check (details)
  8. Save the natives in artifacts when doing gerrit code cleanliness check (fixup) (details)
Commit 1871cce245bd4d7cade77d6a5c85ca4ddc7f850e by jonah graham
Revert "Bug 565207: Stop building standalone debugger as it is holding up CDT 10.0 M1"

This reverts commit 6fad39574185f919c01d219d52890a15efbcd758.
The file was modifiedjenkins/pipelines/cdt/cdt-master.Jenkinsfile (diff)
Commit e3ba3a7bc27571ff96c466ffe255508dd0120ecc by jonah graham
Bug 565207: Stop building standalone debugger as it is holding up CDT 10.0 M2
The file was modifiedjenkins/pipelines/cdt/cdt-master.Jenkinsfile (diff)
Commit ab2c7c59175fa08d9fe042bc67a79de846ccc8c1 by jonah graham
Add C++ mingw compiler to docker image

Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
The file was modifieddocker/cdt-infra-eclipse-full/ubuntu-18.04/Dockerfile (diff)
Commit a6227292e36bc9b76ee99256998aeb830a1c1c1b by jonah graham
JDK file for mac is a tar.gz, not a zip

Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
The file was modifieddocker/cdt-infra-eclipse-full/ubuntu-18.04/Dockerfile (diff)
Commit bdcd6636c829f4afd06d907f36c82081b8a809f1 by jonah graham
Bug 565836: Add aarch64-linux-gnu cross compilers
The file was modifieddocker/cdt-infra-eclipse-full/ubuntu-18.04/Dockerfile (diff)
Commit bd25e86fe3ce23c8f00f23e9ecec6b4aab2b1206 by jonah graham
Update images to Dockerfiles from commit bdcd663
The file was modifiedjenkins/pod-templates/cdt-platform-sdk.yaml (diff)
The file was modifiedjenkins/pod-templates/cdt-full-pod-small.yaml (diff)
The file was modifiedjenkins/pod-templates/cdt-full-pod-standard.yaml (diff)
Commit 95e1cfa34149e8026c35ea37abbe0b484f4aa491 by jonah graham
Save the natives in artifacts when doing gerrit code cleanliness check
The file was modifiedjenkins/pipelines/cdt/verify/cdt-verify-code-cleanliness-pipeline.Jenkinsfile (diff)
Commit 78755e7464379b7b8f5f330f063d8c3189b9b619 by jonah graham
Save the natives in artifacts when doing gerrit code cleanliness check (fixup)
The file was modifiedjenkins/pipelines/cdt/verify/cdt-verify-code-cleanliness-pipeline.Jenkinsfile (diff)

Summary

  1. Bug 521515 - Access Windows registry using JNA (details)
  2. Build with Tycho 1.7.0 (details)
  3. Set maven-antrun-plugin to 3.0.0 (details)
  4. Update build-helper-maven-plugin to 3.2.0. (details)
  5. Remove unused imports. (details)
  6. Bug 559674: Integrate new indexer support into CDT build (details)
  7. Add leave method to ICElementVisitor to support leaving ICElements (details)
  8. Bug 559674: rename doc file (details)
  9. Bug 315774 - Allow force refresh of Disassembly view. (details)
  10. Bug 565461 - Contribute "Show in Local Terminal" to Bndtools Explorer (details)
  11. Bug 565586: Handle -include and -imacros compiler flags (details)
  12. Bug 565154 - Delete CDT Core Options API (details)
  13. Fix CompilationDatabaseParserTest wrongly running the parser twice simultaneously (details)
  14. Bug 565553 - Improve performance of build command parsers with large number of files (details)
  15. [releng] Update to Eclipse platform 4.17 M2 contribution (details)
  16. [releng] Update self-referenced CDT version in target (details)
  17. Bug 549697: Define standard terminal colors with Eclipse preferences (details)
  18. Bug 540737: Add 8 and 24-bit color support to terminal (details)
  19. Bug 565457 - CDB settings provider/parser's automatic exclusion of files is very slow (details)
  20. Bug 559674: Include CMake IS in CMake feature (details)
  21. Bug 559674: Include only "primary" cmake.is support by default (details)
  22. Bug 521515: Align directory name of native source code (details)
  23. Bug 521515: Adopt native build support on jenkins (details)
Commit c58603dfbecb00d7636de51e19e9083c575694b0 by Torbjörn Svensson
Bug 521515 - Access Windows registry using JNA

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 <azoff@svenskalinuxforeningen.se>
The file was modifiedcore/org.eclipse.cdt.core.native/src/org/eclipse/cdt/utils/WindowsRegistry.java
The file was modifiedcore/org.eclipse.cdt.core.native/plugin.properties
The file was removedcore/org.eclipse.cdt.core.win32/library/winreg/.gitignore
The file was removedcore/org.eclipse.cdt.core.win32/library/winreg/winreg.vcxproj.filters
The file was modifiedcore/org.eclipse.cdt.core.native/src/org/eclipse/cdt/internal/core/natives/CNativePlugin.java
The file was addedcore/org.eclipse.cdt.core.native/plugin.xml
The file was removedcore/org.eclipse.cdt.core.win32/library/winreg/stdafx.h
The file was modifiedcore/org.eclipse.cdt.core.native/build.properties
The file was removedcore/org.eclipse.cdt.core.win32/library/winreg/dllmain.cpp
The file was removedcore/org.eclipse.cdt.core.win32/library/winreg/stdafx.cpp
The file was addedcore/org.eclipse.cdt.core.native/schema/WindowsRegistry.exsd
The file was addedcore/org.eclipse.cdt.core.win32/src/org/eclipse/cdt/internal/core/win32/WindowsRegistryImpl.java
The file was modifiedcore/org.eclipse.cdt.core.win32/fragment.xml
The file was removedcore/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/winreg.dll
The file was modifiedcore/org.eclipse.cdt.core.win32/library/Makefile_x86_64.mk
The file was removedcore/org.eclipse.cdt.core.win32/library/winreg/winreg.vcxproj
The file was removedcore/org.eclipse.cdt.core.win32/library/winreg/winreg.cpp
The file was removedcore/org.eclipse.cdt.core.win32/library/cdt-win32.sln
The file was removedcore/org.eclipse.cdt.core.win32/library/winreg/targetver.h
Commit d593c7a25f4779ff3bf2a325bb4aecee14f986bf by alexander kurtakov
Build with Tycho 1.7.0

Get rid of tycho-extras-version as there is no more tycho-extras.

Change-Id: I9d215aad94c4e8320153f06368d6b3ecfa4a3c42
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
The file was modifiedbuild/org.eclipse.cdt.meson.docs/pom.xml
The file was modifieddebug/org.eclipse.cdt.debug.application.doc/pom.xml
The file was modifieddoc/org.eclipse.cdt.doc.isv/pom.xml
The file was modifiedbuild/org.eclipse.cdt.autotools.docs/pom.xml
The file was modifieddoc/org.eclipse.cdt.doc.user/pom.xml
The file was modifiedpom.xml
Commit 080b4ba90d6476ec02b687134fc2245552186282 by alexander kurtakov
Set maven-antrun-plugin to 3.0.0

Don't overwrite it in plugins as version is set in
parent/pluginManagement.

Change-Id: I73d2b4d234ba83eae7ec2cd51f3e53d58256b81e
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
The file was modifieddebug/org.eclipse.cdt.debug.application.doc/pom.xml
The file was modifieddoc/org.eclipse.cdt.doc.user/pom.xml
The file was modifieddoc/org.eclipse.cdt.doc.isv/pom.xml
The file was modifiedjtag/org.eclipse.cdt.debug.gdbjtag.core.tests/pom.xml
The file was modifieddsf-gdb/org.eclipse.cdt.tests.dsf.gdb/pom.xml
The file was modifiedpom.xml
The file was modifiedbuild/org.eclipse.cdt.autotools.docs/pom.xml
The file was modifieddebug/org.eclipse.cdt.debug.dap/pom.xml
The file was modifiedbuild/org.eclipse.cdt.meson.docs/pom.xml
Commit 0947f2076425fa786b347e1818d44cf90fb66f37 by alexander kurtakov
Update build-helper-maven-plugin to 3.2.0.

Change-Id: Ifeef48c2d200c081391da693c5326b89872550f6
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
The file was modifiedreleng/org.eclipse.cdt.target/pom.xml
Commit 94f1bb0f302362b76eb10dafb1f645c7fd0e228f by alexander kurtakov
Remove unused imports.

Change-Id: Ida8455b078fa7cb39af17773c7bde1a4895158ca
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
The file was modifiedcore/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/extension/impl/CDefaultConfigurationData.java
The file was modifiedcore/org.eclipse.cdt.core/utils/org/eclipse/cdt/internal/core/MinGW.java
The file was modifiedcore/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CConfigurationSpecSettings.java
The file was modifiedcore/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/extension/impl/CDefaultFolderData.java
The file was modifiedcore/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/cdtvariables/CdtVariableManager.java
The file was modifiedcore/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/extension/impl/CDefaultBuildData.java
The file was modifiedcore/org.eclipse.cdt.core/utils/org/eclipse/cdt/internal/core/Cygwin.java
The file was modifiedcore/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/CLibraryFileEntry.java
The file was modifiedcore/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CConfigBasedDescriptor.java
The file was modifiedcore/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/cdtvariables/UserDefinedVariableSupplier.java
Commit 005b82195be5d19938a6b59548d65cc7c429a044 by Martin Weber
Bug 559674: Integrate new indexer support into CDT build

Change-Id: Ie07e6283f8285e56b7f74f29a8db1cbe222e0304
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/src/main/java/org/eclipse/cdt/cmake/is/core/internal/messages.properties
The file was modifiedbuild/org.eclipse.cdt.cmake.core/META-INF/MANIFEST.MF
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/plugin.xml
The file was addedcmake/aggregator/CDT devel.launch
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/src/main/java/org/eclipse/cdt/cmake/is/core/CompileCommandsJsonParser.java
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/src/main/java/org/eclipse/cdt/cmake/is/core/IIndexerInfoConsumer.java
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/src/main/java/org/eclipse/cdt/cmake/is/core/internal/builtins/CompilerBuiltinsDetector.java
The file was modifiedbuild/org.eclipse.cdt.cmake.core/src/org/eclipse/cdt/cmake/core/internal/CMakeBuildConfiguration.java
The file was addedcmake/org.eclipse.cdt.cmake.is.core/src/main/java/org/eclipse/cdt/cmake/is/core/ParseRequest.java
Commit 0b1492b5c83d5faf8010bebb3ec2608bd0b1b6d2 by Marc-André Laperle
Add leave method to ICElementVisitor to support leaving ICElements

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 <malaperle@gmail.com>
The file was modifiedcore/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/CModelTests.java
The file was modifiedcore/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CElement.java
The file was modifiedcore/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ICElementVisitor.java
Commit 3cea021ecde4e06065bb20576187f3d97b2105c2 by Martin Weber
Bug 559674: rename doc file

Change-Id: I3eb943e36df734afef4a5ce6e99334111a18cedf
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
The file was modifiedcmake/org.eclipse.cdt.cmake.is.intel/help_content_extension.xml
The file was modifiedcmake/org.eclipse.cdt.cmake.is.microsoft/help_content_extension.xml
The file was modifiedcmake/org.eclipse.cdt.cmake.is.arm/help_content_extension.xml
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core.doc/doc/topics_Tasks.xml
The file was modifiedcmake/org.eclipse.cdt.cmake.is.hpenonstop/help_content_extension.xml
The file was modifiedcmake/org.eclipse.cdt.cmake.is.nvidia/help_content_extension.xml
The file was removedcmake/org.eclipse.cdt.cmake.is.core.doc/doc/html/languageSettingsProviders.xhtml
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/schema/participant.exsd
The file was addedcmake/org.eclipse.cdt.cmake.is.core.doc/doc/html/supported-compilers.xhtml
Commit 35afa5764c9d7d0fb18864a9ac1d1c444edf0e2d by deep.amin
Bug 315774 - Allow force refresh of Disassembly view.

Change-Id: I8900528d1051f37d470e53800ad0ad60821ae8f4
Signed-off-by: Deep Amin <deep.amin@intel.com>
The file was modifieddebug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/disassembly/dsf/IDisassemblyPartCallback.java
The file was modifieddsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyPart.java
Commit a1a3b357ec49a0dd2f729fb5c6a7eb6550ff727e by Alexander Fedorov
Bug 565461 - Contribute "Show in Local Terminal" to Bndtools Explorer

Change-Id: Ia9edd87e7594bf5def0e511c34694e4098c64529
Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.connector.local/META-INF/MANIFEST.MF
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.connector.local/plugin.xml
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.view.ui/plugin.xml
Commit 45c979c400d985b025d52c3a1a08ae11f01dc941 by Martin Weber
Bug 565586: Handle -include and -imacros compiler flags

Change-Id: Iee67ab08ed2daa9af69fa1de583f3c6f8305960a
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/src/main/java/org/eclipse/cdt/cmake/is/core/CompileCommandsJsonParser.java
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/src/main/java/org/eclipse/cdt/cmake/is/core/internal/builtins/RawIndexerInfo.java
The file was modifiedbuild/org.eclipse.cdt.cmake.core/src/org/eclipse/cdt/cmake/core/internal/CMakeBuildConfiguration.java
The file was addedcmake/org.eclipse.cdt.cmake.is.core.tests/src/main/java/org/eclipse/cdt/cmake/is/core/internal/IncludeFile_GCCTest.java
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/src/main/java/org/eclipse/cdt/cmake/is/core/IIndexerInfoConsumer.java
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/src/main/java/org/eclipse/cdt/cmake/is/core/participant/Arglets.java
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/src/main/java/org/eclipse/cdt/cmake/is/core/participant/IRawIndexerInfoCollector.java
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core.doc/doc/html/supported-compilers.xhtml
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/src/main/java/org/eclipse/cdt/cmake/is/core/internal/ParserDetection.java
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core/src/main/java/org/eclipse/cdt/cmake/is/core/participant/IRawIndexerInfo.java
The file was addedcmake/org.eclipse.cdt.cmake.is.core.tests/src/main/java/org/eclipse/cdt/cmake/is/core/internal/MacrosFile_GCCTest.java
The file was modifiedcmake/org.eclipse.cdt.cmake.is.nvidia.tests/src/main/java/org/eclipse/cdt/cmake/is/nvidia/builtins/NvccOutputProcessorTest.java
Commit 76497af249cdaa81b4b29b7b4422484d3d97392e by Alexander Fedorov
Bug 565154 - Delete CDT Core Options API

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 <alexander.fedorov@arsysop.ru>
The file was removedcore/org.eclipse.cdt.core/options/org/eclipse/cdt/core/options/BaseOption.java
The file was removedcore/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/tests/OsgiPreferenceStorageTest.java
The file was modifiedcore/org.eclipse.cdt.core/.classpath
The file was modifieddoc/org.eclipse.cdt.doc.isv/guide/deprecated_API_removals.html
The file was removedcore/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/tests/BaseOptionTest.java
The file was removedcore/org.eclipse.cdt.core/options/org/eclipse/cdt/core/options/OsgiPreferenceStorage.java
The file was removedcore/org.eclipse.cdt.core/options/org/eclipse/cdt/core/options/OptionMetadata.java
The file was modifiedcore/org.eclipse.cdt.core/build.properties
The file was modifiedcore/org.eclipse.cdt.core/META-INF/MANIFEST.MF
The file was modifiedcore/org.eclipse.cdt.core.tests/suite/org/eclipse/cdt/core/suite/AutomatedIntegrationSuite.java
The file was modifiedcmake/org.eclipse.cdt.cmake.is.core.ui/META-INF/MANIFEST.MF
The file was removedcore/org.eclipse.cdt.core/options/org/eclipse/cdt/core/options/OptionStorage.java
The file was removedcore/org.eclipse.cdt.core/options/org/eclipse/cdt/internal/core/options/OptionMessages.java
The file was removedcore/org.eclipse.cdt.core/options/org/eclipse/cdt/internal/core/options/OptionMessages.properties
Commit 1cb1233c3390fe133906a30e1f8d38ade053548e by Marc-André Laperle
Fix CompilationDatabaseParserTest wrongly running the parser twice 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 <malaperle@gmail.com>
The file was modifiedbuild/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/language/settings/providers/tests/CompilationDatabaseParserTest.java
Commit 9e7b5beaa96f6741df5b25336b750279cb58458b by Marc-André Laperle
Bug 565553 - Improve performance of build command parsers with large number 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 <malaperle@gmail.com>
The file was modifiedbuild/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractLanguageSettingsOutputScanner.java
Commit 285c75837ea1c31798b39a42797811338ae77832 by jonah graham
[releng] Update to Eclipse platform 4.17 M2 contribution

Change-Id: I394fd614400cae4b4ee3efe33cedc4dea67fb7f5
The file was modifiedreleng/CDT.setup
The file was modifiedreleng/org.eclipse.cdt.target/cdt.target
Commit c6f2eb5588499b85c47d5eb3ef47f2e330f41d51 by jonah graham
[releng] Update self-referenced CDT version in target

Change-Id: Ibf8f2f01d97d1d8bf8fa09483170e70372b99d26
The file was modifiedreleng/CDT.setup
The file was modifiedreleng/org.eclipse.cdt.target/cdt.target
Commit d6818fbb03a931ffa345e6ee1f34ca8052d6f481 by jonah graham
Bug 549697: Define standard terminal colors with Eclipse preferences

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
The file was modifieddoc/org.eclipse.cdt.doc.isv/guide/deprecated_API_removals.html
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/build.properties
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/emulator/VT100BackendTraceDecorator.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/model/TerminalTextDataPerformanceTest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/emulator/IVT100EmulatorBackend.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/model/TerminalTextDataSnapshotTest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/emulator/VT100EmulatorBackendTest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/plugin.properties
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/terminal/model/ITerminalTextData.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/terminal/model/LineSegment.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/preferences/TerminalPreferenceInitializer.java
The file was addedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/terminal/model/TerminalColorUITest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/plugin.xml
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/model/AbstractITerminalTextDataTest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/META-INF/MANIFEST.MF
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/model/TerminalTextDataWindowTest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/terminal/model/ITerminalTextDataReadOnly.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/test/ui/FileDataSource.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/model/SnapshotChangesTest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/textcanvas/TextLineRenderer.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/test/ui/AbstractLineOrientedDataSource.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/model/TerminalTextDataFastScroll.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/test/ui/FastDataSource.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/emulator/VT100Emulator.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/model/TerminalTextDataWindow.java
The file was removedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/terminal/model/Style.java
The file was removedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/textcanvas/AnsiColorNames.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/model/SynchronizedTerminalTextData.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/textcanvas/VirtualCanvas.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/terminal/model/StyleTest.java
The file was removedterminal/plugins/org.eclipse.tm.terminal.control/css/org.eclipse.tm.terminal.stylesheet.dark.css
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/test/ui/LineCountingDataSource.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/emulator/VT100EmulatorBackend.java
The file was addedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/terminal/model/TerminalStyle.java
The file was addedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/model/SystemDefaultColors.java
The file was addedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/terminal/model/TerminalColor.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/terminal/model/AllTests.java
The file was removedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/terminal/model/StyleColor.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/model/TerminalTextDataStore.java
The file was addedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/preferences/TerminalColorsFieldEditor.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/textcanvas/TextCanvas.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/connector/TerminalConnectorPluginTest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/emulator/VT100TerminalControl.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/preferences/TerminalPreferencePage.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/preferences/ITerminalConstants.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/test/ui/RandomDataSource.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/textcanvas/StyleMap.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/model/TerminalTextTestHelper.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/model/TerminalTextDataSnapshotWindowTest.java
The file was addedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/preferences/TerminalColorPresets.java
The file was removedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/terminal/model/StyleColorTest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/control/impl/TerminalMessages.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/textcanvas/ILinelRenderer.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/model/TerminalTextData.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/model/TerminalTextDataSnapshot.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/control/impl/TerminalMessages.properties
Commit 6d4f20edd6ab7d2990e1699833629af6031afcd9 by jonah graham
Bug 540737: Add 8 and 24-bit color support to terminal

Change-Id: Iab3b648fb3bfa8f43f333371bd118e90a3a182f2
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/terminal/model/TerminalColor.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/terminal/model/StyleTest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/model/TerminalTextDataWindowTest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/terminal/model/TerminalColorUITest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/textcanvas/StyleMap.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/model/AbstractITerminalTextDataTest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/model/TerminalTextDataSnapshotTest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/test/ui/VT100DataSource.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/test/ui/TerminalTextUITest.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/emulator/VT100Emulator.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/model/TerminalTextTestHelper.java
The file was modifiedterminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/terminal/model/TerminalStyle.java
Commit 4ebaaf7b2551b5bab1a7cd358d18eeb701246de9 by marc-andre laperle
Bug 565457 - CDB settings provider/parser's automatic exclusion of files is 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 <malaperle@gmail.com>
The file was modifiedbuild/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/language/settings/providers/CompilationDatabaseParser.java
The file was modifiedbuild/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/language/settings/providers/tests/CompilationDatabaseParserTest.java
Commit 279fc6a8b2b301c9733c864fccf1ea0872f95f52 by jonah graham
Bug 559674: Include CMake IS in CMake feature

This is one way to publish the cmake.is 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
The file was modifiedbuild/org.eclipse.cdt.cmake-feature/feature.xml
Commit 2bd07a89caed5b9752ed595a09d870efe12005c1 by jonah graham
Bug 559674: Include only "primary" cmake.is support by default

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
The file was modifiedcmake/org.eclipse.cdt.cmake.is.intel/plugin.properties
The file was modifiedreleng/org.eclipse.cdt.repo/category.xml
The file was modifiedcmake/org.eclipse.cdt.cmake.is.nvidia/plugin.properties
The file was modifiedcmake/org.eclipse.cdt.cmake.is.microsoft/plugin.properties
The file was modifiedcmake/org.eclipse.cdt.cmake.is.hpenonstop/plugin.properties
The file was modifiedcmake/org.eclipse.cdt.cmake.is.arm/plugin.properties
The file was modifiedbuild/org.eclipse.cdt.cmake-feature/feature.xml
Commit 69acfe4819bcde20d20598ede0be1a6d33a560e3 by jonah graham
Bug 521515: Align directory name of native source code

The native directory can contain both libraries and utilities. In
Gerrit https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/165270,
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 <azoff@svenskalinuxforeningen.se>
The file was modifiednative/org.eclipse.cdt.native.serial/build.properties
The file was addednative/org.eclipse.cdt.native.serial/native_src/.gitignore
The file was modifiedREADME.md
The file was removednative/org.eclipse.cdt.native.serial/jni/serial.c
The file was addednative/org.eclipse.cdt.native.serial/native_src/serial.c
The file was modifiedreleng/scripts/check_code_cleanliness.sh
The file was removednative/org.eclipse.cdt.native.serial/jni/.gitignore
The file was modifiednative/org.eclipse.cdt.native.serial/os/win32/x86_64/serial.dll
The file was addednative/org.eclipse.cdt.native.serial/native_src/Makefile
The file was removednative/org.eclipse.cdt.native.serial/jni/Makefile
The file was modifiednative/org.eclipse.cdt.native.serial/pom.xml
The file was addednative/org.eclipse.cdt.native.serial/native_src/Readme.md
The file was removednative/org.eclipse.cdt.native.serial/jni/Readme.md
Commit 00a52086c9e3c7457be830ee38626c2af0225c23 by jonah graham
Bug 521515: Adopt native build support on jenkins

Change-Id: I6aee7a7c94f93375d3a2ddb0171602a27a6873e7
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
The file was removedcore/org.eclipse.cdt.core.macosx/library/io.c
The file was removedcore/org.eclipse.cdt.core.macosx/library/PTY.h
The file was removedcore/org.eclipse.cdt.core.win32/library/SpawnerInputStream.h
The file was removedcore/org.eclipse.cdt.core.win32/library/StdAfx.c
The file was removedcore/org.eclipse.cdt.core.macosx/library/openpty.c
The file was addedcore/org.eclipse.cdt.core.native/native_src/win/iostream.c
The file was modifiedcore/org.eclipse.cdt.core.native/build.properties
The file was removedcore/org.eclipse.cdt.core.win32/library/Readme64.txt
The file was modifiedcore/org.eclipse.cdt.core.linux.x86_64/os/linux/x86_64/libspawner.so
The file was removedcore/org.eclipse.cdt.core.macosx/library/exec_pty.c
The file was removedcore/org.eclipse.cdt.core.win32/library/starter/Makefile
The file was addedcore/org.eclipse.cdt.core.native/native_src/unix/openpty.h
The file was addedcore/org.eclipse.cdt.core.native/native_src/unix/io.c
The file was removedcore/org.eclipse.cdt.core.linux/library/exec_unix.c
The file was addedcore/org.eclipse.cdt.core.native/pom.xml
The file was modifiedcore/org.eclipse.cdt.core.linux/build.properties
The file was removedcore/org.eclipse.cdt.core.macosx/library/Makefile
The file was addedcore/org.eclipse.cdt.core.native/native_src/include/Spawner.h
The file was addedcore/org.eclipse.cdt.core.native/native_src/include/SpawnerInputStream.h
The file was removedcore/org.eclipse.cdt.core.linux/library/exec_pty.c
The file was removedcore/org.eclipse.cdt.core.linux/library/SpawnerOutputStream.h
The file was addedcore/org.eclipse.cdt.core.native/native_src/unix/exec_pty.c
The file was addedcore/org.eclipse.cdt.core.native/native_src/unix/exec0.h
The file was addedcore/org.eclipse.cdt.core.native/native_src/unix/spawner.c
The file was addedcore/org.eclipse.cdt.core.native/native_src/unix/pty.c
The file was removedcore/org.eclipse.cdt.core.macosx/library/PTYInputStream.h
The file was removedcore/org.eclipse.cdt.core.linux/library/io.c
The file was removedcore/org.eclipse.cdt.core.win32/library/build64.bat
The file was addedcore/org.eclipse.cdt.core.native/native_src/unix/exec_unix.c
The file was removedcore/org.eclipse.cdt.core.macosx/library/SpawnerInputStream.h
The file was modifiedreleng/scripts/check_code_cleanliness.sh
The file was modifiedcore/org.eclipse.cdt.core.linux/pom.xml
The file was removedcore/org.eclipse.cdt.core.linux/library/openpty.h
The file was removedcore/org.eclipse.cdt.core.win32/library/starter/starter.cpp
The file was removedcore/org.eclipse.cdt.core.macosx/library/SpawnerOutputStream.h
The file was removedcore/org.eclipse.cdt.core.macosx/library/openpty.h
The file was removedcore/org.eclipse.cdt.core.linux/library/pfind.c
The file was removedcore/org.eclipse.cdt.core.linux/library/Makefile
The file was addedcore/org.eclipse.cdt.core.native/native_src/include/PTYInputStream.h
The file was modifiedcore/org.eclipse.cdt.core.macosx/os/macosx/x86_64/libpty.jnilib
The file was removedcore/org.eclipse.cdt.core.linux/library/ptyio.c
The file was removedcore/org.eclipse.cdt.core.win32/library/raise.c
The file was modifiedcore/org.eclipse.cdt.core.macosx/os/macosx/x86/libpty.jnilib
The file was addedcore/org.eclipse.cdt.core.native/native_src/win/raise.c
The file was removedcore/org.eclipse.cdt.core.linux/library/spawner.c
The file was removedcore/org.eclipse.cdt.core.macosx/library/exec_unix.c
The file was removedcore/org.eclipse.cdt.core.macosx/library/Spawner.h
The file was removedcore/org.eclipse.cdt.core.win32/library/StdAfx.h
The file was removedcore/org.eclipse.cdt.core.macosx/library/pty.c
The file was modifiedcore/org.eclipse.cdt.core.win32/library/.gitignore
The file was removedcore/org.eclipse.cdt.core.linux/library/SpawnerInputStream.h
The file was removedcore/org.eclipse.cdt.core.macosx/library/PTYOutputStream.h
The file was removedcore/org.eclipse.cdt.core.macosx/library/ptyio.c
The file was modifiedcore/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/spawner.dll
The file was removedcore/org.eclipse.cdt.core.win32/library/spawner.c
The file was removedcore/org.eclipse.cdt.core.linux/library/PTYInputStream.h
The file was addedcore/org.eclipse.cdt.core.native/native_src/win/Win32ProcessEx.c
The file was removedcore/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c
The file was removedcore/org.eclipse.cdt.core.win32/library/Spawner.h
The file was removedcore/org.eclipse.cdt.core.linux/library/exec0.h
The file was addedcore/org.eclipse.cdt.core.native/native_src/unix/ptyio.c
The file was modifiedcore/org.eclipse.cdt.core.macosx/os/macosx/x86/libspawner.jnilib
The file was removedcore/org.eclipse.cdt.core.linux/library/openpty.c
The file was modifiedcore/org.eclipse.cdt.core.linux.x86_64/os/linux/x86_64/libpty.so
The file was removedcore/org.eclipse.cdt.core.macosx/library/.gitignore
The file was removedcore/org.eclipse.cdt.core.macosx/library/spawner.c
The file was removedcore/org.eclipse.cdt.core.linux/library/PTY.h
The file was removedcore/org.eclipse.cdt.core.win32/library/Makefile
The file was modifiedcore/org.eclipse.cdt.core.macosx/build.properties
The file was modifiedcore/org.eclipse.cdt.core.macosx/os/macosx/x86_64/libspawner.jnilib
The file was removedcore/org.eclipse.cdt.core.linux/library/pty.c
The file was modifiedcore/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64/starter.exe
The file was addedcore/org.eclipse.cdt.core.native/native_src/include/SpawnerOutputStream.h
The file was removedcore/org.eclipse.cdt.core.macosx/library/exec0.h
The file was addedcore/org.eclipse.cdt.core.native/native_src/Makefile
The file was addedcore/org.eclipse.cdt.core.native/native_src/include/PTYOutputStream.h
The file was addedcore/org.eclipse.cdt.core.native/native_src/win/spawner.c
The file was removedcore/org.eclipse.cdt.core.linux/library/Spawner.h
The file was removedcore/org.eclipse.cdt.core.win32/library/setenv64.bat
The file was addedcore/org.eclipse.cdt.core.native/native_src/unix/pfind.c
The file was removedcore/org.eclipse.cdt.core.win32/library/SpawnerOutputStream.h
The file was removedcore/org.eclipse.cdt.core.win32/library/Makefile_x86_64.mk
The file was addedcore/org.eclipse.cdt.core.native/native_src/include/PTY.h
The file was addedcore/org.eclipse.cdt.core.native/native_src/unix/openpty.c
The file was removedcore/org.eclipse.cdt.core.linux/library/PTYOutputStream.h
The file was addedcore/org.eclipse.cdt.core.native/native_src/win/starter.c
The file was removedcore/org.eclipse.cdt.core.win32/library/iostream.c
The file was removedcore/org.eclipse.cdt.core.macosx/library/pfind.c