Commit Graph

36852 Commits

Author SHA1 Message Date
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
Ilya Gorbunov c00d684ece Fix deprecared API usages in test 2017-01-26 04:31:20 +03:00
Mikhail Zarechenskiy b0c3c7463b Fix internal compiler error about arithmetic exception
#KT-8264 Fixed
2017-01-26 03:39:50 +03:00
Kirill Rakhman ca86dbee72 Android: Add intention to generate View constructor convention
Fixes #KT-15150
2017-01-26 00:56:33 +03:00
Kirill Rakhman f74c0950d2 use property syntax 2017-01-26 00:56:33 +03:00
Ilya Gorbunov 384b6410f2 New minus overloads appears in quickfix test data 2017-01-25 22:08:48 +03:00
Ilya Gorbunov 2e0209395a Restore Map.minus(key/keys) and Map.minusAssign(key/keys) operators.
#KT-13353
2017-01-25 22:08:46 +03:00
Ilya Gorbunov 288e0b3c7e Allow to use Regex matches CharSequence and CharSequence matches Regex in infix form
#KT-14279
2017-01-25 21:31:42 +03:00
Ilya Gorbunov 387564d140 JS: Rewrite RegExpMatch without @nativeGetter 2017-01-25 21:29:53 +03:00
Ilya Gorbunov 03019dc638 Deprecate qunit (with ERROR) and jquery (with WARNING) 2017-01-25 21:29:53 +03:00
Ilya Gorbunov 70f3cee9ff Harden deprecations to prepare for cleanup. 2017-01-25 21:29:53 +03:00
Ilya Gorbunov 1ccc655cdc Harden deprecation level on remaining API in java.util in kotlin-stdlib-js 2017-01-25 21:29:53 +03:00
Simon Ogorodnik 3948c1e007 KT-15153 Support typeAlias extensions in completion and add import
#KT-15153 fixed
2017-01-25 20:47:48 +03:00
Dmitry Jemerov 9bc45a9c91 Correctly dispose KotlinCoreEnvironment after use 2017-01-25 17:30:10 +01:00
Alexey Andreev 1c8478e46b JS: fix translation of enum entries without parentheses that call secondary constructors, constructors with default parameters and varargs. See KT-15900, KT-14097 2017-01-25 18:09:23 +03:00
Alexey Andreev 0f87320f9e JS: regenerate test data 2017-01-25 18:09:23 +03:00
Alexey Andreev 31c758994d JS: remove diagnostic about callable reference to built-in 2017-01-25 18:09:22 +03:00
Alexey Andreev ad4fb44827 JS: report about using of external interfaces in class literals 2017-01-25 18:09:22 +03:00
Alexey Andreev deaac83e70 JS: report about wrong module usage in class literals. See KT-15253 2017-01-25 18:09:21 +03:00
Alexey Andreev f52eebd302 Add extension point for back-ends to perform platform-specific checks of class literals 2017-01-25 18:09:21 +03:00
Alexey Andreev 9000d54d8a JS: when checking calls to JsModule declarations, check arguments passed to reified type parameters. See KT-15253 2017-01-25 18:09:20 +03:00
Mikhael Bogdanov 4c7a07bed6 Optimize defaults format: avoid reduntant stack normalization operations 2017-01-25 15:56:56 +01:00
Mikhael Bogdanov fc4be17623 Fix for KT-14966: Regression: VerifyError on access super implementation from delegate
#KT-14966 Fixed
2017-01-25 15:56:55 +01:00
Mikhael Bogdanov 11578c602e Added inline tests for jvm 8 target 2017-01-25 15:56:55 +01:00
Simon Ogorodnik 32f1ce7551 Added "kotlin.reflect.jvm.internal" to excluded from completion and auto imports list 2017-01-25 17:45:59 +03:00
Simon Ogorodnik e220a20eed KT-15796 Import of class referenced only in KDoc not preserved after copy-paste
#KT-15796 fixed
2017-01-25 17:41:26 +03:00
Simon Ogorodnik 4ca10c61fd KT-11308 Hide kotlin.jvm.internal package contents from completion and auto-import
#KT-11308 fixed
2017-01-25 17:39:36 +03:00
Simon Ogorodnik 5c52bdc684 KT-14859 "Parameter Info" doesn't work properly in one case
#KT-14859 fixed
2017-01-25 17:32:57 +03:00
Ilya Chernikov e3338c1e31 Fix testdata 2017-01-25 15:29:15 +01:00
Ilya Chernikov ec7e8873f4 Update daemon client with wrappers for basic compiler API
Other changes to extract results for compiler, tests.
2017-01-25 15:29:15 +01:00
Nikolay Krasko afd0655776 Fix after review 2017-01-25 17:19:53 +03:00
Nikolay Krasko c525a59df8 Make breakpoints work in suspend functions 2017-01-25 16:46:35 +03:00