Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Yan Zhulanow
a3ff3ffc45
Fix tests: "Placing function type parameters after the function name" error
2015-11-27 15:51:11 +03:00
Ilya Gorbunov
ca4bdd23e0
Provide flatten for sequence of iterables.
...
#KT-9977
2015-11-26 00:45:15 +03:00
Ilya Gorbunov
4181142400
Deprecate sequenceOf(Progression).
2015-11-26 00:45:15 +03:00
Ilya Gorbunov
8440c196d1
GeneratorSequence: do not get first value, until it's requested by iterator, allow initialValue to be null and return EmptySequence in this case.
...
#KT-9153 Fixed
2015-11-26 00:45:15 +03:00
Ilya Gorbunov
229504f42d
Byte iterator only available for buffered input streams,
...
InputStream.buffered() returns BufferedInputStream.
2015-11-25 18:35:03 +03:00
Ilya Gorbunov
c848ebdc52
Deprecate complex delegation to map.
2015-11-25 18:35:03 +03:00
Ilya Gorbunov
77f69abca4
Drop deprecated toGenerator and toLinkedList.
2015-11-25 18:35:02 +03:00
Ilya Gorbunov
c485eda1c2
Make zip operation symmetrical for CharSequences (missed to generalize parameter before).
2015-11-25 18:35:01 +03:00
Ilya Gorbunov
a05d0a3c49
Drop hidden declarations provided for binary compatibility in beta2
2015-11-25 18:35:00 +03:00
Ilya Gorbunov
542ab6ae34
Deprecate String.toCharList to use toList instead.
2015-11-25 18:34:58 +03:00
Ilya Gorbunov
b253ace198
Test different return results of collection mutation operations.
2015-11-25 17:18:59 +03:00
Ilya Gorbunov
f17316f4b4
Provide removeAll and retainAll with predicate for MutableIterables and MutableList.
...
#KT-8760 Fixed
2015-11-25 17:18:58 +03:00
Ilya Gorbunov
5ab2f47101
Make MutableCollection extensions return Boolean indicating whether the operation resulted collection to be changed.
2015-11-25 17:18:58 +03:00
Alexander Udalov
f98703dcdb
Minor, fix URL in JvmName kdoc
2015-11-23 14:56:50 +03:00
Ilya Gorbunov
5aa415c609
MutableMap.iterator() returns MutableIterator.
2015-11-21 07:09:07 +03:00
Ilya Gorbunov
0dbbb6c19c
Rename operand parameter of plus and minus for collections
2015-11-21 00:54:37 +03:00
Ilya Gorbunov
2ed277a863
Add upperbound constraint Comparable<T> to toSortedSet() and sortedMapOf()
...
Provide an overload of toSortedSet() with Comparator<in T> parameter
#KT-10115 Fixed
2015-11-21 00:54:33 +03:00
Ilya Gorbunov
b61bef324d
Make Char.category and directionality properties instead of functions.
...
Provide contains(Char) operator for CharCategory.
2015-11-21 00:54:30 +03:00
Ilya Gorbunov
775755dfac
Introduce String.toCharArray() instead of String.getChars()
...
Make special method conversion for java.lang.String.getChars() in J2K
2015-11-21 00:54:29 +03:00
Ilya Gorbunov
bf3a77b736
Deprecate Regex.matcher() with ERROR and provide the replacement.
2015-11-21 00:54:28 +03:00
Ilya Gorbunov
eb2a976f32
Minor: use EnumSet to hold options of regex.
2015-11-21 00:54:26 +03:00
Ilya Gorbunov
7035c300d0
Rename parameters of a thread function.
2015-11-21 00:54:25 +03:00
Ilya Gorbunov
47b3859641
Deprecate monitorEnter and monitorExit not to be used from user code.
2015-11-21 00:54:23 +03:00
Ilya Gorbunov
9d24f1d1cf
Delegates.mapVal and mapVar preserve type of the receiver to when calling default value lambda.
2015-11-21 00:54:22 +03:00
Ilya Gorbunov
0f70def3db
StdLib: Rename method parameters (generated code)
2015-11-21 00:54:20 +03:00
Ilya Gorbunov
7e7a55bbe4
StdLib: Rename method parameters (Strings)
2015-11-21 00:54:19 +03:00
Ilya Gorbunov
bbe6a3c7ca
StdLib: Rename method parameters (Maps)
2015-11-21 00:54:18 +03:00
Ilya Gorbunov
a3cd86d2cd
StdLib: Rename method parameters (Collections)
2015-11-21 00:54:16 +03:00
Ilya Gorbunov
c3190bbae3
Migrate type parameter list syntax.
2015-11-21 00:54:15 +03:00
Ilya Gorbunov
a426c7879f
Apply infix modifier on functions from stdlib where appropriate.
2015-11-21 00:54:12 +03:00
Ilya Gorbunov
794819cea2
StdLib cleanup: make calls non-infix
2015-11-21 00:54:10 +03:00
Ilya Gorbunov
88e48380af
StdLib cleanup, deprecated symbol usage: Throwable.getMessage
2015-11-21 00:54:09 +03:00
Ilya Gorbunov
dadcdb5771
StdLib cleanup, deprecated symbol usage: List and Map members
2015-11-21 00:54:08 +03:00
Ilya Gorbunov
838109c302
StdLib cleanup, deprecated symbol usage: replace end with endInclusive
2015-11-21 00:54:06 +03:00
Ilya Gorbunov
07654eb82b
StdLib cleanup, deprecated symbol usage: size() and length()
2015-11-21 00:54:05 +03:00
Ilya Gorbunov
32151c077e
Replace map { ... }.filterNotNull() with mapNotNull { ... }
2015-11-21 00:54:01 +03:00
Mikhail Glukhikh
4e44466cf9
Exposed visibility deprecation warnings made errors + relevant test fixes
2015-11-20 15:21:01 +03:00
Dmitry Jemerov
bf35099e0c
use "destructuring declarations" term instead of "multi-declarations"
2015-11-17 18:43:26 +01:00
Ilya Gorbunov
a8b11ff07b
Make MutableMap.set return Unit
...
#KT-7853 Fixed
2015-11-11 19:00:10 +03:00
Ilya Gorbunov
3639afafce
Deprecated with ERROR preconditions with eager message.
2015-11-11 19:00:03 +03:00
Ilya Gorbunov
be9b14545f
Drop deprecations and tighten up left ones.
2015-11-11 18:59:53 +03:00
Ilya Gorbunov
5b484f1e05
Make emptyMap upperbound to be Any? rather than Any.
...
#KT-9963
2015-11-11 17:14:41 +03:00
Ilya Gorbunov
f7135dfe50
Do not override default AbstractList iterator() implementation for primitiveArray.asList wrappers.
...
#KT-9927 Fixed
2015-11-11 16:41:39 +03:00
Ilya Gorbunov
0786027271
Deprecate Range<T> in generated code.
...
Provide hidden overloads of downTo and until with byte and short parameters for binary compatibility.
2015-11-11 03:53:52 +03:00
Ilya Gorbunov
af9020a010
Update Range and Progression built-in implementations in js library.
...
No need to define special method mapping for js ranges/progressions.
Support progression companion objects' function fromClosedRange as intrinsic
2015-11-11 03:53:51 +03:00
Ilya Gorbunov
6bac3e1986
Drop Ranges, Progressions, ProgressionIterators for Double and Float.
...
Undeprecate generic Comparable.rangeTo, but return private implementation instead.
Undeprecate contains and coerceIn for generic ranges.
2015-11-11 03:53:47 +03:00
Ilya Gorbunov
4d2f9b82da
reversed() behavior changed for progressions. Stepped progression behavior changes: 'end' property is now deprecated, use 'last' instead.
2015-11-11 03:53:45 +03:00
Ilya Gorbunov
5ebb3d20e8
Change internal implementation of progression: use first, last instead of start, end
...
Keep the end value as it was passed to progression constructor.
Deprecate primary progression constructor and introduce factory method in companion object.
2015-11-11 03:53:40 +03:00
Ilya Gorbunov
25da037868
Update range iteration tests and regenerate test data.
2015-11-11 03:53:37 +03:00