Commit Graph

4508 Commits

Author SHA1 Message Date
Nikolay Chashnikov
cd627067a5 Extract Module From Package Action
[extract module action] fixes

- remove illegal usage of junit5
- extract duplicated code
- specify the return type of getActionUpdateThread
- fix properties' naming
- fix the dialog message

[extract module action] Replace AbstractDependencyVisitor with JvmBytecodeAnalysis; bazel; unignore test

[extract module action] Extract Module From Package Action

- Use classfiles instead of psi
- Tests
- Coroutines


Co-authored-by: Kirill Bochkarev <kirill.bochkarev@jetbrains.com>

Merge-request: IJ-MR-163922
Merged-by: Kirill Bochkarev <kirill.bochkarev@jetbrains.com>

GitOrigin-RevId: 03cf1754a17d5a9e819ea8cfe812ca2e0a1855e0
2025-05-24 00:43:00 +00:00
Vladimir Lagunov
3fcec7e44c IJPL-172897 Rename EelDescriptor.{upgrade,toEelApi}
According to feedback, the name `upgrade` confuses people.

We refused `getEelApi` because this call usually implies a getter, and a getter usually implies some lightweight operation.

We refused `make`, `convert`, `get` and other short methods because they're as confusing as `upgrade`.

GitOrigin-RevId: 56adf5362f93bc4f98954db79c039e5e898b4550
2025-05-20 16:27:30 +00:00
Louis Vignier
e04927815c [java] Remove LTS section from LanguageLevelCombo
#IDEA-369939 Fixed

GitOrigin-RevId: c0c7ba000857532971591b4a3fa0ffd6ebf09b8c
2025-05-19 16:21:45 +00:00
Vladimir Krivosheev
5c7824a820 ui designer compilation - part1 - allow .form as input
GitOrigin-RevId: 5ab44530cdafe63de7f0595fe9c6ba80ab9da174
2025-05-17 19:35:32 +00:00
alexey.afanasiev
ed924229d8 [qodana] IJ-CR-162157 QD-11615 Use launchTracked instead of Deffered for keeping ActivityKey active without gaps
GitOrigin-RevId: 754f43917a414845c39eb4c9238d58d5cc3a206e
2025-05-16 12:49:41 +00:00
alexey.afanasiev
cdc5334305 [qodana] IJ-CR-162157 QD-11615 Move waiting for download in a separate coroutine
GitOrigin-RevId: 3075bb9893ba7003e13135534d630cc5573eebca
2025-05-16 12:49:41 +00:00
alexey.afanasiev
1b19cd56aa [qodana] IJ-CR-162157 QD-11615 Do not run sync loading in parallel
GitOrigin-RevId: 0652d587e8f95e6040add32dc4a54ee6f66fc583
2025-05-16 12:49:41 +00:00
alexey.afanasiev
4a08701733 [qodana] QD-11615 Refactoring. Extract duplicated code, move project structure checker to java dependent module.
GitOrigin-RevId: 824836735727db1451a0b5173aed7254076b8d57
2025-05-16 12:49:41 +00:00
alexey.afanasiev
ee76e7bab9 [qodana] QD-11615 Subscribe to workspace library changes and track activity. Track workspace sync as project activity.
GitOrigin-RevId: a8df7bb0ba4415b82bbe3d3d5be3e5c362c90db2
2025-05-16 12:49:41 +00:00
Alexey Kudravtsev
6d1f55f160 cleanup: rename file to psiFile to distinguish from VirtualFile
GitOrigin-RevId: e718eac8ba2d2177787ae941d8525b3c154d10fc
2025-05-16 02:54:06 +00:00
Ilia Kirianovskii
5686cf1893 [bazel] Update build files
GitOrigin-RevId: 8038dfd0c3f32ea766ea4a73673186c44960f996
2025-05-15 12:18:11 +00:00
Vladimir Krivosheev
b660081493 IJ-MR-162467 don't export intellij.platform.workspace.storage
GitOrigin-RevId: 65ff26dfef46b205eb68dc2f2e60eab4720c87c8
2025-05-15 09:18:18 +00:00
Vladimir Krivosheev
fbc9805e89 IJ-MR-162467 don't export intellij.platform.jps.model
GitOrigin-RevId: ebaebc90d514e5f3046fe2b973647da4bf156625
2025-05-14 18:10:23 +00:00
Ilia Kirianovskii
52f750ba50 [bazel] Update build files
GitOrigin-RevId: e8e0c0fe71f08c7a2e908b1421735f1861a05697
2025-05-14 17:41:42 +00:00
Vladimir Krivosheev
6fa704d95d IJI-2602 fix super-class visibility
GitOrigin-RevId: 6ba76539d1e6b5e50227ce3d8cd1452f5f284e48
2025-05-14 10:39:04 +00:00
Shumaf Lovpache
89c91abbb6 [platform] update ktor to ktor, introduce kotlinx.io product module
- Fix git client build
- Update deps for artifacts
- Remove jetbrains.kotlinx.io.core.jvm library license
- Introduce kotlinx.io as a library
- Remove duplicated kotlinx.io from fleet
- Update fleet gradle sync
- Replace transitive dependency on kotlinx-io-core with a direct one (because of the javac & jps)

(cherry picked from commit bb8cfb4d985d235781da71b259c5f7f0f8a33c63)

Add io-core to essential-modules.xml, update packaging file

(cherry picked from commit 1db15ea706283edd3939bb37100abd30df002984)

Introduce a module for kotlinx-io-core dependency

(cherry picked from commit 5e18c822b3be57a1ca9478ffb364679c32b5f2a5)

Replace transitive dependency on kotlinx-io-core with a direct one

(cherry picked from commit 4309b698141bed71257ec99a9e7f5151d38d4650)

Add kotlinx-io-core library

(cherry picked from commit 0d14f1abf0ca85217f7c075e2fee77aa6808c5e7)

Add kotlinx.io as a library


Co-authored-by: Alexander Zolotov <alexander.zolotov@jetbrains.com>

Merge-request: IJ-MR-162517
Merged-by: Shumaf Lovpache <soarex16@gmail.com>

GitOrigin-RevId: e600e36f4169cc41c0d7ca1a989b0a9a656df3f0
2025-05-14 08:31:14 +00:00
Vladimir Krivosheev
3a3013b232 IJPL-149126 fix method visibility (part 3)
GitOrigin-RevId: 3b9ce49a6a02034fd20698d26aea8f28b92f582b
2025-05-13 18:15:51 +00:00
Vladimir Krivosheev
e6503904f1 update bazel files
GitOrigin-RevId: 56d6864910cad2dfe611d38d680ee290d4209f79
2025-05-13 18:02:20 +00:00
Ilia Kirianovskii
a38a19fa65 [bazel] Update build files
GitOrigin-RevId: b3eb595781593209fca189a18c0091f11621bd51
2025-05-13 15:36:09 +00:00
Vladimir Krivosheev
3616fb0a2f simplify bazel labels (another step towards using simple names that reflect directory structure) — handle camelCase case
GitOrigin-RevId: 709eafe49fcb3be48c50440ae19a08e083bc8cb3
2025-05-12 07:18:42 +00:00
Vladimir Krivosheev
53ab1b258e IJ-MR-162467 do not export intellij.platform.refactoring
GitOrigin-RevId: 4bb68401d046d1fffba4fa73935bb1c404d8d49f
2025-05-09 20:49:36 +00:00
Ilia Malakhov
32a5548e23 IJPL-185294 [refactoring] Move loadExtensionWithText to intellij.platform.testFramework
GitOrigin-RevId: fd41e2f70858313b1b56a7aae6e2e4fed995c9f7
2025-05-09 18:03:52 +00:00
Vladimir Krivosheev
7cf9ef2b29 update bazel files
GitOrigin-RevId: e78f86bd17affd7892fd1af8e157f033906b1865
2025-05-09 15:36:06 +00:00
Vladimir Krivosheev
644a6b2e81 IJ-MR-162467 don't export intellij.platform.editor.ui
GitOrigin-RevId: 8894abe16fb347de7649bfb2d7888b6e6fe0232c
2025-05-09 14:20:40 +00:00
Ilia Kirianovskii
0fc140ce91 [bazel] Fix compilation in @community//java/idea-ui:ui-tests_test_lib
GitOrigin-RevId: 93f00d583d7d1846dcf6127997e19a842a2afd00
2025-05-09 11:27:56 +00:00
Alexander Bubenchikov
2f53c07260 [maven][IDEA-370993] - fix JarHttpDownloaderJps to make tests readable and handle errors better
GitOrigin-RevId: c40b59437a9c1fc47f1da3f5a3e33481e8a878fe
2025-05-09 08:35:00 +00:00
Alexander Bubenchikov
3def02f2d0 [maven][IDEA-370993] - fix tests
GitOrigin-RevId: 31890b6c7049ce2ed9ffd3fa3a4573147441299a
2025-05-09 08:35:00 +00:00
Alexander Bubenchikov
1284a71c90 [maven][IDEA-370993] - fixes tests
GitOrigin-RevId: 474935e09c29cb960c250af091ba34b490804655
2025-05-09 08:35:00 +00:00
Alexander Bubenchikov
92a13083bb [maven][IDEA-370993] - do not use application-wide maven local repository in non-jps-projects
GitOrigin-RevId: adfe328e2aefc9729e0c33f6c8e8e3e25b29976f
2025-05-09 08:34:59 +00:00
Vladimir Krivosheev
6f8ff07ccc simplify bazel labels (another step towards using simple names that reflect directory structure)
GitOrigin-RevId: 12bfb2d0fa315d87c7a4ade363d0f834cf324b71
2025-05-08 16:58:30 +00:00
Bart van Helvert
f68d8e35de [java] Move the highest released language level API to Java PSI module
#IDEA-369013

GitOrigin-RevId: 1217e1da916f391eb61e499d9b487a7113d5c1df
2025-04-30 15:06:53 +00:00
Louis Vignier
6f6f6555c9 [jdk] Show a warning before downloading an early-access JDK
#IDEA-362631

GitOrigin-RevId: 627e0646658cb1051af88ec218a9bf4414dde6a6
2025-04-28 18:22:11 +00:00
Louis Vignier
ba411118c8 [jdk] Simplify condition to find OpenJDK in ProjectWizardJdkComboBox
GitOrigin-RevId: 404715c5e7e99cf50a9fe0b4193f14243477f93f
2025-04-28 18:22:11 +00:00
Andrii Zinchenko
c92d860f76 [eel] IJPL-172897: remove EelPath.OS, use only EelPlatform in the API
GitOrigin-RevId: 1a1b676865f759f4dbabc97165b62c77decb5087
2025-04-27 19:21:46 +00:00
Bart van Helvert
dd358bc239 [java] Set the highest released language level through the registry
This will allow changing the language level combobox through the cloud registry. #IDEA-369013 Fixed

GitOrigin-RevId: 1874b9aa5f617795a239f3941572318fc64f1b25
2025-04-22 13:32:02 +00:00
Louis Vignier
500d6bcf0d [ui] Fix column width calculation in ClasspathPanelImpl
#IDEA-370637 Fixed

GitOrigin-RevId: 7d9beac6c341205ef91313144521722639c32a60
2025-04-14 22:40:23 +00:00
Alexey Kudravtsev
4068f1bfeb mark some method return types in openapi as immutable to catch more "modifying immutable collections" errors in usages
GitOrigin-RevId: 7dd546d18a464ff3275b03e72b08159623bd3453
2025-04-09 14:23:32 +00:00
Vladimir Krivosheev
3c86abc51f update bazel files
GitOrigin-RevId: d7bc484d70a0b98066dc8f1ce7d2287eeb7b37fe
2025-04-08 13:56:33 +00:00
Vladimir Krivosheev
f397f3147e maven-resolver-provider - do not export libs that are used directly
GitOrigin-RevId: c94e7b8fe049bda8ed635e9c1df1e629b5756bf0
2025-04-07 15:07:39 +00:00
Louis Vignier
46a4490ec7 [npw] Add ProjectWizardJdkIntent to NPW graph properties
This makes it possible to perform validation based on any state of the JDK combo box.

#IDEA-368023 Fixed

GitOrigin-RevId: 51c56e20fc34e1957d4d214aa869eeb1723ddd1f
2025-04-04 15:23:36 +00:00
Leonid Shalupov
dbbdb423eb IDEA-370282 fix flaky test due to a race between setting error handler vs logging error via Logger.error
GitOrigin-RevId: edc018db60ecf9c34d82810214d1e93a4fb804d1
2025-04-03 16:51:38 +00:00
Max Medvedev
4a5fb18d1f IDEA-359853 convert LanguageLevel#previewLevel and #nonPreviewLevel to functions
by Tagir's request

GitOrigin-RevId: 97b051c2dab03ac835a7cae3ebb3665141150d16
2025-04-03 00:36:42 +00:00
Vladimir Krivosheev
008f3b6e8d update bazel files
GitOrigin-RevId: 6df5c8c80f8583d0006ffb53e80eb615544ef287
2025-04-01 16:40:18 +00:00
Max Medvedev
4be493e18c IDEA-359853 introduce intellij.java.syntax module
GitOrigin-RevId: a0fdf52125e1fef08203de16198825e58d1df490
2025-04-01 00:38:44 +00:00
Rustam Vishniakov
54317fcc72 [wsl] IJPL-73547 WSL Usage Metrics: project.created.in.wsl, project.opened.in.wsl, project.cloned.in.wsl
GitOrigin-RevId: 59da204cab10cbf5789e47ce59625500ec658d59
2025-03-28 17:58:40 +00:00
Mihail Buryakov
423cab6669 IJPL-160621 Eel, IJent: fix eel tests when started with MultiRoutingFileSystem
GitOrigin-RevId: ae414b3a83fe7249d933f35c0c93dcc4d5fdc11a
2025-03-25 15:01:53 +00:00
Aleksey Pivovarov
ceeff76088 ui: fix invalid AnimatedIcon disposables
GitOrigin-RevId: be45e232f0e0973d4e56c917e3c459dbbc9626a4
2025-03-05 13:45:48 +00:00
Nikolay Chashnikov
27b295cc4c [java] cleanup: reuse RepositoryLibraryType.LIBRARY_TYPE_ID constant
GitOrigin-RevId: b4f9a686dda158e370ba24a37b90656a7a55e8a5
2025-03-04 21:22:58 +00:00
Nikolay Chashnikov
a85b406d1b [java] skip processing dependencies of modules in CompilationDependenciesResolutionTask if it's not applicable (IDEA-367562)
Since processing all recursive dependencies of affected modules may take noticeable time for big projects, it's better to first check if there are any libraries of the 'repository' type in the project. Most of the projects don't have them.

GitOrigin-RevId: 0b5fa2a5e9f92afc39fcb592940ebac82f0304db
2025-03-04 10:27:18 +00:00
Louis Vignier
a2e23ef08c [npw] Add predicate to projectWizardJdkComboBox extension function
IJ-CR-152634

GitOrigin-RevId: 2e595c18eab42930faaa1cff4331e2fbf239ac6d
2025-02-28 21:42:12 +00:00