Alexander Udalov
6ba32ed624
Refactor CallChecker and subclasses
...
Encapsulate everything that is needed in checkers into CallCheckerContext. Pass
an instance of this context instead of BasicCallResolutionContext to checkers.
Also pass an instance of the element to report errors on: this is useful
because before this, every checker had its own way of determining where should
the error be reported on. Some of them, for example, were not doing anything if
Call#calleeExpression returned null, which is wrong, see operatorCall.kt
#KT-12875 Open
2016-06-29 19:20:00 +03:00
Mikhael Bogdanov
db5d9940df
Added 'isInline' implementation to property accessor descriptors
2016-06-24 17:05:48 +03:00
Yan Zhulanow
530ab42de6
Android Extensions: Fix KT-10969 (NullPointerException when finding view in Fragment if getView() is null)
...
(cherry picked from commit 80f5852)
2016-06-24 15:10:19 +03:00
Yan Zhulanow
2cd0e9c8d8
Fix EA-80764. Do not try to get the resource manager for the disposed module
...
(cherry picked from commit c3bd243)
(cherry picked from commit cddcf02)
2016-06-24 15:10:19 +03:00
Denis Zharkov
1b82e43d76
Add LanguageFeatureSettings parameter to single method in checkers interfaces
...
This parameter will be used further for target-dependent checks
Also introduce SimpleDeclarationChecker/SimpleCallChecker sub-interfaces (more weak ones)
Implementing them instead of base checkers is more convenient in most cases
2016-06-09 17:57:15 +03:00
Stanislav Erokhin
f41c8dc045
Refactoring. Removed several usages of asSimpleType
2016-06-09 12:58:00 +03:00
Stanislav Erokhin
957bae18be
Refactoring. Move flexible type creation to KotlinTypeFactory.
2016-06-09 12:57:44 +03:00
Stanislav Erokhin
3a451744c5
Introduce KotlinTypeFactory
2016-06-09 12:57:43 +03:00
Mikhail Glukhikh
9bd3be68f7
Code cleanup: protected is effectively private
2016-05-13 17:57:17 +03:00
Valentin Kipyatkov
b551886889
Code cleanup: removed redundant semicolons
2016-04-29 11:26:25 +03:00
Mikhail Glukhikh
ee46c34a5e
Android: unnecessary 'val's removed from constructors
2016-04-27 18:42:00 +03:00
Denis Zharkov
0d4a132be5
Minor. Regenerate tests
2016-04-25 17:41:08 +03:00
Stanislav Erokhin
a1d052b8fa
Refactoring. Remove FlexibleTypeFactory.DEFAULT and refactor flexible type creation by special fq-name for tests.
2016-04-25 15:28:46 +03:00
Stanislav Erokhin
0a4ad3f267
Refactoring. Rename FlexibleTypeCapabilities -> FlexibleTypeFactory. Also use factory.create instead of DelegatingFlexibleType.create.
2016-04-25 15:28:46 +03:00
Yan Zhulanow
371e80bcba
Android Extensions: Do not upcast ViewStub to View (KT-10321)
2016-04-19 18:47:51 +03:00
Yan Zhulanow
6e14c11280
Android Extensions: handle layout file rename
2016-04-19 18:47:51 +03:00
Yan Zhulanow
47b3394f62
Android Extensions: regenerate properties when layout is renamed/deleted/added (KT-11944)
2016-04-19 18:47:51 +03:00
Yan Zhulanow
9e33b7d3bc
Android Extensions: support identifiers with packages (KT-10841)
2016-04-19 18:47:51 +03:00
Nikolay Krasko
2e1a2fa8d1
Fallback to default source provider for non-gradle projects
2016-04-18 14:06:45 +03:00
Nikolay Krasko
47c7181f2a
Extract tests-common module without any actual tests
...
The main reasoning for the module is to avoid running any compiler tests while executing run configuration that searches tests across module dependencies.
2016-04-08 17:40:38 +03:00
Yan Zhulanow
65da1edb56
Download full copy of the Android SDK (needed to run the all Android Lint tests)
2016-04-08 15:39:58 +03:00
Nikolay Krasko
9cd8c2b7bd
Fix compilation against new version of Android plugin
2016-04-05 00:39:46 +03:00
Nikolay Krasko
f80aaa97a6
Extract plugins tests to separate module with JDK 1.8
2016-04-05 00:39:46 +03:00
Nikolay Krasko
46b5305666
Extract jps-tests to separate module
...
Remove dependency to idea-full to build jps-plugin with Java 1.6
2016-04-05 00:39:46 +03:00
Nikolay Krasko
ef13e8f5bb
Prepare building plugins modules against 1.8 JDK
2016-04-05 00:39:46 +03:00
Nikolay Krasko
b6f3bf9869
Update undroid test clean up
2016-04-05 00:39:46 +03:00
Nikolay Krasko
bbd6417d3c
Add plugin-api dependency of android-extension-compiler to plugin classpath
...
Add it to kotlin-plugin.jar but not to kotlin-android-extensions-plugin.jar because frontend depends on the module plugin-api too.
2016-03-31 16:07:22 +03:00
Alexander Udalov
3944d56ac2
Minor, remove unnecessary type parameter in CallChecker#check
2016-03-28 14:13:59 +03:00
Denis Zharkov
78c9dffe00
Refine return type of MemberScope.getContributedFunctions
2016-03-16 20:22:58 +03:00
Natalia Ukhorskaya
334c6ba71a
Refactoring: rename kotlin-android-plugin to idea-android
2016-03-15 20:26:14 +03:00
Natalia Ukhorskaya
d2de74226e
Refactoring: rearrange dependencies in android modules
2016-03-15 20:25:54 +03:00
Natalia Ukhorskaya
78d4860215
Refactoring: rename android-jps-plugin to android-extensions-jps
2016-03-15 20:25:50 +03:00
Natalia Ukhorskaya
bf4c92d903
Refactoring: rename android-idea-plugin to android-extensions-idea
2016-03-15 20:25:48 +03:00
Natalia Ukhorskaya
7e6fa8ef17
Refactoring: rename android-compiler-plugin to android-extensions-compiler
2016-03-15 20:25:45 +03:00