Commit Graph

3720 Commits

Author SHA1 Message Date
Mikhail Mazurkevich
4966f7ef3c [jps caches] Add configuration settings for cache download
GitOrigin-RevId: a2abd62bd7e4afe5efa7c0a71df983fdd7c43617
2022-06-29 22:04:54 +00:00
Dmitry Jemerov
ec3fd8e254 Remove some usages of deprecated notification group registration APIs
GitOrigin-RevId: 76d34552f0274d6c62fa6ce02d3073fe520ea9e3
2022-06-28 11:31:42 +00:00
Roman Shevchenko
f3c1d03868 [project] openjdk.java.net ➜ openjdk.org
(updating direct links and issue navigation templates)

GitOrigin-RevId: 4e3ee1bdd3e620f2ca57533977cedde18377857f
2022-06-27 09:51:10 +00:00
Roman Shevchenko
c5c447df16 [test framework] less Kotlin less cry; dead code
GitOrigin-RevId: 1741f3905cca0353da124d9cb8b4e2dec431ee32
2022-06-23 09:43:52 +00:00
Dmitry Avdeev
b022957333 action-update-thread: misc platform actions
GitOrigin-RevId: e330391645af1bd62e5e36d8ac1d99e079ec39da
2022-06-21 14:35:18 +00:00
Tagir Valeev
11595f3956 Fix most of JavaDoc <-> code mismatch warnings
GitOrigin-RevId: 9a87a8b90993b56cd045722734c5c5f466601ae3
2022-06-20 12:02:27 +00:00
Nikolay Chashnikov
00873ba10e [artifact editor] don't suggest to put MANIFEST.MF file to a source root in Maven/Gradle projects (IDEA-99596)
...because it won't be copied to the output in such a case. For JPS projects it also makes sense to put MANIFEST.MF to a resource root if any.

GitOrigin-RevId: 9713c912e89bf0986f75d078db0ce36e7018dfec
2022-06-20 11:08:45 +00:00
Nikolay Chashnikov
f5a5f55dd9 [artifact editor] suppose that resource files from sources roots aren't copied if at least one extension says so (IDEA-99596)
Since OrderEnumerationHandler.areResourceFilesFromSourceRootsCopiedToOutput returns true by default, presence of any extension which returns false should be enough. Otherwise, if there are multiple extensions applicable to the module (e.g. KotlinNonJvmOrderEnumerationHandler is applicable to all modules), incorrect value may be returned causing incorrect behavior in the artifact editor (IDEA-99596).

GitOrigin-RevId: 4725f5998d50a00dd1d826d96404b4fd877a103a
2022-06-20 11:08:42 +00:00
Dmitry Batkovich
eba4296812 introduce a dedicated method to check whether app is in integration test mode
GitOrigin-RevId: 5f09824f9e21bd4b2bce33861b85a6f7a5fc93dc
2022-06-17 09:40:33 +00:00
Bart van Helvert
970ff60e8e Properly teardown test methods
Moves `super.tearDown` into a finally clause such that it gets executed even when an exception is thrown before it gets called.

GitOrigin-RevId: 51b257ada3a916ec5a8462445e67db50c86852bb
2022-06-15 17:44:16 +00:00
Aleksei.Cherepanov
31ea01c625 Set smaller page size of map for JPS process
Due to the huge number of incremental maps, memory consumption becomes a bottleneck, due to which the incremental build hangs. Reducing the size of the map's pages for the JPS build allows to keep more maps open

GitOrigin-RevId: 3b11f895168c578cfa82716df4c7303c5d68f477
2022-06-05 21:46:01 +00:00
Mikhail Mazurkevich
27fee7320a [workspace model] Rename findModuleBridge to findModule
GitOrigin-RevId: 12f6f60fd8a6b2b7ade4653298696a58f3f0f29c
2022-06-03 15:01:44 +00:00
Eugene Zhuravlev
50aa275a5f getMessageBus() may produce ProcessCancelled exception in case dispose is started
GitOrigin-RevId: f6b1d966b13f0e5d3b012eee1534d067b692af39
2022-06-03 09:58:53 +00:00
Gregory.Shrago
2373ee73ff deprecate UpdateInBackground: cleanup 2
GitOrigin-RevId: c43c66535d18230334037da52da847e5d46fda7a
2022-06-02 00:43:14 +00:00
Daniil Ovchinnikov
2d67afe744 IDEA-285336 explicitly turn off ide.propagate.context in JPS
GitOrigin-RevId: 259f6fcefd77d7c59c689e14ed464175758c12e5
2022-05-30 14:15:44 +00:00
Mikhail Mazurkevich
35861360f3 [workspace model] Fix compilation
GitOrigin-RevId: cf14a7b98007bddff960fc27b07f353fad224e8c
2022-05-28 11:05:29 +00:00
Mikhail Mazurkevich
bb251f954c [workspace model] Move extension fields and functions away from the separate file and place all in entity declaration
GitOrigin-RevId: 25eab3155e307722c5c84c8917cebffce8a136c8
2022-05-28 11:03:58 +00:00
Alex Plate
67d67e752c [Workspace Model] Rename WorkspaceEntityStorage to EntityStorage and WorkspaceEntityStorageBuilder to MutableEntityStorage
GitOrigin-RevId: afd17687d32fdbfe310a3c8c0de4336f3db0dc5b
2022-05-28 11:03:44 +00:00
Alex Plate
1744e6b49a [Workspace Model] Move all usages to new api
GitOrigin-RevId: 167da3d21cd7bbb57efcf9f0d6d9648bafb3e541
2022-05-28 11:02:51 +00:00
Alex Plate
b23d22489a [Workspace Model] Move artifacts to new api
GitOrigin-RevId: 1f754396b57a0c84231697e3f7f64ea46a8bc73f
2022-05-28 11:02:45 +00:00
Alex Plate
928ab8a364 [Workspace Model] Run production tests on new api entities
GitOrigin-RevId: 5795bb50436bb9c50adb094afdf8484b35a34be3
2022-05-28 11:02:40 +00:00
Alexey Belkov
9b5e8782f3 Run Kotlin inspection "Redundant nullable return type" on whole project
Plus some minor cleanups due to changed nullability.

GitOrigin-RevId: 406cf3bb86a9d1d57aa088bc0ff43cca5a8c2254
2022-05-27 22:07:13 +00:00
Mikhail Mazurkevich
ec1eee0cd7 [workspace model] Set JvmName for util classes
GitOrigin-RevId: 2854240a0a911ad2591fb20b8b05e018049ad097
2022-05-25 17:21:09 +00:00
Mikhail Mazurkevich
c8055f1eaf [workspace model] Introduce adapters for ModuleEntity & LibraryEntity to calculate associated Module & Library
Utility files were added for ModuleEntity & LibraryEntity they can be used for the methods that can't be located at
entities directly for a number of reasons e.g. dependencies for the module forbid writing such code.

GitOrigin-RevId: a12ea6459d2966280dc83a0a98c529f54601d06a
2022-05-25 11:39:31 +00:00
Alexey Belkov
8d0c00e7e4 Run Kotlin inspection "Redundant semicolon" on whole project
GitOrigin-RevId: f747f82c4e72f73070d6863fabed31dabf87ad0a
2022-05-23 21:37:20 +00:00
Dmitry Batkovich
e41c4a5e37 javac index: rewrite DirtyScopeHolder module listener using new workspace model
GitOrigin-RevId: 2746a427bcd4e5644714fe46e64961ebb90513dc
2022-05-23 19:54:44 +00:00
Daniil Ovchinnikov
24df93c622 deprecate other service classes for consistency
GitOrigin-RevId: f5b9f9973a501034458cb5fba57d238e0b75f2d6
2022-05-20 09:59:36 +00:00
Daniil Ovchinnikov
f186ceb753 deprecate MessageView$SERVICE
GitOrigin-RevId: 6747de42a8ee81a6c41418c18c159e00172e6bd0
2022-05-19 18:44:30 +00:00
Daniil Ovchinnikov
3b8a970c87 deprecate PsiResolveHelper$SERVICE
GitOrigin-RevId: 85081ddd627298396d389f1d45f97ac23ec155ce
2022-05-19 15:33:24 +00:00
Alexey Kudravtsev
4c8146cd7a cleanup
GitOrigin-RevId: aaa155d9fbe293854449a5814d05cc8ef4bb2d9a
2022-05-19 11:44:43 +00:00
Eugene Zhuravlev
51b9c45c17 fix test data expectations
GitOrigin-RevId: f79eaa465cc743a7d496233aa4cff8f2efa532f8
2022-05-18 19:08:41 +00:00
Daniil Ovchinnikov
0a202057ea deprecate ContentFactory$SERVICE
GitOrigin-RevId: 4419508a657adf8e6b830190078539d1f7d144c3
2022-05-18 18:09:07 +00:00
Tagir Valeev
e9ccd835c8 Raw types fixed
GitOrigin-RevId: 3c3f599080e4c93c870f944e9aa18f6e388caa7e
2022-05-17 08:48:41 +00:00
Mikhail Mazurkevich
b7fd7e615a [jetbrains team auth] Return TokenWrapper.NO_TOKEN if the refresh token is invalidated
GitOrigin-RevId: d9f26fe70a74d344bfbe779dc114007ea358c84f
2022-05-12 11:05:33 +00:00
Mikhail Mazurkevich
0d9b7db493 [jps cache] Avoid checking caches for the built commit
GitOrigin-RevId: f515a3fa5e2a6b128e3a0a7a4f22291f37eb52ed
2022-05-12 08:20:02 +00:00
Mikhail Mazurkevich
72da9204b8 [jps cache] Show notification only if the refresh token is invalid
GitOrigin-RevId: a230307ebb387cd29e9a120b14830decb62b37df
2022-05-12 07:25:29 +00:00
Mikhail Mazurkevich
f19ef178d7 [jetbrains team auth] Reset refresh token only if we have a reasonable HTTP status code for that
GitOrigin-RevId: cf0526e0522cc26dd7bfea167306be8026425ba5
2022-05-12 07:25:28 +00:00
Alexey Kudravtsev
2340e499ad replace invalid javadoc tag "@author:"
GitOrigin-RevId: f5835f60a7dc5e3b5c7cf1433350891e61d84b0b
2022-05-10 16:41:06 +00:00
Eugene Zhuravlev
059bbfbd3d add reverse mapping WSL-path -> Windows-path for build output messages (IDEA-287707)
GitOrigin-RevId: 09ab128d3547d01a0247cd9bb907b089b478bd7f
2022-05-05 17:28:29 +00:00
Bas Leijdekkers
18ffeb96e8 Fix grammar, proofread
GitOrigin-RevId: 5375b022980e759afeb1f16264aec5716bb931d2
2022-04-30 10:21:00 +00:00
Dmitry Batkovich
688428bf7a make debug build process action dumb aware
GitOrigin-RevId: 99bbb8fb4c17cdfb76f089eb81427c8f255afc4d
2022-04-18 09:50:17 +00:00
Dmitry Batkovich
12cbdd29a7 disable compiler reference index test actions by default via registry
GitOrigin-RevId: 10e56f79062edaa28ade6c43405ab00585900113
2022-04-02 05:43:34 +00:00
Eugene Zhuravlev
ceb89c12c1 JpsProjectTaskRunner: reliably fire notifications when both runner finishes and all tracked async subtasks are completed (fixes IDEA-291331)
GitOrigin-RevId: dac22c52807d55c998a5bc0196250f633a902776
2022-04-01 16:35:15 +00:00
Anna Kozlova
eafc8a4882 [java compiler] ensure callbacks are fired after compilation finished (IDEA-291331)
similar to 0f5eca70d408d7ed8dc75099bef0c5268d77ee0d; otherwise condition `JpsProjectTaskRunner.MyNotificationCollector.appendJpsBuildResult` won't work and no notification would appear for bad jdk configuration or canceled progress

GitOrigin-RevId: 69b2e82bed2f8c4bbf2b9b905c4d5b773226d72f
2022-04-01 11:16:17 +00:00
Ilyas Selimov
181627ed33 zero-tolerance fixes
GitOrigin-RevId: bc468f29f08d582582fd9cf9463d5c838cb59ca4
2022-03-30 09:18:51 +00:00
Eugene Zhuravlev
7c3792118d correctly identify context module for modules with multiple content roots (IDEA-291030)
GitOrigin-RevId: e74f1f936b229d6fa90985a68361106139a98e74
2022-03-29 15:08:58 +00:00
Alexey Kudravtsev
de4d6cd25d remove unused libraries
GitOrigin-RevId: a8927c203896c56951f3cf8e26d2f1366a0cf95e
2022-03-28 12:10:37 +00:00
Vladimir Krivosheev
e7bfb09e11 intellij.java.guiForms.compiler - raise lang level from 6 to 8, cleanup code
GitOrigin-RevId: 8cf23c7238392f14259f1d3794dd93c4004eca4d
2022-03-27 18:52:55 +00:00
Vladimir Krivosheev
8a38317c23 cleanup
GitOrigin-RevId: 8cc592b4a987143ede26092986d3678393f1abd2
2022-03-27 18:52:50 +00:00
Vladimir Krivosheev
a8f6a48409 add jdom to source code to modify and strip to our needs
GitOrigin-RevId: 3e16d0d954aa7bc45c4eadb91164b44e4b2e75d3
2022-03-27 18:52:47 +00:00