idea/community.git
8 months ago[workspace model] provide implementation of FacetManager which stores data in workspa...
nik [Mon, 30 Dec 2019 15:42:58 +0000 (18:42 +0300)]
[workspace model] provide implementation of FacetManager which stores data in workspace model

Configuration of each Facet is stored in FacetEntity, changes made via FacetManager are propagated to WorkspaceModel and vice versa. Shared code in FacetManager's implementation is extracted for FacetManagerBase. In order to properly reflect changes in configurations of individual facets, a new method FacetManager::facetConfigurationChanged is introduced which must be called after changing configuration of a facet.

GitOrigin-RevId: 0e866dcc7f5769a810bde17cbdd20e4200dfbd09

8 months agoupdated jb-jdi to 1.3
Egor Ushakov [Mon, 30 Dec 2019 15:41:19 +0000 (18:41 +0300)]
updated jb-jdi to 1.3

GitOrigin-RevId: 18641f31e04df32af57e2f113a402e01dfdd4092

8 months ago[workspace model storage] add proper entities to change log in replaceBySource
nik [Mon, 30 Dec 2019 14:39:16 +0000 (17:39 +0300)]
[workspace model storage] add proper entities to change log in replaceBySource

Before the original instance of entity was added to change log, and this causes exceptions in code which tries to access references entities from EntityChange.Added::entity.

GitOrigin-RevId: 690f4d16d4f1b48fc3d19bfb8072ee84d230a0c4

8 months ago[workspace model storage] fix replaceBySource for entities with optional (nullable...
nik [Mon, 30 Dec 2019 13:54:26 +0000 (16:54 +0300)]
[workspace model storage] fix replaceBySource for entities with optional (nullable) references

GitOrigin-RevId: abea4d70001e4c4cbd04c497792ae2100f64d274

8 months ago[workspace model storage] firstly remove referring entities and then remove the entit...
nik [Mon, 30 Dec 2019 13:53:14 +0000 (16:53 +0300)]
[workspace model storage] firstly remove referring entities and then remove the entity itself

Otherwise if a referring (child) entity has persistentId which uses persistentId of the parent entity, removing the parent entity before removing the child entity leaves storage in inconsistent state and attempt to compute persistentId of the child entity will fail with exception.

GitOrigin-RevId: 26f1c944e57e915ab862aa798ba1ef54d6f23af5

8 months ago[platform] using more appropriate thread pool in "Reveal File"
Roman Shevchenko [Mon, 30 Dec 2019 15:10:09 +0000 (16:10 +0100)]
[platform] using more appropriate thread pool in "Reveal File"

GitOrigin-RevId: 4d009b4d28d780735ab7728afe2afbbc076f55a6

8 months ago[platform] better `BrowserLauncher*` diagnostic (IDEA-227065)
Roman Shevchenko [Mon, 30 Dec 2019 15:08:44 +0000 (16:08 +0100)]
[platform] better `BrowserLauncher*` diagnostic (IDEA-227065)

GitOrigin-RevId: 8173bc0721f9783313dba5389710ce746f4c3be9

8 months agovcs-ignore: improve startRescanAndWait
Dmitry Zhuravlev [Mon, 30 Dec 2019 12:30:36 +0000 (15:30 +0300)]
vcs-ignore: improve startRescanAndWait

GitOrigin-RevId: 554b1ae32b225e32c552c5d2740f7667552c514f

8 months agovcs-ignore: remove ensureUpToDate and markEverythingDirty since ignore holders not...
Dmitry Zhuravlev [Mon, 30 Dec 2019 10:21:59 +0000 (13:21 +0300)]
vcs-ignore: remove ensureUpToDate and markEverythingDirty since ignore holders not depends on them

GitOrigin-RevId: 1dbfabd6d791200976822fe8b6129ce4618ffd33

8 months agovcs-ignore: create ignored files holder waiter before ignore file generation
Dmitry Zhuravlev [Mon, 30 Dec 2019 10:16:30 +0000 (13:16 +0300)]
vcs-ignore: create ignored files holder waiter before ignore file generation

This approach successfully used in GitIgnoredToExcludedSynchronizerTest and looks more robust.

GitOrigin-RevId: 797c78d67804f7c59ee3211aeba877d8683d178c

8 months agoDo not omit non-crossplatform agents on local target environment
Alexander Zolotov [Mon, 30 Dec 2019 14:08:38 +0000 (17:08 +0300)]
Do not omit non-crossplatform agents on local target environment

GitOrigin-RevId: e0ec993d7d333ee2999a3b8e7754ba68a098af7a

8 months agoRename local variables
Alexander Zolotov [Mon, 30 Dec 2019 12:11:57 +0000 (15:11 +0300)]
Rename local variables

GitOrigin-RevId: 8fda7ef4e992b7a789782f12ae72fcea88643546

8 months agocleanup
Alexey Kudravtsev [Mon, 30 Dec 2019 13:57:21 +0000 (16:57 +0300)]
cleanup

GitOrigin-RevId: 59d61d710a0c27c8eeae9f4acfd322dbf6aed4ec

8 months agoavoid race condition when ShowUsageAction reacts to rules change and rebuilds the...
Alexey Kudravtsev [Mon, 30 Dec 2019 13:48:12 +0000 (16:48 +0300)]
avoid race condition when ShowUsageAction reacts to rules change and rebuilds the table at the same time as UsageViewImpl does, to fix IDEA-192260 Toggling "Merge usages from the same line" in find references popup cycles between more than 2 different result lists???

GitOrigin-RevId: dee870045248fb75cf32a69aa00243d0a8708525

8 months agocleanup
Alexey Kudravtsev [Mon, 30 Dec 2019 11:51:43 +0000 (14:51 +0300)]
cleanup

GitOrigin-RevId: 47228fd559e3af5539cfff06b0f552a1e7e4977b

8 months agovcs: change speedsearch border in Branch popup to be the same as in search everywhere
Nadya Zabrodina [Mon, 30 Dec 2019 13:42:19 +0000 (16:42 +0300)]
vcs: change speedsearch border in Branch popup to be the same as in search everywhere

GitOrigin-RevId: 36fe78a547b94d1bcca443f37b0f773f39ab3c95

8 months agovcs: simplify focus request statement in BranchPopup
Nadya Zabrodina [Fri, 27 Dec 2019 14:47:34 +0000 (17:47 +0300)]
vcs: simplify focus request statement in BranchPopup

GitOrigin-RevId: 7aef905fac24c9631f160eb8fb932fc44f567c02

8 months agoNonBlockingReadAction: avoid "already disposed" exception (IDEA-CR-57019)
Peter Gromov [Mon, 30 Dec 2019 13:39:28 +0000 (14:39 +0100)]
NonBlockingReadAction: avoid "already disposed" exception (IDEA-CR-57019)

GitOrigin-RevId: 7f5863039f66bf2af598161e366e22bc32846569

8 months agoPY-31836: Use pytest parameter as test name, not keyword.
Ilya.Kazakevich [Tue, 10 Dec 2019 19:57:57 +0000 (22:57 +0300)]
PY-31836: Use pytest parameter as test name, not keyword.

The correct way to use parameters is to add them to the test name.
"-k" is also works in some cases, but it is not official nor stable.

* pytest runner reports "testname[param]" as metainfo
* we fetch param
* add "parameters" field to the pytest
* glue it with test name

GitOrigin-RevId: 56c5d93fd93a12ba5742b21af51ea04823a9d8f7

8 months agoIDEA-229869 prometheus.yml -> Required: null, Actual: null
Anton Lobov [Mon, 30 Dec 2019 13:17:57 +0000 (14:17 +0100)]
IDEA-229869 prometheus.yml -> Required: null, Actual: null

GitOrigin-RevId: 9c3ba6854f59d78e1b81f788ecabe63f11e6f37b

8 months agoRevert: java: process on-demand static imports without calculating super substitutors...
Peter Gromov [Mon, 30 Dec 2019 13:12:04 +0000 (14:12 +0100)]
Revert: java: process on-demand static imports without calculating super substitutors (IDEA-CR-57031)

because it breaks static importing of synthetic enum methods

GitOrigin-RevId: 6d62b4a22d39342d8c25a776973d23a15fbeb2c4

8 months agoturn off/on file based index in write action (no synchronous dumb mode required)
Dmitro Batko [Mon, 30 Dec 2019 08:48:12 +0000 (11:48 +0300)]
turn off/on file based index in write action (no synchronous dumb mode required)

GitOrigin-RevId: c124ef727f8442212aee9475c293eb8157e95e77

8 months agoload/unload plugins & sync listeners in single write action
Dmitro Batko [Mon, 30 Dec 2019 08:47:13 +0000 (11:47 +0300)]
load/unload plugins & sync listeners in single write action

GitOrigin-RevId: 82998b1c7549be542cff2693ef7b8689b1ebb471

8 months agoRecursionManager: remove obsolete exclusion rules (part of IDEA-228814)
Peter Gromov [Mon, 30 Dec 2019 11:10:18 +0000 (12:10 +0100)]
RecursionManager: remove obsolete exclusion rules (part of IDEA-228814)

GitOrigin-RevId: e1e92169b574f91aa95d39822a03409dec9f235b

8 months agoUse new running API in JdkUtil tests
Alexander Zolotov [Mon, 30 Dec 2019 12:08:39 +0000 (15:08 +0300)]
Use new running API in JdkUtil tests

GitOrigin-RevId: 78cce19340362af3e071771580385017efce0ae4

8 months agoDo not upload null working directory
Alexander Zolotov [Mon, 30 Dec 2019 12:03:14 +0000 (15:03 +0300)]
Do not upload null working directory

GitOrigin-RevId: 365a06211aef1c03d02456e4afe4a30256573fd6

8 months agoRuntime environments: make TargetedCommandLine immutable
Alexander Zolotov [Thu, 26 Dec 2019 18:18:26 +0000 (21:18 +0300)]
Runtime environments: make TargetedCommandLine immutable

GitOrigin-RevId: 8d21e55dc0dbdfd36175ec106b43dc8904b08199

8 months agoRuntime environments: various renames and documentation fixes
Alexander Zolotov [Thu, 26 Dec 2019 16:03:30 +0000 (19:03 +0300)]
Runtime environments: various renames and documentation fixes

GitOrigin-RevId: c86a66f0db8161190079d1f156dd49265ce21700

8 months agoRuntime environments: migrate to enums in TargetPlatform
Alexander Zolotov [Thu, 26 Dec 2019 14:41:24 +0000 (17:41 +0300)]
Runtime environments: migrate to enums in TargetPlatform

logic should not rely on strings

GitOrigin-RevId: 448b83cf5f76f5945981ddd8c252dfe0344690b0

8 months agoRuntime environments: add more documentation
Alexander Zolotov [Thu, 26 Dec 2019 14:16:34 +0000 (17:16 +0300)]
Runtime environments: add more documentation

GitOrigin-RevId: 2bb72d398d4912967b6b16d2a9eb013665f8a826

8 months agoRuntime environments: reimplement TargetValue API in async manner
Alexander Zolotov [Thu, 26 Dec 2019 13:54:32 +0000 (16:54 +0300)]
Runtime environments: reimplement TargetValue API in async manner

GitOrigin-RevId: 8317b27b92310c5b3436f80e1f06f82f6fd3d012

8 months agoCleanup after review (IDEA-CR-55762)
Alexander Zolotov [Wed, 25 Dec 2019 17:13:34 +0000 (20:13 +0300)]
Cleanup after review (IDEA-CR-55762)

- mark extension name with JvmField annotation
- fix kdoc format
- rename EPs
- get rid of allTypes method

GitOrigin-RevId: d2cb0452fd1ae460ba35791071f0bc674066e1fa

8 months agoRuntime environments: support deleting files on command line termination
Alexander Zolotov [Wed, 25 Dec 2019 17:01:29 +0000 (20:01 +0300)]
Runtime environments: support deleting files on command line termination

GitOrigin-RevId: 272413e1e08a8d07912a0e9a59462241a2b3042d

8 months agoRuntime environments: fix compilation after rebase
Alexander Zolotov [Mon, 23 Dec 2019 18:13:32 +0000 (21:13 +0300)]
Runtime environments: fix compilation after rebase

GitOrigin-RevId: d9f42de7d2c34e25c4d9fd4650f89db03d15da5d

8 months agoIR: add javadoc: RemoteTargetType
Michael Golubev [Tue, 26 Nov 2019 12:22:38 +0000 (13:22 +0100)]
IR: add javadoc: RemoteTargetType

GitOrigin-RevId: 5412bae20d5ec9eabc006e334fc700b72a9acd7d

8 months agoIR: add javadoc: LanguageRuntimeType
Michael Golubev [Tue, 26 Nov 2019 12:10:46 +0000 (13:10 +0100)]
IR: add javadoc: LanguageRuntimeType

GitOrigin-RevId: c1e77d81d74f23ba145da53420a0610af0ad6135

8 months agoIR: "contributed types" framework - javadoc added
Michael Golubev [Tue, 26 Nov 2019 11:43:40 +0000 (12:43 +0100)]
IR: "contributed types" framework - javadoc added

GitOrigin-RevId: 9a0a92e36126a6760c65e9e1a15c5731e2280b8a

8 months agoIR: "contributed types" framework clean up
Michael Golubev [Tue, 26 Nov 2019 11:38:24 +0000 (12:38 +0100)]
IR: "contributed types" framework clean up

+ ContributedStateBase moved to inside ContributedConfigurationsList, as it is internal to list serialization

GitOrigin-RevId: f68edb89d7749e72a380b9586146f550545ff699

8 months agoIR: javadocs for "contributed types" framework
Michael Golubev [Tue, 26 Nov 2019 10:40:59 +0000 (11:40 +0100)]
IR: javadocs for "contributed types" framework

GitOrigin-RevId: ff5320e40e8a64dd7d775b4a3f14c563ab670189

8 months agoIR: better class names: BaseExtendableXXX -> ContributedXXXBase
Michael Golubev [Tue, 26 Nov 2019 10:04:18 +0000 (11:04 +0100)]
IR: better class names: BaseExtendableXXX -> ContributedXXXBase

GitOrigin-RevId: b6fcabc588dd8fec120b6e89e3c808997167662e

8 months agoRuntime environments: delete redundant key
Alexander Zolotov [Mon, 25 Nov 2019 12:57:05 +0000 (15:57 +0300)]
Runtime environments: delete redundant key

GitOrigin-RevId: 00a881264a292849e753b0caba48cdb4d9e98822

8 months agoRuntime environments: set command line content filters after environment is prepared...
Alexander Zolotov [Sun, 24 Nov 2019 21:27:57 +0000 (00:27 +0300)]
Runtime environments: set command line content filters after environment is prepared and all remote values are resolved

GitOrigin-RevId: 70053c5e01db0ad9e3685783027ad0f61965b17e

8 months agoRuntime environments: make method private
Alexander Zolotov [Sun, 24 Nov 2019 21:24:59 +0000 (00:24 +0300)]
Runtime environments: make method private

GitOrigin-RevId: f25386c1332ce98a142653bbb28b8f7483db039b

8 months agoRuntime environments: support COMMAND_LINE_CONTENT functionality
Alexander Zolotov [Sun, 24 Nov 2019 16:24:30 +0000 (19:24 +0300)]
Runtime environments: support COMMAND_LINE_CONTENT functionality

GitOrigin-RevId: bbd77915f53e919138a9e24b862f3c83aeed6c51

8 months agoRuntime environments: fix compilation after merge
Alexander Zolotov [Sun, 24 Nov 2019 14:51:27 +0000 (17:51 +0300)]
Runtime environments: fix compilation after merge

GitOrigin-RevId: 4972e57c1b9a9d174a28f322aa5cffaa3ca565ea

8 months agoRuntime environments: update Targets dialog empty state (IDEA-224207)
Alexander Zolotov [Tue, 29 Oct 2019 10:27:05 +0000 (13:27 +0300)]
Runtime environments: update Targets dialog empty state (IDEA-224207)

GitOrigin-RevId: c20a27248f0fb93f5f016942d7fd93dd5002c8d8

8 months agoRuntime environments: use proper shortcut for adding target
Alexander Zolotov [Mon, 28 Oct 2019 16:52:03 +0000 (19:52 +0300)]
Runtime environments: use proper shortcut for adding target

GitOrigin-RevId: 4370c183b1ea85458cb1dcf39b7bd2673cf37bbd

8 months agoRuntime environments: add 'Manage Targets' to the Run menu (IDEA-224928)
Alexander Zolotov [Mon, 28 Oct 2019 16:40:01 +0000 (19:40 +0300)]
Runtime environments: add 'Manage Targets' to the Run menu (IDEA-224928)

GitOrigin-RevId: e5e29d9f4008fa7c5fa91b02358bbe21a355023f

8 months agoRuntime environments: rename
Alexander Zolotov [Mon, 28 Oct 2019 16:26:23 +0000 (19:26 +0300)]
Runtime environments: rename

GitOrigin-RevId: 51caff0acc75bf91829c95029e2d967bd884fff5

8 months agoRuntime environments: mark feature as experiment
Alexander Zolotov [Mon, 28 Oct 2019 14:21:14 +0000 (17:21 +0300)]
Runtime environments: mark feature as experiment

GitOrigin-RevId: f09acc7a1a9fdc1305b0bd8fb4bbffd68b07d6ba

8 months agoRuntime environments: more renames
Alexander Zolotov [Mon, 28 Oct 2019 14:06:05 +0000 (17:06 +0300)]
Runtime environments: more renames

GitOrigin-RevId: 8675a98b72a947dc428dbc24271a9199e9628279

8 months agoMake remote servers EPs dynamic
Alexander Zolotov [Fri, 25 Oct 2019 14:14:54 +0000 (17:14 +0300)]
Make remote servers EPs dynamic

GitOrigin-RevId: 2e3364418b9bccf1adbeede5778dc5660a3229b2

8 months agoRuntime environments: cleanup, documentation
Alexander Zolotov [Fri, 25 Oct 2019 14:06:40 +0000 (17:06 +0300)]
Runtime environments: cleanup, documentation

GitOrigin-RevId: 87efa46997384492b947f24426dd389ddd574f23

8 months agoIDEA-225182 - Java debug does not work for Docker target for JDK 9+
Michael Golubev [Fri, 25 Oct 2019 09:54:24 +0000 (11:54 +0200)]
IDEA-225182 - Java debug does not work for Docker target for JDK 9+

- address IDEA-CR-53926:
- - while hack with "host:port" is unavoidable to build right VM params, the rest of the code should not know about it
- - tweak built remote connection with split pure numeric `setApplicationPort` and separate `setApplicationHost`

GitOrigin-RevId: feebfa15bd8f9a0e4dd2ae81adb99bed650fedf5

8 months agoIDEA-225182 - Java debug does not work for Docker target for JDK 9+
Michael Golubev [Sun, 20 Oct 2019 19:36:28 +0000 (21:36 +0200)]
IDEA-225182 - Java debug does not work for Docker target for JDK 9+

- script-based introspection added
- script-based introspection implemented for Docker by spawning new temporary container
- `java -version` is introspected for java language runtime
- FIXME: called under blocking wait with 3s timeout

GitOrigin-RevId: ccc9fbf73ea9a11eab10778fa92d9d4166c51375

8 months agoIDEA-225182 - Java debug does not work for Docker target for JDK 9+
Michael Golubev [Sun, 20 Oct 2019 15:30:46 +0000 (17:30 +0200)]
IDEA-225182 - Java debug does not work for Docker target for JDK 9+

- for java 9+ remote address in JDWP params should include host: `*:12345` instead of just port `12345`
- java language runtime: configuration for version, for now without detection

GitOrigin-RevId: 75d36511dc7a7726b7b5ab9a808272dccc250c8c

8 months agoRuntime environments: use file separators from the remote platform
Alexander Zolotov [Tue, 15 Oct 2019 17:19:01 +0000 (20:19 +0300)]
Runtime environments: use file separators from the remote platform

GitOrigin-RevId: 63af626d42a9d0bd2129c75adf161efdcebecff3

8 months agoIDEA-224139 - Add pre-filled values for language runtime paths
Michael Golubev [Fri, 11 Oct 2019 12:14:44 +0000 (14:14 +0200)]
IDEA-224139 - Add pre-filled values for language runtime paths

- language runtime introspection, initial revision

GitOrigin-RevId: 14657e881b3bc01f0bbee1c4c1b6577ef7f3291d

8 months agoRemote environments: hide jre field on choosing non-local runtime
Alexander Zolotov [Fri, 4 Oct 2019 12:14:42 +0000 (15:14 +0300)]
Remote environments: hide jre field on choosing non-local runtime

GitOrigin-RevId: a5909a6da4c6093c5d5748c6f6bd4a841e4cc82c

8 months agoRemote environments: add saved targets separator to Run on combo
Alexander Zolotov [Fri, 4 Oct 2019 12:10:23 +0000 (15:10 +0300)]
Remote environments: add saved targets separator to Run on combo

GitOrigin-RevId: 636b42851ba115e087ef29d86fbfe4986cefd4c7

8 months agoGet rid of suppressions
Alexander Zolotov [Fri, 4 Oct 2019 11:20:44 +0000 (14:20 +0300)]
Get rid of suppressions

GitOrigin-RevId: 40950907c2244b6c7e87498e8b734c43a6e4aabd

8 months agoRemote environments: implement proper canRun for ApplicationConfiguration
Alexander Zolotov [Fri, 4 Oct 2019 11:11:37 +0000 (14:11 +0300)]
Remote environments: implement proper canRun for ApplicationConfiguration

GitOrigin-RevId: cb83b476966a6f52580d27c51e99bd999262a667

8 months agoRemote environments: hide Application folder field as we do not use it now
Alexander Zolotov [Fri, 4 Oct 2019 10:48:37 +0000 (13:48 +0300)]
Remote environments: hide Application folder field as we do not use it now

GitOrigin-RevId: ed7ffbb1142de53f2c702ee8ef5434b09802fc12

8 months agoRemote environments: add help ids
Alexander Zolotov [Fri, 4 Oct 2019 10:09:07 +0000 (13:09 +0300)]
Remote environments: add help ids

GitOrigin-RevId: 02b378ca000ae4db04e739d09e127bc55cbd7805

8 months agoRemote environments: use LinkLabel for Manage targets link
Alexander Zolotov [Fri, 4 Oct 2019 09:09:43 +0000 (12:09 +0300)]
Remote environments: use LinkLabel for Manage targets link

GitOrigin-RevId: 2ea81cfad080d4a05cdd3737950d02d7b899764e

8 months agoRemote environments: fix insets in remote target configurable
Alexander Zolotov [Thu, 3 Oct 2019 15:22:48 +0000 (18:22 +0300)]
Remote environments: fix insets in remote target configurable

- configurable must extend MasterDetails to have proper borders
- create dialog with ShowSettingsUtil to reuse border for MasterDetails

GitOrigin-RevId: 3d2d3cf3a646274a22e891cc4425a91bd04dfc85

8 months agoRuntime environments: make details panel scrollable
Alexander Zolotov [Wed, 2 Oct 2019 20:47:12 +0000 (23:47 +0300)]
Runtime environments: make details panel scrollable

GitOrigin-RevId: b61398f2637f92d031f0a4b7d515886eb51aa235

8 months agoRuntime environments: use default style for separator in combobox
Alexander Zolotov [Wed, 2 Oct 2019 20:41:34 +0000 (23:41 +0300)]
Runtime environments: use default style for separator in combobox

GitOrigin-RevId: e388e72225ce45132468fafa032d9bb2e0798a41

8 months agoRuntime environments: reimplement Add language runtime label
Alexander Zolotov [Wed, 2 Oct 2019 20:40:33 +0000 (23:40 +0300)]
Runtime environments: reimplement Add language runtime label

GitOrigin-RevId: 1dcb118a0f2a50c65cc34ef6360d7f886fda8592

8 months agoRemote environments: get rid of resolution listeners, use Promises instead
Alexander Zolotov [Wed, 2 Oct 2019 18:11:17 +0000 (21:11 +0300)]
Remote environments: get rid of resolution listeners, use Promises instead

GitOrigin-RevId: b3bdfbd8e709aae887b79d694b51c1523a2a3e89

8 months agoRemote environments: proper debugging support
Alexander Zolotov [Wed, 2 Oct 2019 14:20:46 +0000 (17:20 +0300)]
Remote environments: proper debugging support

GitOrigin-RevId: c580cf455706dcbbf82f03f2edf253894077230f

8 months agoRemote environments: do not use poll connection for local debugging
Alexander Zolotov [Wed, 2 Oct 2019 11:35:38 +0000 (14:35 +0300)]
Remote environments: do not use poll connection for local debugging

GitOrigin-RevId: 72571ac8fd4024bdf40c2a2e72f446b0f94f4205

8 months agoRemote environments: use path separator from remote platform
Alexander Zolotov [Wed, 2 Oct 2019 11:35:03 +0000 (14:35 +0300)]
Remote environments: use path separator from remote platform

GitOrigin-RevId: 76dbb037fc92975cb98425dcda207e21fd08b459

8 months agoRemote environments: ignore non crossplatform agents
Alexander Zolotov [Wed, 2 Oct 2019 11:30:29 +0000 (14:30 +0300)]
Remote environments: ignore non crossplatform agents

GitOrigin-RevId: a0eb09e6666360a134f20c9335c6a1c11895da80

8 months agoinitial remote debugging implementation
Egor Ushakov [Fri, 27 Sep 2019 13:58:05 +0000 (16:58 +0300)]
initial remote debugging implementation

GitOrigin-RevId: e833101a9665cc9817471db3975c4d6f69ffeec3

8 months agoRemote environments - beautify API
Michael Golubev [Thu, 26 Sep 2019 09:49:55 +0000 (11:49 +0200)]
Remote environments - beautify API

- typo fixed: Remo<t>eValueResolutionListener

GitOrigin-RevId: c9bac48932924c52ab1dbd018612875ae4ec2931

8 months agoRemote environments
Michael Golubev [Tue, 24 Sep 2019 10:38:43 +0000 (12:38 +0200)]
Remote environments

- RemoteTargetManager: respect unresolved targets names when generating unique name
- refactoring: avoid direct targets manipulation from clients, manager should maintain names unqiueness itself

GitOrigin-RevId: 6b0ac8a47b7cf6e26a2ffa7ca12c6576f9181bec

8 months agoRemote environments - manage targets
Michael Golubev [Tue, 24 Sep 2019 09:44:16 +0000 (11:44 +0200)]
Remote environments - manage targets

- fix NPE after removing all targets

GitOrigin-RevId: e07cdc0774cbd051daca4146ee18af3195d6e2d1

8 months agoRemote environments: manage targets
Michael Golubev [Mon, 23 Sep 2019 16:12:40 +0000 (18:12 +0200)]
Remote environments: manage targets

- fix UI review issues: manage runtimes action should have dropdown decoration but still be right-aligned
- - fix pushX after changing `gearButton` to have LayeredIcon

GitOrigin-RevId: 5452f7628570da902559fc02cbc2cc3546a1f202

8 months agoRemote environments: manage targets in java run configuration
Michael Golubev [Mon, 23 Sep 2019 07:50:31 +0000 (09:50 +0200)]
Remote environments: manage targets in java run configuration

- typo fixed: missing space in comment row

GitOrigin-RevId: 94301cf2333d86bd8c40386b44522ef7062043d0

8 months agoRuntime environments: handle equals sign in javaagent value + allow ignore vm paramet...
Alexander Zolotov [Tue, 17 Sep 2019 16:04:02 +0000 (19:04 +0300)]
Runtime environments: handle equals sign in javaagent value + allow ignore vm parameters completely

GitOrigin-RevId: 3f8e85d10f9f6a40b7050a40142d79708810b993

8 months agoRuntime environments: move run on comment to the right
Alexander Zolotov [Mon, 16 Sep 2019 17:39:44 +0000 (20:39 +0300)]
Runtime environments: move run on comment to the right

GitOrigin-RevId: 0b7ebe98c8f2c5104c816f354a61710c2a3edf23

8 months agoRuntime environments: preselect target on opening target list from run-configuration...
Alexander Zolotov [Mon, 16 Sep 2019 17:01:18 +0000 (20:01 +0300)]
Runtime environments: preselect target on opening target list from run-configuration editor

GitOrigin-RevId: 7f0b555ce881d2b97f2c7b802f9b7766978f2055

8 months agoRuntime environments: remove unneeded action from the toolbar
Alexander Zolotov [Mon, 16 Sep 2019 16:45:37 +0000 (19:45 +0300)]
Runtime environments: remove unneeded action from the toolbar

GitOrigin-RevId: 89db391dcded7d01b86cb2c8025ab6c9728801e2

8 months agoRuntime environments: choose name and save the target when wizard finished
Alexander Zolotov [Mon, 16 Sep 2019 16:44:15 +0000 (19:44 +0300)]
Runtime environments: choose name and save the target when wizard finished

GitOrigin-RevId: 3eade4b363f1bb4cf67be2e2d260f116e94e208f

8 months agoRemote environments: docker target wizard
Michael Golubev [Mon, 16 Sep 2019 13:05:52 +0000 (15:05 +0200)]
Remote environments: docker target wizard

- fix new target is not added to list if configurable is closed with all defaults
- fix `IllegalStateException: selectedNode must not be null` on removing of the last target

GitOrigin-RevId: aa8c0bc8c157156e01884efc7c214f164006d43b

8 months agoRuntime environments: fix removing targets
Alexander Zolotov [Mon, 16 Sep 2019 12:34:31 +0000 (15:34 +0300)]
Runtime environments: fix removing targets

GitOrigin-RevId: 223267e9c823a49aadb5631006278147a2be26c5

8 months agoRemote environments: docker target wizard
Michael Golubev [Mon, 16 Sep 2019 11:13:46 +0000 (13:13 +0200)]
Remote environments: docker target wizard

- use "New Target : $targetType" title for wizard, ":" is inevitable anyway

GitOrigin-RevId: b7d993793a00ea5d4a640e7a563d0f790471d0f5

8 months agoRuntime environments: do not allow selecting target type
Alexander Zolotov [Mon, 16 Sep 2019 12:26:07 +0000 (15:26 +0300)]
Runtime environments: do not allow selecting target type

GitOrigin-RevId: f4abaa01011b3da592c4b44388bfd9a3dc6417c3

8 months agoRuntime environments: add New targets for Run on combobox
Alexander Zolotov [Mon, 16 Sep 2019 12:18:51 +0000 (15:18 +0300)]
Runtime environments: add New targets for Run on combobox

GitOrigin-RevId: f795a5884a06a213e362a5fc950a9af436501aa3

8 months agoRuntime environments: extract run on combobox
Alexander Zolotov [Mon, 16 Sep 2019 11:35:16 +0000 (14:35 +0300)]
Runtime environments: extract run on combobox

GitOrigin-RevId: b3c8ca70d980631870688aa669fbc2bae0328586

8 months agoRuntime environments: fixed jdk and agents paths
Alexander Zolotov [Mon, 16 Sep 2019 09:07:24 +0000 (12:07 +0300)]
Runtime environments: fixed jdk and agents paths

GitOrigin-RevId: 9bb6b33f0fad03a7b08ff282350c89c1cf7bbe05

8 months agoRemote environments: docker target wizard
Michael Golubev [Mon, 16 Sep 2019 09:29:42 +0000 (11:29 +0200)]
Remote environments: docker target wizard

- temporary: allow to invoke wizard (with specifically java) from targets master details toolbar

GitOrigin-RevId: eaaada49476b6f4d0cbb6921fb4d8e7ded18ac43

8 months agoRemote environments: docker target wizard
Michael Golubev [Mon, 16 Sep 2019 08:56:50 +0000 (10:56 +0200)]
Remote environments: docker target wizard

- RemoteTargetType: allow to pass instance to be edited in wizard from outside, to provide wizard "results"
- LanguageRuntimeType: allow language specific wizard title

GitOrigin-RevId: 95afc720c3473408961eba54b36b74b7f753961c

8 months agoRemote environments: new target wizard - initial API
Michael Golubev [Sun, 15 Sep 2019 20:51:56 +0000 (22:51 +0200)]
Remote environments: new target wizard - initial API

GitOrigin-RevId: 50beba0e77d8ff7afa62d963fdf9dcf3d49beb3a

8 months agoRuntime environments: fixed jdk and agents paths
Alexander Zolotov [Mon, 16 Sep 2019 09:07:24 +0000 (12:07 +0300)]
Runtime environments: fixed jdk and agents paths

GitOrigin-RevId: c086b1fbadc6a34f2bc247d4dc02f2f0df529bac

8 months agoRemote environments: do not allow using remote targets for UrlClassPath-based applica...
Alexander Zolotov [Mon, 16 Sep 2019 07:28:02 +0000 (10:28 +0300)]
Remote environments: do not allow using remote targets for UrlClassPath-based applications

GitOrigin-RevId: ff1900e6ddfdf27aacea933246e0bea19fe74d54

8 months agoRemote environments: manage targets UI - minor clean up
Michael Golubev [Sun, 15 Sep 2019 12:07:23 +0000 (14:07 +0200)]
Remote environments: manage targets UI - minor clean up

- less vertical gap between name and target details
- useless CCFlags removed

GitOrigin-RevId: 4e78df75a3011a2d6648d933ffc77f4b432db797

8 months agoRuntime environments: reuse JDK jars from the remote server
Alexander Zolotov [Sun, 15 Sep 2019 16:40:03 +0000 (19:40 +0300)]
Runtime environments: reuse JDK jars from the remote server

GitOrigin-RevId: d356e25c9c8ad2fff3eaea4ee3bb23fcb4a6ab5c

8 months agoRuntime environments: use path to java from language runtime configuration
Alexander Zolotov [Sun, 15 Sep 2019 15:57:49 +0000 (18:57 +0300)]
Runtime environments: use path to java from language runtime configuration

GitOrigin-RevId: 9a4909768b7e9974ebc530007963cd0ee178428c