Ilya Gorbunov
7d32fad063
Improve docs for trimIndent/trimMargin.
...
#KT-9786
2016-02-25 22:09:15 +03:00
Ilya Gorbunov
77f148bec6
Improve docs for substring/subsequence.
2016-02-25 22:09:14 +03:00
Ilya Gorbunov
a100ffd66b
Minor: improve wording in the deprecation message.
2016-02-25 21:16:45 +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 Gorbunov
3c35395cf7
Minor: refactor some tests to use nested classes.
2016-02-21 04:18:11 +03:00
Ilya Gorbunov
7997aea5c3
Make Destructured nested class of MatchResult interface in JS too.
2016-02-21 04:18:09 +03:00
Ilya Gorbunov
acc6cc539a
Mark CollectionAssertions as deprecated due to their experimental status.
2016-02-21 03:33:12 +03:00
Ilya Gorbunov
bf536afe5f
Mark reified assertFailsWith with InlineOnly to preserve stack traces.
2016-02-21 03:20:07 +03:00
Ilya Gorbunov
119eceb80b
Minor: correct file name
2016-02-21 03:20:05 +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
cbd38f007c
JS: Do not create a copy of already cloned vararg array.
...
JVM: Do not create copy of vararg array it it's already Object[].
2016-02-18 17:37:31 +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
17a95384e1
Change default buffer size to be 8K (same default as in java BufferedReader).
...
Rename internal constants.
2016-02-12 05:07:10 +03: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
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
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
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
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
Ilya Gorbunov
4f1418bb72
Verify index expectations for reduceIndexed/reduceRightIndexed
2016-01-31 02:45:05 +03:00