Commit Graph

3918 Commits

Author SHA1 Message Date
Nikolay Krasko 6df469b66f KT-4058 Don't check Java annotation in modules with no Kotlin runtime configured
#KT-4058 Fixed
2013-10-25 17:54:24 +04:00
Nikolay Krasko 04115ab8bf KT-4070 KotlinSignature icons in the gutter on a Java source blink/flash on every change of the file
#KT-4070 Fixed
2013-10-25 17:54:23 +04:00
Nikolay Krasko da8a3c52a0 Refactoring: rename and move KotlinFrameworkDetector to ProjectStructureUtil 2013-10-25 17:54:22 +04:00
Natalia Ukhorskaya 3287744415 Add common JetElement for imports: JetImportList 2013-10-25 13:55:40 +04:00
Natalia Ukhorskaya 796dad5798 Do not expand imports after optimizing 2013-10-25 11:05:02 +04:00
Zalim Bashorov da718af8b7 Minor refactoring -- rename some classes and variables. 2013-10-24 19:06:07 +04:00
Zalim Bashorov 5e082368fd Added outputPrefix and outputPostfix parameters to Kotlin Compiler tab. 2013-10-24 19:06:06 +04:00
Zalim Bashorov fbc202d8b2 Switched to use Resource Bundles in Kotlin Compiler Settings Tab
Added mnemonics.
2013-10-24 19:05:56 +04:00
Zalim Bashorov 03071f77bc Added "Generate source maps" to the Kotlin Compiler Settings tab. 2013-10-24 18:37:00 +04:00
Zalim Bashorov c9fe844f02 Added panels for JVM and JS settings to the Kotlin Compiler Settings tab. 2013-10-24 18:37:00 +04:00
Zalim Bashorov faa82317b6 Added "Additional command line parameters" to the Kotlin Compiler Settings tab. 2013-10-24 18:37:00 +04:00
Zalim Bashorov 5a28f4e158 Added support project settings in old kotlin2js compiler and made minor refactoring. 2013-10-24 18:36:59 +04:00
Zalim Bashorov fb8c9c2ef9 Added support project settings to old kotlin2jvm compiler. 2013-10-24 18:36:59 +04:00
Alexey Sedunov 06ab7708ae Extract searchLocalFunction() method 2013-10-24 13:09:30 +04:00
Alexey Sedunov 93e906ef5f Filter usages in import directives 2013-10-23 23:00:30 +04:00
Alexey Sedunov c3c0925de1 Add support of local declarations 2013-10-23 23:00:28 +04:00
Alexey Sedunov 46b14784e1 Fixed KT-4105: Can't find usages of private function 2013-10-23 23:00:27 +04:00
Nikolay Krasko 669104538d Tests for shadowing and redeclaration 2013-10-23 20:43:38 +04:00
Nikolay Krasko d6821ebfb6 Refactoring: Remove misleading that code processes both redeclaration and shadowing
NAME_SHADOWING is a warning so it has never been handled there
2013-10-23 20:43:37 +04:00
Nikolay Krasko e96c76b0d8 Fix multiple registration for redeclaration errors 2013-10-23 20:43:36 +04:00
Alexey Sedunov d9f3858186 Translate JetElementDescriptorProvider to Kotlin 2013-10-23 14:20:13 +04:00
Alexey Sedunov cf8555349e Fix detection of constructor calls and delegates in supertype specifiers 2013-10-23 14:19:47 +04:00
Alexey Sedunov 38660dd9a8 Translate JetUsageTypeProvider to Kotlin 2013-10-23 14:15:15 +04:00
Alexey Sedunov 2add0b0810 Translate utility method getParentByTypeAndPredicate() to Kotlin 2013-10-23 13:17:12 +04:00
Nikolay Krasko 011e2675ab Refactoring: store information about registered redeclaration errors for element 2013-10-22 22:45:29 +04:00
Nikolay Krasko 75b4a0b1d3 Refactoring: extract method 2013-10-22 22:45:28 +04:00
Nikolay Krasko ced0a90573 Fix memory leak by removing storing analyze result from annotators 2013-10-22 22:45:27 +04:00
Pavel V. Talanov 7891eeed23 Update to IDEA 132.719 EAP 2013-10-22 20:07:17 +04:00
Zalim Bashorov 14ca06c6c2 Fixed JetJavaLibCompletionTest on non-windows machines. 2013-10-21 20:45:00 +04:00
Andrey Breslav c84e582397 Correctly report locations of output files 2013-10-21 19:21:23 +04:00
Alexey Sedunov 12a460a145 KT-4043 "Find usages ignores class names usages as class objects" 2013-10-21 17:18:46 +04:00
Alexander Udalov af2a52bd4e Add JetTypeMapper.mapClass
Should be used instead of "mapType(*.getDefaultType(), IMPL)" pattern
2013-10-17 19:01:44 +04:00
Alexander Udalov d22edcdbb3 Delete JetTypeMapperMode.TRAIT_IMPL
The code is much easier with a simple method mapTraitImpl
2013-10-17 19:01:44 +04:00
Andrey Breslav 3960426698 TypeProjection interface extracted 2013-10-17 18:15:51 +04:00
Natalia Ukhorskaya b98ec9f56b Rename class 2013-10-17 13:03:02 +04:00
Natalia Ukhorskaya fc2636572d Do not hide kotlin configuration notifications 2013-10-17 13:03:01 +04:00
Natalia Ukhorskaya 895fed6b97 Rename file 2013-10-17 13:03:00 +04:00
Natalia Ukhorskaya 6c503e5778 Rewrite Absent Jdk Annotations stripe to balloon 2013-10-17 13:02:59 +04:00
Natalia Ukhorskaya d8736e9442 Extract single notification manager 2013-10-17 13:02:58 +04:00
Natalia Ukhorskaya 843e5243b7 Move file 2013-10-17 13:02:57 +04:00
Svetlana Isakova 14cff91fed improved diagnostic message test
added ability to denote required message type (text or html)
2013-10-16 20:41:25 +04:00
Svetlana Isakova 4af0e1a4fc added DiagnosticMessageTest to generator 2013-10-16 20:41:23 +04:00
Svetlana Isakova 2f02427c57 changed DiagnosticMessageTest
added test arguments to test data
2013-10-16 20:41:23 +04:00
Svetlana Isakova 4666b0f50c refactoring: removed logic of rendering 'expected type mismatch' error from constraint system 2013-10-16 19:51:53 +04:00
Svetlana Isakova a19acc43e0 removed ExtendedInferenceErrorData
after 'type bound violated' error had gone to constraint system
2013-10-16 19:51:53 +04:00
Svetlana Isakova 731efd0781 added declared bound constraints directly to constraint system
added status 'hasViolatedUpperBound'
class TypeConstraintsImpl now stores constraint position for each constraint,
so we can filter out bound constraints and find out if the system is successful without them
2013-10-16 19:51:53 +04:00
Nikolay Krasko b59f797122 Fix invoke later for disposed project
EA-44383 - assert: ComponentManagerImpl.getComponent
2013-10-16 18:56:52 +04:00
Nikolay Krasko 0c49b91098 Complete functions with single parameter on typing '{'
For KT-4049 When completing a function that takes a lambda and immediately typing '{', swallow the '{'
 #KT-4049 Fixed
2013-10-16 18:56:51 +04:00
Zalim Bashorov 31a4d91122 CLI: drop CompilerArguments and unnecessary methods from *CompilerArguments classes 2013-10-16 17:39:49 +04:00
Zalim Bashorov 5e0ef68d64 JPS: switch to using *CompilerArgument classes(from IDEA Project Settings) in build. 2013-10-16 17:39:49 +04:00