Commit Graph

454848 Commits

Author SHA1 Message Date
Tagir Valeev
a1eecbd0ae [java] External type annotations (IDEA-231901): remove them on variable introduction
Also bumped test project descriptor

GitOrigin-RevId: fd519a34b01abbb9de135f1c39fc1cb02c8de891
2024-09-18 20:27:35 +00:00
Tagir Valeev
35c9c6ca5a [java-dfa] Basic support for Unmodifiable type annotation
GitOrigin-RevId: 4bc07e2533efa45356ba26b89c065b453a40d253
2024-09-18 20:27:35 +00:00
Tagir Valeev
ffd5d01482 [java-dfa] Type annotations for stream collectors; now, special processing of non-null collections is unnecessary
Part of IDEA-231901 Support TYPE_USE in external annotations

GitOrigin-RevId: 34e116eddf5dbc90468311e5fd2d0c30e600fc1a
2024-09-18 20:27:35 +00:00
Tagir Valeev
b50767f679 [java] Basic support for external type annotations
Only in XML directly; no editing UI for now; no inlays for now; only for libraries (Cls), currently no intent to extend to sources (Psi)
Part of IDEA-231901 Support TYPE_USE in external annotations

GitOrigin-RevId: 672ed09f57ffc40b61e8fe4dd33d0f9acdac92dc
2024-09-18 20:06:30 +00:00
Tagir Valeev
1c8240ecd6 [java-annotations] Collectors notnull annotations
GitOrigin-RevId: 6f44dab3101fb0a50a9ee6927f0c010eb4b68a8b
2024-09-18 20:06:30 +00:00
Nikolay Rykunov
60c18c33f0 [debugger-rd] IJPL-160146: Use data classes for entities to provide equities based on eid
GitOrigin-RevId: 7e07f07a89f6c5cd2fb8a45195e1f57afe243a08
2024-09-18 19:43:38 +00:00
Nikolay Rykunov
1cacca0ee0 [debugger-rd] IJPL-160146: Use service for subscription instead of project activity
GitOrigin-RevId: a9da65049a4b2bf2a13e2dd8a0d4dc90fb553886
2024-09-18 19:43:38 +00:00
Nikolay Rykunov
ed1b4f6c5a [debugger-rd] IJPL-160146: Update exposed api
GitOrigin-RevId: eaaa321e0530997074186e1f856c9a1807d783f7
2024-09-18 19:43:38 +00:00
Nikolay Rykunov
6877d0a4af [debugger-rd] IJPL-160146: Update kotlin api and compiler plugin versions
GitOrigin-RevId: e80eb8824cc1af069ee7a992cbd13115256bf1ac
2024-09-18 19:43:38 +00:00
Nikolay Rykunov
211cb58b51 [debugger-rd] IJPL-160146: Remove canShowHint method, since it always returns true
GitOrigin-RevId: 17f11978a2fe84efccde9bb65fafd7e8b70279eb
2024-09-18 19:43:38 +00:00
Nikolay Rykunov
d2dfa559f2 [debugger-rd] IJPL-160146: Introduce getInstance function for XDebuggerValueLookupHintsRemoteApi
GitOrigin-RevId: df6699a93703540ebfd5548739aed5b4a206b78a
2024-09-18 19:43:38 +00:00
Nikolay Rykunov
4e2dfecaaa [debugger-rd] IJPL-160146: Cleanup entity declarations
GitOrigin-RevId: 504ec0054a106115bef7dc1246d5f64f51936e90
2024-09-18 19:43:38 +00:00
Nikolay Rykunov
de028d7a07 [debugger-rd] IJPL-160146: Use IO and EDT dispatchers
GitOrigin-RevId: 6df4a1b45494afa5749e6abbf9c3e85e3db21c0b
2024-09-18 19:43:38 +00:00
Nikolay Rykunov
266ddd4bb3 [debugger-rd] IJPL-160146: Filter listening started entities by project
GitOrigin-RevId: 31576aaeeaaa6e58a093d39a86508f3e59ebe03e
2024-09-18 19:43:38 +00:00
Nikolay Rykunov
6c82192882 [debugger-rd] IJPL-160146: Use AtomicBoolean
GitOrigin-RevId: 9d037f55dd6800ce7ff8dd1f02ffd17164fa5b11
2024-09-18 19:43:37 +00:00
Nikolay Rykunov
70bd6c8850 [debugger-rd] IJPL-160146: Register entities using EntityTypeProvider EP
GitOrigin-RevId: bf10e84a5d8a2eb155dbe41342d7a7d0a55a7a1f
2024-09-18 19:43:37 +00:00
Nikolay Rykunov
3e5f254be6 Cleanup after update
GitOrigin-RevId: 408e26b1983444074232463125b3960768af1cac
2024-09-18 19:43:37 +00:00
Nikolay Rykunov
4003441e9a [debugger-rd] IJPL-160146: Take project into account for ValueLookupManager events
GitOrigin-RevId: 850710bb70949fbd1cbd064c20d2b0b95f9b4a0e
2024-09-18 19:43:37 +00:00
Nikolay Rykunov
d422c824f7 [debugger-rd] IJPL-160146: Update backend/frontend modules structure
GitOrigin-RevId: 3c7c25abe754f159b3539d6883dd94d76dbe3455
2024-09-18 19:43:37 +00:00
Nikolay Rykunov
686bcc08a7 [debugger-rd] IJPL-160146: Use new withKernel API
GitOrigin-RevId: 698cd83aac3469010f9b6a1d16ab99f0b511621e
2024-09-18 19:43:37 +00:00
Nikolay Rykunov
1a38e580a4 [debugger-rd] IJPL-160146: Use RPC to show evaluation popup, but still use LUX for it
GitOrigin-RevId: ad71468f28517971a90dc09332a7002de3831d93
2024-09-18 19:43:37 +00:00
Nikolay Rykunov
31d3127180 [debugger] IJPL-160146: Convert ValueHintType to Kotlin
GitOrigin-RevId: 28b248e12016fc518567129e14173f69ae455b66
2024-09-18 19:43:37 +00:00
Nikolay Rykunov
309d605c04 Rename .java to .kt
GitOrigin-RevId: 1bc86a9c36ece431e6c704cca9f144de1c91ba03
2024-09-18 19:43:37 +00:00
Nikolay Rykunov
7d7cf39600 [debugger-rd] IJPL-160146: Introduce ValueLookupManagerController
GitOrigin-RevId: 8a5a1b7b7f007fd3f44ad882dd951fe9131d0c9c
2024-09-18 19:43:37 +00:00
Nikolay Rykunov
15d3b7f61b [debugger-rd] IJPL-160146: Move ValueLookupManager to frontend module
GitOrigin-RevId: 164dde021219c99f327a15356993bd7ab95c7e44
2024-09-18 19:43:37 +00:00
Nikolay Rykunov
32d080602f [debugger-rd] IJPL-160146: Split xdebugger.impl to frontend, backend and keep shared code
GitOrigin-RevId: 302e30536c3d0d6ae3fe2d3d974bae7e233578c6
2024-09-18 19:43:37 +00:00
Egor Ushakov
fa4858f4f3 [debugger] removed unused method
GitOrigin-RevId: b63611bc0b659c52afd82f0614c4fab1df49cb2e
2024-09-18 19:22:28 +00:00
Egor Ushakov
21a00d1985 IDEA-323195 "Object has been collected" error during breakpoint condition evaluation - reduce number of retries
GitOrigin-RevId: 04fcbf4082a7196a6fce75d36eb8060c53c817df
2024-09-18 19:22:28 +00:00
Egor Ushakov
e8576838b4 [debugger] made invocation helper use method handles
GitOrigin-RevId: 340efd6c3cfacd29266b704ef80f0f9f3e2f3a11
2024-09-18 19:22:28 +00:00
Tagir Valeev
1d58994a43 [java] IDEA-359355 Bump language level and backport it to 2024.2
GitOrigin-RevId: d5222b7ea55ad8ff4af76a2e50605e4e6e99d2f4
2024-09-18 18:50:35 +00:00
Ilia.Shulgin
9e5b3bf53e [diff] IJPL-161760 Invalidate DiffFilePathLabelWrapper on theme update
Label size was set to 0x0 after theme update

GitOrigin-RevId: fae07e9d664da1c0b335231a21422297811864bb
2024-09-18 18:22:43 +00:00
Ivan.Shershnev
6c892067e3 [DBE-21826] Introduce FloatingPagingManager for grid
GitOrigin-RevId: 1c3a220c7d24a47b5e090ecfd38214a169958347
2024-09-18 18:15:25 +00:00
Kate Botsman
787e50239c IJPL-160386 Make TaskInfoEntityCollector private
GitOrigin-RevId: 2a53f8e680d96e63b91d81abcd899ce46a184363
2024-09-18 18:09:16 +00:00
Kate Botsman
59123ef6ff IJPL-160386 Check for task status under shared block
The check for current task status should be performed under "shared" block (for shared tasks) to support a rebase scenario.

GitOrigin-RevId: 35fd54b1cbe34bb33957dd1fbe267ae043f2c541
2024-09-18 18:09:16 +00:00
Kate Botsman
be0a96b0f5 IJPL-160386 Move task subscription to a different service
Each task has a project entity which indicates the frame where the progress should be shown.
Before, all tasks were collected in `PlatformTaskSupport` application service.
However, it required waiting for a project if `TaskInfoEntity` arrived too early (before a project is created on frontend)

Without `LocalProjectEntity` (which was removed recently) waiting for a project becomes more complicated.
Instead, it'd be better to have a separate per-project service which listens for tasks for a provided project only.

GitOrigin-RevId: 36a486a507da98d707c7f85cf2dabc0fd826f800
2024-09-18 18:09:16 +00:00
Kate Botsman
4ecfb32d2f IJPL-160386 Fix the error "ProjectEntity is not found for ProjectDefault (Template) Project" in tests
Default project doesn't have a corresponding entity at the moment.
Allow optional `ProjectEntity` in `TaskInfoEntity` to support progresses which are started on a default project.

GitOrigin-RevId: 0a399a9bb0bec3c5873543a7643f2ce0b4e6ff27
2024-09-18 18:09:16 +00:00
Kate Botsman
5c2b6ae0f3 IJPL-160386 Fix compilation after rebase
GitOrigin-RevId: eab15d99e108d32223b5e2794a85b9b67baf0ca2
2024-09-18 18:09:16 +00:00
Kate Botsman
2a716152e0 IJPL-160386 Collect active tasks reported to Rhizome
This is the second part of the migration of the progreses to rhizome.
Before, they were added to the DB but never collected.

Now they are collected by `PlatformTaskSupport` and there is no need in `FrontendProgressListener` and `BackendProgressManagerListener` anymore.

GitOrigin-RevId: cb9531b3a22eb780c540ce815d13168faba115bf
2024-09-18 18:09:16 +00:00
Kate Botsman
8a3f42f73b IJPL-160386 Add ProjectEntity to TaskInfoEntity
Progress is linked to a particular project, so we need to have a reference to `ProjectEntity` here.

If `ProjectEntity` is deleted (the project is closed) when `TaskInfoEntity` has to be removed as well, so I mark the ref with `RefFlags.CASCADE_DELETE_BY`

GitOrigin-RevId: 65c13a466ef0eff04249e2ed014bff7fdc08e3ca
2024-09-18 18:09:16 +00:00
Kate Botsman
2c82d22aed Mark StatusBarEx.addProgress as obsolete API because it uses obsolete indicators
GitOrigin-RevId: a39fbbe1d8491e449e9afb51090fb52b8467ba9b
2024-09-18 18:09:16 +00:00
Kate Botsman
b28aeee024 RDCT-1620 Report old ProgressIndicators to StatusBar through withBackgroundProgress
We cannot get rid of `ProgressIndicator` at the moment, so we need to support them in rhizome progresses if we want to enable this feature soon.

The simplest way to support them is to wrap the indicator with `withBackgroundProgress` and `reportRawProgress` right before it would've been added to `StatusBar`.

GitOrigin-RevId: 45c1e3f6ce0e175e8cf9d6a0ef879cbd15b099c2
2024-09-18 18:09:16 +00:00
Alexander.Kass
2fbbf63899 stripe: hide disabled actions
GitOrigin-RevId: 27051a273482f181c03fc5d6d09d438d8539ed38
2024-09-18 17:28:58 +00:00
Alexander Bubenchikov
d655523012 [maven] [IDEA-349045] added baseVersion field to MavenCoordinates
GitOrigin-RevId: 9b59fb8acea3f714600ebc1bb161f56b3bb385ef
2024-09-18 17:19:50 +00:00
Alexander Bubenchikov
11c1678a20 [maven] [IDEA-356114] use maven core extendable ArtifactTypeRegistry in maven 4 server
GitOrigin-RevId: fcf949ea4b6cb097f7ff714b117576a9ef64c9fb
2024-09-18 17:19:50 +00:00
Mikhail Filippov
d1fa4c9739 IJPL-162468 add way to provide auth header for custom plugin repository
GitOrigin-RevId: 0819348bcc22832344113dd56321b812cbaa782e
2024-09-18 16:14:29 +00:00
Vladimir Parfinenko
263b3eb70e [debugger] fix JWT visualizer after upgrade to Kotlin 2.0.20, see KT-56135
GitOrigin-RevId: d10d107c7dc70e042f8e4cc03223faef9b0cc54a
2024-09-18 16:10:49 +00:00
Vladimir Parfinenko
06e6613593 [debugger] fix a bug in XML visualizer, EA-1461644
GitOrigin-RevId: 50cd4023e7455cde7b20fe770c3a020d92f08e1c
2024-09-18 16:10:49 +00:00
Vladimir Parfinenko
36b2c6bf13 Remove workarounds after upgrading to Kotlin 2.0, KT-69132
GitOrigin-RevId: 482fb44ca6084cee793672c0118164b8f4cbb942
2024-09-18 16:10:49 +00:00
Ilia.Shulgin
a1a1c8eab0 [diff] IJPL-106177 Show file name inside merge dialog
GitOrigin-RevId: 985236ef0cbdd9554b45b40818a5c01f93e79d81
2024-09-18 16:04:05 +00:00
Pavel Karateev
b2b2b60e64 PCQA-552 Use different PySide version per SDK
GitOrigin-RevId: 35cb4309ebde0fa3a82f94a04c9cbb0fb7f3b39f
2024-09-18 16:03:12 +00:00