Commit Graph

65451 Commits

Author SHA1 Message Date
Andrey Uskov b51649dcc6 Fix tests compilation in 201 2020-04-27 10:00:32 +03:00
Mikhail Zarechenskiy 11390d9de3 Add test for obsolete issue
#KT-38420 Obsolete
2020-04-27 01:55:39 +03:00
Andrey Uskov 27384d29d4 Move inspection checks in EDT thread 2020-04-27 00:21:17 +03:00
Andrey Uskov d2a10cbb2d Merge changes in ExternalSystemTestCase into KotlinGradleTests 2020-04-27 00:21:12 +03:00
Denis Zharkov 45481b214a Use kotlin.Throws in NativeThrowsChecker
KT-35468
2020-04-26 23:08:45 +03:00
Denis Zharkov d0f4631192 Resolve ambiguity between kotlin.Throws and kotlin.native.Throws
KT-35468
2020-04-26 23:08:40 +03:00
Denis Zharkov d3f541a715 Overcome ambiguity between kotlin.Throws and kotlin.jvm.Throws
^KT-35468 In Progress
2020-04-26 23:08:22 +03:00
Denis Zharkov 534ff58d9c Minor. Introduce constant JVM_THROWS_ANNOTATION_FQ_NAME
KT-35468
2020-04-26 23:08:18 +03:00
Vladimir Dolzhenko 1565fc0211 Call expression changes in property initializer are OCB
#KT-38443 Fixed
2020-04-25 20:57:14 +00:00
Vladimir Dolzhenko 1cc58518c0 Compatify KotlinCodeBlockModificationListener p.2
Relates to #KT-38443
2020-04-25 20:57:14 +00:00
Vladimir Dolzhenko 5a36da90b6 Compatify KotlinCodeBlockModificationListener p.1
Relates to #KT-38443
2020-04-25 20:57:13 +00:00
Vladimir Ilmov 38622d8d92 (CoroutineDebugger) SkipCoroutineStackFrameProxy logic added 2020-04-24 21:02:18 +02:00
pyos 887165a23b JVM_IR: avoid copying when optimizing ?:/?. 2020-04-24 21:00:07 +03:00
Abduqodiri Qurbonzoda 2307692064 Remove String.format with non-null locale
Introducing new overloads with @SinceKotlin(1.4) annotation
and marking the old ones @LowPriorityInOverloadResolution breaks
all code that uses the format(locale, args) overload with
-api-version 1.3. Because the low priority of the non-1.4 version makes
format(args) preferable in all cases.
For example, "%02X".format(Locale.ROOT, 1) throws
IllegalFormatConversionException: x != java.util.Locale.
2020-04-24 18:00:37 +03:00
Anton Yalyshev f356ff36b4 Update group id for refactoring fus collector in 201 bunch 2020-04-24 17:38:27 +03:00
Dmitry Gridin 1e69e89f41 update misc.xml 2020-04-24 21:12:14 +07:00
Nick 96238cbe1f [FIR] Support diagnostic QUALIFIED_SUPERTYPE_EXTENDED_BY_OTHER_SUPERTYPE 2020-04-24 16:48:28 +03:00
Ilya Goncharov 7a928dfed2 [Gradle, JS] Build gradle node module with only package.json content 2020-04-24 16:32:54 +03:00
Ilya Goncharov c64a80d132 [Gradle, JS] Move suppress gson null issue for particular fields
[Gradle, JS] Fix package json creation from existed package json w/o version

[Gradle, JS] Add task for publishing package json

[Gradle, JS] Add skip on empty npm dependencies

[Gradle, JS] Publishing package json with installed modules

[Gradle, JS] Add publishingPackageJson for compilation npm resolution

[Gradle, JS] Add publishingPackageJson to jar task

[Gradle, JS] PublishingPackageJsonTask now in jar

[Gradle, JS] Actual skipping of package json creation

[Gradle, JS] jar task depends only on main publishing package json

[Gradle, JS] Move calculation of packageJson

[Gradle, JS] Filter file dependencies
2020-04-24 16:32:54 +03:00
Dmitry Gridin c91089be59 AddJvmNameAnnotationFix: fix case with top-level functions
#KT-17209 Fixed
2020-04-24 18:53:11 +07:00
Toshiaki Kameyama f494b4ce11 Add 'Add JvmName annotation' quick fix for CONFLICTING_JVM_DECLARATIONS
#KT-17209
2020-04-24 18:53:10 +07:00
Dmitry Gridin 9bc51be287 i18n, MoveKotlinTopLevelDeclarationsDialog: replace RefactoringBundle with KotlinBundle 2020-04-24 17:10:22 +07:00
Dmitry Savvinov b07f89864e Allow dependencies to see internals from main module as well
^KT-38338 Fixed
2020-04-24 12:54:39 +03:00
Sergey Igushkin af09cb0e57 fix testLanguageSettingsApplied 2020-04-24 12:54:39 +03:00
Sergey Igushkin 60c49d26e3 Add Gradle integration tests running the IDE HMPP highlighting tests 2020-04-24 12:54:38 +03:00
Sergey Igushkin 4b0da0688a Fix expect discrimination with actual typealias in deserialization
* For types encountered during deserialization, search for a classifier,
  not necessarily a class, across module dependencies (i.e. accept type
  aliases, returned when actual type alias discriminates an expect
  class).

* When the referenced type is a type alias, expand it, so that when
  the descriptor is compared to the expansion in other places,
  they match.

* Also, when resolving an abbreviation, don't expand the type aliases,
  as there are assumptions in the code base that an abbreviation is a
  type alias.
2020-04-24 12:54:38 +03:00
Sergey Igushkin d4a0844a77 Support additional module descriptor dependencies in klib descriptors 2020-04-24 12:54:37 +03:00
Sergey Igushkin a9dd194383 Fix wrong assumption in getHostSpecificSourceSets (KMM-225)
The assumption that each source set is already registered in at least
one compilation would break Android targets which are configured later
on the execution path, and also fail when there are unused source sets.

Issue #KMM-225 Fixed
2020-04-24 12:54:37 +03:00
Sergey Igushkin 67f4b7e2b0 Add a dependency from all klib-originated modules to the main module
This is required, for instance, to properly resolve supertypes across
the modules.

Issue #KT-37832 Fixed
2020-04-24 12:54:36 +03:00
Vladimir Dolzhenko 8979b98fc0 Dropping components cleanup
#KT-38407 Fixed
2020-04-24 09:39:49 +00:00
Vladimir Dolzhenko d2a26e9049 Fix memory leakage via Library in KotlinMavenImporter
Relates to #KT-38407
2020-04-24 09:39:48 +00:00
Vladimir Dolzhenko 4908d7a78c Convert KotlinImporterComponent into a module service
Relates to #KT-38407
2020-04-24 09:39:47 +00:00
Vladimir Dolzhenko c2c8d81b49 Convert MavenImportListener into an application service
Relates to #KT-38407
2020-04-24 09:39:47 +00:00
Vladimir Dolzhenko 6e5b288500 Compatify maven.xml p.1
Relates to #KT-38407
2020-04-24 09:39:46 +00:00
Vladimir Dolzhenko 951215e606 Convert ScratchFileModuleInfoProvider into a startup activity
Relates to #KT-38407
2020-04-24 09:39:45 +00:00
Vladimir Dolzhenko 346cc40f44 Convert KotlinCompilerManager into a startup activity
Relates to #KT-38407
2020-04-24 09:39:45 +00:00
Vladimir Dolzhenko 4f99ac406a Kotlinify KotlinCompilerManager p.2
Relates to #KT-38407
2020-04-24 09:39:44 +00:00
Vladimir Dolzhenko bbd4116b67 Kotlinify KotlinCompilerManager p.1
Relates to #KT-38407
2020-04-24 09:39:43 +00:00
Vladimir Dolzhenko d3585f1d24 Convert JvmPluginStartupComponent into a startup activity
Relates to #KT-38407
2020-04-24 09:39:43 +00:00
Vladimir Dolzhenko fa2fb667e6 Kotlinify JvmPluginStartupComponent p.2
Relates to #KT-38407
2020-04-24 09:39:42 +00:00
Vladimir Dolzhenko fe3cf88e45 Kotlinify JvmPluginStartupComponent p.1
Relates to #KT-38407
2020-04-24 09:39:42 +00:00
Vladimir Dolzhenko d6b4836ae0 Convert KlibLoadingMetadataCache into an application service
Relates to #KT-38407
2020-04-24 09:39:41 +00:00
Vladimir Dolzhenko 4535584f16 Convert KotlinUpdatePluginComponent into a startup activity
Relates to #KT-38407
2020-04-24 09:39:40 +00:00
Dmitry Gridin 60dc2f9674 i18n, MoveKotlinNestedClassesToUpperLevelDialog: add missing bundles for 201
#KT-38527 Fixed
2020-04-24 16:14:51 +07:00
Dmitry Gridin 6524e2b764 i18n, debugger: add missing bundles for 201
#KT-38487 Fixed
2020-04-24 16:13:44 +07:00
Matthew Gharrity e0ca94279a Move vFile.isValid() check inside read action
Fixes KT-38541
2020-04-23 19:30:02 -04:00
Alexander Udalov 403cdedf2e Remove unnecessary dependencies of 'fir2ir:jvm-backend' 2020-04-23 23:16:30 +02:00
Alexander Udalov 2815bb88c2 Remove unnecessary dependency of 'fir2ir' on 'ir.backend.common'
Move some lookup utilities which are used in
`OperatorExpressionGenerator`, to 'ir.tree'.
2020-04-23 23:16:29 +02:00
Valentin Kipyatkov 0c3c8b64ce Optimization for faster search of references to top-level members 2020-04-23 22:12:26 +03:00
Valentin Kipyatkov ec057a6c00 Minor change after review 2020-04-23 22:12:26 +03:00