Commit Graph

26426 Commits

Author SHA1 Message Date
Pavel V. Talanov 37d5c4b223 Allow to import members from object by name
Wrap object members so they do not require dispatch receiver
Hack jvm backend to make it work
2015-10-06 16:31:21 +03:00
Pavel V. Talanov 507293e1ff QualifiedExpressionResolver, minor: extract a couple of functions 2015-10-06 16:31:20 +03:00
Nikolay Krasko ca2c78e629 Refactoring: remove warnings about javaClass() call 2015-10-06 14:00:23 +03:00
Nikolay Krasko 05cf67049c Allow roots before parent setup and disallow after teardown 2015-10-06 14:00:20 +03:00
Nikolay Krasko d999000705 Minor: fix warning about annotation absence 2015-10-06 14:00:18 +03:00
Dmitry Petrov 4a3f53b322 Revert fbf2424838:
postpone "transparent semantics for spread operator"
until Java-related design issues are resolved (java.utils.Arrays#asList).
2015-10-06 13:48:59 +03:00
Dmitry Petrov fbf2424838 Spread should always copy arrays. 2015-10-06 10:07:12 +03:00
Dmitry Petrov 9e546bda27 Support is/as/as? with Function[K]<...> types. 2015-10-06 10:06:27 +03:00
Ilya Gorbunov e1d53a2843 kotlin-jdbc can be found in its own repository: https://github.com/kotlin-projects/kotlin-jdbc 2015-10-05 21:28:09 +03:00
Ilya Gorbunov b081535bb6 kotlin-swing can be found in its own repository: https://github.com/kotlin-projects/kotlin-swing 2015-10-05 21:27:31 +03:00
Stanislav Erokhin b69197962d KT-9461: Inference failed: type parameter fixed early
#KT-9461 Fixed
2015-10-05 20:32:44 +03:00
Nikolay Krasko 493108eca1 Change default visibility icon for declaration with absent modifier to public (KT-9411)
#KT-9411 Fixed
2015-10-05 16:09:46 +03:00
Nikolay Krasko cb510a6809 Don't pack version of libraries into compiler artifact 2015-10-05 16:09:45 +03:00
Valentin Kipyatkov 45748eb169 More correct check for ResolvedCall status everywhere in the IDE + added assert into ResolvedCallImpl 2015-10-05 15:39:08 +03:00
Valentin Kipyatkov 110d53b4a6 No setter parameter type required 2015-10-05 15:35:17 +03:00
Valentin Kipyatkov 596635270e J2K: more correct comment placement 2015-10-05 15:35:17 +03:00
Valentin Kipyatkov 1fb01dcfbb Minor correction 2015-10-05 15:35:17 +03:00
Valentin Kipyatkov ec685195bd Better tests 2015-10-05 15:33:50 +03:00
Valentin Kipyatkov 7b063d0391 Completion: lower priority for override member items
#KT-9403 Fixed
2015-10-05 15:33:50 +03:00
Valentin Kipyatkov c5fdd649ab Overrides completion on typing member name too
#KT-9431 Fixed
2015-10-05 15:33:49 +03:00
Valentin Kipyatkov fd6244ac51 Never take ExpectedInfo from outer expression "as is" 2015-10-05 15:33:49 +03:00
Valentin Kipyatkov da7c62e788 Refactored 2015-10-05 15:33:48 +03:00
Valentin Kipyatkov a75b3e6cf1 Auto-import popup does not suggest to import non-operator functions when operator required 2015-10-05 15:33:48 +03:00
Valentin Kipyatkov b03a297ed0 KT-9326 IDE tries to resolve name in qualified this to any class in project/classpath
#KT-9326 Fixed
2015-10-05 15:33:47 +03:00
Valentin Kipyatkov dda9476793 Additional safety check to not corrupt PSI tree (see KT-9122) 2015-10-05 15:33:47 +03:00
Valentin Kipyatkov 1bb6dae444 Auto-import fix should suggest declarations that cannot be used in this position
This also should fix KT-9122 Assertion error when psi modified from IDE

 #KT-9122 Fixed
2015-10-05 15:33:46 +03:00
Valentin Kipyatkov ab5fe60bbe Corrected quickfix class name in tests 2015-10-05 15:33:45 +03:00
Valentin Kipyatkov 2ae13ed76b KT-9380 Handle malformed ReplaceWith annotations gracefully
#KT-9380 Fixed
2015-10-05 15:33:45 +03:00
Valentin Kipyatkov 45c3d74b42 KT-9284 Intention to convert to expression body doesn't work in particular case
#KT-9284 Fixed
2015-10-05 15:33:44 +03:00
Dmitry Jemerov 94204b7d4e Kotlin plugin updater initial implementation 2015-10-05 12:42:55 +02:00
Michael Nedzelsky 483110332c fix KT-431 Prohibit safe calls on namespaces, super etc
#KT-431 Fixed
2015-10-05 13:14:42 +03:00
Natalia Ukhorskaya 5848ea8d77 Fix usage of deprecated function in debugger testData 2015-10-05 11:44:58 +03:00
Natalia Ukhorskaya dc7ced1581 JDIEval: fix ClassNotLoadedException 2015-10-05 11:44:50 +03:00
Alexander Udalov d83ed11cd9 Add "add type to callable reference LHS" quickfix to Code Cleanup 2015-10-05 09:18:48 +03:00
Alexander Udalov b47982a0a6 Write new protobuf messages for packages as well as classes
An addition to ad735cd
2015-10-05 09:08:51 +03:00
Ilya Gorbunov ca18613049 J2K: Special conversion for java.lang.String.replaceAll.
#KT-7732
2015-10-05 01:54:21 +03:00
Ilya Gorbunov 36f854e421 Correct replacement for platformName annotation. 2015-10-05 01:54:16 +03:00
Michael Bogdanov 21b603af8f FunctionReferenceGenerationStrategy fake resolved call refactoring 2015-10-03 10:53:24 +03:00
Michael Bogdanov cd78514b76 Code clean, small refactorings and tests
#KT-8987 Fixed
2015-10-03 10:53:22 +03:00
Michael Bogdanov 3806ad65fc Fixed error with wrong parameter size calculation 2015-10-03 10:53:21 +03:00
Michael Bogdanov 466b20b0fc Parameters refactoring 2015-10-03 10:53:20 +03:00
Michael Bogdanov 1900ddd020 Parametrs.java->Parameters.kt 2015-10-03 10:53:19 +03:00
Michael Bogdanov 2a19b06874 new tests 2015-10-03 10:53:18 +03:00
Michael Bogdanov c83a5b8bd5 Proper param propagation in inline 2015-10-03 10:53:17 +03:00
Michael Bogdanov 79fce388b3 Actual conversion ParametersBuilder.java->ParametersBuilder.kt 2015-10-03 10:53:16 +03:00
Michael Bogdanov 345b21b3eb ParametersBuilder.java->ParametersBuilder.kt 2015-10-03 10:53:15 +03:00
Michael Bogdanov 03158ed9c3 ParameterBuilder refactoring 2015-10-03 10:53:14 +03:00
Michael Bogdanov 85f7c174cd First implementation of proper agrument order 2015-10-03 10:53:13 +03:00
Michael Bogdanov 1f2b9ce72b Addded DefaultCallMask class and extended interface for argument generation 2015-10-03 10:53:12 +03:00
Michael Bogdanov 8104c10c5a Actual ArgumentGenerator.java convertion 2015-10-03 10:53:10 +03:00