Dmitriy Novozhilov
04bf5bfe0b
[SAM with receiver] Extract some constants to common module
...
This is needed to publish them into corresponding jar for IDE
2022-06-27 08:11:32 +00:00
Dmitriy Novozhilov
ffc680f4a6
[SAM with receiver] Prepare module structure to K2 implementation
2022-06-27 08:11:32 +00:00
Dmitriy Novozhilov
e54c6eeafc
[FIR] Introduce extension for custom SAM conversions
2022-06-27 08:11:31 +00:00
Dmitriy Novozhilov
fcc5b804a8
[FIR] Add forgotten resolution of annotations on get class calls
2022-06-27 08:11:31 +00:00
sebastian.sellmair
c16955ff3f
[MPP] SourceSetMetadataStorageForIde: Remove faulty 'cleanupStaleEntries'
...
^KT-52955 Verification Pending
This method over-aggressively removed libraries in the situation of
isolated KGP ClassLoaders or when a project enabled Gradles configuration
caching. This faulty cleanup is removed in anticipation
of a re-structured SourceSetMetadataStorageForIde in the near future.
2022-06-27 07:28:01 +00:00
Yahor Berdnikau
a85490ea7d
Add conventions only if they are still available
...
So Gradle could drop conventions in Gradle 8.0 release.
^KT-47047 Fixed
2022-06-26 22:43:28 +02:00
Yahor Berdnikau
2260893142
Add Gradle version specific accessor for BasePlugin configuration
...
^KT-47047 In Progress
2022-06-26 22:43:28 +02:00
Yahor Berdnikau
7630afd37d
Replace MPP 'fromPreset' convention with normal extension methods
...
^KT-47047 In Progress
2022-06-26 22:43:28 +02:00
Ilya Gorbunov
af6958de02
Fix stdlib-gen run configuration
...
--configure-on-demand parameter seems to no longer work in kotlin gradle project
2022-06-26 21:29:57 +03:00
mvicsokolova
8053746ae0
kotlinx.atomicfu JVM/IR compiler plugin support
...
Merge-request: KT-MR-6541
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com >
2022-06-26 07:17:06 +00:00
Alexander Shabalin
eaad75fd52
[K/N] Refactor runtime testing tasks
...
Merge-request: KT-MR-6360
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-06-25 09:55:27 +00:00
Sergey Bogolepov
bb493ccb3e
[K/N] Add test-case for KT-49034
2022-06-24 23:57:12 +03:00
Sergey Bogolepov
8e3d574913
[K/N] Check type of forward declaration in resolve
...
Fixes KT-49034
2022-06-24 23:57:12 +03:00
Troels Bjerre Lund
508c4d1a99
[K/N] Fix typo in dependency for build task
...
Typo caused ./gradlew :kotlin-native:build to fail
2022-06-24 18:29:37 +00:00
Johan Bay
e380d7d495
[K/N] fix minor typos and outdated documentation
2022-06-24 20:27:33 +02:00
Ilya Gorbunov
059ffe7a9b
Cleanup obsolete RequireKotlin annotations
...
They were used to prevent older compiler versions from using specific API, but now these versions are even older than the first compiler version (namely 1.6) that can read this stdlib.
2022-06-24 16:57:58 +00:00
Ilya Kirillov
186beddf5c
[Analysis API FIR] fix member scope for enum entries
2022-06-24 15:36:32 +00:00
Ilya Kirillov
89ff1f0c0b
[Analysis API FIR] fix member scope for enum entries without body
2022-06-24 15:36:32 +00:00
Mikhail Zarechenskiy
47beef16f3
Increase binary stub version for 1.7.0
...
New stub version forces reindex & reimport for JPS-based projects,
making their compiler plugin libs consisten with the bundled JPS
compiler
^KTIJ-21982
2022-06-24 15:05:18 +00:00
Sergey Bogolepov
1de62d6232
[K/N] Add test-cases for KT-50109
2022-06-24 13:49:23 +00:00
Sergey Bogolepov
204cde357b
[K/N] Add error when companion of non-Obj-C-subclass inherits Obj-C meta
...
Fixes KT-50109
2022-06-24 13:49:22 +00:00
Sergey Bogolepov
8632103fc8
[K/N] Check Obj-C class declaration before its children
2022-06-24 13:49:21 +00:00
Sergey Bogolepov
26d09040a4
[K/N] Add own gettid implementation
...
Call-checker can't handle syscalls yet, so instead we wrap it
inside function.
2022-06-24 13:15:29 +00:00
Sergey Bogolepov
4e4b1c1d4d
[K/N] Add GetCurrentThreadId to state checker exceptions
...
It is called from `CallInitGlobalPossiblyLock` which is executed in
the runnable state.
2022-06-24 13:15:28 +00:00
Sergey Bogolepov
0dcf638519
[K/N] Add runtime.bc to runtime LTO
...
Fixes KT-52799
2022-06-24 13:15:28 +00:00
Ilya Kirillov
872b5a6a33
[Analysis API FIR] collect scope sequences more lazily
2022-06-24 11:11:25 +02:00
Ilya Kirillov
693b6f04e4
[Analysis API] cleanup, remove repetitive logic
2022-06-24 11:11:24 +02:00
Ilya Kirillov
567cda9767
[Analysis API] cleanup the code
2022-06-24 11:11:24 +02:00
Ilya Kirillov
da43062a46
[FIR] do not swallow PCE
2022-06-24 10:50:31 +02:00
Ilya Kirillov
47c51b82b6
[Analysis API] do not rethrow PCE from FirCache
...
^KT-51656
2022-06-24 10:50:31 +02:00
Ilya Kirillov
154a54a1e7
[Analysis API] add more info to the error message of KtCallResolverMixIn
2022-06-24 10:50:31 +02:00
Ilya Kirillov
86605c066b
[Analysis API] move PSI utils to internal-utils module
2022-06-24 10:41:05 +02:00
Ilya Kirillov
bb7b34b3a1
[Analysis API] introduce KtSymbolOrigin.SUBSTITUTION_OVERRIDE
...
^KT-52043
2022-06-24 10:41:05 +02:00
Ilya Kirillov
0ba06e0807
[LL API] remove unused executeOrReturnDefaultValueOnPCE
2022-06-24 10:41:05 +02:00
Ilya Kirillov
706d20a523
[LL API] use FirCacheFactory in LLFirProviderHelper
2022-06-24 10:41:04 +02:00
Denis.Zharkov
d8dad02f08
FIR: Fix internal error on SAM with not-computed return type
...
^KT-52691 Fixed
2022-06-24 08:33:22 +00:00
Yahor Berdnikau
f9e00b0eb2
Fix all publications contain dependencyManagement
...
Only apply gson constraint for those modules which adds dependency on
gson.
2022-06-24 08:10:49 +00:00
sebastian.sellmair
096897492b
[kpm] :kgp-idea-proto: Use default 'embedded' configuration over custom 'shadows'
2022-06-24 07:48:44 +00:00
sebastian.sellmair
e158cf5dd2
[Gradle] copyZipFilePartially: Retain ZipEntry meta information
...
^KT-52741 Verification Pending
This change leads to reproducible outputs when extracting zips
using this function.
KT-52741 in particular was invoking this function
during metadata transformation rendering the extracted klibs
as different between builds.
2022-06-24 07:43:02 +00:00
Aurimas
e2ac24cc90
Make sure to sort klib manifest data
...
Not sorting results in non reproducible output causing up-to-date check failures
2022-06-24 07:43:01 +00:00
Mikhail Glukhikh
481607df43
FIR: support proper argument mapping for substitution overrides
...
Related to KT-52762
2022-06-23 18:18:42 +00:00
Svyatoslav Scherbina
a3ee2d7349
Revert "[Gradle] Propagate offline mode to Native compiler"
...
This reverts commit 15a52f33
2022-06-23 18:09:36 +00:00
Svyatoslav Scherbina
0fe4c6217c
Revert "[Gradle] Propagate offline mode to Native cinterop"
...
This reverts commit a28884b1
2022-06-23 18:09:36 +00:00
Svyatoslav Scherbina
146564718e
Revert "[Gradle] Propagate offline mode to Native platform libs generator"
...
This reverts commit fa951f8f9c .
2022-06-23 18:09:35 +00:00
Svyatoslav Scherbina
b3848811e6
Revert "[Gradle] Fix Native offline tests on Windows"
...
This reverts commit 118bda675f .
2022-06-23 18:09:34 +00:00
Ilya Goncharov
487e854f60
[Gradle, JS] Compatibility changes for css and scss support
2022-06-23 18:08:24 +00:00
sebastian.sellmair
f996e87528
KotlinToolingVersion: Allow dev versions with generic classifiers
...
e.g.:
1.6.20-dev-myWildcard-510 (build number 510)
1.6.20-dev-myWildcard (no build number)
1.6.20-dev-myWildcard510 (no build number)
1.6.20-dev-google-pr210-510 (build number 510)
2022-06-23 16:00:06 +00:00
mvicsokolova
d015b2b899
Publish kotlinx-atomicfu-runtime module
...
Merge-request: KT-MR-6516
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com >
2022-06-23 14:56:57 +00:00
Pavel Punegov
0e375e4a3f
[K/N][perf] Exclude videoplayer bench from execution
...
Due to the luck of available agents that have SDL and ffmpeg turn off this benchmark
2022-06-23 13:57:32 +00:00
Troels Bjerre Lund
e520fb712b
[K/N] Fix general case of KT-49827
...
When loading default libraries, the code assumed that all subdirectories
of <kotlin native home>/klib/*/ corresponded to valid libraries. The bug
report only considers the case of .DS_STORE, which is generated by
Finder on MacOS, but this case has already been accounted for in the
code.
The fix filters out all subdirectories that are not stdlib and don’t have the
“org.jetbrains.kotlin” prefix.
Co-authored-by: Troels Lund <troels@google.com >
2022-06-23 10:12:38 +00:00