Yan Zhulanow
a041414f35
Kapt: compile kotlinAfterJava without Jdk as well in Android projects (KT-10854)
2016-02-01 14:33:02 +03:00
Ilya Gorbunov
4f1418bb72
Verify index expectations for reduceIndexed/reduceRightIndexed
2016-01-31 02:45:05 +03:00
Ilya Gorbunov
1357c77d0b
Minor: verify exception type of failed fold/reduce
2016-01-31 02:45:04 +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
Alexander Udalov
7e17482698
Delete kotlin-jdk-annotations and kotlin-android-sdk-annotations
...
They were empty anyway for a long time
2016-01-28 21:48:16 +03:00
Nikolay Krasko
e79ad386ef
Parametrize maven deploy to allow pushing to bintray
2016-01-28 15:03:27 +03:00
Ilya Gorbunov
6ac52d19ac
Move IndexedValue to kotlin.collections.
2016-01-28 12:41:36 +03:00
Ilya Gorbunov
3d468aaab9
Allow call assertFailsWith<T> with default message.
2016-01-28 00:13:51 +03:00
Yan Zhulanow
c6e6547559
Kapt: add Java task classpath to processorpath
2016-01-27 19:31:45 +03:00
Yan Zhulanow
203d9e150b
Kapt: Add kapt.kotlin.generated to the supported options list
2016-01-27 19:31:45 +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
Yan Zhulanow
c7a0375c25
Fix AndroidSubplugin applicability check (plain Java Gradle project)
2016-01-27 17:17:47 +03:00
Yan Zhulanow
4e82fabc7d
kapt: Pass Kotlin annotations to process()
2016-01-27 17:17:47 +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
26ed1c3756
Move Android Extensions subplugin to the main kotlin-gradle-plugin artifact
2016-01-26 21:13:37 +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
d03c174650
Deprecate assertFailsWith with java Class<T> parameter.
...
#KT-10377
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
0eaaee8202
StdLib Generators: parse generic function parameters into primitive model
2016-01-25 21:15:19 +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
13b1e91eb5
StdLib Generators: fix type projections, do not use concat.
2016-01-23 05:13:26 +03:00
Denis Zharkov
6c0cd70a22
Introduce PureReifiable annotation
...
It prevents reporting unsafe substitution warning on expressions
like 'arrayOf(arrayOf(""))'
2016-01-22 19:17:22 +03:00
Ilya Gorbunov
f5f5a2dcc1
Move progression final element test to stdlib tests.
...
Less values are tested for iteration not to timeout in js tests.
2016-01-22 05:54:38 +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
Ilya Gorbunov
b39b29dfea
Drop deprecations: io and threading functions.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
25c4453dc5
Cleanup deprecated symbol usages in testData
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
cbc3a3b595
Make IndexingIterator and IndexingIterable internal.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
9142025df6
Drop deprecations: reflection utilites.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
69f884dcd3
Drop deprecations: preconditions with non-lazy message.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
768a23f7eb
Drop deprecations: functions that were converted to properties.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
ef0d998fbc
Drop deprecations: *Raw functions.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
d1a5988bfc
Drop deprecations: complicated map delegates and kotlin.support.AbstractIterator.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
d7f8754282
Drop deprecated classes inheriting multifile facade classes moved out of kotlin package.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
473773723b
Drop deprecations in kotlin.test
2016-01-22 05:54:38 +03:00