Commit Graph

3349 Commits

Author SHA1 Message Date
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
James Strachan 17d34e9d49 fixed up little gremlin 2012-02-24 12:10:44 +00:00
James Strachan d91fb6a2f4 refactored the templates to make use of the lovely new multi line strings with templates; they're much easier to read now in IDEA (further improvements could be done to refactor functions from printFoo() to be foo() returning the String of the result) 2012-02-24 11:47:39 +00:00
James Strachan 8795501f5a made the templates simpler avoiding the ugly \" escaping and using multi line strings by default 2012-02-24 11:47:38 +00:00
Nikolay Krasko fe97ed0155 Fix test - avoid file renaming for now 2012-02-24 15:06:27 +04:00
Nikolay Krasko 537d11c54f KT-1316 Type name completion inserts fully qualified name when works in incomplete code 2012-02-24 15:06:26 +04:00
James Strachan a923eee175 added links to the extension functions from the summary page table and fixed up the detail extension function docs (also made nice use of the multi line treble quoted strings with templates, yay! :) 2012-02-24 11:04:50 +00:00
Andrey Breslav f049d27fa3 KT-1385 support multi line strings with templates 2012-02-24 14:25:31 +04:00
James Strachan 565aea36d9 added missing description on the method detail 2012-02-24 09:11:16 +00:00
James Strachan ed816a0005 refactored the kdoc implementation to introduce a Doclet trait so its easy to plugin new documentation generators or use different templates etc 2012-02-24 08:26:44 +00:00
Svetlana Isakova cc244fad94 KT-1191 Wrong detection of unused parameters
KT-1219 Incorrect 'unused value' error in closures
2012-02-24 12:09:02 +04:00
Alex Tkachman 7f2a8100c4 KT-1417 & KT-1398 proper access flags for backing fields 2012-02-24 09:57:49 +02:00
James Strachan de3d5edb2a added support for properties in kdoc 2012-02-24 07:25:07 +00:00
James Strachan d330e4cd77 fixed up missing descriptions and added support for KProperty 2012-02-24 07:04:47 +00:00
James Strachan 1a0467562d added a notEmpty() method to String? so its polymorphic with Collection? too; its easy to tell if a string/collection is not null and not empty 2012-02-24 07:04:47 +00:00
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