Ilya Gorbunov
f3f1aa8a15
Change String.subSequence parameter names to match those of CharSequence.subSequence.
2016-04-01 21:39:09 +03:00
Dmitry Petrov
d30ab50532
KT-11410: Build stdlib with new part/facade inheritance scheme.
2016-04-01 10:13:22 +03:00
Ilya Gorbunov
f35dc47b4e
Optimize snapshot operations to return special collection implementations when result is empty or has single element.
...
#KT-9990 Fixed
2016-03-31 21:30:59 +03:00
Ilya Gorbunov
d5d19f5595
Make Map.plus accept Map out-projected by key type as either operand (receiver or parameter).
...
#KT-11301 Fixed
2016-03-31 17:20:58 +03:00
Ilya Gorbunov
9caa17dc74
Minor: Make internal monitorEnter/monitorExit functions private to remove them from the public API
...
#KT-11485
2016-03-31 17:15:10 +03:00
Ilya Gorbunov
ab68b49a70
Introduce RandomAccess to JS.
...
Make EmptyList support RandomAccess.
#KT-10794
2016-03-30 21:06:18 +03:00
Ilya Gorbunov
cbf8dca28d
Add deprecated extension MutableList.remove.
...
#KT-11648 Fixed
2016-03-29 19:56:03 +03:00
Ilya Gorbunov
e7d75fccd6
Introduce compiler option to dump declaration mapping.
2016-03-29 13:49:34 +03:00
Ilya Gorbunov
9233d5a825
Minor: do not throw error immediately, return error message to 'require' who shall throw an IllegalArgumentException by itself.
2016-03-04 20:28:07 +03:00
Ilya Gorbunov
0cd0554078
JS: Remove unsupported Enumeration declaration.
...
Relates to #KT-7480
2016-03-01 14:01:39 +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
f9e97882fc
Minor: remove obsolete TODO.
2016-02-27 00:52:31 +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
f025a3b8c4
Cleanup: rename parameters to match overriden method (in private implementations).
...
Remove some redundancy.
2016-02-26 21:54:55 +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
Ilya Gorbunov
f564adfdd4
Optimize trivial cases of CharSequence.repeat. Provide CharSequence.repeat for JS.
...
#KT-3064 Fixed
2016-02-26 01:23:30 +03:00
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
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
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
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
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
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