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
Mads Ager
ef499fedbb
[K/N] Deprecate -Xbundle-id and use binary options for Info.plist.
2022-06-23 09:57:13 +00:00
Mads Ager
c7e7080af6
[K/N] Allow control of BundleShortVersionString and BundleVersion
...
Adding -Xbundle-version and -Xbundle-short-version-string
compiler arguments. These can be used in the freeCompilerArgs
in the gradle configuration to control the version strings
in the Info.plist in generated frameworks.
```
version = "1.0"
macosX64("native") {
binaries.framework {
compilation.kotlinOptions.freeCompilerArgs += "-Xbundle-version=$version"
}
}
```
^KT-33117 Fixed.
2022-06-23 09:57:12 +00:00
Yahor Berdnikau
fcdab3995a
Don't add InspectClassesForMultiModuleIC task with new IC approach
...
Only valid for Kotlin/JVM compilations, all other platforms are still
rely on it.
^KT-52698 Fixed
2022-06-23 08:36:46 +00:00
Stanislav Erokhin
2234813363
[Analysis API] Add KtCallableMemberCall#typeArgumentsMapping
2022-06-23 07:50:21 +00:00
Stanislav Erokhin
8d8fc6e291
[Analysis API] Add type to KtReceiverValue
...
Maybe in the future we could remove type from the
KtImplicitReceiverValue, because it has ktSymbol, and in theory
that should be enough to create corresponding KtType.
Unfortunately that is not the case for KtClassOrObjectSymbol --
it doesn't have the API for "default" type creation currently.
Regarding code in KtFirCallResolver.kt -- it seems like code there
needs some love in the future. Psi created via custom code there,
because for call x() FIR has receiver x with psi = null
2022-06-23 07:50:21 +00:00
Vladimir Sukharev
409d959816
KT-51593 Include more information in Objective-C header documentation
...
#KT-51593 Fixed
Merge-request: KT-MR-6437
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-06-23 07:35:06 +00:00
Ilya Gorbunov
1cfc6a8fca
Move sources of ranges to common stdlib from builtins
...
But still cherry-pick them when serializing builtins because they are
used in builtins signatures.
Merge-request: KT-MR-6488
Merged-by: Ilya Gorbunov <Ilya.Gorbunov@jetbrains.com >
2022-06-23 03:49:30 +00:00
Kristoffer Andersen
3af0e57406
[FIR-IDE] Add DestructuringDeclarationEntry to SymbolProvider
2022-06-22 21:20:54 +02:00
Jinseong Jeon
b6371a5b9a
AA/FIR: differentiate dynamic type rendering
2022-06-22 20:14:39 +02:00
Jinseong Jeon
2d52c59bc7
AA: introduce KtDynamicType
2022-06-22 20:14:39 +02:00
Alexander Likhachev
e81231a78f
Drop redundant comment to OptIn annotation class
2022-06-22 20:24:52 +03:00
Artem Kobzar
ba738cbbff
feat: add ability to create nested entities inside object.
2022-06-22 11:59:13 +00:00
Pavel Mikhailovskii
3766698081
KT-52743 IR: Fix null checks in Elvis operators
2022-06-22 09:11:24 +00:00
Ilya Kirillov
ed97e73129
[Analysis API FIR] fix invalid fallback for enum classes modality
2022-06-22 09:31:50 +02:00
Ilya Kirillov
d716c68f0e
[Analysis API] cleanup code
2022-06-22 09:31:49 +02:00
Ilya Kirillov
37b0c20879
[Analysis API] improve KDoc for scopes
2022-06-22 09:31:49 +02:00
Ilya Kirillov
d8b88e9b69
[Analysis API] add testcases, add comments to tests
2022-06-22 09:31:48 +02:00
Ilya Kirillov
3ea2232591
[Analysis API] add KDocs for KtTypeScopeProvider
2022-06-22 09:31:48 +02:00
Ilya Kirillov
d5113892df
[Analysis API FE10] fix CallableId for synthetic java property descriptors
2022-06-22 09:31:48 +02:00
Ilya Kirillov
36f370f501
[Analysis API] add tests for KtTypeScope
2022-06-22 09:31:47 +02:00
Ilya Kirillov
b9907963fe
[Analysis API] add tests for KtSubstitutor
2022-06-22 09:31:47 +02:00
Ilya Kirillov
f4d47cfe59
[Analysis API fir] remove now unneeded ReadOnlyWeakRef
2022-06-22 09:31:46 +02:00
Ilya Kirillov
f966959615
[Analysis API] disable not passing new Analysis API tests for FE10
2022-06-22 09:31:46 +02:00