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 |
|
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
|
620aae28d0
|
Collections standard library is now generated from templates.
|
2013-02-13 12:41:12 +04:00 |
|
Evgeny Gerashchenko
|
58f37f38f4
|
Renamed NumberSequence to Progression.
|
2013-01-29 22:55:10 +04:00 |
|
Evgeny Gerashchenko
|
0051cb9553
|
downTo functions return sequence instead of range now.
|
2013-01-29 22:55:04 +04:00 |
|
Svetlana Isakova
|
4dc51901ba
|
changed groupBy method signature (in standard library)
|
2012-12-26 17:05:08 +04:00 |
|
Andrey Breslav
|
5b93ae2d08
|
Variance in functions/properties removed from stdlib
|
2012-11-24 15:59:16 +04:00 |
|
Andrey Breslav
|
92ef1c9417
|
Some 200 warnings eliminated from stdlib code
|
2012-10-19 16:17:51 +04:00 |
|
James Strachan
|
be44702145
|
fixes KT-2091 allowing fold() and foldRight() to take different types of initial value and return the same typed result
|
2012-09-21 16:31:04 +01:00 |
|
Evgeny Gerashchenko
|
8e1323bb43
|
Replaced sure() invocations with '!!' operator in libraries written on Kotlin.
|
2012-09-17 18:00:21 +04:00 |
|
James Strachan
|
ba01576c41
|
added a partition helper method to partition a collection into a collection of matching items and not matching items
|
2012-09-12 15:55:34 +01:00 |
|
Svetlana Isakova
|
f987aa4faa
|
removed JLang and LUtil from file named in stdlib
|
2012-09-10 20:15:19 +04:00 |
|
Svetlana Isakova
|
5e18ba9241
|
removed extensions toMutableList/Collection/Set from stdlib
|
2012-09-10 20:15:19 +04:00 |
|
Svetlana Isakova
|
ce23fe7941
|
added toMutableList, toMutableCollection, toMutableSet
methods to standard library
|
2012-09-05 18:55:17 +04:00 |
|
Svetlana Isakova
|
8b749084b5
|
library changes after collections mapping
|
2012-09-05 18:55:16 +04:00 |
|
Svetlana Isakova
|
a3194e9a46
|
removed unnecessary import jet.Iterator
|
2012-09-05 18:55:16 +04:00 |
|
Andrey Breslav
|
66faa0c03a
|
For-loop range expression (collection) can not be null
|
2012-08-24 19:49:33 +04:00 |
|
Svetlana Isakova
|
396588f0c3
|
added jet.Iterator in import
(KT-2606 to avoid it)
|
2012-08-16 18:39:23 +04:00 |
|
Svetlana Isakova
|
266cd5d4e7
|
not generate methods for java Iterable/Iterator
in standard library
|
2012-08-16 18:39:23 +04:00 |
|
Svetlana Isakova
|
e1281953e7
|
tests changed
val hasNext -> fun hasNext()
|
2012-08-16 18:39:23 +04:00 |
|
Evgeny Gerashchenko
|
8084876fed
|
Using empty ranges in downTo generator.
|
2012-08-09 15:13:42 +04:00 |
|
Evgeny Gerashchenko
|
662fdca034
|
Added generator and generated for downTo() extension functions for numbers.
#KT-2519 in progress
|
2012-08-08 14:48:04 +04:00 |
|
James Strachan
|
b4dace2c29
|
added a native array() function for the JS generation; also refactored the code generated collection APIs so that most of them can be used with JavaScript and included more array based APIs into the JS generation
|
2012-07-05 15:49:10 +01:00 |
|
James Strachan
|
64b00f0a19
|
fixed bug in generated dom (missing public on the Node class object) and split the JVM specific Iterator standard library to a separate file for easier JS reuse
|
2012-07-04 08:46:26 +01:00 |
|
James Strachan
|
b9edbea926
|
latest code generated standard library apis
|
2012-07-04 08:28:39 +01:00 |
|
Alexander Zolotov
|
1e301843f7
|
Fix function List<T>.reverse().
For now all iterables (including List) return reversed *copy* of collection.
See Problem 3 at https://github.com/JetBrains/kotlin/pull/78#issuecomment-6533534
|
2012-06-26 00:13:26 +04:00 |
|
James Strachan
|
c8a1ffe813
|
added JS support for toSet() and fixed issue with code generated array methods
|
2012-06-23 07:49:15 +01:00 |
|
James Strachan
|
8a6b752357
|
refactored the standard library so most of the collection APIs in the standard library can be compiled to JS
|
2012-06-21 15:53:39 +01:00 |
|
Alexander Zolotov
|
0043454a06
|
Implement reduce and reduceRight functions
|
2012-06-16 02:37:48 +04:00 |
|
James Strachan
|
3872ea8cd0
|
Merge pull request #48 from Frostman/iter-impr
Small iterables improvement
|
2012-06-15 03:15:42 -07:00 |
|
Alexander Zolotov
|
ae00b0bb15
|
Fix foldRight implementation for iterables
|
2012-06-15 13:22:47 +04:00 |
|
James Strachan
|
6dc053f943
|
generated better comment describing where the code generator is in case anyone wants to modify the code
|
2012-05-25 21:41:49 +01:00 |
|
James Strachan
|
fc4340f0f7
|
#KT-2067 Fixed
|
2012-05-23 09:46:15 +01:00 |
|
Sergey Lukjanov
|
88e05e43d3
|
List<T> replaced with Collection<T> in generated from JLangIterables
code.
|
2012-05-04 22:21:29 +04:00 |
|
James Strachan
|
7500808e11
|
#KT-1788 Fixed - added standard collection APIs to the various kinds of Array and removed the few old hand-crafted versions of these methods
|
2012-04-17 14:05:32 +01:00 |
|
James Strachan
|
87e613a8c2
|
refactored the to(Collection) methods to be called toCollection(Collection) to avoid clashing with a potentially new method called to(T) for making a pair/tuple/Map.Entry
|
2012-04-16 19:59:12 +01:00 |
|
James Strachan
|
c3f1e38c67
|
avoid default arguments on groupBy() by having groupByTo() if the caller wishes to specify the Map to group into. Also tidied up the sample code in CollectionTest
|
2012-04-12 12:35:13 +01:00 |
|
James Strachan
|
3ed819bfe1
|
improved the docs and test cases
|
2012-04-03 19:05:49 +01:00 |
|
James Strachan
|
4ba851f5c5
|
#KT-1391 Fixed
|
2012-04-03 15:52:17 +01:00 |
|
James Strachan
|
153b668d3e
|
#KT-1391 Fixed
|
2012-04-03 10:40:21 +01:00 |
|
James Strachan
|
f2bf17f548
|
#KT-1675 Fixed, renaming join() -> makeString() and adding an appendString() which reduces the possible number of appendables being created
|
2012-04-02 20:03:09 +01:00 |
|
James Strachan
|
1d342978d0
|
#KT-1675 Fixed, renaming join() -> makeString() and adding an appendString() which reduces the possible number of appendables being created
|
2012-04-02 20:01:24 +01:00 |
|
James Strachan
|
42fb0d652f
|
minor file renaming so that things are properly syntax highlighted on github - seems files can't start with Java or be called String for some reason :)
|
2012-04-02 16:35:56 +01:00 |
|
James Strachan
|
3fb74d3e69
|
renamed @includeFunction to @includeFunctionBody to be more clear that the function definition itself won't be included into the kdocs
|
2012-04-02 15:25:15 +01:00 |
|
Svetlana Isakova
|
d4d177c0ed
|
added 'public' annotation to library functions
|
2012-03-30 13:38:36 +04:00 |
|
Svetlana Isakova
|
167a9c444a
|
Added 'public' annotation and specified return types for library functions
|
2012-03-30 13:38:35 +04:00 |
|
James Strachan
|
fbd1279cc9
|
removed Iterator.toString() as it changes the iterator state, the default is fine and folks should be explicit about iterating over an iterator. Also disabled the default limit on the iterator on join(); if folks want to limit the join they should be explicit
|
2012-03-30 10:24:27 +01:00 |
|
Franck Rasolo
|
834c624f2c
|
KT-1650 Made map and all variations of filter return List<T> for Java iterables, implemented take/takeWhile, and tidied up KDoc comments accordingly, #KT-1650 Fixed
|
2012-03-28 19:46:12 +01:00 |
|
James Strachan
|
fe9d5ddf89
|
fixed up the code generator after moving stuff around and updated with the latest/greatest documentation and function includes
|
2012-03-27 12:48:37 +01:00 |
|