Commit Graph

76758 Commits

Author SHA1 Message Date
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
Steven Schäfer 4792be2522 JVM IR: Optimize static property references (KT-36975) 2020-09-07 21:01:29 +02:00
Alexander Udalov 669fda6b77 Do not add duplicate $completion when compiling JVM against JVM_IR
This change fixes JvmOldAgainstIrBoxInlineTestGenerated.Suspend and
JvmIrAgainstOldBoxInlineTestGenerated.Suspend tests.
2020-09-07 19:41:38 +02:00
Alexander Udalov ae448ececb Minor, add compileKotlinAgainstKotlin test case for KT-41374 2020-09-07 19:41:37 +02:00
Alexander Udalov 9e357354fb Add JVM/JVM_IR mixed compilation tests for compileKotlinAgainstKotlin/boxInline 2020-09-07 19:41:37 +02:00
Alexander Udalov e324733b01 Tests: accept TargetBackend in KotlinBaseTest.createConfiguration 2020-09-07 19:41:37 +02:00
Alexander Udalov 0dea6b94c6 JVM IR: unmute boxInline tests on enclosing method/class
In box tests, only check that Java reflection does not crash on the
EnclosingMethod attribute generated in these classes. If it doesn't
crash, most likely it returns the value that can be read from the class
file by ASM, which is what the newly added bytecode listing tests are
checking now.
2020-09-07 19:41:37 +02:00
Ilya Goncharov 985088a3f1 [Gradle, JS] Add test on dukat with both mode 2020-09-07 19:29:17 +03:00
Ilya Goncharov b694e3b009 [Gradle, JS] Dukat with both create externals only once 2020-09-07 19:29:17 +03:00
Ilya Goncharov 210cd982f0 [Gradle, JS] Use webpack config's required dependencies in karma
^KT-41663 fixed
^KT-41662 fixed
2020-09-07 18:56:47 +03:00
Pavel Kirpichenkov b5aca450b1 Make cancellation checks when building resolution anchor caches
^KT-39734
2020-09-07 18:52:10 +03:00
Pavel Kirpichenkov 54811613f4 Minor: drop unnecessary wrapper for utility function
^KT-39734
2020-09-07 18:52:10 +03:00
Pavel Kirpichenkov 1ff064d98d Make Kotlin OOCBM updater for modules internal again
Replace direct API access with dedicated service.
2020-09-07 18:52:10 +03:00
Pavel Kirpichenkov 9d6bdc6fc4 Support modification tracking for source-dependent LibraryInfo
#KT-39734
2020-09-07 18:52:10 +03:00
Pavel Kirpichenkov 6abd708d42 Preserve order entry to module info mapping in IdeaModelInfosCache 2020-09-07 18:52:10 +03:00
Pavel Kirpichenkov 24d8aee2bb Prioritize resolution anchors during resolution
When required dependency is present both in source dependencies and in
library dependencies, the former one should be selected.

#KT-24309
2020-09-07 18:52:10 +03:00
Pavel Kirpichenkov f8ee976720 Use union of all available descriptors in composite importing scope 2020-09-07 18:52:10 +03:00
Pavel Kirpichenkov 5892bdf3f4 Extend import resolution for library-to-source analysis
Use composite importing scope for references when resolution anchors are enabled.
Composite scope provides additional descriptors from scope of resolution anchor module.
Overriding old importing scope with a new one is not possible as it breaks library
dependencies on other libraries, which are inaccessible in anchor scope (scope for sources).

KT-24309 In Progress
2020-09-07 18:52:10 +03:00
Roman Golyshev 8c876e4621 FIR IDE: Get rid of originalPosition in KtFirCompletionCandidateChecker 2020-09-07 18:46:38 +03:00
Roman Golyshev 828fc2520c FIR IDE: Refactor KtFirCompletionCandidateChecker
- Move searching for the `originalEnclosingFunction`
to the `getImplicitReceivers`
2020-09-07 18:18:02 +03:00
Louis CAD 3ed21cfd0c Fix macOS minimum version in README 2020-09-07 17:49:05 +03:00
Pavel Kirpichenkov 33ac487a42 [FIR-IDE] Fix leaking KtAnalysisSession 2020-09-07 17:40:18 +03:00
Roman Golyshev 909d418dd1 Improve diagnostics in KtElementImplStub::getContainingKtFile
- If containing file is not a `PsiFileImpl`, `getNode()` will
throw a CCE (which will prevent collecting the diagnostics)
- Relates to #EA-209630
2020-09-07 14:36:09 +00:00
Dmitry Petrov 5b53663eb8 PSI2IR KT-41181 don't generate deep trees in hashCode 2020-09-07 16:09:42 +03:00
Dmitry Petrov ade1a346e1 JVM: add test for KT-40123 2020-09-07 16:09:42 +03:00
Vladimir Ilmov 45c67a90c2 (CoroutineDebugger) Disposing under IW lock.
#KT-41505 fixed
2020-09-07 14:50:07 +02: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
Sebastian Kaspari 01143f24a4 Add KotlinClassConstructorInfoHandler for showing parameter info of parameterized super class constructor.
^KT-41617 Fixed
2020-09-07 13:23:08 +02:00
LepilkinaElena 9b727bdd9d Deployment fixes for performance monitoring system (#4356) 2020-09-07 14:16:34 +03:00
Pavel Kirpichenkov d674f519fd [FIR-IDE] Fix completion check for generic extensions
Generic candidate extensions are completed in partial mode
when there is not enough information for type parameter in return position.
Partial completion mode in single candidate resolver leads to unconditionally failing candidate.
Providing noExpectedType instead of null guarantees full completion.
2020-09-07 13:38:11 +03:00
Vladimir Ilmov 60dfa8cc84 Ignore ProcessCancelledException in VirtualFileKotlinClass 2020-09-07 12:17:06 +02:00
Vladimir Dolzhenko 3de32e13ea Clean up declarationAccessorNames debug check in UnusedSymbolInspection
declarationAccessorNames(KtNamedDeclaration) could be more than declaration.getAccessorNames() as it relies on LC, some of them could be not accessible

^EA-237873 Fixed
2020-09-07 09:36:28 +00:00
Vladimir Dolzhenko 127257aa27 Provide setter-method for LC for private property setter
^KT-41694 Fixed
2020-09-07 09:36:28 +00:00
Vladimir Dolzhenko b5b319803b Add more diagnostics to tackle exception in KotlinFunctionParameterInfoHandler
Relates to #EA-221900
2020-09-07 09:36:27 +00:00
Vladimir Dolzhenko 87e70cf690 Handle project disposed in ScriptDefinitionsManager
^EA-237136 Fixed
2020-09-07 09:36:26 +00:00
Vladimir Dolzhenko 4e3b1f141e Use runReadActionInSmartMode instead of runReadAction in ConfigureKotlinInProjectUtils
runReadActionInSmartMode has no effect if it is already run under runReadAction - therefore it could lead to IndexNotReadyException

^EA-220414 Fixed
^EA-210940 Fixed
^KT-30929 Fixed
2020-09-07 09:36:26 +00:00
Vladimir Dolzhenko 02be470e91 Check if vFile is still valid in ScriptClassRootsUpdater#updateHighlighting
^EA-218774 Fixed
2020-09-07 09:36:25 +00:00
Vladimir Dolzhenko ba027a785c Fix NPE in GradleScriptInfo
^EA-237746 Fixed
2020-09-07 09:36:24 +00:00
Vladimir Dolzhenko 698f51079f Perform paste reference resolve in smart mode
^EA-226712 Fixed
2020-09-07 09:36:24 +00:00
Igor Chevdar 257590971c [IR] Adopted FlattenStringConcatenation lowering 2020-09-07 12:35:52 +03:00
Dmitry Petrov b00ce872ea JVM: record JVM signature for equals/hashCode/toString in inline classes 2020-09-07 12:25:50 +03:00
Lilia 38975e4e7c Add changelog for 1.4.10 2020-09-06 19:10:42 +07:00
cketti 7755d9fe24 Mark used parameters as disabled in parameter info popup
When using named arguments the IDE might be unable to map the current
argument to a parameter. In that case mark already used parameters as
disabled. That way developers can easily see which parameters have not
been used yet.

^KTIJ-128 Fixed
2020-09-05 23:17:46 +02:00
Yaroslav Chernyshev 81339d54eb Added :core:compiler.common.jvm and :compiler:resolution.common.jvm
dependencies to pill importer
2020-09-05 10:56:55 +03:00