Ilya Gorbunov
61175889b9
KT-53154 extract implementation of enumEntries into an expect/actual internal helper function
...
It's required, so it can be implemented in different backends
at a different pace and in a different manner
2023-07-24 11:18:44 +00:00
Roman Efremov
8ce1417621
[Stdlib] Fix reports of MPP annotation checker
...
^KT-58551
2023-07-24 09:48:49 +00:00
Roman Efremov
12eb6d97bf
[Stdlib] Remove @InlineOnly from expect declarations of minOf(), maxOf()
...
to satisfy MPP annotation checker.
It has reporting because @InlineOnly is absent on declarations with
Long parameter (removed in 233376eef0 ).
^KT-58551
2023-07-24 09:48:49 +00:00
Alexander Korepanov
ad3583ac38
[JS IR] Fix KClass equals for Nothing type
2023-07-21 14:48:30 +00:00
Alexander Korepanov
90498593f3
[JS IR] Fix review comments.
2023-07-21 14:48:30 +00:00
Alexander Korepanov
09501224e8
[JS IR] Add comments
...
^KT-59001
2023-07-21 14:48:30 +00:00
Alexander Korepanov
bfb7f74e47
[JS IR] Add linkedHashMap tests
...
^KT-59001
2023-07-21 14:48:29 +00:00
Alexander Korepanov
2fdb605a03
[JS IR] Fix tests
...
^KT-59001
2023-07-21 14:48:29 +00:00
Alexander Korepanov
0b4a9499f0
[JS IR] Catch concurrent modifications of HashMap
...
^KT-59001
2023-07-21 14:48:29 +00:00
Alexander Korepanov
5e2c1761fc
[JS IR] Implement InternalStringLinkedMap
...
^KT-59001
2023-07-21 14:48:29 +00:00
Alexander Korepanov
058cc9def2
[JS IR] Rework HashSet
...
^KT-59001
2023-07-21 14:48:29 +00:00
Alexander Korepanov
f834007da6
[JS IR] Remove unused code & comments & style fixes
...
^KT-59001
2023-07-21 14:48:29 +00:00
Alexander Korepanov
2300facead
[JS IR] Rework HashMapEntries, get rid of LinkedHashMap
...
^KT-59001
2023-07-21 14:48:29 +00:00
Alexander Korepanov
f202865080
[JS IR] Improve InternalStringMap iterators & Extend InternalMap interface
...
^KT-59001
2023-07-21 14:48:29 +00:00
Alexander Korepanov
6f0628cb8a
[JS IR] Replace InternalHashCodeMap with InternalHashMap
...
^KT-59001
2023-07-21 14:48:29 +00:00
Alexander Korepanov
6a1e14df0b
[JS IR] Implement InternalMap interface
...
^KT-59001
2023-07-21 14:48:29 +00:00
Alexander Korepanov
6a77514a83
[JS IR] Get rid of HashMap EqualityComparator
...
^KT-59001
2023-07-21 14:48:29 +00:00
Alexander Korepanov
402d5e63fd
[JS IR] Cleanup InternalHashMap
...
^KT-59001
2023-07-21 14:48:29 +00:00
Alexander Korepanov
e26c06f0e1
[JS IR] Copy paste native-wasm HashMap implementation
...
Copy from libraries/stdlib/native-wasm/src/kotlin/collections/HashMap.kt
^KT-59001
2023-07-21 14:48:29 +00:00
Artem Kobzar
044c0adae7
[K/JS] Implement an incremental compilation for the per-file granularity
2023-07-19 15:57:56 +00:00
Svyatoslav Kuzmich
2fd77d0925
[Wasm] IDL: Generate overloads for functions with union-typed arguments
2023-07-14 10:52:10 +00:00
Svyatoslav Kuzmich
c1100042b2
[Wasm] Use Unit in IDL event handler return type
...
Return value can be used in rare cases to stop event propagation.
Event methods can be called instead.
^KT-57058 Fixed
2023-07-14 10:52:10 +00:00
Abduqodiri Qurbonzoda
fed453fdea
Provide Common StringBuilder.append/insert with primitive type arguments #KT-57359
...
Merge-request: KT-MR-10892
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2023-07-13 11:52:14 +00:00
Yahor Berdnikau
73f6316f27
[repo] Enable warnings as errors for Gradle Kotlin scripts
2023-07-12 12:49:32 +00:00
Leonid Startsev
98cfa0315e
Use 'number' instead of 'amount' because 'times' is a countable noun. ( #5145 )
2023-07-11 13:21:15 +02:00
Abduqodiri Qurbonzoda
f152fa537d
Collection.toString() should not throw if it contains itself
...
Merge-request: KT-MR-10591
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2023-07-11 09:58:38 +00:00
cristiangarcia
0946039661
Reduce number of tasks realized eagerly from Konan Plugin
2023-07-10 14:42:30 +00:00
Igor Yakovlev
b5eafb9eb7
[Wasm] WasmExport implementation
2023-07-07 20:45:51 +00:00
Artem Kobzar
cf949e8760
[K/JS] Support KClass<*>.createInstance reflection method ^KT-58684 Fixed
2023-07-06 18:18:14 +00:00
Yahor Berdnikau
7bfe59253f
[repo] Migrate 'manifestAttributes()' into buildSrc
2023-07-04 19:26:38 +00:00
Yahor Berdnikau
db1086f005
[repo] Migrate 'configureFrontendIr()' into buildSrc
2023-07-04 19:26:38 +00:00
Yahor Berdnikau
73a757c105
[repo] Migrate Groovy build scripts to use 'publish()' directly from buildSrc
2023-07-04 19:26:38 +00:00
Yahor Berdnikau
d7fc4a1d27
[repo] Migrate Groovy build scripts to use 'sourcesJar()' directly from buildSrc
2023-07-04 19:26:38 +00:00
Yahor Berdnikau
6d5f1c84a7
[repo] Migrate Groovy build scripts to use 'javadocJar()' directly from buildSrc
2023-07-04 19:26:38 +00:00
Yahor Berdnikau
5de2b5aeb4
[repo] Migrate Groovy build scripts to use 'kotlinStdlib()' directly from buildSrc
2023-07-04 19:26:38 +00:00
Artem Kobzar
9ad5910de9
[K/JS] Remove isObject check from runtime ^KT-57926 Fixed
2023-07-03 13:19:43 +00:00
Abduqodiri Qurbonzoda
209c916a7e
OptIn ExperimentalNativeApi
2023-06-30 15:27:09 +00:00
Abduqodiri Qurbonzoda
f665388704
Advance ExperimentalNativeApi opt-in requirement level to ERROR #KT-57838
...
As a part of efforts to stabilize Native stdlib.
2023-06-30 15:27:08 +00:00
Abduqodiri Qurbonzoda
00abbc5cfe
Advance ObsoleteNativeApi opt-in requirement level to ERROR #KT-57088
...
As a part of efforts to stabilize Native stdlib.
2023-06-30 15:27:08 +00:00
Ilya Goncharov
b0b266b73d
[JS] Fix test of Ir Stdlib api
2023-06-29 14:25:45 +00:00
Vsevolod Tolstopyatov
37c2c862d8
KT-53154 enumEntries experimental intrinsic stub
...
Provide an inefficient default implementation and make it "@PublishedApi internal" so it can be safely merged as is.
Intrinsics will be added later in follow-up PRs, and then the implementation will be adjusted accordingly
Merge-request: KT-MR-10843
Merged-by: Vsevolod Tolstopyatov <qwwdfsad@gmail.com >
2023-06-28 20:25:11 +00:00
Abduqodiri Qurbonzoda
bf1c9774aa
Fix the ConcurrentModification test that fails in jdk9+
...
Modification registration seems to changed in Java 9. Now if the asked
capacity in `ensureCapacity` function is less than current capacity,
no modification is registered.
2023-06-28 19:00:46 +00:00
cristiangarcia
650b00e1b2
Improve DexMethodCount task
...
Use lazy api to set the file and avoid configuring Jar tasks
2023-06-28 07:48:20 +00:00
Bogdan Mukvich
a9d0ff83cf
Add SBOM publishing for kotlin wasm libraries
...
^KTI-1273
2023-06-27 09:02:18 +00:00
Ilya Gorbunov
39e9996940
Rename js/annotations.kt to avoid duplicates in sources
...
The conflicting one is Annotations.kt from builtins that are merged together with js stdlib sources, thus leading to two files with the same name differing only by case.
2023-06-26 18:24:34 +00:00
Artem Kobzar
89507c1b82
[K/JS] Remove dead branches for jsIsType
2023-06-26 14:00:09 +00:00
Alexander.Likhachev
cb087b7def
[Build] Bump gradle-node-plugin version to 5.0.0
...
This change is required to fix a configuration cache problem revealed after migration to Gradle 8.1
2023-06-26 10:36:25 +00:00
Alexander Udalov
4db2bc28f2
Minor, suppress unchecked cast warning
2023-06-22 18:55:56 +00:00
Alexander Udalov
ab195b68a5
Build: remove explicit enabling of RangeUntilOperator
...
This feature is enabled by default since 1.8. Using the `-XXLanguage`
compiler argument leads to big warnings which are distracting during the
build.
2023-06-22 18:55:56 +00:00
Artem Kobzar
64158a8a2f
[K/JS] Add file-to-file compilation ^KT-6168 Fixed
2023-06-22 18:23:45 +00:00