Michael Kuzmin
254dc8f71c
Build: Drop IntelliJ 2018.3 and Android Studio 3.4 support
...
Delete *.183 and *.as34 bunch-files
2019-12-19 18:31:07 +03:00
Igor Yakovlev
3f9bffcc5f
Move UL compiler plugin support to separate extension point
2019-10-18 23:22:47 +03:00
Igor Yakovlev
558a700f51
Add UL support for ParcelableCodegenExtension compiler plugin
2019-10-18 23:22:47 +03:00
Igor Yakovlev
27accbb089
Fix KotlinLintTestGenerated.testParcel + extensions registrations fixes
2019-09-13 19:40:31 +03:00
Igor Yakovlev
5dc29b9059
Fix build 183 - add missing functions
2019-09-12 18:42:56 +03:00
Igor Yakovlev
841ed45440
Fix build 183 - missing imports added
2019-09-12 17:53:31 +03:00
Igor Yakovlev
cfcecaaeab
LightClassApplicabilityCheckExtensions refactoring and IdeSerializationPluginApplicabilityExtension fix
2019-09-11 17:05:13 +03:00
Igor Yakovlev
2b7dee6f8d
Add CodegenApplicabilityCheckerExtension and use it to fallback to Heavy LigthClasses
...
+ Fixed #KT-33584
2019-09-11 15:29:12 +03:00
Nikolay Krasko
d04749dd3f
Remove other specific code after removing 182
...
#KT-33536 Fixed
2019-08-30 12:14:38 +03:00
Nikolay Krasko
1c4ee6bd79
Remove as33 support
...
#KT-33536 Fixed
2019-08-30 12:13:09 +03:00
Dmitry Savvinov
d5fbe59a3e
[Platform API] Introduce fundamental abstraction of Platform
...
This is a large commit, which introduces general API for working with
abstraction of Platform.
- Add new abstraction to 'core' - SimplePlatform - which represents
exactly one platform
- Clients are strongly prohibited to create instances of SimplePlatform
by hand, instead, corresponding *Platforms abstraction should be used
(e.g. JvmPlatforms, JsPlatforms, KonanPlatforms)
- Move TargetPlatform to 'core', it represents now a collection of
SimplePlatforms
- Clients are strongly encouraged to use TargetPlatform
(not SimplePlatform) in API, to enforce checks for multiplatform
- Provide a helper-extensions to work with TargetPlatform
(in particular, for getting a specific component platform)
- Remove MultiTargetPlatform in favour of TargetPlatform
- Notably, this commit leaves another widely used duplicated abstraction,
namely, IdePlatform. For the sake sanity, removal of IdePlatform is
extracted in the separate commit.
2019-05-28 13:08:07 +03:00
Dmitry Gridin
37c856290f
Fix minor compile warnings
2019-04-25 19:47:39 +07:00
nikita.movshin
deb416484c
Update copyright. Fix 2 lines comments after rebase
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
2019-04-23 20:15:03 +03:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Vyacheslav Gerasimov
210ee681a4
Cleanup bunch workarounds made for 181
2019-04-23 17:28:41 +03:00
Vyacheslav Gerasimov
2bc11cbd58
Remove as32 bunch files
2019-04-23 17:28:41 +03:00
Vyacheslav Gerasimov
8723ad4f46
Switch to 191 platform
2019-04-22 21:52:19 +03:00
Yan Zhulanow
5825da8433
Fix binary compatibility with Android plugin (KT-30978)
2019-04-15 05:17:03 +03:00
Yan Zhulanow
fb3efd2d78
Debugger: Fix completion for synthetic '_field' extension properties (KT-23586)
2019-04-11 17:46:14 +03:00
Yan Zhulanow
9729932fe4
191: Update Android plugin changes to AS33 (KT-29847)
2019-02-13 16:35:46 +03:00
Vyacheslav Gerasimov
13d87e8eae
Remove as31 bunch files
2019-01-14 21:29:02 +03:00
Vyacheslav Gerasimov
818910267e
Remove 173 bunch files
2019-01-14 21:29:02 +03:00
Yan Zhulanow
c5e241d5c6
Remove deprecated usages of CliOption in official compiler plugins
2018-11-27 22:21:22 +09:00
Yan Zhulanow
5636227857
Android Extensions: Use lazy package fragment descriptors only in IDE
2018-11-21 12:34:01 +09:00
Yan Zhulanow
4f3f813b32
Android Extensions: Make AndroidPackageFragmentProviderExtension lazy
2018-11-21 12:34:01 +09:00
Vyacheslav Gerasimov
4076923a26
as34: Apply changes from AS 3.3
2018-10-26 18:25:20 +03:00
Leonid Startsev
b611facd71
Check if serialization plugin presents in the facet compiler classpath before applying extensions logic
...
#KT-27166 Fixed
2018-09-28 18:31:03 +03:00
Yan Zhulanow
280a3e3d26
Android Extensions: Support platform modules (KT-26169)
2018-09-06 14:42:23 +03:00
Alexander Udalov
896cf61443
Move JVM-specific annotation FQ names and utils to frontend.java
2018-08-27 23:37:06 +02:00
Vyacheslav Gerasimov
c7a00971fe
Fix source compatibility with 183 platform
2018-08-03 21:29:18 +03:00
Vyacheslav Gerasimov
8fc0c1d7b0
as33: Add AS 3.3 bunchset built with AS 3.3 C4
2018-08-02 20:53:17 +03:00
Yan Zhulanow
37411c823d
Android Extensions: Check the backing 'virtualFile' validity before calling 'findFile()' (EA-124028)
2018-07-17 20:54:30 +03:00
Raluca Sauciuc
e0137ed1d5
Android Extensions: make synthetic import resolution more resilient
...
In commit ec0abb0 (Fix EA-79206: Process only valid layout.xml...) we
started to drop layouts with invalid PsiFiles during resolution of
(synthetic) package fragments.
In Android Studio we run into invalid files quite often, and it seems
to be caused by a race with some invokeLater'ed code from android-ndk;
this has the side effect of now showing all the corresponding symbols
as unresolved, and the imports themselves are suggested for removal.
As a temporary fix I propose we try again to get a valid PsiFile.
Bug: https://issuetracker.google.com/78547457
(cherry picked from commit 3e8789225bd653caaedeca7f761a6442d48214b0)
2018-07-12 20:36:39 +03:00
Vyacheslav Gerasimov
a1c551faaf
as32: Make use of createIfNecessaryParameter of AndroidModuleInfoProviderImpl.getApplicationResourceDirectories
2018-05-15 22:32:20 +03:00
Vyacheslav Gerasimov
c1f5ebb28e
as32: Fix usages of AppResourceRepository in AS 3.2 C14 plugin
2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov
8c88ac69df
Cleanup .181 bunch files
2018-04-27 18:25:21 +03:00
Vyacheslav Gerasimov
bc403ce744
Switch to 181 platform
2018-04-27 18:25:17 +03:00
Yan Zhulanow
b665a1b2b6
Android Extensions: Create application resource directories if missing (181, as31)
2018-04-16 20:42:58 +03:00
Nikolay Krasko
1fb2b40684
Fix 182 branch after QueryExecutor and subclasses update
...
Parameter taking Processor<T> were replaced with Processor<? super T>.
https://github.com/JetBrains/intellij-community/commit/aaed1ccb910f6f4a9ea2f96894d99b6e35a59ef9
https://github.com/JetBrains/intellij-community/commit/c6b40a53ee5b2a0807c55adafb59edb453090915
Instead of updating all usages, use ExecutorProcessor to avoid
different source code for different IDEAs.
2018-04-14 15:29:38 +03:00
Yan Zhulanow
6d5e49eeae
182: Android Extensions: Create application resource directory storage if absent
2018-04-11 16:28:44 +03:00
Yan Zhulanow
2e4b04bac5
181: Fix API wrapper in Android extensions
2018-04-11 16:28:38 +03:00
Yan Zhulanow
5efe6b40af
as31: Fix Android-related compilation problems
2018-04-11 16:28:22 +03:00
Yan Zhulanow
8f02d338a6
Android: Extract dependencies to Android plugin to extensions
2018-04-02 19:26:28 +03:00
Yan Zhulanow
ec0abb0854
Fix EA-79206: Process only valid layout .xml files in Android Extensions
2018-04-02 19:15:48 +03:00
Mikhail Glukhikh
b436ee6e19
Replace some of RESOLVED_CALL & REFERENCE_TARGET usages to resolveToCall
2018-02-27 18:24:55 +03:00
Nikolay Krasko
08a46c1396
Refactoring: move idea source modules classes to caches/project package
2018-02-26 18:42:58 +03:00
Mikhail Glukhikh
84993ec3a0
Resolution API: introduce and use KtElement.resolveToCall()
2018-02-20 20:25:42 +03:00
Mikhail Glukhikh
5848bc9a44
Introduce KtClassOrObject.resolveToDescriptorIfAny()
2018-02-20 20:25:42 +03:00
Mikhail Glukhikh
eabc7c9ba8
Replace some KtDeclaration.analyze() with resolveToDescriptorIfAny()
...
Also, enhance comment on KtElement.analyze()
2018-02-20 20:25:40 +03:00
Yan Zhulanow
e12deb54d6
Android Extensions: Fix "Inconsistent file tree" exception on Activity creation (KT-22349)
2018-01-25 22:03:30 +03:00