idea/android.git
32 hours agoFix InvalidTestClassError: "The @ClassRule 'disposableRule' must be static." (GoToAnd... kt-master master
andrei.kuznetsov [Tue, 27 Sep 2022 14:44:08 +0000 (16:44 +0200)]
Fix InvalidTestClassError: "The @ClassRule 'disposableRule' must be static." (GoToAndroidResourceContributorTest)

GitOrigin-RevId: 8f46b3c381a726ec9ba2030ff85a85b6c207385b

2 days agoIDEA-300570: [Android] remove conflicting `Alt+F` shortcut which now assigned to... 223.5756
andrei.kuznetsov [Mon, 26 Sep 2022 14:38:42 +0000 (16:38 +0200)]
IDEA-300570: [Android] remove conflicting `Alt+F` shortcut which now assigned to Logcat.ToggleViewFormat

Desired behavior is `Alt+F` = `File` menu

GitOrigin-RevId: 7af71e8faeeb2a7ffa8a8ee88791c00c949d9bf3

5 days agopropagate PsiFile to avoid calling PsiDocumentManager in EDT to fix EA-608715 T:...
Alexey Kudravtsev [Fri, 23 Sep 2022 11:05:29 +0000 (13:05 +0200)]
propagate PsiFile to avoid calling PsiDocumentManager in EDT to fix EA-608715 T: DirectoryIndexImpl.getInfoForFile

GitOrigin-RevId: b58d48292017fc0a976486192a89da9cfd659546

6 days agodon't use TLongObjectHashMap
Vladimir Krivosheev [Thu, 22 Sep 2022 06:14:35 +0000 (08:14 +0200)]
don't use TLongObjectHashMap

GitOrigin-RevId: 1326f7f09b27abc04469c29eff83a4e9b1bc72cd

7 days ago[KTIJ-22614][Android] ModelFetchers.kt: Prevent unnecessary builds of KotlinMPPGradle...
Sebastian Sellmair [Wed, 21 Sep 2022 13:34:12 +0000 (15:34 +0200)]
[KTIJ-22614][Android] ModelFetchers.kt: Prevent unnecessary builds of KotlinMPPGradleModel

GitOrigin-RevId: 6fa7d03297f6ee4dfd7bde68c1229072dbba5e01

8 days agoKTIJ-22637 AndroidFileChangeListener: skip non-physical files
Alexandr Suhinin [Tue, 20 Sep 2022 15:04:20 +0000 (18:04 +0300)]
KTIJ-22637 AndroidFileChangeListener: skip non-physical files

GitOrigin-RevId: 8c38640eb0fe948466a1b68d7be975f1a475dfbe

8 days agoIJP-1342: cleanup: remove unused parameters from `com.intellij.util.indexing.Unindexe...
andrei.kuznetsov [Tue, 20 Sep 2022 11:02:41 +0000 (13:02 +0200)]
IJP-1342: cleanup: remove unused parameters from `com.intellij.util.indexing.UnindexedFilesUpdater#queue`

GitOrigin-RevId: 34dcbb3d85360d4559075104147048b81695bf6e

9 days ago[android] get rid of usages of deprecated ConfigurationException::getQuickFix method
Nikolay Chashnikov [Fri, 16 Sep 2022 12:04:29 +0000 (14:04 +0200)]
[android] get rid of usages of deprecated ConfigurationException::getQuickFix method

ConfigurationQuickFix is now used to pass proper DataContext to the implementations.

GitOrigin-RevId: ef491b2ee30d8e9cd223f900622c094a10e1770c

12 days agoRefactor castSafelyTo to asSafely
Piotr Tomiak [Fri, 16 Sep 2022 14:40:46 +0000 (16:40 +0200)]
Refactor castSafelyTo to asSafely

GitOrigin-RevId: 36f843369a753f158f53b36ce21ab2ecaa29fea3

12 days agoRevert "remove castSafelyTo - don't repeat what language provides, no need to have...
Piotr Tomiak [Fri, 16 Sep 2022 14:14:40 +0000 (16:14 +0200)]
Revert "remove castSafelyTo - don't repeat what language provides, no need to have extra sugar"

This reverts commit f3f806f0

GitOrigin-RevId: cf5fb413dd7f6a01deec6f1e345503dd553ba23e

12 days agotighten contract to allow waiting for unresolved reference quick fixes outside EDT...
Alexey Kudravtsev [Fri, 16 Sep 2022 14:14:17 +0000 (16:14 +0200)]
tighten contract to allow waiting for unresolved reference quick fixes outside EDT only, to avoid accidental freezes

GitOrigin-RevId: 2c1a473245fbd5330252265ac8cb5707ba087cf4

12 days ago[android] cleanup: get rid of deprecated API's usage (IDEA-295370)
Nikolay Chashnikov [Fri, 16 Sep 2022 10:33:50 +0000 (12:33 +0200)]
[android] cleanup: get rid of deprecated API's usage (IDEA-295370)

GitOrigin-RevId: 7b67a586273dd76a2db757663c3d9325203029bc

13 days ago[kotlin] Get rid of KtStubElementTypes.FILE usages
Vladimir Dolzhenko [Thu, 15 Sep 2022 12:06:29 +0000 (14:06 +0200)]
[kotlin] Get rid of KtStubElementTypes.FILE usages

#KTIJ-22750

GitOrigin-RevId: 8a9aaa4ad963f9d4733141b472f8d04b07d1c4e0

2 weeks agoremove castSafelyTo - don't repeat what language provides, no need to have extra...
Vladimir Krivosheev [Wed, 14 Sep 2022 15:21:51 +0000 (17:21 +0200)]
remove castSafelyTo - don't repeat what language provides, no need to have extra sugar

GitOrigin-RevId: f3f806f032c267c54cfa39f5d7f32a7e0ef4cbb6

2 weeks agobuild: bump mockito to 4.8.0 and add mockito-kotlin
Ivan Semenov [Wed, 14 Sep 2022 16:16:25 +0000 (18:16 +0200)]
build: bump mockito to 4.8.0 and add mockito-kotlin

GitOrigin-RevId: 8605849c1826626dd831ceff629ee159478be2c5

2 weeks agofix - reduce member visibility (public -> private)
Vladimir Krivosheev [Wed, 14 Sep 2022 11:35:02 +0000 (13:35 +0200)]
fix - reduce member visibility (public -> private)

GitOrigin-RevId: fe8a4740e27d192798a9fa55ff41112d1b633e49

2 weeks agoReplace deprecated Kotlin `sumBy` function usages in whole project
Alexey Belkov [Wed, 14 Sep 2022 12:14:02 +0000 (16:14 +0400)]
Replace deprecated Kotlin `sumBy` function usages in whole project

GitOrigin-RevId: 77796b34c7551144566c0b079c1f2ba825aa96ec

2 weeks agoImprove icon replacing
Alexey Merkulov [Tue, 13 Sep 2022 12:06:56 +0000 (14:06 +0200)]
Improve icon replacing

GitOrigin-RevId: efc532d017d327aab7fc27e18a9bd2f43e313732

2 weeks agoextract NamedColorUtil (part 2)
Vladimir Krivosheev [Tue, 13 Sep 2022 18:34:24 +0000 (20:34 +0200)]
extract NamedColorUtil (part 2)

GitOrigin-RevId: e450e634fa8ad1654da51d6a5dd8c9d59d425ff3

2 weeks agoextract NamedColorUtil
Vladimir Krivosheev [Tue, 13 Sep 2022 18:06:22 +0000 (20:06 +0200)]
extract NamedColorUtil

GitOrigin-RevId: 9ed3b12688ad37e254f1e17a25b3f11ffeebd18e

2 weeks agoextract SwingUndoUtil
Vladimir Krivosheev [Tue, 13 Sep 2022 17:25:31 +0000 (19:25 +0200)]
extract SwingUndoUtil

GitOrigin-RevId: b6be9fc1750da4aa1753863d2dc7d1c476afd126

2 weeks agoReplace deprecated usages of kotlin.Char.toInt() in whole project
Alexey Belkov [Tue, 13 Sep 2022 15:21:49 +0000 (19:21 +0400)]
Replace deprecated usages of kotlin.Char.toInt() in whole project

GitOrigin-RevId: b6e767c3c08811a5c22d7b80c72b3ff09d3f957b

2 weeks agoUX-706 popup advertiser API refactoring
Dmitry Krasilschikov [Tue, 13 Sep 2022 08:19:19 +0000 (11:19 +0300)]
UX-706 popup advertiser API refactoring

GitOrigin-RevId: e7c21c5ed2cccd2b1eb079ee1f77ba0167a18ee2

2 weeks agoUX-706 don't break backward compatibility - `AbstractPopup.init()` to be intact
Dmitry Krasilschikov [Mon, 12 Sep 2022 19:48:16 +0000 (22:48 +0300)]
UX-706 don't break backward compatibility - `AbstractPopup.init()` to be intact

GitOrigin-RevId: 80e1c22ee102e2717bcf3566a7a4fff4a9af0625

2 weeks agohttps://github.com/JetBrains/intellij-community/pull/2125
Nathan Paige [Thu, 8 Sep 2022 14:39:46 +0000 (16:39 +0200)]
https://github.com/JetBrains/intellij-community/pull/2125

GitOrigin-RevId: 842017b398157d9b9802d55b0d77a239f5074a76

2 weeks agoIDEA-299994 highlighting: reduce UnresolvedReferenceQuickFixProvider calls
Alexey Kudravtsev [Mon, 12 Sep 2022 13:29:56 +0000 (15:29 +0200)]
IDEA-299994 highlighting: reduce UnresolvedReferenceQuickFixProvider calls

Before: query UnresolvedReferenceQuickFixProvider for each HighlightInfo containing unresolved reference.
After: make these UnresolvedReferenceQuickFixProvider calls lazy and backgroundable. Instead of (synchronously) calling UnresolvedReferenceQuickFixProvider
whenever the unresolved reference is encountered, the highlighting now calls UnresolvedReferenceQuickFixUpdater.registerQuickFixesLater().
Then the highlighting subsystem tries to compute quick fixes for these HighlightInfos by calling UnresolvedQuickFixProvider in background, irrespective of the current highlighting session.
This background computation tries to compute quick fixes for the current caret position first, and it doesn't compute them at all for HighlightInfos far enough from the caret, in hope they won't be needed.
In case the client does need these quickfixes, e.g, in case when the user pressed Alt-Enter or in tests, it should call UnresolvedReferenceQuickFixUpdater.waitQuickFixesSynchronously()

GitOrigin-RevId: 510b0d9942e0226a8953d5195c98fb9f5ec68c33

2 weeks agoupdate libs
Vladimir Krivosheev [Sat, 10 Sep 2022 13:19:28 +0000 (15:19 +0200)]
update libs

GitOrigin-RevId: 595669d91428fd150ad697e5cb7a58af92da3cd0

2 weeks agoIJP-1342: Add `UnindexedFilesUpdater` as a light-weight facade for UnindexedFilesScanner
Andrei Kuznetsov [Tue, 30 Aug 2022 10:31:07 +0000 (13:31 +0300)]
IJP-1342: Add `UnindexedFilesUpdater` as a light-weight facade for UnindexedFilesScanner

GitOrigin-RevId: d038af656e122e89cf47739a8dbd7710c192cf53

2 weeks agoRename Android configurable: Live Edit > Compose Live Edit
Andrei Kuznetsov [Tue, 30 Aug 2022 09:33:39 +0000 (12:33 +0300)]
Rename Android configurable: Live Edit > Compose Live Edit

GitOrigin-RevId: d5e7892bbbb372af202c106c842991553f1b6e87

2 weeks agoIDEA-296920 Disable showing view mode actions in editor tabs for split editors from...
Konstantin Hudyakov [Fri, 9 Sep 2022 08:50:33 +0000 (11:50 +0300)]
IDEA-296920 Disable showing view mode actions in editor tabs for split editors from Android

It is temporary solution before responsible person will decide where to show view mode actions.

GitOrigin-RevId: 579e3c16c657791792193e12516dc4df69eae9c0

3 weeks agoIDEA-299165 Update text styles and usages of JBFont class
Pavel Porvatov [Wed, 7 Sep 2022 17:22:31 +0000 (19:22 +0200)]
IDEA-299165 Update text styles and usages of JBFont class

GitOrigin-RevId: 393eec50321877c2a7490b957ff2810e968ce857

3 weeks agoKMA-489 Fix tests
Vyacheslav Karpukhin [Wed, 7 Sep 2022 14:50:24 +0000 (16:50 +0200)]
KMA-489 Fix tests

GitOrigin-RevId: 22a2d26e5ba65b26d27569cd6420d700732ccc82

3 weeks agoKMA-489 Cannot select different run destination for iOS target when opening project...
Vyacheslav Karpukhin [Tue, 6 Sep 2022 19:20:01 +0000 (21:20 +0200)]
KMA-489 Cannot select different run destination for iOS target when opening project with Android part in KMM IDE

GitOrigin-RevId: f9439d3750cc7b194cf32a6a7726e4c4ed38f9f7

3 weeks ago[android] cleanup: get rid of usage of some deprecated APIs (IDEA-295370)
Nikolay Chashnikov [Mon, 5 Sep 2022 16:36:45 +0000 (18:36 +0200)]
[android] cleanup: get rid of usage of some deprecated APIs (IDEA-295370)

GitOrigin-RevId: 8b2dbc5074197bd332dff081d2fbccece13f9cf5

3 weeks ago[android] Avoid spawning a write action during intention preview
Tagir Valeev [Mon, 5 Sep 2022 11:20:35 +0000 (13:20 +0200)]
[android] Avoid spawning a write action during intention preview

GitOrigin-RevId: d564138aeaa41da323c1e5ceb391e14fb40fee87

3 weeks agocleanup
Vladimir Krivosheev [Sun, 4 Sep 2022 17:02:12 +0000 (19:02 +0200)]
cleanup

GitOrigin-RevId: 8c592928b216be6d7a3e7d24e943a77cd83e29a4

3 weeks ago[kotlin] K2 inspection: handle wrap-unary-operation-inspection
Jaebaek Seo [Tue, 23 Aug 2022 21:02:32 +0000 (06:02 +0900)]
[kotlin] K2 inspection: handle wrap-unary-operation-inspection

GitOrigin-RevId: 7ce01c09484b7cac18550db16cf141dbf3def647

3 weeks agoLazy API for FUS data collection; use it for action execution/update logging
Dmitry Jemerov [Thu, 1 Sep 2022 14:30:09 +0000 (16:30 +0200)]
Lazy API for FUS data collection; use it for action execution/update logging

GitOrigin-RevId: 2fd38cc4c7b229a53e0a2fa7b6ba30a15c05633b

3 weeks agoHighlightInfo: encapsulate quickfixRanges/Markers to avoid overexposure which leads...
Alexey Kudravtsev [Fri, 2 Sep 2022 09:41:35 +0000 (11:41 +0200)]
HighlightInfo: encapsulate quickfixRanges/Markers to avoid overexposure which leads to thread-safety problems and prevents refactoring to lazy quickfixes

GitOrigin-RevId: e255ebe5a4d07507c94be43c9bfc672dfc1309b0

3 weeks agoswitch object node children implementation to map when child count > 500 to prevent...
Dmitry Batkovich [Mon, 29 Aug 2022 10:49:54 +0000 (12:49 +0200)]
switch object node children implementation to map when child count > 500 to prevent child linear search while adding new children

GitOrigin-RevId: a7ee721fce17d681ae7bd03a4c4cdff3b22358a3

3 weeks ago[Workspace Model] [IDEA-300904] Remove content root sorting 223.im/rider-71551.remote-dev.wsl
Alex Plate [Thu, 1 Sep 2022 12:03:39 +0000 (15:03 +0300)]
[Workspace Model] [IDEA-300904] Remove content root sorting

GitOrigin-RevId: 9c20d5a79df9667527453037f62e11e63664ad5b

4 weeks agoRefactor TreeSpeedSearch: use better constructor (2)
Leonid Bushuev [Wed, 31 Aug 2022 15:38:58 +0000 (17:38 +0200)]
Refactor TreeSpeedSearch: use better constructor (2)

GitOrigin-RevId: a168ca2e7ebdca20160072b62622db79aac9c60e

4 weeks agoRefactor TreeSpeedSearch: use better constructor (1)
Leonid Bushuev [Wed, 31 Aug 2022 15:17:27 +0000 (17:17 +0200)]
Refactor TreeSpeedSearch: use better constructor (1)

GitOrigin-RevId: e0b52dcd3f2d44e272123b7679729c102dbbac06

4 weeks ago[android] IDEA-300954 Compute ProjectTypes on-the-fly
Yuriy Artamonov [Wed, 31 Aug 2022 10:40:32 +0000 (12:40 +0200)]
[android] IDEA-300954 Compute ProjectTypes on-the-fly

GitOrigin-RevId: 3f054b207acc901aac1dd2797ce47ba1f8840801

4 weeks agoIDEA-299900 Main toolbar. Customization: API for customization in plugins/IDE
Mikhail Sokolov [Wed, 31 Aug 2022 10:42:31 +0000 (12:42 +0200)]
IDEA-299900 Main toolbar. Customization: API for customization in plugins/IDE

GitOrigin-RevId: 0c8de19ee5f5963ca0ab10c9b016e4d14df2fd7c

4 weeks ago[android] IDEA-300954 Decrease performance effect of Android Lint inspections
Yuriy Artamonov [Tue, 30 Aug 2022 17:49:50 +0000 (19:49 +0200)]
[android] IDEA-300954 Decrease performance effect of Android Lint inspections

GitOrigin-RevId: 8d1223c488ce62edb5117e61f9b549d6f8e928c7

4 weeks ago[core] *RegistryManager moved to intellij.platform.core
Andrew Kozlov [Mon, 29 Aug 2022 16:51:22 +0000 (18:51 +0200)]
[core] *RegistryManager moved to intellij.platform.core

GitOrigin-RevId: 7a91ec370fb4b6482f8c6ed02327d07915ce1fa9

4 weeks agoIDEA-299045: Android Device Manager should be available in non-android projects ...
Andrei Kuznetsov [Mon, 29 Aug 2022 14:37:31 +0000 (17:37 +0300)]
IDEA-299045: Android Device Manager should be available in non-android projects (e.g. Flutter)

GitOrigin-RevId: f7f5bbf48e3843ad60255b83a4359728f64a32a9

4 weeks agoAndroid: migrate deprecated `ContentFactory.SERVICE.getInstance() > ContentFactory...
Andrei Kuznetsov [Mon, 29 Aug 2022 14:36:33 +0000 (17:36 +0300)]
Android: migrate deprecated `ContentFactory.SERVICE.getInstance() > ContentFactory.getInstance()`

GitOrigin-RevId: c8a7d0229b9fa629d6fe98568f4a1d724293742f

4 weeks agoMove Android DeviceManagerAction to BGT
Andrei Kuznetsov [Mon, 29 Aug 2022 14:35:49 +0000 (17:35 +0300)]
Move Android DeviceManagerAction to BGT

GitOrigin-RevId: 7b40abbbba148f326f66a78f7deef3edfaaa1877

4 weeks agoIDEA-300767: Move Android's CodeSwapAction to BGT and make sure that it does not...
Andrei Kuznetsov [Mon, 29 Aug 2022 09:33:26 +0000 (12:33 +0300)]
IDEA-300767: Move Android's CodeSwapAction to BGT and make sure that it does not create heavy RunManager during `update`

GitOrigin-RevId: d0a4fb90a530115602c117570aebdcf26cdd7470

4 weeks agoAvoid slow operations in Android's `DeviceManagerAction#update`
Andrei Kuznetsov [Mon, 29 Aug 2022 09:32:08 +0000 (12:32 +0300)]
Avoid slow operations in Android's `DeviceManagerAction#update`

GitOrigin-RevId: a40a61245fa38f85cc1b25531e25ccd1fad86e85

4 weeks agofix incorrect get calls
Vladimir Krivosheev [Sat, 27 Aug 2022 09:34:00 +0000 (11:34 +0200)]
fix incorrect get calls

GitOrigin-RevId: abea0c22c0578eb546cae4cca6b6837a35b45323

4 weeks agodon't use trove (part 5)
Vladimir Krivosheev [Fri, 26 Aug 2022 15:55:29 +0000 (17:55 +0200)]
don't use trove (part 5)

GitOrigin-RevId: 772e3464b8b9c302327b53822833573c05f1df0e

4 weeks agoremove unused trove classes
Vladimir Krivosheev [Fri, 26 Aug 2022 15:02:15 +0000 (17:02 +0200)]
remove unused trove classes

GitOrigin-RevId: b52e29a744d00b2616662b6e7562d7ec8dd07845

4 weeks agoconvert trove from library to a project module (to be able to remove unused classes...
Vladimir Krivosheev [Fri, 26 Aug 2022 14:07:52 +0000 (16:07 +0200)]
convert trove from library to a project module (to be able to remove unused classes, and deprecate the rest) (part 2)

GitOrigin-RevId: c8d131425de7f115dee0239e0d484305316138f5

4 weeks agodon't use trove (part 3)
Vladimir Krivosheev [Fri, 26 Aug 2022 13:47:15 +0000 (15:47 +0200)]
don't use trove (part 3)

GitOrigin-RevId: 77b5b915a5f0e8da2b034673fe1f37212ac93088

4 weeks agodon't use trove (part 2)
Vladimir Krivosheev [Fri, 26 Aug 2022 09:57:21 +0000 (11:57 +0200)]
don't use trove (part 2)

GitOrigin-RevId: b57feea4f4fe7713c64166197d795600433e55fc

4 weeks ago[android] get rid of usages of deprecated ProjectFileIndex::getPackageNameByDirectory...
Nikolay Chashnikov [Fri, 26 Aug 2022 16:00:06 +0000 (18:00 +0200)]
[android] get rid of usages of deprecated ProjectFileIndex::getPackageNameByDirectory method

GitOrigin-RevId: ab165db52ee6ba8695f0b914bbd8f1470b1848b2

4 weeks agoFix HTML formatting in compose preview inspections
Andrei Kuznetsov [Fri, 26 Aug 2022 16:50:01 +0000 (19:50 +0300)]
Fix HTML formatting in compose preview inspections

GitOrigin-RevId: 8ab1ee7b746244cda0c1e178acee123bbbb53a9a

4 weeks agoIDEA-300608: fix missing descriptions for compose preview inspections
Andrei Kuznetsov [Fri, 26 Aug 2022 16:49:04 +0000 (19:49 +0300)]
IDEA-300608: fix missing descriptions for compose preview inspections

GitOrigin-RevId: 014dcae2112465a772d53735fa2cf9c5bb132deb

4 weeks agoCleanup AndroidSdkPathStore in the end of a test whenever Android SDKs are cleaned up
Andrei Kuznetsov [Thu, 25 Aug 2022 17:11:21 +0000 (20:11 +0300)]
Cleanup AndroidSdkPathStore in the end of a test whenever Android SDKs are cleaned up

GitOrigin-RevId: 90cec14de10ba600a65a8ee70213e069d5b49f67

4 weeks ago[android] get rid of usages of DirectoryIndex class
Nikolay Chashnikov [Fri, 26 Aug 2022 10:11:06 +0000 (12:11 +0200)]
[android] get rid of usages of DirectoryIndex class

The class is internal and isn't supposed to be used from plugins. Its API may change while we are working on updating the underlying structures incrementally (IDEA-276394).

GitOrigin-RevId: 79c054fa43fbd0986024dbbf540b276a516d249a

4 weeks agodon't trigger RunManager initialization as part of action update
Vladimir Krivosheev [Fri, 26 Aug 2022 06:41:17 +0000 (08:41 +0200)]
don't trigger RunManager initialization as part of action update

GitOrigin-RevId: aeea5beb66476dff9038fb64fad4028c00832c72

4 weeks agodeprecate Stream<T> extensions(@Nullable AreaInstance areaInstance)
Vladimir Krivosheev [Thu, 25 Aug 2022 15:45:21 +0000 (17:45 +0200)]
deprecate Stream<T> extensions(@Nullable AreaInstance areaInstance)

GitOrigin-RevId: b74eda1da06cbeb38db86f4d94b12eb524655a1d

4 weeks agobuild scripts: groovy mentions dropped from docs and source folders
Dmitriy.Panov [Thu, 25 Aug 2022 11:56:06 +0000 (13:56 +0200)]
build scripts: groovy mentions dropped from docs and source folders

GitOrigin-RevId: f2e90d0b817c082362495cd277c55e415aebd4b0

4 weeks agocleanup
Vladimir Krivosheev [Thu, 25 Aug 2022 15:24:59 +0000 (17:24 +0200)]
cleanup

GitOrigin-RevId: 30b2d8f56536b5bd1e33413d778b60596310b8af

4 weeks agocleanup
Vladimir Krivosheev [Thu, 25 Aug 2022 14:51:49 +0000 (16:51 +0200)]
cleanup

GitOrigin-RevId: bfa8dcc943d14663c8da040717b8acb70a3dad01

4 weeks agoIDEA-298480: `Android.SyncProject` is not needed in IDEA
Andrei Kuznetsov [Thu, 25 Aug 2022 15:14:15 +0000 (18:14 +0300)]
IDEA-298480: `Android.SyncProject` is not needed in IDEA

Additionally, it updates on EDT and causes 200ms freezes

GitOrigin-RevId: 7835425586b90ba3ecd6a5fafe63374495fb5bb9

4 weeks agoSimplify running Android tests requiring JDK 1.8
Andrei Kuznetsov [Thu, 25 Aug 2022 15:10:28 +0000 (18:10 +0300)]
Simplify running Android tests requiring JDK 1.8

GitOrigin-RevId: 3decfeb9d9a991d3034efeaef2dd2e5a6ee13616

4 weeks agoKTIJ-22582 'androidTestImplementation' dependency is added instead of 'testImplementa...
Andrei Kuznetsov [Thu, 25 Aug 2022 14:40:10 +0000 (17:40 +0300)]
KTIJ-22582 'androidTestImplementation' dependency is added instead of 'testImplementation' in pure kotlin/java projects

GitOrigin-RevId: 04d20936e8c3b0b5491a8bf6d494504c8998ff00

4 weeks agoIDEA-300468: move `android.ApplyChangesAction` to `BGT`
Andrei Kuznetsov [Tue, 23 Aug 2022 11:45:50 +0000 (14:45 +0300)]
IDEA-300468: move `android.ApplyChangesAction` to `BGT`

GitOrigin-RevId: dee61999e54fd07c6520ec3bfc21bc296e1d5c5d

4 weeks agoIcon class should be not used directly and should be located in ui but not generic...
Vladimir Krivosheev [Thu, 25 Aug 2022 11:35:12 +0000 (13:35 +0200)]
Icon class should be not used directly and should be located in ui but not generic modules (part 2)

GitOrigin-RevId: e384c1191db993a22286f1c7f2f6f83e410a4a5e

4 weeks agoAndroid: ignore tests with FakeAdbRule because they hangs
Andrei Kuznetsov [Thu, 25 Aug 2022 12:11:46 +0000 (15:11 +0300)]
Android: ignore tests with FakeAdbRule because they hangs

GitOrigin-RevId: 9e227634afde4a113d45dd049941d356eac5bf6e

4 weeks agoXmlElementVisitor: notnull
Alexey Kudravtsev [Wed, 24 Aug 2022 14:56:43 +0000 (16:56 +0200)]
XmlElementVisitor: notnull

GitOrigin-RevId: 4f180fea2d553e29de956fb0f45d27c33ff6cf28

5 weeks agoIcon class should be not used directly and should be located in ui but not generic...
Vladimir Krivosheev [Wed, 24 Aug 2022 16:11:20 +0000 (18:11 +0200)]
Icon class should be not used directly and should be located in ui but not generic modules

GitOrigin-RevId: 4c3b4a1ec67a88fb32df9cd618a4fe42ed4423ed

5 weeks agoAdd popup data context handler
Pavel Gromov [Wed, 17 Aug 2022 15:54:31 +0000 (17:54 +0200)]
Add popup data context handler

GitOrigin-RevId: c36be6f0c49df8aa1bb5f654e04e227a6c5a2541

5 weeks agocleanup
Alexey Kudravtsev [Wed, 24 Aug 2022 11:45:59 +0000 (13:45 +0200)]
cleanup

GitOrigin-RevId: a60377ec87e4ba2344f69b9e8d888972fd5ed201

5 weeks agoIDEA-300043 [kotlin] kotlin.gradle.gradle-tooling.impl is packaged to a separate...
Andrew Kozlov [Mon, 22 Aug 2022 17:14:18 +0000 (19:14 +0200)]
IDEA-300043 [kotlin] kotlin.gradle.gradle-tooling.impl is packaged to a separate jar file

the jar file is used by the Gradle daemon

reverts c65324a765045db0be63c4ab58cbb5b9dd57973c

GitOrigin-RevId: 6a203453a0db36de841dbd650356796f95c40af9

5 weeks ago[android] correct test data after fixing IDEA-297059
Nikolay Chashnikov [Tue, 23 Aug 2022 07:23:02 +0000 (09:23 +0200)]
[android] correct test data after fixing IDEA-297059

OrderEnumerator::classes().urls calls now properly include custom output paths for Gradle projects.

GitOrigin-RevId: 69ec1b3102c718d58caed543ce1afe530205e978

5 weeks agoAndroid: avoid duplicate `gradle-dsl.xml` in test classpath
Andrei Kuznetsov [Tue, 23 Aug 2022 10:34:58 +0000 (13:34 +0300)]
Android: avoid duplicate `gradle-dsl.xml` in test classpath

GitOrigin-RevId: 55132558f49e5f78f5be4918f782375403d32860

5 weeks agoSimplify running of Android tests locally: add corretto-11 JDK autodiscovery in tests
Andrei Kuznetsov [Mon, 22 Aug 2022 15:49:25 +0000 (18:49 +0300)]
Simplify running of Android tests locally: add corretto-11 JDK autodiscovery in tests

GitOrigin-RevId: 2382053cdc948b802e53a3f5cbbabaa1a87d642a

5 weeks agoLet Android SDK be discoverable in tests
Andrei Kuznetsov [Mon, 22 Aug 2022 15:28:13 +0000 (18:28 +0300)]
Let Android SDK be discoverable in tests

GitOrigin-RevId: b0fac0a08d9790757de4cb03bb5143ba4c2ff713

5 weeks agomark inappropriate constructor as NonInjectable
Vladimir Krivosheev [Mon, 22 Aug 2022 13:12:56 +0000 (15:12 +0200)]
mark inappropriate constructor as NonInjectable

GitOrigin-RevId: 1c101a5da9a871ebdcdda9c1e751e0721095471c

5 weeks ago[android] IDEA-299244 Intentions should not be instantiated on Alt-Enter in unrelated...
Yuriy Artamonov [Mon, 22 Aug 2022 11:51:15 +0000 (13:51 +0200)]
[android] IDEA-299244 Intentions should not be instantiated on Alt-Enter in unrelated file types

GitOrigin-RevId: 89741601173860ae9ba7365b6bf3d51a2899c3dd

5 weeks agoCleanup: remove obsolete comment
Andrei Kuznetsov [Mon, 22 Aug 2022 11:44:27 +0000 (14:44 +0300)]
Cleanup: remove obsolete comment

GitOrigin-RevId: 73d52c39c62841af989275586195d9f800fd619e

5 weeks agoIDEA-299045: make emulator toolwindow available in IDEA for non-Android projects...
Andrei Kuznetsov [Mon, 22 Aug 2022 11:27:26 +0000 (14:27 +0300)]
IDEA-299045: make emulator toolwindow available in IDEA for non-Android projects if Android SDK is configured

GitOrigin-RevId: 15db284b8c09b7ff3fa9f8c9086ed79e6adf672d

5 weeks agoHide android-specific toolwindows if Android SDK is not configured (e.g. in IDEA)
Andrei Kuznetsov [Mon, 22 Aug 2022 11:21:59 +0000 (14:21 +0300)]
Hide android-specific toolwindows if Android SDK is not configured (e.g. in IDEA)

GitOrigin-RevId: 537feb85086e8ff1e5cb18083dd866b4840e0aac

5 weeks agoSimplify Android SDK lookup: use user-configured location instead of guessing algorithm
Andrei Kuznetsov [Mon, 22 Aug 2022 11:20:40 +0000 (14:20 +0300)]
Simplify Android SDK lookup: use user-configured location instead of guessing algorithm

GitOrigin-RevId: 5dbf4d80f73395e326e40c9bf4fc20af45cb4afb

5 weeks ago[android] IDEA-299244 Intentions should not be instantiated on Alt-Enter in unrelated...
Yuriy Artamonov [Sat, 20 Aug 2022 18:44:50 +0000 (20:44 +0200)]
[android] IDEA-299244 Intentions should not be instantiated on Alt-Enter in unrelated file types

GitOrigin-RevId: 2c2fd05aef39a2620e2ddb10b120f948bca8de57

5 weeks ago[android] Do not init BuildAttributionUiAnalytics from OpenBuildAnalyzerAction update
Yuriy Artamonov [Sat, 20 Aug 2022 12:05:53 +0000 (14:05 +0200)]
[android] Do not init BuildAttributionUiAnalytics from OpenBuildAnalyzerAction update

GitOrigin-RevId: acd1eeacd5358501653108649dc675fbc940093c

5 weeks ago[android] IDEA-298969 Lint global inspections all eagerly instantiated because groupN...
Yuriy Artamonov [Fri, 19 Aug 2022 13:30:16 +0000 (15:30 +0200)]
[android] IDEA-298969 Lint global inspections all eagerly instantiated because groupName is not specified in plugin.xml

GitOrigin-RevId: cdcd224bbf57aa1fc6e269bc9e9d8f125a12f19e

5 weeks agoRe-format `android.sdktools.repository.iml`
Andrei Kuznetsov [Fri, 19 Aug 2022 11:49:54 +0000 (14:49 +0300)]
Re-format `android.sdktools.repository.iml`

GitOrigin-RevId: 6525540bba0adbdfbb17cc4535f017f0bbdf5fe0

5 weeks ago[KTIJ-22511][KTIJ-22410] Simple support for Multiplatform/Android SourceSetLayout...
Sebastian Sellmair [Thu, 18 Aug 2022 10:07:46 +0000 (12:07 +0200)]
[KTIJ-22511][KTIJ-22410] Simple support for Multiplatform/Android SourceSetLayout V2 (based on AS EE)

Original Commit bringing support: b9876107a38b9e2e255af602c3bfa6471134aead

GitOrigin-RevId: 5c4ec801a08a1e96f8a9d70bb51949bea2c85553

5 weeks ago[KTIJ-22511] Fix .KT42392BadDependencyOnForeignCommonTest85#testKT42392BadDependencyO...
sebastian.sellmair [Wed, 17 Aug 2022 15:28:43 +0000 (17:28 +0200)]
[KTIJ-22511] Fix .KT42392BadDependencyOnForeignCommonTest85#testKT42392BadDependencyOnForeignCommonTest

... by invoking the nextResolver in AndroidGradleProjectResolver before creating the 'libraryResolver'

GitOrigin-RevId: 069459a720bf0ae19b1113c386205c96799bfb92

5 weeks agoMerge remote-tracking branch 'origin/master' into ank/merge.221.0.9
Andrei Kuznetsov [Fri, 19 Aug 2022 09:23:39 +0000 (12:23 +0300)]
Merge remote-tracking branch 'origin/master' into ank/merge.221.0.9

GitOrigin-RevId: ee545958678eb6a7507d384bdd23a1beee778d85

5 weeks agoIDEA-296909 Editor banners: implement statuses
Alexander Lobas [Fri, 19 Aug 2022 07:26:31 +0000 (09:26 +0200)]
IDEA-296909 Editor banners: implement statuses

GitOrigin-RevId: a61cc409ba89623256bd777edf014c8d22f42f79

5 weeks agoIDEA-296909 Editor banners: implement statuses
Alexander Lobas [Fri, 19 Aug 2022 07:18:42 +0000 (09:18 +0200)]
IDEA-296909 Editor banners: implement statuses

GitOrigin-RevId: 134f27351ac4b0e7e1c8f7d468112fab8ee0e6eb

5 weeks agoAndroid: delete unneeded kotlin facets from `android.sdktools.*` modules
Andrei Kuznetsov [Fri, 19 Aug 2022 05:57:22 +0000 (08:57 +0300)]
Android: delete unneeded kotlin facets from `android.sdktools.*` modules

GitOrigin-RevId: fe68c90953827b11d05863525f4ac6b11ace1640

5 weeks ago[tests] make file comparison failure available in testFramework
Anna Kozlova [Tue, 16 Aug 2022 12:06:50 +0000 (14:06 +0200)]
[tests] make file comparison failure available in testFramework

GitOrigin-RevId: 156a9be97c78b33c663dea0f2554fd6c3b9ea0f4