Kevin Bierhoff
9fe6e97cb8
Extensions for java.util.Optional (KT-50484)
...
Co-authored-by: Ilya Gorbunov <ilya.gorbunov@jetbrains.com >
2022-04-13 14:34:06 +03:00
Ilya Gorbunov
f3cf8cc13b
Hide subarrayContentToString in Native&Wasm
2022-04-12 15:03:40 +00:00
Ilya Gorbunov
1845e326d1
Hide deprecated Double/FloatArray.contains/indexOf/lastIndexOf
2022-04-12 15:03:40 +00:00
Ilya Gorbunov
b35c571a23
Remove deprecated sequence and iterator builders
...
They were originally provided for migration from experimental coroutines
#KT-26678
2022-04-12 15:03:39 +00:00
Ilya Gorbunov
2303730d57
Remove deprecated and not stabilized primitive unsigned iterators
2022-04-12 15:03:38 +00:00
Ilya Gorbunov
4598552e46
Promote Regex.matchAt and matchesAt to Stable #KT-51470
2022-04-12 15:03:37 +00:00
Nikolay Krasko
405e90abee
Apply -Xklib-relative-path-base to all KotlinCompile tasks
...
As absolute paths were also revealed in
atomicfu.jar
kotlin-stdlib-wasm
kotlin-test-wasm
Use solution from Alexander Likhachev (avoid accessing
buildDir, projectDir in doFirst()) to prevent breaking the configuration
cache.
Should be removed after fixing KT-50876
KTI-729
2022-04-07 19:17:20 +00:00
Abduqodiri Qurbonzoda
33fb49f20d
Fix JDK7 failing tests
2022-04-06 07:42:58 +00:00
Igor Laevsky
81eae94821
[Wasm] Disable range checks for arrays. Add cli argument to enable them back.
2022-04-05 18:00:32 +00:00
Igor Laevsky
2c9bfe901d
[Wasm] Pull array range checks into single function
2022-04-05 18:00:31 +00:00
Ivan Kylchik
6f448820f0
Add new internal annotation IntrinsicConstEvaluation
2022-04-05 17:20:38 +00:00
Abduqodiri Qurbonzoda
1cb5cab28f
[K/N and WASM] Fix ESCAPE and COMMENTS modes
2022-04-05 15:21:31 +00:00
Abduqodiri Qurbonzoda
7b46738796
[K/N and WASM] Throw on unknown inline flag modifier
2022-04-05 15:21:30 +00:00
Abduqodiri Qurbonzoda
9593069cb3
[K/N and WASM] Throw on duplicate group name
2022-04-05 15:21:30 +00:00
Abduqodiri Qurbonzoda
187faa121e
Test backreference to group with index zero
2022-04-05 15:21:29 +00:00
Abduqodiri Qurbonzoda
74121b26c0
Test octal literal in regex
2022-04-05 15:21:28 +00:00
Abduqodiri Qurbonzoda
46408ffd9d
Fix tests by adjusting to platform behavior
2022-04-05 15:21:27 +00:00
Abduqodiri Qurbonzoda
d500d03baa
[K/N and WASM] Support back references to groups with multi-digit index #KT-51776
2022-04-05 15:21:27 +00:00
Abduqodiri Qurbonzoda
9c4c1ed557
[K/N and WASM] Implement named capturing group in Regexes #KT-41890
2022-04-05 15:21:26 +00:00
Abduqodiri Qurbonzoda
c3f5d03b36
[JS] Support named capture groups in Regex #KT-51775
2022-04-05 15:21:25 +00:00
Vsevolod Tolstopyatov
cf79752c14
Stabilize deepRecursiveFunction and DeepRecursiveScope
...
#KT-51848
2022-04-05 12:49:35 +00:00
Ilya Gorbunov
4c461d7864
Add min/max test generator and generated tests
...
Temporarily exclude these tests from kotlin-stdlib-wasm testing due to KT-51647
2022-04-04 22:33:25 +00:00
Ilya Gorbunov
60fbb0d171
Reintroduce min/max operations for non-empty collections KT-50146
2022-04-04 22:33:24 +00:00
Abduqodiri Qurbonzoda
42c9a27b8a
Specialize Progression first/last/OrNull functions #KT-42178
2022-04-04 22:27:49 +00:00
Vsevolod Tolstopyatov
82c959c4be
KT-51082 introduce Class<E : Enum<E>>.declaringJavaClass as a future replacement for synthetic declaringClass
2022-04-04 13:36:14 +00:00
Ilya Gorbunov
000165b12b
Fix incorrect conversion of Long to String in base 36 in JS KT-48924
2022-03-30 06:13:51 +00:00
Artem Kobzar
0153f5d92a
chore: set isComplete flag also for interfaces that do not contain constructor fields.
2022-03-21 18:53:04 +00:00
Igor Yakovlev
d881f0d2a6
[WASM] Replace String storage type from CharArray to WasmCharArray
2022-03-21 17:24:38 +00:00
Artem Kobzar
ac542d4c01
feat(JS/IR isInterfaceImpl perf): improve isInterfaceImpl performance by memoize an result.
2022-02-28 20:28:10 +00:00
Mikhail Glukhikh
53d6ac24e5
Switch kotlin version to 1.7
...
* Change 1.6 to 1.7 constants
* Fix SAFE_CALL_WILL_CHANGE_NULLABILITY for testData
* Change EXPOSED_PROPERTY_TYPE_IN_CONSTRUCTOR_WARNING to EXPOSED_PROPERTY_TYPE_IN_CONSTRUCTOR_ERROR
* Change NON_EXHAUSTIVE_WHEN_STATEMENT to NO_ELSE_IN_WHEN
* Fix testData for SafeCallsAreAlwaysNullable
* Change T -> T & Any in test dumps
* Change INVALID_CHARACTERS_NATIVE_WARNING -> INVALID_CHARACTERS_NATIVE_ERROR
* TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM_WARNING -> TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM_ERROR
2022-02-25 11:46:27 +00:00
Ilya Matveev
f7468cf9bc
[K/N][stdlib] Support \V, \v, \H, \h, \R in regex engine
...
Issue #KT-50742 Fixed
2022-02-21 13:20:23 +07:00
Dmitriy Novozhilov
baf300a815
[StdLib] Suppress INVISIBLE_REFERENCE alongside with INVISIBLE_MEMBER
...
This is needed to successful compilation of stdlib with FIR compiler
2022-02-18 17:44:43 +03:00
Dmitriy Novozhilov
aef752a8cb
[StdLib] Add -Xbuiltins-from-sources to arguments of stdlib for JVM
...
This flag is needed to successful compilation of stdlib with FIR compiler
2022-02-18 17:44:42 +03:00
Artem Kobzar
804eb61bf0
feat: add polyfills insertion for ES Next used features
2022-02-16 10:49:11 +00:00
Svyatoslav Kuzmich
4636f71076
[Wasm] Loader improvements
...
- Output ES modules instead of plain files
- Support -Xwasm-launcher=d8 for d8 shell used in tests and benchmarks.
- Reuse launcher generation logic in CLI and box tests runners.
- Create separate output directory for each box since
there are multiple output files generated for each test.
- Stop using absolute paths in generate JS files
to simplify running generated code on different machine
- Remove ">>>" from println output
Merge-request: KT-MR-5729
Merged-by: Svyatoslav Kuzmich <svyatoslav.kuzmich@jetbrains.com >
2022-02-10 22:59:44 +00:00
Igor Yakovlev
eb8c3aa54e
[WASM] Remove WasmImport annotation
2022-02-03 21:25:59 +01:00
Igor Yakovlev
d30a4fa4d5
[WASM/Native] Split AllCodePointsTest into two separate tests
2022-02-03 21:25:59 +01:00
Igor Yakovlev
8eec1743fb
[WASM] Remove TODO with UOE for std readln actuals
2022-02-03 21:25:59 +01:00
Igor Yakovlev
0fe7ad8157
[WASM] Enable std tests
2022-02-03 21:25:58 +01:00
Igor Yakovlev
32fbf69738
[WASM] Std code clean up
2022-02-03 21:25:58 +01:00
Igor Yakovlev
195513d4f2
[WASM] Workaround about call toTypedArray on AbstractCollection
2022-02-03 21:25:58 +01:00
Igor Yakovlev
c3a6d0b499
[WASM] Fix invalid constructors call flow for exceptions
2022-02-03 21:25:58 +01:00
Igor Yakovlev
e30b449454
[WASM] Replace non-performance way of building String from CharArray
2022-02-03 21:25:58 +01:00
Igor Yakovlev
a44b103da9
[WASM] Fix invalid equals/hashCode for Double.NaN and Float.NaN
2022-02-03 21:25:58 +01:00
Igor Yakovlev
ea76501f9e
[WASM] Implement ConstrainedOnceSequence
2022-02-03 21:25:58 +01:00
Igor Yakovlev
d0370bd145
[WASM] Fix invalid Array.fill methods implementations
2022-02-03 21:25:58 +01:00
Igor Yakovlev
5ed104063d
[WASM] Implement missing test asserter
2022-02-03 21:25:58 +01:00
Igor Yakovlev
ece0f83ab2
[WASM] Implement std kotlin.time
2022-02-03 21:25:57 +01:00
Igor Yakovlev
1052ebb44d
[WASM] Fix invalid rounding for Double to Int/Long conversion
2022-02-03 21:25:57 +01:00
Igor Yakovlev
b4435fe091
[WASM] Escape wasm trap on division of s32/s64 min values on -1
2022-02-03 21:25:57 +01:00