Skip to content

Commit

Permalink
v0.4.5 (#703)
Browse files Browse the repository at this point in the history
* archive media

* should be only place that needs null check

* revert to dynamic

* fixes #701

* use readme for unreleased
  • Loading branch information
BFergerson authored Mar 30, 2022
1 parent 9875e00 commit dde3367
Show file tree
Hide file tree
Showing 34 changed files with 26 additions and 20 deletions.
Binary file removed .github/media/SM.png
Binary file not shown.
1 change: 0 additions & 1 deletion .github/media/SM.svg

This file was deleted.

Binary file removed .github/media/misc/SM-CFD_Software.jpg
Binary file not shown.
Binary file removed .github/media/misc/SM-Research-vs-Development.jpg
Binary file not shown.
Binary file removed .github/media/misc/SM-v0.2.1-Screencast.gif
Binary file not shown.
Binary file removed .github/media/misc/SM_Alerting.gif
Binary file not shown.
Binary file removed .github/media/misc/SM_IDE-APM.gif
Binary file not shown.
Binary file removed .github/media/misc/SM_Logging.gif
Binary file not shown.
Binary file removed .github/media/misc/SM_Tracing.gif
Binary file not shown.
Binary file removed .github/media/misc/Scientific_Research.png
Binary file not shown.
Binary file removed .github/media/misc/Software_Development.png
Binary file not shown.
Binary file removed .github/media/portal_overview.png
Binary file not shown.
Binary file not shown.
Binary file removed .github/media/screenshots/activity.png
Binary file not shown.
Binary file removed .github/media/screenshots/activity_view.gif
Binary file not shown.
Binary file removed .github/media/screenshots/latest_traces.gif
Binary file not shown.
Binary file removed .github/media/screenshots/logging.gif
Binary file not shown.
Binary file removed .github/media/screenshots/open_activity.gif
Binary file not shown.
Binary file removed .github/media/screenshots/overview.gif
Binary file not shown.
Binary file removed .github/media/screenshots/performance_ramp.png
Binary file not shown.
Binary file removed .github/media/screenshots/plugin_configuration.png
Binary file not shown.
Binary file removed .github/media/screenshots/slowest_traces.gif
Binary file not shown.
Binary file removed .github/media/screenshots/span_info.gif
Binary file not shown.
Binary file removed .github/media/screenshots/trace_stack.png
Binary file not shown.
Binary file removed .github/media/screenshots/traces_view.gif
Binary file not shown.
Binary file removed .github/media/screenshots/track.gif
Diff not rendered.
Binary file removed .github/media/screenshots/track_sioobe.gif
Diff not rendered.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ subprojects {
tasks {
register("downloadProbe") {
doLast {
val f = File(projectDir, "test/e2e/spp-probe-0.4.4.jar")
val f = File(projectDir, "test/e2e/spp-probe-$projectVersion.jar")
if (!f.exists()) {
println("Downloading Source++ JVM probe")
java.net.URL("https://github.com/sourceplusplus/probe-jvm/releases/download/0.4.4/spp-probe-0.4.4.jar")
java.net.URL("https://github.com/sourceplusplus/probe-jvm/releases/download/$projectVersion/spp-probe-$projectVersion.jar")
.openStream().use { input ->
java.io.FileOutputStream(f).use { output ->
input.copyTo(output)
Expand Down
2 changes: 1 addition & 1 deletion marker/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {
val intellijVersion = "213.7172.25"

compileOnly("org.jooq:joor:$joorVersion")
compileOnly("com.github.sourceplusplus.protocol:protocol:0.4.4")
compileOnly("com.github.sourceplusplus.protocol:protocol:$projectVersion")
compileOnly("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinVersion")
compileOnly("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
compileOnly("com.google.guava:guava:31.1-jre")
Expand Down
2 changes: 1 addition & 1 deletion marker/jvm-marker/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies {
compileOnly(project(":marker"))
compileOnly(project(":monitor"))
}
compileOnly("com.github.sourceplusplus.protocol:protocol:0.4.4")
compileOnly("com.github.sourceplusplus.protocol:protocol:$projectVersion")
val intellijVersion = "213.7172.25"

implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinVersion")
Expand Down
2 changes: 1 addition & 1 deletion marker/py-marker/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {
} else {
compileOnly(project(":marker"))
}
compileOnly("com.github.sourceplusplus.protocol:protocol:0.4.4")
compileOnly("com.github.sourceplusplus.protocol:protocol:$projectVersion")
val intellijVersion = "213.7172.25"

implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinVersion")
Expand Down
2 changes: 1 addition & 1 deletion monitor/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ val projectVersion: String by project
val slf4jVersion: String by project

dependencies {
implementation("com.github.sourceplusplus.protocol:protocol:0.4.4")
implementation("com.github.sourceplusplus.protocol:protocol:$projectVersion")
implementation("org.slf4j:slf4j-api:$slf4jVersion")
implementation("com.apollographql.apollo3:apollo-runtime:$apolloVersion")
api("com.apollographql.apollo3:apollo-api:$apolloVersion")
Expand Down
32 changes: 20 additions & 12 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ dependencies {
implementation(project(":marker:jvm-marker"))
implementation(project(":marker:py-marker"))
implementation(project(":monitor"))
implementation("com.github.sourceplusplus.interface-portal:portal-jvm:0.4.4") { isTransitive = false }
implementation("com.github.sourceplusplus.protocol:protocol:0.4.4")
implementation("com.github.sourceplusplus.interface-portal:portal-jvm:$projectVersion") { isTransitive = false }
implementation("com.github.sourceplusplus.protocol:protocol:$projectVersion")
}

implementation("org.jooq:joor:$joorVersion")
Expand Down Expand Up @@ -115,12 +115,17 @@ tasks {

// Get the latest available change notes from the changelog file
changeNotes.set(project.provider {
val changelog = URL("https://raw.githubusercontent.com/sourceplusplus/live-platform/master/CHANGELOG.md")
val pluginChangesHeader = "### [JetBrains Plugin](https://github.com/sourceplusplus/interface-jetbrains)\n"
val fullChangelog = URL("https://raw.githubusercontent.com/sourceplusplus/documentation/master/docs/changelog/README.md")
.readText()
.substringAfter("### [JetBrains Plugin](https://github.com/sourceplusplus/interface-jetbrains)\n")
.substringBefore("\n### ").substringBefore("\n## ")
.trim()
markdownToHTML(changelog)
if (fullChangelog.contains(pluginChangesHeader)) {
val changelog = fullChangelog.substringAfter(pluginChangesHeader)
.substringBefore("\n### ").substringBefore("\n## ")
.trim()
markdownToHTML(changelog)
} else {
markdownToHTML("")
}
})
}

Expand All @@ -136,12 +141,15 @@ tasks {
tasks {
register("getPluginChangelog") {
doFirst {
val changelog = URL("https://raw.githubusercontent.com/sourceplusplus/live-platform/master/CHANGELOG.md")
val pluginChangesHeader = "### [JetBrains Plugin](https://github.com/sourceplusplus/interface-jetbrains)\n"
val fullChangelog = URL("https://raw.githubusercontent.com/sourceplusplus/documentation/master/docs/changelog/README.md")
.readText()
.substringAfter("### [JetBrains Plugin](https://github.com/sourceplusplus/interface-jetbrains)\n")
.substringBefore("\n### ").substringBefore("\n## ")
.trim()
println(changelog)
if (fullChangelog.contains(pluginChangesHeader)) {
val changelog = fullChangelog.substringAfter(pluginChangesHeader)
.substringBefore("\n### ").substringBefore("\n## ")
.trim()
println(changelog)
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public PluginConfigurationPanel(SourceMarkerConfig config) {
myServiceSettingsPanel.setBorder(IdeBorderFactory.createTitledBorder(message("service_settings")));
myGlobalSettingsPanel.setBorder(IdeBorderFactory.createTitledBorder(message("plugin_settings")));

//todo: properly ensure live service can never be null
if (INSTANCE.getLiveService() != null) {
INSTANCE.getLiveService().getServices().onComplete(it -> {
if (it.succeeded()) {
Expand Down

0 comments on commit dde3367

Please sign in to comment.