Commit Graph

18314 Commits

Author SHA1 Message Date
Valentin Kipyatkov c562cfb83d Simplified declaration's up/down mover because it does not need to attach comments to declaration manually anymore 2014-10-31 21:07:50 +03:00
Valentin Kipyatkov b811a6cab4 Corrected comments binding so that comments before local functions and classes are bound to them 2014-10-31 21:07:50 +03:00
Valentin Kipyatkov 9a8aa0f71a Fixed tests for moving code up/down 2014-10-31 21:07:50 +03:00
Valentin Kipyatkov f4b0f0e661 Fixed tests for variable/function extraction 2014-10-31 21:07:50 +03:00
Valentin Kipyatkov 377df47e29 Fixed doc-comment not attached to the first declaration with no package directive + incorrect placement of comments for enum entry 2014-10-31 21:07:50 +03:00
Valentin Kipyatkov e3d6b7358c Fixing taking doc-comment for declaration 2014-10-31 21:07:49 +03:00
Valentin Kipyatkov 41685f0ba3 Fixing declaration ranges in decompiled code - comment "/* compiled code */" now is inside property 2014-10-31 21:07:49 +03:00
Valentin Kipyatkov 9dd4b5598e Comments binding (not complete yet) 2014-10-31 21:07:44 +03:00
Nikolay Krasko ec2613db72 Do the check with converted line separators 2014-10-31 19:52:41 +03:00
Nikolay Krasko 775fddbf73 Do logging with system dependent paths 2014-10-31 19:52:41 +03:00
Pavel V. Talanov c617b73424 Rename stub classes: PsiJet*Stub(Impl) -> Kotlin*Stub(Impl) 2014-10-31 18:26:09 +03:00
Pavel V. Talanov 5fb4f41030 Rename test data folder: libraries -> decompiler 2014-10-31 18:12:20 +03:00
Pavel V. Talanov d2d9813e12 Rename and restructure plugin.libraries package
Rename: libraries -> decompiler
New subpackages: textBuilder, navigation
2014-10-31 16:49:11 +03:00
Pavel V. Talanov f47d8239c4 Convert and rename JetClsStubBuilder 2014-10-31 16:48:26 +03:00
Pavel V. Talanov 97cbadef61 Decompiler tests: check decompiled text was parsed correctly 2014-10-31 15:04:47 +03:00
Pavel V. Talanov 602be6303c Minor: JetPsiUtil#getElementTextWithContext() accepts PsiElement 2014-10-31 15:04:46 +03:00
Pavel V. Talanov 3b59a513b0 Approximating flexible types in decompiled text 2014-10-31 15:04:46 +03:00
Pavel V. Talanov b728ba2b1e Test function types in decompiler 2014-10-31 15:04:45 +03:00
Pavel V. Talanov c0416255c4 DescriptorRenderer: fix rendering of functional types in receivers 2014-10-31 15:04:45 +03:00
Nikolay Krasko 8cbda20ef2 Relay artifact to internal folder 2014-10-31 00:39:47 +03:00
Nikolay Krasko b6d0539795 Prepare additional artifact with test data to reuse it from eclipse 2014-10-31 00:39:47 +03:00
Nikolay Krasko 4622b6dd8f Move IdeDescriptorRenderer to ide-common 2014-10-31 00:39:46 +03:00
Nikolay Krasko 3a10416192 Rename module: ide-lazy-resolve -> ide-common 2014-10-31 00:39:45 +03:00
Nikolay Krasko 4e99572dbc Update to EAP 139.222.5 2014-10-31 00:39:45 +03:00
Michael Bogdanov b8c13b851c Move to proguard 5.1
#KT-5931 Fixed
2014-10-30 19:02:03 +03:00
Michael Bogdanov 59917f3727 Fix for KT-6154: Inlining a private class function accessing a private val member throws exception at runtime in accessing the val getter
#KT-6154 Fixed
2014-10-30 19:02:03 +03:00
Pavel V. Talanov 951ce827a6 Parser: allow function types as receiver type for function 2014-10-30 16:47:03 +03:00
Pavel V. Talanov 632bceef26 Minor: fix parser error message 2014-10-30 16:47:03 +03:00
Natalia Ukhorskaya c36fc42014 Exception analyzer doesn't show multiple attachments 2014-10-30 15:39:39 +03:00
Natalia Ukhorskaya 7bb4e538a6 Use resolveAnnotations instead of getResolvedAnnotations for typeReference 2014-10-30 15:39:38 +03:00
valentin 3aadd6f880 Corrected test data bacause return inside "use { }" is now allowed 2014-10-30 12:55:54 +03:00
Valentin Kipyatkov 245e70100d Renamed parameter 2014-10-30 12:55:54 +03:00
Valentin Kipyatkov 0b4c7588da Java to Kotlin action: no infinite recursion for symlinks + more efficient update() 2014-10-30 12:55:53 +03:00
Valentin Kipyatkov 448d444b2d J2K: replaced IntermediateResult with function 2014-10-30 12:55:53 +03:00
Valentin Kipyatkov 2e0ccf6984 J2K: fixed usage processing scheme to cover exotic case with anonymous class 2014-10-30 12:55:52 +03:00
Valentin Kipyatkov 7de15ec2a8 J2K: singletons are back 2014-10-30 12:55:52 +03:00
Valentin Kipyatkov 567bb6fd1a Renamed LazyElement -> DeferredElement 2014-10-30 12:55:51 +03:00
Valentin Kipyatkov 17622f8259 J2K: correct mutable/non-mutable types for overrides of Kotlin methods 2014-10-30 12:55:51 +03:00
Valentin Kipyatkov 0092c952ef Minor 2014-10-30 12:55:51 +03:00
Valentin Kipyatkov 899a051a8f J2K: fixed assertion 2014-10-30 12:55:50 +03:00
Valentin Kipyatkov 7e147d28c2 J2K converter: automatic generation of 'open' modifier for classes and methods 2014-10-30 12:55:50 +03:00
Valentin Kipyatkov 39cea5999c J2K: renamed Field to Property 2014-10-30 12:55:49 +03:00
Valentin Kipyatkov 3f6cebbc28 J2K converter testing: added dumping of errors into multifile tests too 2014-10-30 12:55:49 +03:00
Valentin Kipyatkov 82fc0ee394 Java to Kotlin converter tests: added check for errors in result file 2014-10-30 12:55:48 +03:00
Valentin Kipyatkov 389b14f44f KT-6120 Java to Kotlin converter can generate mutable collection types in case if collection write methods used
#KT-6120 Fixed
2014-10-30 12:55:48 +03:00
Valentin Kipyatkov 1af63cb3be Java to Kotlin converter: preparing to support Mutability 2014-10-30 12:55:47 +03:00
Valentin Kipyatkov 3217981a62 Disable Java To Kotlin action when not java file selected 2014-10-30 12:55:47 +03:00
Valentin Kipyatkov d67e99d40a Fixed KT-6110 J2K converter: do not replace accessors implementing interface with property
#KT-6110
2014-10-30 12:55:47 +03:00
Valentin Kipyatkov 927fe9d2cb JavaToKotlinAction converts all files at once with cross usage processing 2014-10-30 12:55:46 +03:00
Valentin Kipyatkov f100015e58 JavaToKotlinAction refactorings + minor fixes in the logic 2014-10-30 12:55:46 +03:00