Nikolay Krasko
10648f44ac
Do not auto-import convention methods without 'operator' modifier (KT-10212)
...
#KT-10212 Fixed
2016-01-21 17:45:51 +03:00
Dmitry Jemerov
84d507b770
code review
2016-01-21 15:30:13 +01:00
Dmitry Jemerov
4910b06f2c
show "kotlin not configured" editor notification
2016-01-21 15:30:11 +01:00
Dmitry Jemerov
170ba98b20
show unsupported ABI notification only when current module or its dependencies have libraries with bad ABI
2016-01-21 15:30:11 +01:00
Dmitry Jemerov
6f80f36f2e
UnsupportedAbiVersionNotificationPanelProvider: fix compilation and cleanup after J2K
2016-01-21 15:30:10 +01:00
Dmitry Jemerov
b1c5d3644e
UnsupportedAbiVersionNotificationPanelProvider: J2K
2016-01-21 15:30:10 +01:00
Dmitry Jemerov
e20fdac9df
UnsupportedAbiVersionNotificationPanelProvider: rename to .kt
2016-01-21 15:30:09 +01:00
Dmitry Jemerov
2379fd80fc
don't show "kotlin not configured" notification for modules where the runtime is outdated
2016-01-21 15:30:08 +01:00
Dmitry Jemerov
85ea295e92
OutdatedKotlinRuntimeNotification: J2K and cleanup
2016-01-21 15:30:08 +01:00
Dmitry Jemerov
ca9979f9fb
OutdatedKotlinRuntimeNotification.java: rename to .kt
2016-01-21 15:30:07 +01:00
Dmitry Jemerov
2272516d09
KotlinRuntimeLibraryUtil: J2K
2016-01-21 15:30:07 +01:00
Dmitry Jemerov
f588ef2912
KotlinRuntimeLibraryUtil: rename to .kt
2016-01-21 15:30:06 +01:00
Dmitry Jemerov
6c2a2b91b4
offer "All modules" choice in "Configure Kotlin in project" dialog, allow to invoke the action when there are no Kotlin files in the project
...
#KT-7979 Fixed
2016-01-21 15:30:05 +01:00
Dmitry Jemerov
4ffac80710
ConfigureKotlinInProjectUtils: convert to Kotlin, cleanup
2016-01-21 15:30:05 +01:00
Dmitry Jemerov
cff06cccf7
ConfigureKotlinInProjectUtils.kt: rename
2016-01-21 15:30:04 +01:00
Dmitry Jemerov
3b4a6afe01
Kotlin-produced test run configurations replace Java-produced ones (to avoid duplicate run configuration suggestions appearing since KtFile.getClasses() was implemented)
2016-01-21 14:46:26 +01:00
Alexander Udalov
8fe964f269
Resolve array access RHS always as the last argument of the call
...
Also do not attempt to match any of the arguments in the brackets with the last
parameter of the 'set' method
#KT-10633 Fixed
2016-01-21 00:36:35 +03:00
Pavel V. Talanov
b34a91eeaa
Changes inside init blocks should be considered out of block modifications
2016-01-20 19:02:53 +03:00
Pavel V. Talanov
d72bc78550
Resolve annotations on parameters of function type
2016-01-20 18:06:23 +03:00
Pavel V. Talanov
7d72875227
Create descriptors for parameters inside parameter list of KtFunctionType
...
Do not throw when trying to resolveToDescriptor those parameters
2016-01-20 18:06:19 +03:00
Dmitry Jemerov
f88f38f7d2
Android Studio adds Android-Gradle facet to all modules, so we need to check for Android facet and Gradle module instead
...
#KT-9600 Fixed
2016-01-20 14:32:10 +01:00
Dmitry Jemerov
4ab6436f93
avoid index access in KtFile.getClasses() when the file isn't part of a multi-file class (helps with KT-10684)
2016-01-20 13:45:42 +01:00
Valentin Kipyatkov
28331bca9f
KT-9418 Suggest name for new declaration basing on unresolved names in code
...
#KT-9418 Fixed
2016-01-20 13:55:56 +03:00
Valentin Kipyatkov
83ca4b84f9
Minor optimization
2016-01-20 13:55:55 +03:00
Valentin Kipyatkov
59fb90a5ee
Dropped KtTypedef
2016-01-19 19:31:44 +03:00
Alexander Udalov
e2f49536f5
Move OldPackageFacadeClassUtils to module light-classes
2016-01-19 18:54:08 +03:00
Alexander Udalov
aef6d49b48
Drop isLocalClass, do not write KotlinLocalClass
2016-01-19 18:39:59 +03:00
Alexander Udalov
625c46d568
Delete obsolete and unused class_annotation JVM proto extension
2016-01-19 18:39:59 +03:00
Alexander Udalov
d4c4515944
Refactor BinaryVersion and subclasses, get rid of static factories
2016-01-19 18:39:59 +03:00
Alexander Udalov
59dab0a558
Combine all metadata annotations into one kotlin/Metadata
2016-01-19 18:39:59 +03:00
Alexander Udalov
661af854fa
Drop KotlinClassHeader#filePartClassNames, use 'data' instead
2016-01-19 18:39:59 +03:00
Alexander Udalov
b587d3a78d
Use JvmMetadataVersion where appropriate instead of bytecode version
2016-01-19 18:39:59 +03:00
Alexander Udalov
bd47e9d47b
Split JVM binary version into two: metadata and bytecode interface
...
Currently all code only uses the first one (JvmMetadataVersion), later the
bytecode interface version (JvmBytecodeBinaryVersion) will be used only in
codegen and reflection to avoid compiling against or calling methods with
unsupported conventions like default method naming and signature,
getters/setters naming etc.
2016-01-19 18:39:59 +03:00
Alexander Udalov
fc88a0186f
Drop obsolete synthetic class kind in KotlinClassHeader
2016-01-19 18:39:59 +03:00
Alexander Udalov
9552accaec
Introduce BinaryVersion.isCompatible()
...
To decrease the chance to mix up the receiver and the first argument when
checking version compatibility
2016-01-19 18:39:59 +03:00
Alexander Udalov
04d335db15
Move version constants to corresponding BinaryVersion subclasses
2016-01-19 18:39:59 +03:00
Alexander Udalov
2f64680b63
Add several subclasses of BinaryVersion
...
To simplify comparison of expected vs actual versions in the future
2016-01-19 18:39:59 +03:00
Valentin Kipyatkov
a1d760fc36
KT-10631 Consider creating a synthetic property even when the setter returns 'this'
...
#KT-10631 Fixed
2016-01-19 15:57:20 +03:00
Pavel V. Talanov
ce42d47383
Resolve lambda argument types when failing to resolve call
2016-01-19 14:14:33 +03:00
Nikolay Krasko
adbf098166
Store information is file was compiled with Kotlin in attributes (KT-10312)
...
- Add boolean attribute for all binary files in the project
- Stop using JarUserDataManager for full file indexing
- Store full header of files compiled with Kotlin in file UserData
2016-01-19 13:33:51 +03:00
Nikolay Krasko
61bd0e7265
Refactoring: Remove unused class
2016-01-19 13:33:51 +03:00
Dmitry Jemerov
f85c4dd458
cleanup KotlinProjectViewProvider
2016-01-19 11:04:10 +01:00
Dmitry Jemerov
b60621c428
tests fixed
2016-01-19 10:53:53 +01:00
Mikhail Glukhikh
7f2624c9a1
Handling of annotations on delegated property in descriptor loader & stub builder
2016-01-19 11:38:58 +03:00
Mikhail Glukhikh
b78d481bb1
delegate use-site targeted annotations: parser, front-end, codegen with some tests #KT-10502 Fixed
2016-01-19 11:38:41 +03:00
Denis Zharkov
e9693e987f
Humanize type mismatch diagnostic caused by type projections
...
#KT-10581 Fixed
2016-01-19 11:05:41 +03:00
Dmitry Jemerov
f1b5e72b99
always add mavenCentral() as buildscript repository dependency (KT-10342)
...
#KT-10342 Fixed
2016-01-18 20:09:30 +01:00
Dmitry Jemerov
60ca1cbcf3
don't represent Kotlin project view nodes as light classes (KT-10703)
2016-01-18 19:07:51 +01:00
Dmitry Jemerov
8cca34a00e
KotlinProjectViewProvider: J2K
2016-01-18 19:00:56 +01:00
Dmitry Jemerov
f4d4ab691b
KotlinProjectViewProvider: rename to .kt
2016-01-18 18:58:52 +01:00