Mikhail Glukhikh
a4be89e5fd
JS: unnecessary 'val' removed from constructor
2016-04-27 18:42:04 +03:00
Mikhail Glukhikh
ee46c34a5e
Android: unnecessary 'val's removed from constructors
2016-04-27 18:42:00 +03:00
Mikhail Glukhikh
5a66ef2126
Core & compiler: unnecessary 'val's removed from constructors
2016-04-27 18:41:56 +03:00
Mikhail Glukhikh
84a3f729ca
IDEA: unnecessary 'val's removed from constructors
2016-04-27 18:41:52 +03:00
Mikhail Glukhikh
1744897561
Can be parameter inspection: use inside object literals is now handled as "property use"
2016-04-27 18:41:48 +03:00
Mikhail Glukhikh
64ae9af3a4
Can be parameter inspection: use in selector position is now always handled as "property use"
2016-04-27 18:41:45 +03:00
Mikhail Glukhikh
795b92461e
Can be parameter inspection: use inside function literals is now handled as "property use" #KT-11949 Fixed
2016-04-27 18:41:41 +03:00
Ilya Gorbunov
ae2e3f1811
kotlin-test: add assertFails overload with message.
2016-04-27 18:22:20 +03:00
Ilya Gorbunov
4b533b297e
reified assertFailsWith available in kotlin-test for JS
...
#KT-11346
2016-04-27 18:22:20 +03:00
Ilya Gorbunov
409094f0f7
Make stdlib functions dependent on reified is checks available in JS.
...
#KT-11346 Fixed
2016-04-27 18:22:20 +03:00
Ilya Gorbunov
a5fd95c7d9
JS: Make AbstractList.size pure abstract.
...
#KT-7228 Fixed
2016-04-27 18:22:20 +03:00
Mikhail Glukhikh
6b945ba103
Regular checkType() is now called during condition analysis, TYPE_MISMATCH_IN_CONDITION removed #KT-11998 Fixed
2016-04-27 18:12:28 +03:00
Alexey Sedunov
e6ab2f1c2d
Change Signature: Do not use local declaration as a context for a type code fragment
2016-04-27 15:48:42 +03:00
Stanislav Erokhin
c6cb5175a4
Minor. Use capability instead of capabilities.
2016-04-27 14:13:59 +03:00
Stanislav Erokhin
926da77abe
Refactoring. Remove getSubstitution from KotlinType.
2016-04-27 14:13:59 +03:00
Stanislav Erokhin
5fe48313e9
Refactoring. Merge CustomSubstitutionCapability, CustomFlexibleRendering and RawTypeTag into RawTypeCapability.
2016-04-27 14:13:58 +03:00
Alexander Udalov
922f133d75
Perform version override earlier and only on teamcity
2016-04-27 10:55:33 +03:00
Mikhail Zarechenskiy
69b4837830
Move part of code that related to 'Optimize imports' action to ide-common module
2016-04-26 20:46:06 +03:00
Mikhail Zarechenskiy
b677e9d2ea
Get rid of guava's collections and dependency on Idea's settings from util function
...
This commit prepares 'prepareOptimizedImports' function to
move to the ide-common module to reuse it in the Eclipse plugin
2016-04-26 20:46:06 +03:00
Nikolay Krasko
09af830476
Do no analyze for annotation search if no annotation entries present
2016-04-26 20:43:26 +03:00
Nikolay Krasko
dbdea86d78
Add note about fixing deadlock in debugger (KT-12067)
2016-04-26 20:43:26 +03:00
Nikolay Krasko
2b51b526ba
Enable injection in injection tests
2016-04-26 20:43:26 +03:00
Nikolay Krasko
64c46a33c4
Make parameter injection work for Java methods
2016-04-26 20:43:26 +03:00
Nikolay Krasko
3e35c60406
First version of injection with annotation on parameter
2016-04-26 20:43:26 +03:00
Nikolay Krasko
6ca9ba9e30
Implement withAnnotation() pattern for parameter pattern
2016-04-26 20:43:26 +03:00
Nikolay Krasko
8eda5e0ea5
Refactoring replace trimMargin() with trimIndent(). This is preparation for injection bootstrapping in tests.
2016-04-26 20:43:26 +03:00
Nikolay Krasko
a6d129b006
Add write action for shorten references in finish template after building call (KT-12056)
...
Write action was removed in idea 146
#KT-12056 Fixed
2016-04-26 20:43:26 +03:00
Nikolay Krasko
30e8c67d01
Add write action for shortening references in templates (KT-11418)
...
Write action was removed in idea 146.
#KT-11418 Fixed
2016-04-26 20:43:26 +03:00
Nikolay Krasko
cae366f97e
Revert write actions in utility code (EA-81892)
...
Revert commits:
ab0fe0a900
97a97614b5
2016-04-26 20:43:26 +03:00
Nikolay Krasko
7327275bf4
Auto-test running intention isApplicable() from pooled thread
2016-04-26 20:43:26 +03:00
Alexey Sedunov
9858b178c0
Change Signature: Fix context element for type code fragments to avoid bogus "Type can not be resolved" warnings
...
#KT-11862 Fixed
2016-04-26 20:11:59 +03:00
Zalim Bashorov
3048c293d0
Minor: fix tests
2016-04-26 19:11:05 +03:00
Alexey Andreev
76cfe8cabc
KT-11100 Fix generation of name of FakeCallableDescriptorForObject that is presumably used to express invoke operator on (companion) objects
2016-04-26 17:04:09 +03:00
Alexey Sedunov
12987de156
Spring Support: Replace accessor name with property name when processing usages in Kotlin files
...
#KT-11880 Fixed
2016-04-26 16:15:32 +03:00
Kirill
6e08f06bfd
Format spaces in infix call (KT-12018)
...
#KT-12018 Fixed
2016-04-26 15:21:33 +03:00
Kirill
01b754b318
Format spaces in cast expression (KT-12035)
...
#KT-12035 Fixed
2016-04-26 15:21:33 +03:00
Alexey Sedunov
a00c524074
Move: Optimize imports after applying "Move declaration to separate file" intention
...
#KT-10174 Fixed
2016-04-26 13:59:11 +03:00
Alexey Sedunov
676000cdf7
Move: Keep original file package name when moving top-level declarations to separate file (provided it's not ambiguous)
...
#KT-10950 Fixed
2016-04-26 13:59:10 +03:00
Alexey Sedunov
332fe29e94
Move: Allow choosing source root in "Move file to directory" intention
...
#KT-11512 Fixed
2016-04-26 13:59:08 +03:00
Alexey Sedunov
aaa873f227
Move: Convert implicit receiver to this when moving class member to companion object
...
#KT-11483 Fixed
2016-04-26 13:59:07 +03:00
Alexey Sedunov
6faedc1adc
Move: Add missing write action
...
#KT-11482 Fixed
2016-04-26 13:59:05 +03:00
Nikolay Krasko
6b7aa98980
Test data modification: Don't compute compiled bytecode for same expression twice
...
Result of dc9fa6d9ac commit.
Previously computation were saved into the map that were invalidated by the computation. Now map is recreated after computation and result is saved into it.
2016-04-25 19:50:22 +03:00
Zalim Bashorov
658eac2d12
Add Unit to compiled part of Kotlin JS stdlib and don't show "Kotlin not configured" for Kotlin JS projects
...
#KT-11556 Fixed
2016-04-25 17:58:51 +03:00
Denis Zharkov
fc25d70edc
Expand JVM built-ins blacklist
...
Add Enum.getDeclaringClass, Enum.finalize and List.sort
2016-04-25 17:41:08 +03:00
Denis Zharkov
62f2bddda9
Add AdditionalBuiltInsMembersSignatureListsTest
...
This test checks that every signature listed within
JvmBuiltInsAdditionalClassPartsProvider corresponds to some real JDK member
2016-04-25 17:41:08 +03:00
Denis Zharkov
7d729a1fe0
Minor. Inline helper properties
2016-04-25 17:41:08 +03:00
Denis Zharkov
0d4a132be5
Minor. Regenerate tests
2016-04-25 17:41:08 +03:00
Denis Zharkov
9bf2538e4c
Introduce predefined enhancement info
...
It can be used to specify enhanced signature for standard JDK methods
without them be actually annotated
#KT-9194 In Progress
#KT-5175 In Progress
#KT-10370 In Progress
#KT-7127 In Progress
2016-04-25 17:41:08 +03:00
Denis Zharkov
3bda613317
Minor. Rename BuiltInClassesAreSerializableOnJvm -> JvmBuiltInsAdditionalClassPartsProvider
2016-04-25 17:41:08 +03:00
Denis Zharkov
a1d4214a39
Use fq-names instead of descriptors when computing ambigious names
...
Because there can be different descriptors that are essentially equal
(from different modules)
See J2K test: testNullableField
2016-04-25 17:41:08 +03:00