Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Detangled CancellableConsumerConnection from ModelBuilderBackedConsumerConnection, as they don't really share anything.

    • -1
    • +1
    ./DefaultToolingImplementationLoader.java
  1. … 11 more files in changeset.
Changed ToolingImplementationLoader and Distribution to use the internal BuildCancellationToken type instead of the public type.

    • -2
    • +2
    ./CachingToolingImplementationLoader.java
    • -3
    • +3
    ./DefaultToolingImplementationLoader.java
    • -2
    • +2
    ./SynchronizedToolingImplementationLoader.java
  1. … 10 more files in changeset.
REVIEW-5073 Log info about missing cancellation support.

Use logger in a decorator for ConsumerConnection to notify user that the

build cannot be cancelled if older toolingApi provider is used.

    • -0
    • +3
    ./DefaultToolingImplementationLoader.java
  1. … 4 more files in changeset.
Make cancellationToken available in Distribution.getToolingImplementationClasspath().

    • -3
    • +4
    ./CachingToolingImplementationLoader.java
    • -4
    • +5
    ./DefaultToolingImplementationLoader.java
    • -3
    • +4
    ./SynchronizedToolingImplementationLoader.java
  1. … 8 more files in changeset.
Add InternalCancellableConnection protocol to toolingApi and its consumer-side implementation.

    • -1
    • +3
    ./DefaultToolingImplementationLoader.java
  1. … 10 more files in changeset.
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.