Commit Graph

19440 Commits

Author SHA1 Message Date
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
Valentin Kipyatkov 7893b1d83f KT-5896 Select Word should always have step for selecting the content of string literal
#KT-5896 Fixed
2014-12-18 19:02:17 +03:00
Valentin Kipyatkov 01b70cfe8e Minor code refactoring 2014-12-18 19:02:17 +03:00
Valentin Kipyatkov 11a72632bc KT-3949 Extend selection in case of comment before several statements
#KT-3949 Fixed
2014-12-18 19:02:17 +03:00
Valentin Kipyatkov 3059a46ca7 Fixed KT-5894 Select Woes: no need to select code block + end of line
+ corrected selection of when

 #KT-5894 Fixed
2014-12-18 19:02:17 +03:00
Valentin Kipyatkov 5f9e685188 KT-5895 Select Word: no need to select argument list including parenthesis
#KT-5895 Fixed
2014-12-18 19:02:16 +03:00
Valentin Kipyatkov dceeeb2724 No need to inherit from java-specific selectioner class 2014-12-18 19:02:16 +03:00
Valentin Kipyatkov 46906fd89c KT-5292 Expand selection should have kdoc + method as a stop point
KT-3947 Extend selection works badly with comment

 #KT-5292 Fixed
 #KT-3947 Fixed
2014-12-18 19:02:16 +03:00
Valentin Kipyatkov acdb750c91 Renamed classes 2014-12-18 19:02:16 +03:00
Valentin Kipyatkov f8ceb039bb Added utilities 2014-12-18 19:02:16 +03:00
Valentin Kipyatkov 47a311cb15 Added word to personal dictionary 2014-12-18 19:02:16 +03:00
Valentin Kipyatkov 848623fe8f Changed format of test data for word selection test - each test's data in own directory 2014-12-18 19:02:16 +03:00
Valentin Kipyatkov ead2dea10d Corrected annotations: ExtendWordSelectionHandler CAN return null 2014-12-18 19:02:15 +03:00