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
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
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
Andrey Breslav
d4a89d04d7
Each module carries its output directory
2013-10-10 17:49:17 +04:00
Sergey Mashkov
391c892a21
String.replaceAll variant that handles each match using closure
2013-10-07 19:52:13 +04:00
Evgeny Gerashchenko
2ae1a2c81b
Added copyToArray intrinsic method.
...
#KT-3352 fixed
2013-10-01 15:11:30 +04:00
Evgeny Gerashchenko
48625dd7b6
Disallowed using type parameter as reified type argument.
...
#KT-3050 fixed
2013-10-01 15:06:57 +04:00
Svetlana Isakova
a3f9cef354
fixed bug: 'isStatement' for function body == 'hasBlockBody'
...
not vice versa
2013-09-30 21:06:05 +04:00
Alexander Udalov
d49a2ed613
Move Intrinsic annotation to javaClass property from its getter
...
This is needed because the property, not its getter, is used as a key to the
intrinsics map when codegen decides how to generate a method call. Earlier it
worked because annotations on getters of properties loaded from bytecode were
mistakenly added to annotations on properties themselves
2013-08-23 17:39:23 +04:00
Mohammad Shamsi
846de273a6
KT-3715 updated java-doc
...
"not" was missing in the java-doc for "notEmpty" property
2013-08-20 14:00:28 +08:00
Mohammad Shamsi
5584e6ce18
KT-3715 make Collection.notEmpty a property
...
Renamed "notEmpty()" methods to "isNotEmpty()" in following classes:
- Collection
- String
- Array
Added "notEmpty" property to Collection class
2013-08-19 01:20:56 +08:00
Nikolay Krasko
2520f11bdc
KT-3823 Standard sort function requires MutableIterable by no reason
...
#KT-3823 Fixed
2013-07-30 21:06:16 +04:00
Natalia.Ukhorskaya
8429162220
Merge branch 'master' into idea13
...
Conflicts:
idea/src/org/jetbrains/jet/plugin/quickfix/AddFunctionToSupertypeFix.java
idea/src/org/jetbrains/jet/plugin/quickfix/ChangeFunctionReturnTypeFix.java
libraries/stdlib/src/kotlin/properties/Properties.kt
libraries/stdlib/test/properties/delegation/DelegationTest.kt
libraries/stdlib/test/properties/delegation/MapDelegationTest.kt
libraries/stdlib/test/properties/delegation/lazy/LazyValuesTest.kt
update_dependencies.xml
2013-06-04 13:14:08 +04:00
Maxim Shafirov
868bf90de2
Rollback 0514ddc719 due to failing tests
2013-05-31 11:35:11 +04:00
Maxim Shafirov
58914cdf33
Delegate properties stdlib, take 2.
2013-05-30 19:06:45 +04:00
Erokhin Stanislav
0514ddc719
fix Iterable<T>.toSortedList
2013-05-30 17:09:31 +04:00
Natalia.Ukhorskaya
485923b197
Add library classes for delegated properties
2013-05-30 13:07:18 +04:00
Natalia.Ukhorskaya
97c33b02ab
Add library classes for delegated properties
2013-05-21 13:21:53 +04:00
Maxim Shafirov
a9638d9fa4
"Opposite" for with called let.
2013-04-30 18:18:32 +04:00
Maxim Shafirov
666cc6e688
KT-3557: with() made it to stdlib
2013-04-30 12:49:55 +04:00
Evgeny Gerashchenko
267bb01f62
Added @NotNull annotation for Charset.defaultCharset().
...
Other code cleanup.
2013-04-24 16:18:34 +04:00
Zemian Deng
f7099a5b6a
Use default param to String encoding name instead of using extra overloaded method.
2013-04-24 16:18:34 +04:00
Zemian Deng
c3b46341d7
#KT-3533 Fixed - not to null in encoding name parameter in String, Bytes, and File.
2013-04-24 16:18:33 +04:00
Mohammad Shamsi
296bda2e3a
Fixed #KT-3379 jet.String.trimLeading and trimTrailing default whitespace trim
2013-04-19 01:10:51 +04:00
Ekaterina Sosa
a34a6b71c1
KT-3376 Added appendText and appendBytes functions to kotlin.io.File
...
#KT-3375 fixed
2013-04-09 00:56:44 +04:00
Mikhael Bogdanov
16aa4153e4
KT-3457 fix: added missed spread operator and receiver became format template
2013-04-01 14:50:20 +04:00
Svetlana Isakova
362770c9b1
don't generate two 'flatMap' methods(*) for Iterator
...
* with the same erased signature
#KT-3373 Fixed
2013-03-25 17:34:22 +04:00
Evgeny Gerashchenko
f31f98b56d
Restored auto-generated warning in iterators/collections code.
2013-03-22 16:38:26 +04:00
Evgeny Gerashchenko
5ccbce6de6
Got rid of "tuple" word all over the code.
2013-03-22 16:38:25 +04:00
Evgeny Gerashchenko
66e7a0110c
Updated test data and stdlib code which dependent on Tuple0/Unit
...
aliasing.
2013-03-22 16:38:24 +04:00
Mikhael Bogdanov
93b860e4ad
Always generate getter and setter
2013-03-20 20:50:06 +04:00
Yurii Samsoniuk
b39d3bec5a
#KT-3381 fixed.
...
Corrected documentation misspelling.
2013-03-09 15:32:50 +02:00
Evgeny Gerashchenko
0e85fdd2cf
KT-3290 File.recurse NPE
...
#KT-3290 fixed
2013-03-04 17:33:58 +04:00
Evgeny Gerashchenko
8df2f83de0
Fixed typo.
2013-03-04 17:33:58 +04:00
Evgeny Gerashchenko
b9e5704057
Updated test data and stdlib sources.
2013-02-13 18:08:37 +04:00
Evgeny Gerashchenko
021496c07d
Prohibited NaN steps.
2013-02-13 18:08:36 +04:00
Maxim Shafirov
b851c5597a
compilation fix
2013-02-13 16:14:33 +04:00
Maxim Shafirov
7231606eb2
Make sure files don't get overwritten if someone mixes generated and normal stdlib sources in one folder during build.
2013-02-13 13:59:29 +04:00