Commit Graph

79834 Commits

Author SHA1 Message Date
Anton Yalyshev 3e59adc7f3 Add change-notes for 1.4.30 release 2021-02-01 19:03:47 +03:00
Anton Yalyshev 90f9dd5b33 Revert change-notes for 1.4.30 2021-02-01 18:57:05 +03:00
Vasily Levchenko 8d71b63fec [MERGE] KT: build-1.5.20-dev-7 KT/N: eecc10f9a OLD: e9501e82c 2021-02-01 16:54:30 +01:00
Vasily Levchenko 40959c756d Revert "Temporary remove all -Werror flags"
This reverts commit 89c09214eeed951684405c10c233304834a89beb.
2021-02-01 16:54:15 +01:00
Vasily Levchenko c4dcdff646 [kotlin compiler][update] 1.5.20-dev-7
* 482e217b5e - (tag: build-1.5.20-dev-7) JVM IR: Fix inline class mangling for calls to internal functions (5 hours ago) <Steven Schäfer>
* 6747084fe2 - (tag: build-1.5.20-dev-2) FIR TEST: perform more accurate check on file identity (6 hours ago) <Mikhail Glukhikh>
* 338aad98eb - FIR: run diagnostic "with stdlib" tests also in light tree mode (6 hours ago) <Mikhail Glukhikh>
* 7d4eaefd36 - FIR: report UNSAFE_CALL on dot when possible (6 hours ago) <Mikhail Glukhikh>
* 0ee4f1f393 - FIR: more exact nullability determination in potential UNSAFE_CALL check (6 hours ago) <Mikhail Glukhikh>
* e72ddbcbfe - FIR checker: differentiate UNSAFE_CALL from INAPPLICABLE_CANDIDATE (6 hours ago) <Jinseong Jeon>
* 4b823eca21 - Fix test data (FIR_IDENTICAL) (6 hours ago) <Mikhail Glukhikh>
* 3e1fabd46c - (tag: build-1.5.0-dev-2278, tag: build-1.5.0-M1-7, origin/1.5.0-M1, origin/1.5.0) Set ANDROID_SDK_ROOT for android box tests (7 hours ago) <Mikhael Bogdanov>
* 4a50dc9074 - (tag: build-1.5.0-dev-2269, tag: build-1.5.0-M1-6) Add workaround for problem with initialization of :tools:kotlinp (8 hours ago) <Dmitriy Novozhilov>
* e8068b5576 - Update testdata of maven plugin tests (8 hours ago) <Dmitriy Novozhilov>
* 0a47b1c32b - Remove incorrectly added dependency on experimental coroutines (8 hours ago) <Dmitriy Novozhilov>
* 0769157a16 - Revert "Revert "Build: enable -Werror in stdlib/core/compiler/plugins modules"" (8 hours ago) <Dmitriy Novozhilov>
* 7e3802bde3 - Advance bootstrap to 1.5.0-dev-2205 (8 hours ago) <Dmitriy Novozhilov>
* c5baf3fdd2 - (tag: build-1.5.0-dev-2267) Upgrade gradle plugin to 4.1. and build tools to 29.0.3 for android box tests (9 hours ago) <Mikhael Bogdanov>
* 9459f8113f - Set ANDROID_HOME/ANDROID_SDK_ROOT for android box tests (9 hours ago) <Mikhael Bogdanov>
* fd29fab971 - [Gradle, JS] Update tool versions (9 hours ago) <Ilya Goncharov>
* 9efac8f68b - Propagate all annotations during creating simple functional types (10 hours ago) <Victor Petukhov>
* 5d7dc5fa39 - (tag: build-1.5.0-dev-2264) JVM_IR indy-SAM conversions: minor updates (10 hours ago) <Dmitry Petrov>
* f34224ecee - JVM_IR indy-SAM conversions: tests for function references equality (10 hours ago) <Dmitry Petrov>
* f0abd8bc68 - JVM_IR indy-SAM conversions: prohibit in crossinline lambdas (10 hours ago) <Dmitry Petrov>
* ad1d80d700 - JVM_IR indy-SAM conversions: add more tests (10 hours ago) <Dmitry Petrov>
* 98b0c07b18 - JVM_IR indy-SAM conversions: inline funs and lambdas (10 hours ago) <Dmitry Petrov>
* 4da2f3d9d4 - JVM_IR indy-SAM conversions: use old scheme for suspend funs (10 hours ago) <Dmitry Petrov>
* 1f16b96796 - JVM_IR indy-SAM conversions: inline classes (10 hours ago) <Dmitry Petrov>
* f30e25aa52 - JVM_IR indy-SAM conversions: more cases (10 hours ago) <Dmitry Petrov>
* 3140cca050 - JVM_IR indy-SAM conversions, 1st passing tests (10 hours ago) <Dmitry Petrov>
* c13949d322 - (tag: build-1.5.0-dev-2261) [Gradle, JS] Move incremental test into non-ir js tests and add module name into 2js plugin (11 hours ago) <Ilya Goncharov>
* 7e6abffb62 - (tag: build-1.5.0-dev-2255) FIR: Fix incorrectly serialized type (13 hours ago) <Denis.Zharkov>
* 1e0d9f4075 - FIR2IR: Do not add implicit casts for types with different nullability (13 hours ago) <Denis.Zharkov>
* 5c62ee4ba8 - FIR2IR: Fix complex cases of smart cast expressions used as dispatch receiver (13 hours ago) <Denis.Zharkov>
* b3b1eb57ae - FIR2IR: Simplify Fir2IrImplicitCastInserter::convertToImplicitCastExpression (13 hours ago) <Denis.Zharkov>
* 71596a08b3 - FIR2IR: Simplify Fir2IrImplicitCastInserter (13 hours ago) <Denis.Zharkov>
* aab85121e2 - Minor. Add clarification comment to MainFunctionDetector (13 hours ago) <Denis.Zharkov>
* b1b89e6f5f - FIR2IR: Fix smart-cast approximation implicit receiver (13 hours ago) <Denis.Zharkov>
* d9f45fdf9e - FIR2IR: Fix incorrect fake override structure for delegated member in supertype (13 hours ago) <Denis.Zharkov>
* 844d2572e5 - Don't run dx test in emulator (13 hours ago) <Mikhael Bogdanov>
* 1c612376dd - (tag: build-1.5.0-dev-2235) Disable some android box test (27 hours ago) <Mikhael Bogdanov>
* 0ad24f5346 - (tag: build-1.5.0-dev-2233) Enable Android box test (27 hours ago) <Mikhael Bogdanov>
* b16b1b3b78 - Test for obsolete KT-26360 (27 hours ago) <Mikhael Bogdanov>
* bea29d0de5 - Add test for KT-44074 (27 hours ago) <Mikhael Bogdanov>
* 5fa9acc17a - (tag: build-1.5.0-dev-2227) [JS IR] Add additional exported declarations inside dce loop (28 hours ago) <Ilya Goncharov>
* d88d1d048e - [JS IR] Context to NameTables for stable names in additional exported declarations (28 hours ago) <Ilya Goncharov>
* f186047101 - [JS IR] Add additional exported declarations with exported stub to dce (28 hours ago) <Ilya Goncharov>
* 6e98b81f3a - [JS IR] Use recursive isExported for stable name detection (28 hours ago) <Ilya Goncharov>
* 977781fa49 - [JS IR] Add tests with export all file and export nested class (28 hours ago) <Ilya Goncharov>
* 1b68f35f7c - (tag: build-1.5.0-dev-2217) FIR: create new ConeTypeCheckerContext on every supertypes calculation (32 hours ago) <Ilya Kirillov>
* 1c80c5610d - (tag: build-1.5.0-dev-2205, origin/mg/performance-check-1) FIR: fix serialization of accessor with source-level annotations (34 hours ago) <Mikhail Glukhikh>
* 72b07c727b - fixup! Add runtime dependency on experimental coroutines to :kotlin-scripting-compiler-impl (34 hours ago) <Dmitriy Novozhilov>
* 4389cc7787 - Update testdata of maven plugin tests (34 hours ago) <Dmitriy Novozhilov>
* 8b892a46c9 - Update testdata of maven plugin test (34 hours ago) <Dmitriy Novozhilov>
* f740e4141c - Temporary force building all libraries with old backend (34 hours ago) <Dmitriy Novozhilov>
* 71d8b842fd - Add runtime dependency on experimental coroutines to :kotlin-scripting-compiler-impl (34 hours ago) <Dmitriy Novozhilov>
* 17230397e6 - [Test] Update or drop some IDE tests about experimental coroutines (34 hours ago) <Dmitriy Novozhilov>
* bc3b791cd8 - [TMP] Remove :kotlin-coroutines-experimental-compat module (34 hours ago) <Dmitriy Novozhilov>
* 1300ec3e45 - Revert "Build: enable -Werror in stdlib/core/compiler/plugins modules" (34 hours ago) <Dmitriy Novozhilov>
* f3364ec602 - [TD] Update testdata according to KT-44546 (34 hours ago) <Dmitriy Novozhilov>
* 299272fa6d - [Test] Update diagnostics testdata according to allowed suspend fun interfaces (34 hours ago) <Dmitriy Novozhilov>
* a253b9508e - Mute some ultra light classes tests according to KT-44472 (34 hours ago) <Dmitriy Novozhilov>
* c0bc492029 - Mute some script tests according to KT-44471 (34 hours ago) <Dmitriy Novozhilov>
* 95aa8dc85a - Fix detecting of non-physical files in ClassFileFactory (34 hours ago) <Dmitriy Novozhilov>
* 3b97835b74 - Disable `-Werror` for :compiler:cli module (34 hours ago) <Dmitriy Novozhilov>
* 2c3031f981 - [Test] Mute IC with circular dependencies with JVM IR backend (34 hours ago) <Dmitriy Novozhilov>
* ba44ad1aa3 - Approximate anonymous return types for private inline functions to explicit supertype or Any (KT-33917) (34 hours ago) <Victor Petukhov>
* 670f029bdf - Allow passing non-spread arrays into a vararg parameter after sam properly, through propagating vararg element type to a sam adapter from the original parameter descriptor (34 hours ago) <Victor Petukhov>
* af3eaf5d71 - Add explicit disabling `ProhibitVarargAsArrayAfterSamArgument` feature in tests as it's enabled by default in 1.5 (34 hours ago) <Victor Petukhov>
* e39bbcd937 - Unmute test which checks the evaluation order of value arguments with varargs. (34 hours ago) <Victor Petukhov>
* 4f8b12c96f - [Test] Fix various tests according to switching to kotlin 1.5 (34 hours ago) <Dmitriy Novozhilov>
* 64100eec07 - [Test] Add workaround for KT-44359 (34 hours ago) <Dmitriy Novozhilov>
* ffc585ad5c - [Debugger] Fix compiler option for disabling IR backend in tests (34 hours ago) <Dmitriy Novozhilov>
* cd93b2f39b - Use old backend in script compilation context (34 hours ago) <Dmitriy Novozhilov>
* ee1aff1012 - [Test] Update different testdata according to changes in sealed classes (34 hours ago) <Dmitriy Novozhilov>
* 81fd8b5940 - [IR] Fix undeterministic order in signature clash reporting (34 hours ago) <Dmitriy Novozhilov>
* 6a2796b067 - [Test] Fix source maps in testdata according to KT-37704 (34 hours ago) <Dmitriy Novozhilov>
* a6600cef47 - [Test] Remove some outdated tests from LocalInspectionTestGenerated (34 hours ago) <Dmitriy Novozhilov>
* a9ef8bb32f - [IDE] Update SuperClassNotInitialized to relaxed restrictions on sealed classes (34 hours ago) <Dmitriy Novozhilov>
* 16e0c0b820 - [Test] Update testdata of quickfix tests related to sealed classes (34 hours ago) <Dmitriy Novozhilov>
* 7632c11745 - Enforce using old backend in JvmCliReplShellExtension (34 hours ago) <Dmitriy Novozhilov>
* c6039d76d3 - Enforce using old backend in JvmAbiAnalysisHandlerExtension (34 hours ago) <Dmitriy Novozhilov>
* f350e9dacb - Fix rendering of metadata of multifile facades in classFilesComparison.kt (34 hours ago) <Alexander Udalov>
* 1deb317e0d - Update and regenerate incremental compilation tests for 1.5 (34 hours ago) <Alexander Udalov>
* 4dff7e648f - Minor, restore abiStabilityUnstableWithOldBackend CLI test (34 hours ago) <Alexander Udalov>
* d87d0cceae - JVM IR: report all sources as outputs for .kotlin_module file (34 hours ago) <Alexander Udalov>
* f3393eae1b - [Test] Update testdata of CompileKotlinAgainstCustomBinariesTest (34 hours ago) <Dmitriy Novozhilov>
* 9b80a552e9 - [Test] Update testdata of spec tests (34 hours ago) <Dmitriy Novozhilov>
* 73e6d42224 - [Test] Update CLI tests according to new default language version (34 hours ago) <Dmitriy Novozhilov>
* 5122e748c1 - Add workaround for KT-44316 (34 hours ago) <Dmitriy Novozhilov>
* facc52fe49 - Introduce ApiVersion.KOTLIN_1_5 (34 hours ago) <Dmitriy Novozhilov>
* f14bd87ecc - [Test] Update testdata of diagnostic tests during to change language to 1.5 (34 hours ago) <Dmitriy Novozhilov>
* d7cfd9c188 - Switch latest stable version to 1.5 (34 hours ago) <Dmitriy Novozhilov>
* 5098eb84af - Switch IS_PRE_RELEASE flag to true (34 hours ago) <Dmitriy Novozhilov>
* 836261ba6e - (tag: build-1.5.0-dev-2201, tag: build-1.5.0-dev-2195) [Test] Ignore test infrastucture sources in debugging tests (2 days ago) <Kristoffer Andersen>
* 46b7a774b5 - (tag: build-1.5.0-dev-2182, tag: build-1.5.0-dev-2180) Commonize CharCategory and related functions #KT-39177 #KT-43216 #KT-39906 #KT-30652 (2 days ago) <Abduqodiri Qurbonzoda>
* 9b429fb535 - (tag: build-1.5.0-dev-2171) FIR IDE: update testdata (2 days ago) <Ilya Kirillov>
* 1d167e4bc5 - FIR: enable inline classes support in kotlin.compiler.fir.tree module (2 days ago) <Ilya Kirillov>
* c53d6ed5d2 - FIR: remove SymbolProviderCache as it is unused now (2 days ago) <Ilya Kirillov>
* 9f5b46cc76 - FIR: use MutableMap in JavaSymbolProvider.parentClassTypeParameterStackCache as temp solution (2 days ago) <Ilya Kirillov>
* 6a83b8b5a4 - FIR: migrate FirDependenciesSymbolProviderImpl to FirCachesFactory (2 days ago) <Ilya Kirillov>
* 6543429b9a - FIR: use FirCachesFactory for package parts cache in KotlinDeserializedJvmSymbolsProvider (2 days ago) <Ilya Kirillov>
* 32ae395e05 - FIR: use FirCachesFactory for package type alias in KotlinDeserializedJvmSymbolsProvider (2 days ago) <Ilya Kirillov>
* b270d66f68 - FIR: use FirCachesFactory for class cache in KotlinDeserializedJvmSymbolsProvider (2 days ago) <Ilya Kirillov>
* 3cee5e848a - FIR: encapsulate annotation loading in KotlinDeserializedJvmSymbolsProvider.knownClassNamesInPackage into class (2 days ago) <Ilya Kirillov>
* 169134655a - FIR: encapsulate KotlinDeserializedJvmSymbolsProvider.knownClassNamesInPackage into class (2 days ago) <Ilya Kirillov>
* 7284acc9f9 - FIR IDE: use FirCaches in JavaSymbolProvider (2 days ago) <Ilya Kirillov>
* 1fef5859e3 - FIR IDE: implement thread safe fir caches for IDE (2 days ago) <Ilya Kirillov>
* 191a948ffe - FIR: introduce caches factory (2 days ago) <Ilya Kirillov>
* 2f12b8f87f - FIR: refactoring, move class Java class building to separate fun (2 days ago) <Ilya Kirillov>
* 93436c1341 - (tag: build-1.5.0-dev-2170) FIR: optimize / simplify member checkers (2 days ago) <Mikhail Glukhikh>
* 97241599bf - FIR checker: add support diagnostic: EXPECTED_PRIVATE_DECLARATION (2 days ago) <Jinseong Jeon>
* 57c8dd86a0 - FIR checker: introduce top-level property checkers (2 days ago) <Jinseong Jeon>
* f9378a3ab7 - FIR checker: add diagnostic EXPECTED_DECLARATION_WITH_BODY (2 days ago) <Jinseong Jeon>
* 9341ca3004 - FIR checker: introduce top-level function checker (2 days ago) <Jinseong Jeon>
* df68f319bc - FIR LT: simplify defaultValue() search (2 days ago) <Mikhail Glukhikh>
* 8b4f2b269c - FIR checker: introduce PARAMETER_* positioning strategies (2 days ago) <Jinseong Jeon>
* 33b7c68a21 - (tag: build-1.5.0-dev-2161) Add FIR_IDENTICAL to kt44440.kt test (2 days ago) <Mikhail Glukhikh>
* 977ac7cbe7 - (tag: build-1.5.0-dev-2150) Propagate nullness flexibility into the result type from type variables in other constraints during result type finding, to prevent variable fixation to less flexible type (2 days ago) <Victor Petukhov>
* ce1f9882df - (tag: build-1.5.0-dev-2140) FIR2IR: Fix mapping for intersection overrides of deserialized functions (2 days ago) <Mikhail Glukhikh>
* 4bde884844 - (tag: build-1.5.0-dev-2138) [JS IR] Use non-persistent IR for non-dce-driven mode (2 days ago) <Svyatoslav Kuzmich>
* 02615ec569 - [JS IR] Fix: Use proper parameter in ExportedDefaultParameterStub (2 days ago) <Svyatoslav Kuzmich>
* 75ed167566 - (tag: build-1.5.0-dev-2117, minamoto/composite-build-fix) FIR IDE: Use `FirModuleResolveState` instead of `TowerDataContextProvider` (3 days ago) <Roman Golyshev>
* dd91ebf1ea - FIR IDE: Collect TowerDataContext only for block-level expressions (3 days ago) <Roman Golyshev>
* b51b8b59b1 - FIR IDE: Collect scopes in `FirDesignatedImplicitTypesTransformerForIDE` (3 days ago) <Roman Golyshev>
* 445edf8e28 - FIR IDE: Mark `FirTowerDataContextCollector` as `ThreadSafeMutableState` (3 days ago) <Roman Golyshev>
* 11564d7950 - FIR: Collect all scopes in `FirModuleResolveStateImpl` (3 days ago) <Roman Golyshev>
* 8bc7866f01 - (tag: build-1.5.0-dev-2110) [KLIB] Fix klib IO when accessing parent file (3 days ago) <Roman Artemev>
* 6118d1cf23 - (tag: build-1.5.0-dev-2096, tag: build-1.5.0-dev-2086) [Commonizer] Fix commonizer build (3 days ago) <Roman Artemev>
* b0adcffed9 - [JS IR] Fix transitive dependency resolve (3 days ago) <Roman Artemev>
* 75016bf54d - [Gradle, JS] Fix bridge between Gradle and Js IR CLI (3 days ago) <Roman Artemev>
* 350ff8033d - [IC KLIB] Replace JS IR build log with KLIB build log for klib compialtion (3 days ago) <Roman Artemev>
* 5c25ef62e2 - [JVM IR] Fix jvm test runner (3 days ago) <Roman Artemev>
* b4ed7110dd - [IC TEST] Fix IC multi module tests for gradle (3 days ago) <Roman Artemev>
* 04777d2ff2 - [IC TEST] Generate legacy js multi module IC tests (3 days ago) <Roman Artemev>
* 898c0470dc - [IC TEST] Implement legacy js multi module gradle-like test infra (3 days ago) <Roman Artemev>
* 43022a292d - [IC TEST] Abstract multi module test runner from klib (3 days ago) <Roman Artemev>
* 5b1c70a430 - [KLIB IC] Generate multi module klib IC tests (3 days ago) <Roman Artemev>
* 10d8e95df7 - [IC TEST] Support multi module IC tests for klibs (3 days ago) <Roman Artemev>
* 9aeda12b99 - [KLIB IC] Produce .klib file instead of directory in test (3 days ago) <Roman Artemev>
* 37c7f60ae7 - [KLIB] Fix issues between directory and .klib modes (3 days ago) <Roman Artemev>
* 939da9dbc8 - [KLIB] Take into account *.klib rebuild similar to *.jar (3 days ago) <Roman Artemev>
* daf1da1c70 - [KLIB IC] Fix klib IC test data (3 days ago) <Roman Artemev>
* 380225e0cb - [KLIB IC] Support special klib-build.log in IC test infrastructure (3 days ago) <Roman Artemev>
* 96ba3b873e - [IC] Add in-module tests for incremental compilation (3 days ago) <Roman Artemev>
* 697d4675a2 - [KLIB] Improve klib debugging implementing `KotlinLibrary.toString()` (3 days ago) <Roman Artemev>
* 2daf0cc11c - [JS IR] Support additional repositories in CLI (cli part) (3 days ago) <Roman Artemev>
* cd9e341fa9 - [JS IR] Support additional repositories in CLI (compiler part) (3 days ago) <Roman Artemev>
* e22711d17f - (tag: build-1.5.0-dev-2085) [FIR] Reuse empty scopes (3 days ago) <Simon Ogorodnik>
* 67267518f0 - [FIR] Optimize tower group comparisons (3 days ago) <Simon Ogorodnik>
* 4530cdefe5 - [FIR] Implement proper equals/hashCode for TowerGroupKind.WithDepth (3 days ago) <Simon Ogorodnik>
* a4dd47daab - (tag: build-1.5.0-dev-2080, origin/master-for-ide) Update ReadMe.md (3 days ago) <Alexander Anisimov>
* 8019dbe06c - (tag: build-1.5.0-dev-2076) Do not leak LowMemoryWatcher on plugin unload (3 days ago) <Vladimir Dolzhenko>
* 76c2288e21 - (tag: build-1.5.0-dev-2073) IrInterpreter: interpret IrGetField properly (3 days ago) <Mikhail Glukhikh>
* b311e95487 - FIR2IR: don't generate IR getter for const library properties (3 days ago) <Mikhail Glukhikh>
* e2521718dd - (tag: build-1.5.0-dev-2069) Kapt: Add flag to keep KDoc comments in stubs (3 days ago) <Hung Nguyen>
* dcda47b502 - (tag: build-1.5.0-dev-2067) Ensure that Decompiler and IDE agree on rendered function types with parameterized annotations (3 days ago) <sebastian.sellmair>
* 122d04b9fa - (tag: build-1.5.0-dev-2065) Returned support for generic serializers in @UseSerializers (#4055) (3 days ago) <Sergey Shanshin>
* 1a4b327210 - (tag: build-1.5.0-dev-2053) FIR2IR: fix smart casts in case field is accessed (3 days ago) <Mikhail Glukhikh>
* 1c9064836e - FIR2IR: fix intersection type smart cast when synthetic property accessed (3 days ago) <Mikhail Glukhikh>
* 504bdfc283 - (tag: build-1.5.0-dev-2038) testData for binary compatibility tests on klib library evolution (4 days ago) <Alexander Gorshenev>
* 3704b2a5af - (tag: build-1.5.0-dev-2031) Fix testJvmKtAppDependsOnMppTestRuntime after 3b0f4f31 (4 days ago) <Sergey Igushkin>
* d4965b1e6e - (tag: build-1.5.0-dev-2029) Avoid resolving deprecated configurations in tests (#3970) (4 days ago) <Bingran>
* 3b0f4f3164 - (tag: build-1.5.0-dev-2028) Set canBeConsumed = false on the deprecated configurations like compile (4 days ago) <Sergey Igushkin>
* 3e820ff3b1 - (tag: build-1.5.0-dev-2023) JVM: Take inline class mangling state into account for default methods (4 days ago) <Steven Schäfer>
* f85263ca7f - (tag: build-1.5.0-dev-2018) [JS IR] Add fast path to JsCodeOutliningLowering (4 days ago) <Svyatoslav Kuzmich>
* cb3b1f8ae2 - [JS IR] Fix referencing Kotin variables in inline JS code (4 days ago) <Svyatoslav Kuzmich>
* 708e6914bd - (tag: build-1.5.0-dev-2012, tag: build-1.5.0-dev-2006) JVM JVM_IR hide sealed class constructors (4 days ago) <Dmitry Petrov>
* ca3bb02897 - (tag: build-1.5.0-dev-2004) [TD] Update spec testdata after f06a5321 (4 days ago) <Dmitriy Novozhilov>
* f61a318c9d - [Test] Migrate AbstractBytecodeTextTest to new test infrastructure (4 days ago) <Dmitriy Novozhilov>
* e928448e00 - [Test] Fix default jps `[JSP] Fast FIR tests` run configuration (4 days ago) <Dmitriy Novozhilov>
* 663d5026d8 - [Test] Migrate FIR diagnostic spec tests to new infrastructure (4 days ago) <Dmitriy Novozhilov>
* 0b45139b34 - [Test] Fix OutOfMemoryError during extracting meta info from test (4 days ago) <Dmitriy Novozhilov>
* fd8795de99 - [Test] Fix FirIdenticalChecker and update some FIR_IDENTICAL testdata (4 days ago) <Dmitriy Novozhilov>
* 98c22f9e59 - [TD] Add forgotten bytecode dump (4 days ago) <Dmitriy Novozhilov>
* 5c0cfa87ba - [Test] Support some jvm codegen specific configuration directives (4 days ago) <Dmitriy Novozhilov>
* 7d4adaba21 - [Test] Add ability to simply declaring mapping between directives and configuration keys (4 days ago) <Dmitriy Novozhilov>
* 5490689fea - [Test] Add ability to disable specific handler if there was an error from previous one (4 days ago) <Dmitriy Novozhilov>
* 42f9442728 - [Test] Handle any Throwable from test instead of AssertionError (4 days ago) <Dmitriy Novozhilov>
* c111c33950 - (tag: build-1.5.0-dev-2001) Fix failing tests after 8bd78064be (4 days ago) <Victor Petukhov>
* 1654dfb3bf - (tag: build-1.5.0-dev-1999) Upgrade Apache Ant dependency to 1.10.7 (4 days ago) <scaventz>
* aa1e23d9b0 - (tag: build-1.5.0-dev-1993) [JS IR] Use origins for bridge with and without stable names (4 days ago) <Ilya Goncharov>
* 57fdabdace - [JS IR] Add BRIDGE origin as ignore for stabitility of names (4 days ago) <Ilya Goncharov>
* a89fe90043 - [JS IR] Add test on exportable overriden method (4 days ago) <Ilya Goncharov>
* f06a5321a6 - (tag: build-1.5.0-dev-1991, tag: build-1.5.0-M1-4, tag: build-1.5.0-M1-2, tag: build-1.5.0-M1-1) Approximate definitely not-null types for type parameter's types if they are already not-null (has not-null upper bounds) (4 days ago) <Victor Petukhov>
* f2c1608c2b - (tag: build-1.5.0-dev-1988) Update testData (4 days ago) <Simon Ogorodnik>
* 9548caf6ea - (tag: build-1.5.0-dev-1982) FIR2IR: Use TEST ClassBuilderFactory in for tests (4 days ago) <Denis.Zharkov>
* 8c30adc301 - FIR2IR: Unwrap intersection overrides for intersection types (4 days ago) <Denis.Zharkov>
* 3a3d2ee3e9 - FIR2IR: Fix mapping for intersection overrides of deserialized properties (4 days ago) <Denis.Zharkov>
* fdf0934ade - Don't generate txt dump for `buildFlexibleEnhancement.kt` diagnostic test (4 days ago) <Victor Petukhov>
* 8bd78064be - Do substitution of a type enhancement, not only lower and upper bounds (4 days ago) <Victor Petukhov>
* 83c93aca2e - Build type enhancement properly, by taking into account both bounds of the original flexible type (5 days ago) <Victor Petukhov>
2021-02-01 16:54:15 +01:00
Dmitriy Novozhilov 29f68fe7ae Temporary remove all -Werror flags
This is needed for transational period of migrating kotlin repository to compiler with version 1.5

(cherry picked from commit 2836a17952dd47b5b8fe176a0b0374c23567b2ff)
2021-02-01 16:54:15 +01:00
Vasily Levchenko 8b2f0d644b [build] kotlin.*Compile: -Xskip-prerelease-check
(cherry picked from commit 57172ac6ead928b565fefaf49d8405a07c856e25)
2021-02-01 16:54:15 +01:00
Abduqodiri Qurbonzoda e63b405f58 Commonize CharCategory and related functions #KT-39177 #KT-43216 #KT-39906 #KT-30652
(cherry picked from commit fc5c01b9a72498f9bd200817936a629689c0bff0)
2021-02-01 16:54:15 +01:00
Alexander Gorshenev ec024cee53 Extracted multi-module compiler runner for external tests to a separate kotlin file.
(cherry picked from commit 4fd88e4d33d8f80370b3ba4eee4c64869c1f1734)
2021-02-01 16:54:15 +01:00
Alexander Gorshenev 58ea71cb0e Made test runner work with binary compatibility tests
(cherry picked from commit e0b599a632b94e4b1303fc94275dcd5b6a7dfb6b)
2021-02-01 16:54:15 +01:00
Roman Artemev 64445bb793 Fix konan klib output setup
(cherry picked from commit c75b32ed1a4b8de2801bfece680b6ef7778b6dd5)
2021-02-01 16:54:15 +01:00
Roman Artemev 67fa7c779a Fix klib install gradle task
(cherry picked from commit a36abd282efab4568fceb92f8102e13fcac359fd)
2021-02-01 16:54:15 +01:00
Roman Artemev 3127da287f Add klibOutputFileName(..) into OutputFiles.kt
(cherry picked from commit c4511b8b6b8e75f0d7b3f33007da3a75923bd61b)
2021-02-01 16:54:15 +01:00
Roman Artemev fde107b181 [KLIB] Adapt new klib io API in K/N
(cherry picked from commit 70fabb6a9db83db5f5b26b54f2656655316ea31c)
2021-02-01 16:54:15 +01:00
Alexander Shabalin 04ee3e37e7 Implement ref updates in new MM (#4653) 2021-02-01 16:54:15 +01:00
Alexander Shabalin 9e99932b24 Add a check for single-thread mutator (#4665) 2021-02-01 16:54:14 +01:00
Igor Chevdar c12d79176a [runtime] Fixed UB with signed overflow 2021-02-01 16:54:14 +01:00
Igor Chevdar c8633d8bda [runtime] Vectorized polynomial hash for strings
This is for consistency with Kotlin/JVM
2021-02-01 16:54:14 +01:00
Pavel Punegov 95a92d865e Adds workaround for IDEA-257366 2021-02-01 16:54:14 +01:00
Vasily Levchenko 3378aeddb5 [interop][c][reverse][test] (KT-36639) 2021-02-01 16:54:14 +01:00
Vasily Levchenko f887dcb79a [interop][c][reverse] drop extensions check in function generator (KT-36639)
- Initially this check was done with assumption that extension function couldn't be overrided
2021-02-01 16:54:14 +01:00
Alexander Shabalin d84c83d7da Extract FreezeHooks and make them testable (#4654) 2021-02-01 16:54:14 +01:00
Alexander Shabalin e2280ce855 Add a bunch of symbols required by Kotlin runtime part (#4655) 2021-02-01 16:54:14 +01:00
Alexander Shabalin 51f70254f7 Use non-terminating TODO for safepoints (#4659) 2021-02-01 16:54:14 +01:00
Ilya Matveev a5cce930b1 [samples] Correct architecture for CocoaPods sample 2021-02-01 16:54:14 +01:00
Pavel Punegov 8a48609823 Lazy task creation in konan plugin using Gradle Providers API.
Removes obsolete CMake task and IDE model.

Use Provider API for klib files. Replace findAll with matching to make tasks configure lazily

Make some test tasks use lazy configuration

Fix adding tasks to lists. Add it. to all fields to improve IDEA navigation

Remove obsolete IDE model from the task

Remove tooling model tests

Fix aggregate task dependency

Fix run tasks. Cleanup

Review fixes
2021-02-01 16:54:14 +01:00
Alexander Shabalin 716326a60f Disable erroneously enabled tests on wasm (#4652) 2021-02-01 16:54:14 +01:00
Mikhael Bogdanov 206b38f0ab Fix compilation against asm 7.0 2021-02-01 16:52:46 +01:00
Anton Yalyshev 78c6e0733c Add change-notes for 1.4.30 2021-02-01 18:51:38 +03:00
Mikhail Glukhikh 1f62fee4f9 Fix typo 2021-02-01 18:33:05 +03:00
Mads Ager 593fb8770b [FIR] Fix lookup order for statics in super chains
The order was reversed and the static in the top-most class
in the inheritance hierarchy would be found instead of the
lowest one.
2021-02-01 18:32:55 +03:00
Dmitry Petrov 4ec369ac5b JVM_IR fix special bridge generation for inline classes 2021-02-01 17:57:58 +03:00
Alexander Udalov 8172ae5d89 Fix codegen test classLiteralWithExpectedType.kt on Android
Similar to changes in d022bb0248, this test started to fail because
`AnnotationTarget.TYPE` is mapped to `ElementType.TYPE_USE` if JVM
target is >= 1.8. In codegen tests on Android, we're running the
emulator of version 19 which is less than 26, where `TYPE_USE` has first
appeared.
2021-02-01 15:54:01 +01:00
pyos bd3bc13e75 JVM_IR: give loops somewhat more debuggable labels 2021-02-01 15:51:31 +01:00
pyos ad53fc931e JVM: optimize temporary kotlin.jvm.internal.Refs as well
i.e. remove the condition that there must be an LVT entry. Such
temporary `Ref`s can be created, for example, by the JVM_IR backend
if a lambda inlined at an IR level (e.g. argument to `assert`/`Array`)
is the target of a non-local return from a function inlined at bytecode
level (e.g. `run`):

    IntArray(n) { i ->
        intOrNull?.let { return@IntArray it }
        someInt
    }

->

    val `tmp$0` = IntArray(n)
    for (i in 0 until `tmp$0`.size) {
        var `tmp$1`: Int
        do {
            intOrNull?.let {
                `tmp$1` = it // causes `tmp$1` to become an IntRef
                break
            }
            `tmp$1` = someInt
        } while (false)
        `tmp$0`[i] = `tmp$1`
    }
2021-02-01 15:51:31 +01:00
pyos 0f2ca5d84c JVM_IR: support non-local break/continue in the inliner
Not in the frontend or psi2ir, though, so this not a complete
implementation of KT-1436, but rather a part of it that is currently
useful to make other code compile. In particular, lambdas passed to
array constructors and JVM-style `assert` are inlined as IR returnable
blocks, which are then converted into `do { ... } while (false)` loops,
so non-local returns from them become non-local `break`s.
2021-02-01 15:51:31 +01:00
Ilya Gorbunov 4a17228621 Infer required kotlin-test jvm capability based on used test framework
Except when:
- the Gradle version is less than 6.0, it doesn't read the metadata
published by a newer Gradle by default.
- the requested dependency version is less than 1.5, because it doesn't
have metadata published.

Update integration tests to use kotlin-test common dependency.

KT-40225
2021-02-01 16:50:05 +03:00
Ilya Gorbunov cbeadba15d Disable metadata publishing for legacy common artifacts
When they are used explicitly in common source sets, they cannot be
resolved in platform ones after that since they only have
common kotlin-api variants in their metadata.

KT-40225
2021-02-01 16:50:05 +03:00
Ilya Gorbunov 573aac7252 Apply common configuration to custom publications in kotlin-test
To do that, extract parts of publishing setup into reusable functions.
This change makes signing and repository configuration applied to all
project publications, not just to the Main one.

Also:
- Get rid of dependencies from non-default variants in the root pom
- Add an empty javadoc jar

KT-40225
2021-02-01 16:50:05 +03:00
Ilya Gorbunov a16aaa3824 Setup publications with MPP Gradle metadata for kotlin-test library
Move publication configuration from individual platform specific
kotlin-test- modules to the root module.

KT-40225
2021-02-01 16:50:05 +03:00
Vladimir Dolzhenko 913c298be8 Kotlin highlight passes are reworked
#KT-37702 Fixed
2021-02-01 13:18:38 +00:00
Vladimir Dolzhenko 558338f997 Lazy diagnostics API in frontend
Relates to #KT-37702
2021-02-01 13:18:37 +00:00
Pavel Kirpichenkov 8f675fe757 Split combined test into two to avoid flaky behaviour
Prevent simultaneous access to the library directory
2021-02-01 15:09:13 +03:00
eugenpolytechnic 9ad88a5a0d FIR: introduce parameter type is Throwable check 2021-02-01 15:07:21 +03:00
eugenpolytechnic 5c0231b727 FIR: introduce CatchParameterChecker 2021-02-01 15:07:13 +03:00
Alexander Udalov d8549d6292 Build: fix inaccurate change to the logic of useIRForLibraries 2021-02-01 11:54:36 +01:00
Alexander Udalov e9436da858 Change logic of applying JVM target from AGP options
Now that the default JVM target is 1.8, we have to add the JVM target
1.6 explicitly if the Android project is configured with source/target
1.6, and not do anything if it's configured with 1.8.

 #KT-31027
2021-02-01 11:54:05 +01:00
Alexander Udalov adfa8c788c Light classes: use JVM target from the module
Using "JVM_1_8" always resulted in incorrect mapping of Kotlin
annotation targets to Java element types.

The change in AbstractKotlinRenderLogTest is needed because while
CliTraceHolder.module is technically a descriptor leak, it was never
detected by this test accidentally, because of the depth cutoff equal to
10, which started to not be enough after the minor refactoring of
replacing `Delegates.notNull` with `lateinit`.
2021-02-01 11:54:05 +01:00
Alexander Udalov 64e97225b8 Light classes: map annotation targets depending on JVM target
Since the default JVM target (`JvmTarget.DEFAULT`) is now 1.8, the
changed test started to fail. This change fixes it.
2021-02-01 11:54:04 +01:00
Alexander Udalov d022bb0248 Switch default JVM target to 1.8
#KT-29405 Fixed
2021-02-01 11:54:04 +01:00