Commit Graph

23228 Commits

Author SHA1 Message Date
Natalia Ukhorskaya 1c135e7ac7 Minor: rename test 2015-06-11 12:10:16 +03:00
Natalia Ukhorskaya 1ed9ea44a9 Line numbers for traits 2015-06-11 12:10:16 +03:00
Natalia Ukhorskaya 04db433ab5 Minor: Evaluate expression tests, support resume instruction 2015-06-11 12:10:15 +03:00
Zalim Bashorov 07bb0ce481 Minor: remove files temporary copied from IDEA 2015-06-10 21:39:21 +03:00
Mikhail Glukhikh f03a35d7ce Resolve refactoring: resolvePropertyDeclarationBodies 2015-06-10 18:38:32 +03:00
Mikhail Glukhikh 40513bda56 Annotation resolve refactoring: AnnotationResolver.resolveAnnotationArguments --> ForceResolveUtil.forceResolveAllContents 2015-06-10 18:38:30 +03:00
Mikhail Glukhikh f9fe8cd341 Fixed annotation resolve for loop parameter or catched exceptions type 2015-06-10 18:38:27 +03:00
Mikhail Glukhikh 731e5d85a4 Annotation arguments resolve refactoring via ForceResolveUtil. Deptecated...Intention fixed accordingly 2015-06-10 18:38:25 +03:00
Alexander Udalov 64b60718e3 Finish off old deprecated function/extension function classes
This reverts commit d14e5b8a72.
2015-06-10 14:41:57 +03:00
Alexander Udalov 5394abc83e Don't use reflection in JetType.getCapability 2015-06-10 14:41:56 +03:00
Alexander Udalov d4c18b3d55 Drop PsiBasedMethodSignatureChecker 2015-06-10 14:41:56 +03:00
Michael Nedzelsky 12d7187394 Minor: extract common logic from KotlinClassFileIndex, KotlinJavaScriptMetaFileIndex 2015-06-10 12:48:11 +03:00
Valentin Kipyatkov 76e501c7ea Experimental framework for inline constants 2015-06-10 11:35:00 +03:00
Valentin Kipyatkov 657abffea2 Minor code improvement 2015-06-10 11:34:59 +03:00
Valentin Kipyatkov ef550e1f21 Reduced number of constant renderers in DescriptorRenderer 2015-06-10 11:34:59 +03:00
Valentin Kipyatkov 4263c47f4d DescriptorRenderer: moved enums out 2015-06-10 11:34:59 +03:00
Valentin Kipyatkov fcf613cf03 Replacing usages of DescriptorRenderer.renderName/renderFqName 2015-06-10 11:34:59 +03:00
Valentin Kipyatkov acdf6b2821 Minor 2015-06-10 11:34:59 +03:00
Valentin Kipyatkov c661e2fbe2 DescriptorRenderer uses FqName.render(), not the opposite 2015-06-10 11:34:59 +03:00
Valentin Kipyatkov 2d5611d916 DescriptorRenderer uses Name.render(), not the opposite 2015-06-10 11:34:58 +03:00
Valentin Kipyatkov 0766e685b1 Minor code improvements 2015-06-10 11:34:58 +03:00
Valentin Kipyatkov 55b898167b DescriptorRendererImpl made internal + minor improvements 2015-06-10 11:34:58 +03:00
Valentin Kipyatkov 2601e0ccd4 Fixed non-equivalent conversion from Java 2015-06-10 11:34:58 +03:00
Valentin Kipyatkov a1ff2f20ed Got rid of DescriptorRendererBuilder providing new scheme for creating DescriptorRenderer's 2015-06-10 11:34:58 +03:00
Valentin Kipyatkov ce2ce44d7b Converted DescriptorRenderer, DescriptorRendererImpl and DescriptorRedererBuilder to Kotlin 2015-06-10 11:34:58 +03:00
Michael Nedzelsky 855715cc5c extract common logic to KotlinAbiVersionIndexBase 2015-06-10 05:38:18 +03:00
Michael Nedzelsky dac10944e0 JS: add notification for incompatible abi version for Kotlin/JavaScript libraries 2015-06-10 05:38:15 +03:00
Michael Nedzelsky 1dd101f362 add KotlinJavaScriptAbiVersionIndex 2015-06-10 05:38:12 +03:00
Michael Nedzelsky 2e8c9fe362 KotlinAbiVersionIndex: refactoring after converting 2015-06-10 05:38:08 +03:00
Michael Nedzelsky a396222652 convert to kotlin: KotlinAbiVersionIndex.kt 2015-06-10 05:38:05 +03:00
Michael Nedzelsky cec792c3d3 rename KotlinAbiVersionIndex.java -> KotlinAbiVersionIndex.kt 2015-06-10 05:38:02 +03:00
Michael Nedzelsky 999c83240c JS: error message (not exception) for incompatible abi version during compilation 2015-06-10 05:37:57 +03:00
Dmitry Jemerov 34577a7e12 add test for ReferencesSearch; use standard isReferenceTo() API (which is the same thing for Kotlin but more efficient for non-Kotlin references) 2015-06-09 20:45:11 +02:00
Dmitry Jemerov 7d02b522db KotlinReferencesSearcher: remove enclosing read action, use queryParameters.getOptimizer().searchWord
#KT-7917 Fixed
2015-06-09 20:45:10 +02:00
Dmitry Jemerov 527751e967 KotlinReferencesSearcher: cleanup after J2K 2015-06-09 20:45:10 +02:00
Dmitry Jemerov b2a6531255 KotlinReferencesSearcher: J2K 2015-06-09 20:45:09 +02:00
Dmitry Jemerov 7ba13e5425 KotlinReferencesSearcher: rename to .kt 2015-06-09 20:45:09 +02:00
Evgeny Gerashchenko 4c6fcef221 Disable access to incremental caches when incremental compilation mode is disabled. 2015-06-09 20:03:21 +03:00
Evgeny Gerashchenko c48378260e Path hash code is case-agnostic. This is to avoid changing it if e.g. path to project is reconfigured from C:\Work to c:\work 2015-06-09 20:03:21 +03:00
Evgeny Gerashchenko 959364aa77 Fixed sticking of incremental cache data when case of file path is changed. 2015-06-09 20:03:20 +03:00
Alexander Udalov 4815a9e5a8 Fix kotlin-reflect Maven artifact, attach sources jar 2015-06-09 15:39:04 +03:00
Alexander Udalov 4c7bcc8e1a Minor, specify version for maven-jar-plugin 2015-06-09 15:01:18 +03:00
Mikhail Glukhikh a792b29a78 Exception fix: more accurate type annotation parsing #EA-69124 Fixed 2015-06-09 14:36:12 +03:00
Mikhail Glukhikh 804bf3ad22 Refactoring of AnnotationResolver.resolveAnnotation(s)Arguments 2015-06-09 14:36:08 +03:00
Pavel V. Talanov a525c2f654 Fix folding after changes to parser 2015-06-08 20:51:10 +03:00
Pavel V. Talanov 07d35d305e Create import list psi element even if no directives are present
Fix a problem where deleting last import directive via "optimize imports" could lead to incorrect psi structure resulting in CCE, see EA-64291
New imports are inserted at the head (after package directive if present) of the file (before any comments) if no imports were present
Add test for inserting import to file where a first statement is a comment
Drop code dealing with non-existing import list in ImportInsertHelperImpl
AbstractQuickFixTest: check for unexpected actions before changes to the file are made as it relies on the first line having specific format
2015-06-08 20:51:04 +03:00
Pavel V. Talanov 4c4f730c53 Minor: Remove dead code in ScopeProvider 2015-06-08 20:25:55 +03:00
Pavel V. Talanov d3315f5ebb Refactor: Do not pass rootScope to QualifiedExpressionResolver#processImportReference 2015-06-08 20:25:54 +03:00
Pavel V. Talanov 39e78cad2a Always pass moduleDescriptor to QualifiedExpressionResolver#processImportReference
Passing package view descriptor has the same effect
2015-06-08 20:25:54 +03:00
Pavel V. Talanov 7585cbfe22 Remove check in visibilities that allowed access to privates of outer packages
It doesn't work for a while now in imports and is planned to be dropped with upcoming changes to private
2015-06-08 20:25:52 +03:00