Commit Graph

623 Commits

Author SHA1 Message Date
Anton Makeev
aa103fd53c Merge branch 'master' into amakeev/gradle
# Conflicts:
#	community/plugins/gradle/src/org/jetbrains/plugins/gradle/service/settings/IdeaGradleProjectSettingsControlBuilder.java

GitOrigin-RevId: d931e798108685731bf185f7c2e3221680b8e5a2
2019-05-17 19:11:16 +03:00
Anton Makeev
b54aaf7e4e IDEA-210281 Cleanup Gradle settings: separate Runner configurable removed
GitOrigin-RevId: adbc39121fe91beb633e125b4cf39bfe0a422e4b
2019-05-17 19:02:16 +03:00
Dmitry Batkovich
daa8dbe15b extract interface PsiDependentFileContent from FileContentImpl with psi-related methods
GitOrigin-RevId: 773ecbc8170d78520fdaab6ebe973bec59acaa22
2019-05-17 16:12:16 +03:00
Alexey Kudravtsev
44c620df51 add PECS wildcards to method signatures where necessary and where methods are not overridden by plugins
GitOrigin-RevId: 1ec7f1a1aa17d2d4f42e647207323ab8a3138683
2019-05-13 17:06:40 +03:00
Dmitry Avdeev
83f21c7197 Merge remote-tracking branch 'origin/master'
GitOrigin-RevId: 211e84dab4063848c1d3d835a526271ee1466636
2019-05-07 17:03:19 +03:00
Dmitry Avdeev
f9664fc455 IDEA-211555 Freeze on completion in XML file
do not process xincludes in ExtensionDomExtender

GitOrigin-RevId: d631dcd52d5bf500b61960473e16237008ad02a3
2019-05-07 17:02:41 +03:00
Vladimir Krivosheev
20e6ded163 use Collections.singletonList instead of Arrays.asList if possible
GitOrigin-RevId: db1f386101341ad49c99a602b259d1e366d7353a
2019-05-03 17:03:55 +03:00
Vladimir Krivosheev
0b3dcb88e5 deprecate ContainerUtil.newLinkedHashSet(), ContainerUtilRt.newHashSet(), ContainerUtil.newTroveSet()
GitOrigin-RevId: 2ac00306d2d7f322a3d95348c7fc1ca5c65ce12a
2019-05-03 15:03:33 +03:00
Vladimir Krivosheev
93f7a92521 deprecate ContainerUtil.newHashSet()
GitOrigin-RevId: e6c0562c868c61db16ce950bd24a22164bb6c926
2019-05-03 14:02:51 +03:00
Vladimir Krivosheev
0a61137281 deprecate ContainerUtil.newHashMap()
GitOrigin-RevId: c6cc0b27714e90377265aff95c36b5ebdc4487e4
2019-05-03 13:03:35 +03:00
Vladimir Krivosheev
190a5018d5 deprecate ContainerUtil.newTroveMap()
GitOrigin-RevId: 09adba096813d93d5c93ddc385c1729bc23bd4a3
2019-05-03 12:05:21 +03:00
Aleksey Pivovarov
322db66a12 Recover after problematic merge
This commit reverts 65a557bb38f6ac03afa9aabaf02cb8d99fc68a91
                    3f5cfd958d9b6b54393c15983ac94f519c37fe61

GitOrigin-RevId: 8fb8ccbb17d0e217a83f265c185a943b0f5a7ed6
2019-05-03 01:52:21 +03:00
Nicolay Mitropolsky
9b850726ee [uast-groovy] UInjectionHost support
GitOrigin-RevId: 49ec454d1831796fa63b77fdc965f61985bf877e
2019-05-03 01:47:46 +03:00
Vladimir Plyashkun
c33e69a545 CPP-16098 - Lags during inplace rename typing
- reverted some of the changes

GitOrigin-RevId: c7c07b80a76c29794ef31e0e916e62f7f302917a
2019-05-03 01:47:14 +03:00
Leonid Bushuev
34be4bbf7d Apply the change from Develar: cleanup - specify UTF_8 charset explicitly
GitOrigin-RevId: 3f5cfd958d9b6b54393c15983ac94f519c37fe61
2019-05-03 01:46:11 +03:00
Vladimir Plyashkun
61a3e18b78 Merge branch 'master' into vplyashkun/inplace_rename_lags
GitOrigin-RevId: aaecc2a32e4e42de827efb45b8df733874a722e4
2019-05-03 01:41:29 +03:00
Leonid Bushuev
970dc0fe32 Remove unnecessary downcasting
GitOrigin-RevId: b91110977db6e5b08d9f4aaffa8496d305d698e2
2019-05-03 01:40:23 +03:00
Vladimir Plyashkun
2d9369d983 CPP-16098 - Lags during inplace rename typing
- changed behaviour in safe way by introducing new method to check that particular expression does not depend
  on committed PSI

GitOrigin-RevId: f5ec732613cdafdcef8a1d48eb8d04135c634047
2019-05-03 01:39:50 +03:00
Leonid Bushuev
338ad6db56 SQL code style per dialect: UI: fix indent editor
GitOrigin-RevId: 3cb00f5c500523717c42f404b2f38fd1822d6db0
2019-05-03 01:39:18 +03:00
Vladimir Plyashkun
d990d75dba Merge branch 'master' into vplyashkun/inplace_rename_lags
GitOrigin-RevId: 5c7f8c478e7328df1646879ede977efd7465adf8
2019-05-03 01:38:45 +03:00
Leonid Bushuev
9f35a30458 SQL code style per dialect: UI
GitOrigin-RevId: 72cca4d6a23a5e2aa2089c03932ab2e9d08bfa48
2019-05-03 01:36:24 +03:00
Tagir Valeev
884ee2423a PsiNewExpression#isArrayCreation used
GitOrigin-RevId: 2d669600fe6ecbc552ed7e4043314c6a67f3ac8e
2019-04-29 12:34:23 +03:00
peter
28a5a5765f IDEA-211449 IDEA is unable to find lambda implementations when invoked on library class source
GitOrigin-RevId: 8fd904e0dae62c5b15f9b85fe2086860bf89b4d0
2019-04-28 17:13:28 +03:00
peter
d841318606 add LightTreeUtil.processLeavesAtOffsets to speed up indices that walk text occurrences (IDEA-211564)
GitOrigin-RevId: cdc48ae3679e43a5ca7b87d0c371ecb6ab78cc19
2019-04-28 16:49:02 +03:00
Tagir Valeev
8f4ed82473 Merge remote-tracking branch 'origin/master'
GitOrigin-RevId: 4aa2198b0e40383875028553977a5721ba77766d
2019-04-23 13:19:45 +03:00
Gregory.Shrago
6e9c41dfed inline FileBasedIndex#ourEnableTracingOfKeyHashToVirtualFileMapping 2019-04-18 17:16:08 +03:00
peter
bd509e9bc3 don't call expensive getResolveScope when searching for all annotations (IDEA-210550) 2019-04-12 19:40:01 +02:00
peter
e252cd0863 remove the remainder of stub hierarchy, not used in known plugins anymore 2019-04-01 16:03:15 +02:00
peter
c00f4154cf IDEA-209480 Remove stub hierarchy 2019-03-26 09:56:16 +01:00
Tagir Valeev
62bbfeaa3c JavaFunctionalExpressionIndex: support array initializers 2019-03-15 10:45:43 +07:00
Tagir Valeev
d1c3d866bd FunExprOccurrence#canHaveType: fix handling of fully-qualified package names 2019-03-14 15:24:30 +07:00
Tagir Valeev
9ea477649c FunExprOccurrence: fall-back to global members instead of giving up if chain breaks
Reduces number of full PSI queries from 3660 to 3143 in performance test
2019-03-14 14:26:30 +07:00
Yann Cébron
a56724ec15 CompilerReferenceService: fix Javadoc reference 2019-03-08 18:43:31 +01:00
Tagir Valeev
1586b90ba9 ApproximateResolver: fixed superclass substitutor handling (IDEA-CR-44055) 2019-02-27 10:41:58 +07:00
Tagir Valeev
0ed3ca68d3 ApproximateResolver: avoid returning type parameter (IDEA-CR-44055) 2019-02-26 18:00:12 +07:00
Tagir Valeev
a2ee1108dc ApproximateResolver improvements
Support of new/this/ternary qualifiers; substitute return type in trivial case
Reduces number of functions fully checked during "test find functional expressions" from 3650 to 2600 (-29%)
2019-02-26 13:55:43 +07:00
peter
cddf6f3c73 speed up functional expression search by caching applicable members by scope 2019-02-25 19:27:59 +01:00
peter
8bb9a4222b make Query#forEach thread-safe by default
We have too many usages which don't suspect the consumer might be called concurrently on different threads and don't guard against that. And in most cases having mutually-exclusive processing is fine.
2019-02-25 11:59:36 +01:00
Tagir Valeev
094a14783a LambdaUtil#resolveFunctionalInterfaceClass
Could be faster than PsiUtil.resolveClassInClassTypeOnly(expression.getFunctionalInterfaceType())
2019-02-25 17:51:51 +07:00
Alexey Kudravtsev
3bf0e69b7a EA-134680 - CME: JavaDirectInheritorsSearcher.calculateDirectSubClasses 2019-02-16 14:43:56 +03:00
Vladimir Krivosheev
d6f3011893 deprecate ComponentManager.getExtensions 2019-02-08 13:18:45 +01:00
Anna.Kozlova
43148e50fb direct inheritors search: ensure cached value contains results both from compiler refs and source search
if compiler references first produce results, then these results must be included in cache, otherwise, if next time compiler references won't be available, cached value would contain partial (thus invalid) result
2019-01-25 19:52:33 +01:00
Sergey Ignatov
526aa7f91e remove redundant casts 2019-01-23 19:17:38 +03:00
Anna.Kozlova
65ae73a5b7 don't find classes in resource folders
otherwise unpredictable results may occur, e.g. guava has resource root which nearly repeats source root of another module; thus when resolve ends up in resource root, different belongs to checks fail (unpredictably, as there is no well defined order where to resolve in such cases)
2019-01-15 16:34:07 +01:00
nik
d2653869a5 IntelliJ project configuration: rename KotlinJavaRuntime library to kotlin-stdlib-jdk8
For clarity and consistency with artifactId and other Kotlin libraries.
2019-01-11 11:59:04 +03:00
Tagir Valeev
2b15589de8 JavaSimplePropertyIndex: checkQulifiers -> checkQualifiers 2018-12-10 18:19:24 +07:00
peter
2a441cc9a1 don't load all java stub element types when all we need is FILE 2018-12-03 08:30:18 +01:00
Dmitry Batkovich
9b3dd15ace JavaBinaryPlusExpressionIndex: use recursive visitor instead of node resolution by offset (IDEA-202748) 2018-11-30 18:57:32 +03:00
peter
52c5f7e30b more cancellability in JavaBinaryPlusExpressionIndex (IDEA-202748) 2018-11-22 17:47:00 +01:00
Roman Shevchenko
7bbd35ac3d [java] fixes exotic case of failing module resolve (IDEA-201231)
A module was referenced via both class and source roots, so the filter (incorrectly) rejected it.
2018-10-25 18:36:19 +02:00