Commit Graph

2336 Commits

Author SHA1 Message Date
Stepan Koltsov 09d0780fe6 developer option to exclude sources
to compile stdlib
2012-01-06 21:22:55 +04:00
Stepan Koltsov 430b973458 better error reporting in commandline compiler 2012-01-06 21:22:50 +04: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 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
Alex Tkachman 9fbf27eb11 KT-821 and other improvements for ranges 2012-01-05 18:34:32 +02: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 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 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 1cd8f3c2ba Merge remote-tracking branch 'origin/master' 2012-01-04 12:59:47 +00:00
James Strachan 8c40aa58af added working test casres for groovy style markup builders 2012-01-04 12:59:37 +00:00
Alex Tkachman d0b1f3cb79 Merge remote branch 'origin/master' 2012-01-04 14:29:34 +02:00
Alex Tkachman 3fd825d1a0 KT-873 fixing wrong register calculations 2012-01-04 14:29:21 +02:00
James Strachan 8cfc979c10 Merge remote-tracking branch 'origin/master' 2012-01-04 11:49:44 +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 629cdfc822 KT-865 extension function as unary operation 2012-01-04 12:54:10 +02: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
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 e373d215d6 remove noise after 0b93c1f8e8 2012-01-03 22:09:12 +04:00
Stepan Koltsov 3cd0939530 fix tests
(I don't understand why tests passed before)
2012-01-03 22:02:42 +04:00
Stepan Koltsov 74e72fbbc6 fix comparable signature generation
fix todo by Alex Tkachman 2ec54436c5
2012-01-03 21:15:26 +04:00
Stepan Koltsov a7a1bd2102 omit generic signature for simple methods 2012-01-03 21:15:21 +04:00
Stepan Koltsov 526df9ca80 fix copy-paste in tests
WriteSignatureTest
CompileJavaAgainstKotlinTest
ReadClassDataTest
2012-01-03 21:15:15 +04:00
Stepan Koltsov 52400dbd1e explicit test for java signature writing
(partially replaces CompileJavaAgainstKotlinTest)
2012-01-03 21:15:12 +04:00
Stepan Koltsov f4b7c0b081 fix blinking ReadClassDataTest 2012-01-03 18:46:31 +04:00
Stepan Koltsov 7325285813 read properties from binary classes
(intermediate version)
2012-01-03 17:16:50 +04:00
Stepan Koltsov 72192bf67b ignore vim buffer files 2012-01-03 17:16:39 +04:00
Alex Tkachman 2ec54436c5 KT_887 fix. jet.Comparable mapped to j.l.Comparable 2012-01-03 12:34:12 +02:00
Alex Tkachman e576423c8e KT-903 test. unreproducable 2012-01-02 14:47:58 +02:00
Alex Tkachman cde54d59bd KT-877 - wrong codegen for unary plus 2012-01-02 09:49:04 +02:00
Alex Tkachman c3725054eb test for obsolete KT-889 2012-01-02 09:36:13 +02:00
Alex Tkachman a25416e5cf KT-894 wrong string concatenation 2012-01-02 09:27:32 +02:00
Alex Tkachman 12af19e991 KT-881 overoptimized + in string templates 2012-01-02 08:35:54 +02:00
Alex Tkachman e29c54cb6e Merge remote branch 'origin/master' 2011-12-31 00:55:27 +02:00
Stepan Koltsov 94ef40fc51 safer toString in classes 2011-12-31 00:53:43 +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
Stepan Koltsov 07281691b5 fix error reporting in CodegenTestCase 2011-12-31 00:53:32 +04:00
Stepan Koltsov b22ec83b15 split ResolveToJava.jet into smaller test 2011-12-31 00:53:28 +04:00
Stepan Koltsov b644e53725 catch error of string comparison in JetDiagnosticTest 2011-12-31 00:53:22 +04:00
Stepan Koltsov 0b93c1f8e8 split JetDiagnosticTest Abstract.jet into smaller tests 2011-12-31 00:53:14 +04:00