Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4245: RUN: Add "Restart" and "Stop" buttons to Cargo build tool window r=ortem a=mchernyavsky Relates to #3926. <img width="315" alt="restart-stop" src="https://user-images.githubusercontent.com/6079006/62889650-77ffe780-bd4a-11e9-9b30-8e3ca5869f2c.png"> 4323: INT: Handle trailing comma in ChopListIntention r=mchernyavsky a=ortem 4346: Fix switch to AST when resolving nested macro with the new engine r=vlad20012 a=vlad20012 The bug was introduced in #3750 (not released yet) Co-authored-by: Mikhail Chernyavsky <mikhail.chernyavsky@jetbrains.com> Co-authored-by: ortem <ortem00@gmail.com> Co-authored-by: vlad20012 <beskvlad@gmail.com>
- Loading branch information
Showing
19 changed files
with
300 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 0 additions & 51 deletions
51
src/192/main/kotlin/org/rust/cargo/runconfig/buildtool/Utils.kt
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
src/192/main/kotlin/org/rust/cargo/runconfig/buildtool/UtilsExtra.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Use of this source code is governed by the MIT license that can be | ||
* found in the LICENSE file. | ||
*/ | ||
|
||
@file:Suppress("UnstableApiUsage") | ||
|
||
package org.rust.cargo.runconfig.buildtool | ||
|
||
import com.intellij.build.BuildProgressListener | ||
import com.intellij.build.events.BuildEvent | ||
|
||
object EmptyBuildProgressListener : BuildProgressListener { | ||
override fun onEvent(buildId: Any, event: BuildEvent) = Unit | ||
} | ||
|
||
@Suppress("UnstableApiUsage") | ||
class MockBuildProgressListener : BuildProgressListener { | ||
private val _eventHistory: MutableList<BuildEvent> = mutableListOf() | ||
val eventHistory: List<BuildEvent> get() = _eventHistory | ||
|
||
override fun onEvent(buildId: Any, event: BuildEvent) { | ||
_eventHistory.add(event) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.