Commit Graph

6852 Commits

Author SHA1 Message Date
Svyatoslav Scherbina f766a3eae4 Optimize CPointer.toKStringFromUtf8 on Native
Use strlen and stop allocating intermediate ByteArray
to make the performance comparable to ByteArray.decodeToString().

Partially fix KT-44357.
2021-02-24 10:53:42 +01:00
Svyatoslav Scherbina dc2d014504 Add some tests for CPointer.toKStringFromUtf8 2021-02-24 10:53:42 +01:00
SvyatoslavScherbina bea8edb10c Return old behaviour for cinterop -output argument suffix handling
(accidentally changed in 976a9fc1)

 #KT-44824 Fixed.
2021-02-24 10:53:42 +01:00
Paul Idstein 3f15774cb2 Fix -Xoverride-konan-properties for Apple strip
When building an optimised release dynamic framework we see a lot of local symbols in Mach-O. When calling `strip -x` this can be dramatically reduced whilst still having a usable artefact.

Current logic seems to keep symbols for DSYM extraction in debug light mode. But only strips hardcoded debug symbols (`strip -S`) afterwards.

Introduce new stripFlags for Apple compilation to allow optimization for release with DSYM builds
2021-02-24 10:53:42 +01:00
Igor Chevdar 764f7f31d2 [IR] Erase non-trivial type projections off of super types
This fixes https://youtrack.jetbrains.com/issue/KT-44826
2021-02-24 10:53:42 +01:00
Igor Chevdar ca953d3186 [tests] Remove explicit NI switching on in tests
It is on by default anyway, but specifying it explicitly turns on specific 'compatibility' mode in FE
which is not needed in K/N
2021-02-24 10:53:42 +01:00
Pavel Semyonov c2b1c7df53 update(docs): replace doc content with links to kotlinlang.ord pages 2021-02-24 10:53:42 +01:00
SvyatoslavScherbina 41a1e462f0 Fix samples/androidNativeActivity build
Starting from 1.4.0, Kotlin expects Gradle projects with android and
kotlin-multiplatform plugins to have an android target.

See https://github.com/JetBrains/kotlin/commit/ad9d011ed02bc971a0cf406ff1535c2a67bd3374#diff-685880375690dc3db18f7b39b51c257f7100a11c39791d2b3f9f45cefa485e52R133
2021-02-24 10:53:42 +01:00
Alexander Shabalin d5ca285a79 Move unhandledExceptionHook to kotlin code (#4704) 2021-02-24 10:53:42 +01:00
Roman Artemev 3ee0dc112b [Plugin API] Corresponding fox to K/N for #KT-44100
(cherry picked from commit 3141c0dfc6bcc6583f0a370a1ebb511bf5ec5731)
2021-02-15 10:16:11 +01:00
Vasily Levchenko 79e1d206a5 [kotlin compiler][update] 1.5.20-dev-576
* 6eaf0a95ca - (tag: build-1.5.20-dev-576) [KAPT] Fix expected resolve errors in tests (#4105) (5 days ago) <Andrey Zinovyev>
* af8061a4dd - (tag: build-1.5.20-dev-567) Remove kotlin-test-multiplatform special dependency handling (5 days ago) <Ilya Gorbunov>
* 2cd1aefd5e - (tag: build-1.5.20-dev-561) [FIR-IDE] Add mapping for FirExpression in diagnostics and generate new IDE ones (5 days ago) <Dmitriy Novozhilov>
* 9b1f01ab04 - FIR checker: differentiate unsafe infix/operator calls from UNSAFE_CALL (5 days ago) <Jinseong Jeon>
* 1729eff31b - FIR checker: reincarnate FIR source child lookup utils (5 days ago) <Jinseong Jeon>
* 5e150d62ea - FIR checker: differentiate UNSAFE_IMPLICIT_INVOKE_CALL from UNSAFE_CALL (5 days ago) <Jinseong Jeon>
* 0c0c53cc2e - (tag: build-1.5.20-dev-557) [FE] Don't analyze members with CLASSIFIERS kind filter in AbstractLazyMemberScope (5 days ago) <Dmitriy Novozhilov>
* 903defdf30 - (tag: build-1.5.20-dev-542) Use IDEA ASM in kapt module (5 days ago) <Mikhael Bogdanov>
* 154a768a3a - (tag: build-1.5.20-dev-540) [Commonizer] Minor. Remove unused import (5 days ago) <Dmitriy Dolovov>
* ac966ad1d2 - [Commonizer] Add getParentEntityId() method to CirEntityId (5 days ago) <Dmitriy Dolovov>
* 4bab505c3a - [Commonizer] Introduce CIR entities for representing various flavors of names (5 days ago) <Dmitriy Dolovov>
* f8c5244a39 - [Commonizer] Use CirConstantValue class to represent constant values (5 days ago) <Dmitriy Dolovov>
* 25df25ccc6 - [Commonizer] Minor. Extract common module names from CommonizerParameters (5 days ago) <Dmitriy Dolovov>
* 97000b1285 - [Commonizer] Drop CirContainingClassdetails in favor of CirClass entity (5 days ago) <Dmitriy Dolovov>
* 054b59198b - [Commonizer] Don't keep fqName inside of CirPackageNode (5 days ago) <Dmitriy Dolovov>
* 5d19ac16d5 - [Commonizer] Drop useless CirPackageNode.moduleName property (5 days ago) <Dmitriy Dolovov>
* c6756762e5 - [Commonizer] Refactoring: Clean-up in CirTreeMerger (5 days ago) <Dmitriy Dolovov>
* 671ebc6819 - [FIR] Fix detecting that `if` in `then` branch of outer `if` used as expression (5 days ago) <Dmitriy Novozhilov>
* e6588ee8a4 - (tag: build-1.5.20-dev-539) CLI: include META-INF/services/ from kotlin-reflect with -include-runtime (5 days ago) <Alexander Udalov>
* 3dfd2a95fa - Minor, do not output "Not changed" for generated FIR checkers on each build (5 days ago) <Alexander Udalov>
* 1216b33593 - (tag: build-1.5.20-dev-536) [Test] Move extracting JVM_TARGET to provideConfigurationKeys (5 days ago) <Dmitriy Novozhilov>
* 606ae45f5f - [Test] Replace remaining `KOTLIN_CONFIGURATION_FLAGS` directives with specific ones (5 days ago) <Dmitriy Novozhilov>
* 3ee5665746 - Parse compiler configuration for android tests using new test infrastructure (5 days ago) <Dmitriy Novozhilov>
* a0007bf244 - Add analysisFlags of LanguageVersionSettings to `toString()` method (5 days ago) <Dmitriy Novozhilov>
* 7e59e083d3 - [Test] Make some functions of environment configurators public (5 days ago) <Dmitriy Novozhilov>
* 24d6853ead - [Test] Cleanup JvmEnvironmentConfigurator (5 days ago) <Dmitriy Novozhilov>
* a932f69b8a - [Test] Don't pass MockProject to environment configurators (5 days ago) <Dmitriy Novozhilov>
* bd37badf29 - (tag: build-1.5.20-dev-531) FIR checker: add diagnostics for backing fields (5 days ago) <Jinseong Jeon>
* a88b82d8ff - Rewrite nasty code with if without else in elvis RHS (5 days ago) <Mikhail Glukhikh>
* 7a9315e6b6 - (tag: build-1.5.20-dev-525) Fix KaptWithoutKotlincTask task tries to get wrong properties. (5 days ago) <Yahor Berdnikau>
* 48ec227aaf - (tag: build-1.5.20-dev-519) [KAPT] Suppress resolve error in annotation procssing (5 days ago) <Andrey Zinovyev>
* d64f7dd8c7 - (tag: build-1.5.20-dev-518) Revert "Add :kotlin-scripting-compiler.test to modules with disabled -Werror flag" (5 days ago) <Ilya Chernikov>
* 79b4b18e25 - [minor] fix warnings in the script compiler and tests (5 days ago) <Ilya Chernikov>
* d0f26abd18 - (tag: build-1.5.20-dev-512) JVM_IR KT-44798 don't generate multiple stubs with same signature (5 days ago) <Dmitry Petrov>
* 9afe8a0a39 - (tag: build-1.5.20-dev-504) Make checker tests independent of plugin version (5 days ago) <Vladimir Dolzhenko>
* 09ea4116e4 - (tag: build-1.5.20-dev-500) Implement forced script configuration reloading API for plugins (5 days ago) <Ilya Chernikov>
* 2673261b10 - (tag: build-1.5.20-dev-497) Use proper `jvmArgs` syntax, remove `-FailOverToOldVerifier` from last configurations (6 days ago) <Mikhael Bogdanov>
* c54354f348 - (tag: build-1.5.20-dev-491) FIR: fix memory leak from ConeIntegerLiteralTypeImpl via static NUMBER_TYPE (6 days ago) <Ilya Kirillov>
* ede5fef39c - FIR IDE: fix memory leak in symbols by firBuilder (6 days ago) <Ilya Kirillov>
* cf3defbc9c - FIR IDE: add more KDoc to HLApplicator stuff (6 days ago) <Ilya Kirillov>
* 2554065ae9 - FIR IDE: forbid resolve in HLApplicator/HLApplicabilityRange/HLPresentation (6 days ago) <Ilya Kirillov>
* 7ab9583102 - FIR IDE: add KDoc for HLApplicabilityRange (6 days ago) <Ilya Kirillov>
* 91e135888d - FIR IDE: introduce HLSpecifyExplicitTypeForCallableDeclarationIntention and HLRedundantUnitReturnTypeInspection (6 days ago) <Ilya Kirillov>
* a6f76399e2 - FIR IDE: introduce infrastructure for HL based inspections & intentions (6 days ago) <Ilya Kirillov>
* 5cefad1ab3 - FIR: use GeneratorsFileUtil for checkers-component-generator (6 days ago) <Ilya Kirillov>
* 4cf863e054 - FIR: simplify PositioningStrategy checkers generator (6 days ago) <Ilya Kirillov>
* 21ac83aba0 - FIR: rename Diagnostic to DiagnosticData in checkers generators to avoid conflict with existing Diagnostic class (6 days ago) <Ilya Kirillov>
* cf56c59ca2 - Fix binary incompatibility of createRemoveModifierFromListOwnerFactory (6 days ago) <Ilya Kirillov>
* 8fc6e50dd1 - FIR IDE: allow specify position to insert directive in IgnoreTests (6 days ago) <Ilya Kirillov>
* b2d51dc455 - FIR: Update diagnostics list after rebase (6 days ago) <Ilya Kirillov>
* fe9c0e584f - FIR IDE: update test data (6 days ago) <Ilya Kirillov>
* e269b1d19d - FIR IDE: temporary mute failing tests (6 days ago) <Ilya Kirillov>
* d72a2d39da - FIR IDE: ignore not passing quickfixes tests (6 days ago) <Ilya Kirillov>
* 6c81d9848d - FIR IDE: introduce ChangeReturnTypeOnOverrideQuickFix (6 days ago) <Ilya Kirillov>
* 9304056901 - FIR IDE: add quick fix tests (6 days ago) <Ilya Kirillov>
* 5d32cb0daf - FIR IDE: add remove modifier quick fixes (6 days ago) <Ilya Kirillov>
* c87e6c6a87 - FIR IDE: fix finding containing declaration for constructor param (6 days ago) <Ilya Kirillov>
* f7aec31abf - FIR IDE: add KDoc for KtSymbol.psi (6 days ago) <Ilya Kirillov>
* aed728c4d8 - FIR IDE: do not require containing declaration for getting overridden symbols (6 days ago) <Ilya Kirillov>
* 0fbb5c60c9 - FIR IDE: add helper function for getting psi of KtSymbol (6 days ago) <Ilya Kirillov>
* 99a6f24771 - FIR IDE: make KtCallableSymbol to be KtTypedSymbol (6 days ago) <Ilya Kirillov>
* b114a45f23 - FIR IDE: render KtFunctionalType in KtTypeRenderer (6 days ago) <Ilya Kirillov>
* a10f54befa - FIR IDE: introduce KtFunctionalType (6 days ago) <Ilya Kirillov>
* 0551834164 - Extract getText/getFamilyName from ChangeCallableReturnTypeFix to use in FIR IDE (6 days ago) <Ilya Kirillov>
* 79baffb69d - FIR IDE: add PSI type parameter to KtDiagnostic (6 days ago) <Ilya Kirillov>
* e008ad03a2 - FIR: add groups to diagnostics DSL (6 days ago) <Ilya Kirillov>
* aaba5742dc - FIR IDE: add severity to KtDiagnostic (6 days ago) <Ilya Kirillov>
* f5ec37db95 - FIR IDE: report diagnostics for non-kt elements (6 days ago) <Ilya Kirillov>
* e9a5749cf4 - FIR IDE: introduce KtQuickFixService (6 days ago) <Ilya Kirillov>
* 05fb88d2d9 - Migrate RemoveModifierFix factories to QuickFixesPsiBasedFactory to use in FIR IDE (6 days ago) <Ilya Kirillov>
* 794558ab68 - Introduce QuickFixesPsiBasedFactory for quickfixes which can be created only by PSI (6 days ago) <Ilya Kirillov>
* 6dd2037f85 - Move QuickFixActionBase & KotlinIntentionActionsFactory to frontend-independent module (6 days ago) <Ilya Kirillov>
* 15ff79830f - FIR: remove existingN diagnostic creation functions (6 days ago) <Ilya Kirillov>
* e41ad2ea06 - FIR IDE: implement generators for IDE diagnostics (6 days ago) <Ilya Kirillov>
* c87684a6ef - FIR IDE: use simple KtDiagnostic wrapper for diagnostics (6 days ago) <Ilya Kirillov>
* b92dce9be4 - FIR: introduce DSL to generate diagnostics list (6 days ago) <Ilya Kirillov>
* 5ff816127a - FIR: extract ConeDiagnostic -> FirDiagnostic to fun to use in IDE code (6 days ago) <Ilya Kirillov>
* ef4fa3381d - (tag: build-1.5.20-dev-485, origin/rr/ic/scripting) Pass provided script configuration to refining code (6 days ago) <Ilya Chernikov>
* 6dd331d7e8 - (tag: build-1.5.20-dev-475) [FIR] Add tests for non exhaustive when as last expression of lambda (6 days ago) <Dmitriy Novozhilov>
* e54f31cc2f - [IR] Remove useless init block from IrLazyFunction (6 days ago) <Dmitriy Novozhilov>
* 8f0e1035fa - [FIR] Rename `KEY` and `VALUE` generics of FirCache to `K` and `V` (6 days ago) <Dmitriy Novozhilov>
* e7fdc18ced - [FIR] Fix `[JSP] Fast FIR tests` run configuration (6 days ago) <Dmitriy Novozhilov>
* d7e3e83251 - [FIR] Update testdata of FIR spec tests (6 days ago) <Dmitriy Novozhilov>
* 18bde2c542 - [FIR] Reimplement when exhaustiveness checker to fir it's logic with FE 1.0 (6 days ago) <Dmitriy Novozhilov>
* 2a1c9283a4 - [FIR] Add useful util extensions for cone type (6 days ago) <Dmitriy Novozhilov>
* ad677046a8 - [FIR] Replace `isExhaustive` flag with `ExhaustivenessStatus` object (6 days ago) <Dmitriy Novozhilov>
* 96038e4b32 - [FIR] Support java sealed class interop (6 days ago) <Dmitriy Novozhilov>
* abd1c8fb30 - [FIR] Move `sealedInheritors` declaration data to :fir:tree module (6 days ago) <Dmitriy Novozhilov>
* 8dd9d98129 - [FIR] Implement checker for exhaustive when's in expression position (6 days ago) <Dmitriy Novozhilov>
* 3f715e671d - [FIR] Fix checking for null exhaustiveness with expression of Nothing? type (6 days ago) <Dmitriy Novozhilov>
* 76f9830b47 - [FIR] Fix checking for boolean exhaustiveness with || in branch (6 days ago) <Dmitriy Novozhilov>
* 6469900b5e - [FIR] Fix forgotten light source element for if expression (6 days ago) <Dmitriy Novozhilov>
* 11ab37160e - [FIR] Save info that when was used as expression (6 days ago) <Dmitriy Novozhilov>
* 490ef210ac - [FIR] Support sealed class inheritors in multiple files (6 days ago) <Dmitriy Novozhilov>
* c8f9cc33ef - [FIR] Pass all FirFiles to FirGlobalResolveProcessor.process (6 days ago) <Dmitriy Novozhilov>
* 38437fb036 - [FIR] Rename `session.firSymbolProvider` to `session.symbolProvider` (6 days ago) <Dmitriy Novozhilov>
* e3c1aa599d - (tag: build-1.5.20-dev-474) KT-44487 [Sealed Interfaces]: sealed-inheritors-provider for MPP (6 days ago) <Andrei Klunnyi>
* 6f9bcf249b - (tag: build-1.5.20-dev-472) [IR] Supported inlining of adapted references + tests (6 days ago) <Igor Chevdar>
* 9724d81a49 - (tag: build-1.5.20-dev-471) [FIR] Support boolean elvis bound smartcasts (6 days ago) <Dmitriy Novozhilov>
* 2b088f1147 - [FIR] Fix generating data class if there is non-property in primary constructor (6 days ago) <Dmitriy Novozhilov>
* 30b5bfe767 - (tag: build-1.5.20-dev-466) Disable D8 checks for `-jvm-target 15` tests (6 days ago) <Mikhael Bogdanov>
* 3dff225b98 - Aligh test data with JDK 15 reflection output (6 days ago) <Mikhael Bogdanov>
* 21e9f67322 - Add JvmTargetXOnJvm15 test suites (6 days ago) <Mikhael Bogdanov>
* 5c5fb0ae39 - Add JvmTarget6OnJvm8 test suite (6 days ago) <Mikhael Bogdanov>
* 8af9ce1e0b - (tag: build-1.5.20-dev-465) Minor. Ignore test on WASM (6 days ago) <Ilmir Usmanov>
* 275fef94fe - JVM_IR. Do not mangle callable reference constructor call (6 days ago) <Ilmir Usmanov>
* 10cc86c975 - (tag: build-1.5.20-dev-458) [KAPT] Warn about usage of types from default package (6 days ago) <Andrey Zinovyev>
* 58d903c638 - (tag: build-1.5.20-dev-455) [FIR IDE] Make KtSmartcastProvider report resolved smartcast type (6 days ago) <Tianyu Geng>
* d97a2b13c0 - (tag: build-1.5.20-dev-448) [Plugin API] Add API to load top level declaration by its signature (6 days ago) <Roman Artemev>
* ca6e1b8f1b - (tag: build-1.5.20-dev-447) Add box test for #KT-43831 (6 days ago) <Roman Artemev>
* 79f986bb75 - [IR] Fix IrType equality in case of complex variance (6 days ago) <Roman Artemev>
* 4ed93d3dee - [IR] Add IrCapturedType into IR type system (6 days ago) <Roman Artemev>
* 9b6f95faa2 - (tag: build-1.5.20-dev-445) FIR: report lowering time in FullPipelineModularizedTest (6 days ago) <Georgy Bronnikov>
* 1664eec7e4 - FIR: report lowering time from JvmIrCodegenFactory (6 days ago) <Georgy Bronnikov>
* 75954dd1a4 - (tag: build-1.5.20-dev-427) Minor: refactor extended compiler checks (7 days ago) <Pavel Kirpichenkov>
* 2a46da906c - Provide additional information about missing supertypes (7 days ago) <Pavel Kirpichenkov>
* 4a381d4b83 - (tag: build-1.5.20-dev-426) FIR DFA: update receivers properly in case of single flow in merge point (7 days ago) <Mikhail Glukhikh>
* d96921e287 - FIR2IR: collect annotations when expanding type aliases (7 days ago) <pyos>
* 872effc21e - (tag: build-1.5.20-dev-422) Check declaration modifier for actual method to avoid freeze (7 days ago) <Vladimir Dolzhenko>
* 3e17317f31 - (tag: build-1.5.20-dev-416) Update steps to install JDK 6 on Mac OS (#4052) (7 days ago) <Muhammad Hakim Asy'ari>
* d4b0688690 - (tag: build-1.5.20-dev-404) FIR: introduce delegate field initializers (7 days ago) <Mikhail Glukhikh>
* 2cbdad0bb1 - FIR2IR: insert implicit cast of receiver to Any for interface Any calls (7 days ago) <Mikhail Glukhikh>
* 1c210c2386 - FIR: fix of super.methodOfAny resolve in case of one supertype (7 days ago) <Mikhail Glukhikh>
* 694d69fbfa - FIR2IR: select return target inside accessor properly (7 days ago) <Mikhail Glukhikh>
* 19bffc694b - (tag: build-1.5.20-dev-402) [JS IR] Add test with chain export--not-export--export (7 days ago) <Ilya Goncharov>
* 76b124a9c0 - [JS IR] Method of any is exported (7 days ago) <Ilya Goncharov>
* 7b4624aac4 - [JS IR] Add exported method into exportNestedClass.kt (7 days ago) <Ilya Goncharov>
* 6c051b2be4 - [JS IR] Override method are not exported (7 days ago) <Ilya Goncharov>
* a9322a01ce - (tag: build-1.5.20-dev-400) FIR checker: avoid redundant casting to resolved type ref (7 days ago) <Jinseong Jeon>
* 37a702b962 - FIR: coerce to Unit when a lambda has early returns (7 days ago) <Jinseong Jeon>
* 83e3201677 - FIR DFA: correct exit node retrieval when a safe call is the last expression (7 days ago) <Jinseong Jeon>
* 266432a482 - FIR checker: fix condition for property type mismatch on override (7 days ago) <Jinseong Jeon>
* 065d0c66ab - FIR checker: reproduce a false alarm on type mismatch of overridden property (7 days ago) <Jinseong Jeon>
* 64c5608f31 - FIR: expect nullable type for elvis LHS (7 days ago) <pyos>
* 0e8f4294f0 - (tag: build-1.5.20-dev-397) Add changelog for 1.4.30 (7 days ago) <Margarita Bobova>
* 04017b00a1 - (tag: build-1.5.20-dev-395) [FIR IDE] Fix TypeRef resolve to error type caused by invalid number of arguments (7 days ago) <Igor Yakovlev>
* f9e5584a3e - (tag: build-1.5.20-dev-390) Report error about uninferred type parameter for all `CallForImplicitInvoke` psi calls (7 days ago) <Victor Petukhov>
* c75d2c05f0 - (tag: build-1.5.20-dev-388) [KAPT] Correct type for property with accessor (7 days ago) <Andrey Zinovyev>
2021-02-15 10:16:11 +01:00
Alexander Shabalin 05d4bbf367 Do not generate safepoints for initializer functions (#4700) 2021-02-15 10:16:10 +01:00
Alexander Shabalin 97262c273f Misc changes for GC in new MM (#4699) 2021-02-15 10:16:10 +01:00
Svyatoslav Scherbina f7af8bc763 Add test for SAM-converted lambdas passed to Obj-C
Based on https://youtrack.jetbrains.com/issue/KT-44799
2021-02-15 10:16:10 +01:00
Igor Chevdar ab36e919bc [IR] Fix for https://youtrack.jetbrains.com/issue/KT-44799 2021-02-15 10:16:10 +01:00
Sergey Bogolepov f6f050ff68 Fix KT-44295
builtins "header" is included in both builtin and posix platform libraries, but only posix has declarations for builtin structs (e.g. __va_list_tag). Library resolver by default has no guarantee on order of resolved libraries which causes KT-44295.
To make results of `KotlinLibraryResolver` stable we pass TopologicalLibraryOrder to `getFullList` and specify a dependency of builtin on posix
2021-02-15 10:16:10 +01:00
Sergey Bogolepov 0ecd76c3cb Make incompleteTypes test more robust.
Currently, Kotlin strings that are passed to C functions are copied under the hood on the callsite. These copies have a short lifetime which might cause problems if it should outlive current call.
2021-02-15 10:16:10 +01:00
Sergey Bogolepov 70832b16a3 Fix KT-44774 2021-02-15 10:16:10 +01:00
Svyatoslav Scherbina 59c6940caf Ensure generated LLVM functions get attributes
In particular, fix missing frame pointers for ObjCExport bridges.

 #KT-44549 Fixed.
2021-02-15 10:16:10 +01:00
Igor Chevdar ae32e18634 [tests] Turned on passing test 2021-02-15 10:16:10 +01:00
Sergey Bogolepov 884056b7b4 Check that given anotherDistro path is actually a Kotlin/Native distribution 2021-02-15 10:16:10 +01:00
Sergey Bogolepov 8068dee811 Show ABI compatibility tasks even if anotherDistro is not provided. 2021-02-15 10:16:10 +01:00
Dmitriy Dolovov 62ca6e44e4 Script for repacking prebuilt bundles (to exclude 'prebuilt' word) 2021-02-15 10:16:10 +01:00
Sergey Bogolepov b03dc71da3 Do not cross-compile kt43502 test. 2021-02-15 10:16:10 +01:00
Igor Chevdar 3164709fb7 [runtime] Fixed bug in x86 polynomial hash
Forced compiler to use legacy SSE instructions form instead of modern AVX form
2021-02-09 09:00:48 +01:00
Roman Artemev 4d335e9d58 [IR] Make K/N work with new Ir message logger
(cherry picked from commit 2e49520576c885a9dd7bbc8ce3f80cd05576dc9a)
2021-02-09 09:00:48 +01:00
Sergey Bogolepov 3796a6a94c Platform libs for macos_arm64
(cherry picked from commit abaa99d6cc993ec30b4b8342078b69cf9e4ee6ef)
2021-02-09 09:00:48 +01:00
Sergey Bogolepov fddf28ac47 Support for macos_arm64 target in backend
(cherry picked from commit 82775e93c1389f21f9be97bd0edfd16dd50300ea)
2021-02-09 09:00:48 +01:00
Vasily Levchenko 616beedbcf [kotlin compiler][update] 1.5.20-dev-372
* dcb47d9934 - (tag: build-1.5.20-dev-372) Fix broken compilation after changing kotlin compiler configuration form (2 days ago) <Dmitriy Novozhilov>
* 391f53154a - (tag: build-1.5.20-dev-355) Fix NPE in Kotlin facets tab (3 days ago) <Vladimir Dolzhenko>
* 250040bab7 - (tag: build-1.5.20-dev-353) Common fix GradleQuickFixTest and GradleUpdateConfigurationQuickFixTest (3 days ago) <Alexander Dudinsky>
* 94e66acd54 - Revert "Fix GradleQuickFixTest" (3 days ago) <Alexander Dudinsky>
* 9f7d7e55da - (tag: build-1.5.20-dev-341) Consider platform compatibility in library usage index (3 days ago) <Pavel Kirpichenkov>
* 27dcd07a5e - (tag: build-1.5.20-dev-336) [Commonizer] Remove filter for simd_ functions (no more relevant) (3 days ago) <Dmitriy Dolovov>
* 4d5ec6e52a - [Commonizer] Minor. Rename: builders.kt -> entityBuilders.kt (3 days ago) <Dmitriy Dolovov>
* 955f86ef9f - [Commonizer] Minor. Rename: buildingVisitor.kt -> metadataBuilder.kt (3 days ago) <Dmitriy Dolovov>
* 33c1ca01f4 - [Commonizer] Simplify creation of SerializedMetadataLibraryProvider (3 days ago) <Dmitriy Dolovov>
* 6c92ea518b - [Commonizer] Add ModulesProvider.loadModuleMetadata() to load raw metadata (3 days ago) <Dmitriy Dolovov>
* cb226e74a5 - [Commonizer] Refactor ModulesProvider.loadModuleInfos() function (3 days ago) <Dmitriy Dolovov>
* 08111031ec - (tag: build-1.5.20-dev-332) [KAPT] Keep annotations from kotlin.jvm. in stubs (3 days ago) <Andrey Zinovyev>
* a68837451a - (tag: build-1.5.20-dev-322) FirCatchParameterChecker: minor fix (3 days ago) <Mikhail Glukhikh>
* 0d1f493b6c - (tag: build-1.5.20-dev-318) Remove unneeded artifacts for Kotlin IDE plugin (3 days ago) <Yan Zhulanow>
* f1ab5d1fbd - (tag: build-1.5.20-dev-317) FIR: introduce & use Throwable built-in type (3 days ago) <Mikhail Glukhikh>
* bbd1da7b71 - Use reportOn in FirThrowableSubclassChecker & FirCatchParameterChecker (3 days ago) <Mikhail Glukhikh>
* a564f92eef - FIR: introduce ThrowableSubclassChecker (3 days ago) <eugenpolytechnic>
* cd189c0812 - (tag: build-1.5.20-dev-311) JVM_IR. Do not unbox Result in inline lambda (4 days ago) <Ilmir Usmanov>
* fb296b5b95 - (tag: build-1.5.20-dev-310) Do not create Array instance in kotlin-reflect where not necessary (4 days ago) <Alexander Udalov>
* 35ec6b4f5c - (tag: build-1.5.20-dev-307) Run IR test on `Test Codegen on different platforms` (4 days ago) <Mikhael Bogdanov>
* d5deccd2e9 - (tag: build-1.5.20-dev-306) Fix GradleQuickFixTest (4 days ago) <Nikolay Krasko>
* dacf012a78 - (tag: build-1.5.20-dev-292) [KAPT] Add newline after each java compiler log (#4087) (4 days ago) <Andrey Zinovyev>
* cdb488149f - (tag: build-1.5.20-dev-281) [JS IR] Namer improvements (4 days ago) <Svyatoslav Kuzmich>
* c9cb7bc0fd - [JS IR] Update tests (4 days ago) <Svyatoslav Kuzmich>
* ae738e9c59 - [JS] Add basic optional logs to test runner (4 days ago) <Svyatoslav Kuzmich>
* c6242ad167 - [JS] String.isValidES5Identifier (4 days ago) <Svyatoslav Kuzmich>
* 8be7e6064e - [JS IR] Optimize sanitization (4 days ago) <Svyatoslav Kuzmich>
* 2a424ad2af - [IR] Make isExternal mutable and accessible via common interface (4 days ago) <Svyatoslav Kuzmich>
* 924a7b009b - [JS IR] Fix object getInstance visibility (4 days ago) <Svyatoslav Kuzmich>
* 218c246111 - [JS] Fix extra js function capturing (4 days ago) <Svyatoslav Kuzmich>
* 95140f35f8 - (tag: build-1.5.20-dev-273) [parcelize] Fix codegen for generic classes (4 days ago) <Andrey Zinovyev>
* ca02573d1e - (tag: build-1.5.20-dev-266) [Test] Print bytecode if DxCheckerHandler had failed (4 days ago) <Dmitriy Novozhilov>
* 771b1acbc1 - [Test] Ignore multimodule tests in AbstractLightAnalysisModeTest (4 days ago) <Dmitriy Novozhilov>
* 29b96aa15d - [Test] Properly merge box against java testdata into codegen/box (4 days ago) <Dmitriy Novozhilov>
* 21c493a854 - [Test] Support different backends enumeration in DONT_TARGET_EXACT_BACKEND directive (4 days ago) <Dmitriy Novozhilov>
* acd8c4503b - (tag: build-1.5.20-dev-244) Do not generate $suspendImpl for JvmDefault functions in interfaces (5 days ago) <Alexander Udalov>
* 5f71cd5476 - (tag: build-1.5.20-dev-242) Minor. Mute test on FIR (5 days ago) <Ilmir Usmanov>
* 02f845636e - JVM_IR: Box generic Result parameter in suspend lambda (5 days ago) <Ilmir Usmanov>
* a30a961cf5 - Minor. Throw exceptions in test coroutine builders (5 days ago) <Ilmir Usmanov>
* 52e22796e1 - (tag: build-1.5.20-dev-239) [Commonizer] Prettier message about target with no libraries inside (5 days ago) <Dmitriy Dolovov>
* 73113c1041 - [Commonizer] Dump every module to disk immediately when it's ready (5 days ago) <Dmitriy Dolovov>
* 53204661e3 - (tag: build-1.5.20-dev-238) [JS] Update stdlib API test data after dukat update (5 days ago) <Svyatoslav Kuzmich>
* d3b4df7da8 - [JS] Revert paramter names changed by dukat (5 days ago) <Svyatoslav Kuzmich>
* f1682cba13 - KT-40235 Dukat `0.5.8-rc.4` (5 days ago) <Victor Turansky>
* ba0d60853d - KT-40235 `null` companion for stdlib external union types (5 days ago) <Victor Turansky>
* 7523a5e97f - KT-40235 Fix external interface companion support (5 days ago) <Victor Turansky>
* cc55580300 - (tag: build-1.5.20-dev-235) Exclude kotlin-test root project during JPS sync (5 days ago) <Ilya Gorbunov>
* b32db1ac02 - (tag: build-1.5.20-dev-233) Refactoring: change assertion signature, proper source set copying way (5 days ago) <yaroslav.chernyshev>
* b2017a9c9c - Introduce importing checkers with implementation for orphan source sets (5 days ago) <yaroslav.chernyshev>
* 87e130e77a - (tag: build-1.5.20-dev-228) Remove obsolete diagnostics suppression (5 days ago) <Ilya Gorbunov>
* ebced14db2 - (tag: build-1.5.20-dev-227) [FIR] Implement suppressing diagnostics with @Suppress (5 days ago) <Dmitriy Novozhilov>
* 459a2886a0 - [FIR] Add CheckerContext to DiagnosticReporter and refactor diagnostic reporting (5 days ago) <Dmitriy Novozhilov>
* 923a4427c5 - (tag: build-1.5.20-dev-224) [KAPT]  Fix stub generation for anonymous delegates (5 days ago) <Andrey Zinovyev>
* 60a05dded0 - (tag: build-1.5.20-dev-222) Build: fix default value for kotlin.build.disable.werror (5 days ago) <Alexander Udalov>
* 7942bd0b3b - (tag: build-1.5.20-dev-220) Minor. Regenerate tests (5 days ago) <Denis.Zharkov>
* 2535e5d5c9 - (tag: build-1.5.20-dev-212) Minor: LAMBDAS directive in old back-end tests (5 days ago) <Dmitry Petrov>
* bd45a6c11d - (tag: build-1.5.20-dev-211) Support -Xsuppress-version-warnings to suppress API/language version warnings (5 days ago) <Alexander Udalov>
* d901ceb734 - (tag: build-1.5.20-dev-210) FIR: Fix loading Java annotations with Class[]-typed methods (5 days ago) <Denis.Zharkov>
* 5a55d56320 - IR: Fix offsets for value parameters for bridges (5 days ago) <Denis.Zharkov>
* 8712772a5f - FIR: Add test for type resolution when referenced nested class from supertypes (5 days ago) <Denis.Zharkov>
* c51798d46f - Fix warning at VMCounters.kt (5 days ago) <Denis.Zharkov>
* e7669ef9d6 - FIR: Fix builder inference case with independent calls inside lambda (5 days ago) <Denis.Zharkov>
* 29ac4cb9cc - Minor. Simplify conditions in shouldRunCompletion (5 days ago) <Denis.Zharkov>
* 173a852273 - FIR: Fix uninitialized lateinit FirSymbol::symbol for supertype of Java class (5 days ago) <Denis.Zharkov>
* 8b2279072f - Fix compilation in tests-compiler-utils (5 days ago) <Alexander Udalov>
* e0b6d4d917 - (tag: build-1.5.20-dev-208) Add -Xsuppress-deprecated-jvm-target-warning to modules compiled with 1.6 (5 days ago) <Alexander Udalov>
* 99b5e5a373 - Deprecate JVM target 1.6 (5 days ago) <Alexander Udalov>
* ab20a8ffff - (tag: build-1.5.20-dev-205) JVM_IR indy-lambdas: minor updates and fixes (5 days ago) <Dmitry Petrov>
* 088448043a - JVM_IR indy-lambdas: don't use indy for big arity lambdas (5 days ago) <Dmitry Petrov>
* d94912ed62 - JVM_IR indy-lambdas: initial implementation and tests (5 days ago) <Dmitry Petrov>
* 0bc386cb08 - (tag: build-1.5.20-dev-204) [IR] Fixed bug with reflectionTarget evaluation (5 days ago) <Igor Chevdar>
* bb8bf28b8b - [PSI2IR] Set reflectionTarget for all adapted references (5 days ago) <Igor Chevdar>
* 690fb47cbb - (tag: build-1.5.20-dev-202) KT-44079 [Sealed Interfaces]: move refactoring update (5 days ago) <Andrei Klunnyi>
* de3678a805 - (tag: build-1.5.20-dev-196) [JS IR] Add test with fun interface call inside lambda (5 days ago) <Ilya Goncharov>
* d6e74b9620 - [JS IR] Use local scope for SAM if there are scopes (5 days ago) <Ilya Goncharov>
* ca314c5bb9 - (tag: build-1.5.20-dev-194) FIR checker: add diagnostic CANNOT_WEAKEN_ACCESS_PRIVILEGE (5 days ago) <Jinseong Jeon>
* 3a07ca4c64 - FIR checker: add diagnostic VAR_OVERRIDDEN_BY_VAL (5 days ago) <Jinseong Jeon>
* 80d5a1a1db - FIR checker: add diagnostic OVERRIDING_FINAL_MEMBER (5 days ago) <Jinseong Jeon>
* 4ef1e1119f - FIR LT: introduce positioning strategies for specific modifiers (5 days ago) <Jinseong Jeon>
* 0dd5b94556 - FIR checker: rename override checker (5 days ago) <Jinseong Jeon>
* b48835f3ce - FIR checker: fix positions of type mismatch on overrides (5 days ago) <Jinseong Jeon>
* 571c4ce398 - [Test] Support new configuration directives in old codegen tests (5 days ago) <Dmitriy Novozhilov>
* 8277c96933 - (tag: build-1.5.20-dev-184) FIR: copy nullability when mapping type alias arguments (5 days ago) <pyos>
* bd205317aa - (tag: build-1.5.20-dev-180) CLI: improve behavior of -include-runtime (5 days ago) <scaventz>
* 496d857db1 - Add kotlin.build.disable.werror to disable -Werror locally (5 days ago) <Alexander Udalov>
* 6a959fefd0 - [JVM_IR] Fix accessibility bridges for static protected fields. (5 days ago) <Mads Ager>
* 62897a194b - (tag: build-1.5.20-dev-175) [Commonizer] Force GC after each serialized target (6 days ago) <Dmitriy Dolovov>
* ff45e58543 - [Commonizer] Minor. Post-review changes, p.2 (6 days ago) <Dmitriy Dolovov>
* c8a938275c - [Commonizer] Minor. Post-review changes (6 days ago) <Dmitriy Dolovov>
* 318dd22bd1 - [Commonizer] Add tests for CommonizerTarget (6 days ago) <Dmitriy Dolovov>
* 6fe5f85da7 - [Commonizer] Use kotlin/Any as the default supertype for commonized class (6 days ago) <Dmitriy Dolovov>
* 2438265ba8 - [Commonizer] Dump every target to disk immediately when it's ready (6 days ago) <Dmitriy Dolovov>
* 9c4af5070b - [Commonizer] Ignore acceptable (minor) metadata mismatches in tests (6 days ago) <Dmitriy Dolovov>
* a4438ad64f - [Commonizer] Fix calculation of type parameter IDs for nested classes and their members (6 days ago) <Dmitriy Dolovov>
* 55c37183d9 - [Commonizer] Ignore constructors for enum entries (6 days ago) <Dmitriy Dolovov>
* dfd1a53624 - [Commonizer] Don't serialize kotlin/Any? as the single type parameter upper bound (6 days ago) <Dmitriy Dolovov>
* 1c8cd242bf - [Commonizer] Don't write IS_EXPECT flag for synthesized expect functions (6 days ago) <Dmitriy Dolovov>
* 9d6c0e56ed - [Commonizer] Fix HAS_ANNOTATIONS flag calculation for serialized classes (6 days ago) <Dmitriy Dolovov>
* b39a205671 - [Commonizer] Minor. Improved diagnostics message in tests (6 days ago) <Dmitriy Dolovov>
* 80b95a22a4 - [Commonizer] Fix property backing/delegate field annotations serialization (6 days ago) <Dmitriy Dolovov>
* 3b91d1c5e5 - [Commonizer] Don't commonize built-ins (6 days ago) <Dmitriy Dolovov>
* 585cd64b9a - [Commonizer] Drop descriptors for commonized declarations (6 days ago) <Dmitriy Dolovov>
* 5ff6b5ef42 - [Commonizer] Rework test infrastructure to compare metadata instead of descriptors (6 days ago) <Dmitriy Dolovov>
* f67a9615b8 - [Commonizer] Pretty target name output in console (6 days ago) <Dmitriy Dolovov>
* e5aa772639 - [Commonizer] Fix approximation for aliases types (6 days ago) <Dmitriy Dolovov>
* 4c640e3f81 - [Commonizer] Log stats during building metadata (6 days ago) <Dmitriy Dolovov>
* d610837caf - [Commonizer] Integrate metadata builder with the commonizer environment (6 days ago) <Dmitriy Dolovov>
* 2bcaf1fa63 - [Commonizer] Introduce metadata builder (6 days ago) <Dmitriy Dolovov>
* e28c1fd310 - Metadata: Chunked KlibModuleFragmentWriteStrategy implementation (6 days ago) <Dmitriy Dolovov>
* 9551e0fff2 - [Commonizer] Introduce MetadataDeclarationsComparator for metadata-based comparison of KLIBs (6 days ago) <Dmitriy Dolovov>
* 701374a646 - [Commonizer] Embed :kotlinx-metadata-klib into the commonizer Jar (6 days ago) <Dmitriy Dolovov>
* 08cc904a71 - [Commonizer] Restore lost nullability for underlying types in TAs (6 days ago) <Dmitriy Dolovov>
* 85f79695b9 - [Commonizer] Avoid leaking non-commonized underlying types in TAs (6 days ago) <Dmitriy Dolovov>
* 4bf6e58f2b - (tag: build-1.5.20-dev-174) [TD] Fix directive order in codegen testdata (6 days ago) <Dmitriy Novozhilov>
* 3f10914f05 - (tag: build-1.5.20-dev-158) [JS] Replace usages of FileUtil.loadTextAndClose with functions from stdlib to avoid crashes on files larger than 10MiB (6 days ago) <Zalim Bashorov>
* 165533fdb7 - (tag: build-1.5.20-dev-155) JS DCE: use Multimaps to reduce Node fields RAM (6 days ago) <Anton Bannykh>
* f42f2fa743 - JS DCE: disable logging by default (6 days ago) <Anton Bannykh>
* 26ce6b5131 - JS DCE: inline Qualifier class to reduce RAM usage (6 days ago) <Anton Bannykh>
* bbc6d2b993 - JS DCE: use less LinkedHashSets (6 days ago) <Anton Bannykh>
* 3c0b226344 - JS DCE: create collections on demand (6 days ago) <Anton Bannykh>
* 0ebb39a26e - (tag: build-1.5.20-dev-153) [Test] Exclude multimodule tests from codegen tests on android (6 days ago) <Dmitriy Novozhilov>
* 17d59e0daa - [Test] Support skip of android codegen tests with new ASSERTION_MODE directive (6 days ago) <Dmitriy Novozhilov>
* 81ba7aa833 - [Test] Use javac for compilation test java files from runtime by default (6 days ago) <Dmitriy Novozhilov>
* e9cb30b4f3 - [Test] Add ability to use custom CompilerConfigurationProvider (6 days ago) <Dmitriy Novozhilov>
* c432efc364 - [Build] Extract configuration of JUnit5 dependencies to common helper in buildSrc (6 days ago) <Dmitriy Novozhilov>
* dea3c954f1 - [Test] Add ability to stop test pipeline if there was an exception in handler (6 days ago) <Dmitriy Novozhilov>
* 2ae35b0b08 - [Test] Move fir backend tests back to :compiler:fir2ir module (6 days ago) <Dmitriy Novozhilov>
* e79d02f482 - [Test] Don't generate extends clause for nested classes in generated tests for JUnit5 (6 days ago) <Dmitriy Novozhilov>
* a4e9ab90a0 - [Test] Migrate :tests-different-jdk on runners which are using JUnit5 (6 days ago) <Dmitriy Novozhilov>
* c969a34644 - [Test] Set static field with application to null after tests are completed (6 days ago) <Dmitriy Novozhilov>
* 53e5aa4364 - [Test] Don't use PSI based class reading in codegen BB tests (6 days ago) <Dmitriy Novozhilov>
* 09ec3f6eaf - [Test] Support various jdk targets in test infrastructure (6 days ago) <Dmitriy Novozhilov>
* 93741ced5c - [Test] Read default target version from sys property in new test infra (6 days ago) <Dmitriy Novozhilov>
* a3ad626f99 - [Test] Support invoking `box` method in BB tests in separate process (6 days ago) <Dmitriy Novozhilov>
* b351ca6bd4 - [Test] Regenerate spec tests (6 days ago) <Dmitriy Novozhilov>
* 3199ce03a6 - [Test] Merge box against java testdata into codegen black box testsdata (6 days ago) <Dmitriy Novozhilov>
* e62b118351 - [TD] Ignore JS backends in boxAgainstJava tests (6 days ago) <Dmitriy Novozhilov>
* 99cb85ab00 - [Test] Merge box against java tests into codegen black box tests (6 days ago) <Dmitriy Novozhilov>
* 6f3713af5f - [Test] Migrate AbstractIrCompileKotlinAgainstKotlinTest to new infrastructure (6 days ago) <Dmitriy Novozhilov>
* 49c2bfe637 - [Test] Enable SMAP dump handler in boxInline tests (6 days ago) <Dmitriy Novozhilov>
* 64a300bfcd - [TD] Update testdata according to previous commit (6 days ago) <Dmitriy Novozhilov>
* 3a0eee64b8 - [Test] Migrate all jvm tests runners for boxInline tests (6 days ago) <Dmitriy Novozhilov>
* 8973e3f362 - [TD] Update fir directives in boxInline tests (6 days ago) <Dmitriy Novozhilov>
* 92e21e76ba - [Test] Implement SMAP dump handler (6 days ago) <Dmitriy Novozhilov>
* e3ab3d6be3 - [Test] Align lines in TestFile with lines in real testdata file (6 days ago) <Dmitriy Novozhilov>
* 60e0831c11 - [Test] Introduce two module structure transformers for codegen test (6 days ago) <Dmitriy Novozhilov>
* 13a778fd9c - [Test] Add ability to freely transform module structure which was parsed from directive (6 days ago) <Dmitriy Novozhilov>
* fc83dc17fe - [Test] Support USE_OLD_INLINE_CLASSES_MANGLING_SCHEME directive (6 days ago) <Dmitriy Novozhilov>
* 3f758a3fa2 - [Test] Make BytecodeInliningHandler for new infrastructure (6 days ago) <Dmitriy Novozhilov>
* 0768a7089c - [TD] Fix friend modules (6 days ago) <Dmitriy Novozhilov>
* 5075484c8e - [TD] Update directives in kotlinAgainstKotlin testdata (6 days ago) <Dmitriy Novozhilov>
* 9ba41c5b88 - [Test] Improve error reporting if there are too many values passed to directive (6 days ago) <Dmitriy Novozhilov>
* 5c8d555808 - [Test] Move KotlinAgainstKotlin tests under BlackBoxCodegen tests (6 days ago) <Dmitriy Novozhilov>
* 1ea4fa4464 - (tag: build-1.5.20-dev-147) Fix android test with type annotations. Remove obsolete JVM 8 flavors (6 days ago) <Mikhael Bogdanov>
* c13f38f6df - Support proper frame maps for enumValues (6 days ago) <Mikhael Bogdanov>
* 1a044e5af4 - Support proper frame maps for enum valueOf (6 days ago) <Mikhael Bogdanov>
* 5b64ceceb3 - JVM_IR. Generate additional checkcast for when/try epressions to avoid frame map problems on reification (6 days ago) <Mikhael Bogdanov>
* 16928d6e3f - Don't remove checkcast for reified values (6 days ago) <Mikhael Bogdanov>
* 0b0ba7d987 - Don't use warningsAsError in compiler modules if useFIR is ON (6 days ago) <Mikhail Glukhikh>
* d953a03807 - (tag: build-1.5.20-dev-146) Specify type explicitly in KotlinCoreProjectEnvironment.createCoreFileManager to allow overriding this method with different implementation (6 days ago) <Marcin Aman>
* 21000f4174 - [FIR] Support TypeVariableMarker.isReified (6 days ago) <Mikhail Glukhikh>
* 465261e611 - FIR: don't create intersection override for duplicating symbols (6 days ago) <Mikhail Glukhikh>
* b9c33a0c6e - [i18n] copy-paste message from RefactoringBundle to fix missing resource in 202 (6 days ago) <Dmitry Gridin>
* 2fce6a4af9 - (tag: build-1.5.20-dev-127) Locate build history when file is outside of root project dir (6 days ago) <Ivan Gavrilovic>
* 5de34b052f - (tag: build-1.5.20-dev-125) Remove unsupported '!' from DIAGNOSTICS directive (6 days ago) <Nicola Corti>
* e2b7aba086 - (tag: build-1.5.20-dev-122) Do not report UNNECESSARY_SAFE_CALL on ErrorType (6 days ago) <Nicola Corti>
* 59551eb037 - [Plugin API] Provide diagnostic API for IR plugins (6 days ago) <Roman Artemev>
* 9fa5feeeea - [CLI] Provide `MessageCollector` based logger for IR from CLI (6 days ago) <Roman Artemev>
* daa65a2fff - [KLIB] Handle linkage error (6 days ago) <Roman Artemev>
* bf67308cc2 - [KLIB] Use `IrMessageLogger` in klib linker to report errors (6 days ago) <Roman Artemev>
* 6891ad0dfc - [IR] Add `IrMessageLogger` interface for diagnostic reporting from IR (6 days ago) <Roman Artemev>
* bb66b2fd04 - Drop redundant compile dependency (6 days ago) <Roman Artemev>
* c5068b7d45 - [KLIB] Drop unused logger (6 days ago) <Roman Artemev>
* 484b884d04 - [KLIB] Make `IrModuleDeserializer`'s printable (6 days ago) <Roman Artemev>
* d6bb1f2d4e - [KLIB] Make `KotlinLibraryImpl` printable (6 days ago) <Roman Artemev>
* 24d82c63e0 - [JS IR] Commonize CLI error reporting (6 days ago) <Roman Artemev>
* ba5193870e - [IR] Drop unused language version settings parameters from DependenciesGenerator (6 days ago) <Roman Artemev>
* 06498c0efd - (tag: build-1.5.20-dev-121) Support for macos_arm64 target in backend (6 days ago) <Sergey Bogolepov>
* f255f93ad9 - (tag: build-1.5.20-dev-117) [Test] Support skip of android codegen tests with new ASSERTION_MODE directive (6 days ago) <Dmitriy Novozhilov>
* eff13d24dc - (tag: build-1.5.20-dev-106) Remove unneeded language feature configuration from fir:tree (7 days ago) <Alexander Udalov>
* e47dfcbe64 - (tag: build-1.5.20-dev-102) Update ReadMe.md (#3877) (7 days ago) <Nwokocha wisdom maduabuchi>
* 18cebe5131 - (origin/yakovlev/fir_incomplete_types) [FIR IDE] Codereview minor refactoring (7 days ago) <Igor Yakovlev>
* e529a7bf9b - [FIR IDE] Implement isInheritor for FirLightClassForClassOrObjectSymbol (7 days ago) <Igor Yakovlev>
* 56db4bd1ac - [FIR IDE] Implement isInheritor for KtFirBasedFakeLightClass (7 days ago) <Igor Yakovlev>
* 5d4606daaa - [FIR IDE] Remove LightClassProvider (7 days ago) <Igor Yakovlev>
* 2812034896 - [FIR IDE] Make KtFakeLightClass independent (7 days ago) <Igor Yakovlev>
* c1cdf273a6 - [FIR IDE] Fix test data fir parameters highlighting test (7 days ago) <Igor Yakovlev>
* 9f282e0ddc - [FIR] Do not erase type arguments for unresolved method calls (7 days ago) <Igor Yakovlev>
* 659d2c13b4 - [FIR IDE] Fix annotation value parameter and ctor resolve (7 days ago) <Igor Yakovlev>
* 019635189a - [FIR IDE] Fix annotation call reference resolve to ctor (7 days ago) <Igor Yakovlev>
* 65b6a95f64 - [FIR IDE] Fix structure element non analyzable elements recording for analyzable properties (7 days ago) <Igor Yakovlev>
* 5480faf5c5 - (tag: build-1.5.20-dev-98) Add tests for issues fixed in JVM IR and other obsolete issues (7 days ago) <Alexander Udalov>
* 3e59adc7f3 - (tag: build-1.5.20-dev-94) Add change-notes for 1.4.30 release (7 days ago) <Anton Yalyshev>
* 90f9dd5b33 - (tag: build-1.5.20-dev-93) Revert change-notes for 1.4.30 (7 days ago) <Anton Yalyshev>
* 206b38f0ab - (tag: build-1.5.20-dev-92) Fix compilation against asm 7.0 (7 days ago) <Mikhael Bogdanov>
* 78c6e0733c - Add change-notes for 1.4.30 (7 days ago) <Anton Yalyshev>
* 1f62fee4f9 - (tag: build-1.5.20-dev-89) Fix typo (7 days ago) <Mikhail Glukhikh>
* 593fb8770b - [FIR] Fix lookup order for statics in super chains (7 days ago) <Mads Ager>
* 4ec369ac5b - (tag: build-1.5.20-dev-83) JVM_IR fix special bridge generation for inline classes (7 days ago) <Dmitry Petrov>
* 8172ae5d89 - (tag: build-1.5.20-dev-82) Fix codegen test classLiteralWithExpectedType.kt on Android (7 days ago) <Alexander Udalov>
* bd3bc13e75 - (tag: build-1.5.20-dev-81) JVM_IR: give loops somewhat more debuggable labels (7 days ago) <pyos>
* ad53fc931e - JVM: optimize temporary `kotlin.jvm.internal.Ref`s as well (7 days ago) <pyos>
* 0f2ca5d84c - JVM_IR: support non-local break/continue in the inliner (7 days ago) <pyos>
* 4a17228621 - (tag: build-1.5.20-dev-77) Infer required kotlin-test jvm capability based on used test framework (7 days ago) <Ilya Gorbunov>
* cbeadba15d - Disable metadata publishing for legacy common artifacts (7 days ago) <Ilya Gorbunov>
* 573aac7252 - Apply common configuration to custom publications in kotlin-test (7 days ago) <Ilya Gorbunov>
* a16aaa3824 - Setup publications with MPP Gradle metadata for kotlin-test library (7 days ago) <Ilya Gorbunov>
* 913c298be8 - (tag: build-1.5.20-dev-72) Kotlin highlight passes are reworked (7 days ago) <Vladimir Dolzhenko>
* 558338f997 - Lazy diagnostics API in frontend (7 days ago) <Vladimir Dolzhenko>
* 8f675fe757 - (tag: build-1.5.20-dev-67) Split combined test into two to avoid flaky behaviour (7 days ago) <Pavel Kirpichenkov>
* 9ad88a5a0d - (tag: build-1.5.20-dev-66) FIR: introduce parameter type is Throwable check (7 days ago) <eugenpolytechnic>
* 5c0231b727 - FIR: introduce CatchParameterChecker (7 days ago) <eugenpolytechnic>
* d8549d6292 - (tag: build-1.5.20-dev-62) Build: fix inaccurate change to the logic of useIRForLibraries (7 days ago) <Alexander Udalov>
* e9436da858 - Change logic of applying JVM target from AGP options (7 days ago) <Alexander Udalov>
* adfa8c788c - Light classes: use JVM target from the module (7 days ago) <Alexander Udalov>
* 64e97225b8 - Light classes: map annotation targets depending on JVM target (7 days ago) <Alexander Udalov>
* d022bb0248 - Switch default JVM target to 1.8 (7 days ago) <Alexander Udalov
2021-02-09 09:00:48 +01:00
LepilkinaElena 2331475776 Use klib prefix for temporary directory for klibs (#4686) 2021-02-09 09:00:48 +01:00
SvyatoslavScherbina b3ec30b992 Make RELEASE_NOTES.md a bit less outdated 2021-02-09 09:00:48 +01:00
Alexander Shabalin eedfea7f40 Add RootSet to unify iterating across the entire rootset (#4685) 2021-02-09 09:00:48 +01:00
Alexander Shabalin e2f573c26c Run backend tests with the new MM (#4677) 2021-02-09 09:00:48 +01:00
SvyatoslavScherbina 860279b255 Remove useless warnings from CAdapterGenerator.kt (#4684)
Fix https://github.com/JetBrains/kotlin-native/issues/3132
2021-02-09 09:00:48 +01:00
Alexander Shabalin d875cb39c9 Sketch GC interface (#4682) 2021-02-09 09:00:48 +01:00
Svyatoslav Scherbina 61d3ae1477 Refactor building of reverse adapters in ObjCExportCodeGenerator
* Make it more understandable and reliable: don't predict which reverse
  adapters are inherited, reuse information from generating super types
  instead.
* Drop usages of obsolete "IrDeclaration.descriptor"
2021-02-09 09:00:48 +01:00
Svyatoslav Scherbina 39ef940a7b Consolidate generating reverse adapters in ObjCExportCodeGenerator
It is very specific and isolated part.
2021-02-09 09:00:48 +01:00
Svyatoslav Scherbina 2bd73cc44e Consolidate type adapters generation in ObjCExportCodeGenerator 2021-02-09 09:00:47 +01:00
Svyatoslav Scherbina 8519be28b4 Drop more usages of IrDeclaration.descriptor from ObjCExportCodeGenerator 2021-02-09 09:00:47 +01:00
Svyatoslav Scherbina 4080a852e1 Add selector and method bridge to relevant ObjCMethodSpec types
This helps to drop usages of obsolete "IrDeclaration.descriptor"
from ObjCExportCodeGenerator
2021-02-09 09:00:47 +01:00
Svyatoslav Scherbina ccf8b570ca Add selector to ObjCGetterForKotlinEnumEntry
This helps to drop usages of obsolete "IrDeclaration.descriptor"
from ObjCExportCodeGenerator
2021-02-09 09:00:47 +01:00
Svyatoslav Scherbina ca2df3cead Add specific ObjCMethodSpec kind for object instance getters
This helps to drop usages of obsolete "IrDeclaration.descriptor"
from ObjCExportCodeGenerator
2021-02-09 09:00:47 +01:00
Svyatoslav Scherbina e305710d91 Add tests for overriding Kotlin methods from Swift 2021-02-09 09:00:47 +01:00
Svyatoslav Scherbina 0a2a8a58c1 Add test for overriding methods of Any from Swift 2021-02-09 09:00:47 +01:00
Svyatoslav Scherbina 9fb2d4b956 Remove unused code from ObjCExportCodeGenerator 2021-02-09 09:00:47 +01:00
Dmitriy Dolovov a3e3e89223 [samples] 1.4.30 2021-02-09 09:00:47 +01:00
Ilya Matveev e45c2d31bc [kotlin.test] Do not run test suites containing only ignored tests
Popular frameworks such as JUnit, TestNG and Google Test do not
run @BeforeClass/@AfterClass hooks of test suites containing only
ignored tests.

This patch introduces the same behaviour to the Kotlin/Native's
kotlin.test runner.

See also: #4522, #4615.
2021-02-09 09:00:47 +01:00
Ilya Matveev 4f037b8b81 [kotlin.test] Don't run filtered out test suites by default
Popular frameworks such as JUnit, TestNG and Google Test do not
run test suites whose tests were fully filtered out. Thus
@BeforeClass/@AfterClass of such suites are not executed and the
suites are not reported in a test report.

This patch introduces the same behaviour to the Kotlin/Native's
kotlin.test runner.

See also: #4522, #4615.
2021-02-09 09:00:47 +01:00
Egor Zhdan c866dc7303 Fix reporting of filtered out test suites
This fixes the `--ktest_no_excluded_test_suites` command line option behavior to match its description in the help page.
2021-02-09 09:00:47 +01:00
Sergey Bogolepov 76cac9fba0 Fix KT-43502 testcase on windows 2021-02-09 09:00:47 +01:00