Ilya Gorbunov
6c7cefaae3
Use HALF_EVEN rounding mode by default for BigDecimal division operator.
...
#KT-10462 Fixed
2016-02-09 22:51:02 +03:00
Ilya Gorbunov
b4ebaad8f5
Drop previously deprecated API.
2016-02-09 02:58:07 +03:00
Ilya Gorbunov
6038bde3c1
Inline-only Lazy.getValue extension
2016-02-04 17:30:12 +03:00
Ilya Gorbunov
c243a2bdd5
In addition to extension String.format introduce String.Companion.format(format, args) to be used like in java.
2016-02-03 17:14:01 +03:00
Ilya Gorbunov
7105c7c182
Documentation stubs for new packages.
2016-02-03 17:04:28 +03:00
Michael Bogdanov
4b203de608
INVISIBLE_MEMBER_FROM_INLINE renamed to NON_PUBLIC_CALL_FROM_PUBLIC_INLINE
2016-02-03 10:35:29 +03:00
Ilya Gorbunov
f19ef6e3d5
SAM-constructors for Iterable and Sequence interfaces.
2016-02-03 00:13:17 +03:00
Ilya Gorbunov
947fd84f1e
Minor: reorder primitive specializations in generated code (according to the order they defined in java).
2016-02-02 22:06:34 +03:00
Ilya Gorbunov
7a50562a4e
Minor: reorder families in generated code.
2016-02-02 22:06:34 +03:00
Ilya Gorbunov
477b57cdfd
Rearrange stdlib, part 2: rename files to better represent their content.
2016-02-02 22:06:33 +03:00
Ilya Gorbunov
57cfa54957
Rearrange stdlib between files and folders, rename files to better represent their content.
...
Fix package part name in testData
2016-02-02 22:06:32 +03:00
Ilya Gorbunov
148b53fc62
Add UTF_32 charsets to Charsets object as lazy initialized properties.
...
#KT-10379 Fixed
2016-02-02 15:23:22 +03:00
Ilya Gorbunov
05192547da
Make DEFAULT_BUFFER_SIZE a constant.
2016-02-01 22:20:31 +03:00
Ilya Gorbunov
a192915c82
Do not inline Regex.replace
2016-02-01 22:20:28 +03:00
Ilya Gorbunov
dccae6c3ff
Introduce annotation InlineExposed to indicate internal members effectively public due to usage in inlined functions.
...
Currently, doesn't affect anything.
Make collectionSizeOrDefault and collectionSizeOrNull internal, but expose them via inlining together with mapCapacity.
Make Regex(Pattern) constructor exposed by inlined Pattern.toRegex
2016-02-01 22:20:27 +03:00
Ilya Gorbunov
dacf25fdec
Make all assert inline. Field _Assertions.ENABLED instead of property ASSERTIONS_ENABLED
2016-02-01 22:09:19 +03:00
Ilya Gorbunov
fc3f98dae2
Deprecate currentThread property
2016-02-01 22:09:15 +03:00
Ilya Gorbunov
42bd8df2ca
Drop CharSequence.get extension
2016-02-01 22:09:14 +03:00
Ilya Gorbunov
1eee1fa803
Swap parameters in File.forEachBlock
2016-02-01 22:09:13 +03:00
Ilya Gorbunov
abe927056b
Inline-only in kotlin.comparisons
2016-02-01 22:09:13 +03:00
Ilya Gorbunov
54977ee09a
Inline-only in kotlin.io
2016-02-01 22:09:12 +03:00
Ilya Gorbunov
47d580cbc5
Inline-only in kotlin.text
2016-02-01 22:09:11 +03:00
Ilya Gorbunov
56c5758db1
Inline-only in kotlin and kotlin.system packages, split Float/Double extension implementations for JVM and JS to make them inline-only in JVM.
2016-02-01 22:09:10 +03:00
Ilya Gorbunov
40fae0463f
Inline-only in kotlin.concurrent, make all timer utilities inline.
2016-02-01 22:09:09 +03:00
Ilya Gorbunov
ce5fd3ee77
Inline-only in kotlin.collections
2016-02-01 22:09:08 +03:00
Ilya Gorbunov
c7bd70732c
Inline-only in generated code
2016-02-01 22:09:07 +03:00
Gabriel Borges
d58efff974
Add foldIndexed and reduceIndexed groups of functions
...
- foldIndexed, foldRightIndexed, reduceIndexed and reduceRightIndexed have been added, in line with filterIndexed etc.;
- Test cases added appropriately for the new functions.
2016-01-31 02:45:02 +03:00
Ilya Gorbunov
6ac52d19ac
Move IndexedValue to kotlin.collections.
2016-01-28 12:41:36 +03:00
Ilya Gorbunov
eabac9dcf6
Rename measureTimeNano to measureNanoTime
2016-01-27 18:34:33 +03:00
Ilya Gorbunov
d46501e11b
Make all remaining deprecations to be errors.
2016-01-27 18:34:32 +03:00
Ilya Gorbunov
263e1b4b5d
Drop deprecated mapIndexedTo on Maps.
2016-01-27 18:34:31 +03:00
Ilya Gorbunov
4296b7f882
Breaking: make copyTo return target file instead of its size.
2016-01-27 00:29:09 +03:00
Ilya Gorbunov
8d02467e6d
Introduce plusElement and minusElement to disambiguate situations like List<List<T>> + List<T>
...
#KT-9992 Fixed
2016-01-27 00:00:01 +03:00
Yan Zhulanow
3fa506fd45
"Inapplicable operator modifier" and "Inapplicable infix modifier" are now errors
2016-01-26 17:21:44 +03:00
Ilya Gorbunov
23080f78f7
Map.getOrPut: treat nulls as missing values.
2016-01-26 11:49:18 +03:00
Ilya Gorbunov
a49db730a9
Map.getOrElse: treat nulls as missing values.
2016-01-26 11:49:17 +03:00
Ilya Gorbunov
90a239e74c
Provide toMutableList as a replacement for toArrayList.
2016-01-26 11:49:15 +03:00
Ilya Gorbunov
a709ba4a6e
Provide toMap with the destination mutable map to populate.
...
Tune type projections of map mutating operations.
2016-01-26 11:49:13 +03:00
Ilya Gorbunov
564155734b
Introduce associateTo and associateByTo with the destination MutableMap to fill.
2016-01-26 11:49:12 +03:00
Ilya Gorbunov
e41bf687d9
Deprecate toLinkedMap
2016-01-26 11:49:10 +03:00
Ilya Gorbunov
8224a4e186
Rename toMap and toMapBy to associate and associateBy
2016-01-26 11:49:03 +03:00
Ilya Gorbunov
45c9cc4add
Breaking: Change File.copyTo contract to be similar to Files.copy from JDK8.
2016-01-26 11:49:02 +03:00
Ilya Gorbunov
67663c43ae
Introduce overwrite parameter to File.copyRecursively.
...
#KT-8924 Fixed
2016-01-26 02:26:33 +03:00
Ilya Gorbunov
7703252239
Provide groupBy and groupByTo with keySelector and valueTransform.
...
Rename parameters of groupBy, add type parameter for MutableMap to groupByTo.
2016-01-25 21:15:56 +03:00
Ilya Gorbunov
a78b08d9c7
Use generic coerceIn for nullable primitives, provide specialization for non-nullable ones.
...
Fix docs for coerceAtMost.
2016-01-24 06:44:13 +03:00
Ilya Gorbunov
31ec7bcbea
Deprecate String.concat with error severity.
...
Fix concat j2k conversion.
Add expected deprecation errors for Java String constructors that must be converted to special Kotlin String methods.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
2257fa36ec
Drop deprecations: text and system
...
Fix import in testData
Fix testData: replace removed method.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
8bf638c60f
Drop deprecations: FileTreeWalk deprecated API elements.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
e9c14a02d3
Make FilePathComponents internal, temporary disable tests of internal API
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
c1ad82ff8c
Harden charset-as-string taking function deprecations.
...
Fix usages in compiler.
2016-01-22 05:54:38 +03:00