Zalim Bashorov
529d7374b8
Stdlib: enabled test List::withIndices.
2014-02-03 13:31:23 +04:00
Zalim Bashorov
edb930fd76
JS stdlib: added missed tests for Set and fixed HashSet implementations. Implemented Set::iterator, AbstractCollection::removeAll, AbstractCollection::retainAll, AbstractCollection::containsAll.
...
#KT-4390 fixed
2014-02-03 13:31:23 +04:00
Zalim Bashorov
ceab4347ec
JS stdlib: added missed tests for Map and fix HashMap implementation.
2014-02-03 13:31:23 +04:00
Evgeny Gerashchenko
15bba63dc1
Removed obsolete workaround for KT-1752.
2014-01-28 00:51:10 +04:00
Alexander Udalov
dc66561ca5
Create module 'builtins', move 'runtime' -> 'runtime.jvm'
...
'builtins' will be used for platform-independent core built-in definitions,
'runtime.jvm' for things that should be present at runtime in order for Kotlin
code to execute correctly on JVM
ProgressionUtil goes to 'builtins' right now because progression iterators
depend on it, but should be rewritten to Kotlin later
2014-01-27 18:33:47 +04:00
Alexander Udalov
ca565b9c19
Move toString() from primitive ranges to Range
...
The same can't be done with progressions, because its toString() checks if an
increment is greater than zero, but Progression.increment is of type Number,
which is not Comparable<Int>
2014-01-27 18:33:47 +04:00
Alexander Udalov
a59565bfa8
Rewrite PropertyMetadata to Kotlin
2014-01-27 18:33:44 +04:00
Christian Laakmann
9b3d357371
added extension methods MutableCollection#addAll(Iterable) and MutableCollection#addAll(Iterator) (#KT-4202 fixed)
2014-01-24 18:12:45 +04:00
Andrey Breslav
f757881f22
[throws] annotation added to the standard library
2014-01-22 19:04:44 +04:00
Andrey Breslav
7b61bdb9b1
Overload constructor of Composite iterator for lazy use cases
...
This time in the right file
2014-01-22 01:58:46 +04:00
Andrey Breslav
816e9975ad
Overload constructor of Composite iterator for lazy use cases
2014-01-21 16:20:19 +04:00
Natalia Ukhorskaya
14f4b6e4b4
Update android annotations. Do not add jdk annotations for android sdk
2014-01-15 18:00:46 +04:00
chashnikov
cfd9431d50
Merge pull request #336 from christian-laakmann/patch-1
...
KT-4371 Add Char.plus(String) to standard library
2014-01-15 04:48:04 -08:00
Evgeny Gerashchenko
958f7c862d
Got rid of "namespace" word in test data.
2014-01-14 18:06:50 +04:00
Pavel V. Talanov
7db53106fd
Stdlib: fix signature of Reader.forEachLine() function
...
#KT-4242 Fixed
2014-01-09 21:07:23 +04:00
Christian Laakmann
cfca717c35
KT-4371 Add Char.plus(String) to standard library
2013-12-31 09:16:03 +01:00
Jon Renner
6781231411
KT-4347 add Array extension indexOf to stdlib
2013-12-30 14:42:56 +04:00
Jon Renner
e99a90b1c2
KT-4343 getStackTrace() for Throwables
2013-12-27 12:37:48 +04:00
Jon Renner
9544624755
add Readme to kotlin-stdlib-gen explaining how to run code generation
2013-12-27 15:06:19 +08:00
Natalia Ukhorskaya
f2f1a1313d
Add jdk jars to kotlin classpath
...
#KT-4214 Fixed
2013-12-26 13:50:10 +04:00
Jon Renner
afde10093f
fix typo
2013-12-25 13:37:23 +08:00
Evgeny Gerashchenko
f7d33d2297
Removed comments auto-generated by IDEA.
2013-12-23 15:58:36 +04:00
Natalia Ukhorskaya
4329c42e3f
Make unary minus and unary plus return int for byte and short
2013-12-23 13:46:00 +04:00
Evgeny Gerashchenko
6adec744f1
Migrated kdoc to package views & fragments instead of namespace descriptors.
2013-12-17 20:28:57 +04:00
Alexander Udalov
13214d2dec
Update doc comments of utility functions on lists
2013-12-12 23:34:08 +04:00
Michael Zehender
6546d7a1e7
#KT-2341 Fixed
2013-12-12 23:34:08 +04:00
Evgeny Gerashchenko
e80af77c31
Added max() and min() for CharArrays.
2013-12-06 20:35:31 +04:00
nik
f439604b57
standard library: 'max' and 'min' functions reimplemented to avoid unnecessary null checks
...
(as proposed for minBy/maxBy in https://github.com/JetBrains/kotlin/pull/324 )
2013-12-06 20:22:53 +04:00
Natalia Ukhorskaya
6331dd2308
Fix toFloat in stdlib
2013-12-05 15:21:57 +04:00
Natalia Ukhorskaya
d63f6843c8
Merge ConstantExpressionEvaluator and CompileTimeConstantResolver
2013-12-05 15:21:50 +04:00
Mikhael Bogdanov
771501912e
Comment 'inline' annotation that brokes build
2013-12-02 18:30:42 +04:00
Mikhael Bogdanov
191891963c
Fixed warning with 'orEmpty' function
2013-12-02 18:30:42 +04:00
Mikhael Bogdanov
382b2d4a96
Fix compilation warnings with redundant inline annotation
2013-12-02 18:30:42 +04:00
Mikhael Bogdanov
16f554b6bf
Removed inline annotation from downTo functions
2013-12-02 18:28:24 +04:00
Mikhael Bogdanov
0e0f950140
Replacing callable and rullable funs with SAM constructor
2013-12-02 18:28:24 +04:00
Mikhael Bogdanov
1dba69186c
Stdlib compilation error fixes with new diagnostics
2013-12-02 18:28:24 +04:00
Mikhael Bogdanov
339e639135
Stdlib regenerated
2013-12-02 18:28:24 +04:00
Mikhael Bogdanov
40d7841892
Added inline flag to templates
2013-12-02 18:28:24 +04:00
nik
ac6dc9fa54
standard library: 'maxBy' and 'minBy' functions added (#KT-4267 fixed)
2013-12-02 18:24:24 +04:00
nik
45e9211943
standard library: added isEmpty/isNotEmpty functions for primitive arrays
2013-12-02 18:24:24 +04:00
nik
b636538422
standard library: variance for Array functions corrected
2013-12-02 18:24:24 +04:00
nik
bf36eb07e9
standard library: 'max' and 'min' functions added (KT-3714, KT-3843, KT-3126)
2013-11-27 23:09:30 +04:00
nik
cde36adbdc
standard library: 'sum' function added (KT-3714, KT-3843, KT-3126)
2013-11-27 12:42:40 +04:00
Alexey Sedunov
9839c2b0b6
Stdlib: Add iteration over unary function, implement iterator zip and skip
2013-11-20 01:44:13 +04:00
Maxim Shafirov
5e2e6e557d
error (yet to decide what particular exception to throw)
2013-11-10 18:25:13 +04:00
Maxim Shafirov
73db26f5f3
Clean up deprecation
2013-11-07 13:03:03 +04:00
Mohammad Shamsi
0c447c81ca
KT-4153 Fixed.
2013-11-05 18:37:13 +08:00
Mohammad Shamsi
d3eb23f233
KT-4139 FIXED
...
KT-4139 add "map" and "mapTo" methods in to "String" class.
2013-10-27 23:35:09 +08:00
Natalia Ukhorskaya
97b35ed8ea
Remove duplicated Delegated properties classes from stdlib
2013-10-18 11:52:08 +04:00
Zalim Bashorov
31a4d91122
CLI: drop CompilerArguments and unnecessary methods from *CompilerArguments classes
2013-10-16 17:39:49 +04:00