Alex Tkachman
|
948ccc5205
|
javaClass<T>() function
|
2012-02-03 09:46:40 +02:00 |
|
svtk
|
4ce9a89d85
|
added extensions for BigInteger and BigDecimal
|
2012-01-30 14:55:31 +04:00 |
|
James Strachan
|
40775133fa
|
updated link to more accurate bug report
|
2012-01-25 11:56:15 +00:00 |
|
James Strachan
|
a6c6266603
|
added a test case for KT-1131
|
2012-01-25 10:44:21 +00:00 |
|
Alex Tkachman
|
3c13a2cd98
|
KT-968 String should provide an iterator() method
|
2012-01-25 09:36:55 +02:00 |
|
Stepan Koltsov
|
ff74f8217b
|
another "temporary" hack
I heard of some package merging problems, testlib declares std.test package,
and stdlib.jar has std package
|
2012-01-18 12:08:36 +04:00 |
|
Andrey Breslav
|
c78cb3cc19
|
Rename namespace->package in the token decala
|
2012-01-12 19:50:14 +04:00 |
|
svtk
|
2feaaa4f71
|
KT-897 Don't allow assignment to a property before it is defined
|
2012-01-10 15:04:57 +04:00 |
|
Alex Tkachman
|
5bb56a8abd
|
testing stdlib as part of the build
|
2012-01-08 16:47:26 +02:00 |
|
Alex Tkachman
|
897f3dc799
|
KT-923 Collection.indices property
|
2012-01-08 13:24:14 +02:00 |
|
James Strachan
|
852e21fe7e
|
added Iterable<T>.reverse() along with foldRight(init, op)
|
2012-01-07 07:49:54 +00:00 |
|
James Strachan
|
4627738ca4
|
added support for fold() along with a handy expect() test method (like scalatest)
|
2012-01-06 09:35:44 +00:00 |
|
James Strachan
|
16b617044c
|
disabled test for KT-924 for now as its a new feature, not a bug
|
2012-01-06 09:10:07 +00:00 |
|
James Strachan
|
89933439f4
|
added an attempt to use the standard APIs on kotlin.Iterable
|
2012-01-05 12:15:27 +00:00 |
|
James Strachan
|
1889672363
|
use java.util.HashMap directly
|
2012-01-04 16:49:19 +00:00 |
|
James Strachan
|
e73e81c526
|
added support for map[key] = value on java.util.Map
|
2012-01-04 16:14:49 +00:00 |
|
James Strachan
|
8c40aa58af
|
added working test casres for groovy style markup builders
|
2012-01-04 12:59:37 +00:00 |
|
James Strachan
|
302254f531
|
enabled test case for auto-closing helper method on Closable.foreach
|
2012-01-04 11:49:34 +00:00 |
|
Alex Tkachman
|
49bad83c42
|
Merge remote branch 'origin/master'
|
2012-01-04 12:12:20 +02:00 |
|
Alex Tkachman
|
15fde646c1
|
KT-864 wrong namespace class name generation
|
2012-01-04 12:12:02 +02:00 |
|
James Strachan
|
2bc5efce12
|
add java.util.Map's size and empty properties
|
2012-01-04 09:36:14 +00:00 |
|
James Strachan
|
bf29d48772
|
removed a TODO
|
2012-01-04 09:00:03 +00:00 |
|
Maxim Shafirov
|
28d4715db2
|
Don't depend on project file layout, disable compileEnvironmentTest for now because it messes with stdlib heavily.
|
2011-12-30 19:58:08 +04:00 |
|
Maxim Shafirov
|
1cfdbf9406
|
fixing tests
|
2011-12-30 19:48:35 +04:00 |
|
Maxim Shafirov
|
9a11564d27
|
fixing tests
|
2011-12-30 19:39:35 +04:00 |
|
Maxim Shafirov
|
b8590ada4f
|
Move close to other stdlib tests
|
2011-12-30 19:29:29 +04:00 |
|
Maxim Shafirov
|
9fd76fbc77
|
We don't support inter-module dependencies yet
|
2011-12-30 16:57:18 +04:00 |
|
Nikolay Krasko
|
44e558b681
|
More iterable extensions
|
2011-12-27 12:46:33 +04:00 |
|
Andrey Breslav
|
f52eae71d0
|
GreatSyntacticShift: 'namespace' -> 'package'
|
2011-12-25 15:51:59 +04:00 |
|
James Strachan
|
393ecf2208
|
added a groupBy method (and stumbled on a couple more little compiler bugs which could well be the same as previous issues I've raised this week). Happy holidays everyone :)
|
2011-12-24 07:46:26 +00:00 |
|
James Strachan
|
8396017b5b
|
added example of compiler issue; unable to create 'size' and 'empty' properties on Collection<T> and java.util.Map<T> it seems? wonder if its a qualified name issue - qualified names don't seem to be allowed on extension properties - will raise an issue...
|
2011-12-23 17:20:25 +00:00 |
|
James Strachan
|
aa46952531
|
implemented containerType.count(predicate)
|
2011-12-23 16:48:22 +00:00 |
|
James Strachan
|
3fa49cadc0
|
added filterNot method
|
2011-12-23 16:27:40 +00:00 |
|
James Strachan
|
991a3d9dec
|
added proper map with default size passed in for Collection/Array but also added to Iterable and java.util.Iterable with no size; so the collection/iterable methods are now I think replicated; just need iterator methods now
|
2011-12-23 15:52:37 +00:00 |
|
James Strachan
|
877de17122
|
move coverage of the standard methods across Iterable, Array, java.util.Iterable (not quite complete but close)
|
2011-12-23 15:46:41 +00:00 |
|
James Strachan
|
5242985e2e
|
first cut of a little bit of code generation to make sure we mirror most of the java.util.Iterable<T> methods to Array<T>
|
2011-12-23 15:23:21 +00:00 |
|
Alex Tkachman
|
f64c02c80a
|
test dsl example
|
2011-12-22 17:24:50 +02:00 |
|
Alex Tkachman
|
cf17beab8b
|
test dsl
|
2011-12-22 14:58:25 +02:00 |
|
James Strachan
|
2274ab48ab
|
added a useLines() methods on Reader to be able to use a line iterator (Iterator<String>) to process the file on a per line bases with the block in full control over how much of the file to process; though hit a couple of type inference issues
|
2011-12-22 09:36:18 +00:00 |
|
James Strachan
|
a7810c4396
|
another attempt at getting a flatMap test working, not quite figured out the generics yet :)
|
2011-12-22 09:09:14 +00:00 |
|
James Strachan
|
71b1aee908
|
added a little test case showing how we can iterate through lines in a file; also started adding helper methods to the standard kotlin Iterator; though probably need to rename the to* methods iterators, maybe to collect* as Stepan suggested. Could maybe use some extension function syntax making it easy to add helper methods consistently to Array, Iterator, Iterable, java.util.Iterator, java.util.Iterable at the same time, we're very inconsistent currently :)
|
2011-12-22 08:59:43 +00:00 |
|
James Strachan
|
060719e71b
|
added a test suite to run all the test cases (cheating, using java :)
|
2011-12-22 08:37:37 +00:00 |
|
James Strachan
|
894c84190a
|
migrated most of the test cases over to the new -> syntax for functions; still can't compile or run the tests yet though :(, needs more work...
|
2011-12-21 16:26:37 +00:00 |
|
James Strachan
|
232d161e99
|
added a little helper method for processing a closeable object which then makes sure the resource is closed (like the try-with-resource extension in Java 7)
|
2011-12-21 10:09:55 +00:00 |
|
James Strachan
|
c9959a10f9
|
added a couple of helper methods to Map to be able look up in a Map with function to provide a default value
|
2011-12-20 18:06:58 +00:00 |
|
James Strachan
|
c3b41a5931
|
removed a TOD section
|
2011-12-20 17:56:31 +00:00 |
|
James Strachan
|
68d527c839
|
removed some warnings and reduntant code
|
2011-12-20 17:02:30 +00:00 |
|
James Strachan
|
fee6bed2d4
|
removed the create() methods; added linkedList<T>(varargs) helper method and made filter/flatMap/map all allow an optional argument for the kind of collection to filter/flatMap/map into. I've temporarily commented out Alex's implementation of Iterable.filter in Filters.kt as I was getting all kinds of compile error messages. Will discuss this on the list & how better to organise the functions into files
|
2011-12-20 16:28:18 +00:00 |
|
Alex Tkachman
|
78a2845604
|
better error reporting
|
2011-12-20 09:17:16 +02:00 |
|
James Strachan
|
7e93494e2f
|
renamed the sort() methods on Iterable which create a new List and sort that as "toSortedList()" instead which is more accurate.
|
2011-12-18 08:15:39 +00:00 |
|