Kirill Rakhman
ca86dbee72
Android: Add intention to generate View constructor convention
...
Fixes #KT-15150
2017-01-26 00:56:33 +03:00
Ilya Gorbunov
384b6410f2
New minus overloads appears in quickfix test data
2017-01-25 22:08:48 +03:00
Simon Ogorodnik
3948c1e007
KT-15153 Support typeAlias extensions in completion and add import
...
#KT-15153 fixed
2017-01-25 20:47:48 +03:00
Simon Ogorodnik
32f1ce7551
Added "kotlin.reflect.jvm.internal" to excluded from completion and auto imports list
2017-01-25 17:45:59 +03:00
Simon Ogorodnik
e220a20eed
KT-15796 Import of class referenced only in KDoc not preserved after copy-paste
...
#KT-15796 fixed
2017-01-25 17:41:26 +03:00
Simon Ogorodnik
4ca10c61fd
KT-11308 Hide kotlin.jvm.internal package contents from completion and auto-import
...
#KT-11308 fixed
2017-01-25 17:39:36 +03:00
Simon Ogorodnik
5c52bdc684
KT-14859 "Parameter Info" doesn't work properly in one case
...
#KT-14859 fixed
2017-01-25 17:32:57 +03:00
Nikolay Krasko
afd0655776
Fix after review
2017-01-25 17:19:53 +03:00
Nikolay Krasko
c525a59df8
Make breakpoints work in suspend functions
2017-01-25 16:46:35 +03:00
Nikolay Krasko
649ec9a73d
Check that breakpoints work in suspend function without suspension points
2017-01-25 16:46:33 +03:00
Nikolay Krasko
1a3d333da1
Add diagnostic for null error in KotlinClsStubBuilder
2017-01-25 16:46:32 +03:00
Alexey Sedunov
983ad55357
Code Insight: Preserve identifier quotes in "Generate equals()/hashCode()/toString()" actions
...
#KT-15883 Fixed
2017-01-25 14:24:51 +03:00
Alexey Sedunov
7382d7c7d6
Extract Function: Add 'suspend' modifier if extracted function contains suspend-calls
...
#KT-14704 Fixed
2017-01-25 14:24:49 +03:00
Alexey Sedunov
41f5a3e864
Support "Change parameter type" for parameters with type-mismatched default value
...
#KT-15627 Fixed
2017-01-25 14:24:48 +03:00
Denis Zharkov
ba0f8b908f
Fix Kotlin bytecode toolwindow showing wrong code for suspend functions
...
Use binding context from the full resolve, because otherwise control-flow
analysis is not being run, that is very important for suspend functions
(tail-call optimizations)
#KT-15827 Fixed
2017-01-25 14:22:40 +03:00
Vyacheslav Gerasimov
4fe040eeb9
Fixed several bugs in Android lint ApiDetector (KT-15002, KT-12024, KT-14737, KT-14825, KT-12023, KT-15018)
...
Merged IntelliJApiDetector to ApiDetector
#KT-15002 Fixed
#KT-12024 Fixed
#KT-14737 Fixed
#KT-14825 Fixed
#KT-12023 Fixed
#KT-15018 Fixed
(cherry picked from commit e830e8b55fa2e354303a6c604b3905285a05b9db)
2017-01-25 10:50:36 +03:00
Vyacheslav Gerasimov
d0f1b81bfa
Fixed bugs in Kotlin Android Lint CleanupDetector
...
#KT-14780 Fixed
#KT-14677 Fixed
(cherry picked from commit f591b4958e4a836d37d70c2ad8ff15e626c6342a)
2017-01-25 10:50:35 +03:00
Alexey Andreev
aedf8bd232
JS: replace noImpl with definedExternally in tests
2017-01-24 20:14:31 +03:00
Nikolay Krasko
d13c34200b
Remove method deprecated in 171 and explicitly set mainClass before calling toCommandLine()
2017-01-24 16:43:22 +03:00
Mikhail Glukhikh
fb913bc071
Operator to function: mod --> rem, modAssign --> remAssign #KT-15874 Fixed
2017-01-24 15:19:36 +03:00
Mikhail Glukhikh
bfb31a465f
Quick-fix to add 'suspend' to the containing function #KT-15800 Fixed
2017-01-24 15:17:55 +03:00
mglukhikh
96cddb6b7b
False positive in "Remove redundant let" fixed #KT-15884 Fixed
2017-01-24 15:17:48 +03:00
mglukhikh
be75ef919e
Change visibility modifier: now works on no-modifier type aliases #KT-15066 Fixed
2017-01-24 15:17:41 +03:00
shiraji
d9ec8a92f2
KT-15553 Support compile constant for "Copy concatenation text to clipboard"
...
#KT-15553 Fixed
2017-01-24 14:33:52 +03:00
Kirill Rakhman
909007d984
Add inspection for private primary constructors in data classes
...
Fixes #KT-15709
2017-01-24 14:08:05 +03:00
mglukhikh
f64345634b
WHEN_ENUM_CAN_BE_NULL_IN_JAVA is no more reported after smart cast to not-null #KT-15201 Fixed
2017-01-24 13:51:15 +03:00
mglukhikh
b53ebd115b
Pattern matching: work-around for smart cast target type instability #KT-14705 Fixed
2017-01-24 13:51:14 +03:00
Alexey Sedunov
c264de5795
Project Settings: Expose API version setting in Kotlin compiler configuration UI
2017-01-23 15:16:14 +03:00
Alexey Sedunov
7b12a66b21
Kotlin Facet: Warn about libraries configured for non-current platform
...
#KT-15628 Fixed
2017-01-23 15:16:11 +03:00
Alexey Sedunov
597068a704
Kotlin Facet: Import API version from Maven
...
#KT-15772 Fixed
2017-01-23 15:16:10 +03:00
Alexey Sedunov
fc9b001ccd
Kotlin Facet: Use project settings by default
...
#KT-15624 Fixed
2017-01-23 15:16:09 +03:00
Alexey Sedunov
b35eba0621
Kotlin Facet: Annotate CompilerSettings properties with @JvmField to make them available for copyBean()
...
#KT-15621 Fixed
#KT-15623 Fixed
2017-01-23 15:16:08 +03:00
Zalim Bashorov
cd04e794ee
KJS: class MathClass -> object Math
2017-01-23 14:14:13 +03:00
Zalim Bashorov
cb210b6c78
KJS: fix stub consistency test which was broken after JsonClass was renamed and transformed to object
...
`kotlin.js.Console` is used instead of `kotlin.js.JSON` to avoid problems on case-sensitive filesystems since right now we also have `kotlin.js.Json` (will be removed later)
2017-01-23 14:13:58 +03:00
Mikhail Glukhikh
1f573bb115
EA-92388: Fix of exception in import action creation
2017-01-20 17:39:14 +03:00
Ilya Gorbunov
3ec48ab244
Add kotlin.comparisons package to default imports.
2017-01-19 18:21:14 +03:00
shiraji
ad9bf1626f
Fix the problem with ConvertPrimaryConstructorToSecondaryIntention for enum #KT-15406 Fixed
2017-01-19 17:57:33 +03:00
Mikhael Bogdanov
e1bec0df2e
Proper generate interval for catch block variable; Fix for KT-15646: InconsistentDebugInfoException when stepping over throw
...
#KT-15646 Fixed
2017-01-19 09:33:10 +01:00
Dmitry Petrov
b9f9894310
KT-15677 KT-15775
...
Update parser & descriptor renderer to handle parenthesized types and function types properly.
Resolve annotations in parenthesized types.
AnnotationsImpl.isEmpty() returned false for targeted annotations only
(e.g., 'fun @receiver:Ann C?.foo()').
Properly keep track of targeted annotations.
2017-01-19 09:53:17 +03:00
Nikolay Krasko
ffc1624484
Stop using idea isNullOrEmpty function (KT-15786)
...
#KT-15786 Fixed
2017-01-18 18:36:19 +03:00
Zalim Bashorov
6ea6e4ab98
KJS: move println to kotlin.io; import kotlin.io by default in Default platform
2017-01-18 14:25:36 +03:00
Mikhael Bogdanov
7a27a9d51f
Propagate 'CompilerConfiguration' to frontend checkers
2017-01-18 10:23:40 +01:00
Alexey Sedunov
75e76dda54
Kotlin Facet: Do not reset configuration if "Use project settings" is switched on
...
#KT-15735 Fixed
2017-01-16 18:27:30 +03:00
Alexey Sedunov
aeb6af546f
Kotlin Facet: Switch off "Use project settings" on Maven/Gradle import
...
#KT-15682 Fixed
2017-01-16 18:27:29 +03:00
mglukhikh
93b2c56bb4
Fixed KNPE in convert primary constructor to secondary #KT-14745 Fixed
2017-01-16 17:35:51 +03:00
Dmitry Petrov
954204da82
KT-1560
...
Report warning on extensions shadowed by members.
2017-01-16 17:25:13 +03:00
Nikolay Krasko
ded7d5911b
Fix tests
...
Addition to 5d08e82aaf
2017-01-16 16:05:02 +03:00
Nikolay Krasko
ea7fac07c4
Ban import member intentions from import directives (KT-13710)
...
#KT-13710 Fixed
2017-01-16 13:00:50 +03:00
Nikolay Krasko
5d08e82aaf
Fix look up for breakpoint in crossinline lambdas in android (KT-15282)
...
#KT-15282 Fixed
2017-01-16 13:00:46 +03:00
Mikhail Glukhikh
b94c62649a
Create header implementation: select among modules only with configured source roots #KT-15641 Fixed
2017-01-16 11:31:07 +03:00