sebastian.sellmair
e232a2be6c
CommonizeLibcurlTest: Provide necessary native distribution dependencies
2021-03-26 10:55:25 +00:00
sebastian.sellmair
2b7866402d
[Commonizer] Move KonanDistribution to :native:kotlin-klib-commonizer-api
2021-03-26 10:55:24 +00:00
sebastian.sellmair
6e3b1fd919
[Commonizer] RootMerger: Change priorities for typeResolver
...
This will prioritize classifiers from the following sources
in the provided order
1) Classifiers from the target's modulesProvider
2) Classifiers from the traget's direct dependencies
3) Classifiers from the more common dependencies
2021-03-26 10:55:24 +00:00
sebastian.sellmair
914ce22f6b
[Minor] CommonizerIT: Optimize imports
2021-03-26 10:55:23 +00:00
sebastian.sellmair
a0557ad937
CommonizerIT: Implement test commonizeInterop using posix APIs
...
^KT-45497
2021-03-26 10:55:22 +00:00
sebastian.sellmair
7f9fe6b332
[Commonizer] CInteropCommonizerTask: Provide custom/commonized native distribution dependencies
...
^KT-45497 Fixed
2021-03-26 10:55:22 +00:00
sebastian.sellmair
e44877f562
[Commonizer] LibraryCommonizer: Allow passing dependencies for a shared target
2021-03-26 10:55:21 +00:00
sebastian.sellmair
096e715652
[Commonizer] Split CirTreeMerger into composable 'Mergers'
2021-03-26 10:55:21 +00:00
Ilya Chernikov
2f49e8e0af
Fix parameter index on IR script generation in REPL scenario
...
Before it, the wrong index lead to the validation error when repl
script definition had c-tor parameters (see test)
2021-03-26 11:41:24 +01:00
Mikhail Glukhikh
648bf99842
FIR: temporarily drop parent manipulation code around super type entries
2021-03-26 13:05:42 +03:00
Jinseong Jeon
ff4d193891
FIR checker: utilize unsubstitutedScope creation
2021-03-26 13:05:41 +03:00
Jinseong Jeon
9934cfbb00
FIR2IR: minimize scope processing in fake override generation
2021-03-26 13:05:41 +03:00
Jinseong Jeon
c830aed946
FIR2IR: minimize scope processing in data class synthetic member generation
2021-03-26 13:05:41 +03:00
Ilya Matveev
22d6433cf6
[K/N][Gradle plugin] Do not propagate user.dir property to tools
...
In a Gradle process, the user.dir property is set to the directory
where the build was started. By default, if we start a child process
via project.javaexec, Gradle sets its working directory to the
directory of the current project. But passing Gradle's value of user.dir
to that process overrides this setting.
This makes tools started in a such way sensitive to directory the build
is started from.
This patch fixes this issue for K/N-related tools started
out-of-process by the MPP Gradle plugin. But this issue is still
relevant to in-process tool execution.
2021-03-26 12:38:28 +03:00
Ilya Matveev
e56ac775ca
[K/N][tests] Do not propagate user.dir property to compiler/cinterop
...
In a Gradle process, the user.dir property is set to the directory
where the build was started. By default, if we start a child process
via project.javaexec, Gradle sets its working directory to the
directory of the current project. But passing Gradle's value of user.dir
to that process overrides this setting.
This makes tools started in a such way sensitive to directory the build
is started from. Thus a test using relative paths may fail if it is
started from a wrong directory.
This patch fixes this issue for Kotlin/Native tests.
2021-03-26 12:38:27 +03:00
Victor Petukhov
9c38db754e
Add compiler flag to enable strict mode for improvements in the type enhancement
...
^KT-45674 Fixed
2021-03-26 11:04:01 +03:00
Victor Petukhov
731e3ebae1
Rename LV ImprovementsAroundTypeEnhancement into TypeEnhancementImprovementsInStrictMode
2021-03-26 11:03:49 +03:00
nataliya.valtman
df08ed2ac0
Recompile files which import companion constant
...
#KT-44741 Fixed
2021-03-26 10:27:52 +03:00
Ilya Kirillov
5485c372e8
FIR IDE: stop on fist exception in project perf tests
2021-03-25 20:53:53 +01:00
Ilya Kirillov
211ddd307c
FIR IDE: highlight file before completion in perf test
2021-03-25 20:53:52 +01:00
Ilya Kirillov
49a4ec7f92
FIR IDE: add perf tests for completion
2021-03-25 20:53:51 +01:00
Ilya Kirillov
a4cf21adef
Add perf the same project perf tests used for FIR for fe10 plugin
2021-03-25 20:53:50 +01:00
Roman Golyshev
a22a6b4338
FIR IDE: add basic project performance test
2021-03-25 20:53:49 +01:00
Ilya Kirillov
baad0d698f
FIR IDE: do not create KtFunctionalType by type-aliased functional type
2021-03-25 20:53:29 +01:00
Nikolay Krasko
ddc12834cb
Add dependency verification description to ReadMe.md
2021-03-25 21:53:27 +03:00
Vladimir Dolzhenko
51393d2d0f
Fix compilation
2021-03-25 16:23:01 +01:00
Ilmir Usmanov
5e6f52009f
JVM IR: IC coroutines: return boxed type from suspend function if
...
the function overrides function, returning type argument
#KT-45451 Fixed
2021-03-25 16:21:55 +01:00
Simon Ogorodnik
0aca68e7c7
FIR: Add init time measurement to full pipeline
2021-03-25 18:05:51 +03:00
Pavel Punegov
991e5210ba
Simplify further support for simulators by using target family
2021-03-25 13:06:13 +00:00
Pavel Punegov
5acd72d5a5
Update simulators: use fresh targets
2021-03-25 13:06:13 +00:00
Pavel Punegov
39b11f6ef0
Create simulator device in case it is missing on the host
2021-03-25 13:06:12 +00:00
sebastian.sellmair
ad7c8b7a07
KotlinToolingMetadata: Disable 'kotlin.mpp.enableKotlinToolingMetadataArtifact' by default
2021-03-25 15:16:08 +03:00
sebastian.sellmair
37aedba7ef
KotlinToolingMetadata: Handle incompatible schemaVersions during json parsing
2021-03-25 15:16:07 +03:00
sebastian.sellmair
0406659ac8
BuildKotlinToolingMetadataTask: Strip _Decorated classes from target name
2021-03-25 15:16:06 +03:00
sebastian.sellmair
24ce6957a9
testProject/new-mpp-published: Replace jcenter with mavenCentral
2021-03-25 15:16:05 +03:00
sebastian.sellmair
0a732869e9
KotlinToolingMetadata: Add schemaVersion property
2021-03-25 15:16:04 +03:00
sebastian.sellmair
0119541462
KotlinToolingMetadata: Use Project property accessor for task
2021-03-25 15:16:03 +03:00
sebastian.sellmair
0a59301f8a
KotlinToolingMetadata: Add stronger typing for target extras
2021-03-25 15:16:01 +03:00
sebastian.sellmair
896e77cd32
KotlinToolingMetadata.json: Add konanVersion and abiVersion as extras to KotlinNativeTarget
2021-03-25 15:16:00 +03:00
sebastian.sellmair
ac8b4c1b79
Implement kotlin-tooling-metadata.json artifact
...
- Introduce new :kotlin-tooling-metadata project
- Create new buildKotlinToolingMetadata task by default
- Add `kotlin-tooling-metadata.json` to root mpp publications
- Add kotlin.mpp.enableKotlinToolingMetadataArtifact flag to disable kotlin-tooling-metadata.json artifact
^KT-44584 Verification Pending
2021-03-25 15:15:58 +03:00
Vladimir Dolzhenko
88058ca2c8
Fix non-default constructors for service and extension class violation
2021-03-25 12:57:07 +01:00
Svyatoslav Scherbina
7b639235a2
Update Kotlin/Native: 1.5.20-dev-3553
2021-03-25 12:43:02 +03:00
Vladimir Dolzhenko
ae4dd80254
Regenerate missed test
...
Relates to #KT-45339
2021-03-25 10:19:24 +01:00
Ilya Chernikov
9ac6d30953
Fix arguments processing with scripting with old backend by default
2021-03-24 22:38:59 +01:00
Ilya Chernikov
bcd7bc5fd7
Fix arguments processing with scriting with old backend by default
2021-03-24 21:26:57 +01:00
Ilya Chernikov
c3ec94ff82
FIR: copied 2 more gradle incremental IT for FIR
...
temporary, we need a proper test infrastructure to run all gradle IT
with FIR
2021-03-24 21:24:20 +01:00
Ilya Chernikov
2d9c0e137f
Add gradle ITs witn IC and FIR
2021-03-24 21:24:20 +01:00
Ilya Chernikov
a11f6d2e50
Add support for gradle option useFir and appropriate property...
...
`kotlin.useFir`
2021-03-24 21:24:20 +01:00
Ilya Chernikov
3400911d97
[minor] unmute fixed FIR tests
2021-03-24 21:24:20 +01:00
Ilya Chernikov
4a79f544f7
FIR: Mute IC test due to java tracking peculiarities
...
should be fixed after implementing proper java tracking for FIR
2021-03-24 21:24:20 +01:00