Commit Graph

26440 Commits

Author SHA1 Message Date
Denis Zharkov 27b231cd7d Minor. Do not record method within resolveMethodToFunctionDescriptor 2015-10-06 23:56:17 +03:00
Denis Zharkov 9d087ce5bd Convert size() functions in builtins to properties
Just like it will work itself out :)
2015-10-06 23:56:17 +03:00
Nikolay Krasko a4d029dab2 Rename ant tasks for continuous builds: unify suffixes with correspondent branches 2015-10-06 20:51:43 +03:00
Ilya Gorbunov 0851728454 Deprecate mapNotNull to change its behavior later.
#KT-4410
2015-10-06 18:32:06 +03:00
Ilya Gorbunov d7da8b7bd3 J2K: Special conversion for java.lang.String methods.
#KT-7732
2015-10-06 18:24:24 +03:00
Dmitry Jemerov 4b92bd100c add space between property type parameter list and property name 2015-10-06 16:20:48 +02:00
Dmitry Jemerov 1fdf08bec5 quickfix to migrate function type parameter lists to new syntax 2015-10-06 16:20:48 +02:00
Dmitry Jemerov 7c20630272 diagnostics for deprecated syntax of function type parameter list 2015-10-06 16:20:47 +02:00
Dmitry Jemerov c5d3673b6b change the ID of the language from "jet" to "kotlin"; rename JetLanguage to KotlinLanguage 2015-10-06 16:14:07 +02:00
Dmitry Jemerov 870b640008 "add operator modifier" fix handles fake overrides
#KT-9347 Fixed
2015-10-06 16:12:09 +02:00
Dmitry Jemerov 8fd9d181de add @suppress to the list of known KDoc tags
#KT-9415 Fixed
2015-10-06 16:12:08 +02:00
Dmitry Jemerov 2884a1c6ea handle semicolons in "introduce backing property"
#KT-9417 Fixed
2015-10-06 16:12:08 +02:00
Pavel V. Talanov 3ed04aea8a Imports from objects: Do not create new instances on getOriginal every time
Also fixes a problem where DeclarationLookupObjectImpl didn't have stable hashCode
2015-10-06 16:31:23 +03:00
Pavel V. Talanov 508b401603 Codegen: fix callable reference to member imported from object 2015-10-06 16:31:22 +03:00
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