Yan Zhulanow
1d5ab192f5
Parcelize: Support old (kotlinx.android.parcel) annotations in Parcelize plugin
2020-09-24 15:50:59 +09:00
Yan Zhulanow
f0b93bf352
Parcelize: Move back annotations from kotlinx.android.parcel, deprecate them
2020-09-24 15:50:59 +09:00
Yan Zhulanow
0ce9003ef7
Parcelize: Add missing dependencies to Parcelize components in tests
2020-09-24 15:50:58 +09:00
Yan Zhulanow
15b2850ee0
Parcelize: Add IDE support for the Parcelize compiler plugin with sources extracted from Android Extensions plugin (KT-40030)
2020-09-24 15:50:57 +09:00
Yan Zhulanow
b7796d63d8
Parcelize: Add the Parcelize compiler plugin with sources extracted from Android Extensions plugin (KT-40030)
2020-09-24 15:50:57 +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
Georgy Bronnikov
df1d9a0113
IR: make IrTypeParameter.superTypes persistent mutable field
2020-09-22 23:53:39 +03:00
Leonid Startsev
eea4ff33a0
Adapt serialization exceptions constructor calls to signature change
...
(see https://github.com/Kotlin/kotlinx.serialization/pull/1054 )
2020-09-21 17:10:12 +03:00
Leonid Startsev
fe5dbf75fa
Add diagnostic to check whether provided custom serializer matches
...
type of the property.
Check for serializer type mismatch only when custom serializer is present
Otherwise, there are too many false positives on e.g. PolymorphicSerializer
#KT-36329 Fixed
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/830
2020-09-21 17:10:12 +03: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
Igor Yakovlev
309bf49a83
Update lightclass tests renderer
...
+mute invalid old light classes tests
2020-09-11 12:49:04 +03:00
Nicolay Mitropolsky
e53db4c771
Uast: fixing WrappedUAnnotation identifiers
2020-09-11 12:49:04 +03:00
Vladimir Dolzhenko
5036673187
Improve package caching in KotlinJavaPsiFacade
...
^KT-33394 Fixed
2020-09-10 07:38:46 +00:00
Dmitriy Novozhilov
67604dcb66
[FIR] Add generator for checkers aliases and sets of checkers
2020-09-08 12:51:12 +03:00
Dmitriy Novozhilov
a05d6da43b
Move descriptor-independent Visibilities to common modules
2020-09-04 11:42:50 +03:00
Dmitriy Novozhilov
d1fd1da56f
Rename Visibility to DescriptorVisibility
2020-09-04 11:07:42 +03:00
Alexander Udalov
b8d16f3d46
Add EnclosingMethod information to bytecode listing tests
2020-09-02 16:46:05 +02:00
Leonid Startsev
c881347110
Use correct return type for constructor call when creating EnumDescriptor
...
Previous one was converted using obsolete API, which caused unbound symbols to appear.
#KT-41321 Fixed
2020-09-02 13:22:23 +03:00
Leonid Startsev
8b0bb430e7
Fix multiple serialization plugin problems
...
Do not use fallback serializer if it is the same (fixes
https://github.com/Kotlin/kotlinx.serialization/issues/957 ).
Use correct number of serializable KClasses when creating sealed class
serializer (fixes https://github.com/Kotlin/kotlinx.serialization/issues/925 ).
2020-09-02 13:22:23 +03:00
Ivan Gavrilovic
91b99da7a0
KT-41313: Only load .jar files when locating annotation processors
...
Previously, we'd only check if file exists and try to load it. However,
some compile classpaths may contain .tar.gz files.
Test: ProcessorLoaderTest
2020-09-02 00:48:25 +09:00
Dmitriy Novozhilov
6db8c28291
[FIR] Refactor session components initialization
...
From now all customization of session should perform via DSL which
declared in FirSessionFactory. Registration or mutation session
services from other places is prohibited
2020-09-01 12:00:12 +03:00
Vladimir Dolzhenko
54d3c5fb0a
Pick up script language level from used stdlib in a gradle's classpath
...
^KT-41283 Fixed
2020-08-26 14:09:58 +00:00
Nicolay Mitropolsky
c93ae64546
Uast: KotlinClassViaConstructorUSimpleReferenceExpression resolve to PsiClass (KT-41290)
2020-08-26 16:13:13 +03:00
Alexander Udalov
a9ddf02556
Replace deprecated usages of max/min with maxOrNull/minOrNull
2020-08-25 20:33:59 +02:00
Dmitriy Novozhilov
a764732020
Rename KotlinBuiltInsNames to StandardNames
2020-08-25 10:41:33 +03:00
Dmitriy Novozhilov
7a7fe77b8e
Move static constants with builtin names to :core:descriptors.common module
2020-08-25 10:31:36 +03:00
Dmitriy Novozhilov
18ae593700
[FIR] Rename new visibilities to CamelCase
...
It's more convenient since they are objects now instead of
const fields in FE 1.0
2020-08-25 10:31:35 +03:00
Dmitriy Novozhilov
43821b681c
[FIR] Introduce new Visibility class which not depends on descriptors
2020-08-25 10:31:35 +03:00
Dmitriy Novozhilov
41ba9b0a2d
[FIR] Add flag to disable transformers required only for plugins
2020-08-25 10:31:34 +03:00
Ilya Chernikov
ee9c597767
Build: Remove exclusion of kotlinx-coroutines-core in scripting-compiler
...
The previous fix was insufficient to fix gradle substitution in MPP
projects (https://github.com/gradle/gradle/issues/14017 )
2020-08-24 19:13:16 +02:00
Alexander Udalov
1d15a5547d
Suppress deprecation warnings related to scripting
2020-08-20 14:58:11 +02:00
Yunir Salimzyanov
42da9e62db
Cleanup 192 patchset files (KTI-315)
2020-08-19 19:40:02 +03:00
Yunir Salimzyanov
27b2e16141
Cleanup as36 patchset files (KTI-315)
2020-08-19 19:40:00 +03:00
Ilya Chernikov
0a9089bc72
Set correct base classloader for REPL evaluation
...
the contributed partial fix of KT-35925 set it to the system classloader
which brought in many cases the compiler CP into the evaluation and lead
to the problems like KT-40898. This fix set it to the extension/platform
classloader, which preserves (partial) fix of the KT-35925 and do not
bring the compiler jar into the REPL evaluation classpath.
#KT-40898 fixed
2020-08-19 15:17:07 +02:00
Alexander Udalov
a810dbb41b
IR: fix compiler warnings
2020-08-18 10:33:25 +02:00
Alexander Udalov
256f4449ce
IR: annotate obsolete API in IrPluginContext with ObsoleteDescriptorBasedAPI
2020-08-17 21:18:19 +02:00
Alexander Udalov
9607414cf1
IR: make allOverridden return Set instead of Sequence, move to IrUtils
...
This doesn't hurt performance, but improves stack traces, in particular
in JVM's BridgeLowering.
2020-08-14 21:55:37 +02:00
Georgy Bronnikov
18ae665d41
IR: make IrCall take IrSimpleFunctionSymbol
2020-08-12 16:31:31 +03:00
Alexander Udalov
bcf1ee3907
Minor, fix test data for kotlinx.serialization bytecode text test
2020-08-11 15:14:06 +02:00
Pavel Kirpichenkov
f431da2a66
Reapply "Introduce @FrontendInternals annotation""
...
This reverts commit 9ca4717d11 .
^KT-39643 Fixed
2020-08-10 12:22:55 +03:00
Georgy Bronnikov
04d93dfbce
IR: move containerSource from descriptor to IrFunction, IrProperty
2020-08-10 10:16:23 +03:00