1186 Commits

Author SHA1 Message Date
Sergej Jaskiewicz c022c451a4 Adjust the code style to use trailing commas in parameter lists 2023-05-02 13:36:56 +00:00
Dmitriy Novozhilov 172501b9e0 Advance bootstrap to 1.9.20-dev-154 2023-04-30 17:43:20 +00:00
Dmitriy Novozhilov fe45e26d83 Advance bootstrap to 1.9.0-dev-6976 2023-04-26 17:48:14 +03:00
Dmitriy Novozhilov 7f07b2a82c Revert "Advance bootstrap to 1.9.0-dev-6379"
This reverts commit fe44727f97.

Revert is needed because of KT-58160
2023-04-21 13:15:45 +00:00
Dmitriy Novozhilov fe44727f97 Advance bootstrap to 1.9.0-dev-6379 2023-04-20 18:37:29 +00:00
Dmitriy Novozhilov 43dd8571d3 Revert "Advance bootstrap to 1.9.0-dev-5560"
This reverts commit e079d9d405.

Revert is needed because of KTIJ-25227
2023-04-12 18:20:00 +00:00
Dmitriy Novozhilov e079d9d405 Advance bootstrap to 1.9.0-dev-5560 2023-04-12 11:08:22 +00:00
Leonid Shalupov 7480befe32 Replace reflection-based compiler arguments copying with generated code
Using of Kotlin reflection for simple operations like bean management is very slow

First time initialization time: 261 ms for `copyBean(K2JVMCompilerArguments())`
Subsequent calls of `copyBean(K2JVMCompilerArguments())` take 1.7 ms per call

Unfortunately compiler argument handling is also used in Kotlin IntelliJ plugin
to parse facet settings. Big projects may have thousands of Kotlin facets

The same `ArgumentUtilsKt.copyProperties` frame is seen across various freezes:
IDEA-252440 2-3 minutes freeze on Kotlin project reimporting in last 203 eap
IDEA-253107 A lot of short freezes (1-3 sec) during Kotlin project development
KTIJ-23501 Make main run configuration detection lighter
KTIJ-22435 Unresponsive UI with 100% cpu

Reflection issue:
KT-56358 KClasses.getMemberProperties takes too much time

This commit replaces all reflection stuff with a simple code generation
Now `K2JVMCompilerArguments().clone()` goes to hard-to-measure time
2023-04-03 15:47:35 +02:00
Dmitriy Dolovov 8380a1ed54 [PL][tests] Update IDE run configurations 2023-03-29 15:41:06 +00:00
Dmitriy Novozhilov 0149ac3dbd Advance bootstrap to 1.9.0-dev-4392 2023-03-28 19:42:13 +03:00
Dmitriy Dolovov 295c578f44 [PL] Rename IDEA run configurations for ABI compatibility tests
Also: Run Native ABI tests with '--stacktrace' option turned on.
2023-03-23 10:24:27 +00:00
Sergej Jaskiewicz 70bcb1fdea [native] Support Native tests in Test Data Helper Plugin 2023-03-22 15:18:41 +00:00
Dmitrii Gridin 0863e9c589 [Test] Add testdata of LL Fir tests to Test Helper plugin path 2023-03-20 15:06:15 +01:00
Dmitriy Novozhilov 7a25e885b1 Advance bootstrap to 1.9.0-dev-3768 2023-03-18 00:44:36 +02:00
Dmitrii Gridin b7370f0156 [Test] Add testdata of SLC tests to Test Helper plugin path 2023-03-14 16:09:50 +01:00
Dmitriy Novozhilov 088109a660 Advance bootstrap to 1.9.0-dev-2695 2023-03-01 11:07:06 +00:00
Sergej Jaskiewicz c940eb25b0 [Test Data Helper Plugin] Update paths to JS output files
417fef0d58 updated the output paths,
but the plugin settings were not updated there.
2023-02-28 13:19:40 +00:00
Dmitriy Novozhilov 81c1014391 Advance bootstrap to 1.9.0-dev-1777 2023-02-15 16:35:15 +00:00
Sebastian Sellmair d24092e467 Demote LoggingStringTemplateAsArgument inspection to 'consideration' 2023-02-09 10:58:10 +00:00
Dmitriy Novozhilov 4e04a8bc69 Advance bootstrap to 1.9.0-dev-877 2023-02-01 11:31:44 +00:00
Svyatoslav Kuzmich bebb9b1392 [Wasm] Move compiler tests to :wasm:wasm.tests module
They don't belong in K/JS test module.
2023-01-31 13:12:12 +00:00
Kirill Rakhman e9b8d6db80 Add words to dictionary 2023-01-31 08:39:41 +00:00
Pavel Kirpichenkov 4dbb2b01fe [Tests] Give clear name to functional dependency resolution tests
KT-55530
2023-01-10 16:02:54 +00:00
Pavel Kirpichenkov c3ea93f4a4 [Tests] Split functional tests by Gradle tasks
KT-55530
2023-01-10 16:02:53 +00:00
Pavel Kirpichenkov cee5d568a5 [MPP, tests] Rearrange functional tests
Split tests into groups: unit tests, regression tests and
ide importing tests. Create additional run configurations for them.

KT-55530
2023-01-10 16:02:52 +00:00
pyos 803abfeba8 FIR: rewrite lambda return type inference
* `return` should only be added to the last statement if the return
   type is not Unit

 * If there is a `return` without an argument, then the expected return
   type is Unit and the last expression is not a return argument (unless
   it's an incomplete call, in which case it is inferred to return Unit;
   this behavior is questionable, but inherited from K1)

 * There should be a constraint on return arguments even if the expected
   type is Unit, otherwise errors will be missed

 * When the expected type is known, using the call completion results
   writer is pointless (and probably subtly wrong).

^KT-54742 Fixed
2023-01-10 15:40:45 +02:00
Abduqodiri Qurbonzoda 4af0f110c7 Fix 'Test: stdlib-js public kotlin api test' IDEA run configuration
Moving tests to another package made the IDEA run configuration obsolete.
To prevent this problem in the future a separate task (jsStdlibApiTest)
was introduced. The task is run in TC and will fail if the tests are missing.

Merge-request: KT-MR-8128
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com>
2023-01-07 12:30:52 +00:00
Ilya Kirillov ae68f08856 [FIR] make FirJavaClass.superTypes to be lazily enhanced
This should solve the problem with deadlocks/performance in the K2 IDE

This is a temporary solution until the ^KT-55387 is properly fixed

^KT-55387
^KT-54890
2023-01-06 18:55:43 +00:00
Dmitriy Novozhilov d0183f78ff Advance bootstrap to 1.8.20-dev-5197 2023-01-05 15:21:31 +02:00
Svyatoslav Kuzmich 9bc6b420a9 [Wasm][Stdlib] Add public APIs for linear memory access
Needed for interop with APIs that use linear memory.
2022-12-29 19:25:23 +00:00
Dmitriy Novozhilov bab91ce7b2 Advance bootstrap to 1.8.20-dev-4608 2022-12-21 22:30:08 +00:00
Sebastian Sellmair 84fdc5e3df [Gradle] Cleanup shared run configurations
^KT-55475 Verification Pending
2022-12-16 16:46:15 +00:00
Dmitriy Novozhilov c32d851585 Advance bootstrap to 1.8.20-dev-3892 2022-12-09 16:42:55 +02:00
Dmitriy Novozhilov 957987c16a [Test] Add testdata of AA tests to Test Helper plugin path 2022-12-09 12:02:09 +00:00
Dmitriy Novozhilov 03a43e0dc0 Advance bootstrap to 1.8.20-dev-3737 2022-12-07 16:47:48 +00:00
Dmitriy Novozhilov 5c3af11188 Advance bootstrap to 1.8.20-dev-3308 2022-11-30 12:25:20 +00:00
Sebastian Sellmair 4c69b5867f [Gradle][Minor] Update Test__Kotlin_Gradle_Plugin___idea.xml
KT-55112
2022-11-29 08:05:12 +00:00
Artem Daugel-Dauge 4f736524b2 KT-54969 Kotlin artifacts withPodspec DSL 2022-11-27 18:09:38 +00:00
Dmitriy Novozhilov c2d30c43bd Advance bootstrap to 1.8.20-dev-2904 2022-11-23 14:53:29 +00:00
Dmitrii Gridin 2d6fb8a99a .idea/codeStyle: fix format to avoid changes in git 2022-11-15 17:36:28 +01:00
Zalim Bashorov d4e0d07b5b [Wasm] Update Binaryen version in gradle plugin: 109 -> 110 2022-11-09 13:44:39 +01:00
Dmitriy Novozhilov ce94816d9e Advance bootstrap to 1.8.20-dev-2036 2022-11-08 15:10:57 +02:00
Dmitriy Novozhilov 5c277cf95d [Build] Roll back bootstrap for JPS build to 1.8.20-dev-1438
This is a workaround for KT-54791
2022-11-04 11:50:03 +02:00
Dmitriy Novozhilov 567ef1d905 Advance bootstrap to 1.8.20-dev-1815 2022-11-02 10:10:30 +02:00
Denis.Zharkov e6900ec0f2 Turn of LINE_BREAK_AFTER_MULTILINE_WHEN_ENTRY code style requirement 2022-10-31 11:11:01 +00:00
Sebastian Sellmair a67b2a8be5 [Gradle] Implement KotlinJvmCompilation with new underlying KotlinCompilationImpl
KT-54312
2022-10-27 09:13:06 +00:00
Dmitriy Novozhilov 766a51069c Advance bootstrap to 1.8.20-dev-1438 2022-10-24 12:24:40 +00:00
Dmitriy Dolovov afcf78ac94 [IR][JS] Partial linkage: Add IDEA run configurations for tests w/ and w/o IC 2022-10-19 13:46:23 +00:00
Dmitriy Novozhilov d94da7c207 Advance bootstrap to 1.8.20-dev-1278 2022-10-19 10:26:30 +00:00
Nikolay Krasko 2ea0cdf46d Rules for commit messages
Part of KTI-944 about adding automatic checks to commit messages.
2022-10-12 09:39:51 +00:00