Commit Graph

611 Commits

Author SHA1 Message Date
Nikolay Chashnikov
4167f4a603 [java] rewrite UnloadedModulesCompilationCheckinHandler to run computations on a background thread (IDEA-308600)
GitOrigin-RevId: 8e63afc07ae258aa557bf0d7e49c6c259725c90a
2023-06-30 11:00:03 +00:00
Alex Plate
0ea27da5c6 [Workspace Model] [IDEA-320676] Move all packages from workspaceModel to workspace folder
GitOrigin-RevId: b70062397efd6347c34431c24aacd2ec2e216897
2023-06-19 09:35:12 +00:00
Alex Plate
acde44da72 [Workspace Model] [IDEA-320676] Rename jps module of workspace model
GitOrigin-RevId: 146fda1ce8b8e436eb48070e8cf96f2c654ea6a2
2023-06-19 09:35:11 +00:00
Alex Plate
e18c7d8a5f [Workspace Model] Move sources of the storage under workspace package
GitOrigin-RevId: 013ce64337fe7b3637d731c1093a2337bbe71f22
2023-06-19 09:35:08 +00:00
Alex Plate
c3b791a11a [Workspace Model] [IDEA-320676] Rename module intellij.platform.workspaceModel.storage to intellij.platform.workspace.storage
GitOrigin-RevId: f3d3180c7e8aa2b0a339acaf94dae4e2c90da12b
2023-06-19 09:35:06 +00:00
Alex Plate
bfd595ae86 [Workspace Model] [IDEA-320676] Rename package of jps model (ModuleEntity and other related entities)
GitOrigin-RevId: 102135a4f66c4a12c9b1f95035b1607cb933825d
2023-06-19 09:35:04 +00:00
Alex Plate
d1f070efbe [Workspace Model] [IDEA-320676] Move java entities under workspaceModel.entities package
GitOrigin-RevId: 0cc19eb22da6f12cc1d49dbb18bfe32b05161307
2023-06-19 09:35:01 +00:00
Alex Plate
9630a8a326 [Workspace Model] [IDEA-320676] Move ArtifactEntity to com.intellij.java.model package of intellij.platform.workspaceModel.jps module
GitOrigin-RevId: ac5b632a34f2a5633a9b7d1838937c69371fff1e
2023-06-19 09:34:55 +00:00
Alex Plate
4ade3683be [Workspace Model] Inlined extension functions related to creation of the ArtifactEntity
GitOrigin-RevId: 33dcf6ce88be7cf4e7f803ac4be94f35b7c860b5
2023-06-19 09:34:41 +00:00
Alex Plate
37c54118b9 [Workspace Model] [IDEA-320676] Rename base packages of the workspace model: com.intellij.workspaceModel
The rename of the packages is needed to follow the naming convention. See the attached ticket for the details.

GitOrigin-RevId: 24b2328e572efa23d67133fc495855cf662ea795
2023-06-19 09:34:30 +00:00
Pavel Porvatov
e12e0b4b47 [Kotlin UI DSL] Port GroovyCompilerConfigurable to Kotlin UI DSL
GitOrigin-RevId: fe40258983f033217d8c90a34033e94a231d9fc0
2023-06-16 21:34:50 +00:00
Eugene Zhuravlev
17cc4455c8 require the SDK for running JPS build to be located in the same WSL distribution where the compiled project is stored (IDEA-319240)
- JPS process: added WSL path conversions for the SDK home path
- added diagnostics if build JDK's WSL distribution does not match the project's WSL distribution
- altered JPS build alternative SDK selection policy (triggered if neither of JDKs associated with the project is supported): now canditates will be searched in the ProjectJdkTable, and if nothing suitable is found there, the IDE's runtime SDK will be picked.

GitOrigin-RevId: 666fa9c7ea6657b730bf7641aadc5f22086d89f0
2023-05-05 17:57:59 +00:00
Ilya.Kazakevich
382a86c6e1 Cleanup and document WSL network connectivity for cases like PY-59150.
* Unify host and WSL fetching logic
* Handle error explicitly by exception
* Extract messages
* Log stdout/stderr to logs, not to show em in dialogs
* Test added

Cleanup and document WSL network connectivity for cases like PY-59150.

* No need to deal with IP address obtaining problems each time: encapsulate it in ``WslDistribution``.
* Use one registry key to switch to ``127.0.0.1`` for Windows To Linux connection
* Document current approach and usage
* Make methods not nullable (some usages do not check null at all)

Merge-request: IJ-MR-106936
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com>

GitOrigin-RevId: 8bb9415ea9859e76365dff79a57d2b4661897334
2023-05-05 12:25:02 +00:00
Vladimir Krivosheev
227d75a1fc don't extend DynamicBundle
GitOrigin-RevId: 49cbebd629a92877dbeeffba8d97b0631fb9407e
2023-05-05 09:46:42 +00:00
Alexey Kudravtsev
970ae99e6d use ContainerUtil.createMaybeSingularList() to simplify code
GitOrigin-RevId: 3474c183588944fa16fef901302492bf714aa815
2023-05-04 14:09:30 +00:00
Alexey Kudravtsev
3719a6a241 cleanup
GitOrigin-RevId: a4cb35f8f813f3246a5dbeab2d8f02929ea53461
2023-03-22 22:18:35 +00:00
Alex Plate
b71ea5f44b [Workspace Model] [IDEA-272864] Fix accessing artifact elements that is now under modifications
GitOrigin-RevId: 3c30d131349667163769fbfed8c253d48aabc26d
2023-03-14 18:35:42 +00:00
Mikhail Mazurkevich
f956ed50ed [jps caches] IDEA-311017 Avoid showing confusing notifications and ask to log in again
GitOrigin-RevId: 9f0cd6fd59f63431b130fcbe398514736e43e5bb
2023-02-23 15:22:04 +00:00
Tagir Valeev
11dae3785d Use short ellipsis for build log unification
GitOrigin-RevId: a77a2a1bc46ab81e93561639552393a929011ee6
2023-02-15 17:02:43 +00:00
Tagir Valeev
e9832acb26 [java] Use pattern variables; other minor cleanup
GitOrigin-RevId: e2345bd54d92f6676c6fbc55955e85cbdc5c2793
2023-02-01 17:09:26 +00:00
Nikolay Chashnikov
a0db56f0cf [java] API cleanup: remove unused deprecated API (IDEA-305637)
GitOrigin-RevId: 3aa124f6e8794b49c3e0e7275befc29e7bf6fa79
2023-01-18 13:27:12 +00:00
Dmitry Kichinsky
ecb4b8f98a IDEA-307609 web facet importer: extract common code to base class
GitOrigin-RevId: 23d4092e1613e49000c5507f388f90a023f98a1b
2023-01-13 17:50:53 +00:00
Dmitry Kichinsky
101b418119 IDEA-307609 web facet importer: artifactModel
GitOrigin-RevId: e7bc52a20194fd6c824735934d399d80103f9726
2023-01-13 17:50:47 +00:00
Dmitry Kichinsky
ea63d2bd31 IDEA-307609 EJB facet importer: artifactModel
GitOrigin-RevId: 5b30cf3e4f4c6c26ef725a4cad83bfa1266848a6
2023-01-12 18:14:51 +00:00
Daniil Ovchinnikov
578eaaf60e rename library kotlin-stdlib-jdk8 -> kotlin-stdlib
GitOrigin-RevId: cddf45ccfd5563d3fe209bea62a1c37c94f44ff9
2023-01-10 12:22:34 +00:00
Aleksey Pivovarov
4fda3c7846 vcs: remove pointless refreshes of FileStatusManager
GitOrigin-RevId: f6d6dfcaa10e375225974c28204eb2d1b88ac939
2023-01-04 10:50:50 +00:00
Dmitry Kichinsky
f4ee0e7b88 IDEA-307609 EjbFacetImporter migration to MavenWorkspaceConfigurator
GitOrigin-RevId: f504ff8dee51ca55724bf6c00d11fe49062d2c68
2022-12-29 15:41:41 +00:00
Dmitry Kichinsky
f6b44c19fb IDEA-307609 WebFacetImporter: decouple logic from Module and Facet
GitOrigin-RevId: c45ee673f6251f32d34624c9fad5c88f81f768a2
2022-12-26 23:25:02 +00:00
Dmitry Kichinsky
f517ea438f IDEA-307609 WebFacetImporter: decouple logic from Module and Facet
GitOrigin-RevId: cc3e6b54a64556e5d0f461810c18696bf82f71ab
2022-12-26 21:20:25 +00:00
Eugene Zhuravlev
16c1c15d7a JPS: cancel currently running build on project closing
GitOrigin-RevId: edce4b864acdb1e9129b26c68fa2fbce0b5b049f
2022-12-12 13:37:26 +00:00
Alexander Bubenchikov
c8cf012ad2 Revert "[performance][IDEA-305500] - improve CompositePackagingElement performance"
This reverts commit eb6334d6 - CR-98315

GitOrigin-RevId: d32e61d4e0653d49ce1ccab0f1c14d291a8ffd08
2022-11-18 12:22:23 +00:00
Alexander Bubenchikov
a9be9dc381 [performance][IDEA-305500] - improve ExternalEntityMapping performance, added getFirstEntityMethod
GitOrigin-RevId: 3cb975b306788dad06d536c7f5ea5def89de51c2
2022-11-14 17:08:41 +00:00
Alexander Bubenchikov
d895e6e4a7 [performance][IDEA-305500] - improve CompositePackagingElement performance
GitOrigin-RevId: eb6334d6ff2db37e857f8cd4939ba2177acaf58a
2022-11-10 23:54:22 +00:00
Artem Khvastunov
944ca4e316 IDEA-297797 add option to delete old caches asynchronously during build
By default, the IDE deletes old caches synchronously that makes the build process twice longer (8 vs 4 minutes). The downside is that the deletion might not be completed if the build process is fast enough. In this case, garbage will pile up under 'system/plugins'. That's why this option is disabled by default.

Additionally, we try to use rsync on *nix systems that works faster than Java NIO or even rm. When the build process finishes, rsync continues working as its process is inherited by the root process. This might not be expected by allows to make things done.

GitOrigin-RevId: f864b0b703a898bec2267e2d19cb5536483c89c0
2022-10-21 18:31:09 +00:00
Mikhail Mazurkevich
67dcc8eea9 [workspace model] IDEA-300481 Rename com.intellij.workspaceModel.storage.bridgeEntities.api to com.intellij.workspaceModel.storage.bridgeEntities
GitOrigin-RevId: 6a6cefa7605694dfe4b0fe15bc8fc21847d0f9c9
2022-10-18 13:31:11 +00:00
Nikolay Chashnikov
e7195f6214 cleanup: remove '@author peter' tags from javadoc comments
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: 99ea11604b3d5dfdf838d7f3685477814e642ceb
2022-10-13 14:39:10 +00:00
Eugene Zhuravlev
affe63f3db javadoc updates
GitOrigin-RevId: 846ccaf9e47a85cf23b89686fed66902f0b1809e
2022-09-27 09:49:27 +00:00
Eugene Zhuravlev
8d24683e62 API to pass ProgressIndicator explicitly; Ensure the startup UpToDate check uses the progress created by the startup activity
GitOrigin-RevId: 55d453369b9cc4aa1586823d0ee615b675af5e0a
2022-09-26 15:17:55 +00:00
Tagir Valeev
95d9afbc4f Warnings fixed
GitOrigin-RevId: bd81260d9a157befa4a448ba04ce510a05b4a880
2022-09-26 13:45:20 +00:00
Eugene Zhuravlev
5682a0118d revert essential classes to java
GitOrigin-RevId: 25aed5fdd99bbcf6a581d992f5d26c0c5b01b312
2022-09-23 17:48:27 +00:00
Eugene Zhuravlev
804af32535 Revert "Rename .java to .kt"
This reverts commit b8c4e7ecc96f325c0aadd8d3c41b2cb7da87cfc7.

GitOrigin-RevId: dd989c444a6d1a6910491e6c207be5a4d8a1d22e
2022-09-23 17:48:24 +00:00
Nikolay Chashnikov
4679eb06e2 [java] API: remove 'for removal' flag from deprecated API which aren't going to be removed soon (IDEA-301912)
GitOrigin-RevId: 3ce76a4f3ee030f3212317b875980bbd6b139567
2022-09-16 12:41:24 +00:00
Dmitrii Gridin
57325b4126 [cri] update progress name to "Checking build up-to-date status"
GitOrigin-RevId: bb78abde8a463c23a71441a6502a0b0d1b90c037
2022-09-15 12:15:05 +00:00
Andrew Kozlov
016a37a02a [project] explicit nullability
GitOrigin-RevId: 73a626b15a44b8cf86d95093d88a5c9a01ea16cd
2022-09-07 16:48:31 +00:00
Nikolay Chashnikov
07946fb1dd [java] cleanup: remove unused deprecated API (IDEA-295370)
GitOrigin-RevId: c8370b89546b74bf94c6c6d249d7cdd34233c7a4
2022-09-06 12:45:03 +00:00
Andrew Kozlov
9b20d62d6c [artifacts] a common constant moved from the bridge
GitOrigin-RevId: 2555bff66315a2dc62ebeeb58759d074bd36c41b
2022-08-31 23:10:49 +00:00
Vladimir Krivosheev
b75a8a7650 cleanup
GitOrigin-RevId: d019109fa1c296ba108f1cc79bf5690b1d612cff
2022-08-23 19:20:30 +00:00
Tagir Valeev
9038e3f77b Remove empty and irrelevant javadoc tags
GitOrigin-RevId: dcbbb8cff7ef267525129c464769f761d92c2120
2022-08-09 09:41:49 +00:00
Vladimir Krivosheev
ea6a22250d ProblemsViewImpl - create UI only when needed, rename "Classes up-to-Date Check" to "Refresh Compiler Reference Index", don't use extra thread for this activity
GitOrigin-RevId: 9c7e8083f1d13fe5c33b43efa6674d4d1e365c4e
2022-07-23 11:17:17 +00:00
Vladimir Krivosheev
030c464280 Rename .java to .kt
GitOrigin-RevId: b8c4e7ecc96f325c0aadd8d3c41b2cb7da87cfc7
2022-07-23 11:17:13 +00:00