Commit Graph

6078 Commits

Author SHA1 Message Date
Svyatoslav Scherbina 76d0b896af Add comments about exception handling to ObjCExport headers 2020-06-01 13:02:16 +03:00
Svyatoslav Scherbina d5cbfd5420 Support implicit @Throws(CancellationException::class) in ObjCExport 2020-06-01 13:02:16 +03:00
Abduqodiri Qurbonzoda 7978f0ac8d Mark old utf8 conversion with deprecation error (#4199) 2020-05-31 16:32:45 +03:00
Igor Chevdar 3ac7a59b97 [IR] Moved up a lowering
This concerns NothingValueExceptionLowering - it must be run before the
suspend functions lowering (see codegen/coroutines/returnsNothing1 why)
2020-05-30 06:39:52 +03:00
Igor Chevdar 73fc92a2b5 [IR] Adopted KotlinNothingValueExceptionLowering 2020-05-27 07:47:25 +03:00
SvyatoslavScherbina 23d38bddaa Add CancellationException to all @Throws suspend fun in tests
As this is required by frontend now.
2020-05-27 01:02:27 +03:00
Vasily Levchenko a67cc28a26 [kotlin compiler][update] 1.4.0-dev-9010
* 574b917061 - (tag: build-1.4.0-dev-9010, origin/rr/ic/compiler-deps) Remove new kotlin daemon from dist (vor 17 Stunden) <Ilya Chernikov>
* 3dd79ffea6 - Update coroutines-core version to 1.3.7 (vor 17 Stunden) <Ilya Chernikov>
* 9d98c90881 - Drop coroutines from compiler jar, add appropriate plugin dependency (vor 17 Stunden) <Ilya Chernikov>
* 343e519f7f - (tag: build-1.4.0-dev-9005) [FIR-PLUGIN] Update testdata according removed class generation stage (vor 19 Stunden) <Dmitriy Novozhilov>
* e340dacb9a - [FIR-PLUGIN] Add check to test that jar with annotations exists (vor 19 Stunden) <Dmitriy Novozhilov>
* d49c198a7f - [FIR] Correctly initialize extensions in all sessions (vor 19 Stunden) <Dmitriy Novozhilov>
* 96da6d35c5 - [FIR] Add processor for transforming statuses with plugins (vor 19 Stunden) <Dmitriy Novozhilov>
* 8d686226c7 - [FIR] Introduce FirResolveProcessors (vor 19 Stunden) <Dmitriy Novozhilov>
* 96802dde04 - [FIR-PLUGIN] Fix compilation (vor 19 Stunden) <Dmitriy Novozhilov>
* 3de12f9b09 - [FIR] Completely remove old extensions service (vor 19 Stunden) <Dmitriy Novozhilov>
* 9a8d520b85 - [FIR] Remove first version of class generation transformer (vor 19 Stunden) <Dmitriy Novozhilov>
* 3e3387fb69 - [FIR] Remove extension status transformation from status resolve (vor 19 Stunden) <Dmitriy Novozhilov>
* 006232dfb2 - [FIR] Fix FirPluginAnnotationsResolveTransformer (vor 19 Stunden) <Dmitriy Novozhilov>
* 206a646195 - [FIR] Use caches for predicate matching (vor 19 Stunden) <Dmitriy Novozhilov>
* 594a854b4e - [FIR] Reimplement FirExtensionService (vor 19 Stunden) <Dmitriy Novozhilov>
* 846db641be - [FIR] Make ArrayMap iterable (vor 19 Stunden) <Dmitriy Novozhilov>
* 5c12b3df95 - [FIR] Introduce FirPredicateBasedProvider (vor 19 Stunden) <Dmitriy Novozhilov>
* 0b00015424 - [FIR] Deprecate FirExtensionsService (vor 19 Stunden) <Dmitriy Novozhilov>
* f3d4fa715e - [FIR] Introduce DeclarationPredicates for matching declarations for extensions (vor 19 Stunden) <Dmitriy Novozhilov>
* 74353d8bc9 - [FIR] Introduce `FirAnnotatedDeclaration` (vor 19 Stunden) <Dmitriy Novozhilov>
* 799253256c - [FIR-PLUGIN] Add additional checker to prototype plugin (vor 19 Stunden) <Dmitriy Novozhilov>
* f764baad82 - [FIR] Add extension with additional checkers (vor 19 Stunden) <Dmitriy Novozhilov>
* 04a1027b39 - [FIR] Add empty instances of `DeclarationCheckers` and `ExpressionCheckers` (vor 19 Stunden) <Dmitriy Novozhilov>
* c0a57ae55c - [FIR] Move expression checkers from package `call` to `expression` (vor 19 Stunden) <Dmitriy Novozhilov>
* 6d6ed1e755 - [FIR] Create session component with registered checkers (vor 19 Stunden) <Dmitriy Novozhilov>
* b61b4e4a97 - (tag: build-1.4.0-dev-9002) Use proper `distributionSha256Sum` for android tests (vor 21 Stunden) <Mikhail Bogdanov>
* bfad00e8c9 - (tag: build-1.4.0-dev-8982) Mute android-related gradle import tests (vor 2 Tagen) <Andrey Uskov>
* 22c4d30a89 - (tag: build-1.4.0-dev-8981) Correct docs of ThreadLocal and SharedImmutable annotations (vor 2 Tagen) <Ilya Gorbunov>
* dae7a23998 - Clarify docs of CharSequence.split(Pattern, limit) (vor 2 Tagen) <Ilya Gorbunov>
* f3145454f2 - (tag: build-1.4.0-dev-8966) Decommonize collection builder implementations (vor 2 Tagen) <Abduqodiri Qurbonzoda>
* 379c6944a2 - (tag: build-1.4.0-dev-8958) NI: extract diagnostics from partially resolved call instead of separately handling it including running all checks (vor 3 Tagen) <Victor Petukhov>
* eaa16714f6 - (tag: build-1.4.0-dev-8950, origin/rr/gradle/matveev/partially-fix-KT-32476) [Gradle, native] Allow disabling warning about incorrect dependencies (vor 3 Tagen) <Ilya Matveev>
* c9adf22697 - (tag: build-1.4.0-dev-8944) [JS] Remove binding context from NameSuggestion instance (vor 3 Tagen) <Svyatoslav Kuzmich>
* 104352b313 - (tag: build-1.4.0-dev-8927) [Gradle, JS] Remove browser tests from gradle integration tests (vor 3 Tagen) <Ilya Goncharov>
* 6e3d3831c2 - (tag: build-1.4.0-dev-8918) [JS] JsExport diagnostics and legacy support (vor 3 Tagen) <Svyatoslav Kuzmich>
* 4076bf40a9 - (tag: build-1.4.0-dev-8914, tag: build-1.4.0-dev-8913) [Commonizer] Add Gradle property to pass JVM args (vor 3 Tagen) <Dmitriy Dolovov>
* 2a1e014d51 - Minor. Add jetbrains to project dictionary (vor 3 Tagen) <Dmitriy Dolovov>
* c736a1e5b0 - (tag: build-1.4.0-dev-8910) [Spec tests] Update testsMap for when-expression section (vor 3 Tagen) <anastasiia.spaseeva>
* d9160a26e9 - [Spec tests] Add property `helpers` to testMaps (vor 3 Tagen) <anastasiia.spaseeva>
* cbba52e43c - [Spec tests] Make collectInfoFromTests for both spec and implementation tests (vor 3 Tagen) <anastasiia.spaseeva>
* 270972ca1c - [Spec tests] Make main link nullable for case if implementation tests don't have this one (vor 3 Tagen) <anastasiia.spaseeva>
* 3a46b5a45a - [Spec tests] Add path element at testMaps for main links also (vor 3 Tagen) <anastasiia.spaseeva>
* d94c212a60 - [Spec tests] Add linkType element to testMaps (vor 3 Tagen) <anastasiia.spaseeva>
* 3a31150df4 - [Spec tests] Metadata refactoring: remove duplicated links in testMaps (vor 3 Tagen) <anastasiia.spaseeva>
* d32aca87d1 - [Spec tests] Change metadata structure of implementation and spec tests (vor 3 Tagen) <anastasiia.spaseeva>
* 80cd26c9df - (tag: build-1.4.0-dev-8897) [FIR] Support several annotation class diagnostics (vor 4 Tagen) <Mikhail Likholetov>
* c112d37ac1 - (tag: build-1.4.0-dev-8896) Consolidate resolving in the new lib, deprecate it in script-util (vor 4 Tagen) <Ilya Chernikov>
* 7d426226f9 - Switch example to the new maven resolving API (vor 4 Tagen) <Ilya Chernikov>
* f363134fbc - Do not continue compilation if collected dependencies contain error (vor 4 Tagen) <Ilya Chernikov>
* d92e4d28f5 - Provide a method to update script definitions after loading into IDE (vor 4 Tagen) <Ilya Chernikov>
* 4b032a14af - Refactor host configuration handling and script definition creation (vor 4 Tagen) <Ilya Chernikov>
* 255ad47406 - Use copied key to extract default jdkHome from host configuration (vor 4 Tagen) <Ilya Chernikov>
* 20bbcd5d5a - Implement copied key with ability to take default from source config (vor 4 Tagen) <Ilya Chernikov>
* 3c9207a2cd - (tag: build-1.4.0-dev-8895) [Gradle, JS] Add test on local project dependency (vor 4 Tagen) <Ilya Goncharov>
* 985623eac5 - [Gradle, JS] Fix hmpp on only js (vor 4 Tagen) <Ilya Goncharov>
* bed7b23d6c - [Gradle, JS] Fix naming of test and test data (vor 4 Tagen) <Ilya Goncharov>
* d089bbe14a - [Gradle, JS] Fix for JsIrTarget in mixed mode (vor 4 Tagen) <Ilya Goncharov>
* 79984b6e04 - [Gradle, JS] Add test on hmpp with both js (vor 4 Tagen) <Ilya Goncharov>
* a6812e5d6a - [Gradle, JS] Add fake common usage context for single js plugin publish (vor 4 Tagen) <Ilya Goncharov>
* 4f747072f4 - [Gradle, JS] Define fake configuration for single js plugin to publish as common (vor 4 Tagen) <Ilya Goncharov>
* 22f5d3b134 - [Gradle, JS] Add isMpp property (vor 4 Tagen) <Ilya Goncharov>
* 0b33e9430b - (tag: build-1.4.0-dev-8891) [NI] Report unstable smart cast directly instead of using SmartCastManager (vor 4 Tagen) <Pavel Kirpichenkov>
* b808d5f381 - (tag: build-1.4.0-dev-8888) TrailingCommaInspection: cleanup code (vor 4 Tagen) <Dmitry Gridin>
* ee141ae57b - TrailingCommaInspection: add dependency to settings (vor 4 Tagen) <Dmitry Gridin>
* 8d77ec83c6 - (tag: build-1.4.0-dev-8884) [Gradle, native] Don't set system properties when the compiler runs in daemon (vor 4 Tagen) <Ilya Matveev>
* f88722ae76 - Update K/N: 1.4-M3-dev-15627 (vor 4 Tagen) <Ilya Matveev>
* a83b0bef96 - (tag: build-1.4.0-dev-8881, origin/rr/fedochet/KT-38841/fixing-intention-preview) KT-38841 Do not call `preparePsiElementForWrite` if not needed (vor 4 Tagen) <Roman Golyshev>
* b89878a509 - (tag: build-1.4.0-dev-8878) Update testData for KAPT tests for new inline class ABI (vor 4 Tagen) <Dmitry Petrov>
* 7a947e8008 - (tag: build-1.4.0-dev-8863) FIR: fix default constructor visibility for enum entry. (vor 4 Tagen) <Jinseong Jeon>
* 0d3301b695 - FIR: resolve local class in anonymous initializer. (vor 4 Tagen) <Jinseong Jeon>
* 2ff5b253ae - (tag: build-1.4.0-dev-8856) [NI] Fix suspend conversions for subtypes of functional types (vor 5 Tagen) <Mikhail Zarechenskiy>
* 3903814c9c - (tag: build-1.4.0-dev-8854) Revert "KT-38841 Remove redundant `preparePsiElementForWrite` call" (vor 5 Tagen) <Roman Golyshev>
* 12db3d6e83 - (tag: build-1.4.0-dev-8852) NI: remove separation of variable fixation order by constraint kind (vor 5 Tagen) <Victor Petukhov>
* 874fa5b998 - (tag: build-1.4.0-dev-8848, tag: build-1.4.0-dev-8832) Bootstrap: 1.4.0-dev-8798 (vor 5 Tagen) <Dmitry Petrov>
* 165b62da63 - (tag: build-1.4.0-dev-8829) KT-38841 Remove redundant `preparePsiElementForWrite` call (vor 5 Tagen) <Roman Golyshev>
* 933440dc63 - (tag: build-1.4.0-dev-8824) JVM IR: Fix mangling of @JvmStatic internal function in companion objects (vor 5 Tagen) <Steven Schäfer>
* 2d0445ebaa - (tag: build-1.4.0-dev-8818) Add klib extension to ARCHIVE fileType (vor 5 Tagen) <Vladimir Dolzhenko>
* fceaf65729 - (tag: build-1.4.0-dev-8812) [NI] Don't compute conversions for definitely not SAM parameter (vor 5 Tagen) <Mikhail Zarechenskiy>
* 8bdc4d34f7 - [NI] Commonize type-conversions (SAM/Suspend) (vor 5 Tagen) <Mikhail Zarechenskiy>
* f702da5c51 - [NI] Small refactoring around type conversions (vor 5 Tagen) <Mikhail Zarechenskiy>
* d3d162f9c8 - Refactoring: start commonization of type-conversions (vor 5 Tagen) <Mikhail Zarechenskiy>
* cce9646c7d - Refactoring: extract method about SAM conversions out (vor 5 Tagen) <Mikhail Zarechenskiy>
* 372f378edc - [NI] Support nested transactions inside constraint system (vor 5 Tagen) <Mikhail Zarechenskiy>
* 4f26ac9a04 - (tag: build-1.4.0-dev-8807) Fix "Koltin" typos throughout codebase (#3383) (vor 5 Tagen) <Kevin Most>
* 38fd9c3d1a - (tag: build-1.4.0-dev-8802) Fix KT-39063 by not adding extendsFrom with metadata configurations (vor 5 Tagen) <Sergey Igushkin>
* 6fcdab23cc - (tag: build-1.4.0-dev-8798) Bootstrap: 1.4.0-dev-8774 (vor 5 Tagen) <Dmitry Petrov>
* 88efac00b3 - (tag: build-1.4.0-dev-8794) Disable klib fileType in lue of KLibFileTypeFactory (vor 5 Tagen) <Vladimir Dolzhenko>
* 081d6c1dff - (tag: build-1.4.0-dev-8789) Useless call on collection: propose 'Replace with toList()' instead of 'Remove useless call' if receiver is array type (vor 5 Tagen) <Toshiaki Kameyama>
* 994897cee9 - (tag: build-1.4.0-dev-8786) Fix textdata after reverting a commit about CompilerMessageLocation (vor 5 Tagen) <Ilya Chernikov>
* d825428718 - (tag: build-1.4.0-dev-8782) New J2K : move resolve resolve out of EDT in shorten references processing (vor 5 Tagen) <Ilya Kirillov>
* dc57d307f3 - (tag: build-1.4.0-dev-8780) [FIR] Clean data flow context before body resolve of file (vor 5 Tagen) <Dmitriy Novozhilov>
* 8df635a4e0 - [FIR] Add cleanup of tower data for imports (vor 5 Tagen) <Dmitriy Novozhilov>
* b05546dd64 - [FIR] Add check for session consistency in body resolve transformer (vor 5 Tagen) <Dmitriy Novozhilov>
* 371757309e - [FIR] Don't recreate transformer in FirBodyResolveTransformerAdapter (vor 5 Tagen) <Dmitriy Novozhilov>
* 4e07f8180b - [FIR] Don't recreate transformer in FirImplicitTypeBodyResolveTransformerAdapter (vor 5 Tagen) <Dmitriy Novozhilov>
* c4407d6d63 - [FIR] Don't recreate transformer in FirContractResolveTransformerAdapter (vor 5 Tagen) <Dmitriy Novozhilov>
* c1080989b6 - [FIR] Suppress pointless unchecked casts in FirStatusResolveTransformer (vor 5 Tagen) <Dmitriy Novozhilov>
* 329af65996 - [FIR] Get rid of `FirStatusResolveTransformerAdapter` (vor 5 Tagen) <Dmitriy Novozhilov>
* 93992d1d75 - [FIR] Get rid of `FirTypeResolveTransformerAdapter` (vor 5 Tagen) <Dmitriy Novozhilov>
* ca4deec10e - [FIR] Don't recreate transformers in `FirSupertypeResolverTransformer` (vor 5 Tagen) <Dmitriy Novozhilov>
* dc30bf5d09 - [FIR] Don't recreate transformers in `FirPluginAnnotationsResolveTransformer` (vor 5 Tagen) <Dmitriy Novozhilov>
* 0544369503 - [FIR] Add `transformImports` to FirFile (vor 5 Tagen) <Dmitriy Novozhilov>
* f60c8eac71 - [FIR] Don't rewrite session in FirImportResolveTransformer (vor 5 Tagen) <Dmitriy Novozhilov>
* 67a259a903 - [FIR] Get rid of `FirSymbolProvider.getInstance(session)`` (vor 5 Tagen) <Dmitriy Novozhilov>
* 24c8a659ee - [FIR] Add FirSession as parameter for FirTotalResolveTransformer (vor 5 Tagen) <Dmitriy Novozhilov>
* c165b8d55c - (tag: build-1.4.0-dev-8774) JVM: Update IR bytecode text and signature tests (vor 5 Tagen) <Dmitry Petrov>
* 16e7a42aea - JVM: Fix line numbers in test (vor 5 Tagen) <Dmitry Petrov>
* e625bb375f - Temporarily mute unsigned tests in JVM_IR and FIR (vor 5 Tagen) <Dmitry Petrov>
* de4ebe4395 - Prohibit @JvnName on functions mangled because of return type (vor 5 Tagen) <Dmitry Petrov>
* fcf8a91a38 - Update kotlin-stdlib-runtime-merged.txt (vor 5 Tagen) <Dmitry Petrov>
* cf70c83ab7 - JVM: Update tests (vor 5 Tagen) <Dmitry Petrov>
* 2f82c5b6af - JVM: Fix default parameter values handling (vor 5 Tagen) <Dmitry Petrov>
* dc9f64fc9d - JVM: Fix reflection tests for new IC ABI (vor 5 Tagen) <Dmitry Petrov>
* b5bd3604b1 - JVM: Mangle functions returning inline class values (vor 5 Tagen) <Dmitry Petrov>
* 9beb36ca2b - (tag: build-1.4.0-dev-8773) Code style: add option for blank lines before declarations (vor 5 Tagen) <Dmitry Gridin>
* 499a02ebe3 - (tag: build-1.4.0-dev-8771) AddThrowsAnnotationIntention: improve for mpp (vor 5 Tagen) <Dmitry Gridin>
* 8b4660031f - multiPlatformSetup: cleanup code (vor 5 Tagen) <Dmitry Gridin>
* 7b079a5f1c - (tag: build-1.4.0-dev-8770) Deprecated symbol usages: fix test (vor 5 Tagen) <Dmitry Gridin>
* 1ba4d7d99b - Update foreign references when renaming a Kotlin file (vor 10 Tagen) <Vyacheslav Karpukhin>
* ba993ba0fe - Provide an extension point that allows plugins to handle renaming of references in other languages (vor 4 Wochen) <Vyacheslav Karpukhin>
* 16b4342d92 - (tag: build-1.4.0-dev-8750) Add minor test for SMAP (vor 6 Tagen) <Mikhail Bogdanov>
* 73e91af792 - (tag: build-1.4.0-dev-8749) IDEA: test the plugin's ability to parse correct JSR-045 data (vor 6 Tagen) <pyos>
* c51c537504 - JVM: use precise line bounds when regenerating objects with no SMAPs (vor 6 Tagen) <pyos>
* 7222a732c1 - JVM: treat empty SMAP instances as "skip all line numbers" (vor 6 Tagen) <pyos>
* 86b28b95ca - JVM: keep call site markers when inlining lambdas into objects (vor 6 Tagen) <pyos>
* 5feadd56ef - JVM: parse KotlinDebug when regenerating anonymous objects (vor 6 Tagen) <pyos>
* 1fe7ef6521 - JVM: separate the two kinds of source mappers (vor 6 Tagen) <pyos>
* 143d8d1520 - (tag: build-1.4.0-dev-8748) Minor: fix issue reference (vor 6 Tagen) <Ilya Gorbunov>
* d37c412f76 - Suppress a couple more warnings (vor 6 Tagen) <Ilya Gorbunov>
* bf21e1282a - Suppress most of unused parameter warnings (vor 6 Tagen) <Ilya Gorbunov>
* dd46d5ca5a - Add sample for Map.flatMap (vor 6 Tagen) <Dmitry Borodin>
* 1a0b59da49 - (tag: build-1.4.0-dev-8747) KT-20357 Add sortedBy() sample (#3283) (vor 6 Tagen) <Dmitry Borodin>
* 0d71758112 - (tag: build-1.4.0-dev-8742) Build: Add miscCompilerTest task (vor 6 Tagen) <Vyacheslav Gerasimov>
* eff5f3a242 - (tag: build-1.4.0-dev-8731) NI: do type checking for anonymous functions not inside a call (vor 6 Tagen) <Victor Petukhov>
* 425ce8c3ab - (tag: build-1.4.0-dev-8726) [FIR] Use flexible type lower bound when approximating type for IntegerLiteral. (vor 6 Tagen) <Mark Punzalan>
* d5141674a3 - [FIR] Update GenerateRangesCodegenTestData for newly-enabled FIR tests. (vor 6 Tagen) <Mark Punzalan>
* 89d706972c - [FIR] Use vararg element type when generating argument mapping. (vor 6 Tagen) <Mark Punzalan>
* 98d3855fd8 - (tag: build-1.4.0-dev-8723) KotlinDslModels: project can be null in ExternalSystemTaskNotificationListener.onStart (vor 6 Tagen) <Natalia Selezneva>
* 879fe9b493 - Fix order of ExternalSystemListeners (vor 6 Tagen) <Natalia Selezneva>
* 1a1bcefb2a - Add debug logger to ScriptTemplatesFromDependenciesProvider (vor 6 Tagen) <Natalia Selezneva>
* 16b7232b4f - Minor: do not associate with the same extensions multiple times in ScriptDefinitionsManager (vor 6 Tagen) <Natalia Selezneva>
* 8d22429abc - Do not show notification before all definitions are loaded (vor 6 Tagen) <Natalia Selezneva>
* 1513429613 - Load script definitions in IDE on project opening (vor 6 Tagen) <Natalia Selezneva>
* 942c8aaafc - Introduce index for folders with script definitions templates (vor 6 Tagen) <Natalia Selezneva>
2020-05-25 18:30:48 +02:00
Abduqodiri Qurbonzoda 7b49a052f9 Decommonize collection builders (#4157)
Decommonize collection builder implementations

(cherry picked from commit c960dc0af1f8940e519bf6c6c0886192d2ed88bb)
2020-05-25 18:30:48 +02:00
Sergey Bogolepov c6f11781fe [Interop][Lowering] Add support for fields of reference type 2020-05-25 20:28:01 +07:00
Sergey Bogolepov d72a955411 [Interop][Lowering] Fix support for Nothing expressions
Fix compilation failure in case of `cstructVar.field = TODO()`.

fixup! [Interop][Lowering] Fix support for Nothing expressions

fixup! [Interop][Lowering] Fix support for Nothing expressions
2020-05-25 20:28:01 +07:00
Sergey Bogolepov 18b0c7e4a6 [Interop][Test] Add test for fields of ObjC types 2020-05-25 20:28:01 +07:00
Sergey Bogolepov 740e56f1a5 [Interop][Test] Add test for CEnumVar.value property 2020-05-25 20:28:01 +07:00
Sergey Bogolepov bab4b61d9c [Interop][Test] Cover more struct field cases
- Assign Nothing-typed values to fields and bitfields
- Non-strict enums
2020-05-25 20:28:01 +07:00
Ilya Gorbunov 6c7fac2eaf Correct docs of ThreadLocal and SharedImmutable annotations
- clarify that they have effect only in K/N
- correct possible application targets of SharedImmutable

KT-36245
2020-05-23 22:40:18 +03:00
SvyatoslavScherbina bdac685954 Add kotlin.coroutines.cancellation.CancellationException to stdlib 2020-05-22 13:58:32 +03:00
Elena Lepilkina 19317fa726 Add copyright for JetBrains patches to mimalloc 2020-05-21 09:48:14 +04:00
Elena Lepilkina 2b8da9aa15 Fix incorrect path of license file in mimalloc sources 2020-05-21 09:48:14 +04:00
Ilya Matveev e8c94bc261 Use Gradle message renderer if the compiler is started from daemon
This change allows us to get rid of using system properties to
configure the message renderer.

See https://youtrack.jetbrains.com/issue/KT-37550.
2020-05-20 19:52:35 +07:00
Ilya Matveev cc631f1f99 Get rid of konan.home in the compiler
This patch uses a path to a jar containing compiler classes
to determine the distribution path instead of relying on
the konan.home system property. However this property
still may be used to specify the distribution path e.g. when
the distribution isn't fully built and the compiler is
executed from classes located in a build directory.
2020-05-20 19:52:35 +07:00
Ilya Matveev f959f275e8 [build] Create a separate utility module for basic things
The :utilities module contains some logic that depends on all
other parts of the K/N toolchain. But we also need a module
containing a basic logic that all other parts of the toolchain
depends on. Historically such logic is located in the :shared
module. However having code with complex dependencies in :shared
may slow down a composite build import.

So this patch puts all content of :utilities into a new module
:utilities:cli-runner and creates a new :utilities:basic-utils
module. Later some logic from the :shared module may be moved
into this new module.
2020-05-20 19:52:35 +07:00
Ilya Matveev a99c22fbcf Get rid of java.library.path when running the K/N compiler 2020-05-20 19:52:35 +07:00
Ilya Matveev 903d780194 [kotlin compiler][update] 1.4.0-dev-8722 2020-05-20 19:52:35 +07:00
SvyatoslavScherbina 57f6563547 Update issue template 2020-05-20 13:13:46 +03:00
Alexander Shabalin bd42c443f9 Do not generate getters for global singletons (#4166) 2020-05-19 17:47:35 +03:00
Vasily Levchenko 07e6590ad3 [kotlin compiler][update] 1.4.0-dev-8620
(build kotlin version bumped as well)
* 01992b581e - (tag: build-1.4.0-dev-8620) Dropped KotlinNativeFileTypeFactory from native-common.xml (vor 21 Stunden) <Vladimir Dolzhenko>
* 005e62526b - (tag: build-1.4.0-dev-8616) Build: Add distributionSha256Sum to gradle-wrapper.properties (vor 30 Stunden) <Vyacheslav Gerasimov>
* 7afadb9b5e - (tag: build-1.4.0-dev-8608) Init default profile for perf tests (vor 2 Tagen) <Vladimir Dolzhenko>
* fb6ef38370 - (tag: build-1.4.0-dev-8588) Revert "Add info about the end of range in scripting REPL compiler messages" (vor 3 Tagen) <Ilya Chernikov>
* 3793e485b6 - (tag: build-1.4.0-dev-8585) Check for common klibs builtins_platform properly (vor 3 Tagen) <Dmitry Savvinov>
* c6f38ebfbf - (tag: build-1.4.0-dev-8580) JS IR: enable scope expansion strategy for JS IR KLIB incremental generation (vor 3 Tagen) <Anton Bannykh>
* 59ca626487 - Make JPS-based wizards available only for new_module use case (vor 3 Tagen) <Anton Yalyshev>
* f0ff4b066e - Remove old Gradle-based new_project_wizards from the Kotlin group (vor 3 Tagen) <Anton Yalyshev>
* 82d81d5223 - Change Signature: move lambda outside of parentheses if the arguments are reordered so that the lambda goes last (vor 3 Tagen) <Toshiaki Kameyama>
* 912fd556e5 - Fix commonizer: merge klib manifest dependencies during commonization. (vor 3 Tagen) <Konstantin Tskhovrebov>
* 32e0ce8779 - Disable default platform libs for konanc metadata compilation. (vor 3 Tagen) <Konstantin Tskhovrebov>
* 17ad0a97d8 - Add commonized dependencies to metadata compilation. (vor 3 Tagen) <Konstantin Tskhovrebov>
* beb59b3075 - Refactor: add Project.getMetadataCompilationForSourceSet extension. (vor 3 Tagen) <Konstantin Tskhovrebov>
* 5bbb459993 - (tag: build-1.4.0-dev-8568) FIR: Refactor FirTowerResolverSession.enumerateTowerLevels (vor 3 Tagen) <Denis Zharkov>
* 475671563b - FIR: Get rid of obsolete local scopes optimizations (vor 3 Tagen) <Denis Zharkov>
* e7a67c7a16 - FIR: Extract StandardClassIds.KClass (vor 3 Tagen) <Denis Zharkov>
* b691b13d8e - FIR: Add separate local scopes for blocks (vor 3 Tagen) <Denis Zharkov>
* b084399b58 - FIR: Cleanup local scope tracking (vor 3 Tagen) <Denis Zharkov>
* e7e84b18cd - FIR: Do not retrieve symbol for type construction (vor 3 Tagen) <Denis Zharkov>
* 25bee057e0 - FIR: Do not retrieve file for callable until it's needed (vor 3 Tagen) <Denis Zharkov>
* 295f7d7500 - FIR: Do not add trivial constraints (vor 3 Tagen) <Denis Zharkov>
* 27aa0040be - FIR: Cache supetypes scopes when building callable scopes for qualifier (vor 3 Tagen) <Denis Zharkov>
* 774c5b55c3 - FIR: Avoid creating empty nested classes scopes (vor 3 Tagen) <Denis Zharkov>
* cd149957ee - FIR: Filter out irrelevant local scopes during resolution (vor 3 Tagen) <Denis Zharkov>
* beb9a72e9d - FIR: Optimize constructor of FirTowerResolverSession (vor 3 Tagen) <Denis Zharkov>
* 2e91bf7e50 - FIR: Minor. Clarify name for addNonLocalTowerDataElements (vor 3 Tagen) <Denis Zharkov>
* 288db4fb1c - Revert "FIR: make both ImplicitReceiverStack.get implementations consistent" (vor 3 Tagen) <Denis Zharkov>
* 808355d817 - FIR: Fix test data for secondary constructor delegation calls (vor 3 Tagen) <Denis Zharkov>
* f71a56e742 - FIR: Fix test data after rewritten scope structure (vor 3 Tagen) <Denis Zharkov>
* f64c12efac - FIR: Drop MutableImplicitReceiverStack and its implementation (vor 3 Tagen) <Denis Zharkov>
* 35e3942afb - FIR: Drop unused ImplicitDispatchReceiverKind (vor 3 Tagen) <Denis Zharkov>
* 0ef1628751 - FIR: Refactor scope structure on body resolve stage (vor 3 Tagen) <Denis Zharkov>
* cee38e0800 - FIR: Implement FirScopeProvider.getStaticScope (vor 3 Tagen) <Denis Zharkov>
* 5268802d5d - FIR: Minor. Move "storeFunction" call to transformSimpleFunction (vor 3 Tagen) <Denis Zharkov>
* 3d6eedc962 - FIR: Do not store nested local classes to local scopes (vor 3 Tagen) <Denis Zharkov>
* 07be2ae5c7 - FIR: Use containers structure in FirContractResolveTransformer (vor 3 Tagen) <Denis Zharkov>
* a67e9966b8 - FIR: Adapt DataFlowAnalyzer to PersistentReceiverStackImpl (vor 3 Tagen) <Denis Zharkov>
* 687a58843f - FIR: Rewrite visibility checking (vor 3 Tagen) <Denis Zharkov>
* 825cdd3841 - FIR: Move PersistentImplicitReceiverStack to resolve module (vor 3 Tagen) <Denis Zharkov>
* e8232fe471 - FIR: Remove unused TowerGroupKind.Static (vor 3 Tagen) <Denis Zharkov>
* 56c793ffc6 - FIR: Minor. Extract FirDeclarationsResolveTransformer::doTransformRegularClass (vor 3 Tagen) <Denis Zharkov>
* 7489b9f636 - FIR: Minor. Inline processMembersForExplicitReceiver (vor 3 Tagen) <Denis Zharkov>
* fee639258c - FIR: Simplify file imports scope tracking (vor 3 Tagen) <Denis Zharkov>
* 8a51bb7810 - FIR: Minor. Unbound FirTowerResolverSession from FirLocalScope (vor 3 Tagen) <Denis Zharkov>
* 8363671cab - FIR: Inline constructor parameter at FirTowerResolverSession (vor 3 Tagen) <Denis Zharkov>
* 75c4239504 - Add "*.png binary" to .gitattributes (vor 3 Tagen) <Denis Zharkov>
* 1d39ac1d3e - Move statement: do not move when function last parameter is on same line as right parenthesis (vor 3 Tagen) <Toshiaki Kameyama>
* 615636ed55 - (tag: build-1.4.0-dev-8562) FIR2IR: apply SAM conversion to arguments of functional type. (vor 3 Tagen) <Jinseong Jeon>
* 599c5dd474 - (tag: build-1.4.0-dev-8560) Collect unique subtypes from incremental compilation cache (vor 3 Tagen) <Vladimir Dolzhenko>
* 2f3ff10204 - formatting clean up (vor 3 Tagen) <Vladimir Dolzhenko>
* e101f88b50 - (tag: build-1.4.0-dev-8534) [FIR] Add lines per second metric (vor 4 Tagen) <simon.ogorodnik>
* 8a595ad165 - (tag: build-1.4.0-dev-8532) Move statement: Add or remove empty lines correctly (vor 4 Tagen) <Toshiaki Kameyama>
* 73dec25eb1 - (tag: build-1.4.0-dev-8531) NI: intersect DFI types before capturing (vor 4 Tagen) <Victor Petukhov>
* 5a7ceec985 - (tag: build-1.4.0-dev-8529) Color settings: use "Static field" instead of "Instance field" for "Enum entry" language defaults (vor 4 Tagen) <Toshiaki Kameyama>
* 0e67e8e747 - (tag: build-1.4.0-dev-8528) Advance bootstrap to 1.4.0-dev-8447 (vor 4 Tagen) <Ilya Gorbunov>
* 34bdd95e50 - (tag: build-1.4.0-dev-8520) [JS SCRIPT] Enable js script test along with other script tests (vor 4 Tagen) <Roman Artemev>
* 9d9930f748 - [JS SCRIPT] Fix test dependencies (vor 4 Tagen) <Roman Artemev>
* 0e21dd15ba - [JS SCRIPT] Fix script test data (vor 4 Tagen) <Roman Artemev>
* 31af1e6ca7 - [JS SCRIPT] Fix ScriptDependencyCompiler (vor 4 Tagen) <Roman Artemev>
* 52a93f189e - [JS SCRIPT] Fix IrBuiltIns to make it stable if symbols already defined (vor 4 Tagen) <Roman Artemev>
* 8f71bdbf01 - [JS SCRIPT] Fix IrScript visit order (vor 4 Tagen) <Roman Artemev>
* f792c5c936 - [JS SCRIPT] Fix default arguments in script (vor 4 Tagen) <Roman Artemev>
* 996137576e - [JS SCRIPT] Fix script lowering (vor 4 Tagen) <Roman Artemev>
* e573efb3a5 - [JS SCRIPT] Handle IrScript in mangler correctly (vor 4 Tagen) <Roman Artemev>
* 785fa7dd1c - (tag: build-1.4.0-dev-8519) [Gradle, Import] Ignore incompatible test runs for Native targets. (vor 4 Tagen) <Yaroslav Chernyshev>
* e2857a910b - (tag: build-1.4.0-dev-8516) Minor: show existing modules in absent error in gradle tests (vor 4 Tagen) <Nikolay Krasko>
* 189a9dbc02 - 201: Mute tests with changed module names after idea update (KT-37125) (vor 4 Tagen) <Nikolay Krasko>
* 82551e91a4 - (tag: build-1.4.0-dev-8509) Add KClass.isFun modifier to reflection (vor 4 Tagen) <Alexander Udalov>
* 86b5c63891 - (tag: build-1.4.0-dev-8505) JS IR: fix origin for callable references with bound reciever (vor 4 Tagen) <Anton Bannykh>
* bdca4b45bd - JS: inliner supports extra argument caused by suspend conversions (vor 4 Tagen) <Anton Bannykh>
* ed8efafa9b - (tag: build-1.4.0-dev-8504) Generate InnerClasses attribute for nested classes in annotation arguments (vor 4 Tagen) <Alexander Udalov>
* cdac6157a9 - (tag: build-1.4.0-dev-8502) [FIR2IR] Force loading Java SAM from external classes (vor 4 Tagen) <Mikhail Glukhikh>
* 89a6ecd77d - (tag: build-1.4.0-dev-8499) [FIR] Update argument mapping while transforming integer operator. (vor 4 Tagen) <Jinseong Jeon>
* 858731cac8 - [FIR] add support for varargs in delegated constructor calls (vor 4 Tagen) <Juan Chen>
* 3652ac9354 - [FIR2IR] Mute 2 failing BB tests (vor 4 Tagen) <Mikhail Glukhikh>
* d8398bb0ab - [FIR2IR] Handle external declaration parents more accurately (vor 4 Tagen) <Mikhail Glukhikh>
* 6beee004a3 - [FIR2IR] Take callables from scope in external declaration generator (vor 4 Tagen) <Mikhail Glukhikh>
* 12c0cbee94 - [FIR2IR] Don't enter same class twice while override searching (vor 4 Tagen) <Mikhail Glukhikh>
* 00fcb6cb02 - [FIR2IR] Minor refactoring of populateOverriddenSymbols (vor 4 Tagen) <Mikhail Glukhikh>
* e7e80be34a - [FIR2IR] Populate overridden symbols even for !isOverride (vor 4 Tagen) <Mikhail Glukhikh>
* ac1e96500a - (tag: build-1.4.0-dev-8497) [Commonizer] Added README.md (vor 4 Tagen) <Dmitriy Dolovov>
* 08588001be - (tag: build-1.4.0-dev-8490) Redundant suspend modifier: do not report when the function has 'actual' modifier (vor 4 Tagen) <Toshiaki Kameyama>
* 188bcf0e7b - (tag: build-1.4.0-dev-8480) stdlib-js-ir: do not copy source directories from the same project (vor 4 Tagen) <Ilya Gorbunov>
* 46b0784508 - Disable kotlinMetadata compilation for js-ir-minimal-for-test (vor 4 Tagen) <Ilya Gorbunov>
* bcf277d885 - (tag: build-1.4.0-dev-8475) Add comments for generators about data/inline class (in psi2ir and fir2ir) and annotations (fir2ir). (vor 4 Tagen) <Jinseong Jeon>
* e844c59e7e - FIR2IR: filter correct use-site target for value parameter annotations. (vor 4 Tagen) <Jinseong Jeon>
* 76e679a6ca - FIR2IR: refactor annotation generations. (vor 4 Tagen) <Jinseong Jeon>
* 931ba4892a - FIR2IR: split property annotations according to use-site targets. (vor 4 Tagen) <Jinseong Jeon>
* 9bc8fdcb3c - (tag: build-1.4.0-dev-8463) JVM IR: Validate corresponding properties (vor 5 Tagen) <Steven Schäfer>
* 13f15a702b - JVM IR: Remove corresponding property hacks from MethodSignatureMapper (vor 5 Tagen) <Steven Schäfer>
* 497df0922a - JVM IR: Fix corresponding properties in inline classes (vor 5 Tagen) <Steven Schäfer>
* c41e71b1c5 - JVM IR: Merge PropertiesToFieldsLowering and JvmPropertiesLowering (vor 5 Tagen) <Steven Schäfer>
* d5c2707c2c - JVM IR: Fix corresponding properties in JvmStaticAnnotationLowering (vor 5 Tagen) <Steven Schäfer>
* 24b28f80cb - JVM IR: Fix corresponding properties in BridgeLowering (vor 5 Tagen) <Steven Schäfer>
* 4a2b5df9fa - JVM IR: Fix corresponding properties for default impls redirections (vor 5 Tagen) <Steven Schäfer>
* 1fafbb8d72 - Minor: Remove duplicate IrSetField builder (vor 5 Tagen) <Steven Schäfer>
* 86683e94fc - (tag: build-1.4.0-dev-8448) [FIR] Fix cfg crash with multiple postponed arguments (vor 5 Tagen) <simon.ogorodnik>
* 5b63dad1c3 - (tag: build-1.4.0-dev-8447) JS IR: fix incremental compilation for stdlib (vor 5 Tagen) <Anton Bannykh>
* a95f205c1a - (tag: build-1.4.0-dev-8446) Binary compatibility validator is now an external tool (vor 5 Tagen) <Ilya Gorbunov>
* ceb03ce739 - (tag: build-1.4.0-dev-8434, tag: build-1.4.0-dev-8431) Disable KotlinNativeRunConfigurationProducer if not found Gradle plugin. (vor 5 Tagen) <Konstantin Tskhovrebov>
* af114e3211 - (tag: build-1.4.0-dev-8426) (CoroutineDebugger) 192/193 compatibility fix (vor 5 Tagen) <Vladimir Ilmov>
* b5f31a3d76 - (tag: build-1.4.0-dev-8424) JS IR: make CodeCleaner more conservative (vor 5 Tagen) <Anton Bannykh>
* 8809abdbac - (tag: build-1.4.0-dev-8416) JVM_IR: do not handle Nothing in suspend tail call bridges (vor 5 Tagen) <pyos>
* 0acaedef92 - Fix attribute clash between STATIC_INLINE_CLASS_REPLACEMENT and original (vor 5 Tagen) <Ilmir Usmanov>
* d2a691d157 - (tag: build-1.4.0-dev-8412) Minor, ignore failing box tests for light analysis (vor 5 Tagen) <Alexander Udalov>
* 99856afc31 - ForLoopsLowering: Use `@file:OptIn(ExperimentalUnsignedTypes::class)` instead of annotating declarations. (vor 5 Tagen) <Mark Punzalan>
* b5b361bb09 - Add tests for nullable loop variable in for-loop over unsigned progression. (vor 5 Tagen) <Mark Punzalan>
* b85da8411d - ForLoopsLowering: Convert ProgressionType from enum to sealed class and move more logic into the class. (vor 5 Tagen) <Mark Punzalan>
* 177967258b - ForLoopsLowering: Eliminate construction/boxing/unboxing of UInt/ULong. (vor 5 Tagen) <Mark Punzalan>
* e1120f49d8 - ForLoopsLowering: Reduce unnecessary temporary variables. (vor 5 Tagen) <Mark Punzalan>
* eaddd02e9b - Mute/unmute failing/passing unsigned progression tests for FIR. (vor 5 Tagen) <Mark Punzalan>
* f249e7f5e9 - ForLoopsLowering: Add additional bytecode text tests for optimization of unsigned progressions. (vor 5 Tagen) <Mark Punzalan>
* 0e6af517d7 - Generate tests for unsigned progressions using GenerateSteppedRangesCodegenTestData. (vor 5 Tagen) <Mark Punzalan>
* 03ef3724f4 - ForLoopsLowering: Add support for unsigned progressions. (vor 5 Tagen) <Mark Punzalan>
* 9fdb1ff4f8 - (tag: build-1.4.0-dev-8410) Call `visit` method on `ClassWriter` in IC caching in proper order (vor 5 Tagen) <Mikhael Bogdanov>
* df8031945b - (tag: build-1.4.0-dev-8404) Allow UL class for KtEnumEntry declaration (vor 5 Tagen) <Igor Yakovlev>
* 762f38a394 - (tag: build-1.4.0-dev-8403) KT-38832 Add additional check to RemoveCurlyBracesFromTemplateInspection (vor 5 Tagen) <Roman Golyshev>
* 150708069c - KT-38831 Use safe casts in ReplaceWithOperatorAssignmentInspection (vor 5 Tagen) <Roman Golyshev>
* 225d354604 - KT-38829 Add additional check to RemoveRedundantBackticksQuickFix (vor 5 Tagen) <Roman Golyshev>
* 6034fcdc46 - (tag: build-1.4.0-dev-8401) FIR2IR: apply SAM conversion to arguments if needed (vor 5 Tagen) <Jinseong Jeon>
* 0ce16b9d8c - (tag: build-1.4.0-dev-8399) Support non-reified type parameters in typeOf in JVM and JVM_IR (vor 5 Tagen) <Alexander Udalov>
* 6fb40878c4 - Minor, do not report "no reflection" error on KTypeParameter (vor 5 Tagen) <Alexander Udalov>
* 37cf7316bc - Do not calculate maxStack size manually when generating typeOf (vor 5 Tagen) <Alexander Udalov>
* 82603f3853 - Move some codegen utilities to callableReferenceUtil.kt (vor 5 Tagen) <Alexander Udalov>
* 4fe8754ba1 - Minor, extract generation of typeOf out of inlineIntrinsics.kt (vor 5 Tagen) <Alexander Udalov>
* ea413cefb4 - Remove TypeOfChecker for JVM frontend (vor 5 Tagen) <Alexander Udalov>
* 0c0f4ef3db - (tag: build-1.4.0-dev-8398) FIR CFG: handle 'Dead' properly in edge kind merging (vor 5 Tagen) <Mikhail Glukhikh>
* 41f241f608 - FIR CFG: merge DFA + CFA edge in Simple edge (vor 5 Tagen) <Mikhail Glukhikh>
* 32cfee50e0 - FIR CFG: remove duplicating lambda enter -> exit connection (vor 5 Tagen) <Mikhail Glukhikh>
* 5ef37148ea - (tag: build-1.4.0-dev-8396) Add flag for proper array convention with default args calls (vor 5 Tagen) <Mikhael Bogdanov>
* adc770b604 - Process default arguments in array convention calls (vor 5 Tagen) <Mikhail Bogdanov>
* 3134832396 - (tag: build-1.4.0-dev-8392) Call missed `visit` method on `ClassWriter` in IC caching (vor 5 Tagen) <Mikhail Bogdanov>
* 4daac14008 - (tag: build-1.4.0-dev-8382) Revert due to massive flaky tests (vor 6 Tagen) <Sergey Rostov>
* 5228da2ebc - (tag: build-1.4.0-dev-8375) (CoroutineDebugger) 192/as36 compilation fix (vor 6 Tagen) <Vladimir Ilmov>
* 4597fff18a - (tag: build-1.4.0-dev-8373) Prohibit OptionalExpectation on nested annotation classes (vor 6 Tagen) <Alexander Udalov>
* 012ffa2993 - Support new scheme of compilation of OptionalExpectation annotations (vor 6 Tagen) <Alexander Udalov>
* 63e355d979 - (tag: build-1.4.0-dev-8369) Scripting IDE cache: unblocking concurrent update (vor 6 Tagen) <Sergey Rostov>
* 30e5748fec - (tag: build-1.4.0-dev-8368) FIR: set proper visibility of property accessors. (vor 6 Tagen) <Jinseong Jeon>
* 5d724a8cbc - (tag: build-1.4.0-dev-8352) Fix samples package import (vor 6 Tagen) <Ilya Gorbunov>
* 84c6c365db - (tag: build-1.4.0-dev-8351) Wizard: Reorder build phases in iOS template (fix KT-38810) (vor 6 Tagen) <Kirill Shmakov>
* cc7b8cc558 - Wizard: Add KMM-related property in iOS template gradle.properties (vor 6 Tagen) <Kirill Shmakov>
* 84a582c618 - (tag: build-1.4.0-dev-8348) Fix escaping const string literals in UL (vor 6 Tagen) <Igor Yakovlev>
* 9f8044ff1b - Fix ultraKtLightClassForFacade compiler backend call (vor 6 Tagen) <Igor Yakovlev>
* 62c24c95b5 - Add support for UltraLightScripts (vor 6 Tagen) <Igor Yakovlev>
* 6a2461f2c6 - (tag: build-1.4.0-dev-8347) [FIR] Refactor boolean flags related to constructors: !no -> include (vor 6 Tagen) <Mikhail Glukhikh>
* db694dd7ab - [FIR] Extract ConstructorScopeTowerLevel (vor 6 Tagen) <Mikhail Glukhikh>
* 22e7264460 - [FIR] Use all implicit receivers for del. constructors, not just one (vor 6 Tagen) <Mikhail Glukhikh>
* 535b4434a8 - [FIR TEST] Add extra test for inner classes inside hierarchy (vor 6 Tagen) <Mikhail Glukhikh>
* f48ff2679e - [FIR] Branch delegating constructor call resolve by isInner from start (vor 6 Tagen) <Mikhail Glukhikh>
* 28c0dac36f - [FIR] Set FirJavaClass.isInner properly (vor 6 Tagen) <Mikhail Glukhikh>
* 3aca40538b - [FIR TEST] Fix error in exposedSupertype test (vor 6 Tagen) <Mikhail Glukhikh>
* 457fb09e3a - [FIR] Use tower to resolve delegated constructors, set dispatch receiver (vor 6 Tagen) <Mikhail Glukhikh>
* 0b8c497d2e - (tag: build-1.4.0-dev-8346) [Import] Downgrade jvmTarget & move Models and ModelBuilderServices (vor 6 Tagen) <Yaroslav Chernyshev>
* 385ddba2d9 - (tag: build-1.4.0-dev-8345) (CoroutineDebugger) Keep coroutine info list reference from collection (vor 6 Tagen) <Vladimir Ilmov>
* 5a5c1c3420 - (CoroutineDebugger) Local variables should have precedence over restored. (vor 6 Tagen) <Vladimir Ilmov>
* f19f49711c - (tag: build-1.4.0-dev-8344) Scripting: minor changes (vor 6 Tagen) <Sergey Rostov>
* 800fcc511a - JPS: ignore removed java files (vor 6 Tagen) <Sergey Rostov>
* 14bd6fe781 - scripting ucache: update synchronously in unit test mode (vor 6 Tagen) <Sergey Rostov>
* ac70234342 - 201: proper implementation for AsyncFileChangeListenerHelper.kt (vor 6 Tagen) <Sergey Rostov>
* 9aa5f0c31a - Scripting unified cache: update sdks synchronously on changes (vor 6 Tagen) <Sergey Rostov>
* 9e96885586 - GradleBuildRoot: don't store references to virtual files (vor 6 Tagen) <Sergey Rostov>
* 35765fe6e6 - remove stale GradleScriptInputsWatcher references (vor 6 Tagen) <Sergey Rostov>
* ed6e369735 - minor: ScriptingSupport.Provider -> ScriptingSupport, KDoc (vor 6 Tagen) <Sergey Rostov>
* 33d79f9135 - GradleScriptOutOfProjectTest: roots are already registered as legacy (vor 6 Tagen) <Sergey Rostov>
* fc59e28610 - Fix lastIndexOfOrNull (vor 6 Tagen) <Sergey Rostov>
* a4c7981424 - Scripting, minor: updateScriptDefinitions -> updateScriptDefinitionReferences (vor 6 Tagen) <Sergey Rostov>
* 0e5b981363 - ScriptClassRootsCache, sdk: use toSystemIndependentName (vor 6 Tagen) <Sergey Rostov>
* 0404f4fd57 - gradle.kts, minor: remove unused code (vor 6 Tagen) <Sergey Rostov>
* 4575a8cade - GradleScriptListenerTest: add gradle-wrapper.properties to specify gradle version explicitly (vor 6 Tagen) <Sergey Rostov>
* fa679129d1 - ScriptClassRootsUpdater, updateSynchronously: cancel before waiting for lock (vor 6 Tagen) <Sergey Rostov>
* 75e8f15b5e - ScriptClassRootsUpdater: fix clearing scheduledUpdate and check cancelled in sync (vor 6 Tagen) <Sergey Rostov>
* a498171400 - gradle.kts: remove LastModifiedFiles fs data when removing gradle root (vor 6 Tagen) <Sergey Rostov>
* 06e43027cf - gradle.kts, minor: move isInAffectedGradleProjectFiles inside GradleBuildRootsManager (vor 6 Tagen) <Sergey Rostov>
* b2729f977a - GradleScriptListenerTest: link gradle project (vor 6 Tagen) <Sergey Rostov>
* c0e9092f94 - GradleBuildRootsManager: fix onProjectsLinked (vor 6 Tagen) <Sergey Rostov>
* 9302a620c2 - GradleLegacyScriptListener: call from GradleScriptListener (vor 6 Tagen) <Sergey Rostov>
* 80991f7c56 - gradle.kts: use toSystemIndependentName for paths coming from Gradle (vor 6 Tagen) <Sergey Rostov>
* 4e07e4c8fe - ScriptClassRootsUpdater: run synchronously in unit test mode (vor 6 Tagen) <Sergey Rostov>
* c6be0a8213 - UnusedSymbolInspection: load script configurations from cache (vor 6 Tagen) <Sergey Rostov>
* b199531f0e - gradle.kts, scheduleLastModifiedFilesSave: fix race condition (vor 6 Tagen) <Sergey Rostov>
* 5962bd7955 - gradle.kts, minor: areRelatedFilesUpToDate -> areRelatedFilesChangedBefore (vor 6 Tagen) <Sergey Rostov>
* cb318a63ad - GradleScriptListener: update lastModifiedFiles on document change (vor 6 Tagen) <Sergey Rostov>
* 9b0a2f63a9 - GradleBuildRoot: fix loading lastModifiedFiles (vor 6 Tagen) <Sergey Rostov>
* 34bc52f3d4 - LastModifiedFiles: fix in case of sequential changes in same file (vor 6 Tagen) <Sergey Rostov>
* cde53285c6 - .gradle.kts, listener: support multiple gradle projects linked to one IntelliJ project (vor 6 Tagen) <Sergey Rostov>
* 258064d82d - gradle.kts: docs (vor 6 Tagen) <Sergey Rostov>
* 64682ad550 - ScriptConfigurationManager: take OutsidersPsiFileSupport into account (vor 6 Tagen) <Sergey Rostov>
* e7c19ab3ef - Scripts, minor: get rid of ScriptingSupportHelper (vor 6 Tagen) <Sergey Rostov>
* b42d5eda0a - gradle.kts: merge data on failed gradle sync, fix updates scheduling in corner cases (vor 6 Tagen) <Sergey Rostov>
* e972203a2a - gradle.kts: solve the linked gradle builds hell (vor 6 Tagen) <Sergey Rostov>
* 6fe3365dd3 - gradle.kts, imported gradle build root: fix equality (vor 6 Tagen) <Sergey Rostov>
* 0ff95ee516 - ScriptConfigurationManager, outsider files: search in roots cache too (vor 6 Tagen) <Sergey Rostov>
* 751d167f66 - ScriptConfigurationManager: rebuild cache synchronously from default loader (vor 6 Tagen) <Sergey Rostov>
* ab51292da8 - gradle.kts: cache definitions (vor 6 Tagen) <Sergey Rostov>
* fc7be92c42 - gradle.kts: remove useless gradle build root kinds (vor 6 Tagen) <Sergey Rostov>
* 802c03b934 - Script configuration: fix getting javaHome (vor 6 Tagen) <Sergey Rostov>
* b04fabf1e8 - CompositeScriptConfigurationManager: unified caching (vor 6 Tagen) <Sergey Rostov>
* 8f8902a85f - GradleScriptConfigurationLoader: KDocs (vor 6 Tagen) <Sergey Rostov>
* 11d05c1abd - (tag: build-1.4.0-dev-8342) NI: propagate `isNullabilityConstraint` flag into constraint injector and inherit it (vor 6 Tagen) <Victor Petukhov>
* 19e352a1b5 - (tag: build-1.4.0-dev-8335) [ANDROID] Simplify parcelize ir plugin code (vor 6 Tagen) <Roman Artemev>
* c20aa297f1 - [ANDROID] Fix Parcelize reslove extension plugin (vor 6 Tagen) <Roman Artemev>
* 6bdd473eff - [JVM IR] Fix plugin API for JVM IR (vor 6 Tagen) <Roman Artemev>
* a794052f86 - [IR] Mark Value Parameters which have default argument (vor 6 Tagen) <Roman Artemev>
* 7737c76540 - [PLUGIN API] Do postprocess after symbol resolve (vor 6 Tagen) <Roman Artemev>
* 92befaac5d - [IR] Remove IrExtensionGenerator (vor 6 Tagen) <Roman Artemev>
* 9f99094780 - [IR] Clean up linker interface (vor 6 Tagen) <Roman Artemev>
* 1e9c9ef7e0 - [IR] Clean up linker code (vor 6 Tagen) <Roman Artemev>
* 1949b11bb2 - [KTX.SERIALIZATION] Refactor plugin once again (vor 6 Tagen) <Roman Artemev>
* d41bbbae0d - [IR] Deprecate some API (vor 6 Tagen) <Roman Artemev>
* 2f0840388d - [IR] Fix context (vor 6 Tagen) <Roman Artemev>
* 559b654a4f - [IR] Provide new plugin API to access declaration via FqName in the safe way (vor 6 Tagen) <Roman Artemev>
* 8335ce8665 - [IR] Fix to make K/N work (vor 6 Tagen) <Roman Artemev>
* aac4649845 - [JS IR] Remove usage of `LazyIr` from JS (vor 6 Tagen) <Roman Artemev>
* 3d24665c0d - [IR] Use `ReferenceSymbolTable` in `BuiltinSymbolsBase` (vor 6 Tagen) <Roman Artemev>
* 3c50b47333 - [IR] Add new API into IrBuiltIns to access functional interfaces (vor 6 Tagen) <Roman Artemev>
* a477aa7289 - [KLIB] Pass IrFunctionFactory from outside (vor 6 Tagen) <Roman Artemev>
* 318568636e - [IR] Pass IrBuiltIns to `BuiltinSymbolsBase` (vor 6 Tagen) <Roman Artemev>
* da661e4db7 - [IR BE] Remove usage of KotlinType from ir loop optimization (vor 6 Tagen) <Roman Artemev>
* c38ba45c1b - [JVM IR] Fix jvm linker (vor 6 Tagen) <Roman Artemev>
* 5ea309d578 - [PSi2IR] Generate synthetic declaration during psi2ir (vor 6 Tagen) <Roman Artemev>
* 66543131c2 - [IR] Add `referenceScript` to `SymbolTable` (vor 6 Tagen) <Roman Artemev>
* 003ba1c8f5 - (tag: build-1.4.0-dev-8323) [NI] CST: add preemptive recursion detection (vor 6 Tagen) <Pavel Kirpichenkov>
* 7cde9b4355 - (tag: build-1.4.0-dev-8304, kotlin/minamoto/debug-info/subprograms-with-missed-scopes) Add tests for analyze return type in REPL IDE services (vor 7 Tagen) <Ilya Muradyan>
* 8a1b44cc2b - Add snippet result type to analysis output of REPL IDE services (vor 7 Tagen) <Ilya Muradyan>
* c496b93218 - [minor] refactor repl API file layout (vor 7 Tagen) <Ilya Chernikov>
2020-05-19 10:16:15 +02:00
Roman Artemev c8694b90b3 [IR] Corresponding Fix K/N for plugin api changes
(cherry picked from commit 17206bf464b987c1d1f2763477076de72889822e)
2020-05-19 10:16:15 +02:00
Ilya Gorbunov 2629c44a34 Exclude module-info descriptor from standard library artifacts
There's a conflict between kotlin-stdlib and kotlin-reflect, and
that descriptor is anyway not needed when running merged jar
on a classpath.

(cherry picked from commit 2b0f99aea8b3cbb6669ecc63017bee7c379c8b9c)
2020-05-19 10:16:15 +02:00
Mark Punzalan 3296981213 Changes to support unsigned progressions in ForLoopsLowering.
See: https://github.com/JetBrains/kotlin/pull/3274

Also corrected example for test prefix in HACKING.md.

(cherry picked from commit 883f9b98bd13eb814a2d7c0c7753e9fb23f13f76)
2020-05-19 10:16:15 +02:00
SvyatoslavScherbina db9361f8a2 Align docs with USE_CYCLIC_GC=0 (ed36f02c)
Co-authored-by: ilya-g <ilya.gorbunov@jetbrains.com>
2020-05-18 19:34:47 +03:00
Sergey Bogolepov 3c2b742ba9 [Darwin][PlatformLibs] Get rid of OBJC_OLD_DISPATCH_PROTOTYPES 2020-05-18 20:02:48 +07:00
Sergey Bogolepov 2b47ee0384 [ObjCExport] Proper fix for OBJC_OLD_DISPATCH_PROTOTYPES 2020-05-18 20:02:48 +07:00
Sergey Bogolepov 37bf7d7ef9 [Interop][Tests] Add infrastructure to test klib metadata (#4134)
We need a structural testing tool for interop metadata itself because it is not always possible to detect metadata errors via usual compiler tests.
2020-05-18 15:03:31 +07:00
LepilkinaElena c485511f1b Added hack with null-check for escaping extra boxing for non-nullable keys in HashMap (#4174) 2020-05-15 17:45:33 +03:00
Pavel Punegov 6d5edf01bf Add comment about pattern used 2020-05-14 14:38:42 +03:00
Pavel Punegov 85d6f3b089 Fix exclude list: build prefix removed 2020-05-14 14:38:42 +03:00
Pavel Punegov c15d9ee81a Test module support for external tests. Code cleanup for external tests runner class. 2020-05-14 14:38:42 +03:00
Igor Chevdar 2da889ad1a Added test on suspend conversions 2020-05-13 14:20:23 +03:00
LepilkinaElena 0a3b42d649 Save trove4j as separate jar (#4168) 2020-05-13 10:33:30 +03:00
Vasily Levchenko bbd19dd7e0 [kotlin compiler][update] 1.4.0-dev-8300
* a47bab2466 - (tag: build-1.4.0-dev-8300) [FIR] Fix build scripts for plugin prototype (vor 14 Stunden) <Dmitriy Novozhilov>
* 0c7b04a495 - (tag: build-1.4.0-dev-8294) Document fromIndex and toIndex parameters #KT-38388 (vor 2 Tagen) <Abduqodiri Qurbonzoda>
* 3c1b41c020 - (tag: build-1.4.0-dev-8291) Move statement: move into lambda correctly (vor 2 Tagen) <Toshiaki Kameyama>
* 19824201e2 - Move statement: do not move into lambda beyond 'if/when/try/for/while' (vor 2 Tagen) <Toshiaki Kameyama>
* ee5ecb232a - (tag: build-1.4.0-dev-8290) Long test execution on 201: remove repeating calls to startup activities (KTI-185) (vor 2 Tagen) <Nikolay Krasko>
* fd584e6f13 - (tag: build-1.4.0-dev-8289) FIR2IR: fix offsets for calls. (vor 2 Tagen) <Jinseong Jeon>
* b49dc46e6c - (tag: build-1.4.0-dev-8283) NI: improve reporting errors about mismatch number of anonymous function parameters (vor 2 Tagen) <Victor Petukhov>
* 585e98a835 - NI: support inferring lambda receiver type by explicit receiver of anonymous function (which is another postponed argument) (vor 2 Tagen) <Victor Petukhov>
* a590fe3d65 - (tag: build-1.4.0-dev-8276) Wizard: Use simpler debug information settings (vor 3 Tagen) <Kirill Shmakov>
* 67fdc5db3b - (tag: build-1.4.0-dev-8275) Update to 201.7223.91 (KT-38561) (vor 3 Tagen) <Nikolay Krasko>
* d6d331de2a - (tag: build-1.4.0-dev-8270) Minor. Fix test (vor 3 Tagen) <Ilmir Usmanov>
* e92adf3d4e - (tag: build-1.4.0-dev-8268) [Commonizer] Don't preserve annotations on types (vor 3 Tagen) <Dmitriy Dolovov>
* 5bb5d7f892 - [Commonizer] Limited annotation commonization. Tests (vor 3 Tagen) <Dmitriy Dolovov>
* 600daaa320 - [Commonizer] Reformat tests (vor 3 Tagen) <Dmitriy Dolovov>
* 413e6552ef - [Commonizer] Simplify creation of individual commonizers (vor 3 Tagen) <Dmitriy Dolovov>
* 735387b685 - [Commonizer] Limited annotation commonization (@Deprecated for functions) (vor 3 Tagen) <Dmitriy Dolovov>
* be04fbd5bb - [Commonizer] More accurate verification of annotations in tests (vor 3 Tagen) <Dmitriy Dolovov>
* ae570e4acf - [Commonizer] Don't filter out @Deprecated non-top-level functions (vor 3 Tagen) <Dmitriy Dolovov>
* 312072d6ce - (tag: build-1.4.0-dev-8262) Revert accidental .idea/misc.xml change (vor 3 Tagen) <Svyatoslav Kuzmich>
* 1dd50ba1f2 - (tag: build-1.4.0-dev-8258) [FIR] Use JvmGeneratorExtensions also from CLI (vor 3 Tagen) <Mikhail Glukhikh>
* eac9af521e - [FIR2IR] differentiate external Java stub origin from external stub (vor 3 Tagen) <Jinseong Jeon>
* b271b6d7a8 - [FIR2IR] Add conversion of value parameter annotations (vor 3 Tagen) <Mikhail Glukhikh>
* 76f6e27e37 - [FIR2IR] Add initial support of collection literals (vor 3 Tagen) <Mikhail Glukhikh>
* f3e2dbf360 - [FIR2IR] Add conversion of function annotations (vor 3 Tagen) <Mikhail Glukhikh>
* ad00d28631 - (tag: build-1.4.0-dev-8249) TypingIndentation: add large test (vor 3 Tagen) <Dmitry Gridin>
* 36f6ccffde - (tag: build-1.4.0-dev-8245) Add test for obsolete issue (vor 3 Tagen) <Mikhail Zarechenskiy>
* 91ef053fbc - IR: keep local scope with counter maps across LDL invocations (vor 3 Tagen) <Alexander Udalov>
* 50506658c0 - (tag: build-1.4.0-dev-8242) fix some tests for as36 (vor 3 Tagen) <Dmitry Gridin>
* ad09eb5416 - (tag: build-1.4.0-dev-8239) [FIR] Add ability to rewrite attributes in FirDeclarationAttributes (vor 3 Tagen) <Dmitriy Novozhilov>
* 239837fd14 - [FIR] Introduce `FirDeclarationAttributes` for `FirDeclaration` (vor 3 Tagen) <Dmitriy Novozhilov>
* b348ae689a - [FIR] Introduce different implementations of ArrayMapOwner (vor 3 Tagen) <Dmitriy Novozhilov>
* edd7d5b0b0 - [FIR-TEST] Add tests of compiler plugin prototype to :firAllTest (vor 3 Tagen) <Dmitriy Novozhilov>
* 959ecceaf7 - [FIR-PLUGIN] Move fir plugin prototype out from :compiler module (vor 3 Tagen) <Dmitriy Novozhilov>
* ab7613f6a4 - [FIR-PLUGIN] Rename `FirExtensionPoint` to `FirExtension` (vor 3 Tagen) <Dmitriy Novozhilov>
* 4eb9eb0537 - [FIR] Rename `FirExtensionPoint` to `FirExtension` (vor 3 Tagen) <Dmitriy Novozhilov>
* a1e719a127 - [FIR] Register extensions in CLI (vor 3 Tagen) <Dmitriy Novozhilov>
* 6af3b289a3 - [FIR-PLUGIN] Add plugin key to allopen extensions (vor 3 Tagen) <Dmitriy Novozhilov>
* 78b8a7b388 - [FIR] Store extensions by plugin key (vor 3 Tagen) <Dmitriy Novozhilov>
* e5365cec87 - [FIR-PLUGIN] Change allopen plugin according to previous commit (vor 3 Tagen) <Dmitriy Novozhilov>
* fac57344a3 - [FIR] Split plugin annotations for two groups. Introduce modes for meta annotations (vor 3 Tagen) <Dmitriy Novozhilov>
* 4022a57a4b - [FIR-PLUGIN] Add simple implemetation of class generator extension point (vor 3 Tagen) <Dmitriy Novozhilov>
* 2b24317358 - [FIR-PLUGIN] Add test with meta annotation in plugin (vor 3 Tagen) <Dmitriy Novozhilov>
* 343928b97e - [FIR] Add proper extension key to FirExtensionPoint (vor 3 Tagen) <Dmitriy Novozhilov>
* 941e43a226 - [FIR] Fix collecting annotations with meta annotations (vor 3 Tagen) <Dmitriy Novozhilov>
* b52452ef84 - [FIR] Don't resolve annotation to error types on annotation phase (vor 3 Tagen) <Dmitriy Novozhilov>
* 17434c34b4 - [FIR-PLUGIN] Enable lib with annotation in plugin tests (vor 3 Tagen) <Dmitriy Novozhilov>
* 7e5024fb88 - [FIR-PLUGIN] Add lib with annotations for allopen plugin (vor 3 Tagen) <Dmitriy Novozhilov>
* 728e0604ac - [FIR] Add prototype of first generation phase (vor 3 Tagen) <Dmitriy Novozhilov>
* b31981619e - [FIR] Skip annotations resolve phase if no extensions registered (vor 3 Tagen) <Dmitriy Novozhilov>
* 4ed6d7fddb - [FIR] Add stage for resolving annotations from plugins (vor 3 Tagen) <Dmitriy Novozhilov>
* f9c37cfa6c - [FIR] Add `transformAnnotationTypeRef` to FirAnnotationCall (vor 3 Tagen) <Dmitriy Novozhilov>
* ab2177f8a4 - [FIR] Extract `withScopesCleanup` from `FirAbstractBodyResolveTransformer` (vor 3 Tagen) <Dmitriy Novozhilov>
* bb645a7962 - [FIR] Add `transformSuperTypeRefs` to FirClass (vor 3 Tagen) <Dmitriy Novozhilov>
* bad4497970 - [FIR] Add `transformDeclarations` to FirFile (vor 3 Tagen) <Dmitriy Novozhilov>
* 4b580b4e06 - [FIR] Refactor `FirResolvePhase.requiredToLaunch` (vor 3 Tagen) <Dmitriy Novozhilov>
* 3d30ba9c19 - [FIR] Add ability to register user defined annotations for plugins (vor 3 Tagen) <Dmitriy Novozhilov>
* 8ecd3d8efe - [FIR-PLUGIN] Fix allopen plugin due to previous commits (vor 3 Tagen) <Dmitriy Novozhilov>
* ab831179e2 - [FIR] Add different modes for extensions and annotations (vor 3 Tagen) <Dmitriy Novozhilov>
* 8f293acb2e - [FIR] Add prototype of declaring plugin annotations (vor 3 Tagen) <Dmitriy Novozhilov>
* d1b709e632 - [FIR] Extract FirExtensionPointService to separate file (vor 3 Tagen) <Dmitriy Novozhilov>
* 35cce7eedd - [FIR] Initialize extension service in all FIR tests (vor 3 Tagen) <Dmitriy Novozhilov>
* cb0a7a5bf7 - [FIR] Rename `FirExtensionRegistrarExtension` to `FirExtensionRegistrar` (vor 3 Tagen) <Dmitriy Novozhilov>
* dd2b7f87f7 - [FIR-PLUGIN] Add prototype of allopen plugin for FIR compiler (vor 3 Tagen) <Dmitriy Novozhilov>
* 9b43c66f80 - [FIR] Add status transformer extension (vor 3 Tagen) <Dmitriy Novozhilov>
* 7f8a8ca099 - [FIR] Add ability to register extension points in diagnostic tests (vor 3 Tagen) <Dmitriy Novozhilov>
* a37975ab21 - [FIR] Add compiler extension for plugin registration (vor 3 Tagen) <Dmitriy Novozhilov>
* ff4a71386e - [FIR] Register extension point component in fir sessions (vor 3 Tagen) <Dmitriy Novozhilov>
* 262d1472f2 - [FIR] Add service for fir extension points (vor 3 Tagen) <Dmitriy Novozhilov>
* 1f4a3b0d1c - (tag: build-1.4.0-dev-8228) [JVM_IR] Avoid safe-call conversions from Byte? and Short? to Int? for comparisons. (vor 3 Tagen) <Mads Ager>
* 3d5003d476 - (tag: build-1.4.0-dev-8224) [JS_IR] Use new plugin to build Kotlin/JS stdlib with IR compiler (vor 3 Tagen) <Svyatoslav Kuzmich>
* 14edc26cf1 - (tag: build-1.4.0-dev-8221) Revert due to test failing in 201 (vor 3 Tagen) <Sergey Rostov>
* 05797afaf8 - (tag: build-1.4.0-dev-8214) Replace last SourceInterpreter with specific one in inliner (vor 4 Tagen) <Ilmir Usmanov>
* 2c88844409 - Replace SourceInterpreter with interpreter, which track only (vor 4 Tagen) <Ilmir Usmanov>
* 3173113cb3 - Use BasicInterpreter instead of SourceInterpreter in LocalReturnsTransformer (vor 4 Tagen) <Ilmir Usmanov>
* 841e588c87 - (tag: build-1.4.0-dev-8210) AsyncFileChangeListenerHelper: 191 and 201 (vor 4 Tagen) <Sergey Rostov>
* fbaf639784 - (tag: build-1.4.0-dev-8209) AsyncFileChangeListenerHelper: 191 and 201 (vor 4 Tagen) <Sergey Rostov>
* c76c983614 - (tag: build-1.4.0-dev-8208) minor: ScriptingSupport.Provider -> ScriptingSupport, KDoc (vor 4 Tagen) <Sergey Rostov>
* 541e6dc119 - GradleScriptOutOfProjectTest: roots are already registered as legacy (vor 4 Tagen) <Sergey Rostov>
* e099ee3af8 - Fix lastIndexOfOrNull (vor 4 Tagen) <Sergey Rostov>
* 5474d55795 - Scripting, minor: updateScriptDefinitions -> updateScriptDefinitionReferences (vor 4 Tagen) <Sergey Rostov>
* 0d6c7f2b41 - ScriptClassRootsCache, sdk: use toSystemIndependentName (vor 4 Tagen) <Sergey Rostov>
* f1789e910b - gradle.kts, minor: remove unused code (vor 4 Tagen) <Sergey Rostov>
* 3e6f827885 - GradleScriptListenerTest: add gradle-wrapper.properties to specify gradle version explicitly (vor 4 Tagen) <Sergey Rostov>
* 7de0bc9cdc - ScriptClassRootsUpdater, updateSynchronously: cancel before waiting for lock (vor 4 Tagen) <Sergey Rostov>
* bc0255890d - ScriptClassRootsUpdater: fix clearing scheduledUpdate and check cancelled in sync (vor 4 Tagen) <Sergey Rostov>
* 6c3a6f8bc2 - gradle.kts: remove LastModifiedFiles fs data when removing gradle root (vor 4 Tagen) <Sergey Rostov>
* f196085e41 - gradle.kts, minor: move isInAffectedGradleProjectFiles inside GradleBuildRootsManager (vor 4 Tagen) <Sergey Rostov>
* c764ebfbac - GradleScriptListenerTest: link gradle project (vor 4 Tagen) <Sergey Rostov>
* 9e18df87dc - GradleBuildRootsManager: fix onProjectsLinked (vor 4 Tagen) <Sergey Rostov>
* 15c6c9f530 - GradleLegacyScriptListener: call from GradleScriptListener (vor 4 Tagen) <Sergey Rostov>
* 3a98ed96a2 - gradle.kts: use toSystemIndependentName for paths coming from Gradle (vor 4 Tagen) <Sergey Rostov>
* c79858e965 - ScriptClassRootsUpdater: run synchronously in unit test mode (vor 4 Tagen) <Sergey Rostov>
* d8692a78ba - UnusedSymbolInspection: load script configurations from cache (vor 4 Tagen) <Sergey Rostov>
* b8866078d2 - gradle.kts, scheduleLastModifiedFilesSave: fix race condition (vor 4 Tagen) <Sergey Rostov>
* b089f4dd2e - gradle.kts, minor: areRelatedFilesUpToDate -> areRelatedFilesChangedBefore (vor 4 Tagen) <Sergey Rostov>
* f5ac45ea08 - GradleScriptListener: update lastModifiedFiles on document change (vor 4 Tagen) <Sergey Rostov>
* d626184cee - GradleBuildRoot: fix loading lastModifiedFiles (vor 4 Tagen) <Sergey Rostov>
* 3ba7c52fe8 - LastModifiedFiles: fix in case of sequential changes in same file (vor 4 Tagen) <Sergey Rostov>
* 39c6efd40f - .gradle.kts, listener: support multiple gradle projects linked to one IntelliJ project (vor 4 Tagen) <Sergey Rostov>
* 02940f9f17 - gradle.kts: docs (vor 4 Tagen) <Sergey Rostov>
* 0e7cf60b04 - ScriptConfigurationManager: take OutsidersPsiFileSupport into account (vor 4 Tagen) <Sergey Rostov>
* 316c7ce60f - Scripts, minor: get rid of ScriptingSupportHelper (vor 4 Tagen) <Sergey Rostov>
* 0cadcec27c - gradle.kts: merge data on failed gradle sync, fix updates scheduling in corner cases (vor 4 Tagen) <Sergey Rostov>
* b7e1cd7489 - gradle.kts: solve the linked gradle builds hell (vor 4 Tagen) <Sergey Rostov>
* 6213c6187d - gradle.kts, imported gradle build root: fix equality (vor 4 Tagen) <Sergey Rostov>
* 7942b4a0d2 - ScriptConfigurationManager, outsider files: search in roots cache too (vor 4 Tagen) <Sergey Rostov>
* eb672c02fa - ScriptConfigurationManager: rebuild cache synchronously from default loader (vor 4 Tagen) <Sergey Rostov>
* e6528a26e9 - gradle.kts: cache definitions (vor 4 Tagen) <Sergey Rostov>
* 4de1381649 - gradle.kts: remove useless gradle build root kinds (vor 4 Tagen) <Sergey Rostov>
* aca1771619 - Script configuration: fix getting javaHome (vor 4 Tagen) <Sergey Rostov>
* 6ad0ed7f40 - CompositeScriptConfigurationManager: unified caching (vor 4 Tagen) <Sergey Rostov>
* 368e6f93df - GradleScriptConfigurationLoader: KDocs (vor 4 Tagen) <Sergey Rostov>
* 7e3dfb245b - (tag: build-1.4.0-dev-8200) Avoid skipping lambda argument processing in case of explicit type param (vor 4 Tagen) <Ilya Chernikov>
* ec98d61520 - (tag: build-1.4.0-dev-8192) Fix TeamCity badge (vor 4 Tagen) <Ilya Goncharov>
* fb9562ca70 - (tag: build-1.4.0-dev-8179) Add `ThrowableRunnable` to fix CCE (vor 4 Tagen) <Dmitry Gridin>
* 988c89602d - tests: wrap `tearDown` with `RunAll` (vor 4 Tagen) <Dmitry Gridin>
* f50e289033 - fix psi tree in `moveFunctionLiteralOutsideParentheses` (vor 4 Tagen) <Dmitry Gridin>
* afb15eb7cf - BranchedFoldingUtils: fix psi tree after `tryFoldToAssignment` (vor 4 Tagen) <Dmitry Gridin>
* ee0b7426c4 - KotlinFunctionCallUsage: fix psi tree (vor 4 Tagen) <Dmitry Gridin>
* 11a3482970 - tests: apply official code style (vor 4 Tagen) <Dmitry Gridin>
* d8f9643650 - [FIR2IR] Use intersection type approximation for receivers (vor 4 Tagen) <Mikhail Glukhikh>
* 292563451c - (tag: build-1.4.0-dev-8175) Fix falsely skipped shared-native source sets in HMPP (KT-38746) (vor 4 Tagen) <Sergey Igushkin>
* a0400f59c2 - (tag: build-1.4.0-dev-8173) Add -Xskip-prerelease-check compiler argument (vor 4 Tagen) <Alexander Udalov>
* 37e676a4a6 - (tag: build-1.4.0-dev-8170) Bump Gradle (6.3) and Android-build-tools (3.6.3) versions in new project wizards (vor 4 Tagen) <Anton Yalyshev>
* 821aca984b - (tag: build-1.4.0-dev-8163) JVM IR: Take superQualifierSymbols into account when lowering inline classes (vor 4 Tagen) <Steven Schäfer>
* 52abc2ae1a - (tag: build-1.4.0-dev-8158) [FIR] Fix spec test data according to a new diagnostic (vor 4 Tagen) <Mikhail Glukhikh>
* 38fc4d0f1f - FIR: set & use dispatch receiver for q. access with super reference (vor 4 Tagen) <Mikhail Glukhikh>
* b058ca635c - FIR: make both ImplicitReceiverStack.get implementations consistent (vor 4 Tagen) <Mikhail Glukhikh>
* cd2f5895a6 - FIR: add minor fix of super reference handling (vor 4 Tagen) <Mikhail Glukhikh>
* 7b01cf7b04 - FIR: handle labeled super reference properly (vor 4 Tagen) <Jinseong Jeon>
* 260683c20e - (tag: build-1.4.0-dev-8156) NI: Improve postponed arguments analysis (vor 4 Tagen) <Victor Petukhov>
* 50151e0e01 - (tag: build-1.4.0-dev-8149) [Gradle, JS]AbstractNpmDependencyExtension -> DefaultNpmDependencyExtension (vor 4 Tagen) <subroh0508>
* abf942b928 - [Gradle, JS]Add optionalNpm methods (vor 4 Tagen) <subroh0508>
* 34e8b11475 - [Gradle, JS]Add directoryNpmDependency method (vor 4 Tagen) <subroh0508>
* 121897133e - [Gradle, JS]Delete peerNpm method used by file argument (vor 4 Tagen) <subroh0508>
* 231324d119 - [Gradle, JS]Add peerNpm method for peerDependencies to KotlinDependencyHandler (vor 4 Tagen) <subroh0508>
* 3e2feac4ea - [Gradle, JS]Add devNpm method for devDependencies to KotlinDependencyHandler (vor 4 Tagen) <subroh0508>
* 726a871c07 - (tag: build-1.4.0-dev-8148) [FIR] Add dependency of `:dist` to `:firAllTest` (vor 4 Tagen) <Dmitriy Novozhilov>
* 41545cd2b4 - [FIR] Initialize origin in all places with creating of declarations (vor 4 Tagen) <Dmitriy Novozhilov>
* e515b1c823 - [FIR] Add origin field to FirDeclaration (vor 4 Tagen) <Dmitriy Novozhilov>
* 7a369b3a6a - (tag: build-1.4.0-dev-8135) Mark PureIrGenerationExtension as deprecated to prevent more usages (vor 5 Tagen) <Alexander Udalov>
* 9fc210224d - Parcelize: Fix IBinderIInterface test (vor 5 Tagen) <Steven Schäfer>
* 518c7a32b8 - Parcelize: Add a test for efficient Parcelable serialization within the same module (vor 5 Tagen) <Steven Schäfer>
* a4e6dbb0d7 - Parcelize: Add test for TypeParceler scoping behavior (vor 5 Tagen) <Steven Schäfer>
* b35e8e208a - Parcelize: Add a test for Parcelize with persistable bundles (vor 5 Tagen) <Steven Schäfer>
* 43bccff135 - Parcelize: Add a test for parcelize of IBinder and IInterface (vor 5 Tagen) <Steven Schäfer>
* 6cf3e0e38e - Parcelize: Add a test for exceptions in parcels (KT-31830) (vor 5 Tagen) <Steven Schäfer>
* 21637c828e - Parcelize: Add a test for Java interop (KT-25807) (vor 5 Tagen) <Steven Schäfer>
* aa0eeba327 - Parcelize: Add a test for KT-36658 (vor 5 Tagen) <Steven Schäfer>
* 01ea2a641f - Parcelize: Add test for KT-26221 (vor 5 Tagen) <Steven Schäfer>
* 1552e55474 - Parcelize: Add an exhaustive test for primitive types (vor 5 Tagen) <Steven Schäfer>
* 1f97486fdd - Parcelize: Improve testing infrarstructure (vor 5 Tagen) <Steven Schäfer>
* d62b353ab5 - Parcelize: Fix metadata and remap synthetic descriptor stubs (vor 5 Tagen) <Steven Schäfer>
* 779133e71e - Parcelize: Implement support for the JVM IR backend. (vor 5 Tagen) <Steven Schäfer>
* 7cad2be329 - IR: Add an extension point after IR construction (vor 5 Tagen) <Steven Schäfer>
* 6ae7d53a93 - (tag: build-1.4.0-dev-8107) Uast: support `extendsList` for reified types (KT-38173) (vor 5 Tagen) <Nicolay Mitropolsky>
* 43549baf58 - Revert "Uast: forcing `kotlin.uast.force.uinjectionhost=true` always" (vor 5 Tagen) <Nicolay Mitropolsky>
* 00b44c1e68 - Uast: making `KotlinStringTemplateUPolyadicExpression.operands` always non-empty (EA-231393) (vor 5 Tagen) <Nicolay Mitropolsky>
* b7e715045a - Uast: skip `KtWhenConditionWithExpression` in UAST (KT-38521) (vor 5 Tagen) <Nicolay Mitropolsky>
* 903f35ce0c - Uast: don't fall on empty when entries (EA-231339) (vor 5 Tagen) <Nicolay Mitropolsky>
* 3143b15a17 - (tag: build-1.4.0-dev-8105) Generate widening cast for Byte and Short to Int (vor 5 Tagen) <Dmitry Petrov>
* 427973fe48 - (tag: build-1.4.0-dev-8101) FIR serializer: fix typo in finding argument name (vor 5 Tagen) <Mikhail Glukhikh>
* deb8e1f9db - IR: cleanup unused implementation in WrappedDescriptors (vor 5 Tagen) <Jinseong Jeon>
* 0c7ed04260 - FIR: make (K)SuspendFunctionX derived from (K)Function (vor 5 Tagen) <Jinseong Jeon>
* 9eee089740 - FIR: regenerate diagnostic tests (vor 5 Tagen) <Mikhail Glukhikh>
* f7137fe860 - (tag: build-1.4.0-dev-8097) Slightly polish FirAnnotationClassDeclarationChecker (vor 5 Tagen) <Mikhail Glukhikh>
* aa706d322d - [FIR] Support several annotation class diagnostics (vor 5 Tagen) <Likholetov Mikhail>
* 1e8dff6a7c - (tag: build-1.4.0-dev-8076, origin/rr/yunir/KTI-216-Build-configuration-with-muted-tests-state-check) Fix bunch files after removing IDE option (vor 7 Tagen) <Mikhail Zarechenskiy>
* b2ca61e8a5 - (tag: build-1.4.0-dev-8075) Fix compilation, remove import (vor 7 Tagen) <Mikhail Zarechenskiy>
* c01a171d4c - (tag: build-1.4.0-dev-8074) Revert "Add option to enable new inference only for IDE analysis" (vor 7 Tagen) <Mikhail Zarechenskiy>
* d7dfe9e1e5 - FUS Collector: remove metric about using new inference in IDE (vor 7 Tagen) <Mikhail Zarechenskiy>
* 54f9f130e2 - (tag: build-1.4.0-dev-8072) Do not generate references as adapted with -Xno-optimized-callable-references (vor 7 Tagen) <Alexander Udalov>
* 4f7599076c - (tag: build-1.4.0-dev-8071, origin/rr/mb/undep) Postpone `JvmDefault` deprecation. Revert "Deprecate @JvmDefault" (vor 7 Tagen) <Mikhail Bogdanov>
* 911dfde0fe - (tag: build-1.4.0-dev-8068) Add highlighting perf test with empty profile (vor 7 Tagen) <Vladimir Dolzhenko>
* 32be4c03ca - (tag: build-1.4.0-dev-8065) ExtractSuperRefactoring: add `quoteSegmentsIfNeeded()` (vor 7 Tagen) <Dmitry Gridin>
* 86de734f26 - KotlinExtractSuperclassDialog: cleanup code (vor 7 Tagen) <Dmitry Gridin>
* ccfea97390 - CopyKotlinDeclarationsHandler: fix for package with backticks (vor 7 Tagen) <Dmitry Gridin>
* b058dc12df - packageUtils: cleanup code (vor 7 Tagen) <Dmitry Gridin>
* ac9ad30681 - SetterBackingFieldAssignmentInspection: fix exception (vor 7 Tagen) <Dmitry Gridin>
* 6f5b3aebe1 - KotlinIntroduceVariableHandler: fix CCE for destruction declaration (vor 7 Tagen) <Dmitry Gridin>
* 8e35b7a29c - KotlinIntroduceVariableHandler: fix for declarations with expression body (vor 7 Tagen) <Dmitry Gridin>
* d21e383094 - KotlinIntroduceVariableHandler: cleanup code (vor 7 Tagen) <Dmitry Gridin>
* b574917314 - (tag: build-1.4.0-dev-8046) Minor: update FIR2IR testData (vor 10 Tagen) <Dmitry Petrov>
* 6257b32954 - [JVM_IR] Avoid boxing when comparing primitive to object. (vor 10 Tagen) <Mads Ager>
* 7e55336300 - (tag: build-1.4.0-dev-8043) Add yourKit profiler to perfTests (vor 10 Tagen) <Vladimir Dolzhenko>
* a564d47158 - (tag: build-1.4.0-dev-8042) Minor: unmute FIR black box test (vor 10 Tagen) <Dmitry Petrov>
* 1d10776db4 - Minor: update FIR2IR testData (vor 10 Tagen) <Dmitry Petrov>
* db17184cfd - [JVM_IR] Avoid some boxing when comparing boxed primitives to primitives. (vor 10 Tagen) <Mads Ager>
2020-05-12 15:34:07 +02:00
Svyatoslav Scherbina e5508be6a5 Deprecate Worker.asCPointer()/fromCPointer()
because it blocks supporting Worker.name after termination
2020-05-12 15:56:59 +03:00
Svyatoslav Scherbina b550d3186a Convert some old warning deprecations to errors 2020-05-12 15:56:59 +03:00
LepilkinaElena cfca81cc9d [GC] Added new threshold for collecting cycles in GC (KT-19076) (#4150) 2020-05-07 16:17:23 +03:00
Igor Chevdar e20896f99c [optmz] Rewrote dfs to a loop with a stack 2020-05-07 08:44:47 +03:00
Sergey Bogolepov 3bbcd38f0b [Interop][Test] Add tests for pointers and arrays 2020-05-06 22:56:17 +07:00
Sergey Bogolepov 47e505825e [Interop][Test] Add tests for unions 2020-05-06 22:56:17 +07:00
Nikolay Krasko 9f9609ac0f Rewrite kotlin-native-shared gradle build to kts 2020-05-06 16:26:14 +02:00
Nikolay Krasko 01fc70a767 Rewrite kotlin-native-shared gradle build to kts (rename)
(cherry picked from commit 141c33f8d4e799708f96637eb005c6571465698b)
2020-05-06 16:26:14 +02:00
Ilya Gorbunov 9a5da21251 Update kotlin gradle plugin used in K/N build
This helps to avoid JVM serialization incompatibility with a newer kotlin compiler.

Also update kotlinx.serialization.runtime version compatible with that plugin version.

(cherry picked from commit 4e0bfb9ff66db18406e9a046558f1de030e7e46d)
2020-05-06 16:26:14 +02:00
Ilya Gorbunov 0bfb1faf55 Suppress doc generation for ThreadLocal and SharedImmutable type aliases
The aliased types are still searchable.

(cherry picked from commit 4f6d73964a55188e02162ba7c643961056b3d8cb)
2020-05-06 16:26:14 +02:00
Ilya Gorbunov 29aa2a75f9 Common kotlin.Throws annotation
Leave kotlin.native.Throws as a deprecated typealias
#KT-34848

(cherry picked from commit 10fac5c96f915e0e008504a211ee70a3e1c9bdea)
2020-05-06 16:26:14 +02:00