Commit Graph

3294 Commits

Author SHA1 Message Date
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
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
James Strachan 0ed8e19eaf added ignore and refactored code into a more maven plugin kinda layout 2012-02-21 11:35:46 +00:00
James Strachan 9af12d1bac added a little experimental kdoc module using the maven plugin for dogfooding 2012-02-21 11:31:53 +00:00
James Strachan 44169529f3 provide a hook so we can add post processors into the compiler; such as for generating javadoc etc 2012-02-21 11:29:50 +00:00
James Strachan a68b00dfd4 renamed the rather long getOrElseUpdate to a simpler getOrPut which is a bit simpler and more accurate; as a new entry is put into the Map if its null 2012-02-21 11:29:50 +00:00
James Strachan 724f7860ab tried moving helper function to where the other global util functions are defined to try avoid namespace method disappearing 2012-02-21 11:29:50 +00:00
James Strachan e39aa727a9 added helper method for creating hash maps 2012-02-21 11:29:50 +00:00
James Strachan c308eb7b7f added link to issue 2012-02-21 11:29:50 +00:00
Evgeny Gerashchenko 478bf8ac0f Fixed order of automatically implemented abstract members.
#KT-1357 fixed
2012-02-21 15:25:15 +04:00
Alexander.Podkhalyuzin deac0e20ca Fixed undo action after introduce variable.
Important: All created nodes shouldn't be physical.
2012-02-21 14:54:39 +04:00
Andrey Breslav a5a28a11c7 No errors printed in "ignoreErrors" mode 2012-02-21 13:37:36 +04:00
Maxim Shafirov fc09e7d637 Fake dependency to make sure plugin is actually updated during make 2012-02-21 13:19:39 +04:00
Andrey Breslav 2ff896cc5a Cleaned up Kompiler's error reporting 2012-02-21 12:52:59 +04:00
Stepan Koltsov fd8b363a5f fix tests 2012-02-20 22:58:07 +04:00
Andrey Breslav b67f028ff2 Deleting an extra jar that breaks the JUnit behavior in IntelliJ IDEA 2012-02-20 22:50:27 +04:00