Commit Graph

3519 Commits

Author SHA1 Message Date
Dmitry Jemerov 35de13a6b2 update Java references to file class when a file is renamed 2015-09-14 18:03:55 +02:00
Dmitry Jemerov ab58dc3586 allow returning multiple PsiMethod wrappers for a JetFunction or JetPropertyAccessor; use that for handling Java usages through old-style and new-style facades
#KT-9102 Fixed
2015-09-14 18:03:55 +02:00
Dmitry Petrov 1586a2df8e Make stdlib work with -Xmultifile-package-facades.
Fixed wrong owner mapping in presence of -Xmultifile-package-facades.
Fixed backing field mapping issue.
Added more tests.
2015-09-14 11:26:29 +03:00
Dmitry Jemerov 4e8d664dfb use new facade classes in run configurations
#KT-9092 Fixed
2015-09-11 20:46:59 +02:00
Mikhail Glukhikh 3770e7f49f Introduction of AnnotationTarget.CLASS as a replacement for CLASSIFIER (first step) 2015-09-11 17:59:40 +03:00
Natalia Ukhorskaya 137f8b242a Wrong stepping for if followied by captured variable
#KT-9118 Fixed
2015-09-11 11:27:53 +03:00
Alexey Sedunov 2de4de4a1e Extract Function: Do not use flexible type as default: use one of its bounds instead
#KT-9099 Fixed
2015-09-11 02:20:55 +03:00
Alexey Sedunov 8a2e2e93e7 Pull Up: Apply type substitution to parameters propagated to the target class 2015-09-11 02:20:53 +03:00
Alexey Sedunov 89ae7d2036 Intentions: Fix test data after default visibility was changed to PUBLIC 2015-09-11 02:20:50 +03:00
Alexey Sedunov d5deb03292 Change Function Signature Fix: Do not render default values in overriding functions
#KT-8520 Fixed
2015-09-11 02:20:47 +03:00
Alexey Sedunov 794127a38b Change Signature: Add/remove constructor keyword on primary constructor when changing modifier list 2015-09-11 02:20:46 +03:00
Alexey Sedunov 33c93eb4a9 Move Declarations: Add intention which moves top-level declaration to the separate file in the same directory and package
#KT-4936 Fixed
2015-09-11 02:20:38 +03:00
Alexey Sedunov b4410c625f Change Signature: Recreate call expression when converting receiver to parameter
#KT-8878 Fixed
2015-09-11 02:20:37 +03:00
Natalia Ukhorskaya cc1a756cab Fix debugger tests testData 2015-09-11 01:51:58 +03:00
Michael Nedzelsky 9fd968d59e extend test for code cleanup with changing visibility from private to internal for declarations, which are used outside of their file. 2015-09-10 16:50:47 +03:00
Denis Zharkov 372e35436a Implement annotation related migrational quick fixes 2015-09-10 10:04:59 +03:00
Pavel V. Talanov 8cb7ea29fe Test for exception filter with renamed facade 2015-09-09 21:20:26 +03:00
Dmitry Petrov cd341e957e Cleanup after review
+ stub builder test for multifile class
2015-09-09 19:08:19 +03:00
Dmitry Petrov 0c951b2ed3 Decompilation support
- class header reader for KotlinMultifileClass, KotlinMultifileClassPart
- proper implClassName for multifile class members
2015-09-09 19:08:18 +03:00
Natalia Ukhorskaya 0096f2668c Fix step over if there isn't any inlined arguments 2015-09-09 15:21:25 +03:00
Stanislav Erokhin 5fb6a15c81 Minor. fix testdata 2015-09-08 20:51:32 +03:00
Michael Nedzelsky ea11133142 strict checking for internal visibility 2015-09-08 19:00:45 +03:00
Dmitry Jemerov ae36981a0f trim leading and trailing spaces from text returned as KDocTag.getContent() 2015-09-08 16:57:00 +02:00
Denis Zharkov 676ca86ea4 Deprecate escaped modifiers and unescaped annotations 2015-09-08 12:11:30 +03:00
Natalia Ukhorskaya 519c2784ff Debugger: allow evaluate expression in constructors 2015-09-08 11:00:50 +03:00
Natalia Ukhorskaya 3aa7528c8f Show declared type for delegated properties correctly in debugger
#EA-72136 - assert: ValueDescriptorImpl.getValue
2015-09-08 11:00:47 +03:00
Ilya Gorbunov a59962c620 Change test data to reproduce the same error as was before adding an overload of assert. 2015-09-08 10:27:33 +03:00
Denis Zharkov fc447e2d2f Parse some builtin annotations as modifiers
But still resolve them as annotations.
Mostly it's needed as begin of migration path, one day they become modifiers anyway

Some tests are dropped because they supposed that `annotation` should have parameter
2015-09-08 08:53:35 +03:00
Michael Nedzelsky 9f5bbf94d3 introduce quickfix for change visiblity from private to internal for private top-level declarations 2015-09-08 07:30:27 +03:00
Alexey Tsvetkov b25dfabbcc Fix modules tests 2015-09-08 05:49:32 +03:00
Michael Nedzelsky 7c1758a8d3 fix tests in org.jetbrains.kotlin.idea.debugger.evaluate 2015-09-08 02:06:13 +03:00
Michael Nedzelsky aaff442f65 fix tests in org.jetbrains.kotlin.idea.structureView 2015-09-08 02:06:02 +03:00
Michael Nedzelsky ce77ac4991 fix tests in org.jetbrains.kotlin.idea.refactoring.changeSignature 2015-09-08 02:05:49 +03:00
Michael Nedzelsky daa1ac1918 fix tests in org.jetbrains.kotlin.idea.refactoring.introduce 2015-09-08 02:05:46 +03:00
Michael Nedzelsky 92ca057b4a fix tests in org.jetbrains.kotlin.idea.quickfix 2015-09-08 02:05:41 +03:00
Michael Nedzelsky 32c66914fe fix tests in org.jetbrains.kotlin.idea.highlighter 2015-09-08 02:05:38 +03:00
Michael Nedzelsky fa97b8f91e fix tests in org.jetbrains.kotlin.idea.editor.quickDoc 2015-09-08 02:05:34 +03:00
Michael Nedzelsky c861b036a0 fix tests in org.jetbrains.kotlin.idea.decompiler.textBuilder 2015-09-08 02:05:30 +03:00
Michael Nedzelsky a119a6bbeb fix tests in org.jetbrains.kotlin.idea.decompiler.stubBuilder 2015-09-08 02:05:25 +03:00
Michael Nedzelsky 1a48ccff4c fix tests in org.jetbrains.kotlin.idea.decompiler.navigation 2015-09-08 02:05:21 +03:00
Michael Nedzelsky 68c6c7790a fix tests in org.jetbrains.kotlin.idea.codeInsight 2015-09-08 02:05:15 +03:00
Michael Nedzelsky 2684b7abb0 fix tests in org.jetbrains.kotlin.idea.resolve 2015-09-08 02:04:59 +03:00
Michael Nedzelsky bc5c9065d2 fix tests in org.jetbrains.kotlin.checkers 2015-09-08 02:04:32 +03:00
Valentin Kipyatkov 97cf562dea Made convert to string template inspection less eager 2015-09-07 19:48:05 +03:00
Valentin Kipyatkov 527faec457 Moved test data 2015-09-07 19:34:32 +03:00
Nikolay Krasko df28d34f0f Ctrl-W works badly for selecting body of multi-line lambda starting with comment (KT-9014)
#KT-9014 Fixed
2015-09-07 18:45:43 +03:00
Dmitry Petrov 5ca8f7409a Fix debugger tests.
- Index binaries by facade class fqName
- Fix DebuggerUtils: should understand new facades
- Refactor IDELightClassGenerationSupport
- Add facadeSimpleName to KotlinFileStub
2015-09-07 16:29:02 +03:00
Dmitry Petrov f9901f6075 Fix decompiler tests.
For now, JVM and JS backends produce different metadata for package facades (and package parts),
and thus different output is expected for JVM and JS decompiler.
Split decompiler tests into common (decompiledText), JVM-specific (decompiledTextJvm),
and JS-specific (decompiledTextJs)
Join them back together if JS backend migrates to JVM-like package model.
2015-09-07 16:29:01 +03:00
Michael Bogdanov 0e5a5a2e25 ldifferentTypes test fix 2015-09-07 16:29:00 +03:00
Michael Bogdanov 47635c19a2 Generate calls through new minifacades 2015-09-07 16:28:59 +03:00