Vladimir Lagunov
fd8609fc38
IJPL-171206 WslProxy: Require application address instead of port to avoid IPv4/IPv6 confusion
...
(cherry picked from commit 0090e4166b7d69fcb3b02d4bdac378afa3a1929b)
IJ-CR-150935
GitOrigin-RevId: d029181951626dafe9ead9456a8e452d8d9f0410
2025-01-02 16:24:56 +00:00
Louis Vignier
95e915dfd2
[java] Improve arch checker notification title and message
...
(cherry picked from commit 215391f3f5f1a56d4b6e6d9bdc1ad13718eecd0b)
IJ-CR-148865
GitOrigin-RevId: 5470ed33b530169fd40e015b329fc41c6684d122
2024-12-03 13:29:56 +00:00
Eugene Zhuravlev
de3bc0f5d4
provide information message, if clean build is not possible (IDEA-359660)
...
(cherry picked from commit f54627a0904b2594ceb6a2919ec93278cb1ec2c0)
IJ-CR-147297
GitOrigin-RevId: fb86c75a7ef6ffd6db6c7d01c0236486355d9332
2024-10-21 18:17:55 +00:00
Eugene Zhuravlev
254a40b321
project rebuild cancels preloaded process and cleans reliably whole caches directory (IDEA-359660)
...
(cherry picked from commit 3fb66ec10b750995624b6ef4d88cc5087d544e47)
IJ-CR-147297
GitOrigin-RevId: 875e3114abc64a783ee554a384f0d99281340217
2024-10-21 18:17:55 +00:00
Roman Shevchenko
69479687e5
[project] replacing FileChooserDescriptor#isFileVisible with file- and/or extension-based filters (IJPL-150176)
...
GitOrigin-RevId: 7176005f3d39d2f2e928c2e5f804de173e5d83f4
2024-10-02 09:28:56 +00:00
Roman Shevchenko
9b43719207
[project] reviewing use of file-based filters in choosers (IJPL-150176)
...
... and amending/replacing them with extension-based filters where possible
GitOrigin-RevId: 422e4f42ac96c295a707eae76ef25686753fc6ce
2024-09-30 20:14:03 +00:00
Gregory.Shrago
c41d6cce61
employ ProjectUtil.getProjectForComponent
...
GitOrigin-RevId: e83a6d0210f8ff20c71172d646c7c64e7f1dc239
2024-09-23 18:58:15 +00:00
Vladimir Krivosheev
c6f555ef59
experimental compact storage for JPS Cache (part 2 - finish ExperimentalOneToManyPathMapping and add test)
...
GitOrigin-RevId: 6c8dadfc2fb7ad6c6ac39f31265c77cbbae9876b
2024-09-19 05:28:30 +00:00
Artem.Bukhonov
5313707077
IJPL-162087 Call resetThreadContext inside the methods of ContextAwareBuilderMessageHandler
...
GitOrigin-RevId: 866a1927cd423b59acb074a6bf8752cf1a7f8d53
2024-09-16 15:37:56 +00:00
Mikhail Pyltsin
1480e7881b
[java-compiler] IDEA-354499 After building the project, find usages is broken for Record
...
- update jps
GitOrigin-RevId: 1db8fcf4e15b4e8053afdbb1db2bbc7b36eb73fe
2024-09-06 17:10:18 +00:00
Roman Shevchenko
a5666abead
[project] pruning FileChooserDescriptor overrides (IJPL-150176 prerequisite)
...
`BrowseFolderRunnable` and `*WithBrowseButton` family: getting rid of separate "title" and "description" parameters in favor of the chooser descriptor object, to avoid cloning the latter down the road.
GitOrigin-RevId: 33ec5968a1db953c60848974135055c288accf85
2024-09-06 11:41:43 +00:00
Artem.Bukhonov
faaf73bb9c
RDCT-1642 Use runInChildContext() in BuildMessageDispatcher for context propagation
...
GitOrigin-RevId: 7374b84250161e57d0a5fc9d53fc4a3fa392b47f
2024-09-04 21:27:14 +00:00
Vladimir Lagunov
d0bab98c22
JPS: Don't set up JNA for Windows if the build process runs in WSL
...
GitOrigin-RevId: b5ccda50d67f3b43395ccacc47a912760f199bcc
2024-08-29 09:12:42 +00:00
Vladimir Krivosheev
a9860a447e
update netty and add netty-codec-protobuf library - now it is extracted from http
...
GitOrigin-RevId: dc27611f156eafd5002dd5d708e1f4c53ccb2521
2024-08-28 10:05:36 +00:00
Gregory.Shrago
038c336ddc
migrate ActionPlaces.isPopupPlace usages
...
GitOrigin-RevId: 6caf1344423c8142a549d507c19e4ea40a721284
2024-08-28 05:13:52 +00:00
Alex Plate
f093067ae0
[Workspace Model] [IJPL-161113] Extract createEntitySourceForArtifact into the separate service
...
GitOrigin-RevId: 58c2a87fdd325a95c738117e97468de38e090605
2024-08-27 16:19:06 +00:00
Vladimir Krivosheev
403fc6d37d
make sure that we use the configured registry value
...
GitOrigin-RevId: 8e833d3aaf47f8ef56a914f243da52379336b546
2024-08-21 14:00:59 +00:00
Georgii Ustinov
f5029d7b21
[Java] Improve caching mechanism for hw specs in CompilerConfigurationUtils
...
IDEA-352162
GitOrigin-RevId: b2bd4b997a797a441932c2b67a71f08ae02448bf
2024-08-08 12:35:16 +00:00
Georgii Ustinov
c45d432165
[Java] Cache computer specs in CompilerConfigurationUtils
...
IDEA-352162
GitOrigin-RevId: b90560948e208aacebd51365dd04904fca029977
2024-08-08 12:35:16 +00:00
Georgii Ustinov
1f5b04cb1d
[Java] Update CompilerSettingsCollector to count users who can possibly compile in parallel
...
IDEA-352162
GitOrigin-RevId: 2eaaaec2471e96058c86e02611e089c01caf49f5
2024-08-08 12:35:16 +00:00
Georgii Ustinov
2e55ef8101
[Java] Add context help for automatic parallel compilation
...
IDEA-352162
GitOrigin-RevId: aa75d83d5d448ff151d4b2318be391f2135d688c
2024-08-08 12:35:16 +00:00
Georgii Ustinov
3e6f02b8d7
[Java] Enable parallel compilation in automatic mode only when there are enough cores and ram
...
IDEA-352162
GitOrigin-RevId: 7f48b635d0c21e1e8091a963405517236c3b8817
2024-08-08 12:35:16 +00:00
Georgii Ustinov
02cb0d7c98
[Java] Modify parallel compilation option only when it is actually changed
...
IDEA-352162
GitOrigin-RevId: 4a0af2539590b6803f7299f72f7d4cc7d84b09d7
2024-08-08 12:35:16 +00:00
Georgii Ustinov
8035be9433
[Java] Update CompilerSettingsCollector after migration parallel compilation option
...
IDEA-352162
GitOrigin-RevId: 862092122790bf8ecbdc6e62e1f4d653796b59a9
2024-08-08 12:35:16 +00:00
Georgii Ustinov
f63a7ee0f9
[Java] Save parallel compilation option in CompilerConfigurationImpl only when it was changed explicitly
...
IDEA-352162
GitOrigin-RevId: f517838b3eff746eb2b46cb8ad52c1aa2d3d272e
2024-08-08 12:35:16 +00:00
Georgii Ustinov
01d2643c0a
[Java] Rename JPS_PARALLEL_COMPILATION to PARALLEL_COMPILATION_OPTION
...
IDEA-352162
GitOrigin-RevId: 42a3bb20545707cff36b1f92b2096da23378b887
2024-08-08 12:35:16 +00:00
Georgii Ustinov
942bdd2a9f
[Java] Move JPS_PARALLEL_COMPILATION option to CompilerConfigurationImpl
...
IDEA-352162
GitOrigin-RevId: 3551ea248bf7ef50595e5e78cdcb4c691b540860
2024-08-08 12:35:15 +00:00
Georgii Ustinov
ef1cd4e18d
[Java] Restrict access to the old parallel compilation variable
...
IDEA-352162
GitOrigin-RevId: 1da7759c7683941f1b3515d66dc5ab984649e58c
2024-08-08 12:35:15 +00:00
Georgii Ustinov
2f99f21eef
[Java] Remove checkbox for old compilation in parallel boolean field
...
IDEA-352162
GitOrigin-RevId: 16c75ec22f8aad23ec085e52b1940254624e2dbe
2024-08-08 12:35:15 +00:00
Georgii Ustinov
79b9bf1b34
[Java] Add 3 state combobox to compile modules in parallel in CompilerUIConfigurableKt
...
IDEA-352162
GitOrigin-RevId: 5262222db58cb535dd1055d7cc01c9c8269d818f
2024-08-08 12:35:15 +00:00
Mikhail Pyltsin
f58f454022
[java-compiler] IDEA-354499 After building the project, find usages is broken for Record
...
- workaround, actual problems in jps-javac-extension, because it doesn't support RECORD as type
GitOrigin-RevId: 8cc695f9ba2672cff732496678f16cd3d96b83ed
2024-08-02 18:19:13 +00:00
Vladimir Krivosheev
6f3748266c
IJPL-158348 JSRemoteModulesUsagesDetector - get rid of Disposable
...
GitOrigin-RevId: 05ea0150241ff1fee7b857d0cdcf95a580b37123
2024-07-27 17:40:38 +00:00
Nikolay Chashnikov
14c1c5ec10
[jps build] use relative paths when loading the workspace model from cache if and only if IDE uses relative paths (IJPL-157801)
...
StorageSerializerUtil.getVirtualFileUrlSerializer stores VirtualFileUrl instance in completely different format if 'ide.workspace.model.store.relative.paths.in.cache' registry option is enabled. Deserialization in the build process must use the same format as the IDE, so now value of this registry options is passed as 'ide.workspace.model.store.relative.paths.in.cache' system property to the JPS build process and used there to switch relativization on or off.
GitOrigin-RevId: a87b7f4f1a2c073a8d1fdaaa72a38b5dc11d0e01
2024-07-22 18:59:54 +00:00
Eugene Zhuravlev
6da2c664c2
enable "unified ic" option to work with portable caches
...
GitOrigin-RevId: 0a0cec0969e48b2b1bda18eeec57f344d87eac58
2024-07-19 20:24:37 +00:00
Vladimir Krivosheev
3ce41c5cdb
IJPL-158075 ability to pass the correct scope to alarm (we cannot rewrite all usages, but at least we can use the correct scope)
...
GitOrigin-RevId: 7cb9fbf325ca2249a689cffff388a5275d8c2005
2024-07-11 09:50:38 +00:00
Tagir Valeev
d263e30396
Remove raw types in PopupStep#onChosen inheritors
...
GitOrigin-RevId: df36f1a249ab4d87c2d10e3d39c27f0351298921
2024-07-08 16:18:24 +00:00
Vladimir Krivosheev
2b53066811
DocumentCommitThread, EncodingManagerImpl, ChangedFilesCollector - get rid of non-coroutine executor pool
...
GitOrigin-RevId: 38d9c7dc593db89eacac081b00bc72e308eff7d4
2024-07-05 19:04:26 +00:00
Gregory.Shrago
92047f763d
migrate getData to uiDataSnapshot: java
...
GitOrigin-RevId: 6917901f5fe425ee883779c2fc1775960c2af540
2024-07-01 17:55:51 +00:00
Nikolay Chashnikov
f3ab5a172e
[jps build] provide a way to pass workspace model to the JPS build process in serialized way (IJPL-409)
...
If newly introduced 'jps.build.use.workspace.model' registry option is enabled, required modules and libraries are added to the JPS build classpath, paths to global and project cache file for the workspace model are passed to the build process, and it loads the project model from them instead of reading the project configuration files.
It's an experimental approach, and it isn't fully implemented yet:
* it doesn't ensure that caches are up-to-date;
* the cache currently cannot be loaded by the build process because it references entities and other classes aren't available in the build process (e.g. ScratchRootsEntity and VirtualFileUrlBridge).
GitOrigin-RevId: 54a4a49566ca9dd0433c7a13251c2e28fc051e78
2024-07-01 14:04:06 +00:00
Alex Plate
a5fcf97ba3
[Workspace Model] Move VersionedStorageChangeInternal into the impl subpackage
...
After the review note in https://jetbrains.team/p/ij/reviews/138027/timeline?chat-panel-active=true
GitOrigin-RevId: 976f2d79906d7b206d308621cfad22b7bd76351d
2024-06-27 11:37:13 +00:00
Alex Plate
212e81b1ca
[Workspace Model] Hide getAllChanges to the internal interface VersionedStorageChangeInternal
...
Users should not access all changes inside the workspace model and only process the changes that are relevant to their subsystem.
Internal discussion: https://jetbrains.slack.com/archives/G0142J1B20N/p1719324452271479
GitOrigin-RevId: 46bfaa0f41b4d92c7ec525d7505b4ba13c89532c
2024-06-26 21:18:15 +00:00
Nikolay Chashnikov
dc0da42c82
IJPL-797 intellij.platform.jps.model.impl review internal API
...
Extract CompilerConfiguration.addNewProcessorProfile method to allow plugins adding new profiles without using ProcessorConfigProfileImpl directly. For now, constructors of the latter are not marked as internal, but all other methods are.
GitOrigin-RevId: 7724f865866598daf8ca4b4f6ce48283c203feb1
2024-06-20 18:28:24 +00:00
Tagir Valeev
e078d61f03
[java] ChainCompletionContext: use alternative resolve to support dumb mode
...
GitOrigin-RevId: 22d718e0c4b8dd3ffa6a2ba559bb70df1ad937bc
2024-06-20 11:51:01 +00:00
Tagir Valeev
1df10af0b5
[java-completion] ChainCompletionContext: attempt to fix sporadic failures like
...
com.intellij.openapi.util.RecursionManager$CachingPreventedException: Caching disabled due to recursion prevention, please get rid of cyclic dependencies. Preventions: [ignoreDumbMode->RELIABLE_DATA_ONLY]
at com.intellij.openapi.util.RecursionManager$2.mayCacheNow(RecursionManager.java:190)
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:85)
GitOrigin-RevId: 0eebe6b51eb7dc0516e30d7f388fdb04ff6b9e8f
2024-06-18 12:26:39 +00:00
Mikhail Mazurkevich
5224cc5e77
[workspace model] Hide entity field EntityChange.Removed and EntityChange.Added
...
GitOrigin-RevId: 8cf5fda04c6b86c370b40b199f5e0e7faf879a02
2024-06-17 15:09:37 +00:00
Eugene Zhuravlev
2b6f628504
delete previous dependency cache data when switching "unified IC" on/off
...
GitOrigin-RevId: bce32dfbb3e543884dae82b5a159a29100ad9eb2
2024-06-13 13:24:28 +00:00
Dmitry Kichinsky
3531f75298
[maven] IDEA-352520 processSkinnyWars: avoid using packagingResolvingContext
...
GitOrigin-RevId: 69e5f160c19072f39450cda20ebaa793cbc49794
2024-06-08 22:28:30 +00:00
Mikhail Mazurkevich
e90f9b767a
[workspace model] IJPL-15936 Rename modifyEntity extension function
...
GitOrigin-RevId: 17a28521dcb772c359fc190ef05f934d35c3b510
2024-06-03 16:51:03 +00:00
Louis Vignier
9f0b7cec0e
[java] Simplify BuildManagerVersionChecker#updateVersionStrings
...
Iterating on ProjectJdkTable is unnecessary to update concerned workspace model entities.
IJ-CR-130133
GitOrigin-RevId: c34529f470feb438330f1e5203f6864ea745b22b
2024-05-31 11:35:54 +00:00
Vera Petrenkova
c1a5bad954
IJPL-149912 move LanguageBundleEP back to DynamicBundle
...
GitOrigin-RevId: f9764944ce8fa154a8986d4680f68026801f0e9b
2024-05-26 16:15:13 +00:00