Commit Graph

10994 Commits

Author SHA1 Message Date
Leonid Shalupov dc9597759a KT-3725 required tags for Maven Central 2013-07-06 15:27:20 +04:00
Natalia.Ukhorskaya b76980266d Fix tests on android 2013-07-05 20:23:25 +04:00
Natalia.Ukhorskaya 728e08cc49 Rewrite AnnotationCodegen to generate annotation arguments by AnnotationDescriptor 2013-07-05 19:19:00 +04:00
Natalia.Ukhorskaya b6bdcb303d Resolve java.lang.Class as annotation argument 2013-07-05 19:18:58 +04:00
Natalia.Ukhorskaya bbed2da4dd Resolve annotations in annotation arguments 2013-07-05 19:18:57 +04:00
Natalia.Ukhorskaya 42b0bdc54d Support varargs in annotation arguments 2013-07-05 19:18:56 +04:00
Natalia.Ukhorskaya 42f10d77db Add annotation argument type in tests 2013-07-05 19:18:55 +04:00
Natalia.Ukhorskaya 98d3b1e113 Resolve arrays in annotation arguments 2013-07-05 19:18:54 +04:00
Natalia.Ukhorskaya dddec9ea3d Resolve enum in annotation arguments 2013-07-05 19:18:53 +04:00
Svetlana Isakova d3e6d2d6cd do not need to check stand-alone class object for class,
when it's on the left hand side of dot it is analyzed in 'getIdForImplicitReceiver' (test added)
2013-07-05 18:03:52 +04:00
Svetlana Isakova 9fd8a8d497 removed method 'isClassObjectAValue'
There are no sensible usages of it.
Presence of class object can be determined by 'getClassObjectDescriptor() != null' check
2013-07-05 18:03:51 +04:00
Svetlana Isakova cf5c5dba3d KT-3189 Function invoke is called with no reason
prioritize tasks specially for invoke

 #KT-3189 Fixed
 #KT-3190 Fixed
 #KT-3297 Fixed
2013-07-05 18:03:51 +04:00
Svetlana Isakova 9347a48df8 restored priorities
members with invoke have more priority than extensions
2013-07-05 18:03:51 +04:00
Svetlana Isakova 54e1cf0879 removed incorrect code from resolve tests
Resolve tests had a functionality that for primary constructor parameters
 class A(val x: Int, y: Int)
 `$x` was resolved to property descriptor while `x` was resolved to value parameter descriptor.
But it worked incorrect (see tests changes) and was senseless because 'x' in code always resolves to property descriptor.
So it was dropped.
2013-07-05 18:03:51 +04:00
Nikolay Krasko 37e4402822 Complete only imported classes on auto-typing and first completion and set up invocation count 2013-07-04 21:22:22 +04:00
Nikolay Krasko f0a10b70c1 Fix wrong unnecessary completion for the case of force completion
#KT-1187 Fixed
2013-07-04 20:49:31 +04:00
Nikolay Krasko 86274466c5 Add ability to search kotlin classes in selected scope 2013-07-04 20:49:29 +04:00
Nikolay Krasko 03053711f4 Refactoring: Move CompleteSession class to upper level 2013-07-04 20:49:27 +04:00
Nikolay Krasko 141c544775 KT-3729 Quick documentation support
#KT-3729 Fixed
2013-07-04 20:48:26 +04:00
Nikolay Krasko c8f79e1966 Move project descriptor to common place 2013-07-04 18:49:49 +04:00
Natalia.Ukhorskaya 2152c22f86 Resolve annotation class constructors before other constructors 2013-07-04 14:38:17 +04:00
Natalia.Ukhorskaya e8faf96c41 Remove redundant parameter 2013-07-04 14:38:12 +04:00
Natalia.Ukhorskaya a5662fe906 Resolve annotations arguments in body resolver 2013-07-04 14:38:07 +04:00
Natalia.Ukhorskaya 33ddd713b7 Check annotation constructor parameter types 2013-07-04 14:37:29 +04:00
Alexander Udalov 96cb7da025 Report correct parameter name in not-null assertions 2013-07-03 21:06:11 +04:00
Evgeny Gerashchenko beba2890ea Minor. @NotNull annotation. 2013-07-02 14:21:27 +04:00
Evgeny Gerashchenko 21b964cb7a Removed TODO. 2013-07-02 14:11:12 +04:00
Evgeny Gerashchenko e017645c97 Reorganized SAM-related test data. 2013-07-02 14:06:09 +04:00
Evgeny Gerashchenko 8a51f908f7 Made keywords not bold in Darcula (as in Java). 2013-07-02 14:06:08 +04:00
Evgeny Gerashchenko 06bfb1d017 KT-3472 Can't navigate to source by clicking on a SAM constructor
#KT-3472 fixed
2013-07-02 14:06:08 +04:00
Evgeny Gerashchenko b7b74cd3b8 Combining two color keys for KDoc tags (plain KDoc + KDoc tag). 2013-07-02 14:05:35 +04:00
Nikolay Krasko 8cf66b8a14 Fix deprecation warnings 2013-07-01 15:01:36 +04:00
Mikhael Bogdanov d953919110 Android test fix 2013-06-28 10:16:07 +04:00
Evgeny Gerashchenko 3e70661a6d Handling null correctly when wrapping function in SAM wrapper 2013-06-27 20:37:27 +04:00
Evgeny Gerashchenko c6f6e6c756 Minor. Renamed method parameter. 2013-06-27 17:46:40 +04:00
Evgeny Gerashchenko 72b0e1b07c Got rid of samAwareGen for simplicity. 2013-06-27 17:41:36 +04:00
Evgeny Gerashchenko d0c74755e8 Added test which should be enabled after fixing bug in front-end. 2013-06-27 17:09:18 +04:00
Evgeny Gerashchenko 4813842288 Added toString() implementations. 2013-06-27 17:09:17 +04:00
Evgeny Gerashchenko 773ff20585 Minor. Shorter code. 2013-06-27 17:09:17 +04:00
Evgeny Gerashchenko be7dba0781 Minor. Static import. 2013-06-27 17:09:17 +04:00
Evgeny Gerashchenko 939b658704 Supported SAM adapter in infix calls. 2013-06-27 17:09:17 +04:00
Evgeny Gerashchenko 79185b6775 Added tests with SAM adapters in comparison operators. 2013-06-27 17:09:17 +04:00
Evgeny Gerashchenko 9905e2a719 Added tests with SAM adapters in "invoke" convention. 2013-06-27 17:09:16 +04:00
Evgeny Gerashchenko f35390134f Supported SAM adapters in "in/!in" operators. 2013-06-27 17:09:16 +04:00
Evgeny Gerashchenko 0059db486f Supported SAM adapters in augmented assignment operators. 2013-06-27 17:09:16 +04:00
Evgeny Gerashchenko 036960f117 Supported SAM adapters as plus/minus/etc operators. 2013-06-27 17:09:16 +04:00
Evgeny Gerashchenko b1fb0aafea Supported SAM adapters as get/set operators. 2013-06-27 17:09:16 +04:00
Evgeny Gerashchenko 779ea1d7b8 Storing info about expressions which should be generated as SAM values. 2013-06-27 17:09:16 +04:00
Evgeny Gerashchenko e58bd5b6ec Not recording names for SAM constructor calls since they are managed SamWrapperClasses. 2013-06-27 17:09:15 +04:00
Evgeny Gerashchenko 7660ae7f20 Simplified code. 2013-06-27 17:09:15 +04:00