Commit Graph

22968 Commits

Author SHA1 Message Date
Alexey Sedunov 8a751ad74a Call Hierachy: Fix NPE
#EA-67995 Fixed
2015-05-30 18:16:26 +03:00
Alexey Sedunov 26c4efb587 Light Elements: Filter out nulls when converting Kotlin declarations to corresponding light elements
#EA-64403 Fixed
2015-05-30 18:16:25 +03:00
Alexey Sedunov fed8047a59 Find Usages: Fix NPE
#EA-64275 Fixed
2015-05-30 18:16:23 +03:00
Alexey Sedunov e1f660f446 Call Hierarchy: Forbid PsiClass at the hierarchy root
#EA-64406 Fixed
2015-05-30 18:16:22 +03:00
Zalim Bashorov f1d37572c8 JS backend: fix missed variable declarations for tmps in class primary/default constructor
#KT-7864 Fixed
2015-05-29 20:09:46 +03:00
Dmitry Jemerov e0f819d93c document ReplaceWith annotation 2015-05-29 17:11:22 +02:00
Valentin Kipyatkov 0e69162628 DeprecatedSymbolUsageFix to not be available for functions with optional parameters and no sources 2015-05-29 15:10:14 +03:00
Valentin Kipyatkov 6fbd530eee DeprecatedSymbolUsageFix: changed from descriptors to import back to fq-names as it's more safe 2015-05-29 15:10:14 +03:00
Valentin Kipyatkov 859128744e Fixed DeprecatedSymbolUsageInWholeProjectFix 2015-05-29 15:06:14 +03:00
Valentin Kipyatkov eef0e8e447 JetBlockExpression.getStatements() returns List<JetExpression> instead of List<JetElement> 2015-05-29 14:22:56 +03:00
Valentin Kipyatkov 4927a58101 Reordered methods 2015-05-29 14:07:34 +03:00
Valentin Kipyatkov 609ac21be0 Added TODO 2015-05-29 13:55:48 +03:00
Valentin Kipyatkov df0fc51d68 Moved methods working with calls into appropriate place 2015-05-29 13:55:47 +03:00
Valentin Kipyatkov ac7e6bdfe4 Moved method to psiUtils.kt 2015-05-29 13:55:47 +03:00
Valentin Kipyatkov 85d9855013 Moved methods for package-directory relation into IDEA 2015-05-29 13:55:47 +03:00
Valentin Kipyatkov cbc0a60006 Moving more PSI modification methods to psiModificationUtils.kt 2015-05-29 13:55:47 +03:00
Valentin Kipyatkov 006c02b569 Getting rid of confusing methods on PsiElement's 2015-05-29 13:55:47 +03:00
Valentin Kipyatkov e99b343be3 Moving methods modifying PSI to psiModificationUtils.kt 2015-05-29 13:55:47 +03:00
Valentin Kipyatkov c1e0469188 More simple implementation 2015-05-29 13:55:46 +03:00
Valentin Kipyatkov 494d96bbc7 Refactored PsiElement.parents() into 2 properties 2015-05-29 13:55:46 +03:00
Valentin Kipyatkov 55f70d7d48 Dropped unused methods 2015-05-29 13:55:46 +03:00
Valentin Kipyatkov 0e8a43f746 Moved language independent methods from jetPsiUtil.kt to psiUtils.kt + reordered and gropped them 2015-05-29 13:55:46 +03:00
Valentin Kipyatkov 65383cf68b Fixed incorrect method 2015-05-29 13:55:46 +03:00
Valentin Kipyatkov c8223fff9e getFirstChild().siblings -> allChildren 2015-05-29 13:55:46 +03:00
Alexander Udalov bf09906f35 Fix ISE when caret is on parameter of function type
EA-68570
2015-05-28 22:09:33 +03:00
Alexander Udalov dff3e17d88 Minor, swap order of parameters for clarity 2015-05-28 22:09:24 +03:00
Alexander Udalov 6dbd9b2d01 Minor, set XML indentation to 4 spaces
Was accidentally changed to 2 in 181af17
2015-05-28 22:09:01 +03:00
Valentin Kipyatkov ca3dfdf008 Fixed AbstractQuickFixMultiFileTest badly broken sometime ago 2015-05-28 22:00:36 +03:00
Valentin Kipyatkov 09028390fd Corrected test data 2015-05-28 21:35:05 +03:00
Dmitry Jemerov 443eabf88a make Dokka happy by sorting imports of Java classes 2015-05-28 17:53:12 +02:00
ilya-g ba6a6ce49f Merge pull request #677 from JetBrains/rr/yole/stdlib-docs
stdlib doc-related cleanup
2015-05-28 16:22:42 +03:00
Valentin Kipyatkov 08cf8065ea DeprecatedSymbolUsageFix to keep line breaks when possible 2015-05-28 16:14:15 +03:00
Dmitry Jemerov 8f0f02fc59 correct some errors and omissions in stdlib doc comments 2015-05-28 14:38:36 +02:00
Dmitry Jemerov fa5aa664b5 update build script for new distribution of dokka 2015-05-28 14:38:20 +02:00
Dmitry Jemerov 0e5b6c41dd use new syntax for annotations 2015-05-28 14:14:05 +02:00
Valentin Kipyatkov 5e5e71882e Code cleanup to work more reliably with nested problems 2015-05-28 13:45:24 +03:00
Valentin Kipyatkov 2b61bca6dd Code cleanup includes deprecated symbol usage fixes + code cleanup does not crash on nested usages to fix 2015-05-28 13:45:24 +03:00
Valentin Kipyatkov d415b0c74d Fixed critical bug in DeprecatedSymbolUsageFix 2015-05-28 13:45:07 +03:00
Zalim Bashorov 68eca8bc00 JS backend: add the support secondary constructors 2015-05-28 11:06:06 +03:00
Zalim Bashorov 016534b487 Minor: change package in astUtils.kt: ast -> jsAstUtils 2015-05-28 11:06:05 +03:00
Zalim Bashorov cb37ae5d1e Minor: add "ctor" to dictionary 2015-05-28 11:06:04 +03:00
Zalim Bashorov e11d61d68a JS backend: move all class creation logic from FileDeclaration to ClassTranslator 2015-05-28 11:06:04 +03:00
Zalim Bashorov 6e7be78b98 Minor improvments in ClassTranslator after conversion 2015-05-28 11:06:03 +03:00
Zalim Bashorov c589026a47 Convert ClassTranslator.java to Kotlin 2015-05-28 11:06:02 +03:00
Zalim Bashorov b61c1376a2 ClassTranslator.java -> ClassTranslator.kt 2015-05-28 11:06:02 +03:00
Zalim Bashorov ef5ee5100a JS backend: make CallTranslator more comfortable to use from java 2015-05-28 10:38:30 +03:00
Zalim Bashorov 68f851cbdc Move JvmCodegenUtil#getDelegationConstructorCall to common place (BindingContextUtils) 2015-05-28 10:30:54 +03:00
Zalim Bashorov f3f799aab5 Fix secondary constructor tests for JS -- use non-zero fracitional part 2015-05-28 10:25:12 +03:00
Zalim Bashorov 3fe363e72b Minor: split test to access to companion and to nested object 2015-05-28 10:25:11 +03:00
Zalim Bashorov dc1b91eacd JS: prepare tests for secondary constructors 2015-05-28 10:24:48 +03:00