sebastian.sellmair
97a57a7d93
Forward dependencies from CInteropCommonizerTask to commonizer
2021-03-16 15:47:23 +00:00
sebastian.sellmair
49cf386258
Limit CInteropCommonizerTask to only one level of commonization
...
See ^KT-39324
2021-03-16 15:47:23 +00:00
sebastian.sellmair
261934d881
Implement CopyCommonizeCInteropForIdeTask to survive build folder cleaning
2021-03-16 15:47:22 +00:00
sebastian.sellmair
a53df56781
Implement CInteropIdentifier.Scope
2021-03-16 15:47:21 +00:00
sebastian.sellmair
6efd04edc0
Implement CInteropCommonizerTask to support commonization of user-defined cinterops
...
^KT-40975 Verification Pending
2021-03-16 15:47:20 +00:00
sebastian.sellmair
7cf8e9ec58
CInteropProcess: Promote settings to constructor
...
This enforces that the specified c-interop settings cannot be re-set on
a CInteropProcess.
2021-03-16 15:47:20 +00:00
sebastian.sellmair
be84b7b419
Rename 'getSourceSetHierarchy' to 'withAllDependsOnSourceSets' and lift the previous Deprecation
2021-03-16 15:47:19 +00:00
sebastian.sellmair
7da7dd92d6
Deprecate KotlinSourceSet.getSourceSetHierarchy in favour of 'resolveAllDependsOnSourceSets' and general purpose 'transitiveClosure'
2021-03-16 15:47:18 +00:00
sebastian.sellmair
4e07dcf2d8
Minor: Add dictionaries/sebastiansellmair.xml
2021-03-16 15:47:17 +00:00
Ilya Matveev
6643119f08
[K/N][New MM] Move ThreadStateGuard to the main Memory.h
...
Integrating the stdlib with the thread states machinery requires
accessing to some parts of the new MM. This patch provides this
access by moving these parts to the main Memory.h header.
2021-03-16 17:04:26 +03:00
Ilya Matveev
482305cfb2
[K/N][New MM] Move RunInNewThread to the main ThreadSupport.hpp
...
Some of unit-tests for the C++ part of the stdlib will require
thread state switching. In the new MM, we already have a helper
function that allows us to scopely initialize the memory subsystem
for a separate thread. This patch makes this helper available
for tests in the main runtime module by moving it to the main
ThreadSupport.hpp.
2021-03-16 17:04:25 +03:00
Ilya Matveev
fc43fbf578
[K/N][New MM] Move MemoryState conversions to separate header
2021-03-16 17:04:23 +03:00
Nikolay Krasko
da6440c59e
Add heap-dumps collection to BaseGradleIT.kt for TC investigations
...
Disable in daemon tests that checks defaults of -XX:MaxMetaspaceSize as
it looks like settings any jvm options reset defaults.
2021-03-16 15:55:01 +03:00
Nikolay Krasko
48f2db51d2
Stop polluting output for successful Gradle tests
2021-03-16 15:55:00 +03:00
Dmitry Petrov
decfaa3ba5
JVM_IR KT-44993 preserve inner expression type when fusing if-null
2021-03-16 15:30:45 +03:00
Jinseong Jeon
922419efb8
FIR CFG: route to exit of try main for throw in try main
...
to make the remaining part of try main marked as dead.
^KT-45475 Fixed
2021-03-16 15:11:56 +03:00
Jinseong Jeon
7a7114f896
FIR CFG: create TryMainBlockExitNode before visiting try main block
...
so that a node that returns Nothing inside try main block can route to
the exit of try main block, instead of exit target for try directly.
2021-03-16 15:11:55 +03:00
Jinseong Jeon
7e5b562b33
Reproduce KT-45475: no smartcast after conditional throw in try expression
2021-03-16 15:11:53 +03:00
Svyatoslav Scherbina
1f6f996faf
kotlin-native/samples: workaround build for linuxArm32Hfp
...
libSDL2.so is missing in new sysroot (since 1.5), use one from
the old sysroot as a workaround.
2021-03-16 11:58:56 +00:00
Yan Zhulanow
1dad549c81
All-open: Add Micronaut preset (KT-26325)
2021-03-16 19:21:50 +09:00
Yan Zhulanow
69fedd9791
Avoid serializing non-serializable properties (EA-253232)
2021-03-16 19:21:50 +09:00
Yan Zhulanow
0fb57d7253
Pill: Exclude native-commonizer from JPS modules
2021-03-16 19:21:50 +09:00
Yan Zhulanow
5fca37fa0f
Pill: Do not delete existing artifacts for JPS build
2021-03-16 19:21:49 +09:00
Yan Zhulanow
cfd585e221
Pill: Remove 'kotlin-coroutines-experimental-compat' from mapped libraries
2021-03-16 19:21:49 +09:00
Yan Zhulanow
4e8ec69ca7
Pill: Support kotlinx.serialization plugin
2021-03-16 19:21:49 +09:00
Yan Zhulanow
bcce187e3f
Pill: Import kotlinx-metadata only in FULL mode
2021-03-16 19:21:49 +09:00
Yan Zhulanow
cc41ccc3b9
Pill: Disable all compiler plugins by default
2021-03-16 19:21:48 +09:00
Yan Zhulanow
61cd97b340
Pill: Remove unused EmbeddedComponents class
2021-03-16 19:21:48 +09:00
Yan Zhulanow
a00f3b97c5
Pill: Move utility classes to util package
2021-03-16 19:21:48 +09:00
Yan Zhulanow
6da03c0cda
Pill: Move project model out of parser file
2021-03-16 19:21:48 +09:00
Yan Zhulanow
e4ce48d9ef
Pill: Extract artifact-related components to their own package
2021-03-16 19:21:47 +09:00
Yan Zhulanow
901bfbb3c7
Pill: Create KotlinArtifact only for variants that include BASE
2021-03-16 19:21:47 +09:00
Yan Zhulanow
6ff68311c1
Pill: Support module prefixes
2021-03-16 19:21:47 +09:00
Yan Zhulanow
a561fb85ad
Pill: minor, fix inspection warnings
2021-03-16 19:21:47 +09:00
Yan Zhulanow
4708525b9a
Pill: Refactor Pill variants, replace DEFAULT variant with nullable value
2021-03-16 19:21:46 +09:00
Yan Zhulanow
51a23b7aeb
Pill: Always import Pill importer module for debugging purposes
2021-03-16 19:21:46 +09:00
Yan Zhulanow
c2cbbc5aba
Pill: Removed unused NONE variant
2021-03-16 19:21:46 +09:00
Yan Zhulanow
a355d82b37
Pill: Fix warnings in PillExtension
2021-03-16 19:21:46 +09:00
Yan Zhulanow
f84c1d7354
Pill: Fix warnings in PillExtensionMirror
2021-03-16 19:21:45 +09:00
Yan Zhulanow
880067946e
Pill: Do not import kotlin-serialization library as dist dependency as it doesn't exist in dist/kotlinc
2021-03-16 19:21:45 +09:00
Yan Zhulanow
38d88877a3
Pill: Map kotlin-coroutines-experimental-compat library
2021-03-16 19:21:45 +09:00
Yan Zhulanow
cc56511585
Pill: Map 'java9' source sets of standard library and tests
2021-03-16 19:21:45 +09:00
Zac Sweers
12a6352bef
Fix NPE in KaptJavaLog
...
See https://issuetracker.google.com/issues/162446295 for more context, but in short: this will fail if the project:
* targets java 8
* consumes external libraries targeting a higher version (java 9+). This includes Android SDK 30's android.jar, which targets java 9
* has `mapDiagnosticLocations` enabled for kapt
targetElement is a nullable type, so this seems like a pretty cut-and-dry NPE fix
2021-03-16 19:21:44 +09:00
Vladimir Dolzhenko
462b752763
Mark flaky test
2021-03-16 11:03:05 +01:00
Dmitriy Novozhilov
cef859fced
Fix exponential pseudocode size on incorrect prefix increments and decrements
...
#KT-44153 Fixed
2021-03-16 12:25:23 +03:00
Denis.Zharkov
6c5557dae3
FIR2IR: Optimize computation of fake overrides in lazy classes
2021-03-16 09:28:52 +03:00
Denis.Zharkov
fbed88d32d
FIR2IR: Do not unwrap fake override when computing overridden
2021-03-16 09:28:52 +03:00
Denis.Zharkov
74ecae7f6d
IR: Optimize IrSimpleFunction::collectRealOverrides
2021-03-16 09:28:52 +03:00
Denis.Zharkov
1a36ee2110
IR: Postpone computing real fake overrides at SyntheticAccessorLowering
2021-03-16 09:28:52 +03:00
Denis.Zharkov
c09fe3ea6f
FIR: Optimize unnecessary interface casts by adding relevant overload
2021-03-16 09:28:52 +03:00