Igor Yakovlev
1e798a2527
[Wasm] Implement IrLinkageError end enable partial linker
...
KT-58088
2024-03-12 14:36:45 +00:00
Igor Yakovlev
84a5a9ff53
Revert "[Wasm] Implement IrLinkageError end enable partial linker"
...
This reverts commit c0f387dbd1 .
2024-03-11 19:27:12 +00:00
Ilya Gorbunov
dee9fdc02d
[stdlib] Regenerate sources
2024-03-11 18:12:27 +00:00
Igor Yakovlev
8fe5cf2641
[WasmJs] Support catching JS exceptions
...
Fixed #KT-65660
2024-03-11 14:27:12 +00:00
Igor Yakovlev
6930fc8fed
[WasmJs] Add support for external class reflection
...
Fix #KT-64890
2024-03-09 10:40:46 +01:00
Igor Yakovlev
60d425e2c7
[Wasm] Make specialisations for closured primitive values
...
Fixed KT-66065
2024-03-07 14:51:02 +00:00
Igor Yakovlev
c0f387dbd1
[Wasm] Implement IrLinkageError end enable partial linker
...
KT-58088
2024-03-05 17:17:32 +00:00
Igor Yakovlev
a5ef668e3c
[Wasm] Boolean boxed instances are the same
...
Fixed #KT-65411
2024-02-28 15:23:21 +00:00
Abduqodiri Qurbonzoda
0811a5b77b
Promote enumEntries() to stable #KT-65532
2024-02-27 19:49:12 +00:00
Abduqodiri Qurbonzoda
31aa71dd6a
Promote Common String.toCharArray(destination) to stable #KT-65532
2024-02-26 10:48:29 +00:00
Ilya Gorbunov
85854a6b8d
[stdlib] Make enumEntriesIntrinsic not reified/inline
...
It's required to simplify the corresponding backends' inliners.
KT-59712, KT-59713
2024-02-23 05:50:37 +00:00
Ilya Gorbunov
86d5e83f4b
[stdlib] Remove bootstrap implementation of enumEntriesIntrinsic
...
It should have been already implemented as intrinsic in all backends.
Do not test enumEntries intrinsic in the old JVM BE.
KT-53154
Co-authored-by: Alexander Udalov <alexander.udalov@jetbrains.com >
2024-02-23 05:50:37 +00:00
Ilya Gorbunov
15375c0fd5
[stdlib] Use more idiomatic and performant implementation of isBlank
...
Also replace expect-actual with a common function because its implementation is no longer different in different platforms.
KT-65590
2024-02-20 03:48:08 +00:00
Igor Yakovlev
7cf793f308
[Wasm] Add bootstrap declarations
2024-02-08 14:15:17 +00:00
Igor Yakovlev
be6b9e8a9a
[Wasm] Support lazy associated object initialisation
...
Fix #KT-63939
2024-02-08 14:15:17 +00:00
Artem Kobzar
8c69ffe8c9
[K/Wasm] Generate wasm-specific unsigned implementations ^KT-58039 Fixed
2024-01-29 20:11:41 +00:00
Artem Kobzar
b59993d88a
[K/Wasm] Prepare for splitting unsigned implementation helpers into expect/actuals KT-58039
2024-01-29 20:11:41 +00:00
vladislav.grechko
f318b5969d
Erase non-reified type parameters by-default when inlining.
...
Substitution of type arguments to non-reified type parameters may lead
to accidental reification, which should not be done (see ^KT-60174 for
examples). So, we should erase them, except the few cases.
^KT-60174: Fixed
^KT-60175: Fixed
2024-01-26 18:31:20 +00:00
Anastasiia Spaseeva
945f602b91
Revert "[Wasm] Support lazy associated object initialisation"
...
This reverts commit 552ee1ee38 .
2024-01-25 14:11:56 +01:00
Igor Yakovlev
552ee1ee38
[Wasm] Support lazy associated object initialisation
...
Fix #KT-63939
2024-01-24 16:24:44 +00:00
Igor Yakovlev
3e9b2573c5
[Wasm/std] Fix invalid sign for FP rem operator
...
Fixed #KT-64829
2024-01-24 15:40:48 +00:00
Igor Yakovlev
931cc48def
[Wasm/WASI] Implementation of a callback on root exported function exit
...
Fixed #KT-64486
2024-01-15 11:37:37 +00:00
Igor Yakovlev
99d5ee4db8
[stdlib] Replace usage of Enum.values with Enum.entries
2024-01-12 18:28:00 +00:00
Igor Yakovlev
2d08953c91
[stdlib] Remove unused kotlin.time.formatUpToDecimals
2024-01-12 18:28:00 +00:00
Igor Yakovlev
1e9bc1abc7
[Wasm/WASI] Use K/JVM implementation of MonotonicTimeSource
...
Fixed #KT-60963
2024-01-12 18:28:00 +00:00
Igor Yakovlev
567fc6b140
[Wasm/WASI] Make std random generator 64bit seeded
...
Fixed #KT-60962
2024-01-12 18:28:00 +00:00
Dmitrii Gridin
b6d373d8e5
Update copyright to 2024
2024-01-05 13:43:17 +00:00
Artem Kobzar
1473b4bb41
[K/Wasm] Introduce JsBigInt type
2023-12-13 18:44:57 +00:00
Artem Kobzar
2eb1e65bbf
[K/Wasm] Allow to export unsigned numbers
2023-12-08 09:06:19 +00:00
Ilya Gorbunov
4d8cf4903c
[stdlib] Explicit visibility and return types: DOM API
2023-11-21 18:14:09 +00:00
Ilya Gorbunov
ce427b96b3
[stdlib] Suppress explicit api errors in DOM declarations generated by dukat
...
Suppressions should be removed once dukat supports generating
explicit public visibility and return types
2023-11-21 18:14:09 +00:00
Ilya Gorbunov
cfa8a1dc0f
[stdlib] Explicit visibility and return types: Wasm
2023-11-21 18:14:09 +00:00
Ilya Gorbunov
aa4419b7e3
[stdlib] Explicit visibility and return types: Collections
2023-11-20 02:24:40 +00:00
Ilya Gorbunov
9ccce52915
Clean up WasExperimental annotation from declarations with SinceKotlin<=1.4
...
Since it is not possible to use -api-version < 1.4, this annotation has no effect
2023-11-10 12:20:52 +00:00
Ilya Gorbunov
bd6607c860
Drop kotlin-stdlib-wasm project
...
Its tasks are no longer used as build entry points
2023-10-20 16:27:30 +00:00
Ilya Gorbunov
469ca237db
Remove the previous approach to build wasm stdlib variants
2023-10-17 16:30:41 +00:00
Ilya Gorbunov
53681a33d9
Add required opt-ins in wasm stdlib sources
2023-10-17 16:30:41 +00:00
Ilya Gorbunov
735a97245d
Remove forgotten ExperimentalStdlibApi in wasm sources
2023-10-17 16:30:41 +00:00
Zalim Bashorov
86e854a980
Revert "[Wasm] Don't use the new br_on_cast* instructions since they are not supported in Node.js yet"
...
This reverts commit 2d728727
#KT-60828 Fixed
2023-09-19 09:23:26 +00:00
Ilya Gorbunov
8ae21c0e1b
[Generator] Do not omit public visibility of methods in wasm
2023-09-04 11:32:39 +00:00
Ilya Gorbunov
1c149925b7
[Generator] Always put expression body on a new line
2023-09-04 11:32:39 +00:00
Ilya Gorbunov
68a9b9c312
[Generator] Reference generator class in generated code files
2023-09-04 11:32:39 +00:00
Abduqodiri Qurbonzoda
9352e40d54
Wasm Enum.hashCode() is not final #KT-61614
...
Merge-request: KT-MR-11938
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2023-08-31 14:31:56 +00:00
Abduqodiri Qurbonzoda
84c6333b23
Introduce Common String.toCharArray(destination) #KT-60657
...
Merge-request: KT-MR-11340
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2023-08-25 03:11:13 +00:00
Ivan Kylchik
adce2c9a78
[WASM] Replace deprecated Char.toInt() with Char.code
2023-08-24 08:59:49 +00:00
Ivan Kylchik
ee973c0ede
[Generator] Generate Char class
2023-08-24 08:59:49 +00:00
Ivan Kylchik
38e434bc07
[Generator] Generate Boolean class
2023-08-24 08:59:49 +00:00
Ilya Gorbunov
3f3cd2e87a
[Generator] Set up body for rangeTo and rangeUntil by default
...
Also use expression body formatting for `rangeTo`.
2023-08-24 08:59:49 +00:00
Nikita Bobko
25c082f02b
K1: Implement a checker that disallows to have different member scopes for expect open and its actual
...
^KT-22841 Fixed
Review: https://jetbrains.team/p/kt/reviews/11603/timeline
The commit also introduces `@AllowDifferentMembersInActual` annotation in
stdlib which allows to suppress the diagnostic
2023-08-21 19:51:08 +00:00
Ilya Gorbunov
9640e32483
[stdlib-mpp] Publish wasm artifacts through variants of stdlib KT-60909
2023-08-18 15:36:15 +00:00