Commit Graph

65489 Commits

Author SHA1 Message Date
Ilya Goncharov 0a704cf52c [Gradle, JS] Add generate config only to webpack 2020-05-26 18:21:42 +03:00
Sergey Rostov 61f213c80c KT-38250 The minimal supported Gradle version is 5.3 now
Gradle integration tests: use at least OLDEST_SUPPORTED version.

extract minSupportedGradleVersion for using both in check and tests

avoid using Usage.JAVA_API_JARS and JAVA_RUNTIME_JARS
2020-05-26 18:08:26 +03:00
Nicolay Mitropolsky 0bb3a4ccb7 201: Uast: KotlinUastCodeGenerationPlugin on the level needed for ReactorSupport (KT-38062) 2020-05-26 17:39:43 +03:00
Nicolay Mitropolsky 8434806f56 Ide-common: resolveToKotlinType moved to TypeUtils.kt in the *ide-common* 2020-05-26 17:39:43 +03:00
Nicolay Mitropolsky 70237ecf31 Uast: explicitly expose implicit Lambda parameters 2020-05-26 17:39:43 +03:00
Nicolay Mitropolsky 5f64c6b9f1 Uast: a proper sourcePsi for lambda parameters 2020-05-26 17:39:43 +03:00
anastasiia.spaseeva 9d862aaa1d [Spec tests] Remove spec info from fir tests 2020-05-26 17:27:06 +03:00
anastasiia.spaseeva 5ba9d09278 [Spec tests] Fix fir test runner for spec tests 2020-05-26 17:27:06 +03:00
Ilya Chernikov 2509dfb287 Rename scripting libs and plugin - invert embeddable suffix
now regular, unshaded libs, are named with suffix `-unshaded`, while
former `-embeddable` ones named without any suffix. This will encoursge
use of the shaded libs by default, avoiding conflicts with 3-party
libs packed into the `kotlin-compiler`.
Note, that only the "frontline" libs are renamed to avoid switching
problems, the ones that not normally used directly are left as is,
including the `kotlin-compiler` itself.
2020-05-26 15:58:25 +02:00
Zalim Bashorov f39165bb58 Revert accidentally pushed changes
Revert "~~~"

This reverts commit 03fcbfad

Revert "Add an ability to provide own handler for errors inside KotlinJavascriptMetadataUtils.loadMetadata"

This reverts commit 69827fc5

Revert "Add more detailed message for EA-227305 and EA-226744"

This reverts commit b79b3507
2020-05-26 16:15:59 +03:00
Roman Golyshev eb838b0fa0 KT-39179 Replace ApplicationBundle with KotlinBundle
- Used bundle messages are moved to JavaBundle in platform >= 201
- ^KT-39179 Fixed
2020-05-26 13:00:12 +00:00
Zalim Bashorov 03fcbfad1a ~~~ 2020-05-26 15:43:05 +03:00
Zalim Bashorov 69827fc5af Add an ability to provide own handler for errors inside KotlinJavascriptMetadataUtils.loadMetadata
Use a logger to handle errors inside loadMetadata when it's used from IDE (JsResolverForModuleFactory).

#EA-218905
2020-05-26 15:41:47 +03:00
Zalim Bashorov b79b3507f2 Add more detailed message for EA-227305 and EA-226744 2020-05-26 15:41:47 +03:00
Krasnoriadtseva Anastasiia a55dec28b9 [FIR] Fix infinite CFG traverse 2020-05-26 15:30:45 +03:00
Roman Artemev 7644b4baec [KLIB] Improve performance a bit 2020-05-26 14:41:49 +03:00
Roman Artemev 44dfae53f0 [IR BE] Add runtime compilation benchmarks for IR JS compiler 2020-05-26 14:41:49 +03:00
Roman Artemev e6c855111e [KLIB] Add flag to select between per-file and monolithic layout 2020-05-26 14:41:49 +03:00
Roman Artemev 444ecc0981 [PLUGIN API] Fix misprint 2020-05-26 14:38:18 +03:00
Roman Artemev bc32688497 [PLUGIN API] Drop PureIrGenerationExtension 2020-05-26 14:38:18 +03:00
Roman Artemev 6f2972ee8b [ANDROID] Move Parcelize plugin to general IrGenerationExtension API 2020-05-26 14:38:18 +03:00
Juan Chen adba0a03a6 [FIR] Create builtin primitive array types for properties
If the primary constructor has a vararg parameter, the corresponding
property has an array type. This commit creates the builtin array
types for such properties if the vararg element type is primitive,
e.g., CharArray instead of Array.
2020-05-26 14:08:47 +03:00
Vladimir Ilmov ed6aceca87 (UnusedSymbolInspection) lazy parameter evaluation fix 2020-05-26 12:36:42 +02:00
Nikolay Krasko 4a7854a948 Sign and generate hash for compiler and plugin zip 2020-05-26 12:47:10 +03:00
Vladimir Dolzhenko bf5c7aea4d Added heapDumper for perfTests 2020-05-26 11:09:25 +02:00
Dmitry Petrov 2f79b4c412 Add test for KT-34902 2020-05-26 11:59:05 +03:00
Mikhail Glukhikh 4455532210 JsIntrinsics: use createEmptyExternalPackageFragment 2020-05-26 11:50:55 +03:00
Mikhail Glukhikh 7818baff1e [FIR2IR] Fix problem with double-generation of local class members 2020-05-26 11:50:33 +03:00
Vyacheslav Gerasimov 64fcbbc89f Build: buildSrc should inherit build cache setup of parent project
https://docs.gradle.org/current/userguide/build_cache.html#sec:build_cache_composite
2020-05-26 10:39:27 +03:00
Vyacheslav Gerasimov 5bca9c488e Build: Don't unpack ivy repo artifacts if target directory exists 2020-05-26 07:18:09 +03:00
Vladimir Dolzhenko bca8e96362 Clean up after nicer performance tests suite dsl 2020-05-25 21:54:56 +02:00
simon.ogorodnik ac1769a474 [FIR2IR] Support SAM constructors 2020-05-25 21:24:39 +03:00
simon.ogorodnik dbc564e74e [FIR2IR] Approximate types for lambdas before passing to serialization 2020-05-25 21:24:39 +03:00
simon.ogorodnik b92194229c [FIR] Add fir copy function generation 2020-05-25 21:24:38 +03:00
pyos f625444be2 Update debugger test data
Note: neither the new nor the old data is actually correct, as the
debugger needs to stop on line 7 twice (once for the call, once for the
lambda) but ignore the synthetic line number in between.
2020-05-25 20:03:56 +02:00
pyos 76c34a07b2 JVM: use 1 as a synthetic line number for @InlineOnly lambdas
The source path already marks it as synthetic.
2020-05-25 20:03:56 +02:00
pyos 25e1fb8502 JVM: map synthetic line numbers through the SMAP
This is necessary so that IDEA does not ignore the line number.
2020-05-25 20:03:56 +02:00
pyos d17a18f96d JVM: do not write trivial SMAPs to classes outside inline funs
where trivial == those that map the file to itself.
2020-05-25 20:03:56 +02:00
Pavel Punegov a04aeeb4e1 Ignore broken test in Native 2020-05-25 20:58:43 +03:00
Victor Petukhov e70242f6f1 NI: some review fixes for improved postponed arguments analysis 2020-05-25 19:37:30 +03:00
Victor Petukhov 756326cefe NI: report error diagnostic about impossible to infer anonymous function's parameter
Partially fixed KT-39098
2020-05-25 19:37:27 +03:00
Dmitry Savvinov 00df562a2b Allow specific native targets to depend on unspecified native target
^KT-38769 Fixed
2020-05-25 16:13:10 +03:00
Vladimir Dolzhenko 55dc308688 Projects HL perf test 2020-05-25 13:11:10 +00:00
Vladimir Dolzhenko 1ae7f693c5 Nicer performance tests suite dsl 2020-05-25 13:11:09 +00:00
Mikhail Zarechenskiy 2cee82a348 [NI] Resolve receiver of provideDelegate independently
#KT-38259 Fixed
2020-05-25 16:06:55 +03:00
Mikhail Zarechenskiy 59f027e3e9 [NI] Don't try performing any conversions on receivers 2020-05-25 16:06:55 +03:00
Vladimir Ilmov de69962e9d (UnusedSymbolInspection) alternative accessor names for searching references
relates to #KT-38653
2020-05-25 14:49:16 +02:00
Vladimir Ilmov 17df7ade59 (UnusedSymbolInspection) Optimize second call to isCheapEnoughToSearchUsages
relates to #KT-38653
2020-05-25 14:49:16 +02:00
Mikhail Glukhikh 6c124ccd0c [IR] Drop deprecated symbol.descriptor based declaration constructors 2020-05-25 15:40:38 +03:00
Mikhail Glukhikh bb2e58b6a4 Deprecate IrDeclaration.descriptor and IrSymbol.descriptor 2020-05-25 15:40:38 +03:00