Commit Graph
396068 Commits
Author SHA1 Message Date
Mikhail Pyltsin 7dc38ce3d3 IJ-CR-101653 [intention-preview] SameErasureButDifferentMethodsFix. Added tests for preview
GitOrigin-RevId: 0e5dff40ab0e25033b6ca454e8737e46f18c1767
2023-02-03 00:32:39 +00:00
Mikhail Pyltsin 6678de5817 Revert "IJ-CR-102037 [java-inspections] IDEA-311705. Support type inference changes in Java 20 for foreach"
This reverts commit ea173dc1bc9794b1acb6fcc97b3539bbd87319cd.

GitOrigin-RevId: 6a0ecd9623a9cf1209b93e115e527a3579ea096d
2023-02-03 00:32:36 +00:00
Mikhail Pyltsin 026f64952a Revert "IJ-CR-102037 [java-inspections] IDEA-311705. Support type inference changes in Java 20 for foreach"
This reverts commit 6851fe36806ce5b26b729d1aa3a0bf7eec19c76c.

GitOrigin-RevId: 1204ac08b61235469f75bf3eea65bd59cb43788a
2023-02-03 00:32:33 +00:00
Mikhail Pyltsin cb01ed8c62 Revert "IJ-CR-102037 [java-inspections] IDEA-311705. Add uncapture top level wildcard for records"
This reverts commit b9454add238bcbee31dbbe8965f41e6496cdddd8.

GitOrigin-RevId: 12ab120168763ad3c3e0b18284b40716af408553
2023-02-03 00:32:30 +00:00
Mikhail Pyltsin 838311cfdb [jvm-inspections] IDEA-310343 Patterns as arguments for logging. Fix names
GitOrigin-RevId: 694653eaad58d932594427354999edd297a6713a
2023-02-03 00:32:27 +00:00
Daniil Ovchinnikov cb42438bcd IJPL-97 move IDE API to proper package
GitOrigin-RevId: 8b255f12f1ed1beb6d8ee5f790796c5b064cc3d9
2023-02-03 00:02:02 +00:00
Daniil Ovchinnikov 47443f2403 IJPL-97 move backend impl to proper package
GitOrigin-RevId: 6afe401f952e804b83262ee849c00b98f6ebb17b
2023-02-03 00:01:58 +00:00
Daniil Ovchinnikov 106949ae9e IJPL-97 move backend API to proper package
GitOrigin-RevId: 7394916796c579eefac5287078ec948b2676fc15
2023-02-03 00:01:54 +00:00
Dmitriy Smirnov 9f7188cbc6 [github] Share to private repo by default IDEA-311976
Keeping code private is a safer default.

GitOrigin-RevId: c6dc4fa191b5c9f081dbe4543553d41299eef774
2023-02-02 23:54:42 +00:00
Nikolay Chashnikov 1a970b57ed [platform] print error to the log if old RootIndex class is instantiated (IDEA-276394)
It's still needed to build OrderEntryGraph (IDEA-307389), but in other cases it may be instantiated only if some code uses internal DirectoryIndex class directly.

GitOrigin-RevId: 53f0ece11f5ccb5b947b16a9ffa189540c9e02ac
2023-02-02 23:37:42 +00:00
Nikolay Chashnikov 07d81968b1 [platform] get rid of usages of DirectoryInfo class in getOrderEntriesForFile calls (IDEA-276394)
GitOrigin-RevId: 0e5f7ea8c30de1cb4027081923c7fe92a19e907a
2023-02-02 23:37:40 +00:00
Nikolay Chashnikov 7ee043d83c [platform] remove obsolete internal action Dump Directory Info
This is needed to get rid of the obsolete DirectoryIndex class (IDEA-276394).

GitOrigin-RevId: 0bbe39af5896869a4cbf75162d25c1c6d41f0b95
2023-02-02 23:37:39 +00:00
Nikolay Chashnikov 0d36350bbd [platform tests] refactoring: remove DirectoryIndexTestCase
This is needed to get rid of the obsolete DirectoryIndex class (IDEA-276394).

GitOrigin-RevId: 96e32af644611015999cfe2ad22c4ccb755136f5
2023-02-02 23:37:38 +00:00
Nikolay Chashnikov 5fe1004244 [platform tests] remove DirectoryIndexTest
This is needed to get rid of the obsolete DirectoryIndex class (IDEA-276394). Tests which check cases not covered by other tests were reimplemented in other test classes.

GitOrigin-RevId: 6252a110b7208914d193ea693bdf40773dd0c8d1
2023-02-02 23:37:36 +00:00
Nikolay Chashnikov 265c8faa2c [java tests] add OrderEntryGraphTest to test ProjectFileIndex.getOrderEntriesForFile
...and remove tests from DirectoryIndexTest which become obsolete. This is needed to get rid of the obsolete DirectoryIndex class (IDEA-276394). Also, new tests cover many cases which weren't tested before.

GitOrigin-RevId: 12c6285b730c41fb92836d91103dc04ee5989873
2023-02-02 23:37:35 +00:00
Nikolay Chashnikov 93cea9c0bd [workspace model] implement toString for OrderEntry to simplify debugging
...and get more detailed error messages if a test fails.

GitOrigin-RevId: aeb44c142ac73cf21f94f8cedb39521160fbc946
2023-02-02 23:37:33 +00:00
Nikolay Chashnikov f7e5c2480d [java tests] rewrite DirectoryIndexBeneathTest
Convert to Kotlin and JUnit5, get rid of usages of DirectoryIndex (IDEA-276394).

GitOrigin-RevId: 59048b907dfe1bd14df84a77ac5442b447d328bd
2023-02-02 23:37:32 +00:00
Nikolay Chashnikov ca3df992e4 Rename .java to .kt
GitOrigin-RevId: 15ad0941e9989c2bcc6db7770677d8e6a50ef8a1
2023-02-02 23:37:30 +00:00
Nikolay Chashnikov 6349cf6425 [java tests] rewrite DirectoryIndexForExcludePatternsTest
Convert to Kotlin and JUnit5, get rid of usages of DirectoryIndex (IDEA-276394).

GitOrigin-RevId: 136b3a4447057b011b2e6e7b1ec6a805b3835f9e
2023-02-02 23:37:29 +00:00
Nikolay Chashnikov fa32b32a09 Rename .java to .kt
GitOrigin-RevId: 0abf8e6d8f457396a7af0d8ef9e88a0700ad07f7
2023-02-02 23:37:28 +00:00
Nikolay Chashnikov da690a84d7 [java tests] rewrite OutputDirectoriesInProjectFileIndexTest
Convert to Kotlin and JUnit5, get rid of usages of DirectoryIndex (IDEA-276394).

GitOrigin-RevId: 744a213b35384c1d88a3d84946e11e227091950a
2023-02-02 23:37:26 +00:00
Nikolay Chashnikov 37238488c5 Rename .java to .kt
GitOrigin-RevId: 7b51a9ccd8abea51740a4cd7d58fd3bb1eb39e91
2023-02-02 23:37:25 +00:00
Nikolay Chashnikov fd5aecd4ab [java code] cleanup: simplify code
GitOrigin-RevId: dfe4ef4d780cc4755a33b85877a2ebcc0e554549
2023-02-02 23:37:23 +00:00
Nikolay Chashnikov 7f831b44e3 [project file index] cleanup: get rid of usages of package-related method in DirectoryIndex (IDEA-276394)
GitOrigin-RevId: 13402f53a0e842eae3b156f39881431b3c99dd96
2023-02-02 23:37:22 +00:00
Nikolay Chashnikov 175e3373f9 [python] get rid of usage of DirectoryIndex class (IDEA-276394)
This class is going to be deprecated.

GitOrigin-RevId: 22c6e53b26ff795bf4834116afcbc7a049fb90ef
2023-02-02 23:37:21 +00:00
Nikolay Chashnikov 1bdc070fa5 [workspace model] add javadoc to VirtualFileUrl
GitOrigin-RevId: 81e2d0b7ebb9db016c33b1107062234904748f33
2023-02-02 23:37:19 +00:00
Alexey Merkulov a4260b4968 Introduce DecorativeElement to support some UI decorative elements in toolbars and menus
GitOrigin-RevId: a61719082e26ed0b254ec4c61b9dd5cb928d4119
2023-02-02 23:36:54 +00:00
Alexandr Evstigneev 40dcdc51e8 IDEA-311645 Replaced ArrayDeque with LinkedLIst
Despite ArrayDeque claims to work faster than LinkedList, it consumes memory even when it's empty. Especially when we have a lot of Nodes expanded.
This change should not noticeably reduce performance, but should reduce a memory footprint.

GitOrigin-RevId: 252eb18dc96466eaa9fb34bb7f655f1a42a449cd
2023-02-02 22:43:56 +00:00
Alexandr Evstigneev 01ceb4ebbb IDEA-311645 Inspection suggestion
GitOrigin-RevId: 00de79cc7a235a17737a5af5ae9a6a27b12c5942
2023-02-02 22:43:52 +00:00
Alexandr Evstigneev 1a46db7c1d IDEA-311645 Interned strings in the PathElement
GitOrigin-RevId: 4bc245050c9d32a1363fc1e3bc99b2da646aeabb
2023-02-02 22:43:49 +00:00
Alexandr Evstigneev d3c305e2a9 IDEA-311645 Got rid of userStr field
GitOrigin-RevId: 05c823d90b0827cb87c8846fd1e4729614698b2b
2023-02-02 22:43:45 +00:00
Dmitry Zhuravlev a5d1f7e704 vcs: extract common branch sync policy update logic
GitOrigin-RevId: 16b3e9da6a8d71951e58123f2b1695096e34a635
2023-02-02 21:19:13 +00:00
Dmitry Zhuravlev e422065eb9 git: allow empty branches tree popup for a single repo case with filter
Follow-up: c2eb4689bd8f34910e75220289944d57821a9ad1

GitOrigin-RevId: 4c4a1fb8bd872065909815e359a07172826a5ba1
2023-02-02 21:19:09 +00:00
Roman Shevchenko ff4f15cd19 [platform] clearing the PS module path when executing Defender configuration commands (IDEA-311130)
GitOrigin-RevId: f9de563ef599752931676e67131af5c03ee02d44
2023-02-02 21:18:20 +00:00
Pavel Porvatov 6aac8bf7ae [Kotlin UI DSL] Restored some API because of incompatibility
GitOrigin-RevId: 58457c8bb040441dd316e85b7d73d27f10b157a9
2023-02-02 21:16:05 +00:00
Pavel Porvatov 32e75f6e95 Fixed investigation Hardcoded strings
GitOrigin-RevId: 021329747a07f1e5d4d2acef1e7b5a86d8d2f439
2023-02-02 21:16:02 +00:00
Pavel Porvatov a644da8b92 Fixed exception Invalid html: tag <html> inserted automatically and shouldn't be used, text: <html>I agree to ...
Stacktrace:
    at com.intellij.ui.dsl.builder.components.DslLabel.setText(DslLabel.kt:122)
    at com.intellij.diagnostic.PrivacyNotice$privacyPolicy$2.set(PrivacyNotice.kt:21)
    at com.intellij.diagnostic.PrivacyNotice.setPrivacyPolicy(PrivacyNotice.kt:21)

GitOrigin-RevId: ebb44f6abb6234ca8ec9cb77ef05a29ee6252574
2023-02-02 21:15:59 +00:00
Alexander Lobas 7d26d08728 IDEA-290850 macOS project tabs: adjust tabs position and enable in new UI
GitOrigin-RevId: e7ee79c4e610dda50fb7cb97fdca3fd092e0184c
2023-02-02 20:21:59 +00:00
Roman Shevchenko be01e4fba0 [platform] avoiding PS profile loading when executing Defender configuration commands (IDEA-311788)
GitOrigin-RevId: 56d424a179500d2ba034556a3e0eee2f2366e645
2023-02-02 18:43:01 +00:00
Yuriy Artamonov 6a7da5b4d2 [plugin-advertiser] Replace deprecated runBlockingUnderModalProgress in CheckSuggestedPluginsAction
GitOrigin-RevId: d2eba982c657c1037e80d148efe7ca5fa3d7c22d
2023-02-02 18:40:56 +00:00
Ivan Semenov fd04edf693 [github] extract share project functionality to a separate object
GitOrigin-RevId: 02c01a5e93959efaf8d16947cdd0ecd613d5f317
2023-02-02 18:21:08 +00:00
Dmitry Zhuravlev c49c654267 git: sort repositories in branches tree popup
GitOrigin-RevId: a7c6919cbe93132c531d32328f3c14caa65f3792
2023-02-02 17:25:59 +00:00
Dmitry Zhuravlev dcef9d4eeb git: support particular selected repository in a multi-root project in branches tree popup (IDEA-311758)
GitOrigin-RevId: 7d62b45f3fe53fd03475900cf121a26ea059648a
2023-02-02 17:25:56 +00:00
Dmitry Avdeev 09fe20b21c fix navigation via gutter icons
GitOrigin-RevId: 512a20c9f8fd10683ae6258bc8c8437e8a7fd3bd
2023-02-02 15:00:56 +00:00
Andrei.Kuznetsov 81a8fc4366 IDEA-312152: Exceptions happening during scanning should not interrupt scanning. They should be logged and ignored.
GitOrigin-RevId: a56956aae8e42a7c76cdf2297811608a8494a446
2023-02-02 13:53:32 +00:00
Andrei Klunnyi 8ad07df317 [kotlin] EA-789124: AlreadyDisposedException
This commit fixes exception reported as
https://ea.jetbrains.com/browser/ea_problems/789124

GitOrigin-RevId: 58efa9b0e3da57e0e393cf2eba62eafc0becaaba
2023-02-02 13:50:47 +00:00
Vladimir Krivosheev 222e076e86 restore mac/text.png
GitOrigin-RevId: c15b813dd4842cc8a976470929b6aa3de02bcde5
2023-02-02 13:28:00 +00:00
Vladimir Krivosheev eaa105d145 cleanup
GitOrigin-RevId: d48147477ca58d5d6019c9093a56199e9bde0136
2023-02-02 13:11:17 +00:00
Vladimir Krivosheev 2593954299 remove old icons - if some still use it, shim can be added to IconManager
GitOrigin-RevId: 9c65dde7d1f50eb89a9c7dc0930a59e93fdd8afb
2023-02-02 13:11:16 +00:00
Vladimir Krivosheev e5c177039c remove handling of Comment and ProcessingInstruction
GitOrigin-RevId: b6221e045fcfd793d1bd5971006155f35f6221dc
2023-02-02 13:11:15 +00:00