Commit Graph

6361 Commits

Author SHA1 Message Date
Elena Lepilkina 8b2fed994a Added possibility to use cset to run benchmarks in the isolated cpus 2020-09-14 20:16:39 +03:00
Sergey Bogolepov e9dd7cb3b6 [KT-34261][Linker] Pre-link static caches
Use `ld -r` on darwin-based targets to pre-link static caches
before final linker invocation. It allows to hide symbols from
caches to avoid linkage problems when linking 2 or more
Kotlin-produced binaries.

Sadly, it has several problems:
1. `ld -r` is slow.
2. There is no obvious way to make common symbols private.
These are the reasons why we don't enable `-Xpre-link-cached` by default.
2020-09-14 22:45:54 +07:00
Sergey Bogolepov a710a478a5 Minor linker code clean-up 2020-09-14 22:45:54 +07:00
Igor Chevdar 5bc03a45a7 [IR] Rewrote debug output using Context.log 2020-09-14 15:06:25 +03:00
Vladimir Ivanov c4ce945262 Use ForeignException wrapper to handle native exception [KT-35056] (#4307)
* Use ForeignException wrapper to handle native exception [KT-35056]

* Add test

* Use Any? instead of NativePtr for automagic memory management

* Use clauseNSException specific clause, similar to `catch (NSException* e)

* cleanup + test fix

* Terminate on anything else but NSException

* Use ForeignException message for NSException details

* Code generated for AppleFamily only + move stuff to kotlinx.cinterop package

* Cleanup

* Fix platform-dependent code generation

* Fix test allocException

* wip: ForeignExceptionMode option: cinterop part

* ForeignExceptionMode support in compiler

* rework test for foreignExceptionMode option

* More tests on foreignExceptionMode option

* PR feedback: resolveFakeOverride and more

* Test reworked and extended

Co-authored-by: Vladimir Ivanov <vladimir.d.ivanov@jetbrains.com>
2020-09-14 13:50:32 +03:00
dependabot[bot] 0e6bfa062a Bump node-fetch from 2.6.0 to 2.6.1 in /tools/performance-server
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-14 09:42:40 +03:00
LepilkinaElena fc083fc134 Fix searching of executable file (#4368) 2020-09-10 13:22:47 +03:00
Igor Chevdar 0a5e64f617 [runtime][codegen] Added lifetime constraint check
Current memory model forbids a heap object to reference a stack object,
so check that explicitly on each field store for now
2020-09-10 09:16:48 +03:00
Igor Chevdar d7a8dd8277 Bump konanVersion: 1.4.30 2020-09-09 18:53:55 +03:00
Igor Chevdar e542e80b76 [runtime] Made IsInstanceOfClassFast pure function 2020-09-09 16:40:42 +03:00
Igor Chevdar 583b51aa1e [optmz] Some tests on escape analysis 2020-09-09 16:40:42 +03:00
Igor Chevdar 31f4655ebd [optmz][codegen] Rewrote escape analysis 2020-09-09 16:40:42 +03:00
Igor Chevdar 981b1e5632 [optmz] Made DataFlowIR aware of internal magic of ObjC.instanceOf 2020-09-09 16:40:42 +03:00
Igor Chevdar dc0b4ad238 [optmz] DataFlowIR: Added scopes for loops 2020-09-09 16:40:42 +03:00
Igor Chevdar 2f35bbec41 [IR] Removed DFG serializer 2020-09-09 16:40:42 +03:00
SvyatoslavScherbina 46f3348b27 Increase timeout in worker11 test
(see 94cc0a24 for details)
2020-09-09 14:10:45 +03:00
Igor Chevdar 61c3f15826 [IR] Fix for https://youtrack.jetbrains.com/issue/KT-41394 + test
It is redundant to initialize the "label" field with null, since all freshly allocated objects are zeroed out
2020-09-09 13:53:29 +03:00
Igor Chevdar 125c6ac703 [IR] Optimization for 2-element string concatenation 2020-09-08 14:28:12 +03:00
LepilkinaElena 57b9185909 Fix searching executable on MacOSX (#4360) 2020-09-08 13:59:35 +03:00
Igor Chevdar 5caad8779f [IR] Equals/hashCode for SAM implementers
Fixes https://youtrack.jetbrains.com/issue/KT-39798
2020-09-08 11:14:58 +03:00
Igor Chevdar 23ac87f626 [IR] Supported IrExpressionBody 2020-09-08 11:14:58 +03:00
Igor Chevdar d65f88850e [IR] Equals/hashCode for adapted references
Fixes https://youtrack.jetbrains.com/issue/KT-39800
2020-09-08 11:14:58 +03:00
Igor Chevdar f8341d73ef [IR] Renamed a lowering
Former CallableReferenceLowering actually only lowers function references,
property references are lowered in DelegationLowering
2020-09-08 11:14:58 +03:00
SvyatoslavScherbina 37f335b483 Update PLATFORM_LIBS.md
(https://github.com/JetBrains/kotlin-native/pull/4343 to master).
2020-09-08 11:11:43 +03:00
Vasily Levchenko a7e228b16f Revert "[debugger][bindings] don't enter to recursion on type info calculation (KT-41291)"
This reverts commit b604b58223.
2020-09-07 22:21:20 +02:00
Vasily Levchenko 079a123536 [build][jar-collision] added META-INF/compiler.common.jvm.kotlin_module 2020-09-07 22:21:20 +02:00
Dmitriy Novozhilov a1bb44deb4 Rename Visibility to DescriptorVisibility
(cherry picked from commit 20bf850f10ee66ee65a3527bf818255d1c2f08b0)
2020-09-07 22:21:20 +02:00
Roman Artemev 26bec6f739 Corresponding fix to js de-descriptiozation
(cherry picked from commit f542026312055e0ed49846f4dc76500ad1f44a32)
2020-09-07 22:21:20 +02:00
Dmitriy Novozhilov bc3b4f3954 Fix module name in jar collision list
(cherry picked from commit a34ad4cb66318c7c26d7412104c7d69f56dbf074)
2020-09-07 22:21:20 +02:00
Igor Chevdar a567326683 [IR] Added stub for recently changed SAM builder
This stub will be implemented in the future

(cherry picked from commit 80159692b32b30173f39458ae26c0275b2a4d12c)
2020-09-07 22:21:20 +02:00
Dmitriy Novozhilov 0866c9c468 Update modules list for jar collision detection
(cherry picked from commit 69753529e9e3ca7388132cfab90138c4b49eb945)
2020-09-07 22:21:20 +02:00
Vasily Levchenko 656e5a2a81 [kotlin compiler][update] 1.4.20-dev-4477
* 38975e4e7c - (tag: build-1.4.20-dev-4477) Add changelog for 1.4.10 (vor 23 Stunden) <Lilia>
* 7755d9fe24 - (tag: build-1.4.20-dev-4472) Mark used parameters as disabled in parameter info popup (vor 2 Tagen) <cketti>
* 81339d54eb - (tag: build-1.4.20-dev-4469) Added :core:compiler.common.jvm and :compiler:resolution.common.jvm dependencies to pill importer (vor 2 Tagen) <Yaroslav Chernyshev>
* 3f7aab6fae - (tag: build-1.4.20-dev-4464) Redundant 'asSequence' call: don't report when reciever type is Map (vor 3 Tagen) <Toshiaki Kameyama>
* 78493395c3 - (tag: build-1.4.20-dev-4451) Don't mark signature as inapplicable when argument is empty/incomplete (vor 3 Tagen) <cketti>
* 343010a833 - (tag: build-1.4.20-dev-4450) "Unused equals expression" inspection: highlight whole expression with yellow background (vor 3 Tagen) <Toshiaki Kameyama>
* b81ec2c8f0 - (tag: build-1.4.20-dev-4448) Fix compilation errors in bunches (vor 3 Tagen) <Dmitriy Novozhilov>
* a8c68d9e6f - Remove dependency on :compiler:frontend.java from :compiler:fir:jvm (vor 3 Tagen) <Dmitriy Novozhilov>
* 6906e0d82d - Move common jvm classes from :core:descriptors.jvm to :core:compiler.common.jvm (vor 3 Tagen) <Dmitriy Novozhilov>
* 9806a85cc1 - Move Java model classes to :core:compiler.common.jvm (vor 3 Tagen) <Dmitriy Novozhilov>
* b81c0e91d5 - Replace DescriptorVisibility with Visibility in Java model classes (vor 3 Tagen) <Dmitriy Novozhilov>
* 696f089b3e - Make DescriptorVisibility delegate to Visibility (vor 3 Tagen) <Dmitriy Novozhilov>
* a05d6da43b - Move descriptor-independent Visibilities to common modules (vor 3 Tagen) <Dmitriy Novozhilov>
* d1fd1da56f - Rename Visibility to DescriptorVisibility (vor 3 Tagen) <Dmitriy Novozhilov>
* 2bcd8ee07f - Get rid of Visibility.effectiveVisibility member (vor 3 Tagen) <Dmitriy Novozhilov>
* 7d9b7df3b4 - Cleanup code in EffectiveVisibility.kt and extract descriptors related part to separate file (vor 3 Tagen) <Dmitriy Novozhilov>
* 6346b1b2ab - Use type markers instead of class descriptors in effective visibility (vor 3 Tagen) <Dmitriy Novozhilov>
* 64ec3fc42b - Move BuiltinSpecialProperties and JvmAbi to :core:compiler.common.jvm (vor 3 Tagen) <Dmitriy Novozhilov>
* 10fd164b77 - Extract FE 1.0 dependent part from JavaToKotlinClassMap (vor 3 Tagen) <Dmitriy Novozhilov>
* 136435bcc2 - Move JvmPrimitiveType to :core:compiler.common (vor 3 Tagen) <Dmitriy Novozhilov>
* 4d5f28d5c0 - Move FunctionInvokeDescriptor.BIG_ARITY to :core:compiler.common (vor 3 Tagen) <Dmitriy Novozhilov>
* bf4bf30b4a - Move CompanionObjectMapping to :core:compiler.common (vor 3 Tagen) <Dmitriy Novozhilov>
* 0e04af463d - Move JvmTypeSpecificityComparator to :compiler:resolution.common.jvm (vor 3 Tagen) <Dmitriy Novozhilov>
* 564d382b9d - Introduce new modules for common jvm related parts of compiler (vor 3 Tagen) <Dmitriy Novozhilov>
* dd016b759e - (tag: build-1.4.20-dev-4438) JVM_IR: write raw types as raw in JVM generic signatures (vor 3 Tagen) <Dmitry Petrov>
* 475522f938 - Represent raw types in IR using a special type annotation (vor 3 Tagen) <Dmitry Petrov>
* 714ab7c37f - Handle java raw types in IR (vor 3 Tagen) <Dmitry Petrov>
* 8420c0b7c7 - (tag: build-1.4.20-dev-4437) Add "Redundant nullable return type" inspection (vor 3 Tagen) <Toshiaki Kameyama>
* d703284d01 - (tag: build-1.4.20-dev-4428) Naming convention inspection: don't report for factory functions (vor 4 Tagen) <Toshiaki Kameyama>
* 4f4db68a61 - (tag: build-1.4.20-dev-4427) I18N fixes after merging convert initialized val to non-null type inspection (vor 4 Tagen) <Vladimir Dolzhenko>
* eb3bde1538 - (tag: build-1.4.20-dev-4426) Amend test data after adding `Convert assignment to assignment expression` intention (vor 4 Tagen) <Vladimir Dolzhenko>
* 8a7f33f044 - (tag: build-1.4.20-dev-4422) [Commonizer] Fix internal error when TAs have different expanded classes (vor 4 Tagen) <Dmitriy Dolovov>
* d4ef85f6c2 - (tag: build-1.4.20-dev-4418) Amend test data after adding `Convert assignment to assignment expression` intention (vor 4 Tagen) <Vladimir Dolzhenko>
* 16ab11289c - (tag: build-1.4.20-dev-4417) [JS_IR] Enable RangeContainsLowering optimizations. (vor 4 Tagen) <Mark Punzalan>
* 88755a8d20 - (tag: build-1.4.20-dev-4416) [Gradle, JS] Use npm project dir as executable (vor 4 Tagen) <Ilya Goncharov>
* 6db0785615 - (tag: build-1.4.20-dev-4415) Wrap with let: apply to unsafe qualified expression (vor 4 Tagen) <Toshiaki Kameyama>
* 18fbf5729d - (tag: build-1.4.20-dev-4414) Inspection: convert initialized val to non-null type (vor 4 Tagen) <kvirolainen>
* 8b28e54584 - (tag: build-1.4.20-dev-4410) [FIR-IDE] Update tests (vor 4 Tagen) <Pavel Kirpichenkov>
* 177fcefa68 - [FIR-IDE] Minor: refactor completion contributor (vor 4 Tagen) <Pavel Kirpichenkov>
* c3aeaa9052 - (tag: build-1.4.20-dev-4407) Inspection: Simplify Nested forEach/onEach in also/apply to onEach (vor 4 Tagen) <Enteerman>
* 85d99612a2 - (tag: build-1.4.20-dev-4406) Don't create inconsistent types (with contradictive use site and declaration site variances) for star projections with corresponding contravariant type parameters during substitution (vor 4 Tagen) <Victor Petukhov>
* 94970e2d1e - (tag: build-1.4.20-dev-4404) Intention to replace a = b with b.also { a = it } (vor 4 Tagen) <Dereck Bridie>
* e387d56d93 - (tag: build-1.4.20-dev-4402) Drop redundant synchronized from LibraryEffectiveKindProviderImpl (vor 4 Tagen) <Vladimir Dolzhenko>
* d09b20f11d - (tag: build-1.4.20-dev-4400) Inspection to replace !string.isBlank() with string.isNotBlank() (vor 4 Tagen) <Enterman>
* f9a2d01d57 - [FIR] Add UselessCallOnNotNullChecker (vor 4 Tagen) <vldf>
* 548adc29d0 - [FIR] Enter loops in resolve using independent context (vor 4 Tagen) <Mikhail Glukhikh>
* a7da0d5080 - [FIR] Approximate exotic return types for public declarations (vor 4 Tagen) <Mikhail Glukhikh>
* bf918e6184 - FIR: hide local types if needed (vor 4 Tagen) <Jinseong Jeon>
* 9e38e6d051 - [FIR2IR] Intercept exceptions in convertToIrCall to provide more info (vor 4 Tagen) <Mikhail Glukhikh>
* 23e83e8933 - FirClassSubstitutionScope: don't recreate type parameters for unbound f/o (vor 4 Tagen) <Mikhail Glukhikh>
* e8157a5488 - (tag: build-1.4.20-dev-4388) FIR: introduce & use various comparators to sort members while de/serialization (vor 4 Tagen) <Jinseong Jeon>
* 91c021c699 - (tag: build-1.4.20-dev-4385) Add support for mixed named arguments to parameter info popup (vor 4 Tagen) <cketti>
* af6e744b65 - (tag: build-1.4.20-dev-4384) Allow generate toString(), equals(), and hashCode() to include non-default accessors (vor 4 Tagen) <n-p-s>
* 3bf18343f5 - (tag: build-1.4.20-dev-4376) Build: Upgrade gradle to 6.6.1 (vor 4 Tagen) <KotlinIsland>
* 685b74769d - (tag: build-1.4.20-dev-4375) [JVM IR] Fix lineNumber passing into CoroutineTransformer. (vor 4 Tagen) <Roman Artemev>
* 5aca8ebda8 - (tag: build-1.4.20-dev-4366, tag: build-1.4.20-dev-4359, tag: build-1.4.20-dev-4357) Minor, add test case on metadata of lambdas in constructors (vor 5 Tagen) <Alexander Udalov>
* 6b65a2ea7d - JVM_IR: move classes out of lambdas inlined into initializers (vor 5 Tagen) <pyos>
* 9775a2148a - (tag: build-1.4.20-dev-4353) 203: Fix compilation (vor 5 Tagen) <Florian Kistner>
* 9d12df28c1 - (tag: build-1.4.20-dev-4351) [FIR-IDE] Add idea-fir test runtime dep for fir plugin only (vor 5 Tagen) <Pavel Kirpichenkov>
* 26982d1b48 - [FIR-IDE] Use delegating KtScope for type param scope (vor 5 Tagen) <Pavel Kirpichenkov>
* 0d3f1af6e4 - Fix imports after rebase (vor 5 Tagen) <Pavel Kirpichenkov>
* 5ddf62b30f - [FIR-IDE] Use thread-local cache in completion component (vor 5 Tagen) <Pavel Kirpichenkov>
* f229ae413d - [FIR-IDE] Ignore FirMemberTypeParameterScope in KtScopes (vor 5 Tagen) <Pavel Kirpichenkov>
* dc538d420e - [FIR-IDE] Changes after review (vor 5 Tagen) <Pavel Kirpichenkov>
* ec072798b1 - [FIR-IDE] Hack for checking single candidate resolver in tests (vor 5 Tagen) <Pavel Kirpichenkov>
* 2c816d8911 - [FIR-IDE] Introduce resolver for a single candidate (vor 5 Tagen) <Pavel Kirpichenkov>
* c6a338bcdc - (tag: build-1.4.20-dev-4346) Mute broken stepping JVM IR tests (vor 5 Tagen) <Roman Artemev>
* b8d16f3d46 - (tag: build-1.4.20-dev-4344) Add EnclosingMethod information to bytecode listing tests (vor 5 Tagen) <Alexander Udalov>
* d4ecde5cb0 - Minor, don't use token COROUTINES_PACKAGE in bytecode listing tests (vor 5 Tagen) <Alexander Udalov>
* 24aee1cce3 - JVM IR: unmute tests on anonymous objects in inline lambdas (vor 5 Tagen) <Alexander Udalov>
* e7937db8fa - Add link to the online docs to kotlinc's help (vor 5 Tagen) <Alexander Udalov>
* 6b05e1d179 - Add warning to 'kotlinc.bat help' that delimiters need to be escaped (vor 5 Tagen) <Alexander Udalov>
* 2612609664 - (tag: build-1.4.20-dev-4342, tag: build-1.4.20-dev-4335) [JS] Add test for KT-39378 (vor 5 Tagen) <Roman Artemev>
* 3d5ec8aa10 - (tag: build-1.4.20-dev-4334) FIR Completion: Add simple classifiers completion (vor 5 Tagen) <Roman Golyshev>
* 64645c5049 - FIR Completion: Refactor `KotlinAvailableScopesCompletionProvider` (vor 5 Tagen) <Roman Golyshev>
* 0375a19e78 - FIR Completion: Refactor `KotlinAvailableScopesCompletionProvider` (vor 5 Tagen) <Roman Golyshev>
* 1ab246f71e - FIR Completion: Drop `originalPosition` parameter from `getScopeContextForPosition` (vor 5 Tagen) <Roman Golyshev>
* ab5059e08e - FIR Completion: Rename FIR completion classes to be more uniform (vor 5 Tagen) <Roman Golyshev>
* c881347110 - (tag: build-1.4.20-dev-4329) Use correct return type for constructor call when creating EnumDescriptor (vor 5 Tagen) <Leonid Startsev>
* 8b0bb430e7 - Fix multiple serialization plugin problems (vor 5 Tagen) <Leonid Startsev>
* 106d8e74d4 - (tag: build-1.4.20-dev-4324) FIR IDE: unmute passing completion tests (vor 5 Tagen) <Ilya Kirillov>
* 775dc7b135 - FIR IDE: add type parameters support to completion (vor 5 Tagen) <Ilya Kirillov>
* 6d18bb6ba2 - FIR IDE: add type parameters support to scopes (vor 5 Tagen) <Ilya Kirillov>
* c0e9f05921 - FIR: make FirTypeParameterScope to be name aware (vor 5 Tagen) <Ilya Kirillov>
* 7a1b1efef3 - FIR IDE: register missing Java specific components for libraries session (vor 5 Tagen) <Ilya Kirillov>
* 162a2ac7b0 - FIR IDE: fix lazy resolve for non local declaration without containing class (vor 5 Tagen) <Ilya Kirillov>
* 87898021a1 - FIR IDE: introduce multi module lazy resolve tests (vor 5 Tagen) <Ilya Kirillov>
* 8714ad575f - FIR IDE: move FIR IDE completion tests to idea-fir module (vor 5 Tagen) <Ilya Kirillov>
* 7cb3f62f51 - FIR IDE: remove IGNORE_FIR from passing resolve tests (vor 5 Tagen) <Ilya Kirillov>
* 31f2c4a857 - FIR: add fake source element to implicit function return statement (vor 5 Tagen) <Ilya Kirillov>
* 1ccf8bfb67 - FIR IDE: fix completion in function with expression body (vor 5 Tagen) <Ilya Kirillov>
* 7c0467944d - (tag: build-1.4.20-dev-4315) FullPipelineModularizedTest: fix compilation (vor 6 Tagen) <Mikhail Glukhikh>
* 0324c0d02f - FullPipelineModularizedTest: code cleanup (vor 6 Tagen) <Mikhail Glukhikh>
* 9f27bc62c0 - (tag: build-1.4.20-dev-4313) [Gradle, JS] Args should concat after input file (vor 6 Tagen) <Ilya Goncharov>
* fdbc657656 - (tag: build-1.4.20-dev-4312) [IR] Fix `isFileClass` checker (vor 6 Tagen) <Roman Artemev>
* 91b99da7a0 - (tag: build-1.4.20-dev-4311) KT-41313: Only load .jar files when locating annotation processors (vor 6 Tagen) <Ivan Gavrilovic>
* b9bc11d5e0 - (tag: build-1.4.20-dev-4307) [Gradle, JS] Consider custom launcher's base (vor 6 Tagen) <Ilya Goncharov>
* 02b72e16ef - (tag: build-1.4.20-dev-4306) FIR: Temporary weaken required phase in ensureResolvedForCalls (vor 6 Tagen) <Denis Zharkov>
* b0a7960b42 - FIR: Call ensureResolved(TYPES) when computing supertypes of a class (vor 6 Tagen) <Denis Zharkov>
* 8427cc373f - FIR: Fix coroutines related IDE exception from TowerResolveManager (vor 6 Tagen) <Denis Zharkov>
* d532529c30 - FIR: Add workaround for recursive contracts in ensureResolvedForCalls (vor 6 Tagen) <Denis Zharkov>
* 0a1440d80c - FIR: Optimize ensureResolvedForCalls for common case (vor 6 Tagen) <Denis Zharkov>
* 1c0e3b30a2 - FIR: Use return type calculator in FirTypeMismatchOnOverrideChecker (vor 6 Tagen) <Denis Zharkov>
* 992a2d556a - FIR: Add ensureResolved calls for types of sub-expressions (vor 6 Tagen) <Denis Zharkov>
* d05e947d25 - FIR: Ensure resolved callable symbols came out of the declared scopes (vor 6 Tagen) <Denis Zharkov>
* d80caf7dbf - FIR: Extract common code in FirPackageMemberScope (vor 6 Tagen) <Denis Zharkov>
* b4aef21423 - FIR: Simplify API for ensureResolved (vor 6 Tagen) <Denis Zharkov>
* bb84dc2ed4 - FIR: Minor. Extract common parts in FirClassDeclaredMemberScope (vor 6 Tagen) <Denis Zharkov>
* 1cc68762e1 - FIR: Minor. Fix error message (vor 6 Tagen) <Denis Zharkov>
* 4cdc36abb3 - FIR: Drop unused 'phasedFir' callables (vor 6 Tagen) <Denis Zharkov>
* c3c8115163 - FIR: Use explicit version of 'ensureResolved' (vor 6 Tagen) <Denis Zharkov>
* 517056e0c6 - FIR: Do not require specific phase for super-call receiver class (vor 6 Tagen) <Denis Zharkov>
* fcc2abcf40 - FIR: Fix phase requirement for call resolution (vor 6 Tagen) <Denis Zharkov>
* ff182f191e - FIR: Fix some contracts resolutions side-effects (vor 6 Tagen) <Denis Zharkov>
* 67cc85e02b - FIR: Avoid redundant calls to ensureResolved during call resolution (vor 6 Tagen) <Denis Zharkov>
* bf2fc10cd6 - FIR: Extract AbstractFirBasedSymbol::ensureResolved extension (vor 6 Tagen) <Denis Zharkov>
* 2529f541ba - FIR: Prepare refactoring of phasedFir (vor 6 Tagen) <Denis Zharkov>
* 7fe02238ea - (tag: build-1.4.20-dev-4302) [Gradle, JS] Add more information on Gradle exception (vor 6 Tagen) <Ilya Goncharov>
* 076045ce54 - [Gradle, JS] Add test with library mixed with executable and browser/nodejs (vor 6 Tagen) <Ilya Goncharov>
* d238483054 - [Gradle, JS] Add test with library mixed with executable (vor 6 Tagen) <Ilya Goncharov>
* 4a1bccc1e6 - [Gradle, JS] Add test on simple js binary library (vor 6 Tagen) <Ilya Goncharov>
* 9f04d353a0 - [Gradle, JS] Fix test for IR browser distribution (vor 6 Tagen) <Ilya Goncharov>
* 134aa6182e - [Gradle, JS] Process resources into kotlin folder (vor 6 Tagen) <Ilya Goncharov>
* 06a54c87a0 - [Gradle, JS] Compile sync tasks (vor 6 Tagen) <Ilya Goncharov>
* 9729554313 - [Gradle, JS] Node run task for all binaries (vor 6 Tagen) <Ilya Goncharov>
* 7dbde459f0 - [Gradle, JS] Run task for library (vor 6 Tagen) <Ilya Goncharov>
* b4baaed87a - [Gradle, JS] Different distributions for different binaries (vor 6 Tagen) <Ilya Goncharov>
* 8c74a844f2 - [Gradle, JS]] Add custom fields for package.json (vor 6 Tagen) <Ilya Goncharov>
* 2d8b95190e - [Gradle, JS] Outputs for distribution tasks as lazy (vor 6 Tagen) <Ilya Goncharov>
* fe72d46fee - [Gradle, JS] Add types into public package json (vor 6 Tagen) <Ilya Goncharov>
* 39059c103a - [Gradle, JS] Distribution directory as a lazy (vor 6 Tagen) <Ilya Goncharov>
* 82ea324cc1 - [Gradle, JS] DefaultDistribution (vor 6 Tagen) <Ilya Goncharov>
* 53a23169d9 - [Gradle, JS] Node js binaries executable filtering (vor 6 Tagen) <Ilya Goncharov>
* 73dbf6b846 - [Gradle, JS] Add configureLibrary (vor 6 Tagen) <Ilya Goncharov>
* 1318517155 - [Gradle, JS] Add configureLibrary (vor 6 Tagen) <Ilya Goncharov>
* c9ca05b477 - [Gradle, JS] Add distribute resources tasks for all binaries (vor 6 Tagen) <Ilya Goncharov>
* cc25660d7d - [Gradle, JS] Move distributions tasks into abstract subtarget class (vor 6 Tagen) <Ilya Goncharov>
* cae29a5d1c - (tag: build-1.4.20-dev-4300) [IR] Clean up WrappedDescriptors API (vor 6 Tagen) <Roman Artemev>
* c7b57c0fb3 - [IR] Use only empty constructor to create WrappedDescriptor (vor 6 Tagen) <Roman Artemev>
* fd88914cf9 - [IR] Remove some descriptor usage from Common/JS/JVM backends (vor 6 Tagen) <Roman Artemev>
* 8cb8284957 - (tag: build-1.4.20-dev-4296) EnhancedNullability annotation in IR (vor 6 Tagen) <Dmitry Petrov>
* 0bff406a12 - (tag: build-1.4.20-dev-4292) [JS IR] Add infra to test compilation with error (vor 6 Tagen) <Roman Artemev>
* e592b3af1d - [JS IR] Fix CallsLowering's* (vor 6 Tagen) <Roman Artemev>
* 7a6415dc53 - [JS IR] Enable IrError element's lowerings in JS (vor 6 Tagen) <Roman Artemev>
* 4dca3715fa - [JS IR | IR] Implement error element lowering to support compilation with errors (vor 6 Tagen) <Roman Artemev>
* 14b5424583 - [JS IR] Support translation of IrError* elements (vor 6 Tagen) <Roman Artemev>
* 1fd5c1cc65 - [IR] Support IrErrorType & IrErrorDeclaration in ir mangler (vor 6 Tagen) <Roman Artemev>
* 9c36487077 - [IR] Disable mangle checker for IrErrorDeclarations (vor 6 Tagen) <Roman Artemev>
* 563af709a8 - [Psi2Ir] Fix generation of IrError* nodes (vor 6 Tagen) <Roman Artemev>
* a60782f3df - [JS IR] Add CLI argument to setup error tolerance policy (vor 6 Tagen) <Roman Artemev>
* 8a810e2a5e - [JS IR] Add runtime API to throw ISE in case of compiled code with errors (vor 6 Tagen) <Roman Artemev>
* b3199d14b8 - FIR IDE: Use correct property-by-package index in `KtFirPackageScope` (vor 6 Tagen) <Roman Golyshev>
* 5180a65f0b - FIR Completion: Use proper types rendering (vor 6 Tagen) <Roman Golyshev>
* 7649043479 - (tag: build-1.4.20-dev-4285) FIR IDE: Set correct source for the function built in the air (vor 6 Tagen) <Roman Golyshev>
* 90c89bddc5 - FIR IDE: Add collecting scopes for declarations (vor 6 Tagen) <Roman Golyshev>
* 76eb5d46f4 - FIR IDE: Add `FirTowerDataContextCollector` class (vor 6 Tagen) <Roman Golyshev>
* 9c217e3d99 - (tag: build-1.4.20-dev-4284) Reuse revised variables during lambda analysis against type variables (vor 6 Tagen) <Mikhail Zarechenskiy>
* 011bb0924a - (tag: build-1.4.20-dev-4277) [FIR-IDE] Introduce `FirIdeSessionFactory` for creating ide sessions (vor 6 Tagen) <Dmitriy Novozhilov>
* cb47e631f8 - [FIR] Move extended checkers containers to `:compiler:fir:entrypoint` (vor 6 Tagen) <Dmitriy Novozhilov>
* f14efedc3d - [FIR] Fix broken gradle compilation (vor 6 Tagen) <Dmitriy Novozhilov>
* c250912ee0 - [FIR-TEST] Use FirAnalyzerFacade in BB and Fir2IrText tests (vor 6 Tagen) <Dmitriy Novozhilov>
* a4e24ca3dc - [FIR] Introduce FirAnalyzerFacade which hides implementation details of running FIR compiler (vor 6 Tagen) <Dmitriy Novozhilov>
* 6db8c28291 - [FIR] Refactor session components initialization (vor 6 Tagen) <Dmitriy Novozhilov>
* 2819bd3aaf - [FIR] Get rid of deprecated extension point registration methods usage (vor 6 Tagen) <Dmitriy Novozhilov>
* cf224b4de9 - [FIR] Add `createEmptySession` to `FirSessionFactory` for testing purposes (vor 6 Tagen) <Dmitriy Novozhilov>
* a8d23c36f5 - [FIR] Introduce module `:fir:entrypoint` and `FirSessionFactory` for creating sessions (vor 6 Tagen) <Dmitriy Novozhilov>
* 94d58c714a - [FIR] Cleanup dependencies for fir modules (vor 6 Tagen) <Dmitriy Novozhilov>
* 73e2314f2f - [FIR] Get rid of dependency on intellijCore from :compiler:fir:resolve (vor 6 Tagen) <Dmitriy Novozhilov>
* 18ad56f7a8 - [FIR] Fix creating fake source elements in declarations resolve (vor 6 Tagen) <Dmitriy Novozhilov>
* 28e6050551 - [FIR] Extract java synthetic names calculation to platform specific component (vor 6 Tagen) <Dmitriy Novozhilov>
* 375140ebcc - [FIR] Extract java class mapping to platform specific component (vor 6 Tagen) <Dmitriy Novozhilov>
* a0b931792e - Move `annotationsForResolve.kt` to :core:compiler.common (vor 6 Tagen) <Dmitriy Novozhilov>
* 07c353973d - Move `requireOrDescribe` to :core:compiler.common (vor 6 Tagen) <Dmitriy Novozhilov>
* f010dc533c - Move `Variance.convertVariance` to :core:compiler.common (vor 6 Tagen) <Dmitriy Novozhilov>
* e164c88a14 - Move TypeSystemCommonBackendContext to :core:compiler.common (vor 6 Tagen) <Dmitriy Novozhilov>
* 3379d9b619 - [FIR] Extract java related effective visibility calculation to platform component (vor 6 Tagen) <Dmitriy Novozhilov>
* ed4c6a38b6 - [FIR] Move deserialization files to module :compiler:fir:fir-deserialization (vor 6 Tagen) <Dmitriy Novozhilov>
* ca031f7ace - [FIR] Split ResolveUtils.kt from :resolve to separate files (vor 6 Tagen) <Dmitriy Novozhilov>
* 6ace4164ff - [FIR] Split TypeUtils from :resolve to :cones and :tree modules (vor 6 Tagen) <Dmitriy Novozhilov>
* 92ffa4dea9 - [FIR] Replace KotlinScopeProvider with FirScopeProvider in ClassDeserialization (vor 6 Tagen) <Dmitriy Novozhilov>
* 3aa13362ca - (tag: build-1.4.20-dev-4276) [FIR2IR] Replace NPE in setThisReceiver with more detailed exception (vor 6 Tagen) <Mikhail Glukhikh>
* 65739c50d3 - FIR full pipeline test: output build status per-module (vor 6 Tagen) <Mikhail Glukhikh>
* 2979c37001 - (tag: build-1.4.20-dev-4274) [NI] Fix resolution status for UnstableSmartCastDiagnostic (vor 6 Tagen) <Pavel Kirpichenkov>
* 5e71068e61 - (tag: build-1.4.20-dev-4271) [IR] Handled degenerate cases of IrStringConcatenation (vor 6 Tagen) <Igor Chevdar>
* 74dce725cc - (tag: build-1.4.20-dev-4270) [Commonizer] Tests for missed supertypes in commonized type aliases (vor 6 Tagen) <Dmitriy Dolovov>
* 96736b0126 - [Commonizer] Add missed supertypes in commonized type aliases (vor 6 Tagen) <Dmitriy Dolovov>
* e21d99334b - [Commonizer] Lookup common descriptors that don't participate in commonization (for tests only) (vor 6 Tagen) <Dmitriy Dolovov>
* ed78169051 - [Commonizer] README: Describe the case when target is not available (vor 6 Tagen) <Dmitriy Dolovov>
* 56f0fb6c70 - (tag: build-1.4.20-dev-4260) Prevent test failures because of Leaked Android SDK (vor 7 Tagen) <Nikolay Krasko>
* 78ab957bfe - (tag: build-1.4.20-dev-4256) JVM IR: Fix mangling for suspend functions with inline class params (KT-41374) (vor 7 Tagen) <Steven Schäfer>
* 48a3d4b8e0 - (tag: build-1.4.20-dev-4247) [ULC] Add recursion guard to getLightClass (vor 7 Tagen) <Igor Yakovlev>
* 873224dfbc - (tag: build-1.4.20-dev-4246) [NI] Use new type substitutor for known type parameters (vor 7 Tagen) <Pavel Kirpichenkov>
* c706673de9 - (tag: build-1.4.20-dev-4245) Minor, refactor bytecode text tests on when-over-string optimization (vor 7 Tagen) <Alexander Udalov>
* a639915a34 - (tag: build-1.4.20-dev-4234, tag: build-1.4.20-dev-4231) JVM IR: do not mangle property accessors of unsigned types in annotations (vor 7 Tagen) <Alexander Udalov>
* 1e360d9c91 - (tag: build-1.4.20-dev-4229) [FIR2IR] Pass type context for type argument conversion properly (vor 7 Tagen) <Mikhail Glukhikh>
* 04af6846a7 - FIR2IR: handle more vararg spreads for adapted callable references (vor 7 Tagen) <Jinseong Jeon>
* 5efabe063e - [FIR] Fix JVM mapped function callable id (vor 7 Tagen) <Mikhail Glukhikh>
* db815c96c5 - [FIR] Substitute copied type parameters in fake override properties (vor 7 Tagen) <Mikhail Glukhikh>
* dc9306367a - FirClassSubstitutionScope: reorder companion functions (vor 7 Tagen) <Mikhail Glukhikh>
* 5ad453d927 - [FIR] Substitute copied type parameters in fake override functions (vor 7 Tagen) <Mikhail Glukhikh>
* 458f89ef33 - [FIR] Signature composer: return null signature for local declarations (vor 7 Tagen) <Mikhail Glukhikh>
* 02b6f34067 - [FIR2IR] Add extension receiver parameter to delegated members (vor 7 Tagen) <Mikhail Glukhikh>
* 22c63c4e80 - [FIR2IR] Add supertypes to delegated member type parameters (vor 7 Tagen) <Mikhail Glukhikh>
* 9ad55a0ee3 - [FIR2IR] Don't create list under the hood in DelegatedMemberGenerator (vor 7 Tagen) <Mikhail Glukhikh>
* 5384ccf02f - [FIR] Introduce & use FirDelegatedMemberScope (vor 7 Tagen) <Mikhail Glukhikh>
* f0af930288 - [FIR] Eliminate unused FirDelegatedTypeRef (vor 7 Tagen) <Mikhail Glukhikh>
* ede910065a - [FIR] Add problematic resolve test case with delegated super call (vor 7 Tagen) <Mikhail Glukhikh>
* 3f5beb77e8 - [FIR2IR] Cache delegatable members properly (vor 7 Tagen) <Mikhail Glukhikh>
* 1e712f8398 - (tag: build-1.4.20-dev-4226) IR: remove IrElementVisitorVoidWithContext (vor 7 Tagen) <Alexander Udalov>
* 5e48be3d11 - (tag: build-1.4.20-dev-4225) Add a fallback flag -Xno-unified-null-checks for KT-22275 (vor 7 Tagen) <Alexander Udalov>
* 40669350f7 - (tag: build-1.4.20-dev-4221) Wizard: navigate to wizard help page when clicking help button (vor 7 Tagen) <Ilya Kirillov>
* fa847d758d - Wizard: use compileKotlin for groovy instead of direct KotlinCompile task access (vor 7 Tagen) <Ilya Kirillov>
* e672f5f8e3 - (tag: build-1.4.20-dev-4217) [Wizard, JS] Remove duplicating descriptions (vor 7 Tagen) <Ilya Goncharov>
* 554c67cd1d - [Wizard, JS] Add descriptions to wizard options (vor 7 Tagen) <Ilya Goncharov>
* af35b6c3c8 - (tag: build-1.4.20-dev-4210) Provide icons to Kotlin Light-elements (KT-26235) (vor 7 Tagen) <Nicolay Mitropolsky>
* 527de030fc - (tag: build-1.4.20-dev-4206) [box-tests] Turned on some tests for K/N (vor 7 Tagen) <Igor Chevdar>
* ab54e43b00 - [IR] Commonized SAM equals/hashCode builder (vor 7 Tagen) <Igor Chevdar>
* 12ddd137bc - [IR] Moved isLambda to common IR utils (vor 7 Tagen) <Igor Chevdar>
2020-09-07 22:21:20 +02:00
Louis CAD 3ed21cfd0c Fix macOS minimum version in README 2020-09-07 17:49:05 +03:00
SvyatoslavScherbina 94cc0a2415 Increase timeout in worker11 test
(with current timeout the test is false positive on MIPS32 emulator)
2020-09-07 15:02:25 +03:00
LepilkinaElena 9b727bdd9d Deployment fixes for performance monitoring system (#4356) 2020-09-07 14:16:34 +03:00
Igor Chevdar 257590971c [IR] Adopted FlattenStringConcatenation lowering 2020-09-07 12:35:52 +03:00
Sergey Bogolepov d36f05b85d Remove KT-41291 from changelog for 1.4.10
The fix was removed.
2020-09-04 15:06:41 +07:00
Sergey Bogolepov c8d61b7415 Changelog for 1.4.10 (#4350)
* Changelog for 1.4.10
2020-09-04 14:57:13 +07:00
Svyatoslav Scherbina 9cfa98c416 Handle more tricky characters in deprecation message in ObjCExport 2020-09-03 11:10:54 +03:00
Svyatoslav Scherbina b1a9715907 Handle newline character in deprecation message in ObjCExport
#KT-39206 Fixed
2020-09-03 11:10:54 +03:00
Igor Chevdar fac1cf189c [IR] Refactored StringConcatenationLowering 2020-09-02 11:22:58 +03:00
Igor Chevdar c7252a2d8c [IR] Copied string concat lowering back to K/N
It is only used in K/N backend - no reason to keep it in the common part
2020-09-02 11:22:58 +03:00
Vasily Levchenko b604b58223 [debugger][bindings] don't enter to recursion on type info calculation (KT-41291)
KT-41291
2020-09-01 08:23:03 +02:00
Vasily Levchenko 56c8a2e190 [IR][linker][plugin api] adaptation a095909d5c
[Plugin API] Provide special context in EP for link-time resolve

     - requires to customize declarations from synthetic declarations
2020-08-31 19:37:35 +02:00
Vasily Levchenko f70d300f77 [build][jar-collision] added META-INF/compiler.common.kotlin_module 2020-08-31 19:37:35 +02:00
Vasily Levchenko 19e6e1a89c [descriptor][core][common] adaptation set of refactorings
7a7fe77b8e: Move static constants with builtin names to :core:descriptors.common module
45cf221b97: Move util functions from KotlinBuiltIns to :core:descriptors.common module
a764732020: Rename `KotlinBuiltInsNames` to `StandardNames`
2020-08-31 19:37:35 +02:00
Vasily Levchenko cb9a35506c [descriptor][core][common] adaptation 20a2ad8223
Move FunctionClassDescriptor.Kind to :core:descriptors.common module
2020-08-31 19:37:35 +02:00
Roman Artemev e0ff5ca30a [IR] Drop irProviders from stub generator (corresponding fix for K/N)
(cherry picked from commit 6644c890f562564d514fb06321ee81fb5c656618)
2020-08-31 19:37:35 +02:00
Alexander Udalov ddb5588258 IR: undeprecate IrUninitializedType
It's no longer a temporary hack, see the comment.

(cherry picked from commit a3f3c4543f545eae76d322d5ae697347c94528cc)
2020-08-31 19:37:35 +02:00
Pavel Punegov 75dc0643c9 Merge fixup
(cherry picked from commit c7ce1a400e830ac7add79e9e0e42d2089e94e71f)
2020-08-31 19:37:35 +02:00