Commit Graph

454704 Commits

Author SHA1 Message Date
Lev Serebryakov
e6326e86a6 IJPL-149317 More explicit locks.
GitOrigin-RevId: fc826f0acb4e2eb057a20a33790ee6ddd11054e8
2024-09-19 18:43:28 +00:00
Lev Serebryakov
6c7cb5d9b6 IJPL-149317 More explicit locks.
This method is called only on EDT.

GitOrigin-RevId: 798c0f546772bf76419192682336aa9ed0b81293
2024-09-19 18:43:28 +00:00
Lev Serebryakov
90d4674d38 IJPL-162543 Exception on different actions in the latest nightly
Fix exception for MacOS.

GitOrigin-RevId: 60d5b7e93ca5e6b75bde6e04207aee628e5057f0
2024-09-19 18:43:28 +00:00
Nikolay Rykunov
595bc7c0cd [debugger-rd] IJPL-160146: Use CAS in ValueLookupManagerController
GitOrigin-RevId: 42e8e77e56db287620e549a93dff700d9d561514
2024-09-19 18:33:41 +00:00
Nikolay Rykunov
c986fcd7e6 [debugger-rd] IJPL-160146: Acquire expression info from RPC, so highlighting with alt will be properly handled in rd
GitOrigin-RevId: a2dfcba4cf86528927241fd1554eca4eee6a322a
2024-09-19 18:33:41 +00:00
Nikolay Rykunov
0f0bed6f41 [debugger] Convert ExpressionInfo to Kotlin
GitOrigin-RevId: 15c2333a629b7a4edd9e04079fc23905dcef36e6
2024-09-19 18:33:41 +00:00
Nikolay Rykunov
65214bc767 Rename .java to .kt
GitOrigin-RevId: c43df74878b598dca416ebe12133d36667ad9274
2024-09-19 18:33:40 +00:00
Nikolay Rykunov
8fdb205e2f [debugger] Use coroutines in XQuickEvaluateHandler
GitOrigin-RevId: 883ca3993e3a3f6c36006f1d3848f5430e1be5f7
2024-09-19 18:33:40 +00:00
Nikolay Rykunov
bf81387373 [debugger] Convert XQuickEvaluateHandler to Kotlin
GitOrigin-RevId: e8792643c2f4a306853de14fbe9ed8d551384d4b
2024-09-19 18:33:40 +00:00
Nikolay Rykunov
760af9ca4f Rename .java to .kt
GitOrigin-RevId: 04b73d0a86948a7cb8eafb528c930e76221650ec
2024-09-19 18:33:40 +00:00
Alexander Bubenchikov
9ebdffab0b [maven] fix flaky tests IDEA-357354
GitOrigin-RevId: 3389ea7b60f9bfa95f59bb8da03be0614e3f3ba4
2024-09-19 18:21:32 +00:00
Alexander Bubenchikov
48ab0344ad [maven] maven4 refactor code for better readability
GitOrigin-RevId: d2e595542298422b5fb57bba43441619c67fd913
2024-09-19 18:21:32 +00:00
Alexander Bubenchikov
675ca4e23d [maven] clean telemetry calls
GitOrigin-RevId: 0b5fd4a22be04cd1ff5f02b7396a4d8771d4129e
2024-09-19 18:21:32 +00:00
Alexander Bubenchikov
0fab66f445 [maven] add new api to maven server telemetry
GitOrigin-RevId: 5e20b4895bcdad13a86efc3a4167215ae7e280ed
2024-09-19 18:21:32 +00:00
Alexander Bubenchikov
dd76c089dd [maven] add new api calls to MavenServerLoggerWrapper
GitOrigin-RevId: 459dbe3195a26a9ef61950f9f2cbedb7e262be9d
2024-09-19 18:21:32 +00:00
Ilya.Kazakevich
fe54db7b3c Python: Remove unused symbols
GitOrigin-RevId: ec2bd2dda3f215a6c318afa70adbccc8627bd586
2024-09-19 17:47:20 +00:00
Sergei Tachenov
58d1b83ea3 IJPL-161357, IJPL-162474 Set JBTabsImpl tab position in init
This takes care of the divider visibility regardless of when
and how the tabs are created, fixing both mentioned issues.

GitOrigin-RevId: 9907327b4c817db4f134d3f2cdd8a3f8a3163287
2024-09-19 17:33:23 +00:00
Sergei Tachenov
482d11a250 Revert "IJPL-43686 Implement a workaround for macOS mouse entered/exit bug"
This reverts commit df7e05f7

The commit is reverted because the issue is fixed on the JBR
side by JBR-7481.

GitOrigin-RevId: 830d8a6d02c17487e8dd890de72be4cde8934ab9
2024-09-19 17:33:23 +00:00
Sergei Tachenov
b247845a1f Revert "IJPL-43686 Work arount macOS mouse cursor issues"
This reverts commit ae713777d3a3dc9106842b39c626ac80abff9bfc.

The commit is reverted because a proper fix is done
on the JBR side, JBR-7484.

GitOrigin-RevId: 6827780c5f6fd38d80a1f9ca8142f28b1339d628
2024-09-19 17:33:23 +00:00
Sergei Tachenov
27ea44ec82 IJPL-159968 Introduce a local variable in patchLafFonts
Since this is a computable property, to be on the safe side,
read it only once. This can be very helpful if ever in the future
it starts returning different values due to some bug,
for example. Then we can be sure that the used value and
the logged value are the same.

GitOrigin-RevId: 0ca8e953c353ea4405f0d189399f11ea08a9aacf
2024-09-19 17:33:23 +00:00
Bas Leijdekkers
ba90fcc173 Java: make auto-import action available on method references to non-static methods (IDEA-336191)
GitOrigin-RevId: 2441af053858efe56887a5ea8dc34cfd08878261
2024-09-19 17:29:43 +00:00
Egor Ushakov
7083706121 EA-1230490 - NPE: FileEditorManagerEx.getSelectedEditor
GitOrigin-RevId: acd3eec6629ee0b4280df138a9784893cc634447
2024-09-19 15:59:17 +00:00
Aleksandr Krasilnikov
684fdebe0e IJPL-160250 git: disable new actions
GitOrigin-RevId: b959bac8221f0f671ac18bb8fbf415da650cb9c7
2024-09-19 15:21:12 +00:00
Sergei Vorobyov
e6e2eb5f03 [NPW|Maven|Test] new: enabled all IDE activity traces for MavenProjectWizardTest
GitOrigin-RevId: a309b444e5a816da3aa2a03a9e14400211f63ba3
2024-09-19 14:53:14 +00:00
Sergei Vorobyov
609f016002 [Observation] new: added dumping for all IDE tracked activities
GitOrigin-RevId: cab3332786669cb9face0bc91584b349c8f12f70
2024-09-19 14:53:14 +00:00
Sergei Vorobyov
59dfc78696 [Observation] new: added IDE activity tracing for the computations that started by the launchTracked function
GitOrigin-RevId: b4e905a0cf80d8f82e6770b3bee3b38ac86f4af0
2024-09-19 14:53:14 +00:00
Egor Ushakov
574869f3ea IDEA-358233 Evaluate expression with Stream.map when using a protected field under a lambda expression throws $GeneratedEvaluationClass tried to access protected field, is in unnamed module of loader java.security.SecureClassLoader
GitOrigin-RevId: 6532c4a65dde0edf8a091b32b735f1724599fef7
2024-09-19 14:52:36 +00:00
Georgii Ustinov
3e7424d3ff [Java] Rename JavaCommandCompletionTest to JavaShellCommandSpecsProviderTest
IDEA-359375

GitOrigin-RevId: c7d422ea41472ed6aecaabb013093ca4f585bd55
2024-09-19 14:48:41 +00:00
Roman Shevchenko
d88acc1137 [platform] allowing the first scheduled update check to happen
GitOrigin-RevId: c858bccac7f21b8f0a831e7e7b81c9080149a95e
2024-09-19 14:37:32 +00:00
Roman Shevchenko
3ce202bd9f [platform] restoring update notifications for scheduled update checks
GitOrigin-RevId: 2a5853246220207a2901ff75b3c4cf4fae086d43
2024-09-19 14:37:32 +00:00
Roman Shevchenko
91eda2eef8 [project] bumping build process heap size in the CE project
GitOrigin-RevId: e39b11d61d90d7971cb26eb9f7bf1b83597a1d99
2024-09-19 14:37:31 +00:00
Yuriy Artamonov
86e789f895 [searcheverywhere] Do not override defaults of semantic search in internal mode
GitOrigin-RevId: 9d5faff113637ddd7a2f94a6d07182b7fe33d965
2024-09-19 14:24:54 +00:00
anton.spilnyy
c820b30d79 [aia-eval] LME-89 Support static datasets for code generation scenario in End-to-End evaluation
GitOrigin-RevId: 558e41cd22748746e2eaf1b1ab299b0c787905f1
2024-09-19 14:15:45 +00:00
Sergei Tachenov
37185c0236 IJPL-162180 Make ToolWindowStateListener internal
It isn't used anywhere except as a service.

GitOrigin-RevId: d6a41a63b7f14403d661abc00154494ed5b43c0c
2024-09-19 14:14:11 +00:00
Sergei Tachenov
885b01aa8d IJPL-159968 Move disableLayoutInTextComponents and co to another class
Because it's used in initLux, it's accessed at an early delicate stage.
But UiUtil is a huge class that invokes a lot of stuff in its static init,
and some of that stuff (JBInsets.create) involves scaling, which isn't
initialized here yet.

Invoking preload() from there was a mistake. It's not guaranteed
that all data needed to compute the scaling factors is ready.
And we don't really need it at that stage.

To fix this properly, we extract just the part of UiUtil that's
used in initLux. It isn't even a public API. And as a bonus,
it'll be faster here too, as we don't need to load that huge class
anymore.

GitOrigin-RevId: 6ad6bbb24c7753cfb27f148e405a31117ad74964
2024-09-19 14:14:11 +00:00
Sergei Tachenov
d312e801c7 IJPL-158493 Set comparator in CoroutineProjectViewSupport init
It wasn't initialized at all, leaving the tree unsorted.

GitOrigin-RevId: 0169da70c2bea834b21bda54138fb16bb4299cab
2024-09-19 14:14:11 +00:00
Sergei Tachenov
e734e20ced IJPL-162180 Use replay=1 in ToolWindowStateCollector
Otherwise, the first resize is almost guaranteed to be missed,
as by the time the collector starts, the first value is likely
to be already emitted.

And add the usual check() around tryEmit().

GitOrigin-RevId: 2242ca01325fc7dc30d3593b4a62f0bf1f0b28d4
2024-09-19 14:14:11 +00:00
Sergei Tachenov
49c7dfa638 IJPL-162180 Cancel ToolWindowStateCollector on window unregistration
Note that
ToolWindowManagerEventType.UnregisterToolWindow
can't be used here, as it's not guaranteed to be fired,
for example, when the plugin is unloaded.

The separate callback toolWindowUnregistered
seems to always work.

GitOrigin-RevId: 3cc70527e9bf8cf2bc8e2fee525781d7d18e2e12
2024-09-19 14:14:11 +00:00
Sergei Tachenov
3f478bbdf9 IJPL-162180 Make ToolWindowStateCollector more thread-safe
Don't access the windowsSize map twice to check the old value.

Use ConcurrentHashMap for collectors, as the tool window
manager isn't guaranteed to always fire events on the EDT.
This is especially true for the "unregister" events
that we're about to start handling.

Replace getOrPut with computeIfAbsent, as getOrPut
doesn't guarantee that the supplied function isn't called
if the map already contains the key.

GitOrigin-RevId: bfec867346030603aef8729e96afe2e74cc679b2
2024-09-19 14:14:11 +00:00
Sergei Tachenov
5488b58392 IJPL-162180 Refactor ToolWindowStateCollector
Extract the per-window collector into a separate class.
We'll need it to implement the functionality to cancel
collectors on window unregistration.

Add names to collector coroutines.

GitOrigin-RevId: 41a7cd7b1d03f460be9e7c73c63814a9e62cc97c
2024-09-19 14:14:11 +00:00
Ilia.Shulgin
ed8b9b9884 [git] Add tests for git log branches tree structure
GitOrigin-RevId: 21713fd43ee93f70923ac27f250b2c952bff6829
2024-09-19 14:08:35 +00:00
Ilia.Shulgin
d81b57de52 [git] Operate children instead of parents in BranchNodeDescriptor
GitOrigin-RevId: be2d955cdc0fd144ab47e715a312c4d85cb8031b
2024-09-19 14:08:35 +00:00
Ilia.Shulgin
38bb7ce48f [git] Don't show disabled GroupActions
Show it for top-level remote group only.
It could be shown for local branches if grouping by repo and by directory were enabled

GitOrigin-RevId: c22b8e4c21ebcb01e318e7deea87554431e9b263
2024-09-19 14:08:35 +00:00
Ilia.Shulgin
cd9eb6f261 [git/refactor] Get rid of NodeType and rely on BranchNodeDescriptor type
GitOrigin-RevId: abc831704f99f4d2bd63c18e567f6c9afb7d1b7a
2024-09-19 14:08:35 +00:00
Ilia.Shulgin
d5f8982dfb [git/refactor] Move titles calculation to GitRefType
GitOrigin-RevId: b3fb14107c2e2214a3ae21fedc74f5628144f977
2024-09-19 14:08:35 +00:00
Ilia.Shulgin
88a9052442 [git/refactor] Make GitRefType sealed
Make `RecentNode` implement `GitRefType` as well to simplify type checks

GitOrigin-RevId: acc414e94a3b4cc272d803edeb0dc440afec68cd
2024-09-19 14:08:35 +00:00
Ilia.Shulgin
9ea1f55e6d [git/refactor] Replace TagsNode with GitTagType as they are the same
GitOrigin-RevId: b32c6dd0177a9633bfd3d9997511a0e021cf7d3b
2024-09-19 14:08:35 +00:00
Ilia.Shulgin
4add365d46 [git/refactor] Get rid of NodeExist fields in NodeDescriptorsModel
It should allow not adding such field for tags

GitOrigin-RevId: 639903ae88a49af869d74a4f226ca24d961d6536
2024-09-19 14:08:35 +00:00
Ilia.Shulgin
2e7121109c [git/refactor] Make BranchNodeDescriptor hierarchical
GitOrigin-RevId: 77a98bfa0a61f1c0a7337e6c32278e59d47b44bb
2024-09-19 14:08:35 +00:00
Ilia.Shulgin
5ce03699e8 [git/refactor] Remove redundant BranchInfo::getDisplayText
GitOrigin-RevId: 8f22931b5fa5d3edce960f7f815a71acbb22d782
2024-09-19 14:08:35 +00:00