Andrey Uskov
6a808ce842
Fix import tests compilation in bunch 183
2019-09-27 17:28:07 +03:00
Dmitriy Novozhilov
439e8faf94
[NI] Remove outdated intention test according to fixed consistency of OI and NI
2019-09-27 17:20:47 +03:00
Toshiaki Kameyama
82f75c707e
"Convert to range check" inspection: apply ReplaceRangeToWithUntilInspection after convertion
...
#KT-33880 Fixed
2019-09-27 20:33:48 +07:00
Toshiaki Kameyama
54df0aad16
Reformat ConvertTwoComparisonsToRangeCheckIntention
2019-09-27 20:33:48 +07:00
Anton Yalyshev
6c06c4e3fc
Group Id and Version fields generation doesn't need 193 bunches. It works well with previos versions.
2019-09-27 14:58:19 +03:00
Anton Yalyshev
18cfa42930
Bump Gradle to 5.5.1 cause it contains several major fixes for 5.5
2019-09-27 14:58:19 +03:00
Anton Yalyshev
a53f66ca4e
Gradle 5.5 Daemon requires -Xmx256m
2019-09-27 14:58:19 +03:00
Anton Yalyshev
ee7b583a82
Bump Gradle and Android build tools version in New Kotlin Project Templates #KT-27587 Fixed
2019-09-27 14:58:18 +03:00
Anton Yalyshev
626087a46e
Use type-safe model accessors for Gradle plugin #KT-31766 Fixed
2019-09-27 14:58:18 +03:00
Anton Yalyshev
721aa81ca5
Relying on platform stepping goes better only from 2019.3
2019-09-27 14:58:18 +03:00
Anton Yalyshev
a66078f2cd
Let New Gradle project or module wizard rely on platform stepping to avoid inconsistency #KT-33927 Fixed #KT-30685 Fixed #KT-28404 Fixed
2019-09-27 14:58:18 +03:00
Ilya Matveev
3da3e1cae9
IDE: Add native extensions to KotlinCompilation
2019-09-27 18:06:58 +07:00
Ilya Matveev
95cbb4e8b4
IDE: Add a flag to disable native libraries propagation
2019-09-27 18:06:58 +07:00
Ilya Matveev
becdd7a5e6
Add a test for native dependency propagation
2019-09-27 18:06:57 +07:00
Ilya Matveev
701e92ace2
IDE: Propagate platform libraries to common modules for some native targets
...
Some native platforms (e.g. ios_arm64 and ios_x64) have almost
identical platform libraries. For such platforms we can workaround
a lack of the commonizer and resolve common sources against
libraries of one of these platforms. This patch enables this
workaround by propagating dependencies to common modules.
Issue #KT-33999 fixed
2019-09-27 18:06:56 +07:00
Dmitry Gridin
c185cecb40
Completion: fix shortening of fully qualified name for case of conflicts between property and function
...
#KT-31902 Fixed
#KT-33937 Fixed
2019-09-27 17:52:11 +07:00
Dmitry Gridin
589094377e
QualifiedExpressionResolver: change root prefix from _Qfadj4tPV to _root_ide_package_
2019-09-27 17:52:11 +07:00
Alexander Podkhalyuzin
9a2da67919
ShortenReferences: cleanup code & add tests for property-function conflicts
2019-09-27 17:52:11 +07:00
Natalia Selezneva
917a7f572d
Check that project is open before starting highlighting
...
This may be false when user opens Kotlin Scripting Settings, so default project is passed to ScriptDefinitionsManager
^KT-30206 Fixed
2019-09-27 12:59:43 +03:00
Natalia Selezneva
5ab119ecfb
Do no try to find script definitions for default project
...
This may happen when user opens Kotlin Scripting Settings
^KT-32401 Fixed
2019-09-27 12:58:36 +03:00
Andrey Uskov
a4a03aeb5c
Fix compilation of KotlinMPPGradleModelBuilder
2019-09-27 12:14:43 +03:00
Andrey Uskov
ca75aeb534
Update kotlin gradle plugin version in HMPP tests
2019-09-27 12:00:08 +03:00
Andrey Uskov
ed750f4d10
Do not import orphan source sets
2019-09-27 12:00:05 +03:00
Andrey Uskov
03b58d9941
Point to module names instead of source set names in dependsOn of Facet
2019-09-27 12:00:02 +03:00
Andrey Uskov
715fad849d
Importing test tasks and targets is implemented
2019-09-27 11:59:58 +03:00
Vladimir Dolzhenko
e2f9eaa483
Use async profiler for perfTests if it presents in env variable; Add kt project copy-n-paste perfTests
2019-09-27 10:33:49 +02:00
Toshiaki Kameyama
40dd229021
Join with assignment: place the result at the assignment
...
#KT-21172 Fixed
2019-09-27 09:16:52 +03:00
Toshiaki Kameyama
8078c5da40
Reformat JoinDeclarationAndAssignmentIntention
2019-09-27 09:16:51 +03:00
Mikhail Glukhikh
d45e83b27d
Introduce subject to when: don't perform analysis in if transformation
...
Otherwise we get an exception about non-analysable file
Related to KT-18772
2019-09-27 09:16:50 +03:00
Toshiaki Kameyama
fdf9acfb6a
Introduce subject to when: suggest for qualified, not for obj / constant
...
#KT-18772 Fixed
2019-09-27 08:26:52 +03:00
Roman Golyshev
0239229dfc
KT-33903: consider imports from objects when removing descriptors duplicates
...
- `ImportedFromObjectCallableDescriptor` and descriptors in general do
not have consistent `equals`, which leads to duplication in completion
when multiple functions from objects are imported, or when function is
visible in some scope both implicitly and by import (see KT33903_1.kt)
- ^KT-33903 Fixed
2019-09-26 18:23:04 +03:00
Alexander Podkhalyuzin
cdebd6bc05
Fixed testdata as Enter shouldn't override completion
2019-09-26 16:25:50 +03:00
Alexander Podkhalyuzin
66bed85176
Fixed testdata for new inference
2019-09-26 16:25:50 +03:00
Alexander Podkhalyuzin
d018489621
Fixed testdata
...
JS stdlib contains more classes now, so we need to filter them out
2019-09-26 16:25:50 +03:00
Dmitry Gridin
57d25fc5f5
Create actual: add type accessibility checker
...
#KT-28740 Fixed
2019-09-26 20:21:54 +07:00
Dmitry Gridin
fcaa897b9f
Tests: extract addMissingActualMembers from multiModuleQuickFix/other
2019-09-26 20:21:54 +07:00
Dmitry Gridin
a552f06526
Create expect/actual: improve error hint message
...
#KT-33754 Fixed
2019-09-26 20:21:54 +07:00
Dmitry Gridin
773e4764b1
TypeAccessibilityCheckerImpl: fix incorrectTypes for KtNamedDeclaration
2019-09-26 20:21:54 +07:00
Vyacheslav Gerasimov
c1e1dbd83e
Build: Fix usages of "java.home" for tools.jar dependency
...
#KT-33984
2019-09-25 17:54:18 +03:00
Natalia Selezneva
dd85dcc1c7
193: Do not modify registry property since the default changed in 193
...
Review in IDEA: IDEA-CR-51492
2019-09-25 15:54:04 +03:00
Natalia Selezneva
153339bc26
193: Remove Gradle Kotlin DSL template because they are provided by Gradle Plugin (since 193)
...
^IDEA-219018
2019-09-25 15:54:04 +03:00
Vladimir Dolzhenko
750a677366
Register manually IDEKotlinBinaryClassCache for AbstractLoadJavaClsStubTest.kt
2019-09-25 14:49:17 +02:00
Pavel Kirpichenkov
6c8e829f19
Update diagnostics for trailing lambdas, add quickfix
...
Alternative message for errors, caused by unexpected lambda expression arguments on a new line.
Both diagnostic are reported, if multiple lambda expressions were passed to the call.
For other errors trailing lambda diagnostic overrides the original one.
Quickfix for erroneous trailing lambdas on a new line after call.
Fix separates lambda expression from previous call with semicolon.
All trailing lambda arguments become standalone lambda expressions.
2019-09-25 15:38:17 +03:00
Nikolay Krasko
f00d609459
Fix KotlinConfidenceTest tests
2019-09-25 14:06:36 +03:00
Alex Chmyr
b8cce67d2e
KT-19355 fix for "Variable expected" error after J2K for increment/decrement of an object field
2019-09-25 10:08:42 +03:00
Toshiaki Kameyama
748e458ad7
"Override members": add semicolon between enum entry and function
...
#KT-31139 Fixed
2019-09-25 12:34:49 +07:00
Toshiaki Kameyama
7fcca71b4b
Replace with dot call quickfix: don't break formatting
...
#KT-25697 Fixed
2019-09-25 12:06:51 +07:00
Toshiaki Kameyama
7b56733bda
Reforma ReplaceCallFix
2019-09-25 12:06:51 +07:00
Mikhail Zarechenskiy
78affdd2b4
Fix old testdata: add missing operator modifier
...
This testdata was written when there was no "operator" modifier.
After a83225218f rules for operators become stricter and now functions without operators are not considered as such
2019-09-25 01:52:55 +03:00
Vladimir Dolzhenko
a98c610958
Fix KotlinCodeStyleSettings and IDEKotlinBinaryClassCache.kt 191 compilation
2019-09-24 22:01:05 +02:00