Daniil Ovchinnikov
c02e719798
IJPL-274 migrate tasks.kt functions' usages
...
GitOrigin-RevId: d11b1726a501df22853efabc37b3275e62e392ed
2023-10-18 23:33:12 +00:00
Nikolay Chashnikov
97e876d874
cleanup: reorder import statements for workspace model classes (IDEA-320676)
...
Workspace model classes were moved to different packages, but the order of import statements wasn't changed, so we have many files with unsorted imports. They are often become sorted when other changes are made in these files, and such unrelated modifications complicate reviewing and may cause merge conflicts.
GitOrigin-RevId: 827744c328ddb2ac3d08ce0bcb8f8e1bb30ac4e9
2023-10-06 11:31:33 +00:00
Stepan Bagritsevich
4907beb57c
[Workspace Model] IDEA-300053 Regenerate metadata storage impl with new codegen-impl version (2.3.3)
...
ListOf changed to arrayListOf, setOf to hashSetOf, mapOf to hashMapOf
GitOrigin-RevId: 267067923a1126d086dded311be7b2f833d08841
2023-09-25 12:12:29 +00:00
Stepan Bagritsevich
b7e00c5e35
[Workspace Model] IDEA-300053 Fix regex for entity source and symbolicId implementations
...
GitOrigin-RevId: aa6aab0ce58dbf11bb9ba06e3c8fe4157646889f
2023-09-21 07:34:11 +00:00
Nikolay Chashnikov
f9a1959a64
cleanup: use ModuleRootListener.TOPIC instead of deprecated ProjectTopics.PROJECT_ROOTS (IDEA-331726)
...
GitOrigin-RevId: cb899d0b2e7a30e0e6751534e700d5de7506ab7e
2023-09-06 11:11:55 +00:00
Nikolay Chashnikov
1042c5a0a2
cleanup: remove author from TODO comments and remove some obsolete and unclear TODOs
...
Mentioning an author of a comment makes little sense since it can be easily found by 'Annotate' action. Also, it may give a false impression that only the author may address the problem described in the comment.
GitOrigin-RevId: 2aa52762b109f0d2f1a6ec6f7bf53f24b39c0997
2023-09-06 11:11:13 +00:00
Alex Plate
ec978b4392
[Workspace Model] Write more tests for changes in dirCopy packaging element of artifacts
...
In preparation to migration of ArtifactListener to IDEA-318790
GitOrigin-RevId: fee4a31dfe6a4aa8938a114afe9095aa7fabd06c
2023-08-29 16:03:17 +00:00
Eugene Zhuravlev
18275c4b77
use language level corresponding to build's runtime JDK to avoid irrelevant compiler's compatibility warnings (IDEA-327267)
...
GitOrigin-RevId: a0cb9b18f31d272e4bf151a6b2517abfe3f4ee60
2023-08-03 15:03:15 +00:00
Alex Plate
069e1b0932
[Workspace Model] [IDEA-320676] Move WorkspaceModel to the new module
...
GitOrigin-RevId: 16b9ef5a148ed992acffce8cc14124045e9dd376
2023-06-19 09:35:21 +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
e18c7d8a5f
[Workspace Model] Move sources of the storage under workspace package
...
GitOrigin-RevId: 013ce64337fe7b3637d731c1093a2337bbe71f22
2023-06-19 09:35:08 +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
b4d14401c7
[Workspace Model] [IDEA-320676] Move javaModuleSettings to a different package
...
GitOrigin-RevId: d0c5aaabc4f76bfec75519f69aae18ec8fcc21df
2023-06-19 09:34:58 +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
Daniil Ovchinnikov
d35cc24c6a
rename withModalProgressBlocking -> runWithModalProgressBlocking
...
GitOrigin-RevId: af0347ef7eb49fee4ee9405b90fbd0a47d913b7d
2023-06-16 15:20:55 +00:00
Daniil Ovchinnikov
1fc9c8cf2a
rename runBlockingModal -> withModalProgressBlocking
...
- It should not have `runBlocking` prefix because it does not spin an inner event loop.
- It has `Modal` to emphasize that it spins nested loop processing AWT EventQueue.
- It should have `Progress` in the name because it shows progress in the UI,
like `withModalProgress` and `withBackgroundProgress` do.
- It has `Blocking` suffix to emphasize that the function call still blocks the calling thread (EDT).
GitOrigin-RevId: 41581b894bc5df0035fa4c73dee658e6a91f6540
2023-06-08 14:01:49 +00:00
Vladimir Krivosheev
3ee80e5de6
remove runBlockingUnderModalProgress
...
GitOrigin-RevId: 3a356c619041bed3b771c555de99f45634a49a86
2023-04-27 13:06:50 +00:00
Dmitry Batkovich
19e40bb3f9
drop read-action in ArtifactPointerManagerImpl, make it rely on internal lock
...
GitOrigin-RevId: cd164e738dd893fa696e44978a7f423f16e34963
2023-04-21 15:34:40 +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
Alexey Kudravtsev
9f5b60b0f0
replace some usages of ContainerUtil.set() with immutable sets to get rid of unclear-semantic methods
...
GitOrigin-RevId: 3ba1266af01d64a228c10df59b18c4ac797c2a9b
2023-02-20 19:11:19 +00:00
Tagir Valeev
11dae3785d
Use short ellipsis for build log unification
...
GitOrigin-RevId: a77a2a1bc46ab81e93561639552393a929011ee6
2023-02-15 17:02:43 +00:00
Alex Plate
eddc230593
[Workspace Model] [Artifacts] Fix IDEA-310878
...
GitOrigin-RevId: 760edb2f7742e13e71bcadcefbdd7e656afb5ef5
2023-02-15 10:13:46 +00:00
Nikolay Chashnikov
5f8c17a3ff
cleanup: simplify code using WorkspaceModel::currentSnapshot property (IJ-CR-99521)
...
GitOrigin-RevId: 8b2629a2f6fcd8eeb44d7d43fbd9e7272337b932
2023-01-10 11:26:48 +00:00
Nikolay Chashnikov
332da24971
[workspace model] cleanup: change return type of 'updateProjectModel' functions to Unit (IDEA-308047)
...
GitOrigin-RevId: b7f26155f365dd60223de515a1929afd5a48b4d6
2022-12-20 11:43:23 +00:00
Alexey Kudravtsev
f6c2555e7c
kotlin cleanup: use immutable List instead of unnecessarily Mutable
...
GitOrigin-RevId: 52da31404312471cc3849455d8e145f54ccd1633
2022-11-17 02:59:59 +00:00
Alex Plate
f2813a9afd
[Workspace Model] Small corrections on workspace model update tracking
...
GitOrigin-RevId: d33b48dd28e2f14cc0eb35a903c86d6039377a01
2022-11-01 09:07:25 +00:00
Alex Plate
dd2e7fd974
[Workspace Model] Add logging to workspace model update
...
GitOrigin-RevId: 7cd46c97b411ce45af225a80980012d7f54d6ac6
2022-10-28 13:00:43 +00:00
Vladimir Krivosheev
240537def2
cleanup
...
GitOrigin-RevId: 82e394f43131c7cdadbc957f31098cc8a3f15d66
2022-10-26 18:46:24 +00:00
Mikhail Mazurkevich
fe7432a327
[workspace model] IDEA-300481 Rename PersistentEntityId to SymbolicEntityId
...
GitOrigin-RevId: 7bae4a6812902b2f7cc8214d7df68c95ebfe8b4f
2022-10-18 13:31:17 +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
Tagir Valeev
5759075a7f
Text blocks (small part)
...
GitOrigin-RevId: d75f3223e371b87748c4073d1cebab24a29fbae7
2022-09-23 20:46:42 +00:00
Alex Plate
eeeb3278dd
[Workspace Model] Prohibit modification of the entity from a different builder
...
GitOrigin-RevId: 26118e26f3948dee4be1f77bdb4ad657f930a018
2022-09-22 08:22:59 +00:00
Andrew Kozlov
016a37a02a
[project] explicit nullability
...
GitOrigin-RevId: 73a626b15a44b8cf86d95093d88a5c9a01ea16cd
2022-09-07 16:48:31 +00:00
Nikolay Chashnikov
205386154c
[workspace model tests] cleanup: remove forceEnableWorkspaceModel parameter
...
It doesn't make sense anymore since the workspace model is always enabled.
GitOrigin-RevId: 29b78cb020f25b95c740465e81c4a0c7a41d22f4
2022-08-26 08:04:32 +00:00
Bart van Helvert
9c423f10fc
Move constructor test logic into lifecycle methods
...
When an exception is thrown in a constructor method, teardown won't be called.
GitOrigin-RevId: 99474c6328a8953e23ba864bdf1b12b0d9d5466a
2022-08-22 15:14:27 +00:00
Vladimir Krivosheev
0aa74adaba
get rid of projectComponentsInitialized event, preload SystemHealthMonitor as part of IdeStarter, do not call SystemDock.updateMenu twice
...
GitOrigin-RevId: be1df3ddd7ccc7ad29e43159fdb41375dfa26814
2022-07-25 15:10:01 +00:00
Vladimir Krivosheev
57f7e14ea5
don't schedule post-start-up activities under modal progress
...
GitOrigin-RevId: 2ac572b66cf0ad8bc28a5713bc71967a8700f19d
2022-07-20 14:06:46 +00:00
Vladimir Krivosheev
aed14cb3c6
Rename .java to .kt
...
GitOrigin-RevId: 973e4304fc23f5d5b53abf05aab4bf0f2de63618
2022-07-20 14:06:43 +00:00
Vladimir Krivosheev
0fd08db37a
simplify plugin loading - separate context and result
...
GitOrigin-RevId: 02ec337045502f17ef30e772d494b539856e64ec
2022-07-20 07:45:29 +00:00
Alex Plate
ec35ad59ca
[Workspace Model] Remove key to enable old artifacts
...
GitOrigin-RevId: cbf76181a177d5aedc99fb4027b048461bfe5dca
2022-07-14 15:34:42 +00:00
Vladimir Krivosheev
6acf14255c
fix UnloadedModulesCompilationTest
...
GitOrigin-RevId: 48d9757376c55a0329bdd4719ab8b826167e1127
2022-07-13 10:24:03 +00:00
Vladimir Krivosheev
90fbb0d0a7
fix deadlock on save if called from EDT
...
GitOrigin-RevId: 749991728e9b67b60fdf8cef2127776c8196b788
2022-07-13 10:23:28 +00:00
Gregory.Shrago
723a654c96
make pattern/nullability/threading assertions messages look the same 2
...
GitOrigin-RevId: d68f6bed3cec850ecae6191bcf05b75ac8609d30
2022-07-07 12:41:16 +00:00
Roman Shevchenko
c5c447df16
[test framework] less Kotlin less cry; dead code
...
GitOrigin-RevId: 1741f3905cca0353da124d9cb8b4e2dec431ee32
2022-06-23 09:43:52 +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
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