This realigns the menu appearance with the Swing ones, as it had drifted
apart since being implemented.
closes https://github.com/JetBrains/intellij-community/pull/2933
(cherry picked from commit 28eb215e1fa8cf3d462acb399a1ed5beb8f1dcb2)
(cherry picked from commit 93148b5450d76267de353f2903cccfdb78176f3c)
IJ-MR-155570
GitOrigin-RevId: 4e565faac9fd37fde68dd1b467bcacbe43ba23bb
We had a bug in Link where, when it was enabled, it would essentially
ignore the passed in Modifier. The fix is simple, but the issue was
tricky to spot, as it's quite subtle!
This also:
* Adds a test to avoid regressions
* Restores the ui-tests module, which was removed from the Gradle build
by mistake (probably during a rebase/merge)
* Restores the git hook setup on non-Windows OSes (it is only broken on
Windows) and proposes a solution for Windows for Kuba to test
(cherry picked from commit 4253a1f4d1effaaa54222490bc6321e87be8d7da)
(cherry picked from commit 5a267be50ffd4eabb18c8fa3c794e49222f703c5)
IJ-MR-155570
GitOrigin-RevId: 1abe870f00e7df1e44116f2feee4b6e0221d3509
This includes a bunch of changes to the Markdown inline APIs to better align with CommonMark and our actual needs; a clean-up of the previous half-hearted attempt at supporting custom inline nodes (it did not and could never have worked in the way it was implemented), and some misc tweaks and cleanup.
closes https://github.com/JetBrains/intellij-community/pull/2915
(cherry picked from commit 70ef3e792dc4f64fd4d2afc6aa02f8c190203443)
(cherry picked from commit 606d5a2004d373e961229af09b367f0ccf2ceae4)
IJ-MR-155570
GitOrigin-RevId: 793138291f4f0c131949c08d0bfa037f843335d3
We were mistakenly extending CommonMark's CustomBlock
instead of implementing Jewel's CustomBlock in TableHeader,
TableRow, and TableCell.
Also includes a few fixes to make the CI happy
closes https://github.com/JetBrains/intellij-community/pull/2941
(cherry picked from commit 4ef24831f99c88a1bd68a9a1eefce161bd20ae90)
(cherry picked from commit a68eb41a1dad92a025f1936e1f26d12fdca30692)
IJ-MR-155570
GitOrigin-RevId: 1703dab764f6740bb0a781edf53cc4ad698332a4
Enables Kotlin's Explicit API mode for the Jewel JPS builds
(excluding the samples and the ui-test modules), to align
with the settings in the Gradle build.
closes https://github.com/JetBrains/intellij-community/pull/2926
(cherry picked from commit e61a16c1e90e8ed1958d0b5b474383098c0127cb)
(cherry picked from commit 88d9c89f5a1b4fe6a244ddccc991969be976d068)
IJ-MR-155570
GitOrigin-RevId: 3976e54cd7413426347b6480f7ba6d4c080c7e62
The EAP we were targeting no longer seems to exist
closes https://github.com/JetBrains/intellij-community/pull/2936
(cherry picked from commit a3dfcbea418fe0e64be13b9d5fd088f0f8f7fad0)
(cherry picked from commit 3c1a480e91af23bd47efe071d92a90487914cd47)
IJ-MR-155570
GitOrigin-RevId: 5f386ae609fa89dbfb9c5f8d4c88c6662b4e7feb
This allows users to specify where the popup should show. The default behaviour remains unvaried.
closes https://github.com/JetBrains/intellij-community/pull/2929
(cherry picked from commit 51d06e723b7c16901a41d954218ed61d17c9c9e8)
(cherry picked from commit 1cc11ad0e4f7a3f2ed5dcb96d086c1da6b8badb9)
IJ-MR-155570
GitOrigin-RevId: af0c57c489c7aa3ddab8750761d0ef1753c89687
This allows opening the Jewel Gradle sub-project in the IDE and
still being able to use the VCS integration. Without this, the
Jewel sub-project has no VCS enabled in the IDE.
closes https://github.com/JetBrains/intellij-community/pull/2925
(cherry picked from commit f61852955272b5f45435cae67523333012f4fa40)
(cherry picked from commit c76652ad927f8402d757bc2259e49cf5ee7c439d)
IJ-MR-155570
GitOrigin-RevId: 24f4cb263420bebacddaeccf6d7785cc09d7888a
This helps with places like the incoming SimpleTableLayout that need it
in `foundation`, but don't have access to it because it's in `ui`.
It also makes semantic sense, since the other, similar, modifiers we
created all live in foundation; thenIf has no "ui" specificity to it.
This also marks the "old" modifier as scheduled for removal in 252.
closes https://github.com/JetBrains/intellij-community/pull/2923
(cherry picked from commit e13efd3a5d33a65d88add97727be9b4f2c59a042)
(cherry picked from commit 8b36ee40225829592a5c911469f7739e836c817b)
IJ-MR-155570
GitOrigin-RevId: 3d089e6acab0cd6aef11496debfc881e1307520a
Missing .key caused the index check to always be -1, resulting in lastActiveItemIndex being set to -1 after Ctrl + left mouse click selecting an item. This led to an array out-of-bounds error in the onExtendSelectionToKey method when using Shift to select items.
- Corrected the logic in toggleKeySelection to properly compare keys.
- Changed `selectableLazyListState.lastActiveItemIndex = allKeys.indexOfFirst { it == key }`
to `selectableLazyListState.lastActiveItemIndex = allKeys.indexOfFirst { it.key == key }`.
closes https://github.com/JetBrains/intellij-community/pull/2900
(cherry picked from commit 54992abe8c1a27133d89e6bc48dca7e1697554d1)
(cherry picked from commit 610806d90dc4902d0c01b62d5ffe4f161050393b)
IJ-MR-155570
GitOrigin-RevId: cf3000beeecf62d6c8441e8d4163c980724eec97
The Javadoc for the class was malformed; I took the opportunity to rewrite it.
(cherry picked from commit 8997ee70d7f5124f0a922ed451cf744ad68b487a)
(cherry picked from commit 569461707bd7280432d58e381b8a502b488ce069)
IJ-MR-155570
GitOrigin-RevId: 78aafb7a7f8da039f609b7e60ff34ea2cf1642a9
Keep the original component hierarchy.
(cherry picked from commit 8746d61bef8c62a1a41e27631c574ade59608ed7)
IJ-CR-157279
GitOrigin-RevId: 5466789040175232ac60e928bf85cc011d1c133b
It went missing due to the hardcoded `LookupBottomLayout` layout. Its wrapper size was not updated.
(cherry picked from commit 3cb66e335c3de50c5b310de87a314b6f5cf4c400)
IJ-CR-157279
GitOrigin-RevId: d099d412ba2455f995fdd2e2a6c2f7f06e6a6362
#IJPL-176927 Fixed
Turns out: we all make boolean logic errors every once in a while, no exceptions.
follow-up: f449ea4351689c3dac3b0ea23327addc30e25c1e
(cherry picked from commit 9ab72e969a704fa346e76c69d14cfba068bde0ee)
GitOrigin-RevId: 9088f5bdac7aa091d4abe89ae480c9fe7a526739