Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Refined resources access allowing to configure logging during toolingApi provider bootstrap.

It can load special resources to avoid problems with resources that

are not on tooling API provider's classpath.

    • -3
    • +40
    ./DefaultToolingImplementationLoader.java
  1. … 1 more file in changeset.
Make logback config files accessible to tooling provider.

This allows to configure logging from provider before it sets its own configuration.

    • -0
    • +2
    ./DefaultToolingImplementationLoader.java
  1. … 1 more file in changeset.
Forward shutdown request to each of the tooling api providers used by the client, and discard the providers once complete. The provider currently doesn't do anything with the request.

    • -1
    • +11
    ./CachingToolingImplementationLoader.java
    • -1
    • +3
    ./DefaultToolingImplementationLoader.java
    • -3
    • +13
    ./SynchronizedToolingImplementationLoader.java
  1. … 12 more files in changeset.
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.