Pavel V. Talanov
deda5e7eee
Fix navigation to script dependency sources failing
...
Specifically in case where some lib is in project and script dependencies at the same time
2017-09-08 15:06:00 +03:00
Pavel V. Talanov
ebd3ac6dc8
Fix script resolver failing
...
Specifically the case where some lib is in project dependencies and script dependencies at the same time
#EA-105435 at least partially fixed
#KT-19458 Fixed
#KT-19474 Fixed
2017-09-08 15:05:58 +03:00
Pavel V. Talanov
e9ce5bbb37
Infrastructure to test sharing libs by project and scripts
...
Allow to test scenario where project and scripts share some jar as dependency
Refactor AbstractScriptConfigurationTest
2017-09-08 15:04:20 +03:00
Pavel V. Talanov
53144def10
AbstractScriptConfigurationTest: rewrite script template setup
...
Allow simpler setup of common scenarios
Do not require to define DependenciesResolver for every test
Drop redundant template files
2017-09-08 15:04:17 +03:00
Pavel V. Talanov
d7149a4083
getModuleInfo.kt: allow go get all module infos for a given psiElement
2017-09-08 15:04:14 +03:00
Pavel V. Talanov
6bec17246c
Fix inspections run for script dependency source files in come cases
...
This filter defines which files inspections are run for
In most cases other platform code prevented inspections from running for
library source files but this check is needed to prevent KT-19377
#KT-19377 Fixed
2017-09-08 15:03:30 +03:00
Nikolay Krasko
6b14d15374
Clean state in AbstractKotlinKapt3IntegrationTest
2017-09-08 12:56:28 +03:00
Nikolay Krasko
c479e585ca
Clean project in uast tests
2017-09-08 12:56:28 +03:00
Nikolay Krasko
fcab80db96
Add uast-tests files to our project
...
Copy files from obsolete project https://github.com/JetBrains/uast
2017-09-08 12:56:28 +03:00
Nikolay Krasko
6fd3ce07b3
Force remove JpsModel in BaseKotlinJpsBuildTestCase tests
2017-09-08 12:56:28 +03:00
Nikolay Krasko
eb7a984843
Store descriptor via soft reference to avoid holding project from debugger
2017-09-08 12:56:28 +03:00
Alexander Udalov
2877314313
Support "::foo" as a short-hand for "this::foo"
...
#KT-15667 Fixed
2017-09-08 10:59:44 +03:00
Alexey Andreev
d2ff821a3b
JS: prove that lambdas in inline function compiled correctly
...
Obsoletes KT-19712
2017-09-08 10:57:42 +03:00
Alexey Andreev
ff0efe59f6
JS: fix error in generation of if/else statements in some cases
...
See KT-19495
2017-09-08 10:56:49 +03:00
Alexey Andreev
4779f4fefb
JS: don't mark access to captured var as pure
...
See KT-19108
2017-09-08 10:56:06 +03:00
Alexey Sedunov
f2b6644db5
Kotlin Ultimate: Add JS debugger plugin dependency
...
This fixes tests failure due to unresolved NodeJS dependency
2017-09-08 03:42:22 +03:00
Ilya Gorbunov
980feffffa
Improve @PublishedApi annotation docs #KT-19881
2017-09-07 20:07:27 +03:00
Alexey Sedunov
78b1fb2e93
Kotlin Facet: Avoid reparse of additional arguments during analysis
2017-09-07 17:39:18 +03:00
Alexey Sedunov
dcd966f7c2
Kotlin Ultimate: Support Mocha run configurations for Kotlin sources
...
#KT-16814 In Progress
2017-09-07 17:39:17 +03:00
Alexey Sedunov
4f647e84c9
Line Marking: Respect @Test/@Ignore annotations in test line markers
...
#KT-16814 In Progress
2017-09-07 17:39:16 +03:00
Toshiaki Kameyama
5a5a27b983
Intentions to generate accessors for a property #KT-17322 Fixed
2017-09-07 17:33:39 +03:00
Toshiaki Kameyama
fe0f44da94
Added "Add remaining branches with import" quick fix #KT-16033 Fixed
2017-09-07 16:24:35 +03:00
Mikhael Bogdanov
2fa4c28e0f
Properly reorder arguments in anonymous object super class constructor
...
#KT-18356 Fixed
2017-09-07 15:18:05 +02:00
Mikhael Bogdanov
44fd8103d4
Convert ObjectSuperCallArgumentGenerator to Kotlin
2017-09-07 15:18:04 +02:00
Mikhael Bogdanov
ddb6e3307e
Rename ObjectSuperCallArgumentGenerator.java to ObjectSuperCallArgumentGenerator.kt
2017-09-07 15:18:04 +02:00
Mikhael Bogdanov
529036eb78
Move ObjectSuperCallArgumentGenerator to separate file
2017-09-07 15:18:03 +02:00
Nikolay Krasko
c327118eac
Remove PCE throwing as it can cancel background tasks (KT-19901)
...
Method can be called from the background task and be paused because
the write action is in progress. Throwing the PCE might stop the whole
task, that is wrong.
Explicit read action seems to be unneeded.
#KT-19901 Fixed
2017-09-07 16:10:09 +03:00
Nikolay Krasko
d38fd0fdf8
Need reformat inspection
2017-09-07 16:10:09 +03:00
scache
ba19931aef
Keep braces in redundant cascade if #KT-19704 Fixed
2017-09-07 15:23:04 +03:00
Dmitry Jemerov
97e4dbe330
Add 'multiplatform' to spellchecker dictionary
2017-09-07 12:29:24 +02:00
Dmitry Jemerov
e1b79fc316
Show descriptions for Kotlin Gradle frameworks
2017-09-07 12:29:24 +02:00
Dmitry Jemerov
f840d0df41
Wizard for creating multiplatform projects
2017-09-07 12:29:24 +02:00
Dmitry Jemerov
140db74607
Correctly import 'implements' dependencies on root project
2017-09-07 12:29:24 +02:00
Dmitry Jemerov
369f3d6553
Don't break dependency import on invalid 'implement' dependency
2017-09-07 12:29:24 +02:00
Dmitry Jemerov
e392b4a427
Framework providers for modules of Kotlin multiplatform projects
2017-09-07 12:29:24 +02:00
Mikhail Zarechenskiy
088800d82f
Report error about val reassignment via backing field since Kotlin 1.3
...
Also improve message for current warning
#KT-16681 Fixed
2017-09-07 12:54:31 +03:00
Mikhail Zarechenskiy
03440210ee
Introduce language version 1.3
2017-09-07 12:52:32 +03:00
Alexander Udalov
27b8b209e3
Refactor accessors for backing fields in JVM back-end
2017-09-07 12:24:54 +03:00
Alexander Udalov
326111aece
Render .kotlin_module files nicely for tests
2017-09-07 12:24:53 +03:00
Mikhael Bogdanov
1cf8ee9433
Don't remove nullability assertions of anonymous object transformation
...
#KT-19910 Fixed
2017-09-06 17:48:13 +02:00
Ilya Gorbunov
599113b30f
Fix internal KotlinVersion representation that caused invalid comparison
2017-09-06 18:45:33 +03:00
Alexey Andreev
5bf4540458
JS: fix inlining of functions derived from other modules
...
See KT-16408
2017-09-06 17:55:31 +03:00
Alexey Andreev
361d6dfca0
JS: rewrite source map generator to use specialized JSON writer
...
Fixes problems with string escaping. See KT-20005
2017-09-06 17:55:06 +03:00
Yan Zhulanow
187ca71dc6
NoArg: Fix compatibility with sealed classes with non-zero-parameter constructors (KT-19687)
...
Also check if a class has a sealed super class properly.
2017-09-06 17:40:20 +03:00
Yan Zhulanow
cea891c754
Kapt: Do not replace '/' with dots before converting to fqName (KT-19680)
...
getQualifiedName() converts slashes by itself, and it causes the internal name equality check (it.name == classFromSources.name) to fail.
This reproduces only for the pure synthetic classes (for which we don't generate Java light classes).
2017-09-06 17:40:19 +03:00
Yan Zhulanow
fe3413c291
Parcelable: Add INNERCLASS metadata to Creator factory class and its outer class
2017-09-06 17:40:19 +03:00
Yan Zhulanow
04c2e28341
Kapt: Do not use awkward ('$' -> '/') logic for KAPT3 class builder mode
...
So (for the most often reproduction case) #KT-19433 Fixed
Before this commit, internal names for nested classes were written as test/Foo/Bar (comparing to test/Foo$Bar in the normal mode), as getting qualified names from such internal names was trivial. But, because of IC, we needed to write class files to the disk, so our decompiler could find such "broken" classes and read it in a wrong way.
2017-09-06 17:40:18 +03:00
Yan Zhulanow
c330285fd0
Parcelable: Use innerClassNameFactory to figure out the internal name of the Creator class (KT-19680)
...
KAPT3 class builder mode in 1.1.4 replaces '$' (inner class name separators) with '/' by providing special innerClassNameFactory.
We should use it to be compatible with kapt.
2017-09-06 17:40:18 +03:00
Yan Zhulanow
84e59601c1
Kapt: Generic arguments in anonymous type should always be mapped to boxed types (KT-19750)
2017-09-06 17:40:17 +03:00
Yan Zhulanow
4d9a612a64
Kapt: Substitute type parameters from the actual type, not from the anonymous one (KT-19700)
2017-09-06 17:40:16 +03:00