Valentin Kipyatkov
460001cc8f
Stdlib: deprecated conflicting extensions that are not the same as synthetic ones
2015-09-03 15:55:56 +03:00
Valentin Kipyatkov
dab47a8caf
Stdlib: marked with @HiddenDeclaration and @deprecated redundant explicit extension properties
2015-09-03 15:55:56 +03:00
Yan Zhulanow
55b2029b3c
Remove FIELD target from jvmStatic and platformStatic annotations
2015-09-02 20:36:48 +03:00
Ilya Gorbunov
c4b18d8fb8
Special case of slice for int ranges, sliceArray returning array.
...
#KT-8711
2015-09-02 20:22:38 +03:00
Ilya Gorbunov
faa26cdb25
Introduce operations on Arrays returning Arrays: reversedArray, sortedArray.
...
#KT-8711
2015-09-02 20:22:27 +03:00
Ilya Gorbunov
89df3925fa
Unify operations on Array<T> and Array<out T> (copyOf, copyOfRange) which return the same type as the receiver.
2015-09-02 20:21:20 +03:00
Ilya Gorbunov
a3056bea1a
Accept in-projection of Comparator as a parameter.
2015-09-02 20:21:18 +03:00
Ilya Gorbunov
b3073dbd2d
Provide lazy implementation with an external object to synchronize on.
2015-09-02 15:49:53 +03:00
Ilya Gorbunov
4fbf787f7d
Change proposed replacements for Delegates.lazy and blockingLazy to preserve behavior.
2015-09-02 15:49:50 +03:00
Ilya Gorbunov
184978e3cb
Remove usages from tests
2015-09-02 15:49:47 +03:00
Ilya Gorbunov
ceb3b7da9d
Thread extension properties deprecated in favor of synthetic extension properties.
...
Executor.invoke and ExecutorService.invoke deprecated.
2015-09-02 15:49:44 +03:00
Yan Zhulanow
47a05e8bd6
Fix targets on stdlib annotations
2015-08-31 15:33:15 +03:00
Denis Zharkov
e8f91e596c
Adjust test data after fixes about generic nullability
2015-08-28 18:50:26 +03:00
Denis Zharkov
4a3fbcc16e
Make project compilable after fixes about generic nullability
2015-08-28 18:50:26 +03:00
Ilya Gorbunov
83f9ee2737
Concurrent getOrPut for concurrent maps.
...
#KT-5800 Fixed
2015-08-28 17:51:48 +03:00
Ilya Gorbunov
84d3d42e05
Replace deprecated reverse method usages.
2015-08-27 11:45:44 +03:00
Ilya Gorbunov
ca798d8d71
Rename reverse to reversed.
...
#KT-8171
2015-08-27 11:45:30 +03:00
Alexander Udalov
8d9618348d
Move .java and .kotlin extension properties to kotlin.jvm
...
Delete the old ones in package kotlin.reflect.jvm because otherwise the code
using those functions will become red in a lot less meaningful way (overload
resolution ambiguity) than if they're deleted (unresolved import)
Based on the work originally done by @dnpetrov
#KT-8380 Fixed
2015-08-27 08:19:50 +03:00
Ilya Gorbunov
b8badd59ba
Introduce reversed extension for Comparator.
2015-08-27 00:10:11 +03:00
Ilya Gorbunov
5a474adf59
Unify selector parameter names.
2015-08-27 00:09:57 +03:00
Ilya Gorbunov
7d33599fc2
Parameterless nullsFirst and nullsLast and misc comparator combining functions.
2015-08-27 00:09:44 +03:00
Ilya Gorbunov
5a4e598ba7
Another approach for sorting nulls.
2015-08-27 00:09:31 +03:00
Ilya Gorbunov
d49a1973e5
Change null handling in compareValuesBy(a, b, functions). Provide nullsFirst() and nullsLast() to extend Comparator<T> to Comparator<T?>.
2015-08-27 00:09:17 +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
521e0b679d
Rename sortedDescendingBy to sortedByDescending
2015-08-27 00:08:50 +03:00
Ilya Gorbunov
002c3e850f
Tests for sorting methods.
2015-08-27 00:08:37 +03:00
Ilya Gorbunov
5eb69334b4
compareBy and related Comparator constructors have the same null-comparison semantics as compareValuesBy.
2015-08-27 00:08:23 +03:00
Ilya Gorbunov
0f5c3678f8
Provide asIterable for sequences.
2015-08-27 00:08:10 +03:00
Ilya Gorbunov
6f71e54268
In-place array sorting in JS.
2015-08-27 00:07:56 +03:00
Ilya Gorbunov
8d481fc611
Deprecate all sort methods and provide sorted ones.
...
#KT-4903
2015-08-27 00:07:43 +03:00
Dmitry Jemerov
4743a69d76
rename platformName annotation to jvmName
2015-08-25 15:40:46 +02:00
Dmitry Jemerov
341f09afd3
rename platformStatic to jvmStatic
2015-08-21 16:59:05 +02:00
Sergey Mashkov
84ef068f5d
#KT-8708 refactor trimIndent, trimMargin, replaceIndent, replaceIndentByMargin, prependIndent
2015-08-12 18:45:10 +03:00
Sergey Mashkov
b146b0eda9
Remove deprecated function usage
2015-08-12 18:45:10 +03:00
Sergey Mashkov
7afa40590d
KT-8708 Function to strip leading whitespace (stripMargin, trimMargin, stripIndent?)
2015-08-12 18:45:10 +03:00
Ilya Gorbunov
15d69499d0
Stop matching after the end of the input sequence was reached.
...
#KT-8763 Fixed
2015-08-11 05:11:32 +03:00
Mikhail Glukhikh
bd3b5690a2
Standard annotations: must be documented
2015-08-05 18:32:12 +03:00
Sergey Mashkov
0e25a5ea82
JS: arrayToString should use toString() instead of direct join to handle nulls properly
...
#KT-8663 Fixed
2015-07-31 14:28:30 +03:00
Ilya Gorbunov
81cbbad1e5
Add test comparing behavior of a reversed list and a reversed view on a list.
2015-07-31 14:28:29 +03:00
Sergey Mashkov
8a0c752f99
KT-4844 Support asReversed() for lists
2015-07-31 14:28:29 +03:00
Dmitry Jemerov
38151d4932
remove ReadMe.md with outdated information
2015-07-28 11:12:16 +02:00
Ilya Gorbunov
2f1c8a3dfa
Remove special case of generation for numeric and toPrimitiveArrays.
2015-07-27 19:02:49 +03:00
Ilya Gorbunov
dd71cbb96e
Accept more generic ranges in contains.
2015-07-27 19:02:47 +03:00
Ilya Gorbunov
065945176e
Use bare types in check and remove unneeded cast after.
...
Do not check whether a sequence is actually a collection or list.
2015-07-24 04:35:45 +03:00
Ilya Gorbunov
e799c92131
Accept more generic range for coerceIn.
2015-07-24 04:35:33 +03:00
Ilya Gorbunov
877cb72ba1
Array.copyOfRange: rename from, to to fromIndex, toIndex
2015-07-24 04:35:21 +03:00
Ilya Gorbunov
aeb7666578
Provide binarySearch with comparator for arrays.
2015-07-24 04:35:08 +03:00
Ilya Gorbunov
34afb450d8
List binarySearch and binarySearchBy methods and tests.
...
#KT-5444 Fixed
#KT-8217 Fixed
2015-07-24 04:34:56 +03:00
Ilya Gorbunov
3a7f6d7db0
Add inlineable compareValuesBy for single selector.
2015-07-24 04:34:44 +03:00
Ilya Gorbunov
d831509cee
Provide listOfNotNull method.
2015-07-24 04:34:31 +03:00