Commit Graph

3310 Commits

Author SHA1 Message Date
James Strachan 6a2e73a724 add some NPE handling 2012-02-23 11:53:48 +00:00
James Strachan cd70f06203 added notEmpty() helper method as its very common to want to do something if a collection is not empty; so if (foo.notEmpty()) is easier to read than if (!foo.isEmpty()) 2012-02-23 09:24:24 +00:00
James Strachan f35c8926b3 added summary of methods and extension functions to kdoc 2012-02-23 09:12:44 +00:00
Stepan Koltsov 35e157e9c5 fix tests 2012-02-23 01:18:11 +04:00
Stepan Koltsov e0fae55ee4 read kotlin class objects from binary classes 2012-02-22 22:11:08 +04:00
Stepan Koltsov b9ba7c6b9a hide FunctionDescriptor.initialize 2012-02-22 22:11:04 +04:00
Stepan Koltsov b9bc882bf9 useless constructor modality parameter 2012-02-22 22:10:58 +04:00
Stepan Koltsov 16f76982d1 assert JetLightClass is not parsed as regular PsiClass 2012-02-22 22:10:54 +04:00
James Strachan 871f9fc580 initial support for extracting comments 2012-02-22 17:58:10 +00:00
Evgeny Goldin e13692f02f "kdoc" - dependencies that are not required removed. 2012-02-22 19:39:43 +02:00
James Strachan aae592f6e6 add support for value parameters to kdoc 2012-02-22 17:04:49 +00:00
James Strachan 0024e29872 basic working kdoc for packages, classes, methods. Still needs work for extension methods, comments, value and type parameters and modifiers, but its a start ;) 2012-02-22 16:21:10 +00:00
Evgeny Goldin 2d24c87375 "kdoc" - using "ivy-maven-plugin" to inject IDEA/Kotlin dependencies into "compile" scope. 2012-02-22 17:58:10 +02:00
Evgeny Goldin 7a798d0f80 Merge branch 'master' of git+ssh://github.com/JetBrains/kotlin 2012-02-22 17:52:31 +02:00
Evgeny Goldin 1262f9ee85 "kdoc" - using "ivy-maven-plugin" to inject IDEA/Kotlin dependencies into "compile" scope. 2012-02-22 17:51:59 +02:00
Nikolay Krasko 21b3be0ef0 Fix NPE because of nullable local name 2012-02-22 19:29:17 +04:00
James Strachan 19a67c8edf really simple implementation of kdoc that lets us navigate the packages and classes at least (though the package name is not correct :) 2012-02-22 14:02:28 +00:00
James Strachan f771158d30 refactored the loading of KDoc and removed the old code to show how to navigate the bindingContext as thats now implemented in KDocSupport 2012-02-22 14:01:58 +00:00
James Strachan e05d299874 added a simple little CompilerPlugin interface and a loosely coupled loader of KDoc if its configured (via -docOutput) and its on the classpath then it can be used at the same stage as a compile & refactored KDoc to work with the compiler. Added a "docStdlib" goal to try out the kdoc on stdlib if the kdoc plugin has been built in kdoc/target/*.jar 2012-02-22 13:28:44 +00:00
Andrey Breslav 10b2bd089c No testlib tests in build-tools/build.xml 2012-02-22 17:05:39 +04:00
Andrey Breslav e3efda22c5 Removing the KDoc processor for now 2012-02-22 16:50:16 +04:00
James Strachan c5ddfe5988 got a basic set of templates working to generate javadoc like output from a simple model of packages/classes/methods etc 2012-02-22 12:20:27 +00:00
Andrey Breslav be032b84c8 Typo fixed 2012-02-22 16:15:09 +04:00
Andrey Breslav 583bcc0a1d Strub model walking code 2012-02-22 16:14:07 +04:00
Evgeny Goldin e119b9162b "kotlin-home-setup" - more explicit verification of existing files. 2012-02-22 13:40:30 +02: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
Alexander.Podkhalyuzin c9c81ed70f Patched test to avoid package renaming. 2012-02-22 13:57:33 +04:00
Alexander.Podkhalyuzin 7c00984930 Fixed Introduce Variable type annotation adding. 2012-02-22 12:52:27 +04:00
Andrey Breslav b46e20c5c3 KT-1138 Need better diagnostic for case when method/constructor call is followed by class initializer or simple block 2012-02-22 11:51:37 +04:00
Stepan Koltsov 62ddef4734 fix tests after javabean properties parsing 2012-02-22 00:38:14 +04:00
Stepan Koltsov 71f62f872f fix stdlib compilation after javabean refactoring 2012-02-21 23:54:16 +04:00
Stepan Koltsov a0cc63cd08 failonerror in build.xml 2012-02-21 23:54:11 +04:00
Stepan Koltsov f83c5e0d83 read java bean properties as kotlin properties 2012-02-21 23:15:36 +04:00
Alex Tkachman cc8d263f9e preliminary support for intrinsics in std lib. javaClass<T> 2012-02-21 20:37:38 +02:00
Stepan Koltsov 2796c914c4 remove unused code in JavaDescriptorResolver 2012-02-21 21:30:02 +04:00
Stepan Koltsov b59970a610 JDR: work with names, not with PsiSomething
This should fix (or hide) problems like
http://ea.jetbrains.com/browser/ea_problems/33857
2012-02-21 21:10:25 +04:00
James Strachan ac281ad1a9 inital spike of a simple javadoc like tool for generating a HTML API summary from the kotlin model 2012-02-21 17:00:11 +00:00
James Strachan 8a55733245 moved template library into here temporarily (it maybe doesn't belong in the stdlib?) 2012-02-21 17:00:11 +00:00
James Strachan a403af575c remove typeo in artifact id 2012-02-21 17:00:11 +00:00
Stepan Koltsov 66e7945f29 minor JDR refactoring
* function descriptor cache is no longer needed in JDR
* fixed incorrect assertion
* removed unused parameter
* better exception message

Related to http://ea.jetbrains.com/browser/ea_problems/33872
2012-02-21 20:44:56 +04:00
Stepan Koltsov aacf63ff6f reading annotations from bytecode
(without fields yet)
2012-02-21 20:16:11 +04:00
Stepan Koltsov 175b7230f1 better compiler output for incomplete hierarchies 2012-02-21 18:37:49 +04:00
Alexander.Podkhalyuzin ffa41c1c27 Rename JetClass should rename file too. 2012-02-21 18:08:14 +04:00
Alex Tkachman 181f4d444d fix for broken test 2012-02-21 15:45:43 +02:00
Alexander.Podkhalyuzin e012f1e34b KT-1328 removing single class from file, should remove file too. Also changed file icon to one of containing classes icon. 2012-02-21 17:40:29 +04: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 25c1ece063 getting rid of TypeInfo 2012-02-21 14:58:18 +02:00
Alex Tkachman af437481a2 Merge remote branch 'origin/master' 2012-02-21 14:57:47 +02:00