Ilya Gorbunov
38099e11c3
Remove rangeUntil extensions that are now shadowed by members #KT-52933
2022-08-25 19:24:11 +00:00
Ilya Gorbunov
203a00151d
rangeUntil member operator in builtins #KT-52933
2022-08-24 22:22:53 +00:00
Rick Clephas
6ae517a2df
[Native] Add HiddenFromObjC and ShouldRefineInSwift annotations
2022-08-22 16:10:44 +02:00
Mikhail Glukhikh
b4a92e8a56
Undeprecate @BuilderInference annotation #KT-52400 Declined
2022-08-17 14:07:13 +00:00
Mikhail Glukhikh
66e710704a
Protect SubclassOptInRequired with opt-in marker
2022-08-11 14:05:09 +00:00
Mikhail Glukhikh
3f96626b40
Introduce SubclassOptInRequired annotation (see KT-41886)
2022-08-11 14:05:06 +00:00
Rick Clephas
5a5e6ad8cd
[K/N] Add ObjCName annotation ( #4815 )
2022-07-23 18:58:06 +02:00
Vsevolod Tolstopyatov
59ac756f22
Initial implementation of EnumEntries
...
KT-53152
Merge-request: KT-MR-6656
Merged-by: Vsevolod Tolstopyatov <vsevolod.tolstopyatov@jetbrains.com >
2022-07-15 14:26:50 +00:00
Stanislav Erokhin
d788a927c4
Change deprecations annotation order on Ranges#endExclusive property
...
We have [Int|Long|Char]Range classes in 2 different places:
- as separate class-files
- serialized in the kotlin_builtins file
For some reason our Kotlin compiler during the JVM compilation
re-arranging the order of the annotations, so in class file they
will be written in the following order:
- Deprecated
- SinceKotlin
- ExperimentalStdlibApi
But in the kotlin_builtins they will be stored the same way as
in the sources.
We need these 2 way to be synchronized, because stub's in IDE
cares about order.
After this commit IDE test BuiltInDecompilerConsistencyTest is fixed
2022-07-05 19:50:45 +00:00
Ilya Gorbunov
7e5abdb1c0
Update API dumps for open ranges and their operations
...
#KT-52932
2022-06-28 00:08:10 +00:00
Victor Petukhov
de3f5497ab
[Stdlib] Deprecate BuilderInference annotation
...
^KT-52400 Fixed
2022-06-21 15:01:56 +02:00
Romain Guy
02a3915fdf
KT-48232: Implement kotlin.math.cbrt() (cubic roots)
...
cbrt() is the standard cubic root function that provides several advantages over pow(x, 1.0/3.0):
- Better precision
- Faster
- Behaves better with negative values
2022-06-16 20:27:43 +03:00
Ivan Kylchik
1564f2c549
Mark all declarations that will be evaluated with ir interpreter
2022-05-18 21:19:54 +03:00
Ilya Gorbunov
eb8e701cb5
Make IntrinsicConstEvaluation annotation internal
2022-05-17 14:38:43 +00:00
Ilya Gorbunov
a03999fe81
Rename DefaultTimeMark to TimeSource.Monotonic.ValueTimeMark
2022-04-14 16:54:32 +00:00
Ilya Gorbunov
fede70d0d5
Make TimeMark returned by TimeSource.Monotonic a value class
...
This value class wraps Long on JVM and Native thus reducing allocations
in time measurement scenarios when the default monotonic time source is
statically known.
KT-46132
2022-04-14 16:54:30 +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
Ivan Kylchik
6f448820f0
Add new internal annotation IntrinsicConstEvaluation
2022-04-05 17:20:38 +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
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
Sergej Jaskiewicz
6dc69adcc9
[JS IR] Don't mark Char as a value class
...
Char will still be treated as a value class
(see JsInlineClassesUtils.kt)
2021-12-16 12:46:11 +00:00
Ilya Goncharov
0c74376cc4
rra/ilgonmic/after-test-promise
...
[JS] Node downloading for js ir integration kotlin test
[JS] Fix API of Promise
[JS IR] Promise symbol as lazy2
[JS] Support legacy compiler aftertest with promises
[JS IR] Generate finally for promised tests
[JS] Setup it tests for JS IR kotlin-test
Merge-request: KT-MR-5168
^KT-49738 fixed
2021-12-08 08:22:53 +00:00
Anastasiya Shadrina
e3f987459c
[PSI, FE] Support functional types
2021-12-02 20:24:11 +03:00
Sergej Jaskiewicz
67dfe7bed1
[JS IR] Make Char a value class (again)
...
#KT-35100 Fixed
2021-12-02 12:39:40 +00:00
Ilya Goncharov
f48436b35e
rra/ilgonmic/eager-like-native
...
[JS IR] Leave JsEagerInitialization until bootstrap update
[JS IR] Fix js stdlib api
[JS IR] Change annotation on eager initialization in sources
[JS IR] Make eager initialization consistent with native
Merge-request: KT-MR-5030
2021-11-22 12:45:37 +00:00
Ilya Gorbunov
0487261be8
Duration: postpone raising deprecation to error for top-level extension properties
...
#KT-46229
2021-10-19 09:29:16 +00:00
Abduqodiri Qurbonzoda
f0a75e7843
Advance deprecation level of Experimental and UseExperimental annotations to ERROR
2021-10-17 21:14:36 +00:00
Ilya Gorbunov
9c4a2d4431
Leave all deprecated duration API experimental KT-46784
2021-10-06 13:51:23 +00:00
Ilya Goncharov
18189ece48
[JS IR] Fix stdlib API
2021-10-01 13:32:14 +00:00
Ilya Goncharov
9af66d15a3
[JS IR] Fix stdlib API
2021-10-01 13:32:10 +00:00
Ilya Gorbunov
c2af8b2a29
Leave Duration.convert experimental KT-46784
2021-09-30 14:31:54 +00:00
Ilya Gorbunov
af5ec9d289
Fix a typo in Typography object constants KT-46243
2021-09-27 14:55:19 +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 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
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
97eb28144f
Introduce Common readln() and readlnOrNull() top-level functions #KT-48456
2021-09-05 15:31:11 +00:00
Ilya Gorbunov
fbc43cbebe
Duration.toComponents: change the highest component type to Long
2021-09-02 02:44:16 +00:00