Commit Graph

11025 Commits

Author SHA1 Message Date
Maxim Shafirov f5a11960cd These two packages come from eawtstub.jar and automation.jar yet it doesn't make any sense to include those into kotlin compiler 2013-07-16 12:27:31 +04:00
Evgeny Gerashchenko ca02ca6e77 Saved service implementations to constant for performance. 2013-07-15 19:20:48 +04:00
Evgeny Gerashchenko 89b4e5aab8 Loading service implementations by the same class loader as service's 2013-07-15 19:20:47 +04:00
Andrey Breslav 8572ab7a3a Merge pull request #289 from amal/patch-1
Fix outdated code (old tuples syntax)
2013-07-15 04:22:24 -07:00
Amal Samally 8df51ce7f8 Fix outdated code (old tuples syntax)
Partial fix for http://youtrack.jetbrains.com/issue/KT-3775
2013-07-14 18:18:23 -07:00
Leonid Shalupov 0ccb1d5f4a KT-1870 deploy to maven central 2013-07-13 14:25:29 +04:00
Evgeny Gerashchenko 97ae190ed5 Fixed typo (Russian "c" instead of English) 2013-07-12 21:38:42 +04:00
Evgeny Gerashchenko 2a9219b241 Fixed unstable inheritance of adapter + declaration. 2013-07-12 21:09:23 +04:00
Evgeny Gerashchenko 13849f6b6e Choosing most specific super member when building fake override. Previously, random one was chosen. 2013-07-12 21:09:22 +04:00
Evgeny Gerashchenko b6e7dcbb02 Stable member sorting. 2013-07-12 21:09:22 +04:00
Evgeny Gerashchenko 5c8f87658a Made SAM adapters final. 2013-07-12 21:09:22 +04:00
Evgeny Gerashchenko 822c42603f Created extension point for overridability checks. 2013-07-12 21:09:22 +04:00
Evgeny Gerashchenko fc99ad35b3 Supported complex cases of SAM adapters inheritance/overriding. 2013-07-12 21:09:22 +04:00
Evgeny Gerashchenko f17290b4f2 Typo. 2013-07-12 21:09:21 +04:00
Alexey Sedunov f2dd8a6b60 Implement "Safe Delete" refactoring for classes and objects 2013-07-12 21:06:05 +04:00
Alexey Sedunov bcad49246b Implement description provider for "refactoring" location 2013-07-12 21:06:04 +04:00
Leonid Shalupov d9a898330b fix maven-deploy-plugin version 2013-07-12 20:17:21 +04:00
Leonid Shalupov 9695ce70a6 KT-1870 maven profile to sign artifacts 2013-07-11 20:00:56 +04:00
Alexey Sedunov 21d6666c26 Implement Kotlin usage classification 2013-07-10 18:46:10 +04:00
Alexey Sedunov 6e513f067f KT-3736 Fixed: "Move Statement Down doesn't work to improperly formatted code" 2013-07-10 18:46:09 +04:00
Leonid Shalupov 4f6d09eaba KT-1870 skip deployment of docs, tests and examples 2013-07-10 15:54:36 +04:00
Andrey Breslav 8d65613eed Create <out Any?> projections for raw Java types, not <*>
KT-3760 Internal compiler error with Java interoperability and ElasticSearch 0.90.2 (IllegalStateException, Type parameter descriptor in not initialized: T declared in ...)
 #KT-3760 Fixed

EA-44150 Type parameter descriptor in not initialized. Fixed
2013-07-10 08:28:47 +04:00
Andrey Breslav e566c3a738 Static import 2013-07-10 08:28:47 +04:00
Erokhin Stanislav b2ccae41f8 Update to IDEA 12.1.4 (build 129.713) 2013-07-09 19:25:29 +04:00
Alexey Sedunov 3a881672e8 KT-3732 "Move statement" should respect DSLs 2013-07-09 18:33:33 +04:00
Alexey Sedunov 4a19d4f77b Fix "Move statement" for the cases when nested closure is used (KT-3735) 2013-07-08 19:16:58 +04:00
Nikolay Krasko 21fa398380 KT-3750 When without else
#KT-3750 Fixed
2013-07-08 13:04:58 +04:00
Leonid Shalupov abcf5616f7 KT-3725 attach empty javadocs to all artifacts except compiler and runtime 2013-07-08 02:25:04 +04:00
Leonid Shalupov d0765d5e4a KT-3725 build sources.jar for all maven modules 2013-07-08 00:56:11 +04:00
Leonid Shalupov fee0902399 KT-3725 set jar packaging for Kotlin compiler artifact 2013-07-06 17:05:51 +04:00
Leonid Shalupov 8162fcd3eb KT-3725 better scm references 2013-07-06 16:17:52 +04:00
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