Commit Graph

37833 Commits

Author SHA1 Message Date
Ilya Gorbunov 3be1174824 Replace @native with external in tests 2017-01-27 01:29:15 +03:00
Ilya Gorbunov 20f175d091 Soften back deprecation level for nativeGetter/Setter/Invoke annotations. 2017-01-27 00:48:46 +03:00
Simon Ogorodnik 4202abac63 Fix test 2017-01-26 23:19:42 +03:00
Ilya Chernikov 4bb5e978a7 Implement SamWithReceiverAnnotations annotation and it's handling (KT-15848)
TODO: tests
2017-01-26 20:53:24 +01:00
Simon Ogorodnik f1c4230a68 KT-14680 import statement to typealias reported as unused when using only TA constructor
#KT-14680 fixed
2017-01-26 21:18:20 +03:00
Dmitry Jemerov 46bb636cea Fix ConfigureProjectTestGenerated 2017-01-26 19:08:57 +01:00
Dmitry Jemerov c4032908c0 Don't show "Kotlin not configured" notifications while Gradle sync is running
#KT-15279 Fixed
2017-01-26 19:08:57 +01:00
Dmitry Jemerov ac35b182b5 KotlinConfigurationCheckerComponent: J2K 2017-01-26 19:08:57 +01:00
Dmitry Jemerov c6a20d39b4 KotlinConfigurationCheckerComponent: rename to .kt 2017-01-26 19:08:57 +01:00
Dmitry Jemerov c7ea4eead7 Add Gradle JavaScript configurator 2017-01-26 19:08:57 +01:00
Dmitry Jemerov c6251fdad7 Add JS variant of Gradle framework support provider
#KT-13632 Fixed
2017-01-26 19:08:57 +01:00
Dmitry Jemerov e76cd15e5b Update different stdlib/gradle inspection to handle kotlin-stdlib-jre* 2017-01-26 19:08:57 +01:00
Dmitry Jemerov 163cef6457 Configuring project with Maven adds kotlin-stdlib-jre7 or kotlin-stdlib-jre8 if the selected JDK is of a high enough version
#KT-15712 Fixed
2017-01-26 19:08:57 +01:00
Dmitry Jemerov 7eea8f3849 Configuring project with Gradle adds kotlin-stdlib-jre7 or kotlin-stdlib-jre8 if the selected JDK is of a high enough version 2017-01-26 19:08:57 +01:00
Dmitry Jemerov acc19f2ab6 Don't add 'kotlin' source root to build.gradle by default
#KT-14830 Fixed
2017-01-26 19:08:57 +01:00
Dmitry Jemerov 85a74f4cca Detect version 1.1.0-beta as 1.1 prerelease 2017-01-26 19:08:57 +01:00
Dmitry Jemerov 56bbb8ec78 Disable incompletely implemented Inline Function refactoring 2017-01-26 19:05:47 +01:00
Dmitry Jemerov 68bd5bd323 Fix project leak due to not disposed dialog 2017-01-26 18:55:17 +01:00
Dmitry Jemerov d4af75bc50 Add write action which is required in 171 branch 2017-01-26 18:26:14 +01:00
Yan Zhulanow bb0b70d27b Kapt: Fix extending configurations in Gradle, create "main" configuration if it does not exist yet. Also fix checking kapt configuration dependencies, use allDependencies instead (KT-15814) 2017-01-27 02:01:04 +09:00
Yan Zhulanow 3b4a8e0f33 Kapt3: Write qualified name of classes on error type conversion, handle declaration-site variance properly. 2017-01-27 01:20:01 +09:00
Yan Zhulanow 72bbf9697b Kapt3: As javac now reads stubs from Java files, not from AST, we should provide the valid names for all identifiers (at least names should not clash with Java keywords).
Rename identifiers if it clashes with Java keywords. (KT-15838)
2017-01-27 01:20:01 +09:00
Yan Zhulanow e28b4dfbc7 Kapt3: Do not check type for star projection, it causes the infinite recursion. Also limit recursion depth to 10. (KT-15841) 2017-01-27 01:20:00 +09:00
Dmitry Jemerov 48a66c9d41 Generate Markdown documentation for Gradle options 2017-01-26 17:03:30 +01:00
Alexey Sedunov deb9258994 Misc: Reverted 1fb90ac0fd 'Copy compiler arguments from iml even if "Use project settings" checkbox is checked' as it's rendered obsolete due to "Use project settings" being turned off by default in Gradle/Maven projects 2017-01-26 18:06:19 +03:00
Alexey Sedunov 6e8d0b520e Kotlin Facet: Import Gradle properties defined in gradle.properties file 2017-01-26 18:06:17 +03:00
Alexey Sedunov f8349da608 Kotlin Facet: Import compiler arguments from Maven project model 2017-01-26 18:06:16 +03:00
Alexey Sedunov 74bfaa4ffe Quick Fixes: Change API level as well as language level in "Enable unsupported feature fix"
#KT-15918 Fixed
2017-01-26 18:06:15 +03:00
Alexey Sedunov 591910a216 Kotlin Facet: Import compiler arguments from Gradle project
#KT-15819 Fixed
 #KT-15929 Fixed
2017-01-26 18:06:14 +03:00
Alexey Sedunov dafb6f8b3c Kotlin Gradle Plugin: Provide serialized list of compiler arguments in compilation tasks 2017-01-26 18:06:13 +03:00
Mikhail Glukhikh bb54f23472 Change log updated for 1.1 2017-01-26 16:45:10 +03:00
Mikhael Bogdanov 25d75bcd8b Delegates to java defaults methods in compatibility mode 2017-01-26 14:32:33 +01:00
Mikhael Bogdanov 0006a04b01 Report warning on hided override by delegation when compile to 1.0 version 2017-01-26 14:32:33 +01:00
Alexey Tsvetkov 09a8a999c8 Correct construction of UnicastRemoteObject
#KT-15837 fixed
2017-01-26 16:07:44 +03:00
Alexey Tsvetkov 470a7706aa Fix build 2017-01-26 15:49:40 +03:00
Mikhail Zarechenskiy 462aed35d3 Don't exclude callable references with type parameters from completion 2017-01-26 14:48:37 +03:00
Alexey Tsvetkov e04d18f3de Minor: make functions public to avoid error on teamcity 2017-01-26 14:23:21 +03:00
Alexey Tsvetkov f46217129b EA-95293: do not report OUTPUT messages to message collector if outputs collector is specified 2017-01-26 13:38:52 +03:00
Alexey Tsvetkov b9dbe69232 Rebuild all kotlin files when EAP flag is changed 2017-01-26 13:38:52 +03:00
Alexey Tsvetkov 4a63e47aa0 Save JvmBuildMetaInfo to file after build 2017-01-26 13:38:52 +03:00
Alexey Tsvetkov 6dbc4ff303 Introduce JvmBuildMetaInfo to hold last build settings 2017-01-26 13:38:52 +03:00
Simon Ogorodnik 82a70283b5 KT-15789 Kotlin plugin incorrectly converts for-loops from Java to Kotlin
#KT-15789 fixed
2017-01-26 13:33:06 +03:00
Simon Ogorodnik bf3d4471cd KT-14710 Sample references aren't resolved in IDE
#KT-14710 fixed
2017-01-26 13:27:57 +03:00
Simon Ogorodnik cd73d17bd4 KT-15311 "Add Import" intention generates incorrect code
#KT-15311 fixed
2017-01-26 13:24:41 +03:00
Dmitry Petrov 1613ad0505 KT-15898 Cannot use type alias to qualify enum entry
Type alias static scope includes enum entries for underlying enum class.
2017-01-26 10:23:56 +03:00
Dmitry Petrov a974ed1049 Support custom accessors for top-level properties in scripts. 2017-01-26 10:12:13 +03:00
Dmitry Petrov ab2448307e Functions imported from objects should be properly mapped to "real" suspend function descriptors. 2017-01-26 09:39:53 +03:00
Dmitry Petrov 9d4047f5e4 Calls for suspend functions imported from object should be checked in CoroutineSuspendCallChecker. 2017-01-26 09:39:53 +03:00
Dmitry Petrov 500667ff45 Function and property descriptors imported from object should keep track of the original imported descriptor,
otherwise they break an assumption that 'getOriginal()' chain would eventually converge on some callable descriptor.
2017-01-26 09:39:53 +03:00
Ilya Gorbunov b1b295f00f Fix variance of Map.minus in expected diagnostics output. 2017-01-26 07:27:00 +03:00