Skip to content

Commit

Permalink
extract intellij.platform.ide.observable (required to extract UI DSL)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: cf1e7fc1e73a9a6cfb29041d48dfd6f3286ef890
  • Loading branch information
develar authored and intellij-monorepo-bot committed Dec 16, 2024
1 parent ad2ba1d commit 87671ad
Show file tree
Hide file tree
Showing 141 changed files with 522 additions and 441 deletions.
5 changes: 3 additions & 2 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/tasks/intellij.idea.community.build.tasks.iml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<orderEntry type="module" module-name="intellij.platform.diagnostic.telemetry" />
<orderEntry type="module" module-name="intellij.platform.diagnostic.telemetry.exporters" />
<orderEntry type="library" scope="RUNTIME" name="slf4j-api" level="project" />
<orderEntry type="module" module-name="intellij.platform.util.ex" />
<orderEntry type="library" scope="RUNTIME" name="slf4j-jdk14" level="project" />
<orderEntry type="library" scope="RUNTIME" name="bouncy-castle-provider" level="project" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
Expand Down
1 change: 1 addition & 0 deletions java/idea-ui/intellij.java.ui.iml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<orderEntry type="module" module-name="intellij.java.impl.refactorings" />
<orderEntry type="module" module-name="intellij.java.aetherDependencyResolver" />
<orderEntry type="module" module-name="intellij.platform.vcs.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="library" name="jna" level="project" />
<orderEntry type="module" module-name="intellij.platform.externalSystem" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<orderEntry type="module" module-name="intellij.platform.jps.model.tests" exported="" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testExtensions" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
<orderEntry type="module" module-name="intellij.platform.workspace.jps" scope="RUNTIME" />
</component>
</module>
1 change: 1 addition & 0 deletions json/tests/intellij.json.tests.iml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.json" scope="TEST" />
<orderEntry type="module" module-name="intellij.spellchecker" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testExtensions" scope="TEST" />
<orderEntry type="library" scope="TEST" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.langInjection" scope="TEST" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<orderEntry type="module" module-name="intellij.platform.codeStyle" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.ide.util.io" />
<orderEntry type="module" module-name="intellij.notebooks.ui" />
<orderEntry type="library" scope="TEST" name="assertJ" level="project" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<orderEntry type="library" scope="TEST" name="kotlinx-coroutines-core" level="project" />
<orderEntry type="module" module-name="intellij.platform.util.zip" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.util.ex" scope="TEST" />
<orderEntry type="module" module-name="intellij.idea.community.build.zip" scope="TEST" />
</component>
</module>
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<orderEntry type="module" module-name="intellij.platform.projectModel" />
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.debugger" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="library" name="gson" level="project" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ internal class BuiltInWebServerAbsolutePathTest : BuiltInServerTestCase() {

val host = "http://localhost:${BuiltInServerManager.getInstance().port}"
val builder = HttpRequest.newBuilder(URI("$host/script.js"))
builder.header(TOKEN_HEADER_NAME, acquireToken())
builder.header(TOKEN_HEADER_NAME, service<BuiltInWebServerAuth>().acquireToken())
builder.header(HttpHeaderNames.REFERER.toString(), "${host}/${project.name}/index.html")

val client = HttpClient.newBuilder().followRedirects(HttpClient.Redirect.ALWAYS).build()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<orderEntry type="module" module-name="intellij.platform.vcs.log.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.editor.ex" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<orderEntry type="module" module-name="intellij.platform.ide.core.plugins" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="module" module-name="intellij.platform.concurrency" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.util.ex" />
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
<orderEntry type="library" name="fastutil-min" level="project" />
Expand Down
2 changes: 2 additions & 0 deletions platform/execution-impl/intellij.platform.execution.tests.iml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<orderEntry type="module" module-name="intellij.platform.ide.util.io" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.execution.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.execution" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.concurrency" scope="TEST" />
<orderEntry type="library" scope="TEST" name="assertJ" level="project" />
</component>
</module>
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
package com.intellij.execution.multilaunch.design.columns.impl

import com.intellij.execution.ExecutionBundle
import com.intellij.execution.multilaunch.design.ExecutableRow
import com.intellij.execution.multilaunch.design.MultiLaunchConfigurationViewModel
import com.intellij.execution.multilaunch.design.columns.ExecutableTableColumn
import com.intellij.execution.multilaunch.design.components.DropDownDecorator
import com.intellij.execution.multilaunch.design.components.UnknownItemLabel
import com.intellij.execution.multilaunch.design.popups.SelectorPopupProvider
import com.intellij.execution.multilaunch.design.popups.SelectorPopupsContainer
import com.intellij.execution.multilaunch.execution.conditions.Condition
import com.intellij.execution.multilaunch.execution.conditions.ConditionFactory
import com.intellij.execution.multilaunch.execution.conditions.ConditionTemplate
import com.intellij.ide.ui.laf.darcula.ui.DarculaButtonUI
import com.intellij.openapi.observable.properties.AtomicProperty
import com.intellij.openapi.ui.DialogPanel
Expand All @@ -15,24 +25,14 @@ import com.intellij.ui.dsl.builder.*
import com.intellij.util.ui.AbstractTableCellEditor
import com.intellij.util.ui.JBUI
import com.intellij.util.ui.UIUtil
import com.intellij.execution.multilaunch.design.ExecutableRow
import com.intellij.execution.multilaunch.design.MultiLaunchConfigurationViewModel
import com.intellij.execution.multilaunch.design.columns.ExecutableTableColumn
import com.intellij.execution.multilaunch.design.components.DropDownDecorator
import com.intellij.execution.multilaunch.design.components.UnknownItemLabel
import com.intellij.execution.multilaunch.design.popups.SelectorPopupProvider
import com.intellij.execution.multilaunch.design.popups.SelectorPopupsContainer
import com.intellij.execution.multilaunch.execution.conditions.Condition
import com.intellij.execution.multilaunch.execution.conditions.ConditionFactory
import com.intellij.execution.multilaunch.execution.conditions.ConditionTemplate
import java.awt.Component
import java.awt.Dimension
import java.awt.event.ActionEvent
import javax.swing.JLabel
import javax.swing.JTable
import javax.swing.table.DefaultTableCellRenderer

class ConditionColumn(
internal class ConditionColumn(
private val viewModel: MultiLaunchConfigurationViewModel
) : ExecutableTableColumn<Condition>(
ExecutionBundle.message("run.configurations.multilaunch.table.column.condition")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.externalSystem.rt" exported="" />
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
<orderEntry type="module" module-name="intellij.platform.objectSerializer" />
<orderEntry type="module" module-name="intellij.platform.objectSerializer.annotations" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.execution.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.testRunner" />
<orderEntry type="module" module-name="intellij.platform.configurationStore.impl" />
<orderEntry type="library" name="kotlin-reflect" level="project" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<orderEntry type="module" module-name="intellij.platform.objectSerializer" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testExtensions" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.configurationStore.tests" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.compiler.tests" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.compiler.impl" scope="TEST" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class MockProjectAware(
}
}

val LOG = Logger.getInstance(MockProjectAware::class.java)
private val LOG = Logger.getInstance(MockProjectAware::class.java)

fun <R> waitForAllProjectActivities(action: () -> R): R {
return project.trackActivityBlocking(MockProjectReloadActivityKey, action)
Expand Down
1 change: 1 addition & 0 deletions platform/feedback/intellij.platform.feedback.iml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<orderEntry type="module" module-name="intellij.platform.core.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="library" name="kotlinx-serialization-core" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="library" name="kotlinx-serialization-json" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="kotlinx-datetime-jvm" level="project" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import javax.swing.Action
import javax.swing.JComponent
import javax.swing.SwingUtilities

class LocalizationFeedbackDialog(
internal class LocalizationFeedbackDialog(
private val myProject: Project?,
private val forTest: Boolean
) : DialogWrapper(myProject) {
Expand Down
2 changes: 1 addition & 1 deletion platform/ide-core/plugins/exposed-third-party-api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ kotlin/jvm/internal/DefaultConstructorMarker
kotlinx/serialization/descriptors/SerialDescriptor
kotlinx/serialization/encoding/Decoder
kotlinx/serialization/encoding/Encoder
kotlinx/serialization/internal/GeneratedSerializer
kotlinx/serialization/internal/GeneratedSerializer
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
</component>
</module>
1 change: 1 addition & 0 deletions platform/inspect/intellij.platform.inspect.iml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.core" exported="" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.extensions" exported="" />
<orderEntry type="module" module-name="intellij.platform.analysis" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
Expand Down
1 change: 1 addition & 0 deletions platform/lang-impl/intellij.platform.lang.impl.iml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<orderEntry type="library" name="jackson-databind" level="project" />
<orderEntry type="library" name="jackson-module-kotlin" level="project" />
<orderEntry type="library" name="xz" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="module" module-name="intellij.platform.statistics" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
Expand Down
1 change: 1 addition & 0 deletions platform/lang-impl/intellij.platform.lang.tests.iml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<orderEntry type="library" name="OroMatcher" level="project" />
<orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" exported="" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.usageView" />
<orderEntry type="library" name="cli-parser" level="project" />
<orderEntry type="module" module-name="intellij.platform.indexing" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<orderEntry type="module" module-name="intellij.platform.testExtensions" scope="TEST" />
<orderEntry type="library" scope="TEST" name="assertJ" level="project" />
<orderEntry type="module" module-name="intellij.platform.objectSerializer" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.util.ex" />
<orderEntry type="module" module-name="intellij.platform.objectSerializer.annotations" scope="TEST" />
<orderEntry type="library" name="ion" level="project" />
<orderEntry type="library" name="fastutil-min" level="project" />
Expand Down
Loading

0 comments on commit 87671ad

Please sign in to comment.