Ilya Gorbunov
|
0ecbbbf1ca
|
[stdlib] Set AV to 2.0, LV to 1.9 for main compilations, build tests with K2
|
2024-02-21 16:28:12 +00:00 |
|
Alexander Korepanov
|
bfb7f74e47
|
[JS IR] Add linkedHashMap tests
^KT-59001
|
2023-07-21 14:48:29 +00:00 |
|
Ilya Gorbunov
|
40b5a7d449
|
Provide infix compareTo extension for Comparable<T> #KT-46423
|
2021-09-22 15:56:27 +00:00 |
|
Abduqodiri Qurbonzoda
|
33b44585c4
|
Deprecate sumBy and sumByDouble with WARNING
|
2021-04-08 03:48:01 +03:00 |
|
Abduqodiri Qurbonzoda
|
1314adb6f7
|
Locale-agnostic case conversions by default #KT-43023
|
2020-12-30 10:08:25 +03:00 |
|
Abduqodiri Qurbonzoda
|
194791a168
|
Introduce minByOrNull and maxByOrNull extension functions #KT-38854
|
2020-06-19 04:53:51 +03:00 |
|
Abduqodiri Qurbonzoda
|
846a7823ad
|
Introduce minOrNull and maxOrNull extension functions #KT-39064
|
2020-06-19 04:53:49 +03:00 |
|
Abduqodiri Qurbonzoda
|
820353ee0e
|
Promote scanReduce deprecation level to error
|
2020-06-07 10:05:40 +03:00 |
|
Ilya Gorbunov
|
d37c412f76
|
Suppress a couple more warnings
|
2020-05-19 19:24:00 +03:00 |
|
Abduqodiri Qurbonzoda
|
4a7b1b210a
|
Add onEachIndexed similar to forEachIndexed #KT-37161
|
2020-04-11 03:47:47 +03:00 |
|
Abduqodiri Qurbonzoda
|
ed7b8e9b85
|
Scan functions for Sequences and Iterable #KT-7657
|
2020-02-13 04:01:47 +03:00 |
|
Abduqodiri Qurbonzoda
|
e54b405fe4
|
Fix Iterable, Sequence and String index overflow in windowed
|
2019-10-09 19:48:39 +03:00 |
|
Abduqodiri Qurbonzoda
|
d66f07a84e
|
CollectionsKt.windowed throws IllegalArgumentException
|
2019-09-20 00:50:54 +03:00 |
|
nikita.movshin
|
65244b4bea
|
Update copyright.
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
|
2019-04-23 20:09:22 +03:00 |
|
Ilya Gorbunov
|
56672c2564
|
Ensure stable sorting in MutableList.sort/sortWith
MutableList.sortWith now works correctly in JS_IR backend too
#KT-12473
|
2019-01-17 18:38:23 +03:00 |
|
Ilya Gorbunov
|
ecf0d7ec0d
|
Reformat stdlib tests and samples
#KT-5558
|
2018-04-27 05:28:57 +03:00 |
|
Ilya Gorbunov
|
e21c235bbb
|
Add or update copyrights in the standard library sources
|
2018-04-26 21:57:50 +03:00 |
|
Ilya Gorbunov
|
053f3b6ac0
|
Tests: use helper function to assert compile-time and run-time type check
To cleanup warnings about useless cast or type check that is always true.
|
2017-12-26 04:55:44 +03:00 |
|
Ilya Gorbunov
|
20b122c1dd
|
Use kotlin.test.Test instead of org.junit.Test in common stdlib tests
(and in jvm-only and js-only tests also)
|
2017-10-15 17:40:53 +03:00 |
|
Ilya Gorbunov
|
559255f38e
|
windowed function: add default parameters, drop or keep partial windows, KEEP-11
Make step default to 1.
Add partialWindows boolean parameter defaulting to false to control
whether to keep partial windows in the end.
|
2017-10-11 19:20:24 +03:00 |
|
Ilya Gorbunov
|
c04b0072af
|
Rename pairwise to zipWithNext, KEEP-11
|
2017-10-11 19:20:24 +03:00 |
|
Ilya Gorbunov
|
18c7a01ab5
|
Add tests for windowed and chunked, fix precondition checks
|
2017-10-11 19:20:24 +03:00 |
|
Ilya Gorbunov
|
c815ccfd6a
|
Introduce 'pairwise' function, KEEP-11
|
2017-10-11 19:20:24 +03:00 |
|
Ilya Gorbunov
|
ab70307cc0
|
Minor: refactor iterable tests
|
2017-05-05 18:01:02 +03:00 |
|
Ilya Gorbunov
|
6ae19e03d5
|
Clean warnings and refactor stdlib tests.
Merge RangeJVMTest into RangeTest.
|
2017-04-18 18:51:20 +03:00 |
|
Ilya Gorbunov
|
dc57d69085
|
Improve onEach templates.
Add new functions to reference API.
Add tests for onEach
#KT-8220
|
2016-11-30 16:46:56 +03:00 |
|
Ilya Gorbunov
|
fae5c88f22
|
Remove java.util references from the common code
|
2016-11-16 18:47:42 +03:00 |
|
Ilya Gorbunov
|
75069143c7
|
Rewrite ArrayList, AbstractList, AbstractCollection in kotlin.
AbstractList is imported from GWT.
#KT-12386
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
3c35395cf7
|
Minor: refactor some tests to use nested classes.
|
2016-02-21 04:18:11 +03:00 |
|
Ilya Gorbunov
|
07654eb82b
|
StdLib cleanup, deprecated symbol usage: size() and length()
|
2015-11-21 00:54:05 +03:00 |
|
Ilya Gorbunov
|
9323f61eaf
|
Introduce T.addTo(MutableCollection<T>), mapNotNull and mapIndexedNotNull extensions.
#KT-4410 Fixed
|
2015-11-11 03:12:17 +03:00 |
|
Ilya Gorbunov
|
008a8059cf
|
Introduce filterIndexed
#KT-9502 Fixed
|
2015-11-11 02:42:52 +03:00 |
|
Ilya Gorbunov
|
579ce8091c
|
Cleanup tests, specify type where it's ambiguous.
|
2015-10-27 21:48:27 +03:00 |
|
Ilya Gorbunov
|
404b228954
|
StdLib cleanup: replace fails with assertFails
|
2015-10-07 22:36:06 +03:00 |
|
Denis Zharkov
|
a0e9754edc
|
Adjust js collections to size transformation
|
2015-10-07 08:46:33 +03:00 |
|
Denis Zharkov
|
5cecaa6f87
|
Get rid of deprecated annotations and modifiers in stdlib (besides JS)
|
2015-09-18 10:14:28 +03:00 |
|
Ilya Gorbunov
|
63110dcdf8
|
Remove StdLibArraysTest and include collections/ArraysTest.kt into StdLibTestToJSTest smoke tests instead.
Move helper methods, so they are available in JS semantics tests.
|
2015-08-27 00:09:04 +03:00 |
|
Ilya Gorbunov
|
690a536734
|
Tests for minus operation for collections, sets, iterables and sequences.
|
2015-07-17 10:53:31 +03:00 |
|
Ilya Gorbunov
|
048a3ebcc1
|
Implement plus for sequence as operand and refactor plus tests.
|
2015-07-17 10:53:05 +03:00 |
|
Ilya Gorbunov
|
dd945f4d1a
|
Tests for plus on collections, sets, sequences.
|
2015-07-17 10:52:12 +03:00 |
|
Ilya Gorbunov
|
f7aa997003
|
Provide fast path for negative index values in elementAt.
Minor: kdoc wording.
|
2015-05-12 21:07:24 +03:00 |
|
Ilya Gorbunov
|
a5ed5d4269
|
Generate elementAtOrNull and elementAtOrElse extension methods for iterables, collections, sequences, etc.
#KT-6952 Fixed
|
2015-05-12 20:08:20 +03:00 |
|
Ilya Gorbunov
|
d531d7130f
|
Add an optional parameter to joinToString() and joinTo() functions: lambda function which maps the element to string.
#KT-5468 Fixed
|
2015-05-09 01:11:47 +03:00 |
|
Stanislav Erokhin
|
b703f59e04
|
Migrate kotlin sources, maven projects and stdlib to new lambda syntax
|
2015-04-07 13:08:53 +03:00 |
|
Valery Kharitonov
|
c8094e7587
|
Implemented indexOfFirst/Last(predicate). #KT-6577 Fixed
|
2015-03-10 11:21:40 +03:00 |
|
Ilya Ryzhenkov
|
1a67e35739
|
Add more tests to cover stdlib
|
2015-03-10 11:21:38 +03:00 |
|
Ilya Ryzhenkov
|
95d4accda7
|
stdlib: add flatten()
|
2015-01-20 22:39:24 +03:00 |
|
Ilya Ryzhenkov
|
1d4591d99c
|
stdlib: add sumBy(function)
|
2015-01-20 22:39:23 +03:00 |
|
Ilya Ryzhenkov
|
4ee64d7283
|
Covering stdlib with tests.
|
2015-01-20 22:37:16 +03:00 |
|
Ilya Ryzhenkov
|
9b04f57a25
|
Collection tests: format and fix usages of deprecated symbols.
|
2015-01-20 22:37:15 +03:00 |
|