Nikita Nazarov
ebae487800
[kotlin] change coroutine panel icons
...
GitOrigin-RevId: 4e17a00284f3b6ad5f559ad8e9a5793dcb4dc7fb
2021-11-08 15:38:15 +00:00
Nikita Nazarov
27261dbbb7
Refactor spilled variables fetching process
...
(cherry picked from commit 504df7590f84e43169618c9388686c583ca1e561)
IJ-MR-13882
GitOrigin-RevId: 17c0f488610180fcb10535442527f593c125e9b1
2021-09-20 11:10:28 +00:00
Nikita Nazarov
ab9b5c1a03
Optimize coroutine stack trace fetching time
...
(cherry picked from commit 0e9da65e1a3f0d84fd6181e3e6541a84012f33a0)
IJ-MR-13882
GitOrigin-RevId: 0c2ea3a2b246bbd77484f78eb4022dbb71328c36
2021-09-20 11:10:26 +00:00
Nikita Nazarov
8c0926a04c
Rename CoroutineInfoPack
...
(cherry picked from commit bdf56aa7aea29bfcfe006d9aa88d258aad988795)
IJ-MR-13882
GitOrigin-RevId: 69480061d9b06648492df458c6c3660d2c7b189e
2021-09-20 11:10:25 +00:00
Nikita Nazarov
daf8b99c0d
[kotlin] Optimize coroutine panel loading time
...
(cherry picked from commit 29a9c965fef723c6c283662eab1542cabe5d32cb)
IJ-MR-13882
GitOrigin-RevId: ad3ce16c002f0922959d0a27c23ee4e3c2e2ce27
2021-09-20 11:10:23 +00:00
Nikita Nazarov
0e40380e42
[kotlin] Automatically show the coroutine panel when a stack trace contains coroutine stack frames
...
(cherry picked from commit 0209b2e56f430358b5cc5065be9fa89ad4a232b0)
IJ-MR-14123
GitOrigin-RevId: 8177a0d67fdedc77ce9aa2854efc9f5999b24b8e
2021-09-14 13:09:00 +00:00
Egor Ushakov
7a168bb7ff
KTIJ-19492 Debugger: Provide cross-navigation between Frames/Threads and Kotlin Coroutines panels - hide panel by default
...
GitOrigin-RevId: 93c1c475267db5f355d5dbc900492023c5eebda6
2021-09-10 15:45:57 +00:00
Vladimir Dolzhenko
bbd2523d62
[kotlin] Utility method usages clean up
...
Reuse shortcuts for runReadActionInSmartMode, isApplicationInternalMode, isUnitTestMode
GitOrigin-RevId: be3430726ff1e7e07d047766c4c121d915dc5291
2021-09-08 09:27:59 +00:00
Nikita Nazarov
3cef7640ae
Add nullability check before creating evaluation context EA-320118
...
GitOrigin-RevId: bc8437c1f86fb57b5572131680835236d83d4fb8
2021-08-25 13:00:13 +00:00
Nikita Nazarov
7f50e457ae
Prevent SimpleColoredTextIcon from fetching coroutine stack frame data
...
(cherry picked from commit 64ffb00f4cf080017d3a4a4c5cb94e4a31a98b73)
IJ-MR-12400
GitOrigin-RevId: cff47b93000f6fb794ed2ad06e9654e5a95f4dab
2021-08-23 08:49:10 +00:00
Nikita Nazarov
30085ebb99
Add capability to fetch all information about coroutines lazily
...
(cherry picked from commit c13680a014b833f8ba552c284fb8c91ec8e4d8ac)
IJ-MR-12400
GitOrigin-RevId: a0113ff027e6a0af2083239be31f96549ed8302d
2021-08-23 08:49:04 +00:00
Vladimir Dolzhenko
0303cd6f22
[kotlin] i18n
...
GitOrigin-RevId: 86c879a4c25f095438fcbe69b191f24b184b6e43
2021-08-11 17:12:15 +00:00
Nikolay Chashnikov
b683746735
get rid of unnecessary Kotlin facets in intellij project
...
KotlinPluginInternalApi annotation was replaced by generic IntellijInternalApi, which can be used in other plugins as well. So it becomes possible to use Kotlin compiler settings from the project configuration in almost all modules from Kotlin plugin, making Kotlin facets in these modules unnecessary. Removal of Kotlin facets simplifies project configuration and makes it easier to change settings of Kotlin compiler.
GitOrigin-RevId: 17590fab5769e3b79f47adb2af41b1dbcebf6e0a
2021-08-06 12:41:49 +00:00
Alexey Kudravtsev
1968626d76
cleanup
...
GitOrigin-RevId: a43cd9f8a107724b0f5c0a319950359b3c577081
2021-08-05 15:56:30 +00:00
Nikita Nazarov
cc5d194e27
Refactor coroutine agent searching process
...
(cherry picked from commit 28acc65c61c51328c15e7eed5da5f0ddccfbebaa)
IJ-MR-12657
GitOrigin-RevId: 13c078b28983d5ca6f786df3fbc4fa65366e4fb1
2021-08-04 19:09:41 +00:00
Nikita Nazarov
60e8658719
Revert "Add classpath check before attaching the coroutine agent"
...
This reverts commit 2776a38b811f2781f2454a12c25246023d11572d.
(cherry picked from commit 83d3bfce4e15cb2540e4aec47d27056ffcb50a61)
IJ-MR-12657
GitOrigin-RevId: fef6183e35e3a389edc1b023b0d28f23d77d75bf
2021-08-04 19:09:38 +00:00
Anna Kozlova
8b9143ff22
[coroutine debugger] do not attach if configuration scope does not contain coroutine dependency (KTIJ-19215)
...
GitOrigin-RevId: 203186dc62d36b93bfcf3311e70cbe25af445976
2021-08-02 16:18:45 +00:00
Nikita Nazarov
0bff1a76e7
Add classpath check before attaching the coroutine agent
...
^KTIJ-15750 Fixed
^KTIJ-19215 Fixed
(cherry picked from commit a45a59c8e25c96e387e4dd466ac423b53a14937c)
IJ-MR-12437
GitOrigin-RevId: 2776a38b811f2781f2454a12c25246023d11572d
2021-07-30 14:39:14 +00:00
Yan Zhulanow
d2e1b4ddfb
[kotlin] Allow using @KotlinPluginInternalApi-marked declarations from all Kotlin modules
...
GitOrigin-RevId: fb56194efbddfba539db6bb33689dbf25d3fcb49
2021-07-16 10:33:22 +00:00
Nikolay Chashnikov
24a1844984
[IntelliJ project configuration] adapt settings of Kotlin facet to Kotlin 1.5 plugin
...
Kotlin 1.5 doesn't write tag for 'jvmTarget' option if its value is '1.8', and does write it if its value is '1.6', so this change is needed to avoid modified iml files if the project is opened with Kotlin plugin 1.5 (see KTIJ-19019).
GitOrigin-RevId: 8fc21bf185ac8c23675123b904f25af5defcc98e
2021-07-07 10:52:45 +00:00
Egor Ushakov
9a70b43f71
EA-254391 - T: AsyncStacksUtils.getProcessCapturedStack
...
GitOrigin-RevId: cfafd30740d8d683cf181ecb941440e3094cf000
2021-06-23 13:33:51 +00:00
Nikita Nazarov
beb73ddc36
Add project scope check for found jars in CoroutineAgentConnector
...
^KTIJ-15750 Fixed
(cherry picked from commit 27b5378189abe75eb503b6631a69d4bb9feb01fe)
IJ-MR-9910
GitOrigin-RevId: 3c9a1e02e16992cada2b288ce7f04c7e822a98ff
2021-06-20 22:45:14 +00:00
Nikita Nazarov
fd29488cce
Add detection of coroutine creation stack trace separator for 1.5.0
...
(cherry picked from commit 75be63a4c8e6b209af6123cb68e13313acd0266c)
IJ-MR-9953
GitOrigin-RevId: 657936acb69fbbc59a88e1b7e799f49e81d9f162
2021-06-10 08:00:31 +00:00
Egor Ushakov
a44c55e981
[debugger] use DebuggerUtilsAsync.locationsOfLineSync to speedup setting up breakpoints
...
GitOrigin-RevId: 5a9b8059e761915f68a699e0a1a978ec260509c3
2021-05-25 18:30:08 +00:00
Nikita Bobko
390aca4aeb
[kotlin] Update copyright
...
GitOrigin-RevId: 30e32e93289af81fe4fde9ea57aefa6f27b3b770
2021-05-21 10:24:40 +00:00
Vladimir Dolzhenko
bac13e5695
Drop deprecated ServiceManager.getService
...
GitOrigin-RevId: 6306778c910fcb6c6c63bc38369435c3cd235db5
2021-05-20 22:16:35 +00:00
Nikita Nazarov
8b6d7dca9b
Add capability to show which variables were optimised in susped functions
...
(cherry picked from commit a7476344408cd0fd6679c09c5d3ff0e5c87deae9)
IJ-MR-9064
GitOrigin-RevId: 2a541849b4cb469af8e485ad51426ed181d4b2f6
2021-05-12 12:38:49 +00:00
Dmitry Gridin
38221a7967
[kotlin] replace kotlinc.kotlin-stdlib-jdk8 with kotlin-stdlib-jdk8
...
^KTIJ-10035
GitOrigin-RevId: 93f6f0e9c0d24459068ae65b4d1263df5e617390
2021-04-23 12:58:37 +03:00
Nikita Bobko
f3f4fbd1f9
Convert all kotlinc-delegator.* modules to kotlinc.* libraries
...
Cooperative compilation plans changed and we don't need delegator modules anymore
GitOrigin-RevId: c8b8ca7a8bea68ce1bf5fb0425956f5cc0f61d18
2021-04-19 13:39:10 +03:00
Nikita Bobko
bea2b4dbcf
Massively apply 'UnclearPrecedenceOfBinaryExpression' inspection quickfix
...
It's new default inspection in Kotlin plugin. Let's adopt it's style
GitOrigin-RevId: d2bc21ba9398db23d74c10a0cf4c0c1e284cfccd
2021-04-16 20:26:26 +03:00
Nikita Nazarov
59b20681eb
Fix maven run configuration check
...
^KTIJ-6081 Fixed
(cherry picked from commit e9bbb0499ef8c7aaacb79d18885fc05ac463ee8d)
KT-MR-2653
GitOrigin-RevId: 3ecb9e7b768b3f91d829e6816c0925d338b903f0
2021-04-06 19:38:50 +03:00
Nikita Nazarov
2dd055228d
Fix coroutine-related tests
...
(cherry picked from commit 9329359b9125fc6309ee7553d4dae250554f5aad)
KT-MR-2538
GitOrigin-RevId: 488828dc97ebc7b4eea2cf71427e9dc028470443
2021-03-19 12:05:51 +03:00
Nikita Nazarov
ab5bdfed4a
Return null if parent jar was not found.
...
(cherry picked from commit 1f8b30bed24deb13543d940054332ca5170492a3)
KT-MR-2423
GitOrigin-RevId: ab0057d861cb078d3346f6870718508b6a73e3c9
2021-03-16 16:24:22 +03:00
Nikita Nazarov
5277df334e
Change kotlinx-coroutines-core.jar search process.
...
^KTIJ-1757 Fixed
^KTIJ-3031 Fixed
(cherry picked from commit f7fc2bc097c2f44400c6f85a2ac0b0891861d4a3)
KT-MR-2423
GitOrigin-RevId: f8949673c4e52a3091c7c2ede694e89c1e0125a2
2021-03-16 16:24:22 +03:00
Nikita Nazarov
757307acb1
Make DebuggerConnection run configuration optional
...
(cherry picked from commit bce8061661d57df97ba25f732ce69766aad7d43b)
KT-MR-2446
GitOrigin-RevId: 0dcc901a6a5c185a4158560f33ff3371580d47c3
2021-03-11 22:00:04 +03:00
Pierfrancesco Soffritti
fe178018fc
Add option to always show the coroutines debugger panel
...
KTIJ-2455
GitOrigin-RevId: 0ef5b586e877ece8b9fd4c7adf07f626119968ce
2021-03-04 16:17:23 +03:00
Nikita Nazarov
41cfcef6b1
Add capability to evaluate suspend functions
...
(cherry picked from commit 70fc2151c1348da8101b25439d5b99a5a217e42a)
KT-MR-2025
GitOrigin-RevId: d3883436ef61abdf29f1e5f8817f25c669da8b02
2021-02-25 17:56:11 +03:00
Yan Zhulanow
3f47e51670
Coroutine debugger: avoid raising an error in coroutine data extraction (EA-252903)
...
GitOrigin-RevId: 34e3750adb8e9ef2c5ed94e7673509d42ffd3996
2021-02-25 14:12:44 +03:00
Nikolay Chashnikov
8da9a87093
cleanup: get rid of usages of IntelliJ API marked as ScheduledForRemoval - 2
...
GitOrigin-RevId: eedb7b67cf3d10a437d3df0995aa7fed73d808af
2021-02-16 13:57:56 +03:00
Nikolay Chashnikov
9dc2681967
cleanup: get rid of usages of IntelliJ API marked as ScheduledForRemoval
...
GitOrigin-RevId: 9e5c6e7899fb5c4939563645f4cb9d1f5f559981
2021-02-15 23:45:55 +03:00
Vladimir Dolzhenko
c06db66dda
Add dropped transient dependency intellij.platform.ide.util.io
...
GitOrigin-RevId: 2f6f878da56aeb4072889a68d73e834112c42573
2021-02-08 01:11:08 +03:00
Nikita Nazarov
a25b4f5780
Separate kotlinx-coroutines-jar search process to CoroutineAgentConnector
...
(cherry picked from commit f46b283de4b5d077e8047ac07763162554eb3ccc)
KT-MR-2042
GitOrigin-RevId: 46bc8b379faeb0a29d6ddd0aa901461b0e341d14
2021-01-25 15:34:57 +03:00
Nikita Nazarov
0ded77aa06
Fix coroutines core jar search process
...
^KTIJ-810 Fixed
(cherry picked from commit 49cf5d7677f7ae2c5a9a63bff6782956c615008d)
KT-MR-2042
GitOrigin-RevId: 1aefc14c03407f59bb1ebacf91da8061526ab748
2021-01-25 15:34:57 +03:00
Vladimir Dolzhenko
1e9613bd7f
Fix compilation
...
GitOrigin-RevId: 6a6f66cb1685e46dee9a1a00442c7d72381c729f
2020-12-29 00:25:19 +03:00
Nikita Bobko
93efecf4e6
Fix compilation
...
GitOrigin-RevId: 098826903669396f2741b1e6477274c750ae98d1
2020-12-23 22:11:54 +03:00
Nikita Bobko
6e29578615
Replace dependency on 'kotlinc.kotlin-stdlib-jdk8' with dependency on 'kotlinc-delegator.kotlin-stdlib-jdk8' module delegator
...
This commit is part of series of project model refactoring commits, look at neighborhood commits.
Check out last commits in this sequence.
These commit are done for sake of unification and making it easier to write cooperative compilation
prototype.
GitOrigin-RevId: 4ec18be4192e6ea9fe93f14e3e9fac83cec68c91
2020-11-16 14:55:23 +03:00
Nikita Bobko
ab0fa50fcd
Replace 'kotlinc.kotlin-compiler' project library with 'kotlinc-delegator.kotlin-compiler' module delegator
...
This commit is part of series of project model refactoring commits, look at neighborhood commits.
Check out last commits in this sequence.
These commit are done for sake of unification and making it easier to write cooperative compilation
prototype.
GitOrigin-RevId: 341fbb8bc02ad28a7e2113b859fba87756af5c37
2020-11-16 14:55:20 +03:00
Nikita Bobko
d2fc6565db
Fix compilation
...
GitOrigin-RevId: 43d25930d0764ce8be51bd247a23d44f4ba62086
2020-11-12 21:19:31 +03:00
Egor Ushakov
7051e6067a
fixed compatibility
...
GitOrigin-RevId: 8524fd623d4f6a9bb113c6f357080e8fa16c1816
2020-11-12 21:07:07 +03:00
Nikita Bobko
7e72ef0c9b
Fix compilation
...
Compilation was broken by intellij in 00ea60639cd9fa09088e283154a853a0b7adaa46
GitOrigin-RevId: 55f9219f89b13aa00a1640df14a40089d3f1acec
2020-11-12 20:19:40 +03:00