Dmitry Jemerov
0fa4e1cbaf
Set scope of plugin dependencies to provided
2017-09-01 13:11:39 +02:00
Vyacheslav Gerasimov
5220dfc0ad
Android: Add inspection & quickfix to convert findViewById to api 26
...
#KT-19940 Fixed Target Version 1.1.5
2017-09-01 13:32:52 +03:00
Vyacheslav Gerasimov
56a075eab6
UAST: Fix annotation arguments processing
...
multiple unnamed arguments represented as value named expression with array initializer
call kind for array in annotation argument should be "array initializer" instead of "method call"
#KT-16600 Fixed Target Versions 1.1.5
2017-09-01 13:31:50 +03:00
Dmitry Jemerov
e0bf438195
Move .xml files back to main idea module
2017-09-01 11:57:37 +02:00
Dmitry Jemerov
8b0d606ab5
Move Android .xml file to idea-android module
2017-09-01 11:57:37 +02:00
Dmitry Jemerov
d8b6bd5cb3
Decouple idea-analysis from Android
...
Introduce API for extending syntax highlighting; use it in android
component
2017-09-01 11:57:37 +02:00
Vyacheslav Gerasimov
aedb4c0ade
Android Lint: Fix constant evaluation in annotation parameter
...
#KT-17785 Fixed Target Versions 1.1.5
2017-08-23 13:18:56 +03:00
Dmitry Jemerov
f7c17d6a64
Naming convention inspections
2017-08-16 15:45:33 +02:00
Dmitry Jemerov
e3963fccf4
Move Gradle-related classes to idea-gradle module
2017-08-15 16:51:42 +02:00
Mikhael Bogdanov
4e868c5232
Update AndroidProjectKey package
2017-08-10 22:05:48 +03:00
Vyacheslav Gerasimov
c1cfd70ae7
Fix tests compilation
2017-08-10 22:05:46 +03:00
Vyacheslav Gerasimov
b825a8db43
Fix compilation AndroidResourceReferenceAnnotator
2017-08-10 22:05:46 +03:00
Dmitry Jemerov
62e583903e
Fix compilation gotoResourceHelper, KotlinAndroidTestCase
2017-08-10 22:05:45 +03:00
Mikhail Glukhikh
c675824c0a
Fix compilation PlatformAndroidGradleDetector
2017-08-10 22:05:45 +03:00
Yan Zhulanow
6336c4ee98
Fix compilation androidUtil, MyReferredResourceFieldInfo requires module
2017-08-10 22:05:45 +03:00
Dmitry Jemerov
be1022db2b
Fix compilation NewKotlinActivityAction, gradle sync classes moved
2017-08-10 22:05:45 +03:00
Dmitry Jemerov
88420311cb
Look at library content to detect library kind when importing
2017-08-02 17:10:01 +02:00
Mikhail Glukhikh
c5a81691fb
Partial code cleanup: can be private and some others applied
2017-08-01 17:08:56 +03:00
Mikhail Glukhikh
951e8cd91a
Code cleanup: unnecessary local variable applied
2017-07-21 18:58:48 +03:00
Yan Zhulanow
069579fd79
Debugger: Disable code interpreting by default in evaluator
...
Provide the compiled bytecode to debugger instead of interpreting the expression by default.
This significantly increases evaluation speed in numerous cases, e.g. `(1..10000).map { it.toString() }.count()`.
Leave interpreter mode as a fallback.
Android does not provide decent in-memory class loading support.
Moreover, we need to run dex on the compiled classes, and it required significant time.
So for now compiling evaluator for Android is available only in Android O, and only if there're any local classes or non-inline lambdas (evaluator didn't work for them before so we may consider this change as an improvement).
2017-07-18 18:22:28 +03:00
Dmitry Jemerov
0fa09adf17
Provide library kind for common libraries; get rid of autodetection
2017-07-17 11:58:57 +02:00
Dmitry Jemerov
608f5892f9
Set library kind when importing projects from Gradle
2017-07-17 11:58:57 +02:00
Mikhail Glukhikh
dfe2c16bc7
More cleanup: lift return / assignment out
2017-07-10 12:59:58 +03:00
Mikhail Glukhikh
9c06739594
Cleanup: apply "lift out..." inspection (+ some others)
2017-07-07 18:15:30 +03:00
Vyacheslav Gerasimov
ee53e81e8e
Fix Android resource reference folding
...
Properly fold qualified expressions and handle nested references
#KT-18429 Fixed
2017-07-07 03:24:03 +03:00
Vyacheslav Gerasimov
7c6ffff198
Refactor Kotlin Gradle configurator
2017-07-07 03:23:34 +03:00
Vyacheslav Gerasimov
2ec1a4311a
Implement Kotlin configurator for GSK
...
#KT-14965 Fixed
2017-07-07 03:23:17 +03:00
Vyacheslav Gerasimov
2116877991
J2K: rename KotlinAndroidGradleModuleConfigurator .java -> kt
2017-07-07 03:22:28 +03:00
Vyacheslav Gerasimov
fdf098d65c
Add gutter icon with navigation to related files for Android components
2017-06-06 20:47:30 +03:00
Vyacheslav Gerasimov
3f03b05bd3
Fix Android gutterIcon test, use findGuttersAtCaret method
2017-06-06 20:47:21 +03:00
Vyacheslav Gerasimov
15bfd4439a
Fix AddTargetVersionCheckQuickFix, generate else branch with TODO
...
when surrounded statement used as expression
#KT-17786 Fixed
#KT-17788 Fixed
2017-06-06 20:46:53 +03:00
Vyacheslav Gerasimov
33c3ba815f
Fix Android SuppressLint and Api quickfixes: proper annotation placing
...
#KT-17783 Fixed
#KT-17787 Fixed
2017-06-06 20:46:40 +03:00
Nikolay Krasko
0980446836
Fix running Android tests locally on windows
2017-06-06 14:56:22 +03:00
Zalim Bashorov
fb9d88315a
Don't print unnecessary empty line separators when generate tests
2017-05-16 19:42:47 +03:00
Vyacheslav Gerasimov
9552666aa6
Use platform-25 for android tests
...
Add Android platform-25 to dependencies
Update platform tools to 25.0.3
2017-04-27 16:02:37 +03:00
Vyacheslav Gerasimov
49c8dfbb06
Add gutter icons for Android resource references
...
#KT-16843 Fixed
2017-04-26 18:38:29 +03:00
Vyacheslav Gerasimov
386ec53dd5
Update AndroidTestCase to AS 2.3 + Android tests refactoring
2017-04-26 18:38:29 +03:00
Vyacheslav Gerasimov
06c8de02b5
Add intentions for registering Android components in manifest
...
Activity, Service, BroadcastReceiver
#KT-17389 Fixed
2017-04-18 19:04:15 +03:00
Vyacheslav Gerasimov
5b58a6f9e8
Add intentions Add/Remove/Redo parcelable implementation
...
#KT-17465 Fixed
#KT-12049 Fixed
2017-04-18 19:04:14 +03:00
Zalim Bashorov
05c3e7e81d
Don't export kotlin-reflect form util module and add it explicitly where it's required.
...
Also, remove kotlin-reflect form container module.
Main goal is get rid of kotlin-reflect.jar from modules what required for minimal compiler.jar which can compile Kotlin only to JS to make it smaller.
2017-04-17 18:18:31 +03:00
Vyacheslav Gerasimov
1d134ffc72
Register Android api quickfixes for inlined api inspection
...
#KT-14857 Fixed
2017-04-10 12:39:40 +03:00
Vyacheslav Gerasimov
70d24d0108
Fix NoSwingUnderWriteActionException in KotlinAndroidAddStringResource
2017-04-10 12:38:34 +03:00
Alexey Sedunov
a8a9c3bbf4
Kotlin Facet: Fix platform detection in android-gradle projects
...
Sort candidate library names by descending length.
Suppress common library if platform-specific one is also present
#KT-16827 Fixed
2017-04-04 14:35:08 +03:00
Dmitry Jemerov
265e765ec9
Allow to exclude specific qualified names from import in tests
...
In tests, ImportFix imports the first available candidate. This can
lead to non-deterministic tests when multiple candidates are available.
With this fix, unwanted candidates can be excluded.
2017-03-27 19:48:59 +02:00
Dmitry Jemerov
88372132be
Delete Android facet in teardown
2017-03-27 19:48:58 +02:00
Dmitry Jemerov
4f229c3fdc
Convert AbstractQuickFixMultiFileTest to light fixture test case
2017-03-27 19:48:51 +02:00
Dmitry Jemerov
8e26d5257f
Don't add stdlib-jre7 or stdlib-jre8 dependencies when configuring Kotlin with pre-1.1 version
...
#KT-16401 Fixed
2017-03-21 14:02:05 +01:00
Mikhail Glukhikh
e6cefba98b
Fix imports vs 2016.3 (ResourceFoldingBuilder)
2017-03-20 18:45:30 +01:00
Nikolay Krasko
2eb6c393a4
Move android modules to Java 8 SDK
2017-03-20 18:45:29 +01:00
Yan Zhulanow
59055e28ee
CreateFileResourceQuickFix now accepts ResourceFolderType instead of ResourceType
...
(cherry picked from commit 55f350f)
2017-03-20 18:45:26 +01:00