1068 Commits

Author SHA1 Message Date
Pavel Kirpichenkov 6674c3f482 [MPP] Apply @UnsafeNumber to functions and properties
KT-51224
KT-51215
2022-02-17 13:17:13 +03:00
Jinseong Jeon 26e923e3ae AA: introduce static project structure provider by compiler configuration
Also add standalone mode utils to configure Application/Project environments
2022-02-09 23:11:43 +01:00
Mads Ager a398f7d6cb Rename kt-reference module to kt-references. 2022-02-07 15:01:24 +01:00
Mads Ager 6f0bb0eda5 Add analysis:kt-reference module and move KtReferences there. 2022-02-07 15:01:23 +01:00
Igor Yakovlev 0fe7ad8157 [WASM] Enable std tests 2022-02-03 21:25:58 +01:00
Svyatoslav Scherbina a4f1147815 Bump bundled K/N version to 1.7.0-dev-1132 2022-01-31 09:14:18 +00:00
sebastian.sellmair d5823a5f7b [KPM] Implement kotlin-gradle-plugin-kpm-android module for prototyping 2022-01-26 21:51:53 +00:00
sebastian.sellmair e8d64542b0 Bump bundled K/N version to 1.7.0-dev-1037 2022-01-25 16:59:28 +00:00
sebastian.sellmair 8208f8cc0f Bump bundled K/N version to 1.7.0-dev-953 2022-01-25 16:59:27 +00:00
Dmitriy Novozhilov 473c6427be [Build] Add taks with tests for bootstrap configuration on TC 2022-01-19 15:26:25 +03:00
Nikolay Krasko 0ad440f112 Revert "Use relative paths in own kotlin klib artifacts"
Revert because using absolute paths in inputs ruins Gradle build caches.

This reverts commit 0884782c60.
2022-01-18 02:30:04 +03:00
Nikita Bobko 047272e56f Attach JPS plugin modules to the project model 2022-01-12 15:25:12 +01:00
Nikita Bobko 208e271b4e Kotlin JPS plugin: fix paths in tests 2022-01-12 15:25:12 +01:00
Nikita Bobko 9bdd38ad72 Introduce kotlin-jps-common-for-ide and kotlin-jps-plugin-classpath artifacts
KTIJ-11633
2022-01-12 15:25:09 +01:00
Dmitriy Dolovov e6a2785118 Bump Kotlin/Native version to 1.7.0-dev-528
Related to #KT-50591
2022-01-12 16:05:32 +03:00
Nikolay Krasko 0884782c60 Use relative paths in own kotlin klib artifacts
Old behaviour can be returned by kotlin.build.use.absolute.paths.in.klib
in local.properties

^KTI-730 In Progress
2021-12-29 17:39:51 +03:00
Ilya Kirillov 4d7af4beae Analysis: fix imports and module names 2021-12-27 16:23:46 +03:00
Ilya Kirillov ec0123663b Fix analysisAllTests task name 2021-12-27 16:23:28 +03:00
Ilya Kirillov 4c94e2958e Analysis: add more run configurations 2021-12-27 16:23:22 +03:00
Ilya Kirillov 40fdb26569 Analysis LC: introduce Symbol LC tests 2021-12-27 16:23:18 +03:00
Ilya Kirillov d2832697d9 Move stub building test generation to analysis generator 2021-12-27 16:23:15 +03:00
Ilya Kirillov a367fee5cf Add newly added modules to the list of compiler modules 2021-12-27 16:23:11 +03:00
Ilya Kirillov 02d68d7b12 Introduce cls stub building tests (mostly migrated from intellij) 2021-12-27 16:23:10 +03:00
Roman Artemev 4babc30624 [IR] Remove Persistent IR 2021-12-24 16:50:42 +03:00
Vyacheslav Gerasimov 03a3e7c68e Build: Workaround java-rt loading into Gradle daemon
Fixes IDEA diff for tests not showing diff transfer buttons in the
 "Click to see difference" window for a failed test
2021-12-22 16:23:08 +03:00
Vyacheslav Gerasimov 41902e69f5 Build: Move libraries versions from root project to versions.properties
and cleanup unused versions
2021-12-16 21:48:25 +03:00
Vyacheslav Gerasimov 944c7990a1 Build: Use fake ideaHome for tests with intellij build number only
#KTI-82
2021-12-16 21:48:24 +03:00
Vyacheslav Gerasimov f7a9065b75 Build: Use intellij maven repo instead of downloaded IDEA
#KTI-82
2021-12-16 21:48:23 +03:00
Nikolay Krasko 5ac4722be4 Run firCompilerTest in separate configuration 2021-12-15 19:18:56 +03:00
Nikolay Krasko ee507ceaed Simplify mapping between CI and test tasks 2021-12-15 19:18:56 +03:00
Nikolay Krasko 5162ef31fc Rename task kaptIdeTest -> kaptTests 2021-12-15 19:18:54 +03:00
Nikolay Krasko 85a3c9e251 Restore running :generators:test 2021-12-15 19:18:53 +03:00
Nikolay Krasko 71d84669f1 Remove idea tasks 2021-12-15 19:18:51 +03:00
Alexander Udalov a95375cd9f JVM IR: extract separate module backend.jvm.codegen
The main benefit is that now lowerings and codegen are compiled in
parallel, which speeds up the build. Hopefully, this will also improve
incremental compilation in case of implementation changes because the
rest of the compiler (cli & tests) has no "api" dependency on lowerings
and codegen.
2021-12-09 21:05:49 +01:00
Ilya Goncharov a66aeaf382 Add network settings for kotlin npm install
Because there can be multiple installations of NPM dependencies via Yarn, we need to work correctly consider concurrency of Yarn
Because Yarn cache could face with problems during concurrent installation, need to limit network concurrency with only 1 instance and use mutex on network

https://github.com/yarnpkg/yarn/issues/2146
2021-12-08 17:53:03 +00:00
Ilya Goncharov 0c74376cc4 rra/ilgonmic/after-test-promise
[JS] Node downloading for js ir integration kotlin test

[JS] Fix API of Promise

[JS IR] Promise symbol as lazy2

[JS] Support legacy compiler aftertest with promises

[JS IR] Generate finally for promised tests

[JS] Setup it tests for JS IR kotlin-test

Merge-request: KT-MR-5168

^KT-49738 fixed
2021-12-08 08:22:53 +00:00
Dmitriy Novozhilov 77101edfa4 [FIR] Setup tests for IC with compiler plugins
Most of those tests are ignored, because IC is not supported properly
  for compiler plugins. This commit is needed to prepare infrastructure,
  fix current behaviour and collect main problems of IC with plugins

Check fail.txt files in new testdata for explanation of problems
2021-12-03 14:17:41 +03:00
Dmitriy Novozhilov 1d32d5c7d8 [FIR] Slightly reorganize directory structure of FIR plugin prototype 2021-12-03 14:17:38 +03:00
Mikhael Bogdanov 0997207c7c Apply -Xjvm-default for specific modules only 2021-12-03 06:39:38 +01:00
Steven Schäfer a5fa69b8ee jvm-abi-gen: use kotlinx-metadata 0.4.0 from maven
(cherry picked from commit f5e95444f82bb8e4be72dcef18da3a92277911e0)
2021-12-02 01:41:57 +01:00
Alexander Udalov 8a7d86c4e5 Build: remove obsolete argument -Xskip-runtime-version-check
It was removed in KT-41664.
2021-11-30 17:13:10 +01:00
Nikolay Krasko af8faadca5 Update internal project junit dependency 4.12 -> 4.13.2 2021-11-24 19:35:31 +03:00
Nikolay Krasko 272081d8cf Reduce dependency on teamcity.jetbrains.com when downloading dependencies 2021-11-20 00:05:51 +03:00
konstantin.tskhovrebov cb37424831 Update K/N to "1.6.20-dev-5356". 2021-11-16 23:10:10 +03:00
konstantin.tskhovrebov d5ab0382f6 Revert "Update K/N version to "1.6.20-dev-3759""
This reverts commit d119976b46.
2021-11-09 22:03:09 +03:00
Konstantin Tskhovrebov d119976b46 Update K/N version to "1.6.20-dev-3759" 2021-11-08 16:57:22 +00:00
Igor Laevsky d1d2bd246b [Wasm] Bump nodejs version 2021-11-03 17:56:53 +03:00
Nikolay Krasko d348efa4c1 Do not pack proguard and stripped jars for kotlin-reflect into compiler zip
kotlin-reflect-proguard.jar has different timestamps and shows
difference on each build for the same sources.

The problem was introduced after migrating to Gradle 7.1 where
`libsDir` parameter was removed (https://docs.gradle.org/current/userguide/upgrading_version_6.html#removal_of_basepluginconvention_libsdir_and_basepluginconvention_distsdir).
After that the same variable started to be resolved to `dist` directory.
So this commit reverts the old behaviour.

^KTI-672 Fixed
2021-10-27 11:04:40 +03:00
Yan Zhulanow f0e703e1ee [FIR IDE] Add artifacts with base components of Analysis API implementations 2021-10-21 18:05:01 +09:00
Yan Zhulanow 516dd825c2 [FIR IDE] Initial descriptor-based implementation of the Analysis API 2021-10-20 19:41:24 +03:00