Mikhail Glukhikh
b05a1bb1a2
[IR] Extract IrExternalPackageFragmentImpl.createEmptyExternalPackageFragment
2020-05-25 15:40:37 +03:00
Mikhail Glukhikh
03f2c6d38a
[IR] Unbind construction methods of IrFieldImpl from symbol.descriptor
2020-05-25 15:40:36 +03:00
Mikhail Glukhikh
ab15a88ce4
[IR] Unbind construction methods of IrPropertyImpl from symbol.descriptor
2020-05-25 15:40:36 +03:00
Mikhail Glukhikh
262548fd5b
[IR] Unbind construction methods of IrFunctionImpl from symbol.descriptor
2020-05-25 15:40:36 +03:00
Dmitriy Novozhilov
343e519f7f
[FIR-PLUGIN] Update testdata according removed class generation stage
2020-05-24 18:04:48 +03:00
Dmitriy Novozhilov
e340dacb9a
[FIR-PLUGIN] Add check to test that jar with annotations exists
2020-05-24 18:04:48 +03:00
Dmitriy Novozhilov
96802dde04
[FIR-PLUGIN] Fix compilation
2020-05-24 18:04:47 +03:00
Dmitriy Novozhilov
0b00015424
[FIR] Deprecate FirExtensionsService
2020-05-24 18:04:44 +03:00
Dmitriy Novozhilov
799253256c
[FIR-PLUGIN] Add additional checker to prototype plugin
2020-05-24 18:04:44 +03:00
Ilya Chernikov
f363134fbc
Do not continue compilation if collected dependencies contain error
...
avoids additional errors reported by compilation, if configuration
refinement returned error
2020-05-21 16:49:56 +02:00
Ilya Chernikov
d92e4d28f5
Provide a method to update script definitions after loading into IDE
...
also documenting ScriptDefinitionsProvider
2020-05-21 16:49:56 +02:00
Ilya Chernikov
4b032a14af
Refactor host configuration handling and script definition creation
...
so it is possible now to create custom host configuration with template
and all configurations are handled consistenly.
Also introduce and use new ScriptDefinition class wrapping compilation
and evaluation configurations, that could be consistenly created from a
template.
2020-05-21 16:49:55 +02:00
Ilya Chernikov
255ad47406
Use copied key to extract default jdkHome from host configuration
2020-05-21 16:49:55 +02:00
Dmitry Petrov
b89878a509
Update testData for KAPT tests for new inline class ABI
...
Since class member functions returning inline class values are now
mangled, they are not visible from Java.
2020-05-21 13:56:57 +03:00
Ilya Chernikov
fb6ef38370
Revert "Add info about the end of range in scripting REPL compiler messages"
...
This reverts commit af251caf , because it breaks daemon/client
compatibility, which we'd like to keep as much as possible
2020-05-15 21:15:48 +02:00
Roman Artemev
31af1e6ca7
[JS SCRIPT] Fix ScriptDependencyCompiler
...
- Invoke KotlinIrLinker properly
2020-05-14 17:58:33 +03:00
Sergey Rostov
4daac14008
Revert due to massive flaky tests
2020-05-12 23:01:01 +03:00
Yaroslav Chernyshev
0b8c497d2e
[Import] Downgrade jvmTarget & move Models and ModelBuilderServices
...
Fixed KT-35921
Fixed KT-36673
2020-05-12 16:52:01 +03:00
Sergey Rostov
802c03b934
Script configuration: fix getting javaHome
2020-05-12 16:20:43 +03:00
Roman Artemev
19e352a1b5
[ANDROID] Simplify parcelize ir plugin code
...
- avoid direct usages of CommonBackendContext & Backend Symbols
2020-05-12 14:29:55 +03:00
Roman Artemev
c20aa297f1
[ANDROID] Fix Parcelize reslove extension plugin
...
- make it provide its synthetic members names
2020-05-12 14:29:55 +03:00
Roman Artemev
6bdd473eff
[JVM IR] Fix plugin API for JVM IR
...
- Unmute ktx.serialization test
2020-05-12 14:29:55 +03:00
Roman Artemev
1949b11bb2
[KTX.SERIALIZATION] Refactor plugin once again
2020-05-12 14:29:54 +03:00
Roman Artemev
3c50b47333
[IR] Add new API into IrBuiltIns to access functional interfaces
2020-05-12 14:29:53 +03:00
Roman Artemev
a477aa7289
[KLIB] Pass IrFunctionFactory from outside
2020-05-12 14:29:53 +03:00
Ilya Muradyan
7cde9b4355
Add tests for analyze return type in REPL IDE services
...
also refactor existing tests infrastructure
2020-05-11 10:45:49 +02:00
Ilya Muradyan
8a1b44cc2b
Add snippet result type to analysis output of REPL IDE services
2020-05-11 10:45:49 +02:00
Dmitriy Novozhilov
a47bab2466
[FIR] Fix build scripts for plugin prototype
2020-05-10 22:52:00 +03:00
Dmitriy Novozhilov
959ecceaf7
[FIR-PLUGIN] Move fir plugin prototype out from :compiler module
2020-05-08 15:10:02 +03:00
Svyatoslav Kuzmich
3d5003d476
[JS_IR] Use new plugin to build Kotlin/JS stdlib with IR compiler
...
- Switch to building stdlib with bootstrap compiler since IR is stable
enough
- Build stdlib with coreLibs by default
- Include JS IR stdlib to kotlin distribution
2020-05-08 10:37:48 +03:00
Sergey Rostov
14edc26cf1
Revert due to test failing in 201
2020-05-08 10:13:07 +03:00
Sergey Rostov
aca1771619
Script configuration: fix getting javaHome
2020-05-07 21:48:46 +03:00
Alexander Udalov
7a369b3a6a
Mark PureIrGenerationExtension as deprecated to prevent more usages
...
The IR plugin extension mechanism is being reworked and in the new
scheme, this new extension point won't be necessary.
2020-05-06 22:51:32 +02:00
Steven Schäfer
9fc210224d
Parcelize: Fix IBinderIInterface test
2020-05-06 22:51:12 +02:00
Steven Schäfer
518c7a32b8
Parcelize: Add a test for efficient Parcelable serialization within the same module
2020-05-06 22:51:12 +02:00
Steven Schäfer
a4e6dbb0d7
Parcelize: Add test for TypeParceler scoping behavior
2020-05-06 22:51:12 +02:00
Steven Schäfer
b35e8e208a
Parcelize: Add a test for Parcelize with persistable bundles
2020-05-06 22:51:12 +02:00
Steven Schäfer
43bccff135
Parcelize: Add a test for parcelize of IBinder and IInterface
2020-05-06 22:51:12 +02:00
Steven Schäfer
6cf3e0e38e
Parcelize: Add a test for exceptions in parcels (KT-31830)
2020-05-06 22:51:12 +02:00
Steven Schäfer
21637c828e
Parcelize: Add a test for Java interop (KT-25807)
2020-05-06 22:51:12 +02:00
Steven Schäfer
aa0eeba327
Parcelize: Add a test for KT-36658
2020-05-06 22:51:12 +02:00
Steven Schäfer
01ea2a641f
Parcelize: Add test for KT-26221
2020-05-06 22:51:12 +02:00
Steven Schäfer
1552e55474
Parcelize: Add an exhaustive test for primitive types
2020-05-06 22:51:12 +02:00
Steven Schäfer
1f97486fdd
Parcelize: Improve testing infrarstructure
...
- Support newer android versions
- Allow testing against Java files using android APIs
- Update test expectations
- Auto-generate ParcelBoxTests
- Create tests for the JVM IR backend
2020-05-06 22:51:12 +02:00
Steven Schäfer
d62b353ab5
Parcelize: Fix metadata and remap synthetic descriptor stubs
2020-05-06 22:51:12 +02:00
Steven Schäfer
779133e71e
Parcelize: Implement support for the JVM IR backend.
2020-05-06 22:51:12 +02:00
Nicolay Mitropolsky
6ae7d53a93
Uast: support extendsList for reified types (KT-38173)
2020-05-06 15:31:20 +03:00
Nicolay Mitropolsky
43549baf58
Revert "Uast: forcing kotlin.uast.force.uinjectionhost=true always"
...
This reverts commit e4b7c391
2020-05-06 15:31:20 +03:00
Nicolay Mitropolsky
00b44c1e68
Uast: making KotlinStringTemplateUPolyadicExpression.operands always non-empty (EA-231393)
2020-05-06 15:31:19 +03:00
Nicolay Mitropolsky
b7e715045a
Uast: skip KtWhenConditionWithExpression in UAST (KT-38521)
...
when building parents, because they are anyway ignored in converter
2020-05-06 15:31:19 +03:00