Abduqodiri Qurbonzoda
f0a75e7843
Advance deprecation level of Experimental and UseExperimental annotations to ERROR
2021-10-17 21:14:36 +00:00
Ilya Goncharov
490ebde992
[JS IR] Commonize JsEagerInitialization
2021-10-01 13:32:13 +00:00
Abduqodiri Qurbonzoda
f8bcba0b76
Align JS String.equals/compareTo(ignoreCase) behavior with JVM #KT-48999
2021-09-30 15:35:50 +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
34a50e4e34
Promote regex splitToSequence to stable
2021-09-16 19:26:33 +03:00
Mikhail Glukhikh
ffbd574a08
Use -opt-in instead of -Xopt-in in comments and scripts
2021-09-08 23:43:55 +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
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
Alexander Udalov
98be418245
Uncomment new SinceKotlin and remove obsolete warning suppressions
2021-08-30 19:36:32 +02:00
Abduqodiri Qurbonzoda
5004735366
Add Regex matchAt samples
2021-08-05 10:32:32 +00:00
Abduqodiri Qurbonzoda
d7b10f31b4
Add Regex splitToSequence samples
2021-08-05 10:32:32 +00:00
Abduqodiri Qurbonzoda
b65c477e68
Regex.splitToSequence, CharSequence.splitToSequence(Regex) #KT-23351
2021-07-20 14:09:24 +00:00
Ilya Gorbunov
28a0698463
Regex.matchAt/matchesAt #KT-34021
2021-07-10 21:31:19 +03:00
Abduqodiri Qurbonzoda
0b521b5183
Get rid of platform differences in Regex.findAll() doc
2021-06-08 00:32:32 +00:00
Abduqodiri Qurbonzoda
91d1baf3b5
Get rid of platform differences in Array.orEmpty() doc
2021-06-08 00:32:30 +00:00
Abduqodiri Qurbonzoda
225be54c61
Get rid of platform differences in Regex.find doc
2021-06-08 00:32:27 +00:00
Ilya Gorbunov
a9cc046ec9
Add missing constructor for expect annotation class JvmRecord
...
KT-46280
2021-04-26 10:41:49 +00:00
Abduqodiri Qurbonzoda
dab09e7052
Fix CharSequence.repeat doc
2021-04-19 19:14:08 +03:00
Abduqodiri Qurbonzoda
33b44585c4
Deprecate sumBy and sumByDouble with WARNING
2021-04-08 03:48:01 +03:00
Abduqodiri Qurbonzoda
f99c72cc98
Remove redundant @OptIn targeting new case conversion api
2021-04-08 03:21:59 +03:00
Ilya Gorbunov
b64b96eee6
Deprecate Char-to-Number conversions in stdlib (JVM and JS)
...
- Int.toChar was left non-deprecated because the replacement is not intrinsic yet.
- Number.toChar was left non-deprecated because otherwise the deprecation propagates to the override, Int.toChar.
KT-23451
2021-04-07 18:30:20 +03:00
Abduqodiri Qurbonzoda
b0f1ddc91e
Advance max/min(By/With) deprecation level to ERROR
2021-04-07 07:49:23 +03:00
Abduqodiri Qurbonzoda
d9ab96126d
Advance deprecation level of mixed Int/FP overloads of ClosedRange.contains to HIDDEN KT-22423
2021-04-07 00:23:34 +03:00
Abduqodiri Qurbonzoda
d28d0a6321
Advance String(CharArray) deprecation level to ERROR in Common and JS
2021-04-07 00:23:29 +03:00
Abduqodiri Qurbonzoda
abcc572b97
Remove deprecated scanReduce and scanReduceIndexed
2021-04-07 00:23:26 +03:00
Ilya Gorbunov
94240f7b21
Stabilize unsigned types KT-45653
...
Deprecate specialized unsigned iterators for removal.
Fix compiler tests:
- drop unsignedLiteralsOn1_2 because apiVersion 1.2 is no longer supported
- drop experimental unsigned literals diagnostic test
2021-03-31 19:05:04 +03:00
Svyatoslav Scherbina
552bd108a9
stdlib: rename NativeAnnotationsH.kt -> NativeConcurrentAnnotations.kt
...
Also move it from libraries/stdlib/common/src/kotlin
to libraries/stdlib/src/kotlin/annotations
2021-03-22 09:20:05 +00:00
Abduqodiri Qurbonzoda
ff5b2404af
Introduce firstNotNullOf and firstNotNullOfOrNull #KT-12109
2021-03-12 09:27:14 +03:00
Abduqodiri Qurbonzoda
09ad5ca602
Strict version of String.toBoolean() #KT-42071
2021-03-12 09:26:55 +03:00
Steven Schäfer
057ead358c
JVM: Add FILE target to the JvmSynthetic annotation ( #4149 )
2021-03-11 13:33:07 +01:00
Abduqodiri Qurbonzoda
2266cd4631
Commonize Char.titlecaseChar() and Char.titlecase() #KT-44369
2021-03-02 01:11:45 +03:00
Abduqodiri Qurbonzoda
46b7a774b5
Commonize CharCategory and related functions #KT-39177 #KT-43216 #KT-39906 #KT-30652
2021-01-28 01:41:24 +03:00
Alexander Udalov
221f44da5f
Fix warnings in stdlib/compiler/plugins/test code
2021-01-13 19:18:20 +01:00
Kris Hall
ee952db1a2
Added samples for String.replace() function
2021-01-12 14:59:43 +03:00
Alexander Udalov
acd29481bd
Regenerate sources of builtins and stdlib
2021-01-03 22:31:06 +01:00
Abduqodiri Qurbonzoda
1314adb6f7
Locale-agnostic case conversions by default #KT-43023
2020-12-30 10:08:25 +03:00
Denis.Zharkov
6e4f84dddf
Add @SinceKotlin("1.5") on JvmRecord annotation
2020-12-09 16:47:23 +03:00
Denis.Zharkov
4f5db241ea
Add @JvmRecord annotation and relevant diagnostics
...
^KT-43677 In Progress
2020-12-09 16:29:03 +03:00
Ilmir Usmanov
aabe709079
Value classes: Add @JvmInline annotation to stdlib
2020-11-25 01:08:31 +01:00
Ilya Gorbunov
4767696840
Qualify replacement expression with receiver to workaround KT-42874
2020-11-12 05:29:39 +03:00
Kris
ebdd023633
Add samples for last() and lastOrNull() functions
2020-11-11 01:37:24 +03:00
Ciaran Treanor
2b03c10941
Correct small grammatical error in KDocs
...
Updated KDoc generator template to address all instances of
a grammatical error ("less" -> "fewer").
Also committed newly generate _Collections.kt, _Sequences.kt,
and _Strings.kt.
2020-10-30 01:47:06 +03:00
Alexander Udalov
da6d904c6e
Suppress code warnings in kotlin-stdlib
2020-08-20 20:30:34 +02:00
Elijah Verdoorn
41d5615608
Add samples for mapNotNull, find, getOrNull functions
2020-08-10 03:39:49 +03:00
Dat Trieu
1009a240f2
KT-20357: Add samples for filter functions
2020-08-06 23:41:12 +03:00
Ilya Gorbunov
99eb7f391b
Fix doc wording around covariance/invariance
2020-08-04 00:33:05 +03:00
Abduqodiri Qurbonzoda
a05681001f
Mark with @DeprecatedSinceKotlin #KT-22423 and #KT-28753
2020-07-17 02:39:20 +03:00