Commit Graph

4209 Commits

Author SHA1 Message Date
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
Aleksey Dobrynin
ca3f72e76b [java, compilation-charts] fix JSON deserialization problem
GitOrigin-RevId: 50cfa28cb1238fd0d7f8dcd2f712720e38ef64a2
2024-08-08 11:38:29 +00:00
Georgii Ustinov
caf9d8cb51 [Java] Set scroll bar always for horizontal scroll bar in CompilationChartsView
IDEA-356480

GitOrigin-RevId: c7d199dcdbc6786e8f90386c6d2fbb32af2f4bd4
2024-08-08 08:49:56 +00:00
Georgii Ustinov
4ceb3ae86b [Java] merge shouldRepaint and isRepaintScheduled into one flag in CompilationChartsDiagramsComponent
IDEA-356484

GitOrigin-RevId: 9a70d540fb60675d24adca23fcd20ad5e31c7fae
2024-08-05 17:06:32 +00:00
Georgii Ustinov
da66c83ec0 [Java] Remove extra spaces in CompilationChartsBundle
IDEA-356480

GitOrigin-RevId: eb7ecf9f9046dd26fccdedf2b67fc88f28214c3b
2024-08-05 17:06:32 +00:00
Georgii Ustinov
19f947809b [Java] Remove useless extra configuration in CompilationChartsView
IDEA-356480

GitOrigin-RevId: 9d09d88ec5cbf9e8230d30837fc22325ce1e98c2
2024-08-05 17:06:32 +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
Georgii Ustinov
7b15b03c29 [Java] Refactor toolbar in ActionPanel for compilation charts
IDEA-356480

GitOrigin-RevId: a1497ba7ae235d09264f268b512c43322597ea9b
2024-08-01 13:20:10 +00:00
Aleksei.Cherepanov
5705ecc4e4 [JPS] IJPL-105 Enable unified Java/Kotlin IC by default
Also relates: KT-59527, OSIP-160

GitOrigin-RevId: 3252353d6e9b681aadb47ccff69715a8184ebf4b
2024-07-31 21:34:26 +00:00
Vladimir Krivosheev
6f3748266c IJPL-158348 JSRemoteModulesUsagesDetector - get rid of Disposable
GitOrigin-RevId: 05ea0150241ff1fee7b857d0cdcf95a580b37123
2024-07-27 17:40:38 +00:00
Georgii Ustinov
571ab91be6 [Java] Remove unused loggers
IDEA-356480

GitOrigin-RevId: 4cb1b4e70c1c2356071f58643ebb540253017b6c
2024-07-26 16:51:09 +00:00
Georgii Ustinov
c423c74bb9 [Java] Add toolbar and button for the scrolling until end in compilation charts
IDEA-356480

GitOrigin-RevId: 0a9f4a9e9eb44dc557286ce32faabd7f4d5b2f72
2024-07-26 16:51:08 +00:00
Georgii Ustinov
fb1a7b145a [Java] Repaint components immediately when apply any of the filters
IDEA-356484

GitOrigin-RevId: 8b58ac8ee2ce59e47b1ac6ae63d3de0393428bf7
2024-07-26 16:51:08 +00:00
Georgii Ustinov
5c3080b5d5 [Java] Improve adhesion to the right border for compilation charts
IDEA-356480

GitOrigin-RevId: 5ea82d24ca31e8bb3a185b27f5424728405497b0
2024-07-26 16:51:08 +00:00
Georgii Ustinov
789e32da8f [Java] Change position in zooming of compilation charts only when viewport width is smaller than overall width
IDEA-356484

GitOrigin-RevId: 418c67811b6c89a0c7cd9811e431d05bd9a41119
2024-07-25 15:26:34 +00:00
Georgii Ustinov
8ebc6783c7 [Java] Refactor drawing image
IDEA-356484

GitOrigin-RevId: 0d3cefd760c2d90ca17b570ed63b5b66ef996083
2024-07-25 15:07:09 +00:00
Georgii Ustinov
ff15063ad4 [Java] Basic performance improvement of the compilation chart during zooming
IDEA-356484

GitOrigin-RevId: ad130a0f227d89fd822be9fc64953a01b92bf0ad
2024-07-25 15:07:09 +00:00
Georgii Ustinov
9be8046a23 [Java] Replace adhesion from horizontal scroll bar to viewport
IDEA-356480

GitOrigin-RevId: af5b29adde12a31360424c08ae4dca32b508e244
2024-07-23 19:18:13 +00:00
Georgii Ustinov
c6568b6da8 [Java] Refresh UI of compilation charts one time per second
IDEA-356484

GitOrigin-RevId: 98927225d8adb528530f51397c40f08faea96e50
2024-07-23 19:18:13 +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
Georgii Ustinov
8c3ffc1076 [Java] Implement adhesion to the scroll bar when it is attached to the right side in compilation charts
IDEA-356480

GitOrigin-RevId: d6cf8f17c992874b7f013143df0fbf3c33eede98
2024-07-22 13:19:13 +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
Nikolay Chashnikov
128b7b34df [tests] publish configs and build logs if a compilation test fails as build artifacts
This is needed to investigate IJPL-115184.

GitOrigin-RevId: 29df8e164b5fee6f2101190134fa989300b89e7b
2024-07-17 17:57:46 +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
Eugene Zhuravlev
09fb01a1d1 do not instrument kotlin-generated classes (IJPL-155939)
GitOrigin-RevId: af405e316e89d33502e1094d81cc432c8e56fc68
2024-07-09 21:01:07 +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
Tagir Valeev
cfffe7e49e [java-tests] PackagingValidationTestCase: remove unused myQuickFixes
GitOrigin-RevId: a05bfa1eed87bef0de7afb8fd450ac2b4c288fb9
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
Roman Ivanov
4da0e878fe disable compilation charts
GitOrigin-RevId: 7691bf105ac289d41a4d602e32c586f5b61290e1
2024-06-14 12:42:34 +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
Aleksey Dobrynin
10af325fc7 [java, compilation-charts] fix a plugin declaration
GitOrigin-RevId: 27dc7a4d0d3ef876f34a9c5e2ae98483206a2acf
2024-06-12 15:52:31 +00:00
Mikhail Pyltsin
baa43b9496 [java, compilation-charts] fix: plugin configuration
GitOrigin-RevId: ebda075c469a3a36c9da53bbaba4a5b37f42d19d
2024-06-12 15:52:20 +00:00
Aleksey Dobrynin
69e51c733e [java, compilation-charts] fix: root package
GitOrigin-RevId: 3578cbe99f442000dac8ad9a5867b67620d8e8e7
2024-06-12 15:52:14 +00:00
Aleksey Dobrynin
9f678c43d9 [java, compilation-charts] fix: chart border
GitOrigin-RevId: bf371feaabb4640a88010ce6afb3847dc4fd60ba
2024-06-12 15:52:09 +00:00
Aleksey Dobrynin
497b3486be [java, compilation-charts] fix: max zoom size
GitOrigin-RevId: ee7b285637861405743b553a6e23845c6f838071
2024-06-12 15:52:03 +00:00
Aleksey Dobrynin
50dcbe1226 [java, compilation-charts] search improvement. fix: scrolling. IDEA-353076
GitOrigin-RevId: 17c8f9ea4f5c84d648d4ac7c52b703e581722cc0
2024-06-12 15:51:58 +00:00
Aleksey Dobrynin
e7764f35f5 [java, compilation-charts] fix: the maximum value of the usage chart
GitOrigin-RevId: cff080007256b18b8a63136a433e1647167ad7c6
2024-06-12 15:51:52 +00:00
Aleksey Dobrynin
764f2cf452 [java, compilation-charts] add a start/finish chart message
GitOrigin-RevId: f9cd88d77d2dd77930cbc4844fba610b61821f05
2024-06-12 15:51:46 +00:00
Aleksey Dobrynin
ea54bb6f91 [java, compilation-charts] add a feature flag
GitOrigin-RevId: f10f760e0f29d2695bc44c4292561969528cdde4
2024-06-12 15:51:41 +00:00
Aleksey Dobrynin
7190cbe8ef [java, compilation-charts] search improvement IDEA-353076
GitOrigin-RevId: ca085e1d7293d0535a1893369e66896c0af599d6
2024-06-12 15:51:35 +00:00
Aleksey Dobrynin
da68d59f53 [java, compilation-charts] buffered image
GitOrigin-RevId: 07b9dd39c8f8a70829fade555a708865954480d9
2024-06-12 15:51:30 +00:00