Commit Graph

15993 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 820bd911fb Supported cases of removing source files from package fragment. 2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko fddc8edc03 Removing caches and rebuilding again in tests.
It helps to find cases when stuck data spoils compilation output.
2014-06-18 22:56:42 +04:00
Evgeny Gerashchenko 205f99bf60 Made incremental compilation test auto-generated. 2014-06-18 22:56:42 +04:00
Evgeny Gerashchenko f62842343d Added tests for removing files from package. 2014-06-18 22:56:40 +04:00
Evgeny Gerashchenko 2a9721daf3 Supported multiple make iterations in incremental tests. 2014-06-18 22:56:40 +04:00
Evgeny Gerashchenko 5d4823d4ba Storing io files instead of psi (they are converted anyway). 2014-06-18 22:56:38 +04:00
Evgeny Gerashchenko e07ea4b814 Minor. Suppressed warnings. 2014-06-18 22:56:38 +04:00
Evgeny Gerashchenko b9f01a6397 Don't report package facade classes as output of sources without top-level members. 2014-06-18 22:56:37 +04:00
Evgeny Gerashchenko e89b59a745 Checking for constants values in incremental compiler. 2014-06-18 22:56:37 +04:00
Evgeny Gerashchenko af173484cb Minor. Typo. 2014-06-18 22:56:36 +04:00
Evgeny Gerashchenko c4e167d7bc Checking for changes in class proto. 2014-06-18 22:56:36 +04:00
Evgeny Gerashchenko c51cb26046 Fixed computing source file for package facade.
There had been a bug in case when compiling package with some class-only files, but exactly one file with callables.
2014-06-18 22:56:35 +04:00
Evgeny Gerashchenko 018b58b51f Rebuild only if proto changed. 2014-06-18 22:56:35 +04:00
Evgeny Gerashchenko 4cf2dc665e Got rid of redundant constructor. 2014-06-18 22:56:34 +04:00
Evgeny Gerashchenko a82849f289 Removed member filter from injectors. 2014-06-18 22:56:33 +04:00
Evgeny Gerashchenko ca1ee69e4c Loading descriptors from incremental cache instead of package classes. 2014-06-18 22:56:33 +04:00
Evgeny Gerashchenko 381e8bb205 Extracted PackagePartClassUtils. 2014-06-16 23:30:24 +04:00
Evgeny Gerashchenko d3ff9e974b Introduced utility method. 2014-06-16 23:29:55 +04:00
Michael Nedzelsky 0332353874 Parser: fix recovery for object literal with no body
#KT-5102 Fixed
2014-06-16 16:25:42 +04:00
Pavel V. Talanov 024ed5a236 Drop JetTypeName and related code 2014-06-11 21:22:28 +04:00
Pavel V. Talanov 8d2038ec1a Minor: Implement LazyJavaResolverContext.resolveTopLevelClassInModule using ModuleDescriptor.resolveTopLevelClass 2014-06-11 21:22:27 +04:00
Pavel V. Talanov 03a4a5ef31 Use module to resolve top level class in SignatureMarkerProviderTest 2014-06-11 21:22:26 +04:00
Pavel V. Talanov 456e83e1fa Use module to resolve top level class in ResolveDescriptorsFromExternalLibraries 2014-06-11 21:22:25 +04:00
Pavel V. Talanov 8789d9b0bf Use module to resolve top level class in DecompiledTextConsistencyTest
Refactor: rename ResolverForDecompiler#resolveClass to resolveTopLevelClass to document assumptions made in implementations
2014-06-11 21:22:24 +04:00
Pavel V. Talanov f1e6560904 Use module to resolve top level class in AbstractSdkAnnotationsValidityTest 2014-06-11 21:22:23 +04:00
Pavel V. Talanov 083c527f52 Drop JavaDescriptorResolver#getPackageFragment 2014-06-11 21:22:22 +04:00
Pavel V. Talanov c11df9ce9c Use module to resolve "kotlin" package in DecompiledTextConsistencyTest 2014-06-11 21:22:21 +04:00
Pavel V. Talanov bd30bc074e Use JavaDescriptorResolver#resolveClass(JavaClass) in KotlinSignatureInJavaMarkerProvider 2014-06-11 21:22:20 +04:00
Michael Bogdanov cc58ee6b6f KT-5219 Kotlin build fails when using Android Gradle plugin 0.11
#KT-5219 Fixed
2014-06-11 14:12:58 +04:00
Michael Bogdanov de530be45d KT-5219 Kotlin build fails when using Android Gradle plugin 0.11
#KT-5219 Fixed
2014-06-11 12:42:45 +04:00
Andrey Breslav fe09bd4fd8 Tests for annotation deserialization when platform names are used 2014-06-10 18:21:37 +04:00
Andrey Breslav 705a081919 KT-5214 Annotation to provide platform name to avoid signature conflict
#KT-5214 Fixed
2014-06-10 18:21:36 +04:00
Valentin Kipyatkov 43cac31722 Java to Kotlin converter: corrected test output 2014-06-10 14:26:54 +04:00
Valentin Kipyatkov 00ed2f4955 Java to Kotlin converter: removed trim() in test output because it's not needed anymore 2014-06-10 14:26:54 +04:00
Valentin Kipyatkov 30ac2bacde Java to Kotlin converter: better formatting preserving from original code
#KT-4801 Fixed
2014-06-10 14:26:54 +04:00
Valentin Kipyatkov 2d4d5e2a34 Java to Kotlin converter: added nullability calculation caching 2014-06-10 14:26:54 +04:00
Valentin Kipyatkov 1491e0e5a7 Java to Kotlin converter: better treatment of nullable expressions 2014-06-10 14:26:54 +04:00
Valentin Kipyatkov 14efefedd6 Java to Kotlin converter: correct code generated for accessing nullable variables 2014-06-10 14:26:54 +04:00
Valentin Kipyatkov 0695f6b3d7 Java to Kotlin converter: more smartness about nullability 2014-06-10 14:26:54 +04:00
Valentin Kipyatkov e947ad7294 Java to Kotlin converter: minor corrections after code review 2014-06-10 14:26:54 +04:00
Valentin Kipyatkov f652c50c8c Java to Kotlin converter: refactored code to drop ArrayInitializerExpression 2014-06-10 14:26:53 +04:00
Valentin Kipyatkov 60d9e53e9f Java to Kotlin converter: replacing equals call to ==/!= and no redundant parethesis generation
#KT-4426 Fixed
2014-06-10 14:26:53 +04:00
Valentin Kipyatkov d691abb1c4 Java to Kotlin converter: code refactoring - extracted some code from Converter into TypeConverter 2014-06-10 14:26:53 +04:00
Valentin Kipyatkov 0631e4fdbe Java to Kotlin converter: converting usages of Kotlin object members
#KT-5172 Fixed
2014-06-10 14:26:53 +04:00
Valentin Kipyatkov e789026291 Java to Kotlin converter: converting usages of Kotlin class object members 2014-06-10 14:26:53 +04:00
Valentin Kipyatkov b4ab3983f8 Java to Kotlin converter: converting usages of Kotlin global and extension functions and properties 2014-06-10 14:26:53 +04:00
Valentin Kipyatkov f343b89501 Java to Kotlin converter: converting usages of Kotlin properties from Java 2014-06-10 14:26:53 +04:00
Valentin Kipyatkov 81caaaf579 Java to Kotlin converter: and even more smartness about nullability
#KT-5162 Fixed
2014-06-10 14:26:52 +04:00
Valentin Kipyatkov d49b4f86fd Java to Kotlin converter: even more smartness about nullability 2014-06-10 14:26:52 +04:00
Valentin Kipyatkov 15ffb6768c Java to Kotlin converter: more smartness about variables nullability 2014-06-10 14:26:52 +04:00