Commit Graph

311 Commits

Author SHA1 Message Date
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 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
Maxim Shafirov 15446e98b8 Fix tests failing after stdlib generation refactoring 2013-02-13 12:41:12 +04:00
Maxim Shafirov 620aae28d0 Collections standard library is now generated from templates. 2013-02-13 12:41:12 +04:00
Nikolay Krasko b61bdcd67d Remove extension toArray() 2013-02-11 16:09:26 +04:00
Maxim Shafirov 9f546f938d KT-3192 Drop kotlin.nullable package
#KT-3192 Fixed
2013-02-04 18:02:52 +04:00
Evgeny Gerashchenko 58f37f38f4 Renamed NumberSequence to Progression. 2013-01-29 22:55:10 +04:00
Evgeny Gerashchenko 719ed4c795 failsWith is really checking for exception class. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 66ce736a81 Moved failsWith to TestJVM. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 63484e28e0 Renamed Iterable.contains to containsItem, to avoid puzzling.
Otherwise, you could accidentally look for Double in List<Int>, or even for Int in ShortSequence (by stupid iterating).
2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 6d41697af0 Added ComparableRange. 2013-01-29 22:55:07 +04:00
Evgeny Gerashchenko 0ff3589bb9 Moved *Range.step() functions to stdlib. 2013-01-29 22:55:05 +04:00
Evgeny Gerashchenko 9b866b2e12 Implemented reversed() in proper way.
- converted it into function
- return sequence values
- implemented for sequences as well
2013-01-29 22:55:05 +04:00
Evgeny Gerashchenko 0051cb9553 downTo functions return sequence instead of range now. 2013-01-29 22:55:04 +04:00
Alexander Udalov 047db78104 Fix failing build, add imports 2013-01-16 21:21:43 +04:00
Evgeny Gerashchenko abaa450917 Moved JVM-specific String functions filter(), map(), etc to StringsJVM.kt 2013-01-16 20:32:24 +04:00
Evgeny Gerashchenko 8f78ee851b Fixed typo in comment. 2013-01-16 19:08:13 +04:00
Yuri Samsoniuk b9e07eb645 [KT-1859] Added collection like extension methods to String. 2013-01-16 19:03:49 +04:00
Svetlana Isakova 4dc51901ba changed groupBy method signature (in standard library) 2012-12-26 17:05:08 +04:00
Andrey Breslav f925bfccd0 Changing default nullability for type arguments to NotNull 2012-12-14 15:28:21 +04:00
Andrey Breslav 6141467499 Fixing tests after annotations changed 2012-12-10 16:44:41 +04:00
Andrey Breslav b3265024ab list(), set() and map() -> listOf(), setOf() and mapOf() 2012-12-03 21:39:56 +04:00
Andrey Breslav 5f766aa33a list(), set() and map() introduced 2012-12-03 17:23:21 +04:00
Andrey Breslav 4084416d56 Remove 'inline' 2012-12-03 17:23:21 +04:00
Andrey Breslav 6ed2d1560c Move arrayList() to the top 2012-12-03 17:23:21 +04:00
Andrey Breslav 6df5e8b73a Deprecate confusing arrayList(), hashSet() and such. Introduce arrayListOf(...) ans such 2012-12-03 17:23:20 +04:00
Evgeny Gerashchenko 00873b6e8c Reverted loading arrays from java with 'out' projection kind as return value.
#KT-3065
2012-11-29 17:02:43 +04:00
Andrey Breslav 9dd167a760 Duplicating method removed from stdlib 2012-11-28 16:05:48 +04:00
Andrey Breslav 5b93ae2d08 Variance in functions/properties removed from stdlib 2012-11-24 15:59:16 +04:00