Commit Graph

41243 Commits

Author SHA1 Message Date
Alexey Andreev c65a79bca4 Fix tests for inline cycle diagnostics in JS 2017-09-08 18:27:42 +03:00
Alexey Andreev c66bc0b0e9 Remap source maps in JS DCE. Improve JS DCE error logging
See KT-19821
2017-09-08 18:27:41 +03:00
Alexey Andreev 1350e3c4ac JS: improve optimization of for loop over range literals
See KT-18329, partial fix for KT-8372
2017-09-08 18:27:40 +03:00
Alexey Andreev 502c51ccff Sanitize names for backing fields and private declarations in JS BE
See KT-1816
2017-09-08 18:27:40 +03:00
Alexey Andreev 206369c088 JS: fix capturing of reified type parameters when used as class literals
See KT-19891
2017-09-08 18:27:39 +03:00
Mikhail Glukhikh 03ce6d859f Disable destructure inspection by default
Now (by default) action is accessible as intention only
So #KT-15422 Fixed
So #KT-18666 Fixed
2017-09-08 17:41:44 +03:00
Mikhail Glukhikh c149c37ac7 Do not suggest destructuring for invisible properties #KT-18665 Fixed 2017-09-08 17:41:44 +03:00
Mikhail Glukhikh c4ebfe8e84 Add accessors: determine header properties more correctly
Related to KT-17322
2017-09-08 16:10:55 +03:00
Mikhail Glukhikh 13775f8637 Fix broken quick-fix tests (related to KT-17322) 2017-09-08 16:10:54 +03:00
Alexey Sedunov bdad58cec6 Kotlin Facet: Support "implements" relation between modules
#KT-17593 Fixed
2017-09-08 15:38:14 +03:00
Alexey Sedunov 8ebc766b5b Kotlin Ultimate: Support Mocha run configurations for module directory
#KT-16814 In Progress
2017-09-08 15:38:14 +03:00
Alexey Sedunov 8b64a4c8ea Override/Implement: Drop 'impl' modifier for non-impl class members
#KT-18469 Fixed
2017-09-08 15:38:14 +03:00
Alexey Sedunov 6f8503a178 Override/Implement: Do not generate bodies for header class members
#KT-15659 Fixed
2017-09-08 15:38:14 +03:00
Alexander Udalov 6c3620f481 Suppress logging from jline
#KT-19243 Fixed
2017-09-08 15:33:30 +03:00
Nikolay Krasko 69176a146e getModuleInfo.kt: refactor 2017-09-08 15:06:03 +03:00
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