Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove outdated UsedByScanPluginˆ

Remove synthetic accessors for internal private symbol references

  1. … 902 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 902 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 890 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 897 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 902 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 902 more files in changeset.
Add missing @Override to all modules

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 1002 more files in changeset.
Add missing @Override to all modules

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 996 more files in changeset.
Change the console rendering to avoid redrawing the build status or each work in progress line when nothing has changed. Previously, each line would be redrawn on each 'update now' event regardless of change (which are fired 10 times per second). The changes result in a much better experience on slower terminals, such as the Windows console, as the cursor does not bounce around while nothing else is changing on the screen.

Also skip setting and resetting the text attributes when rendering an empty span, to avoid generating some pointless control characters.

  1. … 3 more files in changeset.
Change the user prompt infrastructure to give the user some feedback when they enter a value that isn't valid for the question. Add some test coverage for user prompting.

  1. … 23 more files in changeset.
Change the `init` task to prompt the user for any build init settings that were not specified on the command-line.

  1. … 12 more files in changeset.
Fix custom service registries

  1. … 5 more files in changeset.
Use some knowledge of the output event stream to reduce the number of strings that are written to the daemon client during serialization.

  1. … 3 more files in changeset.
Remove the 'parent build operation' property from `ProgressStartEvent` as this can be inferred from the other properties. Reduce the amount of mapping required to perform console output grouping and to simplify the output event stream before it is seen by any consumers.

  1. … 11 more files in changeset.
Merge the 'short description' and 'status' properties on progress start events, to avoid the cost of tracking and serializing these separately.

  1. … 22 more files in changeset.
Change the allocation of progress operation ids so that it is likely that the progress operation id and build operation id of a given start event are the same, and take advantage of this to avoid serializing the build operation id and parent build operation id when they are same as the corresponding progress operation id.

A later change could potentially merge these two separate ids and avoid the cost of tracking two separate, but almost always correlated, values.

  1. … 11 more files in changeset.
Transform the logging event stream prior to processing it, to discard progress operations that are not interesting to the logging subsystem. This reduces the amount of work required to process the stream, e.g. to write the events to the daemon client or track the state of each operation to group output or draw the dynamic console output.

  1. … 6 more files in changeset.
Rename parameter for clarity.

Write all log messages to `System.out` when using the plain console rather than writing error log messages to `System.err` and everything else to `System.out`. This matches the behaviour of the rich and verbose consoles and avoids interleaving issues due to the Gradle client process' stdout and stderr streams being delivered asynchronously to the invoking process.

This is a potential breaking change. However, it is also the simplest approach to solving the interleaving issues. There are other, more complex, solutions available if we need to restore the previous behaviour.

  1. … 7 more files in changeset.
Introduce a constant `StyledTextOutputEvent.Span` to use for line endings, rather than create a new instance for each line.

  1. … 5 more files in changeset.
Any grouped output should go to the same output stream when multiple streams are attached

  1. … 9 more files in changeset.
Flush output events any time a listener is added/removed

    • -0
    • +32
    ./FlushOutputEvent.java
  1. … 3 more files in changeset.
Emit build operation progress events for logging output (#4537)

* Tweak BuildOperationListener#progress api

* Use build operation id to reference progress

* Add workaround for tracing log output via build operation progress for composite builds

* Replace some Object typing of operation identifiers with OperationIdentifier.

* Associate all progress logging with the current build operation.

* Update logic to accommodate for all progress events now having build operation IDs.

* Don't allow ProgressStartEvent.buildOperationCategory to be null.

** Default it to uncategorized.

    • -0
    • +40
    ./operations/LogEventBuildOperationProgressDetails.java
    • -0
    • +45
    ./operations/ProgressStartBuildOperationProgressDetails.java
    • -0
    • +50
    ./operations/StyledTextBuildOperationProgressDetails.java
  1. … 44 more files in changeset.
Rationalise handling of “current” build operation and build operation ID

For an upcoming change to emit console logging as build operation progress events, we need to associate all progress logging with the build operation. This pulled a thread on some long overdue cleanup.

The end result is:

1. Base build operation infrastructure is consolidated org.gradle.internal.operations.

2. Mechanism for passing thread global current build operation is more test friendly, and better named.

3. A consistent mechanism is used for binding the current operation to the thread, instead of two mechanisms.

4. Build operation IDs are typed to OperationIdentifier.

There is no public API or user behaviour change.

  1. … 144 more files in changeset.
Capture user input via internal API (#3007)

    • -0
    • +41
    ./PromptOutputEvent.java
    • -0
    • +36
    ./UserInputRequestEvent.java
    • -0
    • +26
    ./UserInputResumeEvent.java
  1. … 26 more files in changeset.
Add a few notes about outstanding problems

    • -5
    • +0
    ./LogHeaderFilterOutputEventListener.java
  1. … 2 more files in changeset.
Fix behavior after rebasing from master

  1. … 6 more files in changeset.
Fix some tests that check output

  1. … 8 more files in changeset.
Use common output chain for grouping and header generation

This allows us to group logs for print streams like stdout and stderr.

Use PrettyPrefix header for all output chains, making our output

consistent between rich and plain console modes.

Adjust functional test coverage to accomodate for new task header

    • -0
    • +46
    ./LogGroupHeaderEvent.java
    • -0
    • +40
    ./LogHeaderFilterOutputEventListener.java
    • -0
    • +90
    ./OutputEventGroup.java
    • -0
    • +20
    ./OutputEventGroupListener.java
  1. … 108 more files in changeset.