Commit Graph

330 Commits

Author SHA1 Message Date
Maxim Shafirov 04b0699cd5 Fix memory leak by disposing a classloader. The real issue though is located in TypeInfoParser, that has WeakHashMap with values referencing keys. 2012-02-02 20:35:15 +04:00
Alex Tkachman fd3ae3923a actors example and related bug fixes 2012-02-02 11:15:26 +02:00
Alex Tkachman 27425c5851 support for volatile 2012-01-31 12:21:18 +02:00
Andrey Breslav 5595e55ab9 A command-line argument to transform file names to *.java 2012-01-30 22:01:38 +04:00
Alex Tkachman 92ef6aed77 local functions used inside closures 2012-01-30 16:05:08 +02:00
Alex Tkachman c62bbdc5df local functions 2012-01-29 16:20:05 +03:00
Alex Tkachman e7a1b2ea72 fix for broken tests 2012-01-28 02:47:04 +03:00
Alex Tkachman 4b4d84d485 KT-1168 don't use direct fields from non-final properties 2012-01-28 00:56:05 +03:00
Alex Tkachman 686d4cae3c postfix part of KT-471 2012-01-27 23:11:14 +03:00
Alex Tkachman 703635d968 Merge remote branch 'origin/master' 2012-01-27 15:40:31 +03:00
Alex Tkachman 51e4fc986a KT-1157 class object instance access from constructor of class object 2012-01-27 15:40:17 +03:00
Stepan Koltsov e1743f0cd7 generate bridge flag for bridge methods 2012-01-27 15:33:05 +04:00
Alex Tkachman 9dd27cfd1b fixing broken test for naming of class objects 2012-01-26 02:43:39 +02:00
Alex Tkachman c5d88251a9 CharSequence added in to stdlib 2012-01-25 22:09:32 +02:00
Stepan Koltsov 4545c72f69 properly serialize/parse Nothing type 2012-01-25 22:23:46 +04:00
Alex Tkachman 57f99858c6 rewrite of anonymous names 2012-01-25 19:16:12 +02:00
Alex Tkachman 4633e1c7f4 KT-1136 proper generation of accessors 2012-01-25 13:29:16 +02:00
Stepan Koltsov 309b6b3e0e fix erased parameters codegen and parsing 2012-01-24 23:11:14 +04:00
Alefas d3a0b70acd Fixed completion of functions with implicit receiver. 2012-01-24 20:52:44 +04:00
Alex Tkachman 7359388725 KT-1113 proper typeinfo(javaClass) 2012-01-24 18:11:29 +02:00
Alex Tkachman 8176487c93 changed synchronized from extension method to normal one 2012-01-24 14:48:09 +02:00
Alex Tkachman e61a9f62ba crazy bug with constructing object of the same class as calling class 2012-01-24 13:30:38 +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 f21ad2f536 fix couple of bugs in constructor signature serialization/parsing 2012-01-23 22:49:46 +04:00
Stepan Koltsov 4b7f3f718e ReadKotlinBinaryClassTest: fix constructor with type parameter
class ClassWithConstructorAndTypeParameter<P>()
2012-01-23 20:19:37 +04:00
Stepan Koltsov 4767e5c935 split TestlibTest into two tests
* old tests attaches stdlib sources to testlib classpath
* new test compiles stdlib into stdlib.jar and then adds stdlib.jar to testlib classpath
2012-01-23 03:37:09 +04:00
Alex Tkachman 5add400e5e Merge remote branch 'origin/master' 2012-01-20 20:21:25 +01:00
Maxim Shafirov f541cce098 Get full/core versions of IDEA using update_dependencies.xml. Don't use plugin SDK anymore. 2012-01-20 19:17:32 +04:00
Alex Tkachman 35a1240dc7 KT-1018: better handling of property visibility 2012-01-20 14:21:38 +01:00
Stepan Koltsov b6590a3814 codegen: fix calls to global functions when loaded from java descriptors 2012-01-19 18:05:00 +04:00
Alex Tkachman 560e0ad604 possible fix for broken compilation 2012-01-19 10:13:22 +01:00
Alex Tkachman 52b81a15e5 KT-998: wrong codegen for labeled continue/break 2012-01-19 00:01:46 +01:00
Alex Tkachman 9b0ff6b4d8 better location diagnostic of internal errors 2012-01-18 21:27:03 +01:00
Alex Tkachman 86a33f8b16 KT-1076 reversed ranges 2012-01-18 20:01:18 +01:00
Alex Tkachman 1a6f018454 Merge remote branch 'origin/master' 2012-01-18 18:10:52 +01:00
Alex Tkachman a529ad2ac7 KT-1054 comparison of booleans 2012-01-18 18:10:41 +01:00
unknown 16ceb446a3 Fixed completion for method calls.
Initial support of Parameter Info (Ctrl+P) feature (including named parameters reordering).
Todo list:
1. Constructors are not working now (even primary constructor).
2. Tests.
2012-01-18 21:05:30 +04:00
Alex Tkachman 01b405c86a KT-1055 wrong identityEquals codegen 2012-01-18 17:34:48 +01:00
svtk cc3a7448dc KT-657 Semantic checks for when without condition 2012-01-18 19:28:39 +04:00
Stepan Koltsov 33aa343ba7 one more problem in codegen 2012-01-18 12:10:48 +04:00
Stepan Koltsov cfecf50698 useful asserts in codegen 2012-01-18 12:10:37 +04:00
Stepan Koltsov 2d36f30d77 fix compilation of testlib agains stdlib.jar 2012-01-18 12:10:30 +04:00
Stepan Koltsov 106846e868 ReadKotlinBinaryClassTest: nullability 2012-01-18 12:03:58 +04:00
Stepan Koltsov 6ceb6816be ReadKotlinBinaryClassTest: List<*> 2012-01-18 12:03:42 +04:00
Stepan Koltsov 73a1a5a083 fix exception in error type mapper
(reported by Sergey)
2012-01-16 12:47:49 +04:00
Stepan Koltsov 0c4936981a @Nullable annotations 2012-01-15 19:50:52 +04:00
Stepan Koltsov 669ea44c1a write InnerClasses attribute 2012-01-15 18:56:45 +04:00
Stepan Koltsov 882a475ac8 replace JavaClassDescriptor with MutableClassDescriptorLite 2012-01-14 04:27:22 +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 6603a431fa read class data: hide methods
hide inherited Object and jet.JetObject methods, and special static methods
2012-01-13 23:56:08 +04:00