Ilya Gorbunov
|
141ad43039
|
Introduce buildSequence and buildIterator functions based on coroutines.
|
2017-01-14 20:14:01 +03:00 |
|
Ilya Gorbunov
|
2dfcb490a5
|
Fix CoroutineContext tests, update public API dump
|
2017-01-14 13:24:53 +03:00 |
|
Roman Elizarov
|
8d6a913cee
|
CoroutineContext and ContinuationInterceptor (instead of dispatcher)
|
2017-01-14 13:24:53 +03:00 |
|
Ilya Gorbunov
|
80f2efb625
|
joinTo/joinToString: Do not call toString on elements that are already CharSequence or Char.
#KT-15557
|
2017-01-13 19:49:57 +03:00 |
|
Ilya Gorbunov
|
cdfb72ab76
|
Provide protected toArray implementation in AbstractCollection.
Relates to #KT-13898
|
2017-01-13 19:38:28 +03:00 |
|
Ilya Gorbunov
|
6273ab5d43
|
Hold back eachSumOf for a while: fixups.
Remove unneeded import.
|
2017-01-11 20:04:00 +03:00 |
|
Ilya Gorbunov
|
4816474d70
|
Hold back eachSumOf for a while.
|
2017-01-11 16:49:45 +03:00 |
|
Ilya Gorbunov
|
04a0f0a036
|
Rename Grouping.elementIterator to sourceIterator
|
2017-01-11 16:49:45 +03:00 |
|
Ilya Gorbunov
|
d73744f1c0
|
Tests for group-and-fold operations
|
2017-01-11 16:49:45 +03:00 |
|
Ilya Gorbunov
|
897e9658ac
|
Do not run total order tests on JS
|
2017-01-11 14:45:19 +03:00 |
|
Ilya Gorbunov
|
74331f8eaa
|
Add NaN propagation and total ordering tests.
|
2017-01-11 14:45:16 +03:00 |
|
Ilya Gorbunov
|
6041a7d6c8
|
Add tests for normal cases of maxOf/minOf
|
2017-01-11 14:45:14 +03:00 |
|
Ilya Gorbunov
|
844c68286a
|
Refactor: replace Math.min with minOf in common code.
Add temporary import of kotlin.comparisons where required.
|
2017-01-11 14:42:36 +03:00 |
|
Ilya Gorbunov
|
5db75c993b
|
Introduce array-like list instantiation functions.
#KT-14935 Fixed
|
2016-12-30 20:00:45 +03:00 |
|
Ilya Gorbunov
|
822e58ad83
|
Map.getOrImplicitDefault is exposed public as Map.getValue
#KT-11851
|
2016-12-29 07:49:27 +03:00 |
|
Ilya Gorbunov
|
c43e4f6682
|
Uncomment some assertions for overflow behavior that now can pass in JS
|
2016-12-23 18:14:32 +03:00 |
|
Ilya Gorbunov
|
bc944961f1
|
Use internal published-api function to validate radix in string-number conversion functions.
#KT-8286
|
2016-12-14 17:20:44 +03:00 |
|
Mikhail Zarechenskiy
|
c15c00677e
|
Add operator 'rem' as extension to BigDecimal
Deprecate 'mod' operator
|
2016-12-14 15:29:00 +03:00 |
|
Mikhail Zarechenskiy
|
5a829809d9
|
Add operator 'rem' as extension to BigInteger
#KT-14650 Fixed
Note that after this change behaviour of '%' on BigInteger is changed,
now it works like a proper remainder
|
2016-12-14 15:29:00 +03:00 |
|
Alexey Andreev
|
0f813d5cfe
|
JS: fix compiling stdlib tests in JS
|
2016-12-09 12:04:32 +03:00 |
|
Ilya Gorbunov
|
8ec2a2e6fe
|
Add NaN-propagation in coerceIn(ClosedComparableRange<Double>)
|
2016-12-08 22:13:00 +03:00 |
|
Ilya Gorbunov
|
ea77673dde
|
Reimplement coerceIn to range with new range functions: lessThanOrEquals.
|
2016-12-08 20:50:26 +03:00 |
|
Ilya Gorbunov
|
d60fc7d9a8
|
Introduce ClosedComparableRange interface which inherits ClosedRange to provide special comparison operation for double and float.
|
2016-12-08 20:50:11 +03:00 |
|
Ilya Gorbunov
|
5773594412
|
Reimplement ClosedRange.contains extensions to call interface contains method.
|
2016-12-08 20:50:07 +03:00 |
|
Ilya Gorbunov
|
4721dcd07c
|
Add specialization overloads for Float.rangeTo and Double.rangeTo to resolve them statically.
|
2016-12-08 20:49:10 +03:00 |
|
Ilya Gorbunov
|
f5cc53c157
|
Provide ComparableRange specializations for Double and Float.
#KT-4481
|
2016-12-08 20:47:24 +03:00 |
|
Ilya Gorbunov
|
2fa98323f1
|
Refactor: rename files.
|
2016-12-06 21:30:35 +03:00 |
|
Ilya Gorbunov
|
d5f5f88cda
|
Add number to string conversion with the specified radix.
#KT-8286
|
2016-12-06 21:30:35 +03:00 |
|
Ilya Gorbunov
|
dc57d69085
|
Improve onEach templates.
Add new functions to reference API.
Add tests for onEach
#KT-8220
|
2016-11-30 16:46:56 +03:00 |
|
Ilya Gorbunov
|
9b421eb7a4
|
Throw IllegalArgumentException instead of NumberFormatException on incorrect radix.
|
2016-11-30 02:20:33 +03:00 |
|
Ilya Gorbunov
|
3c80a7056a
|
Refactor local test dsl.
Add several cases and arabic digits conversion test.
|
2016-11-30 02:19:43 +03:00 |
|
Ilya Gorbunov
|
1b9dfffc13
|
Minor: normalize casing of Test annotation
|
2016-11-30 02:19:40 +03:00 |
|
Ilya Gorbunov
|
ce50c7f13d
|
Fix in test to deal with java 6 not accepting leading plus.
|
2016-11-30 02:19:33 +03:00 |
|
voddan
|
a8bd174cd0
|
Added tests for parsing with radix.
#KT-8286
|
2016-11-30 02:19:31 +03:00 |
|
voddan
|
87d010e038
|
Introduce local dsl for number parsing tests, improve test coverage.
#KT-7930
|
2016-11-30 02:19:27 +03:00 |
|
voddan
|
fb51d21888
|
Extracted string-parsing extensions and their tests into separate files.
|
2016-11-30 02:17:35 +03:00 |
|
Ilya Gorbunov
|
6a70761783
|
Minor: normalize '@Test' annotation casing in all tests.
|
2016-11-21 18:20:33 +03:00 |
|
Ilya Gorbunov
|
50cd620f92
|
Remove java.util.* imports from common code.
|
2016-11-21 18:20:33 +03:00 |
|
Ilya Gorbunov
|
fae5c88f22
|
Remove java.util references from the common code
|
2016-11-16 18:47:42 +03:00 |
|
Ilya Gorbunov
|
8de67d039b
|
Expose maximum version component value as a constant, increase it to 255.
Add tests for KotlinVersion, document remaining parts of API.
#KT-14789
|
2016-11-15 16:38:52 +03:00 |
|
Ilya Gorbunov
|
dceec89572
|
JS: Array.toString is const, Array.contentToString is shallow, Array.contentDeepToString is deep and self-reference aware
#KT-13582
|
2016-11-08 17:23:45 +03:00 |
|
Ilya Gorbunov
|
f3da656d6e
|
contentEquals, contentHashCode, contentToString: Add js implementation and tests
#KT-13582
|
2016-11-08 17:23:45 +03:00 |
|
Ilya Gorbunov
|
61ef26614d
|
Fixup after merge (temporary until collection typealiases are introduced in stdlib)
|
2016-11-08 03:56:39 +03:00 |
|
Ilya Gorbunov
|
a067888fed
|
Provide no-op members in JS ArrayList to work with capacity.
#KT-14637
|
2016-11-07 21:58:43 +03:00 |
|
Alexander Udalov
|
e8fecea871
|
JS: drop Collections.max
|
2016-11-07 12:27:52 +03:00 |
|
Alexander Udalov
|
316fbd820b
|
JS: drop Collections.sort
|
2016-11-07 12:27:13 +03:00 |
|
Ilya Gorbunov
|
49ea0f5984
|
Relax generic variance in Array.flatten
|
2016-10-31 22:05:38 +03:00 |
|
Ilya Gorbunov
|
1c7196a1fb
|
Allow to reference internal API in stdlib tests
|
2016-10-26 17:47:15 +03:00 |
|
Ilya Gorbunov
|
8d76617094
|
Merge ReversedViews tests in one file as they can all run now in JS.
Make SynchronizedLazyValTest jvm-only.
|
2016-10-26 17:47:15 +03:00 |
|
Ilya Gorbunov
|
badbcd08de
|
Annotate explicitly stdlib tests, which must be excluded from JS stdlib tests with @JvmVersion, do not use file naming convention, use preprocessor instead.
|
2016-10-26 17:47:15 +03:00 |
|