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
Valentin Kipyatkov
4c62304a1d
KT-10337 Object marked as unused
...
#KT-10337 Fixed
2016-01-18 17:40:04 +03:00
Valentin Kipyatkov
4c2a14ff43
KT-9834 Optimizing imports with named import (kinda like static import)
...
#KT-9834 Fixed
2016-01-18 17:40:03 +03:00
Valentin Kipyatkov
bec16efbd7
Add/remove argument name intentions to work for super class constructor call
2016-01-18 17:40:03 +03:00
Valentin Kipyatkov
c44340a351
Corrections on code review
2016-01-18 15:34:20 +03:00
Valentin Kipyatkov
65f5dd1dd5
Got rid of special methods "applyTo" without editor parameter in intentions
2016-01-18 15:34:20 +03:00
Valentin Kipyatkov
552359ce03
KT-7443 Inspection + intention to replace assert (x != null) with "!!" or elvis
...
#KT-7443 Fixed
2016-01-18 15:34:20 +03:00
Ilya Gorbunov
92c2d17910
Cleanup leftovers in compiler and IDE
2016-01-17 15:52:11 +03:00
Stanislav Erokhin
133155f4cc
Minor. Temporary import forEach as forEachStdLib to avoid problem with introducing HidesMembers annotation
2016-01-16 11:30:38 +03:00
Dmitry Jemerov
0c995d0ae1
Merge pull request #808 from mcgee/KT-10196
...
KT-10196: Suggest to replace 'substring' calls by take/drop/dropLast calls when possible
2016-01-15 19:52:35 +01:00
Dmitry Jemerov
63dd0fc4ae
streamlined plugin update logic
2016-01-15 19:18:26 +01:00
Dmitry Jemerov
765d58b8eb
plugin autoupdate fixed: always provide plugin descriptor with new version number to plugin downloader
2016-01-15 19:18:26 +01:00
Pavel V. Talanov
abf4a5cf43
Show kotlin builtIn classes in "go to symbol"
...
#KT-10474 Fixed
2016-01-15 18:04:59 +03:00
Pavel V. Talanov
af1e83422e
Move KotlinGotoClassContributor and KotlinGotoSymbolContributor to a single Kotlin file (j2k on the fly)
...
Move the file to "goto" package
2016-01-15 18:04:58 +03:00
Pavel V. Talanov
db07d783a2
Member is considered deprecated if it overrides only deprecated members
...
Property accessor is considered deprecated when the property is
Provide IDE inspection to strikeout members overriding deprecated members (like in java)
2016-01-15 17:53:23 +03:00
Mikhail Glukhikh
6157ebe3b8
Separate UNSAFE_IMPLICIT_INVOKE_CALL diagnostics introduced (see KT-8252)
2016-01-15 17:22:54 +03:00
Mikhail Glukhikh
0f80df7b2e
initialDataFlowInfoForArguments introduced in CallExpressionResolver methods #KT-10175 Fixed
2016-01-15 17:22:42 +03:00
NataliaUkhorskaya
b73ce68dbd
Debugger: quote package fqName properly. Fix muted tests
2016-01-15 15:57:35 +03:00