Alexey Sedunov
805010e75c
Misc: Permit refactorings/intentions/quick fixes inside script files
...
#KT-20123 Fixed
2018-05-11 16:05:20 +03:00
Alexey Sedunov
a5a13b74f5
Create from Usage: Support smart casts on explicit receivers
...
#KT-24069 Fixed
2018-05-11 16:05:20 +03:00
Alexey Sedunov
a92a4a2a6d
Add Parameter Fix: Support smart casts
...
#KT-24207 Fixed
2018-05-11 16:05:19 +03:00
Alexey Sedunov
a4a10c7ba4
Create from Usage: Fix generation of extensions with nullable receiver
...
#KT-23796 Fixed
2018-05-11 16:05:19 +03:00
Alexey Sedunov
4e3c1e9f56
Rename: Do not search text occurrences of local declarations
...
#KT-23838 Fixed
2018-05-11 16:05:19 +03:00
Derek
f8111c9f23
fix bullet point indentation in license readme ( #1659 )
2018-05-11 16:04:45 +03:00
Sergey Igushkin
2a46648e3e
In Android MPP target, add common module dependency to api configuration
...
Since Android considers the `compile` configuration as deprecated and
reports a warning when a dependency is added to it, use the `api`
configuration when dealing with an Android platform module.
Issue #KT-23719 Fixed
2018-05-11 16:03:33 +03:00
Natalia Selezneva
37d7c36b11
Fix missing internal template declaration in plugin.xml
2018-05-11 15:51:52 +03:00
Natalia Selezneva
9535c82149
Backport ScriptSeverity.FATAL to old script API
...
(cherry picked from commit dceb063)
2018-05-11 15:51:47 +03:00
Natalia Selezneva
41653e9a50
Introduce separate cache for scripts
...
^KT-22588 Fixed
2018-05-11 15:51:42 +03:00
Natalia Selezneva
71703636bc
Optimization: do not load dependencies for scripts not under expected location
2018-05-11 15:51:37 +03:00
Natalia Selezneva
61c31ce030
Refactoring: move logic that script shouldn't be highlighted if there are any FATAL error to KotlinHighlightingUtil
2018-05-11 15:51:33 +03:00
Natalia Selezneva
3cc3ca97ac
Show notification in the editor when new script dependencies available
...
^KT-23616 Fixed
2018-05-11 15:51:28 +03:00
Natalia Selezneva
d422eb6833
Add a delay to reload script dependencies
...
^KT-23616
2018-05-11 15:51:24 +03:00
Natalia Selezneva
3eac391793
Add setting to reload script dependencies on file change
...
^KT-23616
2018-05-11 15:51:19 +03:00
Natalia Selezneva
082916be70
Refactoring of ScriptDependenciesUpdater
...
Extract classes for sync and async dependencies loading
2018-05-11 15:51:14 +03:00
Natalia Selezneva
97848f2812
Minor: reformat
2018-05-11 15:51:09 +03:00
Natalia Selezneva
3f8245988e
Remove GradleScriptDefaultDependenciesProvider as unused
2018-05-11 15:51:04 +03:00
Florian Steitz
8453ed1803
[KT-10456] Move tests from StringNumberConversionJVMTest to StringNumberConversionTest
2018-05-11 15:42:11 +03:00
Florian Steitz
d7bada0c29
[KT-10456] Added JS implementation for Int.toString(radix) and similar overloads
2018-05-11 15:42:11 +03:00
Sergey Igushkin
284b5b9860
(minor fix) Remove extra underscore from module names
2018-05-11 15:37:17 +03:00
Vyacheslav Karpukhin
d56ba1e7a4
Excluded declarations for classes in CIDR plugin.xml
2018-05-11 13:28:22 +02:00
Nicolay Mitropolsky
05be8f7536
UastKotlinPsiVariable: hashCode nullability fix (EA-119715)
2018-05-11 12:57:23 +03:00
Nikolay Krasko
bea77900ff
Fix NPE in KotlinCompletionCharFilter (EA-120148)
2018-05-11 12:00:43 +03:00
Nikolay Krasko
c469a4d9b9
Bad condition for cast in KotlinStatementsSurrounder (EA-119701)
2018-05-11 12:00:43 +03:00
Nikolay Krasko
9e2412b887
Create dummy method for light class without reformat (EA-115803)
2018-05-11 12:00:43 +03:00
Nikolay Krasko
c9f31099f2
Fix binary compatibility issue after moving ModuleTestSourceInfo
...
Compatibility check revealed problem in truth-postfix-plugin.
https://github.com/droibit/truth-postfix-plugin/blob/b06adbf4e6563672da75b112b1bc7f1fc511a848/plugin/src/main/kotlin/com/github/droibit/plugin/truth/postfix/utils/TemplateUtils.kt
2018-05-11 12:00:43 +03:00
Roman Artemev
d71ff1818d
Add test
2018-05-11 11:33:23 +03:00
Roman Artemev
455edae7de
Fix name clashing between constructors in function reference lowering
2018-05-11 11:33:23 +03:00
Roman Artemev
4f2d5baa5d
[KT-24335]
...
Fix inheritance from interface which is also inherited from an external interface
Add test case
2018-05-11 11:26:34 +03:00
Dmitry Petrov
93f5fe2451
IrField is 'final' if corresponding property is 'val'
2018-05-11 11:24:46 +03:00
Dmitry Petrov
d83849eec5
IR: IrValueSymbol.owner: IrValueDeclaration
2018-05-11 11:24:46 +03:00
Dmitry Petrov
1592aa499f
IR: IrFunctionSymbol.owner: IrFunction
...
This requires some class hierarchy juggling around
IrFunction and IrReturnableBlock.
2018-05-11 11:24:46 +03:00
Dmitry Petrov
f500329dac
IR: IrFunction.name
2018-05-11 11:24:46 +03:00
Dmitry Petrov
729efaf912
IR: IrConstructor.isPrimary
...
NB this is required for Kotlin/JS.
2018-05-11 11:24:46 +03:00
Dmitry Petrov
a6057fb499
IR: {IrClass, IrFunction, IrProperty, IrField}.isExternal
2018-05-11 11:24:46 +03:00
Dmitry Petrov
9717345e3b
IR: IrField.isFinal
2018-05-11 11:24:46 +03:00
Vyacheslav Gerasimov
9721ca8d09
as32: Update compiler.pro for AS 3.2 C14
2018-05-10 23:28:42 +03:00
Nikolay Krasko
6f6237aedb
Unneeded bunch file for autowiredConstructor.test in 172
2018-05-10 23:28:41 +03:00
Nikolay Krasko
4e26b04bb2
Remove unneeded files after move to 181 from 173
2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov
c1f5ebb28e
as32: Fix usages of AppResourceRepository in AS 3.2 C14 plugin
2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov
4adc0a94ab
as32: Update to 181 platform api
2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov
ab25145458
as32: Restore uast to 181 platform state
2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov
daa860651f
as32: Update AS 3.2 version to 3.2.0.13
2018-05-10 23:28:41 +03:00
Alexey Tsvetkov
c026c7f24b
Filter out non-Java files from kapt inputs
...
#KT-23878 fixed
2018-05-10 22:01:06 +03:00
Alexey Tsvetkov
5f3c57e69a
Filter out generated Java files from stubs generation inputs
2018-05-10 21:58:35 +03:00
Anton Bannykh
23fb5107c7
JS: fix Long inlining (private, companion) (KT-24189 fixed).
2018-05-10 21:06:50 +03:00
Toshiaki Kameyama
da92c844a6
Might be 'const': fix false positive in object literal #KT-23756 Fixed
2018-05-10 20:42:32 +03:00
Mikhail Glukhikh
84d71e5a8c
"Wrap with let": minor enhancement (related to KT-6364)
2018-05-10 20:41:53 +03:00
Toshiaki Kameyama
b6564ed19a
"Wrap with let": fix for nullable extension function call #KT-6364 Fixed
2018-05-10 20:28:14 +03:00