Commit Graph

18291 Commits

Author SHA1 Message Date
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
Valentin Kipyatkov 41cb97ac61 Converted JavaToKotlinAction and JavaToKotlinActionUtil into Kotlin and merged into one class 2014-10-30 12:55:45 +03:00
Valentin Kipyatkov 3d6da9104c J2K: memory optimization 2014-10-30 12:55:45 +03:00
Valentin Kipyatkov abf537e348 J2K: conversion with usage processing across multiple converted files works in tests (but not in real life yet) 2014-10-30 12:55:45 +03:00
Valentin Kipyatkov 41c7ec8285 J2K: processing usages of get/set methods in the code being converted when converting them into property 2014-10-30 12:55:43 +03:00
Valentin Kipyatkov 3b51858ed9 Removed workaround for compiler bug which has been fixed 2014-10-30 12:55:43 +03:00
Valentin Kipyatkov e81631a3af J2K: refactored code to make createDefaultCodeConverter() private 2014-10-30 12:55:42 +03:00
Valentin Kipyatkov 7941314c60 J2K: fixed conversion of default parameter values and annotation arguments 2014-10-30 12:55:42 +03:00
Valentin Kipyatkov 7762d4e7c6 J2K: fixed conversion of base class constructor arguments 2014-10-30 12:55:42 +03:00
Valentin Kipyatkov 9ac23cd657 J2K: checked that field name change is correctly handled for usages in other converted classes as well 2014-10-30 12:55:41 +03:00
Valentin Kipyatkov 030faa4630 Big refactoring in j2k converter to support java&kotlin code updating to reflect changes in declarations produced by conversion (work in progress but all tests pass) 2014-10-30 12:55:41 +03:00
Valentin Kipyatkov 16f117571f Minor 2014-10-30 12:55:40 +03:00
Valentin Kipyatkov 95bf9e3c1c Repackaging 2014-10-30 12:55:40 +03:00
Valentin Kipyatkov f5e9230a04 Renamed ReferenceSearcherImpl to IdeaReferenceSearcher 2014-10-30 12:55:39 +03:00
Zalim Bashorov 9e11b40fe1 Add the support suppressWarnings, verbose and version in build tools. 2014-10-29 23:09:07 +03:00
Andrey Breslav 70db76b219 Typo fixed in a diagnostic message 2014-10-29 18:43:48 +03:00
Natalia Ukhorskaya 8deef10292 Fix android tests 2014-10-29 17:31:14 +03:00
Natalia Ukhorskaya 75a8699467 Minor: fix warnings 2014-10-29 17:10:27 +03:00
Natalia Ukhorskaya c4ba32a8cc Can't use a qualified name of an annotation class in an annotation parameter
#KT-6151 Fixed
2014-10-29 17:10:25 +03:00
Michael Bogdanov 8e93719e9d Fix test data for android tests 2014-10-29 17:04:10 +03:00
Alexey Sedunov cede5ac58b Create From Usage: Fix type substitution for no-receiver calls 2014-10-28 19:15:06 +03:00
Alexey Sedunov abbbd198fd Create From Usage: Use supplied type arguments to infer function type parameters 2014-10-28 19:15:05 +03:00
Alexey Sedunov a13f334df2 Find Usages: Restrict search scope for private class members
#KT-6124 Fixed
2014-10-28 19:15:03 +03:00
Alexey Sedunov a2930a581f Additional Resolve: Use descriptor of constructor instead of class when resolving primary constructor annotations
#KT-6099
2014-10-28 19:15:02 +03:00