Dmitrii Gridin
864650c1c2
[AA K2] KtFirJavaFieldSymbolPointer: cleanup code
...
^KT-54311
2022-11-10 06:39:21 +00:00
Dmitrii Gridin
42f8e6fbe6
[AA] add more tests on java field symbols
...
^KT-54311
2022-11-10 06:39:20 +00:00
Dmitrii Gridin
137deadee5
[AA K2] KtFirConstructorSymbolPointer: cleanup code
...
^KT-54311
2022-11-10 06:39:20 +00:00
Dmitrii Gridin
5986a0d7b2
[AA K2] KtFirBackingFieldSymbolPointer: cleanup code
...
^KT-54311
2022-11-10 06:39:20 +00:00
Dmitrii Gridin
897a5b085d
[AA K2] implement symbol pointers for enum entry members without psi
...
^KT-54311
2022-11-10 06:39:19 +00:00
Dmitrii Gridin
1dfca7aca9
[FIR2IR] add option to allow IdSignature for members of local classes
...
^KT-54311
2022-11-10 06:39:19 +00:00
Dmitrii Gridin
c6a3ca86eb
[AA K2] symbol pointers: add tests on enum entry
...
^KT-54311
2022-11-10 06:39:19 +00:00
Dmitrii Gridin
03fed7a47f
[AA K2] KtFirMemberSymbolPointer: drop redundant cast
...
to support KtEnumEntrySymbol
^KT-54311
2022-11-10 06:39:18 +00:00
Dmitrii Gridin
9a418a7533
[AA K2] KtFirAnonymousObjectSymbol: cleanup code
...
^KT-54311
2022-11-10 06:39:18 +00:00
Dmitrii Gridin
bc3fcf22c4
[AA K2] reimplement symbol pointers for enum entry
...
^KT-54311
2022-11-10 06:39:18 +00:00
Dmitrii Gridin
9b6e9e2dd1
[AA K2] implement symbol pointers for type parameters
...
^KT-54311
2022-11-10 06:39:17 +00:00
Dmitrii Gridin
7d1ac0ac97
[AA] AbstractSymbolTest: fix race
...
^KT-54311
2022-11-10 06:39:17 +00:00
Dmitrii Gridin
47c9618b79
[AA K2] implement symbol pointers for type aliases
...
^KT-54311
2022-11-10 06:39:17 +00:00
Dmitrii Gridin
0808f4e233
[AA K2] implement symbol pointers for classes and objects
...
^KT-54311
2022-11-10 06:39:16 +00:00
Dmitrii Gridin
85072b0c96
[AA K2] KtFirMemberSymbolPointer: migrate owner to pointer
...
^KT-54311
2022-11-10 06:39:16 +00:00
Dmitrii Gridin
2ac85b96e5
[AA K2] KtFirKotlinPropertySymbol: cleanup code
...
^KT-54311
2022-11-10 06:39:15 +00:00
Dmitrii Gridin
f86c9be733
[AA K2] implement symbol pointer for top level properties
...
^KT-54311
2022-11-10 06:39:15 +00:00
Dmitrii Gridin
01e1fc042c
[AA] KtFirKotlinPropertySymbol: cleanup code
...
^KT-54311
2022-11-10 06:39:15 +00:00
Dmitrii Gridin
2888a3c2d2
[AA] KtFirFileSymbol: cleanup code
...
^KT-54311
2022-11-10 06:39:14 +00:00
Dmitrii Gridin
5eb0bfc180
[AA] SymbolPointerExceptions: cleanup code
...
^KT-54311
2022-11-10 06:39:14 +00:00
Dmitrii Gridin
4bd604f2ed
[AA] check symbol pointer restoring without psi anchor
...
^KT-54311
2022-11-10 06:39:14 +00:00
Mads Ager
636024f676
[JVM] Retain deprecated status for interface companion const property.
...
Create the field directly and maintain the fact that its corresponding
property is the companion object property. That property has the
deprecated annotation which puts the deprecated marker on the field
when code generating the field.
^KT-54840 Fixed
2022-11-09 23:15:31 +01:00
Xin Wang
7b3ce35613
JVM_IR: Prevent writing output after an error is reported
...
#KT-53825 Fixed
2022-11-09 23:14:11 +01:00
Pavel Mikhailovskii
252e97663b
KT-54784 Fix function inlining in init sections
2022-11-09 17:15:37 +00:00
Sergey.Shanshin
af4308e634
Fixed replacing serializer origin for generated classes
...
Do not use plugin origin for user-written classes that have @Serializer annotation for some reason. Plugin origin makes them synthetic which is incorrect because they're available in source code. Example of such class: @Serializer(JsonElement::class) class JsonElementSerializer
Merge-request: KT-MR-7627
Merged-by: Sergey Shanshin <Sergey.Shanshin@jetbrains.com >
2022-11-09 17:11:40 +00:00
Vyacheslav Karpukhin
a69ac69de1
KMM: fix multiplatform libraries import for Android (when running without an Android IDE plugin)
2022-11-09 16:01:02 +00:00
Vladimir Sukharev
574d78efce
[K/N] Remove remains of jcenter from kotlin-native/
...
Revert two special entries
Use proper mavenCentral()
Remove remains of jcenter from kotlin-native/
Merge-request: KT-MR-7610
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-11-09 13:23:09 +00:00
Zalim Bashorov
d4e0d07b5b
[Wasm] Update Binaryen version in gradle plugin: 109 -> 110
2022-11-09 13:44:39 +01:00
Zalim Bashorov
d29010807a
[Wasm] Apply recent changes in TFR proposal and update v8
...
Type index immediate was added to call_ref and return_call_ref instructions.
More details here https://github.com/WebAssembly/function-references/pull/76
2022-11-09 13:44:38 +01:00
Zalim Bashorov
9ed94b25fa
[Wasm] Cleanup instructions list
...
* Split by proposal, at least for work-in-progress ones
* Add a link to the repo for WIP proposals
* Move some instructions to right group
2022-11-09 13:44:38 +01:00
Zalim Bashorov
ff2d3d0bdb
[Wasm] Remove unnecessary --experimental-wasm-eh option while running d8 and nodejs
...
The support for Exception Handling proposal is turned on by default everywhere.
2022-11-09 13:44:38 +01:00
Sergej Jaskiewicz
7b7c517dbb
[JS IR] Emit original names for local vars to sourcemaps
...
#KT-35655 Fixed
2022-11-09 12:35:44 +00:00
Sergej Jaskiewicz
8efa72ca36
[JS] Make sourcemaps more precise wrt JS syntax
...
- Generate mappings for function parameters
- Don't generate debug info for dots in qualified references
- A location of a JsNameRef is considered the start of the rightmost
name
2022-11-09 12:35:44 +00:00
Margarita Bobova
4515130bfc
Add ChangeLog for 1.7.21
2022-11-09 12:34:14 +01:00
Jinseong Jeon
b2e239a542
AA: tests about equals on sealed/data class
...
^KT-54844 In Progress
2022-11-09 07:12:36 +01:00
Nikolay Krasko
a4cd485f48
Remove native-platform 0.14 usage from the buildSrc
...
It looks like net.rubygrapefruit:native-platform:0.14 is not in
plugins.gradle.org repository anymore.
And it's not used anyway.
> Task :buildSrc:generateExternalPluginSpecBuilders FAILED
'''
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildSrc:generateExternalPluginSpecBuilders'.
> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
> Could not find native-platform-0.14.jar (net.rubygrapefruit:native-platform:0.14).
Searched in the following locations:
https://cache-redirector.jetbrains.com/plugins.gradle.org/net/rubygrapefruit/native-platform/0.14/native-platform-0.14.jar
'''
Can be reproduced with
```gradle --refresh-dependencies -i tasks -Pkotlin.native.enabled=true```
KTI-986
2022-11-08 21:31:43 +01:00
Simon Ogorodnik
4f6ebdc97f
Tests. Fix JavaSourceInnerClassInClassPathTest writing to project root
2022-11-08 17:33:05 +00:00
Simon Ogorodnik
087555ee59
KTI-955. Add tests for CODEOWNERS file
...
- Check list of possible owners
- Check no unknown owners
- Check no unowned files in repo
- Check no unmatched patterns
2022-11-08 17:33:05 +00:00
Simon Ogorodnik
eea06eb242
KTI-955. Add initial Space CODEOWNERS file
2022-11-08 17:33:04 +00:00
Alexander Korepanov
d5a73a5df1
[JS IR] Return JsIrProgramFragment generators instead of ready objects
...
It allows to free IrFile objects on flight
right after the JsIrProgramFragment producing.
2022-11-08 15:18:45 +00:00
Alexander Korepanov
4aaae5347a
[JS IR] Allow IC metadata to be freed before the lowering
2022-11-08 15:18:45 +00:00
Alexander Korepanov
5b70d39bd0
[JS IR] Move id signature functions into a separate file
2022-11-08 15:18:44 +00:00
Alexander Korepanov
c0a1fa6f98
[JS IR] Move the JS AST serialization right before the IC data committing
...
It allows not to keep the binary representation in memory
2022-11-08 15:18:44 +00:00
Alexander Korepanov
eb781168b8
[JS IR] Move an IC IR loading process into a separate function
2022-11-08 15:18:44 +00:00
Alexander Korepanov
95e305be3a
[JS IR] Simple memory optimizations
...
- Use hash maps and hash sets instead of linked implementations
- Use weak hash maps for caches with IR elements as keys
- Intern JS function signatures
2022-11-08 15:18:43 +00:00
Alexander Korepanov
731dd9c3e8
[JS IR] More detailed time measurement for the IC infrastructure
2022-11-08 15:18:43 +00:00
Zalim Bashorov
21c4580e20
[JS, Wasm] Update Nodejs to the current LTS (18.12.1) and add useful links
2022-11-08 14:31:43 +00:00
Anna Kozlova
79bed083e6
[FIR] allow primary constructors in interfaces to support invalid code
...
KTIJ-23504
2022-11-08 14:51:33 +01:00
Dmitriy Novozhilov
ce94816d9e
Advance bootstrap to 1.8.20-dev-2036
2022-11-08 15:10:57 +02:00
Yahor Berdnikau
ddc72db0de
Configure compilation -jvm-target also from Java toolchain spec
...
Correctly wire JVM toolchain spec such way that `-jvm-target` will also
be configured from toolchain spec set either via java extension or
kotlin extension.
^KT-50115 Fixed
2022-11-08 09:20:01 +00:00