Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add back partial BuildEnvironment model for 1.0M3-7 toolingApi providers.

    • -1
    • +1
    ./DefaultToolingImplementationLoader.java
  1. … 4 more files in changeset.
Remove support for connections to Tooling API providers older than 1.0M8 and from consumers older than 1.2.

    • -1
    • +1
    ./DefaultToolingImplementationLoader.java
  1. … 47 more files in changeset.
Removed some debug logging.

    • -10
    • +1
    ./DefaultToolingImplementationLoader.java
Merged ConsumerConnectionParameters into DefaultConnectionParameters.

    • -3
    • +3
    ./CachingToolingImplementationLoader.java
    • -3
    • +3
    ./DefaultToolingImplementationLoader.java
    • -2
    • +2
    ./SynchronizedToolingImplementationLoader.java
  1. … 15 more files in changeset.
GRADLE-2414 Different way how to pass userHomeDir to Distribution.

Keep DistributionFactory immutable and get userHomeDir used to install

Gradle distribution from connection parameters when creating tooling

classpath.

    • -1
    • +1
    ./CachingToolingImplementationLoader.java
    • -3
    • +5
    ./DefaultToolingImplementationLoader.java
  1. … 14 more files in changeset.
Added some diagnostics to tooling api classloading.

    • -1
    • +10
    ./DefaultToolingImplementationLoader.java
  1. … 4 more files in changeset.
Changed the tooling API load to create a broken connection rather than throw an exception when the target Gradle version does not support the tooling API.

    • -11
    • +4
    ./DefaultToolingImplementationLoader.java
  1. … 2 more files in changeset.
Moved some classes from core to baseServices.

    • -2
    • +2
    ./DefaultToolingImplementationLoader.java
  1. … 31 more files in changeset.
Wired up `BuildController.getModel()` so that it is usable (to some degree) by client build actions.

    • -2
    • +2
    ./DefaultToolingImplementationLoader.java
  1. … 4 more files in changeset.
Some renames.

    • -1
    • +1
    ./DefaultToolingImplementationLoader.java
  1. … 11 more files in changeset.
Ship the client's build action across to the provider.

    • -5
    • +4
    ./DefaultToolingImplementationLoader.java
  1. … 12 more files in changeset.
Moved MutableURLClassLoader to baseServices project.

    • -1
    • +1
    ./DefaultToolingImplementationLoader.java
  1. … 17 more files in changeset.
Remove @author tags and names from source code.

- Added checkstyle check for @author

- Added not to CONTRIBUTING.md saying that we don't use names in the codebase

    • -3
    • +0
    ./SynchronizedToolingImplementationLoader.java
  1. … 1213 more files in changeset.
Infer which capabilities the tooling API provider supports based on inspecting which protocol types it implements rather than its version number.

    • -7
    • +6
    ./DefaultToolingImplementationLoader.java
  1. … 14 more files in changeset.
Changed DefaultToolingImplementationLoader to prefer ModelBuilder over the old interfaces. Restructured the ConsumerConnection implementations.

    • -2
    • +5
    ./DefaultToolingImplementationLoader.java
  1. … 11 more files in changeset.
Pushed the mapping from model type -> protocol type and converting the resulting model right down to just above the provider.

    • -3
    • +7
    ./DefaultToolingImplementationLoader.java
  1. … 15 more files in changeset.
Introduced ProviderMetaDataRegistry as a factory for VersionDetails for a given provider version. Replaced a bunch of specific methods on VersionDetails with isModelSupported().

    • -3
    • +6
    ./DefaultToolingImplementationLoader.java
  1. … 14 more files in changeset.
Fix for tooling API + really old provider versions + ibm jvm 5

    • -1
    • +6
    ./DefaultToolingImplementationLoader.java
Pushed ConsumerConnectionParameters up to ToolingImplementationLoader.create().

    • -2
    • +3
    ./CachingToolingImplementationLoader.java
    • -2
    • +1
    ./DefaultToolingImplementationLoader.java
    • -3
    • +4
    ./SynchronizedToolingImplementationLoader.java
  1. … 5 more files in changeset.
Added ConfigurableConnection, to allow a provider connection to receive some configuration. Changed the consumer to prefer this over configureLogging(boolean).

Currently, configuration provided is the consumer version and whether verbose logging should be enabled.

    • -1
    • +3
    ./DefaultToolingImplementationLoader.java
  1. … 14 more files in changeset.
Merged ConsumerConnection.getModel() and executeBuild() into a single run() method.

    • -6
    • +6
    ./DefaultToolingImplementationLoader.java
  1. … 15 more files in changeset.
- Introduced BuildActionRunner to the tooling API protocol. Can be implemented by a provider connection to mix in capability to run a build and return a result. - Use this interface in the consumer, if the connection implements it, otherwise fall back to InternalConnection and finally ConnectionVersion4. - Split up AdaptedConnection into specific implementations for each of the above cases.

    • -1
    • +13
    ./DefaultToolingImplementationLoader.java
  1. … 12 more files in changeset.
Moved ServiceLocator from core to baseServices.

    • -0
    • +1
    ./DefaultToolingImplementationLoader.java
  1. … 7 more files in changeset.
Moved ClassPath and DefaultClassPath from core to baseServices.

    • -1
    • +1
    ./CachingToolingImplementationLoader.java
    • -0
    • +1
    ./DefaultToolingImplementationLoader.java
  1. … 38 more files in changeset.
Represent the tooling API provider implementation using a ClassPath, rather than Collection<File>.

    • -5
    • +3
    ./CachingToolingImplementationLoader.java
    • -6
    • +2
    ./DefaultToolingImplementationLoader.java
  1. … 8 more files in changeset.
Refactored the slf4j logging for the tooling api provider in an attempt to clean things out and resolve some of the CI issues (like the recent jvm crashes). Stopped using the awkwardly synchronized single-op logging configurer (this is where the jvm was crashing). Instead I configure the logging when the connection is created. Since we have a single connection per classpath/classloader this should be also concurrency safe. On the downside, I'm pushing a boolean verboseLogging around, however I cannot really use a LogLevel type because log levels are not modelled in the protocol (they are not a part of the cross version contract).

    • -2
    • +2
    ./CachingToolingImplementationLoader.java
    • -2
    • +4
    ./DefaultToolingImplementationLoader.java
    • -3
    • +3
    ./SynchronizedToolingImplementationLoader.java
  1. … 13 more files in changeset.
- Added ClasspathSource, to allow a ClassLoader to make its classpath available via ClasspathUtil.getClasspath() without making it parent(s) visible. - Fixed broken int tests. - Removed the 'observable' bit from ObservableUrlClassLoader and renamed it to MutableURLClassLoader.

    • -1
    • +1
    ./DefaultToolingImplementationLoader.java
  1. … 18 more files in changeset.
Moved Factory and ServiceRegistry back to where they were, and leave behind some deprecated subtypes for the old compiled tasks to find.

    • -1
    • +1
    ./DefaultToolingImplementationLoader.java
  1. … 142 more files in changeset.
- Moved ServiceFactory and Factory back to their old packages (for now) to avoid breaking tasks implemented in Groovy and compiled against older Gradle versions. - Added some int test coverage for this case.

    • -1
    • +1
    ./DefaultToolingImplementationLoader.java
  1. … 145 more files in changeset.
Shuffled some classes around to some new packages.

    • -1
    • +1
    ./DefaultToolingImplementationLoader.java
  1. … 243 more files in changeset.