Commit Graph

19467 Commits

Author SHA1 Message Date
Pavel V. Talanov fbefd08de3 Structure view for compiled kotlin files 2014-12-21 14:23:39 +03:00
Pavel V. Talanov 01804a8853 Use module file index in getModuleInfo to determine source/test module info
Do not include files that are in content of module but are not in source content
Do not log error in case there is compiled kotlin file in source content
2014-12-21 14:23:39 +03:00
Pavel V. Talanov 2fec18ffa7 Limit search scope in DecompiledNavigationUtils
To avoid finding classes that are not under relevant roots
2014-12-21 14:23:38 +03:00
Pavel V. Talanov 08241f508e KotlinDirectInheritorsSearcher: exclude library source from search 2014-12-21 14:23:37 +03:00
Pavel V. Talanov 063870d4de Enable DeclarationHintSupport for decompiled kotlin files 2014-12-21 14:23:36 +03:00
Pavel V. Talanov 14649337ae Enable basic highlighting in decompiled kotlin files 2014-12-21 14:23:36 +03:00
Pavel V. Talanov 256e9a6b86 Refactor ProjectRootsUtil
Account for cases when there library source files under classes root
2014-12-21 14:23:35 +03:00
Pavel V. Talanov ba22c3d790 Remove all usages of JetFromJavaDescriptorHelper
Rewrite some utilities in KotlinIndicesHelper
ResolutionFacade#resolveToDescriptor() should be avoided on psi from compiled kotlin for now
2014-12-21 14:23:35 +03:00
Pavel V. Talanov dbdf3c0e98 Update JetQuickDocumentationProvider 2014-12-21 14:23:34 +03:00
Pavel V. Talanov 5573887c29 Minor: Add TODO 2014-12-21 14:23:33 +03:00
Pavel V. Talanov 571e71606c getModuleInfo for KotlinLightClassForDecompiledDeclaration 2014-12-21 14:23:33 +03:00
Pavel V. Talanov f72f67ed97 Update NavigateToDecompiledLibraryTest 2014-12-21 14:23:32 +03:00
Pavel V. Talanov 55589a32da NavigateFromLibrarySourcesTest: update test for library source light classs 2014-12-21 14:23:32 +03:00
Pavel V. Talanov 8d01c433f0 Build light classes for compiled kotlin files
This is needed for kotlin binaries to be resolved from java code
2014-12-21 14:23:31 +03:00
Pavel V. Talanov ec4f506f8f Minor: move some code to super class in Kotlin light classes 2014-12-21 14:23:31 +03:00
Pavel V. Talanov eb1feeb480 Tests for kotlin nested class members completion from java 2014-12-21 14:23:30 +03:00
Pavel V. Talanov 56e3983dc9 Move and rename JavaElementFinderMultiFileTest
It is now relevant for IDE only
2014-12-21 14:23:30 +03:00
Pavel V. Talanov 64549b5dd3 Update DecompiledTextForWrongAbiVersionTest 2014-12-21 14:23:29 +03:00
Pavel V. Talanov 15b2977b85 Refactor: refine API of LightClassGenerationSupport
Move some specific code to IDELightClassGenerationSupport
2014-12-21 14:23:28 +03:00
Pavel V. Talanov 33fc241158 Rework go to symbol/class and getNavigationElement() for kotlin declarations
Based on work by geevee
2014-12-21 14:23:28 +03:00
Pavel V. Talanov 5676b0bf7c Minor: add another mode to JetSourceFilterScope 2014-12-21 14:23:27 +03:00
Pavel V. Talanov 79ce7135a4 Update AbstractDecompiledTextTest 2014-12-21 14:23:27 +03:00
Pavel V. Talanov 6cf14f5500 Update JetClassFileViewProvider: JetClsFile is Kotlin compiled file 2014-12-21 14:23:26 +03:00
Pavel V. Talanov 6362336208 Test stubs for compiled Kotlin files 2014-12-21 14:23:26 +03:00
Pavel V. Talanov afc6ba5e16 Build kotlin stubs for compiled Kotlin files
This means that JetPsi would be built for compiled kotlin files
2014-12-21 14:23:25 +03:00
Pavel V. Talanov e9fa9bac47 Minor: Extract LoggingErrorReporter 2014-12-21 14:23:24 +03:00
Pavel V. Talanov e20dd42aa4 Refactor stubs:
Convert all interface classes to kotlin and move them into one file
Convert some of Impl classes
Fix typo: hasValOrValNode
Extract ModifierMaskUtils
Minors
2014-12-21 14:23:24 +03:00
Pavel V. Talanov 72aba2b758 Change default parameter rendering in decompiled text
So the code does not contain syntax errors
2014-12-21 14:23:23 +03:00
Pavel V. Talanov d0479aa61b DecompiledTextFactory: use own implementation of type normalizer
Do not rely on IDE utils
This makes implementing cls stub builder easier
2014-12-21 14:23:22 +03:00
Pavel V. Talanov 41f2c71081 Refactor: Extract and expose local class data finder as separate class 2014-12-21 14:23:22 +03:00
Pavel V. Talanov 9e784e7018 Minor: Add some utils to KotlinBuiltIns 2014-12-21 14:23:21 +03:00
Evgeny Gerashchenko c6c3e5a4c6 Updated test data according to JPS. Behavior is still wrong, but it is work in progress on IDEA side. 2014-12-20 15:06:53 +03:00
Natalia Ukhorskaya c6d134d63c Debugger: change usage of getSourcePosition method to SourcePositionManager
(cherry picked from commit f1c4e36)
2014-12-20 15:06:03 +03:00
Zalim Bashorov c6777db64f Update to IDEA 14.0.3 EAP (139.791.2) 2014-12-20 15:06:03 +03:00
Andrey Breslav 633a4aa8f2 Self-types marked as unsupported 2014-12-19 20:36:16 +03:00
Nikolay Krasko f8dc0d028d Remove warning about long look-ahead
It's do a annoying warn when there's a code like this:

{
  call(params)
  call(params)
  call(params)
}
2014-12-19 17:29:24 +03:00
Nikolay Krasko db488ad295 Add utility function for getting text with context 2014-12-19 17:29:24 +03:00
Michael Nedzelsky 98fde07c9e fix check in KotlinMavenConfigurator.isConfigured 2014-12-19 16:14:52 +03:00
Alexander Udalov 6793464cd0 Drop obsolete code in built-in serialization 2014-12-19 14:41:51 +03:00
Alexander Udalov a6566139ee Minor, fix style issues in ant tasks 2014-12-19 14:38:18 +03:00
Alexander Udalov 444ac32f98 Minor, rename JS Ant tasks
To be able to use the build file from the terminal conveniently, make names
shorter and avoid autocompletion conflict with "compiler"
2014-12-19 14:37:47 +03:00
Alexander Udalov b27d3e91d3 Avoid redefining kotlin2js task in "ant jslib"
This helps to specify custom runtime for the newly built kotlin2js (which is
supposed to be different for the two bootstrapping steps). Also now it's not
required to launch ant-tools task before jslib to build JS library
2014-12-19 14:37:47 +03:00
Alexander Udalov 865b663015 Minor style fixes in ParentLastURLClassLoader 2014-12-19 14:37:47 +03:00
Alexander Udalov 0401b65ae4 Use findLoadedClass instead of hand-written cache in ParentLastURLClassLoader 2014-12-19 14:37:46 +03:00
Alexander Udalov bcf6a885d8 Drop "+StdLib" from manifest entries 2014-12-19 14:37:46 +03:00
Alexander Udalov 4358b3fbc3 Do not use private Sun API in preloader 2014-12-19 14:37:46 +03:00
Nikolay Krasko 5777b23955 Avoid recounting auto-import suggesting for outdated quick-fix objects 2014-12-19 01:41:35 +03:00
Denis Zharkov e479956f57 Note in specs about replacing reified TP with primitives 2014-12-18 21:12:52 +03:00
Denis Zharkov 04e560bc74 Get reified signature from JetTypeMapper
#KT-6485 Fixed
2014-12-18 21:12:52 +03:00
Alexey Sedunov 6df91fdda7 Change Signature: Remove useless indentation 2014-12-18 21:06:16 +03:00