Commit Graph

33603 Commits

Author SHA1 Message Date
Valentin Kipyatkov 2ca163a375 Better testing via logging of performed operations 2016-08-31 19:12:23 +03:00
Valentin Kipyatkov 1e80ad3f98 Optimization 2016-08-31 19:12:23 +03:00
Valentin Kipyatkov 7a269a00af SAM-adapters supported 2016-08-31 19:12:23 +03:00
Valentin Kipyatkov d0d8ea7c69 Added TODO 2016-08-31 19:12:23 +03:00
Valentin Kipyatkov 1183816b52 Disabled smart search for classes from library 2016-08-31 19:12:23 +03:00
Valentin Kipyatkov 6f21c07b66 Added TODO 2016-08-31 19:12:22 +03:00
Valentin Kipyatkov e00c8d6e05 "!is" in when case 2016-08-31 19:12:22 +03:00
Valentin Kipyatkov 5b3102058c Handling of 2 more class of cases:
1. Function has parameter of functional type with our data class inside
2. Value of data class type used in a call with lambda
2016-08-31 19:12:22 +03:00
Valentin Kipyatkov ca2cd3d656 this@ClassName supported 2016-08-31 19:12:22 +03:00
Valentin Kipyatkov 7687c1646b Supported "is" in when entry condition 2016-08-31 19:12:21 +03:00
Valentin Kipyatkov ecb1910bf2 Different modes of search
Down-shift to plain search in non-test mode if unknown reference encountered
Internal action to check search algorithm
2016-08-31 19:12:21 +03:00
Valentin Kipyatkov d13cdc67f0 Supported usages as doc-comments 2016-08-31 19:12:21 +03:00
Valentin Kipyatkov 696f382291 Supported usages as destructuring declaration for other class 2016-08-31 19:12:21 +03:00
Valentin Kipyatkov 80520b44c0 Plain search inside members and extensions 2016-08-31 19:12:20 +03:00
Valentin Kipyatkov 3910f31de9 Correct processing of "is" check 2016-08-31 19:12:20 +03:00
Valentin Kipyatkov 25ab66053b Added runReadAction (but it's incorrect anyway) 2016-08-31 19:12:20 +03:00
Valentin Kipyatkov 5d427d8d2e Support for 'as' and temporary support for 'is' 2016-08-31 19:12:20 +03:00
Valentin Kipyatkov 1674beb64b Initial implementation of faster component function usage search 2016-08-31 19:12:19 +03:00
Dmitry Jemerov 77bb9b8092 Update the pull request help link (#943) 2016-08-31 12:25:37 +02:00
Zalim Bashorov e456fc540b Increase minimal version of ant (#941) 2016-08-31 13:15:25 +03:00
Alexey Sedunov 4e2c4d941d Rename: Support inplace rename on type parameters 2016-08-31 11:28:04 +03:00
Alexey Sedunov 34c268b08b Quick-Fixes: Do not show Change Signature dialog when applying "Remove parameter" quick-fix 2016-08-31 11:28:03 +03:00
Alexey Sedunov c244baf087 Misc: Improve IDE rendering of type aliases 2016-08-31 11:28:02 +03:00
Alexey Sedunov 3405051bcc Misc: Use default presentation for KtTypeAlias
#KT-13611 Fixed
2016-08-31 11:28:02 +03:00
Morton Fox 61afc7e713 Update the pull request help link 2016-08-31 00:28:28 -04:00
Zalim Bashorov 8393c17df3 Increase minimal version of ant 2016-08-30 21:53:40 +03:00
Alexey Andreev 60a09ecb45 KT-12873: add temporary variables generated by delegation expression to class initializer. Fix #KT-12873 2016-08-30 12:26:06 +03:00
Yan Zhulanow 1a94e2202b Minor: Fix compilation error 2016-08-29 18:30:27 +03:00
Sergey Mashkov 8ae5ecf4ff KT-12810 IDL: support special modifiers(e.g. getter and setter) 2016-08-29 17:56:17 +03:00
Yoshinori Isogai e1eba8f5c8 KT-5193 Make multiline strings foldable (#938)
* KT-5193 Make multiline strings foldable
 #KT-5193 Fixed

* Avoid multiple replace call
2016-08-29 16:52:29 +02:00
Yan Zhulanow 1a1eb7dcfa KT-12303 Pass only relevant annotations to annotation processors
(cherry picked from commit 01742aa)
2016-08-29 16:31:16 +03:00
Yan Zhulanow 7810678389 Kapt: Fix type arguments in JeDeclaredType. In case of type variable, JeTypeVariableType should be returned
(cherry picked from commit ed34ec0)
2016-08-29 16:31:16 +03:00
Yan Zhulanow ebcc762ae9 Kapt: JeTypeElement getInterfaces() and getSuperClass() should provide reference type mirrors
(cherry picked from commit 5f50ab6)
2016-08-29 16:31:16 +03:00
Yan Zhulanow cd44540965 Kapt: Support String[] in annotation proxy
(cherry picked from commit 5e9eab9)
2016-08-29 16:31:16 +03:00
Yan Zhulanow 0042a59fb6 Kapt: Use also the compile classpath, not only apt classpath
(cherry picked from commit d810119)
2016-08-29 16:31:16 +03:00
Yan Zhulanow 1b05c5fb0c Kapt, Gradle: The first dependency is kotlin-annotation-processing (we reuse the old configurations from kapt)
(cherry picked from commit f95a3d1)
2016-08-29 16:31:16 +03:00
Yan Zhulanow a8b577cd09 Kapt: Support nested annotations property.
Also do not rely on Java class comparison, check against qualified names.
(cherry picked from commit 7610945)
2016-08-29 16:31:16 +03:00
Yan Zhulanow 49bd303988 Kapt: Fix broken assertion
(cherry picked from commit 36b0b52)
2016-08-29 16:31:16 +03:00
Yan Zhulanow 46367d720c Kapt: Gradle integration tests for the new kapt
(cherry picked from commit 467d0fd)
2016-08-29 16:31:16 +03:00
Yan Zhulanow 9960e7f7cd Kapt: Get rid of the 'compiler-tests' dependency in 'plugins-tests'
(cherry picked from commit bb370f1)
2016-08-29 16:31:16 +03:00
Yan Zhulanow a9de8ec89b Kapt: compile annotation-processing artifact with target "1.6"
(cherry picked from commit 1391e59)
2016-08-29 16:31:16 +03:00
Yan Zhulanow b13db88e6f Kapt: Make javaCompile parameter in KotlinGradleSubplugin non-null
(cherry picked from commit 9686344)
2016-08-29 16:31:16 +03:00
Yan Zhulanow 46f9e02c06 Kapt: Fix type arguments order for JeDeclaredType, should not use substitutor
(cherry picked from commit a9c77e1)
2016-08-29 16:31:16 +03:00
Yan Zhulanow d07e6c752b Kapt: Support default packages in Filer
(cherry picked from commit 3ced8a6)
2016-08-29 16:31:16 +03:00
Yan Zhulanow 8c4fb0a709 Kapt: Support inherited annotations
(cherry picked from commit 02a3e6b)
2016-08-29 16:31:16 +03:00
Yan Zhulanow 9d340e1b83 Kapt: Filter out kapt2 sources in KotlinCompile task
(cherry picked from commit b248b20)
2016-08-29 16:31:16 +03:00
Yan Zhulanow 04db25a190 Kapt Gradle plugin: use the old configuration names
(cherry picked from commit 6e72dc8)
2016-08-29 16:31:16 +03:00
Yan Zhulanow 407af3a0e5 Kapt: Gradle plugin for the new kapt
(cherry picked from commit f4fc8f1)
2016-08-29 16:31:16 +03:00
Yan Zhulanow 399059729d Kapt: verbose output mode
(cherry picked from commit e6067d5)
2016-08-29 16:31:16 +03:00
Yan Zhulanow f5d58d9944 Kapt: Provide toString() implementations for no-types
(cherry picked from commit df9c825)
2016-08-29 16:31:16 +03:00