Commit Graph

4414 Commits

Author SHA1 Message Date
Sergei Vorobyov
9920f871ab [TestFramework] cleanup: separate build view assertions with and without checking the node selection state
GitOrigin-RevId: 75bfa7135e35c1fae23f707a3734acd47f899848
2025-04-03 15:08:43 +00:00
Max Medvedev
0e5df35887 IDEA-359853 rename PsiKeywords to JavaKeywords
GitOrigin-RevId: 549c1b35265414221b6b83ed1b5c426418ad032e
2025-04-03 11:33:32 +00:00
Max Medvedev
0ce5d6986a IDEA-359853 deprecated constants in PsiKeyword
GitOrigin-RevId: 94f23984ad8f4f467fed1f01f47b2a9b46242cac
2025-04-03 00:36:42 +00:00
Aleksey Dobrynin
c38838b59d [compilation-charts] create a plugin IDEA-368823
GitOrigin-RevId: 24a9f28108d235ea689830d91d3c30282f49ba21
2025-04-02 23:39:08 +00:00
Andrii Zinchenko
39aea0ea62 [eel] eel path utils: merge most of the transferring functions to the one
GitOrigin-RevId: ab93e3eb2973d2b22d864ba98007cbe2f5e89941
2025-03-30 20:42:55 +00:00
Vladimir Krivosheev
5d47ba2950 do not add opt-in com.intellij.openapi.util.IntellijInternalApi for the whole monorepo (part 2)
GitOrigin-RevId: e4647db9b386df84fe54d8eeeba2f617d18c2e54
2025-03-28 18:14:38 +00:00
Roman Shevchenko
bc764e3c1e Cleanup (obsolete API; typos; formatting)
GitOrigin-RevId: 3a4458ad19f75cceff4138ae8067bf781d8f4258
2025-03-28 15:20:24 +00:00
Roman Shevchenko
ff56221f6d [java] starting the build process in a new session to push it to a separate scheduler autogroup
GitOrigin-RevId: 933861c1e0ea185242e7c9864bfee2367d70604e
2025-03-28 15:20:24 +00:00
Roman Shevchenko
8ddc05b723 [platform] introducing GeneralCommandLine#withWrappingCommand
GitOrigin-RevId: e3304643f0736a9230df3f413d945d096d3eba00
2025-03-28 15:20:24 +00:00
Roman Shevchenko
76a9ffab0a [java] limiting BuildCommandLineBuilder#setUnixProcessPriority to normal and lower priorities
GitOrigin-RevId: 1380097254f320a3287107eb02702e4413e7b632
2025-03-28 15:20:24 +00:00
Alexander Glukhov
15a2c6a4f2 [jps][wsl][IDEA-368930] consider JPS classpath elements as project-dependent files; do not attach jna with remote env
GitOrigin-RevId: f65c25a06b7dc4c72dbf98a10db6974864be3fd7
2025-03-27 14:11:32 +00:00
Sergei Vorobyov
4ee72cd265 [TrustedProjects] cleanup: migrate code on the public trusted projects API
### Issues
  * IJPL-172505 Trusted Projects' API is marked as Experimental

GitOrigin-RevId: 5b0bc732be7334633846c919347affd71774459d
2025-03-14 21:12:53 +00:00
Max Medvedev
3ccd65380a IJPL-162853 move JavaVersion to intellij.platform.util.kmp and extract current() method to JVM-only part
GitOrigin-RevId: 1eaa07494ff64fe8a30932d655ac7c1caccd5f53
2025-03-14 14:49:17 +00:00
Eugene Zhuravlev
d158fdbc63 honor 'includeTestsFromDependentModulesToTestClasspath' in initial compilation scope (IDEA-368616)
GitOrigin-RevId: 47a9b7bae884ffbd966905047da593c310d53b28
2025-03-14 12:11:13 +00:00
Vladimir Lagunov
42f48a15f3 IJPL-181024 Eel+JPS: specify local paths in GeneralCommandLine.withExe
The logic inside GeneralCommandLine (see the commit 8534c048b775b8df82fe0b18d624c46125e1d8ba ) invokes execution through IJent only if both the executable path and the working directory are placed inside the same IJent.

This commit fulfills that requirement in `EelBuildCommandLineBuilder`.

GitOrigin-RevId: 143af6b1e07abcb7cb709cf4aca7fc9155ee1f8b
2025-03-12 20:53:21 +00:00
Alexander Glukhov
a58d59d554 [jps][eel][IDEA-368930] jps on eel: fixed the cache folder lookup logic for project-specific files
GitOrigin-RevId: e62b5f5e9f9f19fb7b2df3c3cfa15f032a37b6a3
2025-03-12 19:58:50 +00:00
Alexander Glukhov
604caa21fa [jps][wsl][IDEA-368930] remove BuildCommandLineBuilder#copyPathToHostIfRequired
The signature of the method doesn't represent its purpose. The method itself uses `BuildCommandLineBuilder#copyPathToTargetIfRequired`.

GitOrigin-RevId: 4c9485f4c35d12e8fec2dd8904568c487f417de4
2025-03-12 19:58:50 +00:00
Vladimir Krivosheev
96fd1ac701 update bazel files
GitOrigin-RevId: a870c287ba0ec3f8e82eff6c911864773961b5dc
2025-03-08 17:00:49 +00:00
Pavel Porvatov
1e4d62ec53 Use rounded selection in Kotlin UI DSL combobox-es for default renderer (new UI only)
GitOrigin-RevId: bebfeaa843e9c8e6f02857d7584e18be6452b5d3
2025-02-28 12:39:11 +00:00
Vladimir Lagunov
619cb1c1f3 IJPL-179162 Eel, fix building JPS and Maven projects
* The error message about "external_project_path" doesn't break the build anymore.
* Specify a correct working directory for the JPS process.

GitOrigin-RevId: b48c3d9168fcfe4827a8114f5465bac3d2a463be
2025-02-26 20:56:39 +00:00
Konstantin Nisht
69ca01169a [threading] IJPL-149765: Rename writeAction to edtWriteAction #2
GitOrigin-RevId: 82c9ed8b1b21bcb3ad0c4dc84debd3b51f083a80
2025-02-19 11:52:39 +00:00
Vladimir Krivosheev
f4ddced261 fix ArtifactPointerImpl visibility
GitOrigin-RevId: 04ee17c921f0b3503da495b0bfdedbaf48e9f31f
2025-02-18 12:35:48 +00:00
Andrii Zinchenko
17a55cbf11 [eel] IJPL-177857: IjentNioFsStrategy should be able to handle both types of WSL roots
GitOrigin-RevId: 2ba6477634f74e4070d8716b32aa0b650a8628a1
2025-02-17 22:01:06 +00:00
Nikolay Rykunov
98536975a7 [java] Extract java.testFramework.shared so it won't include Java Plugin in its classpath
It is necessary for Java Plugin's frontend tests, since previously they included both Java and Java Frontend plugins

GitOrigin-RevId: 4a1c0b7b6e62d6e8615f287a015d94bf85ebbdcf
2025-02-16 10:19:08 +00:00
Konstantin.Nisht
8923b75894 [eel, jps] Don't fallback to the internal jdk
GitOrigin-RevId: e5293c570eafb18cac54af044ac8c9cd32ac7e13
2025-02-15 12:07:45 +00:00
Konstantin.Nisht
c989009f1f [eel, wsm] IJPL-175225: Make global workspace model to be a per-environment object
GitOrigin-RevId: 289c74cb2f29532bf0487ad637b7bb96abb3e3c9
2025-02-13 15:45:53 +00:00
Vladimir Krivosheev
e69c97a244 introduce JpsJavacFileProvider
GitOrigin-RevId: f4074cb69853cf982ece36eb0cff14f9c406ac8a
2025-02-13 08:51:32 +00:00
Vladimir Krivosheev
a54c03c136 fix myHorizontalInfo visibility
GitOrigin-RevId: c5a93e04cb424409eb216267467274fcec2c66b4
2025-02-11 11:59:35 +00:00
Andrii Zinchenko
d651b30b3f [eel-jps] IJPL-176715: do not fail on classpath parameters mapping
GitOrigin-RevId: 07ad51542c363b6fd903c5829633b3eb4291776c
2025-02-11 10:32:42 +00:00
Andrii Zinchenko
3f0aec69e8 [eel-jps] IJPL-176715: BuildManager: global options folder should be transferred to the target environment
GitOrigin-RevId: 41eeaaef60c095f3e60f3d43eb3cba25b7dfa30c
2025-02-11 10:32:42 +00:00
Vladimir Krivosheev
3d2bc0a6d6 fix Loader visibility
GitOrigin-RevId: ed7401b7533173e4807484171872e42823d093fd
2025-02-10 11:30:21 +00:00
Vladimir Krivosheev
62347f75e5 fix ClassFinderClasspath visibility
GitOrigin-RevId: 51e63132395ae67cb1433c902ad58bde104f3a00
2025-02-10 11:30:21 +00:00
Alexey Kudravtsev
4c83dc3b61 propagate Document to HighlightInfo.updateFields methods to correctly replace TextRange in IntentionActionDescriptor with RangeMarker to avoid incorrect fix range in IJPL-177149
GitOrigin-RevId: d36bf90cb262445e35b1701f95d7b596cfe9b1f7
2025-02-07 16:08:11 +00:00
Vladimir Krivosheev
e9f6e4644d update bazel files
GitOrigin-RevId: c332387fc13f74305d2440f3c738be00fa0ef25a
2025-02-07 10:05:46 +00:00
Eugene Zhuravlev
5fa9887bf4 do not update graph when no data
GitOrigin-RevId: d32b797a0ac241c0db85b79f7c68715d0e855f17
2025-02-06 00:43:01 +00:00
Eugene Zhuravlev
a211bb2988 avoid excessive messaging
GitOrigin-RevId: 30ebc0215e773c2ebe2843a76208ccd830beb166
2025-02-06 00:06:10 +00:00
Vladimir Krivosheev
32eeb4ee9f update bazel files
GitOrigin-RevId: 524d4c1ce8590184de334693be7d6a207d8682f7
2025-02-05 12:27:57 +00:00
Eugene Zhuravlev
ce15012322 JPS: library dependencies tracking for incremental analysis, initial implementation
GitOrigin-RevId: 64694475a6c5f582912a7085d5d96d1d2282fdf1
2025-02-05 09:09:23 +00:00
Andrii Zinchenko
468fb1c10f [eel-jps] BuildManager.scheduleBuild: use eel for path mapping
GitOrigin-RevId: b22c54d03ed75e1d1804b8b168abc0fcdb2269e5
2025-02-04 20:05:19 +00:00
Aleksey Dobrynin
67853c47b1 [java, compilation-charts] Memory leak in CompilationChartsHint IDEA-366561
GitOrigin-RevId: fdf023227c6e5c7811f1f761f646d88a475d37f2
2025-02-04 12:54:51 +00:00
Leonid Shalupov
e4e5753846 housekeeping: remove unused imports
GitOrigin-RevId: ccba6d05260f5eb551ffa87e0d8a38dc93148a3a
2025-02-04 11:00:15 +00:00
Vladimir Krivosheev
0d7a3d6a26 update bazel files
GitOrigin-RevId: 0a24ce8e81d403fa978c7237a7fc193ec40cb0bc
2025-02-03 18:28:40 +00:00
Vladimir Krivosheev
b8245e1370 IJ-CR-146078 update bazel files
GitOrigin-RevId: 3bcfd10f71c84283bded464e142ead99edc6a278
2025-02-02 15:20:11 +00:00
Vladimir Krivosheev
f1121010f7 cleanup (final, visibility)
GitOrigin-RevId: 8faa58a751c19a553c1ba09763e56795cb36ed38
2025-01-31 08:55:04 +00:00
Louis Vignier
0b3c04b70a [jdk] Do not warn about JDK arch for CpuArch.OTHER
#IDEA-366540 Fixed

GitOrigin-RevId: 3bfb31597558a6b4ad59da49db3e730002a3cc2b
2025-01-31 01:01:04 +00:00
Konstantin.Nisht
aa5ce94adb [eel] IJPL-175013: Pass external project data to foreign environment
GitOrigin-RevId: 0dfec1a225b60d8aa1db4294ae20e7d999ba8b7b
2025-01-29 18:22:15 +00:00
Sergei Vorobyov
0152f4f7e0 [Java|Compiler] new: add API for configuring project default compiler options
The project default compiler options are used if no additional compiler options are defined that are applicable to a module.

Issues: IDEA-154038

GitOrigin-RevId: e59afb17508bd0517b626e8987e2afcf019136b7
2025-01-29 11:20:25 +00:00
Andrii Zinchenko
faae424c72 [sh-eel] shell plugin migration to eel
GitOrigin-RevId: d3a8d6b3304728f209b8b3fa56eedb7d1a1cdda5
2025-01-24 13:18:47 +00:00
Vladimir Lagunov
4c6bedebf5 Eel, WSL, JPS: fix compilation of modules with annotations
JPS expects `ide.jps.remote.path.prefix` to be exactly a prefix for path construction. Not every valid path is a suitable prefix. Especially, trailing slashes break JPS.

A usual root for WSL is a `\\wsl.localhost\DistroName\`, so the WSL root does have a trailing slash.

GitOrigin-RevId: def0e5dd3d00a4e7cb6f634a05b6a91ad664ec4d
2025-01-23 18:39:49 +00:00
Aleksey Dobrynin
271c322f90 [java, compilation-charts] Refactor chart UI for thread safety and optimized drawing IDEA-353073
GitOrigin-RevId: d3108ac4c73e72708c563f95f195437d79f414a1
2025-01-23 16:23:51 +00:00