Commit Graph

19452 Commits

Author SHA1 Message Date
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
Alexey Sedunov ec608c5db2 Change Signature: Retain formatting of existing parameters when parameter count/order changes
#KT-6412 Fixed
2014-12-18 21:06:15 +03:00
Alexey Sedunov ec5a01be31 Change Signature: Translate JetChangeInfo to Kotlin 2014-12-18 21:06:14 +03:00
Alexey Sedunov 2927fc9ede Change Signature: Rename JetChangeInfo.java to .kt to keep history 2014-12-18 21:06:13 +03:00
Alexey Sedunov 6544294f8f Change Signature: Translate JetParameterInfo to Kotlin 2014-12-18 21:06:12 +03:00
Alexey Sedunov 04a56afa23 Change Signature: Rename JetParameterInfo.java to .kt to keep history 2014-12-18 21:06:11 +03:00
Alexey Sedunov 17d5e220bb Change Signature: Translate JetMethodDescriptor.java,
JetChangeSignatureData.java to Kotlin
2014-12-18 21:06:10 +03:00
Alexey Sedunov 9d3ebb9695 Change Signature: Rename JetMethodDescriptor.java, JetChangeSignature.java to .kt to keep history 2014-12-18 21:06:09 +03:00
Alexey Sedunov adb1155b6d Minor: Replace deprecated function 2014-12-18 21:06:08 +03:00
Alexey Sedunov 22e258dbee Change Signature: Translate JetUsagesViewDescriptor to Kotlin 2014-12-18 21:06:07 +03:00
Alexey Sedunov a1cab8cd8e Change Signature: Rename JetUsagesViewDescriptor.java to .kt to keep history 2014-12-18 21:06:06 +03:00
Alexey Sedunov 5e34308a08 Change Signature: Translate JetValVar to Kotlin 2014-12-18 21:06:05 +03:00
Alexey Sedunov fe455df001 Change Signature: Drop JetGeneratedInfo class (unused so far) 2014-12-18 21:06:04 +03:00
Alexey Sedunov dd647416f8 Find Usages: Change .text extension to .txt in test data 2014-12-18 21:06:02 +03:00
Evgeny Gerashchenko c02d850334 Minor. Reverted optimized import in generated test 2014-12-18 21:28:14 +04:00
Valentin Kipyatkov eb35827e9a More clear code 2014-12-18 19:02:17 +03:00