Commit Graph

390 Commits

Author SHA1 Message Date
Stepan Koltsov 522083bf5a lang package 2012-03-07 04:08:18 +04:00
Stepan Koltsov 5ae9cdff6b link from method to similar 2012-03-07 04:07:14 +04:00
Andrey Breslav 0a08ac5fe8 Libraries written in Kotlin are factored out into a separate project 2012-03-06 19:00:29 +04:00
James Strachan eb3aac9acb refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now) 2012-03-03 12:11:06 +00:00
Stepan Koltsov c47934b3cf do not rely on presence of function body to compute function modifiers
this fixes generation of stubs
2012-03-03 01:10:59 +04:00
Stepan Koltsov 16917dea4f fix prop modality reading from class files 2012-03-02 23:18:50 +04:00
Stepan Koltsov 99249c65da properly read constructor with default params from bytecode 2012-03-02 20:49:13 +04:00
Stepan Koltsov c15bd2f75d KT-1490 serialization of constructor parameters 2012-03-02 20:43:47 +04:00
Stepan Koltsov 3f1e63cd26 JetValueParameterAnnotationWriter 2012-03-02 20:43:42 +04:00
Stepan Koltsov 90769d3244 move signature related code into subpackage 2012-03-02 20:43:38 +04:00
Andrey Breslav 1078c95bf2 Platform-dependent AnalyzerFacades renamed to reflect platform-dependencies 2012-03-02 18:27:29 +04:00
Alex Tkachman 190e539365 KT-1482 fix: abstarct properties codegen 2012-03-01 07:24:18 +02:00
Nikolay Krasko 8d1c3dc759 KT-1151 Code completion for not imported extension functions - refactorings:
- Don't touch call resolver
- Check only newly imported descriptors
- Use Stepa's wrapper for getting boolean attribute from annotation
2012-02-29 17:14:08 +04:00
Nikolay Krasko 67dc9ba6e3 KT-1151 Code completion for not imported extension functions - ignore parameters 2012-02-29 17:14:06 +04:00
Stepan Koltsov 4ea99fc6ca KotlinCompiler -stubs option
* do not fail on errors
* do not analyze function bodies
* generate "throw new RuntimeException()" in bytecode
2012-02-28 15:52:59 +04:00
Alex Tkachman 9ba1dbf98a refactoring in progress 2012-02-27 22:59:34 +02:00
Alex Tkachman eb017d8a2e fix for 1345 2012-02-26 09:38:07 +02:00
Alex Tkachman 8faf1e62d3 fix for NPE 2012-02-24 18:02:19 +02:00
Andrey Breslav d22f4eb144 Rename getOutType() -> getType() 2012-02-24 18:50:40 +04:00
Andrey Breslav 1f4f4e5c24 Remove the annoying misconcetion in the naming. 2012-02-24 18:39:35 +04:00
Alex Tkachman 6146ec4268 KT-1406 wrong generation of receiver for ext.fun called inside closure 2012-02-24 16:24:16 +02:00
Alex Tkachman 7f2a8100c4 KT-1417 & KT-1398 proper access flags for backing fields 2012-02-24 09:57:49 +02:00
Alex Tkachman 80e728b6f6 KT-413 proper visibility of this$0 2012-02-24 08:26:50 +02:00
James Strachan 6a2e73a724 add some NPE handling 2012-02-23 11:53:48 +00:00
Stepan Koltsov e0fae55ee4 read kotlin class objects from binary classes 2012-02-22 22:11:08 +04:00
Stepan Koltsov b9bc882bf9 useless constructor modality parameter 2012-02-22 22:10:58 +04:00
Alex Tkachman 53bba59a4f dbl -> toDouble 2012-02-22 13:14:41 +02:00
Alex Tkachman 18990e2c1b bug with delegation from EA 2012-02-22 13:02:48 +02:00
Stepan Koltsov 71f62f872f fix stdlib compilation after javabean refactoring 2012-02-21 23:54:16 +04:00
Alex Tkachman cc8d263f9e preliminary support for intrinsics in std lib. javaClass<T> 2012-02-21 20:37:38 +02:00
Alex Tkachman fb8fa8bf9e intrinsic renamed to Intrinsic 2012-02-21 15:31:05 +02:00
Alex Tkachman 5e7de3f5ab getting rid of JetObject.getOuterObject 2012-02-21 15:13:16 +02:00
Alex Tkachman af437481a2 Merge remote branch 'origin/master' 2012-02-21 14:57:47 +02:00
Alex Tkachman 8b622f97f4 getting rid of TypeInfo 2012-02-21 14:54:00 +02:00
Alexander.Podkhalyuzin 2e2287f207 KT-1274 fixed tests 2012-02-21 16:10:13 +04:00
Andrey Breslav bff62484b1 KT-1306123.lng or 123.sht is not good name 2012-02-20 21:42:13 +04:00
Alex Tkachman 436c298e47 weird bug with nested closures using outer receiver 2012-02-20 12:15:02 +02:00
Svetlana Isakova 046c13a264 KT-1041 Add check that thrown/catched expression is of Throwable type 2012-02-20 14:03:39 +04:00
Alex Tkachman 9073e4a6bb fixed non compiling HtmlBuilder.kt 2012-02-19 14:22:54 +02:00
Andrey Breslav a87c0903f2 KT-224 "Overload ambiguity" when calling toString() method 2012-02-17 21:01:24 +04:00
Alex Tkachman 082fdebaae KT-723 optional boxing after call to .inc() 2012-02-17 09:08:41 -05:00
Alex Tkachman 614c5018f6 inspection suppressed 2012-02-17 08:26:21 -05:00
Nikolay Krasko e4cefd000a KT-1229 Packages should be showed in package derictive 2012-02-16 15:35:54 +04:00
Alefas 94402c5f3f Name validator for introduce variable action. 2012-02-15 15:51:23 +04:00
Stepan Koltsov 9248cf9659 Important JavaDescriptorResolver refactoring
This patch implement own member filling with supertype scope. Before this patch JDR relied on
Idea hierarchy resolver.

This patch does two things:

* copies FunctionDescriptors from supertype scopes
* rewrites containingDeclaration similary to how it is done in previous patch

Patch is incomplete, in particular properties are not yet initialized properly, code needs cleanup,
however the most important part of refactoring is done, and tests pass.
2012-02-15 00:02:03 +04:00
Maxim Shafirov a03922d467 Copyrights set to Apache, reflecting it's now open source 2012-02-14 19:25:06 +04:00
Stepan Koltsov 7fb880e585 fix constructor signature write fix after ace34b01bc 2012-02-13 21:30:14 +04:00
Nikolay Krasko be5eeb2546 KT-985 Don't show the default package in the completion list 2012-02-13 20:03:29 +04:00
Alex Tkachman ace34b01bc KT-1202 object construction fix 2012-02-13 08:34:10 +02:00
Alex Tkachman 84ed18c7e2 KT-1149 static type info field for unarameterized traits 2012-02-12 09:04:18 +02:00