pyos
49c412b022
JVM_IR: implement view caching in kotlin-android-extensions
...
#KT-47733 Fixed
2021-08-17 13:46:26 +03:00
Alexander Udalov
0a9498f7e2
Build: suppress deprecated JVM target warning globally
...
There seems to be no point in configuring the compiler argument per
project. This argument will be deleted soon anyway, when we remove
support for JDK 1.6 & 1.7.
Also remove `disableDeprecatedJvmTargetWarning`. It didn't have any
effect in all modules where it was applied because these modules
reassign `freeCompilerArgs` anyway, with
`-Xsuppress-deprecated-jvm-target-warning` in it.
2021-07-27 13:35:39 +02:00
Ilya Chernikov
dee0487185
IR: Refactor IrBuiltIns to abstract it from descriptors
2021-07-16 02:24:18 +03:00
Dmitriy Novozhilov
11faf04a4c
[Test] Remove dependencies on IDEA classes from test modules
...
Some of IDEA services (like in `com.intellij/execution`) was copied,
because they are used in tests but jars with them compiled with
jdk 11 and we run our tests on jdk 8, so their bytecode can not
be read
2021-07-08 13:29:19 +03:00
Yahor Berdnikau
7789054547
Migrate repo to use JVM toolchains Gradle feature.
...
^KT-46972 Fixed
2021-07-05 14:11:12 +00:00
Nikolay Krasko
48a4d7d418
Build: drop maven publication for Kotlin plugin artifacts
2021-06-09 17:43:54 +03:00
Nikolay Krasko
32f811e0ec
Build: Cleanup old platforms from the build
2021-06-09 17:43:53 +03:00
Steven Schäfer
bf7db84451
Parcelize: Handle class hierarchies of Parcelers (KT-46567)
2021-05-18 18:52:15 +02:00
Steven Schäfer
1198b40c11
Parcelize: Port the fix for KT-41553 to android-extensions
...
Fixes KT-46590.
2021-05-12 21:18:15 +02:00
Nikolay Krasko
f30980806f
Read process streams to avoid hanging on Windows in parcelize tests
...
Could be reproduced with ParcelizeBoxTestGenerated.testKt36658 test.
2021-05-12 12:58:02 +03:00
Nikolay Krasko
818bbbbb83
Don't print to log in successful parcelize tests
2021-05-12 12:58:01 +03:00
Andrey Zinovyev
8afb6d2761
[lombok] Support import from gradle to IDE
...
Introduce base module for ide compiler plugins
2021-04-29 23:14:15 +03:00
Vladimir Dolzhenko
e511eec90e
Added optimized PackageFragmentProvider#isEmpty(FqName)
2021-04-09 09:27:39 +00:00
Abduqodiri Qurbonzoda
40d1849f33
Migrate compiler, idea and others to new case conversion api
2021-04-08 03:22:02 +03:00
Vyacheslav Gerasimov
f2a892a972
Cleanup 201 and as41 bunch files
2021-03-30 14:23:43 +03:00
Alexander Likhachev
6bd44df861
[Build] Fix configuration cache issues (part 6)
...
Make DexMethodCountStats task class, tasks :examples:kotlin-jsr223-daemon-local-eval-example:test,:idea:idea-fir:test, :idea:idea-fir-performance-tests:test, :idea:idea-frontend-fir:test, :idea:idea-frontend-fir:idea-fir-low-level-api:test, :kotlin-compiler-client-embeddable:test, :kotlin-compiler-embeddable:test, :kotlin-stdlib-js-ir:compileTestKotlinJs, :plugins:android-extensions-compiler:test, :plugins:parcelize:parcelize-compiler:test, :compiler:test compatible with configuration cache
Relates to #KT-44611
2021-03-11 14:12:36 +03:00
Ilya Kirillov
cf56c59ca2
Fix binary incompatibility of createRemoveModifierFromListOwnerFactory
2021-02-09 17:15:35 +01:00
Alexander Udalov
e0b6d4d917
Add -Xsuppress-deprecated-jvm-target-warning to modules compiled with 1.6
...
Currently this leads to an unknown argument warning, but it'll be
removed automatically on the next bootstrap.
2021-02-03 12:51:39 +01:00
Dmitriy Novozhilov
f61a318c9d
[Test] Migrate AbstractBytecodeTextTest to new test infrastructure
2021-01-25 17:11:21 +03:00
Alexander Udalov
0d8f909bda
Use ObsoleteTestInfrastructure instead of Deprecated in black box tests
2021-01-13 19:34:24 +01:00
Alexander Udalov
221f44da5f
Fix warnings in stdlib/compiler/plugins/test code
2021-01-13 19:18:20 +01:00
Alexander Udalov
ed9a0e514d
Regenerate tests and fir-tree
2021-01-03 14:53:41 +01:00
Dmitriy Novozhilov
bc7e18fb8a
[TEST] Regenerate tests after previous commit
2020-12-16 19:52:28 +03:00
Dmitriy Novozhilov
c8f3a4802e
[TEST] Introduce test-infrastructure-utils module and extract common test utilities here
2020-12-16 19:52:22 +03:00
Denis.Zharkov
2d8a8d252b
Add 201 bunch files for JavaClass implementations
...
In 201, there's an old ASM version and PSI doesn't have record-related API
2020-12-09 16:47:25 +03:00
Denis.Zharkov
26d525fa3c
Prepare ClassBuilder for record components
...
^KT-43677 In Progress
2020-12-09 16:29:04 +03:00
Mads Ager
5d9e86863a
[IR] Make isHidden and isAssignable explicit on IrValueParameter.
...
There were a couple of places where they were confused and
isAssignable was passed as a positional parameter in the position
of isHidden.
2020-12-04 17:04:45 +01:00
Dmitriy Novozhilov
e251a9be14
Build: fix finding layout-api jar in parcelize box test due to platform change
2020-11-28 14:25:57 +03:00
Ilmir Usmanov
2cd9016016
IC mangling: Replace compiler hack with configuration flag
2020-11-19 17:39:30 +01:00
Mikhail Zarechenskiy
bb2e9e2d56
Extract new method from the publicly used interface for compatibility
...
Note that we can't just use ``@JvmDefault` annotation as the main change
is in the `core` module which targets Java 6
#KT-42259 Fixed
2020-10-27 14:14:39 +03:00
Georgy Bronnikov
b7a07fdf03
Review fix: unify irTemporary variants
2020-10-22 18:31:23 +03:00
Georgy Bronnikov
b28c85f5ea
IR: IrCall.fromSymbolDescriptor
2020-10-19 12:21:12 +03:00
Mads Ager
9a93bb3f09
[IR] Add IR support for setting parameters.
...
Use it in the JVM_IR backend for default values code. The parameter
local has to be overwritten for the inliner to work.
2020-10-06 21:47:29 +02:00
Yan Zhulanow
0dc243d74c
Parcelize: Don't activate both 'kotlin-parcelize' and 'kotlin-android-extensions' in IDE (KT-42267)
...
The actual problem is a lack of plugin activation check in ParcelableUltraLightClassModifierExtension (see how it should be done in ParcelizeUltraLightClassModifierExtension). However, ParcelableUltraLightClassModifierExtension lays inside ADT sources, and it's impossible to make an fast&easy fix from our side. However, we control the compiler plugin on which the IDE support is based, so the check is added there.
There should be no troubles if the application with 'kotlin-android-extensions' includes an Android library with 'kotlin-parcelize' or vise-versa, as runtime libraries of both plugins are attached to the 'implementation' Gradle configuration since AGP 2.5.
2020-10-07 04:11:02 +09:00
Vladimir Dolzhenko
3c380faeb5
Added deprecated PackageFragmentProvider#getPackageFragments for BWC
...
Relates to ^KT-33394
^KT-42259 Fixed
2020-09-29 19:14:44 +00:00
Yan Zhulanow
0ce9003ef7
Parcelize: Add missing dependencies to Parcelize components in tests
2020-09-24 15:50:58 +09:00
Yan Zhulanow
c9bca165bc
Update generated tests in android-extension-compiler
2020-09-24 15:50:57 +09:00
Steven Schäfer
aca9478998
Parcelize: Recognize (suspend) function types as serializable
2020-09-24 15:50:56 +09:00
Steven Schäfer
a2418484bb
Parcelize: More robust code for locating layoutlib.jar
2020-09-24 15:50:56 +09:00
Steven Schäfer
9bf3f105d9
Parcelize: Add a test for sealed Parcelable classes
2020-09-24 15:50:56 +09:00
Steven Schäfer
77fb0ddd32
Parcelize: Update test expectations
2020-09-24 15:50:55 +09:00
rbares
9d000529e7
Fix JVM Parcelize use of Parceler
2020-09-24 15:50:55 +09:00
Steven Schäfer
8ab6411b93
Parcelize, JVM IR: Fix types in nested containers
2020-09-24 15:50:55 +09:00
pyos
a06181771f
IR: make DescriptorMetadataSource a subtype of MetadataSource
...
FirMetadataSource is a metadata source too.
2020-09-16 18:58:40 +02:00
Steven Schäfer
56c4a27887
Android Synthetics: Resolve unbound symbols in the AndroidIrExtension
2020-09-15 22:36:50 +02:00
Steven Schäfer
fe466f3dc6
Android Synthetics: Update test infrastructure
2020-09-15 22:36:50 +02:00
Alexander Udalov
fc141a52da
IR: minor, make IrClass.companionObject return IrClass
2020-09-13 09:13:26 +02:00
Vladimir Dolzhenko
5036673187
Improve package caching in KotlinJavaPsiFacade
...
^KT-33394 Fixed
2020-09-10 07:38:46 +00:00
Dmitriy Novozhilov
d1fd1da56f
Rename Visibility to DescriptorVisibility
2020-09-04 11:07:42 +03:00
Alexander Udalov
a810dbb41b
IR: fix compiler warnings
2020-08-18 10:33:25 +02:00