*7053f1d00c- (tag: build-1.4.0-dev-3138) Drop CancellationCheck usage from 193 (vor 5 Stunden) <Vladimir Dolzhenko> *5a6cf19c68- Complete statement for class declaration: add '()' to supertype (vor 5 Stunden) <Toshiaki Kameyama> *e9a7be4a46- (tag: build-1.4.0-dev-3136) Fix intersection type handling in PSI2IR (vor 5 Stunden) <Dmitry Petrov> *1624327ba4- (tag: build-1.4.0-dev-3132) [NI] Fix substitution in builder-inference for empty common system (vor 6 Stunden) <Mikhail Zarechenskiy> *c5ffbfd33c- (tag: build-1.4.0-dev-3131) JVM_IR: mark origins of capture fields in suspend lambdas (vor 6 Stunden) <pyos> *6b98ea2378- JVM_IR: do not place suspend markers around crossinline lambda calls (vor 6 Stunden) <pyos> *39ebc8cfa5- Add a suspend test that fails on JVM_IR (vor 6 Stunden) <pyos> *52e7cd5725- (tag: build-1.4.0-dev-3129) JVM_IR: Remove $$forInline suffix for fake inliner variables (vor 6 Stunden) <Ilmir Usmanov> *325ad14ac9- (tag: build-1.4.0-dev-3128) JVM_IR: Treat suspend main wrapper as always tail-call function (vor 6 Stunden) <Ilmir Usmanov> *8c4eef9844- JVM_IR: Return COROUTINE_SUSPENDED from suspend main wrapper (vor 6 Stunden) <Ilmir Usmanov> *5b62c9e54d- [WIP] Add Compiler Smoke Tests for (suspend) main methods (vor 6 Stunden) <Kristoffer Andersen> *55aafb3430- [JVM IR] Support Suspend Main (vor 6 Stunden) <Kristoffer Andersen> *068d547375- (tag: build-1.4.0-dev-3127) [Gradle, JS] UpperCased KotlinJsCompilerType (vor 7 Stunden) <Ilya Goncharov> *9acd98071e- [Gradle, JS] Divide KotlinJsCompilerAttribute (vor 7 Stunden) <Ilya Goncharov> *cc97138e9c- [Gradle, JS] Extract JS presets container, no js in codegen since now (vor 7 Stunden) <Ilya Goncharov> *fa335b5360- [Gradle, JS] Js default compiler type for mpp (vor 7 Stunden) <Ilya Goncharov> *8dc75def19- [Gradle, JS] Use default configuration names only once in constants (vor 7 Stunden) <Ilya Goncharov> *664775a43f- [Gradle, JS] Configure compiler type with single platform plugin (vor 7 Stunden) <Ilya Goncharov> *e631146fa7- (tag: build-1.4.0-dev-3124) [Gradle, JS] Fix DSL for Gradle JS wizard (vor 7 Stunden) <Ilya Goncharov> *3ae6b27556- [Gradle, JS] Fix DSL for JVM/JS wizard (vor 7 Stunden) <Ilya Goncharov> *6670a2fff8- (tag: build-1.4.0-dev-3118, tag: build-1.4.0-dev-3115, tag: build-1.4.0-dev-3113, tag: build-1.4.0-dev-3112, tag: build-1.4.0-dev-3097) Update public api dump (vor 23 Stunden) <Abduqodiri Qurbonzoda> *569decce43- (tag: build-1.4.0-dev-3089) [Gradle, JS] Fix missed import (vor 25 Stunden) <Ilya Goncharov> *d114945b76- [Gradle, JS] Change message in polite manner (vor 25 Stunden) <Ilya Goncharov> *e0be8f271f- [Gradle, JS] Not error, but warning with test fix (vor 25 Stunden) <Ilya Goncharov> *40fb6c67d2- [Gradle, JS] Add diagnostic messages for js targets (vor 25 Stunden) <Ilya Goncharov> *aefaa6dc7f- [Gradle, JS] Remove deprecated configurations (vor 25 Stunden) <Ilya Goncharov> *92291c03e8- [Gradle, JS] Add methods with string definition of compiler (vor 25 Stunden) <Ilya Goncharov> *203ca018e5- [Gradle, JS] Rename public KotlinJsCompilerType (vor 25 Stunden) <Ilya Goncharov> *488538889b- [Gradle, JS] Extract JS presets container, no js in codegen since now (vor 25 Stunden) <Ilya Goncharov> *956b57a55d- [Gradle, JS] Do not duplicate target initialization (vor 25 Stunden) <Ilya Goncharov> *881de0a538- [Gradle, JS] Make default configuration of target (vor 25 Stunden) <Ilya Goncharov> *9112da2ad7- [Gradle, JS] Create predefined source sets for single platform plugin (vor 25 Stunden) <Ilya Goncharov> *06be32550b- [Gradle, JS] Fix lib and app test for both type (vor 25 Stunden) <Ilya Goncharov> *a5602165ec- [Gradle, JS] Fix names for js mpp (vor 25 Stunden) <Ilya Goncharov> *e1f7296426- [Gradle, JS] Fast test with both js compilers (vor 25 Stunden) <Ilya Goncharov> *37b3b3ec56- [Gradle, JS] Js default compiler type for mpp (vor 25 Stunden) <Ilya Goncharov> *3d30598774- [Gradle, JS] Js compiler type in interface (vor 25 Stunden) <Ilya Goncharov> *36631a5954- [Gradle, JS] Fix parallel tests (vor 25 Stunden) <Ilya Goncharov> *86e13c25b3- [Gradle, JS] Default conpiler type instead of legacy (vor 25 Stunden) <Ilya Goncharov> *ae89507736- [Gradle, JS] Add fish for js only lib-app test (vor 25 Stunden) <Ilya Goncharov> *16eb23c6b1- [Gradle, JS] Remove test with lib and app with not only legace (vor 25 Stunden) <Ilya Goncharov> *13594c80aa- [Gradle, JS] Declare default configurations in js single plugin (vor 25 Stunden) <Ilya Goncharov> *f3f818edc3- [Gradle, JS] Use default configuration names only once in constants (vor 25 Stunden) <Ilya Goncharov> *d9c08945a3- [Gradle, JS] Common dependency configurations for both js (vor 25 Stunden) <Ilya Goncharov> *ecb89ad259- [Gradle, JS] Disambiguation classifier consider single platform plugin (vor 25 Stunden) <Ilya Goncharov> *4189bc88c2- [Gradle, JS] Provide disambiguation classifier for both mode (vor 25 Stunden) <Ilya Goncharov> *b967e11511- [Gradle, JS] Configure compiler type with single platform plugin (vor 25 Stunden) <Ilya Goncharov> *22e826770d- [Gradle, JS] Functions in extensions for configure compiler type (vor 25 Stunden) <Ilya Goncharov> *1346883837- [Gradle, JS] Fix published name for both compiler (vor 25 Stunden) <Ilya Goncharov> *185f7419d5- [Gradle, JS] Refactor with remove copypaste (vor 25 Stunden) <Ilya Goncharov> *397ff26e20- [Gradle, JS] With both compilers fully disambiguated names (vor 25 Stunden) <Ilya Goncharov> *ae391f3776- [Gradle, JS] Fix codegen for js platform (vor 25 Stunden) <Ilya Goncharov> *1bebcd398e- [Gradle, JS] Move JsCompilerType to Gradle Plugin API (vor 25 Stunden) <Ilya Goncharov> *82d31adb24- [Gradle, JS] Remove js compiler property from MPP plugin (vor 25 Stunden) <Ilya Goncharov> *4af389ba92- [Gradle, JS] Rename target on js in case of single platform (vor 25 Stunden) <Ilya Goncharov> *285f613ef7- (tag: build-1.4.0-dev-3088) [FIR TEST] Add test with unresolved member in nested lambdas (KT-36887) (vor 25 Stunden) <Mikhail Glukhikh> *6f61ea7f67- [JS DCE] Add an ability to define overwriting strategy when copying dependencies in dev-mode (vor 25 Stunden) <Zalim Bashorov> *07ca355af8- [NI] Fix smartcasts for conventional contains in when (vor 25 Stunden) <Pavel Kirpichenkov> *afceec71a4- (tag: build-1.4.0-dev-3081) Create an interface with provideDelegate() method #KT-26494 (vor 25 Stunden) <Abduqodiri Qurbonzoda> *2566fbea87- (tag: build-1.4.0-dev-3080) toMutableList documentation is vague #KT-35231 (vor 25 Stunden) <Abduqodiri Qurbonzoda> *f9ee1dc22d- Specify which element Iterable.distinctBy(selector) retains #KT-36356 (vor 25 Stunden) <Abduqodiri Qurbonzoda> *fb49a586ef- (tag: build-1.4.0-dev-3077) FIR2IR: add comment about type parameter indexes (vor 26 Stunden) <Mikhail Glukhikh> *984a11995a- FIR2IR: pre-cache type parameters before property creation (vor 26 Stunden) <Mikhail Glukhikh> *a3f676317f- FIR2IR: pre-cache type parameters before function creation (vor 26 Stunden) <Mikhail Glukhikh> *899d471646- FIR2IR: determine type parameters before class super types (vor 26 Stunden) <Mikhail Glukhikh> *8c21f04bf4- FIR2IR: determine type parameters before value parameters (vor 26 Stunden) <Mikhail Glukhikh> *334cab7357- [FIR] Don't build redundant fake overrides for private members (vor 26 Stunden) <Mikhail Glukhikh> *b4d026f5bf- [FIR] Add fast return from substitution scope when substitutor is empty (vor 26 Stunden) <Mikhail Glukhikh> *a6d11b0207- [FIR] Don't create redundant substitution scopes (vor 26 Stunden) <Mikhail Glukhikh> *01053c938a- (tag: build-1.4.0-dev-3075) Generate IGNORE_BACKEND_FIR in black box tests properly (vor 26 Stunden) <Mikhail Glukhikh> *d921dd0eed- Provide candidate interceptor for NI infrastructure (vor 26 Stunden) <Mikhail Zarechenskiy> *4693d595b7- Fix UL classes tests (vor 26 Stunden) <Igor Yakovlev> *f47e602118- (tag: build-1.4.0-dev-3069) Use Kotlin/Native version 1.4-dev-14579, as it has the newest klib ABI (vor 26 Stunden) <Sergey Igushkin> *ace5d0357c- (tag: build-1.4.0-dev-3068) [FIR TEST] Add problematic test describing KT-36881 (vor 27 Stunden) <Mikhail Glukhikh> *018cfc7df6- Fix class name for test suite descriptor. (vor 27 Stunden) <Konstantin Tskhovrebov> *1dbb3d7c0f- (tag: build-1.4.0-dev-3066) Revert "New J2K: fix testdata" (vor 27 Stunden) <Roman Golyshev> *4042214bb2- Fix tests broken by enhanced `RedundantSamConstructor` inspection (vor 27 Stunden) <Roman Golyshev> *22a5bc4144- (tag: build-1.4.0-dev-3063) [FIR-TEST] Add build tasks for running all fir tests (vor 27 Stunden) <Dmitriy Novozhilov> *82c960d40d- [FIR-TEST] Run fir test in diagnostic test if fir testdata is missing (vor 27 Stunden) <Dmitriy Novozhilov> *d4d4697202- [FIR-TEST] Fix creating dirs in `FirLoadCompiledKotlin` test (vor 27 Stunden) <Dmitriy Novozhilov> *3edbf7f541- [FIR-TEST] Move abstract diagnostics tests to `tests-common` module (vor 27 Stunden) <Dmitriy Novozhilov> *102d5c7d5a- [NI] Fix detecting expected type variable for postponed atoms (vor 27 Stunden) <Dmitriy Novozhilov> *7e832e50ac- (tag: build-1.4.0-dev-3060) Move copy/paste resource bundles to Kotlin (vor 28 Stunden) <Vladimir Dolzhenko> *bc7c8e4819- (tag: build-1.4.0-dev-3057) Update bytecode text tests for JVM_IR (vor 29 Stunden) <Dmitry Petrov> *7581e0bd8e- Unmute noParametersArgumentCallInExpression test in JVM IR backend (vor 29 Stunden) <Yan Zhulanow> *9dd8eda1c9- (tag: build-1.4.0-dev-3054, tag: build-1.4.0-dev-3053) [FIR]: fix library methods in packages (vor 30 Stunden) <Juan Chen> *81b30b7399- Update bytecode text tests for JVM_IR (vor 30 Stunden) <Dmitry Petrov> *071149e0fb- (tag: build-1.4.0-dev-3051) Fix exception when Java class has different methods with same erasure (vor 30 Stunden) <Denis Zharkov> *7efb32628e- (tag: build-1.4.0-dev-3049) [Highlight] Fix for coloring annotation attributes in Kotlin (vor 30 Stunden) <Vladimir Ilmov> *8d4dac398d- [COROUTINE] Information message added if breakpoint policy doesn't suspended all (vor 30 Stunden) <Vladimir Ilmov> *eff02b6e72- (tag: build-1.4.0-dev-3044) JVM_IR: improve suspend tail call detection. (vor 31 Stunden) <pyos> *3cf71c1d2b- JVM IR: Move $assertionsDisabled field to interface DefaultImpls (vor 31 Stunden) <Steven Schäfer> *0ed719f792- JVM IR: Use package visibility for $assertionsDisabled field (vor 31 Stunden) <Steven Schäfer> *d169435300- (tag: build-1.4.0-dev-3041) Fix construction of Mock classes in case of generic inner types (vor 32 Stunden) <Mikhail Zarechenskiy> *83824d0ba6- [NI] Don't stop on a candidate with unstable smartcast error (vor 32 Stunden) <Mikhail Zarechenskiy> *162a2d5851- [NI] Add test to check how behavior will be changed after few commits (vor 32 Stunden) <Mikhail Zarechenskiy> *0e970407a4- (tag: build-1.4.0-dev-3025) Fixup for9b861739(the fix for KT-35942) (vor 2 Tagen) <Sergey Igushkin> *3921613956- [FIR] Code cleanup: DeclarationsConverter (vor 2 Tagen) <Mikhail Glukhikh> *5d7999a808- [FIR] Handle explicitly private sealed class constructors properly (vor 2 Tagen) <Mikhail Glukhikh> *17b473fcb6- FirTowerResolver: code cleanup (vor 2 Tagen) <Mikhail Glukhikh> *f1a418373c- RawFirBuilder: code cleanup (vor 2 Tagen) <Mikhail Glukhikh> *e66d6a8954- [FIR] ClassWrapper: code cleanup (vor 2 Tagen) <Mikhail Glukhikh> *bbf448b39d- [FIR] Change visibility of default sealed class constructor to private (vor 2 Tagen) <Mikhail Glukhikh> *14fd1d3c9f- [FIR] Check visibility correctly for sealed class in file (vor 2 Tagen) <Mikhail Glukhikh> *ace259314b- Use 'symbol' instead of 'classId' in FirResolvedQualifier (vor 2 Tagen) <Mikhail Glukhikh> *3d51af2935- (tag: build-1.4.0-dev-2999) [JVM IR] Fix issue with suspend functions with @JvmOverloads. (vor 2 Tagen) <Mark Punzalan> *c289612e57- (tag: build-1.4.0-dev-2997) [FIR] Remove debugging println in tree generator (vor 2 Tagen) <Mikhail Glukhikh> *a4c4b2650c- FIR2IR: remove hacky & redundant resolve of delegating constructor calls (vor 2 Tagen) <Mikhail Glukhikh> *82c8b5f368- [FIR] Eliminate isNotSAM optimization as ineffective (seedc4f332c) (vor 2 Tagen) <Mikhail Glukhikh> *9017654b9d- [FIR] Handle default parameters when checking callable reference type (vor 2 Tagen) <Mikhail Glukhikh> *04e6c63cc9- FirSymbolProvider: minor cleanup (vor 2 Tagen) <Mikhail Glukhikh> *1376dbf9cf- Remove unused 'dispatchReceiverValue()' from FIR tower levels (vor 2 Tagen) <Mikhail Glukhikh> *e051251b27- FIR: set isOperator only for Java methods with appropriate names (vor 2 Tagen) <Mikhail Glukhikh> *cbbbf40b90- (tag: build-1.4.0-dev-2995) [NI] Fix isSuccessful property for member with LowPriority resolution (vor 2 Tagen) <Mikhail Zarechenskiy> *8ca2aa47f8- (tag: build-1.4.0-dev-2994) [FIR] Remove duplicated code (vor 2 Tagen) <simon.ogorodnik> *c29c140a9c- [FIR] Qualifier resolve (vor 2 Tagen) <simon.ogorodnik> *723ebb4f57- (tag: build-1.4.0-dev-2993) Fix compileOnly dependencies in HMPP (KT-36469) (vor 2 Tagen) <Sergey Igushkin> *9b861739cd- Include the production artifacts in friend paths (KT-35942) (vor 2 Tagen) <Sergey Igushkin> *4eb04af01e- (tag: build-1.4.0-dev-2992) Add checkStability to perf tests (vor 2 Tagen) <Vladimir Dolzhenko> *a6cf16ddfc- (tag: build-1.4.0-dev-2991) FIR: Fix test data for FirMultiModuleResolveTestGenerated (vor 2 Tagen) <Denis Zharkov> *46ae6136cb- Rewrite `RedundantSamConstructorInspection` to support more cases (vor 2 Tagen) <Roman Golyshev> *9b5110b9f3- Refactor `RedundantSamConstructorInspection` (vor 2 Tagen) <Roman Golyshev> *3122760c49- Add more tests for `RedundantSamConstructorInspection` (vor 2 Tagen) <Roman Golyshev> *e8524137c3- (tag: build-1.4.0-dev-2985) NI: exclude not fixed type variables from types on which null checks should be generated (vor 2 Tagen) <Victor Petukhov> *f10696da5e- Fix formatting of `RuntimeAssertion.kt` (vor 2 Tagen) <Victor Petukhov> *6793b27330- (tag: build-1.4.0-dev-2984) FIR: Optimize Java types mapping (vor 2 Tagen) <Denis Zharkov> *c8269baa92- FIR: Fix NI handling flexible type bounds (vor 2 Tagen) <Denis Zharkov> *2ad8488e6a- FIR: Rewrite Java type mapping (vor 2 Tagen) <Denis Zharkov> *748a326104- (tag: build-1.4.0-dev-2983) NI: Discard definitely not-null types inside invariant positions during inference process (vor 2 Tagen) <Victor Petukhov> *36f4b6daf3- (tag: build-1.4.0-dev-2977) Update `completion-ranking-kotlin` dependency (vor 2 Tagen) <Roman Golyshev> *3080b4c435- (tag: build-1.4.0-dev-2973) JVM_IR: remove a suspend-related hack from BridgeLowering (vor 2 Tagen) <pyos> *ba90e87756- (tag: build-1.4.0-dev-2972) JVM, JVM IR: Fix assertion status for regenerated anonymous objects (vor 2 Tagen) <Steven Schäfer> *272f6abe69- JVM IR: Fix suspend lambda generic signatures (vor 2 Tagen) <Steven Schäfer> *e6efb81014- (tag: build-1.4.0-dev-2969, origin/rr/kishmakov/ios-debug-161) JVM_IR: inline findSuspendAndInlineLambdas (vor 2 Tagen) <pyos> *5d603a8be4- JVM_IR: detect lambdas capturing crossinline through fields (vor 2 Tagen) <pyos> *285aa123b7- (tag: build-1.4.0-dev-2962) New J2K: fix testdata (vor 2 Tagen) <Ilya Kirillov> *17a0e3a078- New J2K: do not call custom diagnostic fixes in EDT as they may have resolve inside (vor 2 Tagen) <Ilya Kirillov> *810966e408- New J2K: call reformat code & shorten references processings only single time (vor 2 Tagen) <Ilya Kirillov> *ee0ec421ce- New J2K: do not print Unit types (vor 2 Tagen) <Ilya Kirillov> *6c1e2cc196- New J2K: disable additional post-formatting for J2K (vor 2 Tagen) <Ilya Kirillov> *85be0450ba- Fix invalidated element access exception in ObjectLiteralToLambdaIntention (vor 2 Tagen) <Ilya Kirillov> *6b913da698- New J2K: Fix super call to Kotlin class with implicit constructor (vor 2 Tagen) <Ilya Kirillov> *7c586ce736- New J2K: Fix converting recursive types (vor 2 Tagen) <Ilya Kirillov> *6982db7d02- chore: improved UI texts for new project wizard (vor 2 Tagen) <Pavel Semyonov> *0b9b1b6945- (tag: build-1.4.0-dev-2943) Update bytecode text tests for JVM_IR (vor 3 Tagen) <Dmitry Petrov> *aac72871e7- (tag: build-1.4.0-dev-2935) Fix UI freezes caused by calls with a huge number overloads (vor 3 Tagen) <Denis Zharkov> *842e2dc02f- Optimize retaining most specific methods in LazyJavaScope (vor 3 Tagen) <Denis Zharkov> *d06e35b061- Minor. Reformat overridingUtils.kt (vor 3 Tagen) <Denis Zharkov> *a50911156d- (tag: build-1.4.0-dev-2933) [NI] Add regression tests for builder inference (vor 3 Tagen) <Pavel Kirpichenkov> *6ed1cc5cd8- (tag: build-1.4.0-dev-2930) [JPS-TESTS] Update incremental compilation test for 1.4 (vor 3 Tagen) <Pavel Kirpichenkov> *f9f715c31e- Support suspend lambda with arity 22 in old BE (vor 3 Tagen) <Ilmir Usmanov> *752ff9de5d- JVM_IR: Support suspend lambdas with many arguments. (vor 3 Tagen) <Mads Ager> *f2b940ffd4- (tag: build-1.4.0-dev-2917) [Commonizer] Apply interner to avoid duplicated CirValueParameterImpl objects (vor 3 Tagen) <Dmitriy Dolovov> *5663dfb772- [Commonizer] Apply interner to avoid duplicated CirSetter objects (vor 3 Tagen) <Dmitriy Dolovov> *e54640ddad- [Commonizer] Apply interner to avoid duplicated CirGetter objects (vor 3 Tagen) <Dmitriy Dolovov> *39125a75e7- [Commonizer] Apply interner to avoid duplicated CirAnnotation objects (vor 3 Tagen) <Dmitriy Dolovov> *c88ea2f2e6- [Commonizer] Apply interner to avoid duplicated CirSimpleType objects (vor 3 Tagen) <Dmitriy Dolovov> *84bc151cb3- Minor. Add toString() to CommonizedClassDescriptor.CommonizedClassTypeConstructor (vor 3 Tagen) <Dmitriy Dolovov> *d0e9dc05b5- [Commonizer] Apply interner to avoid duplicated Name objects (vor 3 Tagen) <Dmitriy Dolovov> *47d091702b- [Commonizer] Apply interner to avoid duplicated FqName objects (vor 3 Tagen) <Dmitriy Dolovov> *adc5a55d65- [Commonizer] Apply interner to avoid duplicated String objects (vor 3 Tagen) <Dmitriy Dolovov> *667e96f971- [Commonizer] Don't keep references to descriptor objects when they are not needed anymore (vor 3 Tagen) <Dmitriy Dolovov> *9a8a1113db- [Commonizer] Don't commonize deprecated functions (vor 3 Tagen) <Dmitriy Dolovov> *11e0f427ac- [Commonizer] Refactor CIR to avoid strong refs on descriptors (vor 3 Tagen) <Dmitriy Dolovov> *a0b0f72edf- Add missed dependencies for performance tests (vor 3 Tagen) <Vladimir Dolzhenko> *635ff59d10- (tag: build-1.4.0-dev-2914) [FIR] Fix compiler error after2aeb1ea2(vor 3 Tagen) <Dmitriy Novozhilov> *faa95bfc33- (tag: build-1.4.0-dev-2908) Fix KT-36804 by eagerly instantiating the Kotlin/Native tasks (vor 3 Tagen) <Sergey Igushkin> *582ce1199f- (tag: build-1.4.0-dev-2907) Merge remote-tracking branch 'origin/master' (vor 3 Tagen) <Vyacheslav Karpukhin> |\ | *f47e5cb2d0- (tag: build-1.4.0-dev-2904) Make 201 plugin compatible with IDEA trunk (KT-36780) (vor 3 Tagen) <Nikolay Krasko> * |eef86d47a0- Merge branch 'slava/mpp-import-experiments' (vor 3 Tagen) <Vyacheslav Karpukhin> |\ \ | |/ |/| | *4462ecb280- Simplified SdkLocator usage in AndroidDependencyResolver (vor 3 Tagen) <Vyacheslav Karpukhin> | *d9f9c93dc8- KotlinMPPGradleProjectResolver: extracted similar Android checks (vor 3 Tagen) <Vyacheslav Karpukhin> | *082c358f9d- Removed references to AndroidDependencyResolver from KotlinMultiplatformExtension (vor 3 Tagen) <Vyacheslav Karpukhin> | *bdb8811f95- Nullability check (vor 3 Tagen) <Vyacheslav Karpukhin> | *aaf939a650- Android dependency resolving stuff moved out of KotlinMultiplatformExtension.kt (vor 3 Tagen) <Vyacheslav Karpukhin> | *9788525ec7- Import sources for Android SDK, include proper identifiers for Gradle dependencies (vor 3 Tagen) <Vyacheslav Karpukhin> | *663c8e5a46- Import Android modules only if Android Plugin for IDEA is missing (vor 3 Tagen) <Vyacheslav Karpukhin> | *ad314e93eb- Do not explicitly depend on prerelease Android Gradle Plugin (vor 3 Tagen) <Vyacheslav Karpukhin> | *a6e488e2b4- Android import: simplified configuration matching (vor 3 Tagen) <Vyacheslav Karpukhin> | *45a0aa04a1- Android import: import R.jar (vor 3 Tagen) <Vyacheslav Karpukhin> | *17059682e9- Android import: initial implementation (vor 3 Tagen) <Vyacheslav Karpukhin> *6941cd6d28- [FIR] Add `@PrivateForInline` to prevent setting to var's from inconvenient places (vor 3 Tagen) <Dmitriy Novozhilov> *2aeb1ea234- [FIR] Move some util methods from `resolve.calls` to `types` package (vor 3 Tagen) <Dmitriy Novozhilov> *cd3fc5b8ec- [FIR] Reorganize packages for `resolve` module (vor 3 Tagen) <Dmitriy Novozhilov> *41d2f41141- (tag: build-1.4.0-dev-2899) [FIR] Fix incorrect smartcasts from || expressions (vor 3 Tagen) <Dmitriy Novozhilov> *89e377763a- [FIR] Change rendering for captured types and stub types (vor 3 Tagen) <Dmitriy Novozhilov> *c83244c8b5- [FIR] Fix creating and substituting definitely not null types (vor 3 Tagen) <Dmitriy Novozhilov> *bf11f1892d- [FIR] Change order of initialization synthetic fun in SAM resolution (vor 3 Tagen) <Dmitriy Novozhilov> *6430209074- (tag: build-1.4.0-dev-2895) [NI] Make error CST when any of included types is error (vor 3 Tagen) <Pavel Kirpichenkov> (cherry picked from commit 75efde33d56d356f5e76df0eabc9deb2c5781777)
Kotlin/Native
Kotlin/Native is an LLVM backend for the Kotlin compiler, runtime implementation, and native code generation facility using the LLVM toolchain.
Kotlin/Native is primarily designed to allow compilation for platforms where virtual machines are not desirable or possible (such as iOS or embedded targets), or where a developer is willing to produce a reasonably-sized self-contained program without the need to ship an additional execution runtime.
Prerequisites:
- install JDK for your platform, instead of JRE. The build requires
tools.jar, which is not included in JRE; - on macOS install Xcode 11
- on Fedora 26+
yum install ncurses-compat-libsmay be needed - on recent Ubuntu
apt install libncurses5is needed
To compile from sources use following steps:
First, download dependencies:
./gradlew dependencies:update
Then, build the compiler and libraries:
./gradlew bundle
To build with experimental targets support compile with -Porg.jetbrains.kotlin.native.experimentalTargets.
The build can take about an hour on a Macbook Pro. To run a shorter build with only the host compiler and libraries, run:
./gradlew dist distPlatformLibs
To include Kotlin compiler in composite build and build
against it, use the kotlinProjectPath project property:
./gradlew dist -PkotlinProjectPath=path/to/kotlin/project
It's possible to include in a composite build both Kotlin compiler and Kotlin/Native Shared simultaneously.
After that, you should be able to compile your programs like this:
export PATH=./dist/bin:$PATH
kotlinc hello.kt -o hello
For an optimized compilation, use -opt:
kotlinc hello.kt -o hello -opt
For tests, use:
./gradlew backend.native:tests:run
To generate interoperability stubs, create a library definition file
(refer to samples/tetris/.../sdl.def), and run the cinterop tool like this:
cinterop -def lib.def
See the provided samples and INTEROP.md for more details.
The Interop tool generates a library in the .klib library format. See LIBRARIES.md
for more details on this file format.