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
Zalim Bashorov
41d0a8be24
JPS: removed unnecessary code for running compiler out of process.
2013-10-16 17:39:48 +04:00
Zalim Bashorov
809e25f48a
IDEA: created a infrastructure for saving any compiler settings.
...
Added "generate no warnings" to Settings.
2013-10-16 17:39:48 +04:00
Zalim Bashorov
fa25489a5b
IDEA plugin: dropped the unused setting "JavaScript target version"
2013-10-16 17:39:47 +04:00
Alexey Sedunov
71a0d4cc45
KT-4018 When moving members move comments too
2013-10-15 18:44:00 +04:00
Alexey Sedunov
28b3db53fe
Fix irregular PSI structure for classes without body
2013-10-15 18:43:59 +04:00
Alexey Sedunov
bdc908d45f
Fix search of package-level function/property usages in Java code
2013-10-15 18:43:57 +04:00
Andrey Breslav
1d540181b0
Produciton code uses a shared application between many projects.
...
Tests always dispose the application together with JetCoreEnvironment
2013-10-15 15:28:28 +04:00
Andrey Breslav
f05f3f5686
Let the user know that class object bounds are not supported
...
KT-4080 Code analisys show all good, but got compile error
#KT-4080 Fixed
2013-10-15 14:45:22 +04:00
Nikolay Krasko
7d7352954e
Fix absence of highlighting for 'as', 'in', 'is' keywords
2013-10-14 16:15:31 +04:00
Andrey Breslav
cd275fd814
'runtime' module replaced by 'kotlin-runtime' library
2013-10-14 14:42:25 +04:00
Andrey Breslav
60425b15e6
Support circular dependencies
...
We generate a module script with information on all modules in the chunk, then build the whole chunk as "one big module"
2013-10-14 14:42:24 +04:00