listener

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Renamed src/main/groovy to src/main/java in core

    • -71
    • +0
    ./ClosureBackedMethodInvocationDispatch.java
  1. … 2542 more files in changeset.
Moved `o.g.messaging.*` to `o.g.internal.*`.

    • -2
    • +2
    ./ClosureBackedMethodInvocationDispatch.java
  1. … 295 more files in changeset.
Added another dummy class.

Added a dummy class required by tasks compiled against previous Gradle versions.

Moved some classes from core to messaging project.

    • -29
    • +0
    ./ListenerNotificationException.java
  1. … 49 more files in changeset.
Removed unused method from ListenerManager.

Moved a class from core to messaging project.

  1. … 2 more files in changeset.
Removed unused class.

  1. … 1 more file in changeset.
Renamed AbstractMultiCauseException to DefaultMultiCauseException.

  1. … 12 more files in changeset.
REVIEW-4134 Simplified removal of all test listeners.

  1. … 2 more files in changeset.
REVIEW-3457 moved classes for exception handling into seperate package

  1. … 38 more files in changeset.
GRADLE-2737 - Don't wrap listener failures in a ListenerNotificationException unless there are multiple failure or the failure is a checked exception.

  1. … 1 more file in changeset.
Changed ListenerBroadcast so that it collects all failures and includes them in the ListenerNotificationException, rather than logging all except the first failure.

  1. … 1 more file in changeset.
Changed ActionBroadcast so that it stops on first failure, rather than attempting to execute all actions. Also no longer uses reflection or wraps failures in ListenerNotificationException.

  1. … 1 more file in changeset.
REVIEW-1471 Made the fixture fail gracefully if afterExecute actions are configured for async Gradle execution.

  1. … 1 more file in changeset.
Cleanup after bad change: 6ef0a383e5e9317cec0125d69ddb081180f9dc93 - When using closures for with a listener broadcast, they cannot be treated as actions.

Lifted ClosureBackedMethodInvocationDispatch up to be a top level class and made it the caller's responsibility to create one of these.

    • -0
    • +71
    ./ClosureBackedMethodInvocationDispatch.java
  1. … 8 more files in changeset.
Remove the Closure methods from ActionBroadcast and ListenerBroadcast.

org.gradle.tooling.internal.consumer.parameters.ProgressListenerAdapter uses ListenerBroadcast and Groovy is not available to it.

See: http://builds.gradle.org/viewLog.html?buildId=37068&tab=buildResultsDiv&buildTypeId=bt67

  1. … 10 more files in changeset.
- Changed DefaultExecHandle to use (synchronous) ListenerBroadcast instead of AsyncListenerBroadcast. - Removed now unused AsyncListenerBroadcast and StoppableDispatch.

  1. … 6 more files in changeset.
Moved BroadcastDispatch from o.g.messaging.dispatch to o.g.listener.

    • -0
    • +139
    ./BroadcastDispatch.java
  1. … 1 more file in changeset.
- Added ThreadSafe marker interface. I would have preferred an annotation, but there's no way to make this work with dynamic proxies. - Added ActorFactory.createBlockingActor() to allow a not-thread-safe object to be wrapped in a thread-safe proxy. Pretty basic impl, needs to be synched up with the non-blocking impl at some point.

  1. … 11 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. … 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. … 145 more files in changeset.
Shuffled some classes around to some new packages.

  1. … 243 more files in changeset.
Moved creation of DefaultCacheAccess out of DefaultCacheLockingManager to behind PersistentCache, so it is reusable elsewhere.

  1. … 7 more files in changeset.
Fix some check style issues.

  1. … 2 more files in changeset.
Improved the Transformer interface to support a different return type, allowing transformation to other types.

  1. … 8 more files in changeset.
GRADLE-1166 - Open caches on first access, to avoid locking stuff that isn't needed.

    • -0
    • +50
    ./LazyCreationProxy.java
  1. … 3 more files in changeset.
- Report all validation problems for a task, rather than just the first one found. - Improved the error reporting when an event handler closure throws an exception (eg taskGraph.whenReady { }). - Removed crazy mechanism for converting exceptions to LocationAwareException, just wrap the exception instead. - Don't create parent directory for @OutputFile property if the task is to be skipped. - Fixed case where @Optional @OutputDirectory property is null - Fixed some broken integrations tests.

  1. … 50 more files in changeset.
Renamed subprojects/gradle-(.+) to subprojects/$1

    • -0
    • +35
    ./ActionBroadcast.java
    • -0
    • +38
    ./AsyncListenerBroadcast.java
    • -0
    • +42
    ./ContextClassLoaderProxy.java
    • -0
    • +182
    ./DefaultListenerManager.java
    • -0
    • +156
    ./ListenerBroadcast.java
    • -0
    • +101
    ./ListenerManager.java
    • -0
    • +33
    ./ListenerNotificationException.java
  1. … 6172 more files in changeset.