Commit Graph

23279 Commits

Author SHA1 Message Date
Valentin Kipyatkov 366a2be8a7 KT-7989 ReplaceWith replacement adds redundant type arguments for platform types
Highlighting of redundant type arguments made more strict about platform types

 #KT-7989 Fixed
2015-06-11 23:30:22 +03:00
Valentin Kipyatkov 2203fb3231 Renamed intention class 2015-06-11 23:30:22 +03:00
Michael Nedzelsky 744e760444 tests for KT-7618 Compiling Maven project targeting JS fails when no source file present 2015-06-11 22:21:25 +03:00
Michael Nedzelsky dd60c7b79f K2JSCompiler: use INTERNAL_ERROR only for internal problems 2015-06-11 22:21:23 +03:00
Michael Nedzelsky 57356e29b8 kotlinc-js, kotlinc-jvm: report error on empty sources 2015-06-11 22:21:20 +03:00
Michael Nedzelsky 3ac1bdcdc8 kotlin-maven-plugin, ant:withKotlin: skip compilation for empty sources
#KT-7618 Fixed
2015-06-11 22:21:16 +03:00
Evgeny Gerashchenko 0ddfedba49 Allowed accessing private members from same package, but different package fragment instance. 2015-06-11 18:58:32 +03:00
Evgeny Gerashchenko 4461687ae3 Incremented cache format version: package part hashes changed. 2015-06-11 16:48:27 +03:00
Evgeny Gerashchenko e6bb501c1a Enabled rebuilding when enabling/disabling incremental compilation in IDEA. 2015-06-11 16:48:27 +03:00
Yan Zhulanow 08fa9b639e Gradle: update annotation syntax 2015-06-11 15:19:51 +03:00
Yan Zhulanow e3c6f32b50 Gradle: Subplugin loading process is unrelated to kapt 2015-06-11 15:19:51 +03:00
Yan Zhulanow 853cfdb70b kapt: Move class generation methods to core plugin 2015-06-11 15:19:50 +03:00
Yan Zhulanow 3cfdf21aa4 kapt: Create kotlinAfterJava task after project evaluation 2015-06-11 14:53:50 +03:00
Yan Zhulanow 7561b43336 kapt: Warn on using android-apt with kapt 2015-06-11 14:53:50 +03:00
Yan Zhulanow 39d7674886 kapt: Fix compatibility with android-apt 2015-06-11 14:53:49 +03:00
Yan Zhulanow b9bfc659d5 Gradle: Remove logger argument in SubpluginEnvironment 2015-06-11 14:53:48 +03:00
Yan Zhulanow c2073cb575 kapt: Add logging information 2015-06-11 14:53:48 +03:00
Yan Zhulanow 6ed5bbc2f8 kapt: Initial .class stub support in Gradle 2015-06-11 14:53:47 +03:00
Yan Zhulanow 78af866f5a kapt: Do not fail if annotations.txt file does not exist 2015-06-11 14:53:46 +03:00
Yan Zhulanow a900a424d0 Gradle: Do not inline getOrNull() 2015-06-11 14:53:45 +03:00
Yan Zhulanow f1b6bd5914 kapt: Stop compiler gracefully 2015-06-11 14:53:45 +03:00
Yan Zhulanow fbb8d28120 kapt: Light class stub producer in compiler 2015-06-11 14:53:37 +03:00
Yan Zhulanow 571c9073fa Add AnalyzeCompletedHandlerExtension 2015-06-11 14:50:32 +03:00
Alexey Sedunov e1e1dd9413 Diagnostics: Fix range of DECLARATION_SIGNATURE diagnostics reported on secondary constructors 2015-06-11 13:53:00 +03:00
Alexey Sedunov 95438c7b5d Light Classes: Fix ClassCastException for KotlinNoOriginLightField 2015-06-11 13:52:59 +03:00
Alexey Sedunov bbc644f4c8 Refactoring: Unify getClassOrObject() and getContainingClassOrObject() functions in constructor PSI 2015-06-11 13:52:58 +03:00
Alexey Sedunov 1ab90c7814 J2K: Convert constructor PSI classes to Kotlin 2015-06-11 13:52:57 +03:00
Alexey Sedunov 7ed02dcd58 J2K: Rename constructor PSI classes to *.kt 2015-06-11 13:52:56 +03:00
Alexey Sedunov bfabb40955 Find Usages: Skip KotlinNoOriginLightMethod to avoid NPE (to be be fixed later) 2015-06-11 13:52:55 +03:00
Alexey Sedunov 2a73247566 Find Usages: Rename test class and move test data 2015-06-11 13:52:54 +03:00
Alexey Sedunov 81440815e1 Light Classes: Retain original declarations for nested decompiled classes 2015-06-11 13:52:53 +03:00
Alexey Sedunov ca8e2d4956 Navigation: Implement proper getOriginalElement() for Kotlin declarations.
Run find usages tests with library for both original and navigation elements. Drop duplicating tests. Simplify test class.
TODO: Some usages are not found yet since light methods built from library files do not retain original declarations
2015-06-11 13:52:52 +03:00
Alexey Sedunov ba0000dde1 Navigation: Fix navigation to library sources for Kotlin constructors 2015-06-11 13:52:50 +03:00
Alexey Sedunov e2d758463f Find Usages: Support primary constructors
#KT-7881 Fixed
2015-06-11 13:52:49 +03:00
Alexey Sedunov 1ea2c24562 Light Classes: Primary constructor fixes 2015-06-11 13:52:48 +03:00
Alexey Sedunov 608ce59f15 Resolution: Resolve primary constructor references to primary constructor
itself if it's explicitly present in PSI
2015-06-11 13:52:47 +03:00
Alexey Sedunov b049455aa4 Presentation: Support constructors in JetFunctionPresenter 2015-06-11 13:52:46 +03:00
Alexey Sedunov 034af9e7f2 PSI: Extract JetConstructor class 2015-06-11 13:52:45 +03:00
Alexey Sedunov 64ae0c0036 Find Usages: Add file grouping to test data 2015-06-11 13:52:43 +03:00
Natalia Ukhorskaya d4bf5faeec Fix validation of field breakpoints for package classes with several files 2015-06-11 12:15:09 +03:00
Natalia Ukhorskaya da263ce090 Show all kotlin properties in 'Add field watchpoint' dialog 2015-06-11 12:15:07 +03:00
Natalia Ukhorskaya cc5045a333 Fix warnings 2015-06-11 12:15:05 +03:00
Natalia Ukhorskaya e99bd89139 Copy AddFieldBreakpointDialog from IDEA 2015-06-11 12:15:01 +03:00
Natalia Ukhorskaya 19fe6c58fa FieldWatchpoints: reload breakpoint type if property changed 2015-06-11 12:14:59 +03:00
Natalia Ukhorskaya 0a1bfcec04 Remove delegate to JavaFiledBreakpoint 2015-06-11 12:14:57 +03:00
Natalia Ukhorskaya b1f9341ab4 Rewrite filters panel 2015-06-11 12:14:55 +03:00
Natalia Ukhorskaya 14f90f15e5 Field WatchPoints: add ability to stop at initializer 2015-06-11 12:14:53 +03:00
Natalia Ukhorskaya d7375e0dc4 Create custom panel for field watchpoints 2015-06-11 12:10:19 +03:00
Natalia Ukhorskaya d198a9fa7f Minor: move class to separate file 2015-06-11 12:10:19 +03:00
Natalia Ukhorskaya 9f041b9555 Field watchpoints: render message in status bar properly 2015-06-11 12:10:18 +03:00