Commit Graph

3687 Commits

Author SHA1 Message Date
pTalanov 8d6525f23f initial changes 2012-02-27 15:30:52 +04:00
pTalanov e0cdbd6099 Merge remote-tracking branch 'origin/master' 2012-02-24 19:06:24 +04: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
pTalanov 00a0866118 Merge branch 'master' of ../../KotlinJs 2012-02-24 18:17:12 +04:00
Pavel Talanov 1c9dad87b1 sdfsdf 2012-02-24 18:16:48 +04:00
pTalanov 3fd7044edf before merge 2012-02-24 17:25:28 +04:00
Pavel Talanov 6646278a60 before merge 2012-02-24 17:20:23 +04:00
Pavel Talanov c949944980 renamed modules to js.* 2012-02-24 17:04:23 +04: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
Pavel Talanov bfcdce4658 update main repository 2012-02-24 15:07:55 +04: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
Pavel Talanov 68e326922b changes to jslib and TestConfig 2012-02-24 14:40:13 +04: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
Pavel Talanov cce59aab73 context().bindingContext() -> bindingContext() (same for program() and aliaser())
refactored CallExpressionTranslator, also worked on vararg problem
2012-02-23 17:38:44 +04: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