Commit Graph

3333 Commits

Author SHA1 Message Date
James Strachan 5d96c8ac0d include all inherited extension functions; so Collection / List extension page shows all available methods 2012-02-24 07:04:47 +00:00
James Strachan cb7d23c420 added collection.toSortedSet() for easier conversion to sorted setsand collection.notNull() so its easy to treat a nullable collection/list as a collection 2012-02-24 07:04:47 +00:00
Alex Tkachman 80e728b6f6 KT-413 proper visibility of this$0 2012-02-24 08:26:50 +02:00
Evgeny Gerashchenko f89b0c3193 Fixed tests. Added 'object {...}' template after "class" inside class. 2012-02-23 23:46:14 +04:00
Evgeny Gerashchenko 8575da228d Fixed 'Implement members implement functions with no curly braces - not convenient'
#KT-1317 fixed
2012-02-23 23:00:03 +04:00
Evgeny Gerashchenko 6fadca9ac1 Fixed 'Completion suggests live tempates in name position'
#KT-1374 fixed
2012-02-23 22:49:55 +04:00
Alex Tkachman 85a1be4c78 one more test for serialization 2012-02-23 20:32:26 +02:00
Alex Tkachman f6a37b9bd8 serialization of functions and tuples 2012-02-23 20:13:02 +02:00
Alex Tkachman ec442af1b3 attempt to fix failing test 2012-02-23 19:17:55 +02:00
James Strachan 4da12cfd29 Merge branch 'master' of github.com:JetBrains/kotlin 2012-02-23 16:46:04 +00:00
Alex Tkachman 1921e266a8 ability to compile text (not file) 2012-02-23 18:45:34 +02:00
James Strachan 5b146bcc59 refactored the code to remove some cruft and add support for extension functions into kdoc 2012-02-23 16:45:12 +00:00
Alex Tkachman f4bfffd714 global var replaced by thread local 2012-02-23 17:13:03 +02:00
Alex Tkachman 4f67177aa2 Revert "ability to compile text and small refactoring"
This reverts commit 4ddf101397.
2012-02-23 17:01:33 +02:00
James Strachan edffe8f29e moved the kdoc generation to a separate doc goal, use fork to avoid running out of permgen space and minor refactor 2012-02-23 13:58:12 +00:00
James Strachan 880b90dace fixed up function links on package frame 2012-02-23 13:06:25 +00:00
James Strachan b5153de155 fixed up the std.util package a little 2012-02-23 12:53:47 +00:00
James Strachan 6c3ec61b5c added some trim helper methods for trimming strings 2012-02-23 12:53:26 +00:00
James Strachan 2028d302e9 further refactoring and simplification of the model to be more inline with the kotlin descriptors along with reenabling support for extension functions 2012-02-23 12:29:36 +00:00
Alex Tkachman 4ddf101397 ability to compile text and small refactoring 2012-02-23 14:12:28 +02:00
James Strachan 99a13a500c simplified the model more 2012-02-23 12:09:54 +00:00
James Strachan b392a6217e added the generation of the kdoc to the dist goal in Ant, refactored the model a little so that it contains descriptors and removed the java code from kdoc implementation 2012-02-23 11:56:32 +00:00
James Strachan 0212f91343 add some helper classes so that we can implement kdoc fully in kotlin (to work around some inference ambiguity bugs) 2012-02-23 11:54:24 +00:00
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