Vyacheslav Gerasimov
cb3a8d87d0
Android Extensions: Correctly handle namespaces in layout xml
...
#KT-19451 Fixed Target versions 1.1.5
2017-08-23 13:18:34 +03:00
Mikhail Glukhikh
3623f581b8
Eliminate a set of warnings, mostly nullability ones
2017-08-18 15:10:27 +03:00
Dmitry Jemerov
e3963fccf4
Move Gradle-related classes to idea-gradle module
2017-08-15 16:51:42 +02:00
Vyacheslav Gerasimov
298d29a962
Android Extensions: Allow to disable IDE support (KT-12741)
2017-08-10 22:05:45 +03:00
Yan Zhulanow
a142c2f8fa
Fix compilation IntelliJLintClient, IntelliJLintProject, IDEAndroidLayoutXmlFileManager
2017-08-10 22:05:45 +03:00
Yan Zhulanow
6002281874
Android Extensions: Downgrade to old Android variant processing logic when 'experimental' flag is disabled (KT-19270)
2017-08-02 03:35:14 +03:00
Yan Zhulanow
c1600c9841
Report errors from compiler plugins as compiler PLUGIN_ERRORs (KT-19311)
2017-08-02 03:35:10 +03:00
Yan Zhulanow
ea1068a822
Parcelable, minor: Rename MagicParcel to Parcelize
2017-07-26 20:19:32 +03:00
Yan Zhulanow
5a1a4bd8bd
Android Extensions: Add global cache flag in compiler plugin
2017-07-26 20:19:26 +03:00
Yan Zhulanow
84eff43b49
Parcelable: Support Android Extensions experimental flag
2017-07-26 20:19:25 +03:00
Yan Zhulanow
8cdcfc5e67
Android Extensions: Migrate enabled status check to Gradle importer #KT-17641
2017-07-26 20:19:24 +03:00
Yan Zhulanow
38449caaed
Parcelable: Fixes after review
2017-07-26 20:19:23 +03:00
Yan Zhulanow
aa5f9ee3ec
Parcelable: Correctly handle writeToParcel() overriding, report errors on custom writeToParcel() and CREATOR
2017-07-26 20:19:18 +03:00
Yan Zhulanow
4197380621
Parcelable: Add declaration checker
2017-07-26 20:19:16 +03:00
Yan Zhulanow
4851a83a83
Android Extensions: put new functionality under the flag
2017-07-18 18:10:30 +03:00
Yan Zhulanow
c9cd1a4d75
Minor: Android Extensions compiler plugin refactoring
2017-07-18 18:10:18 +03:00
Yan Zhulanow
303b246a49
Minor: Move AndroidExtensionsReportSubmitter to other KAE files
2017-07-18 18:10:16 +03:00
Yan Zhulanow
f7786a42ab
Android Extensions: Show warning on a dot-call of a reference which is missing in some configurations (KT-18012)
...
When more than one layout configuration is available, a particular resource (view or fragment) may be absent in some of them.
We should show a warning on such resource reference calls as the call may lead to NPE.
2017-07-18 18:08:32 +03:00
Yan Zhulanow
f4acf404ca
Android Extensions: Support Android variants and library dependencies (KT-14086, KT-16934)
2017-07-18 18:08:31 +03:00
Vyacheslav Gerasimov
4cef8728d7
Add layout file name in completion for Android Extension properties
...
#KT-11051 Fixed
2017-07-07 03:24:19 +03:00
Vyacheslav Gerasimov
f59859842a
Fix Android extensions import rename
...
#KT-17890 Fixed
2017-07-07 03:24:10 +03:00
Nikolay Krasko
72611d1337
Fix extract refactoring for android extensions declarations (KT-11048)
...
Allow any target declarations in marking references. Otherwise conflicts
for references resolved to xml are not considered broken.
This also fix evaluate for extension fields.
#KT-11048 Fixed
2017-07-05 20:21:13 +03:00
Ilya Gorbunov
7efb9ddd4e
Early return if value is null
...
The change is required to fix compilation for IDEA 172, where getValue()
became explicitly nullable.
2017-06-20 02:58:40 +03:00
Vyacheslav Gerasimov
f51e3ab90c
Fix Android extensions property usage highlighting
...
#KT-10736 Fixed
2017-06-16 17:13:34 +03:00
Yan Zhulanow
8354d25800
Android Extensions: Fix availability in Android/JPS projects (KT-17610)
2017-04-27 18:52:11 +03:00
Vyacheslav Gerasimov
386ec53dd5
Update AndroidTestCase to AS 2.3 + Android tests refactoring
2017-04-26 18:38:29 +03:00
Yan Zhulanow
8ac14ab930
Android Extensions: Allow to disable IDE support (KT-12741)
...
Enable IDE plugin only if it is enabled in the build.gradle file.
2017-03-22 22:03:17 +03:00
Alexey Sedunov
bab762b761
Implement post-refactoring optimization of unused imports
...
#KT-15822 Fixed
#KT-13755 Fixed
2017-03-22 13:36:11 +03:00
Dmitry Jemerov
a2b0b3d6eb
fix compilation against branch 163
2017-03-20 18:45:15 +01:00
Mikhail Glukhikh
b121bf8802
Cleanup: fix some compiler warnings (mostly deprecations, javaClass)
2017-03-15 17:35:31 +03:00
Vyacheslav Gerasimov
39010ab847
Fix broken isReferenceTo checking code for Android extensions
...
#KT-16132 Fixed
2017-03-03 16:17:52 +03:00
Mikhail Zarechenskiy
6cccad9647
Update year in license and regenerate tests
2017-01-10 12:01:17 +03:00
Nikolay Krasko
49d57124c1
Take new name when layout rename started from reference
2016-12-22 16:20:29 +03:00
Nikolay Krasko
da5f2a0784
Always return identifier from handleElementRename() (KT-14358)
...
Returning reference will lead to replacing identifier with reference, that result bad psi, bad stubs, and failure at some point.
#KT-14358 Fixed
2016-12-22 16:20:29 +03:00
Zalim Bashorov
1dedb38481
Regenerate tests
2016-11-09 21:41:12 +03:00
Vyacheslav Gerasimov
3ce1703ced
Extract string resource intention action for android (KT-11715)
...
#KT-11715 Fixed
2016-10-28 15:30:22 +03:00
Nikolay Krasko
ea1aac07ec
Problem: workaround thread leaking problem
2016-09-20 15:27:08 +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
Valentin Kipyatkov
b551886889
Code cleanup: removed redundant semicolons
2016-04-29 11:26:25 +03:00
Denis Zharkov
0d4a132be5
Minor. Regenerate tests
2016-04-25 17:41:08 +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
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
Natalia Ukhorskaya
334c6ba71a
Refactoring: rename kotlin-android-plugin to idea-android
2016-03-15 20:26:14 +03:00