Commit Graph

45134 Commits

Author SHA1 Message Date
Alex Tkachman 33f145a83a KT-930 upto/downto for numbers 2012-01-07 21:27:20 +02:00
Alex Tkachman d9a4410fb1 KT-932 split Library.jet to separate files 2012-01-07 18:56:22 +02:00
Alex Tkachman 72a039c311 explicit import std.* 2012-01-07 14:22:12 +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
Stepan Koltsov 7ebf1ad433 properly read/write int? 2012-01-06 23:21:35 +04:00
Stepan Koltsov 2338af30a0 arrays in signatures: more tests, fix bugs 2012-01-06 23:21:31 +04:00
Stepan Koltsov 4c3ebe7ea9 option to override ideaSDK path 2012-01-06 21:23:07 +04:00
Stepan Koltsov 8336c64787 bin/kotlin script 2012-01-06 21:23:00 +04:00
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
Pavel Talanov c9eae93d68 function literal as the last parameter supported
added temporary and partial solution to global namespace polluting problem
2012-01-06 19:28:08 +04:00
Pavel Talanov f52f568a51 refactoring call translator 2012-01-06 18:44:03 +04:00
Alex Tkachman dba41c2e88 float/double ranges 2012-01-06 15:55:27 +02:00
Pavel Talanov 761183ffcd ongoing refactoring 2012-01-06 17:19:20 +04:00
Pavel Talanov 57fff8e554 switch to using descriptors on call site
default arguments support
2012-01-06 16:48:40 +04: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
Pavel Talanov 6b533771f0 switch to using ValueParameterDescriptor instead of JetParameter when translating function declarations
implemented support for implicit 'it' parameter
added 'clear' function to ArrayList temporary implementation
2012-01-06 14:56:23 +04:00
Pavel Talanov 17e80963d2 changed tests not to use std lib for now /*all tests pass*/ 2012-01-06 14:05:15 +04:00
Pavel Talanov b5bbcde199 resolved part of the problem 2012-01-06 14:01:31 +04:00
Pavel Talanov c12e37f227 migrated tests to new syntax /*tests fail due to migrated size problem*/ 2012-01-06 13:59:53 +04: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
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
Pavel Talanov 3a259131c1 migrated from JetNamespace to NamespaceDescriptor and JetFile /* Lots of tests fail due to: missing array methods and unconverted tests*/ 2012-01-04 17:31:46 +04: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
Pavel Talanov dbf9bbe2bb fix some code after update 2012-01-04 15:13:52 +04: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