Commit Graph

451621 Commits

Author SHA1 Message Date
Lev Serebryakov
22b79b4cc4 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Performance testing community plugin.

GitOrigin-RevId: caa5abbc927ed464a3728b26111b5c99294bda9f
2024-08-13 17:24:47 +00:00
Lev Serebryakov
4ac8160910 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Markdown community plugin.

GitOrigin-RevId: abe7251283c8b6e144cc2f66a315b063925e9712
2024-08-13 17:24:47 +00:00
Lev Serebryakov
21d6bc8e8a IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Maven community plugin.

GitOrigin-RevId: d6373fe57de2f50600a0b380edf5d975225c2350
2024-08-13 17:24:47 +00:00
Lev Serebryakov
8ab3531904 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Kotlin community plugin.

GitOrigin-RevId: 41250f61892e595e8d663fc01b6675cdca42d10b
2024-08-13 17:24:47 +00:00
Lev Serebryakov
5f90cbabfe IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Gradle community plugin.

GitOrigin-RevId: 48878f33ae568b014706d27c18a951ff7701cd61
2024-08-13 17:24:47 +00:00
Lev Serebryakov
d20363143b IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Coverage community plugin.

GitOrigin-RevId: b2a906d2be3a6c4cd5d05118db7182f48b5c9107
2024-08-13 17:24:47 +00:00
Lev Serebryakov
904d7afa08 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Python.

GitOrigin-RevId: 77d2ac62396eeab54d4a10830e930ea4f83566f8
2024-08-13 17:24:47 +00:00
Lev Serebryakov
d2df6d77ca IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Whats New.

GitOrigin-RevId: 9c70a228cdf3d61d7465b8a552aa74ab1c0419db
2024-08-13 17:24:47 +00:00
Lev Serebryakov
550bce8bb2 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Execution manager.

GitOrigin-RevId: cc395e2e621ffe73d2c36bd91b8c5f84368b45cd
2024-08-13 17:24:47 +00:00
Lev Serebryakov
df7dbf79f4 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Java support.

GitOrigin-RevId: ee00abe855c80245102334b3f32ea49415b885ea
2024-08-13 17:24:47 +00:00
Lev Serebryakov
7b7a1769e0 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in notebooks.

GitOrigin-RevId: fcfeaec82a755780c3911edba7af337cad3aadf4
2024-08-13 17:24:47 +00:00
Lev Serebryakov
6a55365287 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in external systems.

GitOrigin-RevId: 63807dc46753df07ef1c3f2d034a9260d7389018
2024-08-13 17:24:47 +00:00
Lev Serebryakov
0157adac01 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in lang impl.

GitOrigin-RevId: 136c5d788e351409ed317f3081b356ff10e4ddee
2024-08-13 17:24:47 +00:00
Lev Serebryakov
290402323f IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in usage view.

GitOrigin-RevId: 66aa9988fb33b69574d973cff2c8fd1edab44098
2024-08-13 17:24:47 +00:00
Lev Serebryakov
63637a3137 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in VCS and diff.

GitOrigin-RevId: 70bdb6eb840c478ac115bcde380ee230c83077ed
2024-08-13 17:24:47 +00:00
Lev Serebryakov
bbed1a0796 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in xdebugger.

GitOrigin-RevId: d7bf8a0cfc06b1c1717105522b0514cc9fbbaa0e
2024-08-13 17:24:47 +00:00
Lev Serebryakov
a3a84b0b03 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in codeInsight.

GitOrigin-RevId: b1f6aacd3ddcf9e1bf8014b0a1f7532979b8329d
2024-08-13 17:24:46 +00:00
Lev Serebryakov
64913b449a IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in platform tests.

GitOrigin-RevId: 95ca5f83e9768b1e304be99c7f71ab351e09f286
2024-08-13 17:24:46 +00:00
Lev Serebryakov
3d531df5bb IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in config store.

GitOrigin-RevId: 5834d98abf946c8ec1c7c44bd0dafc23424b61ea
2024-08-13 17:24:46 +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
Lev Serebryakov
f8542025fa IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
1. Add a flag to disable write intent lock for coroutines and misc actions. Disable by default.
2. Use this flag.
3. Add an explicit wrapper for write intent lock.

GitOrigin-RevId: 7e8ca603b4e4d7d9d10bce3baeaacf0fa37fad62
2024-08-13 17:24:46 +00:00
Alexey Kudravtsev
4852703ee9 avoid storing PSI elements in the intention action (part of KTIJ-28671 K2: CreateClassFromUsageFix)
GitOrigin-RevId: 5071a9fdafe65381ea61452afdc0ca1358fcb95e
2024-08-13 17:07:01 +00:00
Aleksandr Sorotskii
52153dceef cleanup unnecessary extention method. rename dialogs.kt
(cherry picked from commit 02f72609d3d820987f504e91c945b792cf5f1e81)

IJ-MR-142479

GitOrigin-RevId: 91ced76c4fa9022f752284fe130289e9f98a0ac8
2024-08-13 17:02:29 +00:00
Denis Zaichenko
bcc021e666 IJPL-158595 Disable RCIIS when there are some unresolved references on one of the sedis of the conflict.
IJ-MR-142128

GitOrigin-RevId: f01122c2c90f4db6c23f5f8c6e81f6e9aee2b29b
2024-08-13 17:00:27 +00:00
Lev Zagnetin
54fba9e12a [driver][ui-tests] AT-1101: Add test for View Modes on Mac
GitOrigin-RevId: f1b4c85ff3a8b2bde9f00837fc5040b96ea6e92c
2024-08-13 16:55:31 +00:00
Patronus
0537aa3f0d Merge refs/patronus/safepush/9e4cabe58133490d99e649748833a5e5 into master
GitOrigin-RevId: fe7fc6d9683712bd69b99fd26a0491b96c9c154d
2024-08-13 16:42:46 +00:00
Aleksandr.Govenko
fee28fef93 KTIJ-30925 [ssr] Change API dump
GitOrigin-RevId: d0b2db42a89710257bd79dd22f6ad4e1c5ce20c6
2024-08-13 16:24:08 +00:00
Aleksandr.Govenko
1ea6bb957b KTIJ-30925 [ssr] Add typed parameter replacement handling for SSR in Kotlin
Analogously to Java SSR override `handleSubstitution` method to form correct replacement of typed parameters. Added regression test.

GitOrigin-RevId: 8401f6f82d14d886c0fd60e20c0ce989387f24ab
2024-08-13 16:24:08 +00:00
Aleksandr.Govenko
86e037e396 KTIJ-30925 [ssr] Refactor typed variable handling in ReplacementBuilder
Moved typed variable utility methods from MatchUtil and Replacer to StructuralSearchProfile

GitOrigin-RevId: 0a80d063ea663bb708de118a6db0b6268b3b6147
2024-08-13 16:24:08 +00:00
Alexey Kudravtsev
167e5654a6 fix PsiInvalidElementAccessException: NULL_PSI_ELEMENT ;NULL_PSI_ELEMENT
GitOrigin-RevId: 783166f4ede7129a906a2e56c8c3aa5b74025c93
2024-08-13 16:23:10 +00:00
Alexey Utkin
e147499bcc fix an exception in save-on-close
GitOrigin-RevId: 4ac8ea80385e87bae35b1956aecda02ee3c8b5cc
2024-08-13 16:19:49 +00:00
Artem.Grigorash
fa5b4f7f49 [ui-tests][clion] CPP-39615 Implemented all four debug test, fixed review comments
GitOrigin-RevId: c5eda04590bbd393c23e7966f2c40bc5aed41a3d
2024-08-13 16:14:50 +00:00
Artem.Grigorash
142176a889 [ui-tests][clion] CPP-39615 First part of implementation
Added stop button, implemented the first steps of DebugTest

GitOrigin-RevId: 36b4138f706d9c8a5a8b93c193586dbd8858ed96
2024-08-13 16:14:50 +00:00
vladislav.shishov
dbe64585e1 [remote-driver] add BuiltInHttpClientPermanentRedirectUiTest
GitOrigin-RevId: 4e2b5166ddb83eb8424298abdfb45d076f529e8b
2024-08-13 16:07:22 +00:00
Bart van Helvert
d1501865f0 [kotlin] Change asserts to assertEquals
For better error messages on failing tests

GitOrigin-RevId: 324a2a08d593c7caf1797b244f53a667a0c90a41
2024-08-13 15:51:25 +00:00
Bart van Helvert
f8746ce324 [kotlin] Correctly show package in move file dialog for non-file elements
#KTIJ-30970 Fixed

GitOrigin-RevId: 759ad508fadf2619c20170643b32b25d663529dc
2024-08-13 15:51:25 +00:00
Alexey Kudravtsev
b7e62ca44a fix incorrect assertions, cleanup
GitOrigin-RevId: a24d7f7b859c58c4932519d69d6ec04e294aa630
2024-08-13 15:05:29 +00:00
Alexey Kudravtsev
1a6a0ee627 cleanup
GitOrigin-RevId: 740ad47daa4cc012c9c79960f8726a5aa8db2b07
2024-08-13 15:05:28 +00:00
Alexey Kudravtsev
669c8df167 highlighting: more logging in case of heavy processing running
GitOrigin-RevId: b688ff690eb905572bc5ae71958f220633061ea3
2024-08-13 15:05:28 +00:00
Natalia.Murycheva
b2b55f74cd [PyCharm Tables] PY-65513 added float formatting for polars tables
GitOrigin-RevId: 9c868a5cf796b66860c2963d3a2e7036e4b65a59
2024-08-13 14:32:08 +00:00
Natalia.Murycheva
fcec56d275 [PyCharm Tables] PY-65513 fixed NPE for format
GitOrigin-RevId: dc1f96177d8c230bb90474bbe818a9d75a3558fc
2024-08-13 14:32:03 +00:00
Sergei Tachenov
5f90b664f8 IJPL-160144 Fix FileEditorManagerImpl.getLastFocusedSplitters
There's an old issue with the editor getting focused immediately
after the IDE window becomes active. But if the window became
active because of a click on some other focusable component,
that component almost immediately gets focus, and the editor
loses it. Unfortunately, this short focus gain is enough to overwrite
EditorsSplitters.getLastFocusGainedTime, which in turn makes
FileEditorManagerImpl.getLastFocusedSplitters and alike return
the wrong editor as the last focused one. From the user perspective
this short focus gain is the same as no focus gain at all.

The existing workaround with invokeLater didn't work
because by the time the window is activated, the rest of the focus
events often aren't even queued yet. Even the click itself
often doesn't arrive into the event queue by that time.
There's absolutely no way to tell whether the window activation
is caused by a click or, say, Alt+Tab.

The only more or less reliable way to fix it is to undo the focus time
update after it becomes clear that it wasn't a real focus gain.
However, it's tricky as well, as even when the mouse click arrives,
there's no indication whether the window activation was caused by it.
To guess it, we keep track of the last mouse coordinates when
the window was inactive and then compare with the click coordinates.
If they match, it's highly likely that the window was activated by
that click. The only other possibility is that the user alt+tabbed first
and then clicked without even moving the mouse by a single pixel.
It's quite unlikely, and we're willing to accept that in that case
the wrong editor will be considered active until the mouse is moved.

To undo the focus gain, we track focus requests in the editor,
and when focus changes, we check a lot of stuff. If the newly focused
component belongs to the same window, if that window was just
activated with a click, and if that component is not the editor
itself, then we undo the focus gained timestamp update.

And to ensure this undo has already happened by the time
we start selecting the opened file from the Project View,
we wrap that selectOpenedFileUsingLastFocusedEditor() call
into invokeLater. Since it's called on mouse release,
the relevant focus requests should be already in the queue,
and invokeLater guarantees that they'll be processed
by the time the selection starts executing.

GitOrigin-RevId: ab8769186f755089cf70cdcfccc7fa329862bd76
2024-08-13 14:25:30 +00:00
Sergei Tachenov
a1d0b5e905 IJPL-159968 Save and log systemScaleFactor first access stack trace
When we get a "Must be not computed before that call" error,
it's very hard to reason about the cause. It can be computed
almost anywhere, in any code that calls JBUIScale.systemScaleFactor,
often indirectly, by accident.

Save the stack trace the first time systemScaleFactor and later
attach it as the cause to the exception that's logged when
one of the preload() functions is called.

GitOrigin-RevId: 02eadede9353d2c6b862590881a9d8aafe11e541
2024-08-13 14:25:30 +00:00
Ruslan Cheremin
126c33c51c [indexes] IJP-1365: larger cache for Id & TrigramIndex
+ IdIndex & TrigramIndex are the largest indexes -> increase cache size 64x for them

GitOrigin-RevId: 48dbd0915dd07f5a9c20da05bd08bafe5c927102
2024-08-13 14:22:35 +00:00
Ruslan Cheremin
df59e37c6d [indexes] minor improvements in IdIndexEntryMapExternalizer
GitOrigin-RevId: dc222163aaf5ab691eceb6683719439129e837fd
2024-08-13 14:22:35 +00:00
Jinseong Jeon
2b777fc683 K2 UAST: do not store type arg mapping with type param symbol and type
...since they can be stored in one KaSession and used in another.

GitOrigin-RevId: 377c229f6f8c44bf28b1843dd585b90e8d739945
2024-08-13 14:22:02 +00:00
Maksim Zuev
35daf91fd6 [debugger] IDEA-356958 Update tooltip message
GitOrigin-RevId: b655cebc17f024b2c514fcb94b28b433df850339
2024-08-13 14:12:10 +00:00
Maksim Zuev
ef8d65ead0 [debugger] IDEA-356958 Show success status in the hotswap toolbar
GitOrigin-RevId: c3bf564b0fa8acd9020bb2e7f3c0ce7119ee7325
2024-08-13 14:12:10 +00:00
Maksim Zuev
67db71be41 [debugger] IDEA-356958 Refactor: do not store session in the action
GitOrigin-RevId: 7b9dba93f107a89de8f6c0ce5555c63ca99a9142
2024-08-13 14:12:10 +00:00
Maksim Zuev
dfcb0b943c [debugger] IDEA-356958 Add setting to disable the floating toolbar
GitOrigin-RevId: d7e4a360b1a59fc040e8e0c0d51b0dacde6f5d86
2024-08-13 14:12:10 +00:00