Ilya Chernikov
6789f2ff0f
adding build lib to maven part, adding it's contents to kotlin-compiler-embeddable
...
KT-8487
2016-03-03 16:45:13 +03:00
Ilya Chernikov
d4a86b7f6d
Generate proper sources jar for compiler-embeddable, fixing problem with locating embeddable compiler jar in tests, revealed by the change
...
KT-8487
2016-03-03 16:45:12 +03:00
Ilya Gorbunov
e5dbb65ff7
JS: Remove declarations of unsupported SortedSet and TreeSet, make toSortedSet() jvm-only.
...
Fix completion test.
Relates to #KT-7480
2016-03-01 14:01:38 +03:00
Ilya Gorbunov
19fa2f51ea
Review and correct exception messages.
2016-02-27 00:52:30 +03:00
Ilya Gorbunov
00e30e417f
Cleanup: suppress warnings where appropriate.
2016-02-26 21:54:57 +03:00
Ilya Gorbunov
b19c0363fd
Clarify parameter order of lambda function parameter of *Indexed functions.
...
#KT-10953 Fixed
2016-02-26 20:47:26 +03:00
Ilya Gorbunov
0e0455daeb
Improve the documentation of binarySearch functions.
...
#KT-10198 Fixed
2016-02-26 20:31:05 +03:00
Alexander Udalov
c81d76414f
Drop serialization of old binary built-in files (.kotlin_class, .kotlin_package)
2016-02-26 11:29:10 +03:00
Ilya Chernikov
c39cec4869
Fixing daemon memory test on windows by increasing the expected threshold
2016-02-26 10:23:37 +03:00
Natalia Ukhorskaya
894c11d412
Merge pull request #820 from JakeWharton/jw/extra-source-folders
...
Include source folders from registered source-generating tasks.
2016-02-25 12:07:20 +03:00
Ilya Chernikov
343735e36c
fixing test after changing cleanup scheme - first it is now required to rebuild sources, and therefore consumed memory is increased
2016-02-18 21:06:38 +01:00
Ilya Chernikov
8065e490e8
performing cleanup (and memory usage reporting) only if kotlin compiler was actually called, should fix e.g. KT-10127
2016-02-18 21:06:37 +01:00
Alexey Tsvetkov
d0efd4083f
Call System.gc only when when log level is debug, fixes KT-11022
2016-02-18 21:06:36 +01:00
Ilya Gorbunov
6b1ed8fd61
JS: use slice() instead of slice(0) to copy arrays (minor).
2016-02-18 17:37:33 +03:00
Ilya Gorbunov
8761819117
StdLib generators: provide extension points for family properties specific to documentation and code.
2016-02-17 04:23:18 +03:00
Ilya Gorbunov
24edbc36df
Create at most one wrapper sequence for adjacent drop/take operations on sequences.
...
Based on PR #814 by Sargun Vohra
#KT-10821 Fixed
2016-02-14 16:46:46 +03:00
Jake Wharton
0d6ec35f7f
Include source folders from registered source-generating tasks.
...
This includes the output directories from tasks which generate Java code which were registered with registerJavaGeneratingTask().
2016-02-13 02:34:06 -05:00
Ilya Gorbunov
1fca1cc607
Use foreach loop instead of directly taking iterator in sum and average.
...
Use indexed loop for arrays in reduce and reduceIndexed.
#KT-10579 Fixed
2016-02-09 22:51:39 +03:00
Ilya Gorbunov
b4ebaad8f5
Drop previously deprecated API.
2016-02-09 02:58:07 +03:00
Yan Zhulanow
8c17c5f40b
Pack actual Kotlin Android compiler plugin sources into kotlin-android-extensions-ver-sources.jar
2016-02-04 17:24:44 +03:00
Natalia Ukhorskaya
2fa00f87e0
Minor: add some clarifications
2016-02-03 18:53:50 +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
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
c7bd70732c
Inline-only in generated code
2016-02-01 22:09:07 +03:00
Ilya Gorbunov
8c0008aa2e
StdLib Generators: support three flavors of inline
2016-02-01 22:09:07 +03:00
Yan Zhulanow
a041414f35
Kapt: compile kotlinAfterJava without Jdk as well in Android projects (KT-10854)
2016-02-01 14:33:02 +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
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
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
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
Ilya Gorbunov
90a239e74c
Provide toMutableList as a replacement for toArrayList.
2016-01-26 11:49:15 +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
8224a4e186
Rename toMap and toMapBy to associate and associateBy
2016-01-26 11:49:03 +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
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
ef0d998fbc
Drop deprecations: *Raw functions.
2016-01-22 05:54:38 +03:00