Alexey Tsvetkov
840f688bbf
Refactoring: simplify proto map API
2017-07-31 19:34:58 +03:00
Alexander Udalov
2e82bb5632
Use correct LanguageVersionSettings in MetadataSerializer
...
Also, require users of K2MetadataCompiler to pass "-Xmulti-platform"
manually. Gradle and Maven plugins already do that, so only users who
invoke kotlinc directly are going to be affected by this
#KT-19287 Fixed
2017-07-31 08:47:47 -07:00
Sergey Igushkin
4923589b38
Fix testAndroidExtensionsManyVariants not using experimental flag
2017-07-31 16:56:06 +03:00
Sergey Igushkin
23ea1a1a60
Push Android Gradle plugin version used in tests to 3.0.0-alpha8
2017-07-31 16:52:48 +03:00
Andrius Semionovas
f42808af94
Add when support for USELESS_IS_CHECK quick fix, related to KT-18965
2017-07-31 16:10:41 +03:00
Andrius Semionovas
e0aca97f9f
Add quick-fix for USELESS_IS_CHECK #KT-18965 Fixed
2017-07-31 16:10:23 +03:00
Dimach
88fa7c2952
Introduce "double negation" inspection #KT-4748 Fixed
2017-07-31 15:57:31 +03:00
Toshiaki Kameyama
be0b01a1e6
Do not report "can be private" on effectively private / local elements
...
So #KT-18822 Fixed
2017-07-31 11:58:14 +03:00
Pavel V. Talanov
05ea99441f
script.runtime 1.1.4: Update test data implementations
2017-07-30 18:21:35 +03:00
Pavel V. Talanov
b0b2c046b2
script.runtime 1.1.4: IDE and compiler use 'kotlin.script.experimental'
2017-07-30 18:15:41 +03:00
Pavel V. Talanov
d7e62937b2
script.runtime 1.1.4: Remove new API from 'kotlin.script' package
...
Copy of new API is in 'kotlin.script.experimental' package
2017-07-30 17:38:10 +03:00
Pavel V. Talanov
9a004ceda2
script.runtime 1.1.4: Remove copy of ScriptContents class
...
This class is not new(experimental) API is not supposed to be moved
2017-07-30 17:17:54 +03:00
Simon Ogorodnik
5e032139cb
KT-18040: Enable auto popup when typing after $e. in string template
...
#KT-18040 fixed
2017-07-30 09:15:16 +03:00
Alexander Udalov
4e77897bfd
Pass LanguageSettingsProvider to AnalyzerFacade explicitly
...
This way is more flexible for example for tests, where configuring the
service implementation may be tricky (it's usually done in
KotlinCoreEnvironment in production code)
2017-07-28 20:15:28 +03:00
Pavel V. Talanov
ca06d38c5b
script.runtime 1.1.4: Copy new API to kotlin.script.experimental package
...
Minor: Move Environment type alias to resolvers_deprecated.kt file
2017-07-28 20:13:59 +03:00
Pavel V. Talanov
d59a72ea75
script.runtime 1.1.4: Undeprecate old API
2017-07-28 20:13:57 +03:00
Pavel V. Talanov
9e34437447
script.runtime: add 'kotlin-runtime' dependency
...
script.runtime is not built by JPS, this just affects highlighting
2017-07-28 20:13:54 +03:00
Alexander Udalov
82502e1a8b
Fix compilation of kotlin-script-util
...
Compilation was broken in 46a01ec
2017-07-28 19:26:35 +03:00
Leonid Startsev
527ccaff16
Changes required for serialization plugin to work:
...
* Support for generation of synthetic nested classes (for implementations
of user-defined serial annotations):
1. Compiler extenstion points for contributing names and descriptoprs
of nested classes
2. Control on synthetic class primary constructor visibility
* Public functions for generating initializing expressions for optional
properties
2017-07-28 07:04:57 -07:00
Dmitry Petrov
9e6b706a03
Unwrap property imported from object on property access
...
#KT-18982 Fixed Target versions 1.1.5
2017-07-28 17:01:04 +03:00
Sergey Igushkin
05919244bd
Fix testLogLevelForceGC
2017-07-28 16:39:10 +03:00
Sergey Igushkin
7906ac9348
Fix unresolved rhino dependency in testDce.
2017-07-28 16:39:10 +03:00
Pavel V. Talanov
c1fd8fc318
Send roots changed iff combined dependencies of all scripts changed
...
This reduces total number of reindex requests when working with scripts
ScriptDependenciesCache::onChange logic is independent from ScriptDependenciesUpdater::onChange
2017-07-28 15:45:29 +03:00
Pavel V. Talanov
e115c8b373
Filter out invalid files before contributing them for indexing
...
#EA-104574
2017-07-28 15:45:26 +03:00
Nikolay Krasko
99555fa843
Retrieve receiver annotation to stubs from compiled code (KT-19209)
...
#KT-19209 Fixed
2017-07-28 15:01:32 +03:00
Alexander Udalov
8b149db0ec
Drop deprecated KotlinPaths.getRuntimePath, use getStdlibPath instead
2017-07-28 14:16:48 +03:00
Alexander Udalov
b988582531
Refactor utilities in AbstractKotlinJpsBuildTestCase
2017-07-28 14:16:47 +03:00
Alexander Udalov
1e6850f198
CLI: improve error message if libraries are not found in Kotlin home
...
Also support the '-kotlin-home' argument in kotlinc-js
#KT-18859 Fixed
2017-07-28 14:16:46 +03:00
Alexander Udalov
eb673d6ed3
Do not try to compile if incorrect language/API version is passed
2017-07-28 14:11:35 +03:00
Alexander Udalov
4b42f9e071
Move JPS-related kotlin-home detection code to jps-plugin
2017-07-28 14:11:35 +03:00
Alexander Udalov
46a01ec131
J2K PathUtil: convert and prettify
2017-07-28 14:11:35 +03:00
Alexander Udalov
3beb6a86f7
J2K PathUtil: move .java -> .kt
2017-07-28 14:11:35 +03:00
Dmitry Petrov
67336653e0
Generate SAM wrappers only if they are required for a given argument
...
SAM interface wrapper for an argument is required,
if in the function descriptor for SAM adapter
type for the corresponding value parameter
doesn't match type of the corresponding value parameter
in the original (Java) descriptor.
#KT-19251 Fixed Target versions 1.1.5
2017-07-28 08:24:46 +03:00
Dmitry Petrov
c8bc2d9d16
Minor: code cleanup
2017-07-28 08:24:46 +03:00
Dmitry Petrov
5df461c7e0
Add test for KT-19246
...
The issue was fixed by
https://github.com/jetbrains/kotlin/commit/904c7f9c640ccb38c0becb40bd3b5dad3ac921bd
2017-07-28 08:24:46 +03:00
Nikolay Krasko
24865ba26a
Allow deprecated fix for TYPEALIAS_EXPANSION_DEPRECATION
2017-07-28 01:28:56 +03:00
Nikolay Krasko
53373b66b9
Do not replace in alias when constructor has special pattern (KT-19202)
...
#KT-19202 Fixed
2017-07-28 01:28:56 +03:00
Nikolay Krasko
1b93e2030f
Create isCallee utility function
2017-07-28 01:28:56 +03:00
Yan Zhulanow
142a64e039
Minor: Fix Gradle integration test compilation, replace .use() with try&finally
2017-07-27 21:22:06 +03:00
Sergey Igushkin
fabcd6b73c
Fix Gradle IT compilation.
2017-07-27 20:44:03 +03:00
Anton Bannykh
e9e81d96a5
Fixed maven multiplatform test
2017-07-27 19:34:14 +03:00
Mikhael Bogdanov
79921b0206
Update changelog for 1.1.4-eap-33
2017-07-27 14:18:35 +02:00
Valentin Kipyatkov
ee7eb3186d
Fixed problems with ModuleDescriptor mismatch after ProcessCanceledException
2017-07-27 14:05:45 +03:00
Valentin Kipyatkov
6ba96b1103
Renamed function
2017-07-27 13:56:30 +03:00
Valentin Kipyatkov
7f467f0fdd
Minor
2017-07-27 13:56:29 +03:00
Valentin Kipyatkov
d3ea7c3a14
No need to pass fq-names to import when we have bindingContext
2017-07-27 13:56:28 +03:00
Valentin Kipyatkov
996292264b
Fixed inline when multiple implicit receivers exist
...
#KT-17776 Fixed
#KT-17266 Fixed
2017-07-27 13:55:25 +03:00
Valentin Kipyatkov
0346b31628
Enabled Loop to call chain inspection again
2017-07-27 13:54:59 +03:00
Valentin Kipyatkov
44dafc38e5
A bit more correct fix of KT-14665
2017-07-27 13:33:57 +03:00
Kirill Rakhman
3ff5c95419
Improve inspection message for NullableBooleanElvisInspection
...
Also report as "should" or "can" depending on severity
So #KT-19006 Fixed
2017-07-27 11:08:26 +03:00