Commit Graph

197 Commits

Author SHA1 Message Date
James Strachan d604272744 zapped the redundant getOrElse method as the ?: does indeed work with lazy expressions (no function definition required) - thanks for spotting this Andrey! :) 2012-02-09 06:25:52 +00:00
James Strachan 659fceecbe removed unnecessary getOrElse(value) method as we can use ?: (which is neater!) though shame it doesn't work for lazy values, passing a function body which is invoked if the value is not null 2012-02-08 11:45:59 +00:00
James Strachan ef269a9f81 added a simple builder API to the std.dom API 2012-02-08 07:57:18 +00:00
James Strachan a3cd65f10e added a little spike of a little std.dom API to make the W3C DOM API a little kooler 2012-02-08 07:57:18 +00:00
James Strachan 5057bf732e added a helper method for easily converting from a nullable type to a non nullable type with a non-lazy value, or lazy factory function 2012-02-08 07:57:18 +00:00
Alex Tkachman adfce7e22d KT-274 Enumeration.iterator() 2012-02-07 16:41:11 +02:00
svtk 6251b413a2 New check rules for inc, plus & plusAssign
KT-1176 arrayList[0]++. Setter is stored for array access expression when it's needed
2012-02-03 12:10:12 +04:00
Alex Tkachman 948ccc5205 javaClass<T>() function 2012-02-03 09:46:40 +02:00
Alex Tkachman 43a2a27966 String.endWith & replace added 2012-02-03 08:48:03 +02:00
Alex Tkachman b63fbccba6 actors moved from stdlib to example 2012-02-02 13:02:48 +02:00
Alex Tkachman fd3ae3923a actors example and related bug fixes 2012-02-02 11:15:26 +02:00
Alex Tkachman ac729504bf functional list, queues and package for concurrent 2012-02-01 14:55:36 +02:00
Maxim Shafirov 699c43fe58 Simpler write() action
Useful Int.times(block) extension
2012-02-01 16:27:57 +04:00
Alex Tkachman 68a264154f fixing upgrade logic bug 2012-02-01 13:06:11 +02:00
Alex Tkachman e7812dc472 Executor.execute method added 2012-02-01 13:05:37 +02:00
Alex Tkachman 9559decfc0 some tweaks of VFS example to be more Kotlin 2012-02-01 10:48:28 +02:00
Alex Tkachman 5f9bab6c93 extension methods for j.i.Timer 2012-02-01 10:42:36 +02:00
Alex Tkachman cb04ed1eb8 currentThread global property 2012-02-01 10:08:39 +02:00
Alex Tkachman 745d1658aa locks support 2012-02-01 09:58:18 +02:00
Andrey Breslav 0a808617bb Temporary workaround: commenting out red code 2012-01-31 15:12:40 +04:00
svtk 4ce9a89d85 added extensions for BigInteger and BigDecimal 2012-01-30 14:55:31 +04:00
svtk 11ad28812d KT-1175 Mark unused literals 2012-01-27 18:32:55 +04:00
Alex Tkachman c5d88251a9 CharSequence added in to stdlib 2012-01-25 22:09:32 +02:00
Alex Tkachman 3c13a2cd98 KT-968 String should provide an iterator() method 2012-01-25 09:36:55 +02:00
Stepan Koltsov 309b6b3e0e fix erased parameters codegen and parsing 2012-01-24 23:11:14 +04:00
Alex Tkachman 8176487c93 changed synchronized from extension method to normal one 2012-01-24 14:48:09 +02:00
Stepan Koltsov 614ee5d690 java.lang.String in signature should serialized and mapped back to java.lang.String 2012-01-24 00:38:26 +04:00
Stepan Koltsov 4b7f3f718e ReadKotlinBinaryClassTest: fix constructor with type parameter
class ClassWithConstructorAndTypeParameter<P>()
2012-01-23 20:19:37 +04:00
svtk b3eb44e769 removed some string methods from library.jet 2012-01-20 19:32:12 +04:00
Alex Tkachman 86a33f8b16 KT-1076 reversed ranges 2012-01-18 20:01:18 +01:00
Stepan Koltsov 6283f5d829 hacks against KT-941
http://youtrack.jetbrains.net/issue/KT-941
2012-01-18 12:08:36 +04:00
Stepan Koltsov e6b859f7c0 temporary hack for jet.Iterator.hasNext property
* javabean property reading will be implemented later
* jet.Iterator will be converted to Islam
2012-01-18 12:08:35 +04:00
Stepan Koltsov 6ceb6816be ReadKotlinBinaryClassTest: List<*> 2012-01-18 12:03:42 +04:00
Maxim Shafirov d51c030803 New module script DSL 2012-01-16 20:59:17 +04:00
Stepan Koltsov 133fc683a4 merge @JetProperty and @JetMethod
because:
* have common parts
* reduce class size

Also add helper JetMethodAnnotationWriter class

And also do not generate @Jet* annotations for closures
2012-01-13 23:56:13 +04:00
Stepan Koltsov a8137d1a56 fix another case of property resolution, refactoring 2012-01-13 03:55:11 +04:00
Andrey Breslav c78cb3cc19 Rename namespace->package in the token decala 2012-01-12 19:50:14 +04:00
Stepan Koltsov ec5d5e2dcf working on @JetProperty.type 2012-01-12 07:04:00 +04:00
Andrey Breslav 81a3dcf78b _1 and such work for Tuples 2012-01-10 12:21:37 +04:00
Alex Tkachman a0134fb0f2 KT-944 iterations over empty ranges 2012-01-10 09:33:54 +02:00
Stepan Koltsov 5645bb3c92 deprecate @JetConstructor.hidden
and add missing hidden field
2012-01-09 19:58:59 +04:00
Stepan Koltsov 6d7e4cd030 reading constructors from binary classes 2012-01-08 23:21:59 +04:00
Alex Tkachman 897f3dc799 KT-923 Collection.indices property 2012-01-08 13:24:14 +02:00
Alex Tkachman 33f145a83a KT-930 upto/downto for numbers 2012-01-07 21:27:20 +02:00
James Strachan 852e21fe7e added Iterable<T>.reverse() along with foldRight(init, op) 2012-01-07 07:49:54 +00:00
James Strachan 5478ab8540 Merge branch 'master' of git+ssh://git.labs.intellij.net/jet 2012-01-07 07:02:05 +00:00
Alex Tkachman dba41c2e88 float/double ranges 2012-01-06 15:55:27 +02:00
Alex Tkachman eba343dd84 negative steps supported 2012-01-06 14:32:14 +02:00
Alex Tkachman 22afbed909 fixing stupid bug introduced in previous commit
simplification of api
2012-01-06 14:22:02 +02:00
Alex Tkachman 1d2e237312 KT-925 step methods for integral ranges 2012-01-06 13:11:44 +02:00