Commit Graph

27996 Commits

Author SHA1 Message Date
Valentin Kipyatkov 6a52cc76d0 Code simplifications 2015-11-10 22:24:46 +03:00
Valentin Kipyatkov 6006969ab9 Converted to Kotlin 2015-11-10 22:24:46 +03:00
Nikolay Krasko 774b3269d6 Remove paragraph char - it ruins builds sometimes 2015-11-10 20:46:17 +03:00
Nikolay Krasko 2dd2a8dd65 Forgotten rename for in *.flex files after jet->kt rename 2015-11-10 20:46:17 +03:00
Mikhail Glukhikh 0d35033106 Introduction of CastedClassReceiver and its handling in codegen #KT-6744 Fixed
ClassReceiver converted to Kotlin
Also #KT-7617 Fixed
2015-11-10 20:20:51 +03:00
Natalia Ukhorskaya e1134b278c Minor: minimize number of parameters 2015-11-10 18:38:21 +03:00
Natalia Ukhorskaya ea50d8af02 Debugger: initial support for member extension functions in evaluate expression 2015-11-10 18:38:19 +03:00
Natalia Ukhorskaya ba9e06d25b Make parameter MultiMap 2015-11-10 18:38:15 +03:00
Natalia Ukhorskaya 12c05fc602 Minor: extract functions to separate file 2015-11-10 18:38:13 +03:00
Natalia Ukhorskaya 5fcd5396b6 Add option to extract function for wrapping member extension function with with { } 2015-11-10 18:38:11 +03:00
Natalia Ukhorskaya 1e0b70247b Add debug log for evaluate expression 2015-11-10 18:38:08 +03:00
Natalia Ukhorskaya 6c61d437f1 Insert imports in codeFragment correctly. Add test 2015-11-10 18:37:56 +03:00
Valentin Kipyatkov fd1ff51233 Minor changes on code review 2015-11-10 17:26:20 +03:00
Valentin Kipyatkov 8942780640 KtCodeFragement to implement getImportDirectives() correctly 2015-11-10 17:26:19 +03:00
Valentin Kipyatkov afc968fe83 Minor 2015-11-10 17:23:11 +03:00
Valentin Kipyatkov bba960f1a5 Moved enum to top level 2015-11-10 17:23:11 +03:00
Valentin Kipyatkov fe7f79428d Intention to import members with '*' 2015-11-10 17:23:11 +03:00
Valentin Kipyatkov d3f04c6310 Fixed for companion object members 2015-11-10 17:23:11 +03:00
Valentin Kipyatkov d599b77ece Works also for top level fun - why not? 2015-11-10 17:23:11 +03:00
Valentin Kipyatkov 870fc9284b KT-4945 Intention "Introduce static import" (for single symbol)
#KT-4945 Fixed
2015-11-10 17:23:10 +03:00
Valentin Kipyatkov 394b4f7cd4 Removed todo 2015-11-10 17:20:01 +03:00
Valentin Kipyatkov 8946e5f353 Code completion for string templates after simple name + dot 2015-11-10 17:20:01 +03:00
Alexey Sedunov 8389b8e8da Introduce Property: Fix rename of primary occurrence
#KT-9404 Fixed
2015-11-10 16:47:52 +03:00
Alexey Sedunov 29b1c169d5 Refactoring: Get rid of "Jet" in the names of refactoring/quick fixes-related classes 2015-11-10 16:47:50 +03:00
Alexey Sedunov 6ff955b66c Change Signature: Implement improved call processing algorithm
#KT-8953 Fixed
 #KT-9525 Fixed
2015-11-10 16:47:48 +03:00
Alexey Sedunov b334f92748 J2K: JetFunctionCallUsage 2015-11-10 16:47:46 +03:00
Alexey Sedunov ff86042f58 J2K: Rename JetFunctionCallUsage (.java to .kt) 2015-11-10 16:47:45 +03:00
Alexey Sedunov a7e4f73c82 J2K: JetCallableDefinitionUsage 2015-11-10 16:47:44 +03:00
Alexey Sedunov b1ec5c0672 J2K: Rename JetCallableDefinitionUsage (.java to .kt) 2015-11-10 16:47:43 +03:00
Alexey Sedunov 2476393754 Change Signature: Do not move lambda out of parentheses if it neither wasn't out
before nor corresponds to the last parameter after the refactoring
 #KT-9763 Fixed
2015-11-10 16:47:42 +03:00
Alexey Sedunov f5e9d3e58f Refactoring: Simplify JetChangeSignature test 2015-11-10 16:47:41 +03:00
Alexey Sedunov e28a70235a Refactoring: Simplify JetChangeSignature test 2015-11-10 16:47:39 +03:00
Alexey Sedunov f8b8f9e9f9 J2K: JetChangeSignatureTest 2015-11-10 16:47:38 +03:00
Alexey Sedunov 26f81002d0 J2K: Rename JetChangeSignatureTest (.kt to .java) 2015-11-10 16:47:37 +03:00
Alexey Sedunov cae7fc7cf4 Change Signature: Fix file comparison in tests 2015-11-10 16:47:35 +03:00
Dmitry Jemerov de24e70389 update KotlinCoverageExtension according to removal of package facades 2015-11-10 14:45:30 +01:00
Dmitry Jemerov bb5f47fe95 fixed coverage: correctly apply extensions to run command line
#KT-9464 Fixed
2015-11-10 14:45:30 +01:00
Dmitry Jemerov ffccef753d one more place where we missed the search scope when highlighting usages
#KT-8904 Fixed
2015-11-10 14:45:29 +01:00
Dmitry Jemerov 1c05750a48 rename JetBundle references in UI Designer forms to KotlinBundle 2015-11-10 14:45:28 +01:00
Dmitry Jemerov 6ced597a73 scope all notifications to a specific project
#KT-9680 Fixed
2015-11-10 14:45:28 +01:00
Dmitry Jemerov e3f5045343 AddModifierFix is not available when the element is in library code
#KT-9647 Fixed
2015-11-10 14:45:27 +01:00
Dmitry Jemerov 3e3c457326 remove checking for class that no longer exists 2015-11-10 14:45:27 +01:00
Dmitry Jemerov 1d01565262 fix duplicate plugin update notifications: don't queue the next plugin update while the network request from the previous update is still running 2015-11-10 14:45:26 +01:00
Michael Bogdanov a5771c6c1c Fix for KT-9939: java.lang.VerifyError: Bad type on operand stack for Boolean convenience accessor
#KT-9939 Fixed
2015-11-10 16:17:52 +03:00
Pavel V. Talanov de4ea45f20 Do not compute stubs when building DefaultImpls light classes
Do not build stubs when computing inner classes of a light class
This should implicitly fix a deadlock reported in KT-9907 and KT-9811
2015-11-10 14:31:14 +03:00
Pavel V. Talanov bff7ff0c5d Improve heuristic to decide whether we will generate DefaultImpls for interface
This is not accurate, there are some cases when we will generate DefaultImpls class that are not covered:
- Inherited default implementations
- Annotated members

In these cases IDE will report an error when in fact code compiles
What is critical though is to be able to decide whether to build DefaultImpls light classes solely based on psi without triggering stubs calculation
2015-11-10 14:31:11 +03:00
Pavel V. Talanov ad87ec12cd Fast implementation for KtLightClassForExplicitDeclaration#getContainingClass()
Prevent computing stubs for light classes for nested/inner classes when calling completion from java
2015-11-10 14:31:08 +03:00
Pavel V. Talanov 73cb94a3b2 FakeFileForLightClass: implement API correctly 2015-11-10 14:30:59 +03:00
Pavel V. Talanov 39dacbf3c8 Minor: better toString() 2015-11-10 14:30:58 +03:00
Pavel V. Talanov 1dd7e0edba Minor: do not pass psiManager redundantly 2015-11-10 14:30:57 +03:00