Commit Graph

73 Commits

Author SHA1 Message Date
Artem.Bukhonov
22d0946a42 IJPL-165684 Dispose a default project session on a connection disposal as well
(cherry picked from commit 362288bbb80ca5c5f4c5b33efd2faf746fc45168)

IJ-CR-148844

GitOrigin-RevId: c014e19388e567f3c74393219ad63484e40005c3
2024-11-13 13:54:18 +00:00
Nikolay Chashnikov
269f036ea1 [platform] API cleanup: mark deprecated unused API for removal (IJPL-156972)
Deprecated APIs which still have internal usage are marked as internal to ensure that new external usages won't appear.

GitOrigin-RevId: eedfd26c8fb330df53d94a8768821f7878974100
2024-10-10 23:55:42 +00:00
Vladimir Krivosheev
a9e7930abe bazel - build lang-impl
GitOrigin-RevId: c4c4dce20bd6e4046644f95f6e7b3f437c51668d
2024-09-27 13:47:17 +00:00
Vladimir Krivosheev
a1210118c0 bazel - fix JPMS, exports and internal
GitOrigin-RevId: 3dc80a9ee01e1900c0cebc24b2d08f04f93ddeff
2024-09-25 19:05:37 +00:00
Vladimir Krivosheev
4eb9b78b78 use bazel to build platform-impl
GitOrigin-RevId: b5bbc75323a08c7674777e512dcfd988ceb4461f
2024-09-22 17:01:28 +00:00
Vladimir Krivosheev
834bd75254 run jps-to-bazel by Bazel, compile platform using Bazel
GitOrigin-RevId: 3774d5adc404b02036f70b7cc35c9e60fdb5d84c
2024-09-21 00:54:17 +00:00
Sebastian Sellmair
715a015e69 IJPL-161739: Migrate UserDataHolderEx extension function usages
GitOrigin-RevId: c62c3df22c1a6460e6e9b762bdef32cf96a43886
2024-09-09 16:18:53 +00:00
Lev Serebryakov
40f5b1e67f IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in community platform.

GitOrigin-RevId: 5c1d30f61a3222b284a730c912c8ed32cc609935
2024-08-13 17:24:46 +00:00
Daniil Ovchinnikov
4414dcc5ab clean up exposed-third-party-api.txt
GitOrigin-RevId: e8cfe0e64f27554201f499a06ef6c7217c5ec2bd
2024-07-08 23:18:27 +00:00
Evgeniy.Stepanov
60e96226a5 IJPL-797 intellij.platform.rd.community review internal API
GitOrigin-RevId: 84e6a38c52187e5fffa4d20fab488e73a8867f18
2024-06-20 23:41:54 +00:00
Nikolay Chashnikov
24628e108d [platform] API cleanup: mark for removal API which was deprecated in 2023.3 or earlier (IJPL-503)
GitOrigin-RevId: b7f3b8a200bca2f54496ab03f5e1414e30ad0ed8
2024-06-20 09:26:41 +00:00
Daniil Ovchinnikov
5ec66a02cd IJPL-797 API dump: generate api-dump-unreviewed.txt and exposed API lists [2/4]
GitOrigin-RevId: 1f2fcb6d02f6bf1bb52d4063ac8b13ba953b6697
2024-04-09 02:21:27 +00:00
Ilya.Usov
0f6da09673 Fix RDCT-1058
Deprecate lifetime coroutine api. Add doc with an explanation and possible alternatives.

GitOrigin-RevId: 1275d49c261a313e18d28a4027828098a9d077c9
2024-02-29 20:20:27 +00:00
Daniil Ovchinnikov
314aa83401 IJPL-274 migrate to reportProgress/reportSequentialProgress/reportRawProgress
GitOrigin-RevId: a3b5f344a513813fa0833b5b9b390a42466330de
2024-01-23 01:09:03 +00:00
Vladimir Krivosheev
2efe22a776 IJPL-326 make beforeApplicationLoaded as suspend
GitOrigin-RevId: 645cb7c678c41cd0f6f21f472a7e66fcbb9b8116
2023-10-31 23:34:54 +00:00
Daniil Ovchinnikov
24659c0cff migrate ProgressSink usages to RawProgressReporter and remove ProgressSink
GitOrigin-RevId: 671e9b9ec7a703c80b91b15a793b03e88d6e21fe
2023-10-23 21:10:54 +00:00
Nikolay Chashnikov
f1c274b406 [platform] mark for removal API which was deprecated in 2023.1 or earlier and has no external usages (IDEA-322162)
GitOrigin-RevId: 9e00612b0c5fd1268d6ef056c825150fea19e085
2023-10-20 22:20:49 +00:00
Daniil Ovchinnikov
c02e719798 IJPL-274 migrate tasks.kt functions' usages
GitOrigin-RevId: d11b1726a501df22853efabc37b3275e62e392ed
2023-10-18 23:33:12 +00:00
Daniil Ovchinnikov
d0be7a1549 IJPL-274 migrate ModalTaskOwner usages
GitOrigin-RevId: 0f6a9827cdbf48cf919ccdcc8b624d9055076d7e
2023-10-18 23:32:54 +00:00
Daniil Ovchinnikov
26a5451183 IJPL-274 migrate TaskCancellation usages
GitOrigin-RevId: d84db4143620dc7c9c73367e349f17b668ad3800
2023-10-18 15:34:12 +00:00
Daniil Ovchinnikov
584a16742a IJPL-274 migrate ProgressReporter and related APIs usages
GitOrigin-RevId: 31b8d6991af78af8a2c988b9a783a962758e9157
2023-10-08 22:59:20 +00:00
Ilya.Kazakevich
92fd0b0201 Extract getOrCreateUserData to reuse it all over the code
GitOrigin-RevId: 5b618fa60b8c9ef7d56b9f22d060f617d28d9fa7
2023-10-03 20:48:20 +00:00
Nikolay Chashnikov
fc9409a64e [rdct] API cleanup: remove unused deprecated API (IDEA-322162)
GitOrigin-RevId: f90e3805894af69798d933d9e17cd42f8fe95b94
2023-09-29 09:22:01 +00:00
Artem.Bukhonov
f34e4a00f9 GTW-6322 Client.current is not local on Host in applicationService
Possible fix for wrong ClientId.
Move coroutineHelpers.kt to community to make it accessible in community code

Use setSuspendPreserveClientId inside all test framework places

GitOrigin-RevId: b09d9c83ada401f763b3a4d963bb2c5e1079936b
2023-09-27 19:42:47 +00:00
Andrii Rublov
721b684f1f Multi-Launch: Get rid of intellij.rd.platform cyclic dependency
(cherry picked from commit c9d495a642b10ee9607236200cd02c9d8bfbec34)

IJ-MR-115584

GitOrigin-RevId: 80875bec403ebfd40d8330487cf4a23154ab009a
2023-09-26 23:30:10 +00:00
Andrii Rublov
539976612d Multi-Launch: Move Project.lifetime and userData into intellij.platform.rd.community
(cherry picked from commit e564ccd257912d6d617d54f4b8db1703bf9280b4)

IJ-MR-115584

GitOrigin-RevId: 536b105ae29bf0e38ab71cd6ddac5e40ce012833
2023-09-26 23:30:06 +00:00
Lev Serebryakov
a8943cc6cc IJPL-53: Code need full dispatch if Write Intent Lock is not taken.
GitOrigin-RevId: 5fc4a4a92206fe813fdd9795876e1c0fcf02dccc
2023-08-30 12:53:14 +00:00
Ilya.Usov
6338e893e5 Update rd + Fix compilation
GitOrigin-RevId: a339b45dd6419a41868cec158b6db03d61de8cb0
2023-08-17 18:36:21 +00:00
Ilya.Usov
b5bacf64cb Deprecate legacy methods
get rid of useless `RdCoroutineHost.instance.uiDispatcherAnyModality.asRdScheduler` code

GitOrigin-RevId: a43244c266fdc100acea0546f49aa38fa6caf5e4
2023-07-26 15:53:06 +00:00
Vladimir Krivosheev
c3112b0641 cleanup
GitOrigin-RevId: 7f77c24bda855ae33a52c965b013f4c0bae51c28
2023-07-13 22:30:35 +00:00
Ilya.Usov
5fdccf9a1c Fix indicator fractions
Do not provide progress reporter in legacy api

GitOrigin-RevId: 7839d8dac2cf48bd9e0c19fb3053f4f041ef85f4
2023-07-07 18:54:16 +00:00
Ilya.Usov
b76396545d Create raw reporter for child step to avoid exceptions with double-creating raw reporter
GitOrigin-RevId: 0f253da89ef361c9030ed957108f60e183f63a57
2023-07-07 14:58:50 +00:00
Ilya.Usov
208451149b Use modal progress for downloadThinClient
GitOrigin-RevId: b530d4a3702ee0772ad03f1bcfcb9b73244582f1
2023-07-07 14:58:46 +00:00
Ilya.Usov
2d15d8ca49 isIndeterminate = false if fraction changes
GitOrigin-RevId: 6a97d75f60843ffeecc59f2017b53e366e3847ae
2023-07-07 14:58:40 +00:00
Ilya.Usov
72864454b0 Use withModalProgress as backend for withModalProgressContext
use withModalProgressContext2 in runDeployActionWithProgressAndErrorHandling, because withModalProgressContext hangs in that case

GitOrigin-RevId: e62e73231594c83ed37736fec64e7f4e8c8dac7b
2023-07-04 19:53:27 +00:00
Ilya.Usov
edb3110b92 Separate methods with and without project
GitOrigin-RevId: 0f5e087575d0b2c9f9fd4a670ee97fa6f41e83bc
2023-06-28 20:58:03 +00:00
Ilya.Usov
c6adc3cca0 Restore withModalProgressContext (because new version hangs on rem dev tests)
GitOrigin-RevId: aecd36e2f1f97953840e02d2e417f1167dcfeee9
2023-06-28 19:25:29 +00:00
Ilya.Usov
ffa820aa1d Add BridgeIndicatorEx
GitOrigin-RevId: 406cc3c37fccc898c8ddac893a8fbfb964b7454c
2023-06-28 19:25:26 +00:00
Ilya.Usov
93d6d8fae5 Use withModalProgress instead of Task.Modal + test
GitOrigin-RevId: cc63e4767f1632e39ba08bced02b27dbc611051c
2023-06-28 19:25:22 +00:00
Ilya.Usov
15f247d8aa Support reporter in legacy api + tests
GitOrigin-RevId: cc5d374483a40a495ae318a20b3342c1cfc8ef2a
2023-06-27 00:06:40 +00:00
Ilya.Usov
f317de5f21 Partial migration to withBackgroundProgress api
GitOrigin-RevId: 3c132c0fc02966f38cd686ee4dffe80765832e93
2023-06-26 17:35:46 +00:00
Alexey Belkov
55f582d5d3 Apply Kotlin inspection "Redundant 'if' statement"
GitOrigin-RevId: 2f93c77e56d8519431e8cc94f4ca2354003806b6
2023-06-12 14:45:50 +00:00
Nikolay Chashnikov
9b16a6d5f2 [platform API] mark unused API which was deprecated in 2022.3 and earlier versions for removal (IDEA-312594)
GitOrigin-RevId: 83ef88a5d857a404abde02189c3c5f4c531b54c5
2023-06-12 11:00:51 +00:00
Daniil Ovchinnikov
675b19fb2c IJPL-130 rename library kotlin-coroutines-jdk8 -> kotlin-coroutines-core
GitOrigin-RevId: e987a9f48391d74e401c860a57f99634ccc21a4a
2023-05-18 22:52:00 +00:00
Nikolay Chashnikov
8696445486 [remote dev] API cleanup: remove unused deprecated API (IDEA-312594)
GitOrigin-RevId: 6f1e25c3edf8ba3d0e25b90e09b72f3402a94e1a
2023-05-15 13:57:28 +00:00
Nikolay Chashnikov
c2540cd10a API: mark for removal APIs which were deprecated and have no external and internal usages (IDEA-305637)
GitOrigin-RevId: 8f4ee08f99f30456e0c0105ae4f28dc7cd8ad9b0
2023-02-06 19:59:10 +00:00
Vladimir Krivosheev
e29b2fedd4 move application.kt from util-ex to platform-impl and mark it as obsolete - we don't need such a symbol in a global scope
GitOrigin-RevId: 52f5e5b73cd05ae9bce4fd9286c4b603e085b052
2023-01-26 09:06:19 +00:00
Daniil Ovchinnikov
578eaaf60e rename library kotlin-stdlib-jdk8 -> kotlin-stdlib
GitOrigin-RevId: cddf45ccfd5563d3fe209bea62a1c37c94f44ff9
2023-01-10 12:22:34 +00:00
Ilya Usov
9676cc612d Add defaultModalityState in coroutineContext in launchOnUi and startOnUiAsync methods
GitOrigin-RevId: e70994a26e2909507d714fb4290c1ca4ca1c635b
2022-09-20 23:42:48 +00:00
Ilya Usov
90244a3692 Add ModalityState and ProgressSink in coroutineContext in with_ProgressContext
GitOrigin-RevId: f874fcf0faf0596fccd88b75f11f405cbf1db570
2022-09-20 23:42:46 +00:00