Commit Graph

227 Commits

Author SHA1 Message Date
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
James Strachan ab47bee033 minor tweak to docs 2012-01-06 09:46:58 +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
Alex Tkachman 9fbf27eb11 KT-821 and other improvements for ranges 2012-01-05 18:34:32 +02:00
James Strachan ac276e08ba avoid double close and added TODO about supporting http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html#suppressed-exceptions 2012-01-05 09:10:11 +00:00
Alex Tkachman ebe2c375cd KT-274 stdlib part and commented test. Still require frontend test 2012-01-05 00:16:25 +02:00
James Strachan 79049ca2e2 avoid double close and added TODO about supporting http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html#suppressed-exceptions 2012-01-04 16:50:25 +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
James Strachan 2bc5efce12 add java.util.Map's size and empty properties 2012-01-04 09:36:14 +00:00
Alex Tkachman b2593b268e KT-715. T.javaClass & TypeInfo.javaClassForType 2012-01-04 10:17:40 +02:00
Stepan Koltsov c85be68047 move typeinfo annotations
annotations should not be used by developers, so place them under jet.runtime package
2012-01-04 02:39:50 +04:00
Stepan Koltsov 7325285813 read properties from binary classes
(intermediate version)
2012-01-03 17:16:50 +04:00
Stepan Koltsov 0f1b534d7b rename ModuleBuilder.sourceFiles
Currently invalid bytecode is generated, see
http://youtrack.jetbrains.net/issue/KT-904
for details.
2011-12-31 00:53:36 +04:00
Andrey Breslav 4579c9826f Reverting problematic commits:
fa500f453d	Alex Tkachman	Today 19:47
725bebc23f	Alex Tkachman	Today 19:36
2011-12-27 21:26:20 +04:00
Stepan Koltsov 617b3b5db5 ReadClassDataTest: type variable resolver 2011-12-27 20:46:43 +04:00
Alex Tkachman 725bebc23f work in progress on compiler unification between cli and plugin 2011-12-27 17:36:37 +02:00
Andrey Breslav 0ddd926a4b Merge remote branch 'origin/master' 2011-12-27 14:17:31 +04:00
Nikolay Krasko 44e558b681 More iterable extensions 2011-12-27 12:46:33 +04:00
Andrey Breslav 3b0ca42e0b jet.typeinfo.TypeInfo -> jet.TypeInfo 2011-12-26 18:59:48 +04:00