Ilya Gorbunov
|
0b88801c66
|
Drop deprecated sorting and reversing methods.
|
2015-10-07 22:36:36 +03:00 |
|
Ilya Gorbunov
|
e54db8cd2a
|
Drop deprecated sequence() and withIndices()
|
2015-10-07 22:36:34 +03:00 |
|
Yan Zhulanow
|
d28ecc2316
|
Mark builtins and stdlib functions with 'infix'
|
2015-10-07 15:49:29 +03:00 |
|
Denis Zharkov
|
61416b3d14
|
Adjust stdlib to size transformation
|
2015-10-07 08:46:27 +03:00 |
|
Ilya Gorbunov
|
0851728454
|
Deprecate mapNotNull to change its behavior later.
#KT-4410
|
2015-10-06 18:32:06 +03:00 |
|
Ilya Gorbunov
|
d40bbf6acb
|
Allow to annotate generated code as jvm-only.
|
2015-09-25 21:09:40 +03:00 |
|
Ilya Gorbunov
|
1deb8b9dda
|
Rename conflicting parts: add "Kt"
|
2015-09-25 21:09:38 +03:00 |
|
Ilya Gorbunov
|
473698a7e8
|
Generate JvmMultifileClass annotation on parts.
|
2015-09-25 21:09:36 +03:00 |
|
Ilya Gorbunov
|
2bc1fbab3f
|
Allow stdlib generator to distribute concrete functions between different target files.
|
2015-09-25 21:09:33 +03:00 |
|
Yan Zhulanow
|
1139a8dd0e
|
Mark builtins and stblib functions with 'operator'
|
2015-09-25 19:20:18 +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
|
e95be9096e
|
Revert unification of operations on Array<T> and Array<out T> (copyOf, copyOfRange) which return the same type as the receiver.
Leave sortedArray, reversedArray and sliceArray only for covariant projection of array as the receiver.
|
2015-09-17 21:15:11 +03:00 |
|
Ilya Gorbunov
|
909cbc6817
|
Eliminate deprecated language constructions from the generated code.
|
2015-09-17 02:41:01 +03:00 |
|
Ilya Gorbunov
|
52f3e9ca06
|
Accept in-projection of Comparator as a parameter when possible.
|
2015-09-08 17:11:12 +03:00 |
|
Ilya Gorbunov
|
c14f376d21
|
Deprecate precondition checks with non-lazy message.
Make precondition checks with lazy message inline.
Use require with lazy message in stdlib.
#KT-8253 Fixed
|
2015-09-08 10:27:46 +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
|
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 |
|
Ilya Gorbunov
|
5a474adf59
|
Unify selector parameter names.
|
2015-08-27 00:09:57 +03:00 |
|
Ilya Gorbunov
|
521e0b679d
|
Rename sortedDescendingBy to sortedByDescending
|
2015-08-27 00:08:50 +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 |
|
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
|
e127e234f8
|
Stdlib Generators: add generic ranges, allow specify concrete primitive for generic, render types in receiver.
|
2015-07-27 19:02:45 +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
|
46858ddabd
|
Allow to specify optional from and to indices for filling an array.
#KT-8382 Fixed
|
2015-07-24 04:34:19 +03:00 |
|
Ilya Gorbunov
|
c1975d0b2e
|
Array.fill returns Unit since it's an in-place array operation.
Revised #KT-4760
|
2015-07-24 04:34:07 +03:00 |
|
Ilya Gorbunov
|
12e3542bce
|
Provide toTypedArray method for primitive arrays.
|
2015-07-24 04:33:55 +03:00 |
|
Ilya Gorbunov
|
f604eef2fe
|
Undeprecate find(predicate) and generate it for all collection-like types. Provide findLast(predicate).
Drop deprecated method findNot and extension properties first, last, head, tail
#KT-5185 Fixed
|
2015-07-24 04:28:46 +03:00 |
|
Ilya Gorbunov
|
1cc94f92e2
|
Also generate contains for meaningless combinations of types to prevent mistakenly using contains from an Iterable.
#KT-6361
|
2015-07-24 04:28:34 +03:00 |
|
Ilya Gorbunov
|
b7fbb60db4
|
Generate contains function for all combinations of primitive numeric ranges and arguments.
#KT-6361
|
2015-07-24 04:14:06 +03:00 |
|
Ilya Gorbunov
|
71f3e3049a
|
Provide until function to construct integer ranges with an end being excluded from range.
#KT-4665 Fixed
|
2015-07-24 04:13:41 +03:00 |
|
Ilya Gorbunov
|
808170a84b
|
Generate range downTos with templates DSL
|
2015-07-24 04:13:29 +03:00 |
|
Ilya Gorbunov
|
2c396cf28e
|
Add clarification about the lazy nature of Sequence.plus and Sequence.minus operations.
|
2015-07-17 10:54:54 +03:00 |
|
Ilya Gorbunov
|
8ac613dd67
|
Fix docs for String.partition
#KT-8493 Fixed
|
2015-07-17 10:54:40 +03:00 |
|
Ilya Gorbunov
|
fbd0c16551
|
Merging arrays without creating iterators.
|
2015-07-17 10:54:28 +03:00 |
|
Ilya Gorbunov
|
9d120dcd44
|
Provide minus and minusAssign for iterables, collections, sets, sequences.
removeAll and retainAll special case optimizations.
#KT-3721 Fixed
#KT-7466 Fixed
|
2015-07-17 10:53:18 +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
|
a7bf415ad5
|
plus: do not generate ambiguos overloads.
|
2015-07-17 10:51:35 +03:00 |
|
Ilya Gorbunov
|
d89af24d6c
|
Variance of arrays sorted out.
Use concat for array + 1 in JS.
|
2015-07-17 10:51:22 +03:00 |
|
Ilya Gorbunov
|
7866184eb6
|
Array.plus — different implementations for JVM and JS.
Array.copyOf, copyOfRange available in JS.
|
2015-07-17 10:51:09 +03:00 |
|
Ilya Gorbunov
|
c883df544c
|
Make plus operation to be strict binary or right external binary for Sets and Arrays.
|
2015-07-17 10:50:58 +03:00 |
|
Ilya Gorbunov
|
0a320a13e5
|
Stdlib generators: change constants for Long: ZERO, ONE, -ONE.
|
2015-07-15 17:21:52 +03:00 |
|
Ilya Gorbunov
|
10c376975a
|
Stdlib generators: refactor and eliminate warnings, add families of Sets and InvariantArrays, allow to specify custom signature for particular families.
|
2015-07-15 17:21:43 +03:00 |
|