Commit Graph

15950 Commits

Author SHA1 Message Date
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
Valentin Kipyatkov f96721fa7e KT-4418 Converter from java should honor "@Nullable" annotations
#KT-4418 Fixed
2014-06-10 14:26:52 +04:00
Valentin Kipyatkov 118b23061b Java to Kotlin converter: fixed overriding of Object methods 2014-06-10 14:26:52 +04:00
Valentin Kipyatkov dcfa396b50 Java to Kotlin converter: refactoring work with modifiers, dropped Modifier.FINAL 2014-06-10 14:26:52 +04:00
Valentin Kipyatkov 7c2473a5ef Java to Kotlin conversion: fixed a few bugs related to modifiers
#KT-4424 Fixed
2014-06-10 14:26:52 +04:00
Valentin Kipyatkov ef8504eb39 Java to Kotlin conversion: minor 2014-06-10 14:26:52 +04:00
Valentin Kipyatkov 6b11a5b3d9 Java to Kotlin converter: no more 2 conversion modes for each test, just a few tests to test non-standard settings 2014-06-10 14:26:51 +04:00
Valentin Kipyatkov 57d118e13d Java to Kotlin conversion: minor refactorings after code review 2014-06-10 14:26:51 +04:00
Ilya Ryzhenkov ab45439256 Convert iterable of pairs to map, improve generic toMap(mutableMap) function #KT-4166 Fixed 2014-06-10 11:11:03 +04:00
Ilya Ryzhenkov 3a1b9cc658 Improve iterators' functions deprecation text 2014-06-10 11:11:02 +04:00
Ilya Ryzhenkov f471f7901c Migrate to using join* functions instead of deprecated. 2014-06-10 11:11:02 +04:00
Ilya Ryzhenkov 19858b9f74 Created join, joinTo and joinToString functions, deprecated makeString & appendString #KT-3841 Fixed 2014-06-10 11:11:02 +04:00
Ilya Ryzhenkov f5a0701076 Support generating "deprecated" functions. 2014-06-10 11:11:02 +04:00
Ilya Ryzhenkov e6f5c7012c Stream.filterIsInstance has wrong return type #KT-5097 Fixed 2014-06-10 11:11:01 +04:00
Ilya Ryzhenkov a2a93a3830 Fix String.dropWhile & String.takeWhile 2014-06-10 11:11:01 +04:00
Ilya Ryzhenkov 5b73fba2d4 Support "key in map" using extension contains() function. #KT-3607 Fixed 2014-06-10 11:11:01 +04:00
Ilya Ryzhenkov 5f224efdc1 Make empty list produced by listOf() a singleton List object. 2014-06-10 11:11:01 +04:00
Ilya Ryzhenkov 692f60b1d6 Uncommented code in data class test for equality and toString 2014-06-10 11:11:00 +04:00
Ilya Ryzhenkov 178ae83e8d sort and binarySearch methods now have correct default toIndex parameter #KT-4963 Fixed 2014-06-10 11:11:00 +04:00
Ilya Ryzhenkov 9ec78a437d Throw NoSuchElementException in appropriate cases #KT-4998 Fixed 2014-06-10 11:11:00 +04:00
Nikolay Krasko 4ac626c1f2 Create separate scope for seaching sources in libraries
Fix build: avoid situation when GlobalSearchScope.contains() returns false for files
under both class root and source root.
2014-06-10 02:24:43 +04:00
Nikolay Krasko 7e22823652 Remove creating too long chain of scopes for searching Kotlin source file 2014-06-09 19:15:14 +04:00
Pavel V. Talanov 5ce8f4b892 JDR, minor: clarifying comment 2014-06-06 17:15:43 +04:00
Svetlana Isakova 68b4b8e946 KT-5182 Data flow info is lost for 'when' branches
#KT-5158 Fixed
  #KT-4332 Fixed
2014-06-06 15:56:02 +04:00
Svetlana Isakova cb788579ba Refactoring: extracted 'getDataFlowInfosForEntryCondition'
Removed duplicated code
2014-06-06 15:56:02 +04:00
Svetlana Isakova 1eaf79bd1e Analyzing 'when' expression refactoring
collect data flow infos for branch with many conditions
2014-06-06 15:56:02 +04:00
Evgeny Gerashchenko c7318b3880 Added slashes in generated tests when they are invoked on directory.
This makes it easier to find directory for test using IDEA's go to file/search everywhere features.
2014-06-06 14:33:21 +04:00
Pavel V. Talanov a10085efe9 Update to IDEA EAP 135.1019 2014-06-05 22:51:04 +04:00
Evgeny Gerashchenko 2568bf6091 Don't report Kotlin JPS versions for modules without Kotlin. 2014-06-05 20:59:07 +04:00
Evgeny Gerashchenko 3a2a3e7cd5 Saving module XMLs in temp directory instead of output. 2014-06-05 20:59:06 +04:00
Pavel V. Talanov 7d9742417f JDR: Remove LazyJavaClassResolver#resolveClassByFqName() 2014-06-05 18:17:07 +04:00
Pavel V. Talanov 53df12598d JDR: Eliminate another usage of LazyJavaClassResolver#resolveClassByFqName()
Refactor Java scopes:
Use abstract functions instead of "is" checks in LazyJavaMemberScope
Move some code to derived classes
2014-06-05 18:17:07 +04:00
Pavel V. Talanov b69ab12db7 JDR: Use module to resolve special classes 2014-06-05 18:17:06 +04:00
Pavel V. Talanov ccae693ed2 JDR: Remove some usages of JavaClassResolver#resolveClassByFqName in LazyJavaAnnotationDescriptor 2014-06-05 18:17:05 +04:00
Nikolay Krasko 2d72b5afc7 Render short type names in quick documentation and navigation 2014-06-05 17:47:58 +04:00
Natalia Ukhorskaya 57fc2c8301 Android tests: exclude reflection tests 2014-06-05 10:10:30 +04:00
Svetlana Isakova bc2d2fc2d4 KT-5099 "Remove explicit type arguments" should highlight only type arguments
#KT-5099 Fixed
2014-06-04 22:10:30 +04:00
Svetlana Isakova 1665ef7a00 KT-5028 "remove explicit type arguments" intention shouldn't be applicable
#KT-5028 Fixed
2014-06-04 22:10:29 +04:00
Svetlana Isakova ae9d2d015e Record 'a!!', 'a ?: b' special calls by operation reference 2014-06-04 22:10:29 +04:00
Svetlana Isakova cf81a44e02 Added 'getCorrespondingCall' utility function 2014-06-04 22:10:29 +04:00
Svetlana Isakova 8a91ec7964 Record CALL for all invocations, not only for resolved ones 2014-06-04 22:10:29 +04:00
Nikolay Krasko 432eabdbcb Don't process val and var keywords in lambda parameters forever (KT-5170)
#KT-5170 Fixed
2014-06-04 18:53:59 +04:00
Evgeny Gerashchenko 8f6c2b96f3 Extracted method to util class and replaced parameter to Project. 2014-06-04 15:34:19 +04:00
Evgeny Gerashchenko aad719d809 Minor. Rearranged code. 2014-06-04 15:34:18 +04:00