Abduqodiri Qurbonzoda
cca5f82aa0
Handle container builders capacity overflow
2021-09-30 16:01:57 +00:00
Abduqodiri Qurbonzoda
f8bcba0b76
Align JS String.equals/compareTo(ignoreCase) behavior with JVM #KT-48999
2021-09-30 15:35:50 +00:00
Ilya Gorbunov
c2af8b2a29
Leave Duration.convert experimental KT-46784
2021-09-30 14:31:54 +00:00
Ilya Gorbunov
04d70162d2
Make DurationUnit not a typealias of TimeUnit on JVM
...
Provide conversion functions between DurationUnit and TimeUnit
2021-09-30 14:31:54 +00:00
Ilya Gorbunov
193effc7c4
Fix Random.nextLong returning value out of range KT-47304
...
Correctly zero-extend the lower Int part of the Long being produced
2021-09-29 06:50:41 +00:00
Ilya Gorbunov
af5ec9d289
Fix a typo in Typography object constants KT-46243
2021-09-27 14:55:19 +00:00
Svyatoslav Kuzmich
dd45714137
[Wasm] Add property reference stdlib part
2021-09-27 17:08:55 +03:00
Svyatoslav Kuzmich
5c05ff48ff
[Wasm] Copy property reference lowering from K/N
2021-09-27 17:07:39 +03:00
Vyacheslav Gerasimov
ab146bd6d4
Build: Fix deprecated Gradle configurations usages
...
for migration to Gradle 7+ #KTI-559
2021-09-26 18:28:44 +03:00
Ilya Gorbunov
7666377565
Control Duration init block assertions on JVM with -ea option
...
On other platforms enable them unconditionally
2021-09-24 16:17:54 +00:00
Ilya Gorbunov
21a9198fff
Bring back Duration construction extensions KT-46229
...
Return the extension properties for constructing Duration from numbers,
but this time place them in Duration.Companion rather than on top-level.
- provide the new set of construction extension properties
in companion of Duration
- leave top-level extension properties experimental,
increase their deprecation level to ERROR,
propose the extension properties in companion instead.
- leave Duration companion static factory functions experimental,
deprecate them and propose the extension properties in companion instead.
2021-09-24 16:17:53 +00:00
Ilya Gorbunov
96611de344
Stabilize Duration, DurationUnit and related top-level functions KT-46784
...
Co-authored-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2021-09-24 16:17:53 +00:00
Ilya Goncharov
42e8017cc7
[JS IR] Revert removing of safeProperty(Get|Set)
2021-09-24 07:07:12 +00:00
Ilya Goncharov
064744fae7
[JS IR] Remove redundant legacy property access property
2021-09-24 07:07:12 +00:00
Ilya Gorbunov
1960fe65b8
Minor: more reliable empty range check in RangeIterationTest
2021-09-23 21:06:35 +03:00
Ilya Gorbunov
40b5a7d449
Provide infix compareTo extension for Comparable<T> #KT-46423
2021-09-22 15:56:27 +00:00
Abduqodiri Qurbonzoda
08eaac7e56
Revert "Restore default parameter values in JS collection constructors"
...
This reverts commit 0f972f24
2021-09-21 12:11:25 +00:00
Abduqodiri Qurbonzoda
261d0c2783
Promote collection builders to stable #KT-47421
2021-09-21 11:25:28 +00:00
Abduqodiri Qurbonzoda
9a5a3bfdfb
Advance kotlin.browser and kotlin.dom packages deprecation level to ERROR #KT-39330
2021-09-20 12:28:07 +00:00
Dmitriy Novozhilov
0923d39215
[Build] Setup useFirForLibraries flag
2021-09-20 14:18:18 +03:00
Igor Laevsky
15668e2266
[WASM] Lower Unit to Void in order to mark statements with no result
2021-09-16 20:24:44 +03:00
Abduqodiri Qurbonzoda
bde055fe5c
Advance deprecation level of Float/DoubleArray contains, indexOf, lastIndexOf to ERROR #KT-28753
2021-09-16 19:38:40 +03:00
Abduqodiri Qurbonzoda
3ddc29363a
Remove deprecated Common synchronized and deprecate it in JS #KT-46101
2021-09-16 19:38:37 +03:00
Abduqodiri Qurbonzoda
7e1cd757fb
Advance max/min(By/With) deprecation level to HIDDEN #KT-38854
2021-09-16 19:38:35 +03:00
Abduqodiri Qurbonzoda
d9f8ce899a
Promote rotateLeft and rotateRight to stable
2021-09-16 19:27:21 +03:00
Abduqodiri Qurbonzoda
34a50e4e34
Promote regex splitToSequence to stable
2021-09-16 19:26:33 +03:00
Abduqodiri Qurbonzoda
815329df15
Remove private KTypeProjection.asString() that duplicates toString() logic
...
KT-30071 has been already fixed.
2021-09-16 11:39:07 +00:00
Svyatoslav Kuzmich
de7fa8c778
[Wasm][Stdlib] Add kotlin.js.JsExport annotation
2021-09-16 14:20:34 +03:00
Abduqodiri Qurbonzoda
f1befc0108
Format Other_Uppercase/Other_Lowercase property as an identifier in docs
2021-09-15 17:31:52 +03:00
Mikhail Glukhikh
ffbd574a08
Use -opt-in instead of -Xopt-in in comments and scripts
2021-09-08 23:43:55 +03:00
Igor Laevsky
6ca965af6f
WASM: Generate throw instruction instead of wasmThrow call
2021-09-08 19:56:33 +03:00
Abduqodiri Qurbonzoda
97eb28144f
Introduce Common readln() and readlnOrNull() top-level functions #KT-48456
2021-09-05 15:31:11 +00:00
Mikhail Glukhikh
ed035d99ab
Migrate -Xopt-in to -opt-in in Gradle Kotlin scripts
2021-09-03 15:40:47 +03:00
Ilya Gorbunov
11314a5c4e
Rename enabling old behavior property and make it cached in a field
...
Mention the property name in the note about conversion to set.
#KT-45438
2021-09-02 06:06:39 +03:00
Abduqodiri Qurbonzoda
94b371af5b
Remove brittle ‘contains’ optimization in minus/removeAll/retainAll #KT-45438
2021-09-02 05:58:19 +03:00
Ilya Gorbunov
fbc43cbebe
Duration.toComponents: change the highest component type to Long
2021-09-02 02:44:16 +00:00
Abduqodiri Qurbonzoda
d306c0e9ac
Change JS CharSequence.isBlank() via checking all chars with isWhitespace
2021-09-02 01:38:04 +00:00
Abduqodiri Qurbonzoda
0faa83bacb
Deprecate JS Array/PrimitiveArray.sort(comparison) functions
2021-09-02 01:38:03 +00:00
Abduqodiri Qurbonzoda
a3eaa3e0f9
Change JS AbstractMutableCollection.toJSON() visibility modifier from open to protected
2021-09-02 01:38:03 +00:00
Abduqodiri Qurbonzoda
a90117faa2
Change JS HashSet.createEntrySet() visibility modifier from protected to internal
2021-09-02 01:38:03 +00:00
Abduqodiri Qurbonzoda
921af8e98c
Deprecate JS String match, matches and concat functions
2021-09-02 01:38:02 +00:00
Abduqodiri Qurbonzoda
3fefed5131
Remove deprecated JS Regex_0 and Regex_1 constructor functions
2021-09-02 01:38:02 +00:00
Abduqodiri Qurbonzoda
1008a88b43
Remove equals and hashCode implementation of JS AbstractMutableMap.values
2021-09-02 01:38:02 +00:00
Abduqodiri Qurbonzoda
407feb656e
Make JS Regex.replace not inline #KT-27738
2021-09-02 01:38:01 +00:00
Abduqodiri Qurbonzoda
91aa956f34
Introduce JVM readln() and readlnOrNull() top-level functions #KT-48456
2021-09-02 01:00:34 +00:00
Ilya Gorbunov
0d58bb14b2
Duration: minor doc clarifications
2021-09-01 16:30:03 +00:00
Leonid Startsev
1932546a90
Support instantiation of annotations in JS
...
#KT-47700 Fixed
2021-09-01 11:13:55 +00:00
Alexander Udalov
0b11d4214c
Make typeOf stable since 1.6
...
#KT-45396 Fixed
2021-08-30 19:36:32 +02:00
Alexander Udalov
98be418245
Uncomment new SinceKotlin and remove obsolete warning suppressions
2021-08-30 19:36:32 +02:00
Mads Ager
a12b22c04d
[JVM] Force lock object in JVM synchronized implementation into local.
...
This fixes a performance problem in the case where the lock object
is a capture and the monitor enter/exit happens directly on
field loads. When the locking happens on field loads instead of a
local, the JVM cannot prove that locking is balanced. That has
the consequence that the code is runs very slow (always in the
interpreter).
^KT-48367 Fixed.
2021-08-27 21:29:12 +02:00