Mikhail Glukhikh
9f02a8b2a8
Migration: PlatformHeaderAnnotator -> PlatformExpectedAnnotator
2017-09-15 18:26:59 +03:00
Mikhail Glukhikh
74f81f38ba
Migration to expect/actual: highlighter markers
2017-09-15 18:26:46 +03:00
Mikhail Glukhikh
2d0ac0011a
Migration to expect/actual: ExpectedActualDeclarationChecker
2017-09-15 18:26:23 +03:00
Mikhail Glukhikh
c4fd1a8e5c
Migration to expect/actual: ModifierCheckerCore
2017-09-15 18:26:16 +03:00
Mikhail Glukhikh
fba1a2a2db
Migration to actual/expect: quick-fix CreateActualFix with tests
2017-09-15 18:26:09 +03:00
Mikhail Glukhikh
810d62bbaf
Add expect & actual to MODIFIERS_TO_REPLACE table
2017-09-15 18:26:02 +03:00
Mikhail Glukhikh
eb648e20c6
Add expect & actual modifiers
2017-09-15 18:25:56 +03:00
Stanislav Erokhin
e86d2f00ff
Rename isImpl to isActual in descriptors
2017-09-15 18:25:49 +03:00
Stanislav Erokhin
c8ee424f67
Rename isHeader to isExpect in descriptors
2017-09-15 18:25:41 +03:00
Stanislav Erokhin
fd6eab38e5
Regenerate comments in protobuf files for isHeader -> isExpect
2017-09-15 18:25:34 +03:00
Stanislav Erokhin
4dc47c734c
Rename has[Header|Impl]Modifier() to has[Expect|Actual]Modifier()
2017-09-15 18:25:27 +03:00
Stanislav Erokhin
0bf7dc3e0c
Refactoring. Replace hasModifier(IMPL_KEYWORD) to hasImplModifier()
2017-09-15 18:25:20 +03:00
Stanislav Erokhin
1ebfe1af43
Refactoring. Replace hasModifier(HEADER_KEYWORD) to hasHeaderModifier()
2017-09-15 18:25:13 +03:00
Yan Zhulanow
79b2b40289
Allow access to effectively invisible declarations in evaluator (KT-18775)
2017-09-15 17:54:46 +03:00
Yan Zhulanow
5641909d1d
Parcel: Invoke box tests as an external process to prevent class clashes with IntelliJ platform
2017-09-15 17:54:46 +03:00
Mikhail Zarechenskiy
11b6382518
Revert "Setup JDK roots and initialize JDK_HOME in common core environment"
...
This reverts commit 05dd4714045494dcc648412t 2ea2179a242991639.
2017-09-15 16:47:42 +03:00
Mikhail Zarechenskiy
05dd471404
Setup JDK roots and initialize JDK_HOME in common core environment
...
#KT-20167 Fixed
2017-09-15 16:34:12 +03:00
Anton Bannykh
373bd5ff17
JS: throw exception on access to an uninitialized local variable (KT-20248 fixed)
2017-09-15 14:46:26 +03:00
Nikolay Krasko
aa442860c2
Run inline usages search in debugger under progress indicator (KT-19974)
...
#KT-19974 Fixed
2017-09-15 12:27:41 +03:00
Mikhail Zarechenskiy
bbf4c56c06
Update generated tests
2017-09-15 11:47:16 +03:00
Mikhail Glukhikh
faaddacec6
Fix "unexpected error type" exception in constructor conversion
...
So #KT-20218 Fixed
2017-09-15 11:17:21 +03:00
Mikhail Glukhikh
13fc526695
Fix "unexpected error type" exception in initializer -> getter
...
So #KT-19674 Fixed
2017-09-15 11:16:51 +03:00
Mikhail Glukhikh
a9ece23e63
Remove BodyResolveMode.FULL from OverrideImplementMembersHandler
2017-09-15 11:15:44 +03:00
Mikhail Zarechenskiy
a63495aa0b
Use language version settings of definitely known module
2017-09-15 08:16:25 +03:00
Yan Zhulanow
26af128694
Parcelable: produce error on "CREATOR" companion object
2017-09-14 19:36:48 +03:00
Yan Zhulanow
d9f99971bb
Disable old Parcelable quickfixes if @Parcelize annotation is present
2017-09-14 19:36:47 +03:00
Yan Zhulanow
e6171dc4c5
Parcelable: Add quick fixes
2017-09-14 19:36:24 +03:00
Yan Zhulanow
8eeed17b65
Add android-extensions-runtime.jar to CLI libs
2017-09-14 19:29:11 +03:00
Yan Zhulanow
9984b6f9d1
Minor: Refactoring
2017-09-14 19:29:10 +03:00
Yan Zhulanow
2fb2211a4d
Kapt: Prevent kaptGenerateStubsTask from being UP-TO-DATE when there is no incremental data generated for some reason
2017-09-14 19:16:55 +03:00
Yan Zhulanow
83bf257666
Kapt: Attach kapt stub location when reporting annotation processor errors
2017-09-14 19:16:55 +03:00
Yan Zhulanow
4ac8a98050
Kapt: Hide fake "Error while annotation processing" error in Android Studio build console
2017-09-14 19:16:54 +03:00
Yan Zhulanow
69051a4764
Simplify KotlinOutputParser, remove old reflection-based logic that didn't work well with the newer versions of Android Studio
2017-09-14 19:16:53 +03:00
Anton Bannykh
74bda80ec2
JS: added forgotten JsLegacyPrimitiveArraysBoxTestGenerated.java
2017-09-14 18:55:12 +03:00
Yan Zhulanow
8e72a1211b
Kapt: Add IDEA integration (KT-19097, KT-17923, KT-19823)
2017-09-14 18:40:55 +03:00
Mikhail Zarechenskiy
b574ddfba0
Deprecate syntax for assigning single named arguments to varargs
...
See more in KT-20171
2017-09-14 18:27:43 +03:00
Mikhail Zarechenskiy
68259f7939
Allow assigning array to vararg in named form in annotations
...
See more in KT-20171
2017-09-14 18:27:41 +03:00
Mikhail Zarechenskiy
f905d56b38
Don't try to get KtFile on random element as it can throw exception
...
For example, this can be for copied elements (DummyHolder)
2017-09-14 18:27:40 +03:00
Mikhail Zarechenskiy
b1d9abdf83
Propagate languageVersionSettings to resolution context
2017-09-14 18:27:34 +03:00
Denis Zharkov
6336ad874b
Get rid of ParametersAreNonnullByDefault copy in test data
2017-09-14 18:05:32 +03:00
Denis Zharkov
24b1f2ed1f
Minor. Update CliTestGenerated.Jvm::testExtraHelp test data
2017-09-14 18:05:32 +03:00
Denis Zharkov
4d95c30360
Restore -Xjsr305-annotations flag as a deprecated
2017-09-14 18:05:32 +03:00
Denis Zharkov
97fed6336b
Add cli tests on different options of -Xjsr305 flag
2017-09-14 18:05:32 +03:00
Denis Zharkov
363d345752
Make default value for -Xjsr305 flag to be WARN
2017-09-14 18:05:32 +03:00
Denis Zharkov
2ca220d442
Ignore built-in type qualifier defaults when Jsr305State=IGNORE
2017-09-14 18:05:32 +03:00
Denis Zharkov
b744ed0fd3
Minor. Remove unused properties
2017-09-14 18:05:32 +03:00
Denis Zharkov
943dd96a87
Fix Jsr305State::STRICT description
2017-09-14 18:05:32 +03:00
Alexander Udalov
d32e101802
Support deprecatedName for advanced CLI arguments
2017-09-14 18:05:32 +03:00
Mikhail Glukhikh
92215b41b9
Replace resolveToDescriptor with unsafeResolveToDescriptor
...
Now unsafeResolveToDescriptor is equivalent to resolveToDescriptorIfAny
but throws exception in case no descriptor is found.
Old version of resolveToDescriptor is kept intact but made deprecated.
Some clarifying comments were added
2017-09-14 17:20:37 +03:00
Toshiaki Kameyama
cd6201c5df
Java class with static-only methods can contain 'protected' members ( #1257 )
...
#KT-19651 Fixed
2017-09-14 15:47:10 +03:00