Commit Graph

96979 Commits

Author SHA1 Message Date
Dmitriy Novozhilov 9e4e5eed68 [FIR] Introduce FirResolvedErrorReference node 2022-12-15 12:12:19 +00:00
Ilya Muradyan db5913bbb6 KTIJ-8463: add possibility to pass additional analyzer flags 2022-12-15 10:30:43 +01:00
Sergey Bogolepov 1137299497 [K/N] Support ObjCExport in dynamic driver 2022-12-15 08:45:22 +00:00
Mikhail Glukhikh b271b409c7 Fix final -> open modality in new test data after 2022-12-14 23:19:37 +01:00
Steven Schäfer 6af616d3c3 FIR: make declarations marked with 'override' implicitly open
#KT-52236 Fixed
2022-12-14 21:46:41 +00:00
Bogdan Mukvich 9c1a68fcec Specify versions-maven-plugin version explicitly
If version not specified explicitly maven-cli downloads the latest
Regression have been introduced in version 2.14.0
https://github.com/mojohaus/versions/issues/848
2022-12-14 18:15:07 +01:00
Vyacheslav Gerasimov 4ae12bf270 Build: Introduce jsFirCompilerTest & jsIrCompilerTest root tasks 2022-12-14 15:13:09 +01:00
Vyacheslav Gerasimov 4c4a92be44 Build: Introduce parcelizeTests root task 2022-12-14 15:13:08 +01:00
Dmitrii Gridin 4dec14eb8e CODEOWNERS: don't require separate review of generated files 2022-12-14 12:51:51 +00:00
Ilya Kirillov 68a17242b3 [FIR] fix NPE on missing java annotations qualifier
^KTIJ-23075 fixed
2022-12-14 09:58:07 +00:00
Dmitriy Dolovov f07f7885c5 [K/N] Small clean-up in LLDB tests 2022-12-14 08:58:10 +00:00
Johan Bay 842a66c3de [K/N] Migrate LLDB test to blackboxtest
This change only introduces a single sample test together
with the necessary plumbing for basic LLDB testing.
Migrating the rest of the tests over and introducing more
complex interop setups will be tackled as a follow-up.
2022-12-14 08:58:10 +00:00
Bogdan Mukvich d61c3d1add Exclude gradle integration tests build directory from codebase tests 2022-12-14 08:50:43 +00:00
Ilya Kirillov 8b88315a69 [LL FIR] do not allocate lambda for the ValueWithPostCompute.guard
to reduce a memory consumption for a little

ValueWithPostCompute are created very often
2022-12-14 08:33:07 +00:00
Ilya Kirillov 2bb3b41348 [LL FIR] clear implementation details in ValueWithPostCompute after the value is computed
to save some memory
2022-12-14 08:33:07 +00:00
Ilya Kirillov f9298d8e85 [LL FIR] try to check for PCE in ValueWithPostCompute to avoid possible deadlocks 2022-12-14 08:33:06 +00:00
Ilya Kirillov de7383ff15 [LL FIR] check for PCE after acquiring the lock for resolve
To the moment we acquire the lock, the computation might not be needed
2022-12-14 08:33:06 +00:00
Ilya Kirillov c80221afd3 [LL FIR] always use lockWithPCECheck for resolve to check possible PCE 2022-12-14 08:33:06 +00:00
Ilya Kirillov d7ee312b83 [Analysis API] do not rethrow java.lang.Error
Errors as OutOfMemoryError should not be caught or wrapped
2022-12-14 08:33:05 +00:00
Ilya Kirillov 9cf77e19be [LL FIR] fix memory leak from LLFirSessionProvider for the module
LLFirSessionProvider stores all transitive module dependencies,
even if they are not needed or already invalidated and garbage collected

Now, the dependencies are stored on the weak references, and so then nobody uses them, they will be garbage collected
2022-12-14 08:33:05 +00:00
Dmitrii Gridin 34e4645385 [ULC] avoid resolve from KtUltraLightClassModifierList.hasModifierProperty in most cases
^KT-55445 Fixed
2022-12-13 18:18:00 +00:00
Svyatoslav Scherbina 92a6c29941 Bump Kotlin/Native version to 1.8.20-dev-4077 2022-12-13 18:01:26 +00:00
Sergej Jaskiewicz 9c6f92d697 [test] Add a test for KT-55318 2022-12-13 17:01:00 +00:00
Dmitrii Gridin cebccee4be [SLC] add inheritors testData for facade class 2022-12-13 16:54:26 +00:00
Dmitrii Gridin 66dc7a3168 [SLC] make inheritors testData more human-readable 2022-12-13 16:54:26 +00:00
Dmitrii Gridin 69d308edac [SLC] change 'inh.txt' extension to 'inheritors.txt' for tests 2022-12-13 16:54:25 +00:00
Dmitrii Gridin aa625ffb0d [SLC] implement 'isInheritor' for 'DefaultImpls'
^KT-55442 Fixed
2022-12-13 16:54:25 +00:00
Dmitrii Gridin b2c0a37050 [SLC] implement infrastructure for light class hierarchy tests 2022-12-13 16:54:25 +00:00
Dmitrii Gridin feff03894f [SLC] fix testData dir name 2022-12-13 16:54:24 +00:00
dependabot[bot] 1371216207 Bump decode-uri-component in /libraries/tools/kotlin-test-js-runner
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 16:27:53 +01:00
Svyatoslav Kuzmich 777bb0f0cb [Wasm] Rename Wasm*CodegenContextImpl to Wasm*CodegenContext 2022-12-13 16:08:49 +01:00
Svyatoslav Kuzmich b9b2723b0a [Wasm] Remove Wasm*CodegenContext interfaces
Use classes instead
2022-12-13 16:08:48 +01:00
Sebastian Sellmair 1d30ce9662 [Gradle] MppCompositeBuildIT: Replace included build path in Windows compatible way
^KT-52172 Verification Pending
2022-12-13 14:47:19 +00:00
Sebastian Sellmair 151da98331 [Gradle] cleanNativeDistributionCommonization: Don't try to delete .lock file
^KT-52172 Verification Pending
2022-12-13 14:47:19 +00:00
Sebastian Sellmair 8a01ad9010 [Gradle] MppCompositeBuildIT: Add test for included build using different Kotlin version
^KT-52172 Verification Pending
2022-12-13 14:47:18 +00:00
Sebastian Sellmair fb6a2f5bb4 [Gradle] Implement MppCompositeBuildIT based on martinbonnin's commit
^KT-52172 Verification Pending
2022-12-13 14:47:18 +00:00
Sebastian Sellmair abd58445c9 [Gradle] Move test project from martinbonnin into /sample1
^KT-52172 Verification Pending
2022-12-13 14:47:18 +00:00
Martin Bonnin 240983bca4 [Gradle] add a reproducer project for KT-52172
Cherry Picked from: https://github.com/JetBrains/kotlin/pull/5045
2022-12-13 14:47:17 +00:00
Sebastian Sellmair b706e05e65 [Gradle] NativeDistributionCommonizerLock: Lift lockedOutputDirectories into companion
^KT-52172 Verification Pending
2022-12-13 14:47:17 +00:00
Sebastian Sellmair 7f14255be8 [Gradle] Implement initial MppCompositeBuildIT
^KT-52172 Verification Pending
2022-12-13 14:47:17 +00:00
Sebastian Sellmair d12fbcf574 [Gradle] Share NativeDistributionCommonizerLock with 'cleanNativeDistributionCommonization' task
KT-52172
2022-12-13 14:47:16 +00:00
Sebastian Sellmair 6e0f5e8212 [Gradle] NativeDistributionCommonizerCache: Share intraProcessLock statically
KT-52172
2022-12-13 14:47:16 +00:00
Sebastian Sellmair b872d42723 [Gradle] Handle multiplatform composite builds when metadata.jar is not yet present
KT-52172
2022-12-13 14:47:16 +00:00
Sebastian Sellmair 90f8edbe80 [Gradle] TCS:Gradle Sync: Initial support for multiplatform composite builds
KT-52172
2022-12-13 14:47:15 +00:00
Sebastian Sellmair d4177f167b [Gradle] ResolvedMppVariantsProvider: Use dependent.selected instead of requested...
... in order to support dependencySubstitutions

KT-52172
2022-12-13 14:47:15 +00:00
Sergey Bogolepov 287337007f [K/N] More clear separation of CAdapterGenerator
Separated CAdapterBindingsBuilder into
CAdapterCodegen and CAdapterApiExporter. It makes C export much more
comprehensible and allows to split it into more clear phases.
2022-12-13 14:42:22 +00:00
Sergey Bogolepov c33013e159 [K/N][CExport] Prepare a BuildCExports phase for the dynamic driver 2022-12-13 14:42:22 +00:00
Sergey Bogolepov 4b67ecc15b [K/N][CExport] Minor cleanup 2022-12-13 14:42:21 +00:00
Sergey Bogolepov 2881aa4478 [K/N][CExport] CAdapterGenerator.BindingsBuilder -> CAdapterBindingsBuilder 2022-12-13 14:42:21 +00:00
Sergey Bogolepov 4b6b74fb2c [K/N][CExport] Explicitly pass data to CAdapterGenerator.BindingsBuilder 2022-12-13 14:42:20 +00:00