Alexander Udalov
|
9004367f3c
|
Minor refactoring in DeprecatedCallChecker
|
2016-10-07 20:14:54 +03:00 |
|
Alexander Udalov
|
8949ffbef1
|
Do not report deprecation on members of deprecated companion
This deprecation is reported on the companion itself anyway
|
2016-10-07 20:14:53 +03:00 |
|
Alexander Udalov
|
b08ed14f66
|
Rename PlatformTypesMappedToKotlinChecker -> PlatformClassesMappedToKotlinChecker
To prevent confusion with the term "platform type" which has gained a new
meaning since this class was introduced
|
2016-10-07 20:14:05 +03:00 |
|
Alexander Udalov
|
6ec868d84e
|
Pass LanguageVersionSettings to ClassifierUsageChecker
To be used in future classifier usage checkers
|
2016-10-07 20:13:24 +03:00 |
|
Alexander Udalov
|
9fd698db36
|
Fix NPE in StorageManager on sanitizing stack trace
This could happen when running the compiler from the command line, where
MemoryBasedClassLoader is used which does not ever create Package instances.
|
2016-10-07 20:13:23 +03:00 |
|
Sergey Mashkov
|
17137f1c4f
|
KT-13478 Error creating Maven project by archetype: The desired archetype does not exist
don't filter versions in internal mode or if all were filtered out
|
2016-10-07 17:56:05 +03:00 |
|
Sergey Mashkov
|
297248dc4f
|
KT-13638 Update Maven configuration actions in IDE according to changes in https://github.com/JetBrains/kotlin-web-site/pull/458
|
2016-10-07 17:54:32 +03:00 |
|
Sergey Mashkov
|
dafe7e3539
|
KT-14003 kotlinc shebang should use env
|
2016-10-07 17:52:34 +03:00 |
|
Mikhail Glukhikh
|
375a2cc6ab
|
Build fix (AdditionalResolveDescriptorRendererTestGenerated)
|
2016-10-07 17:04:29 +03:00 |
|
Yan Zhulanow
|
34efaea6ea
|
Increment PsiModificationTracker counter in a write action
(cherry picked from commit 73307a2)
|
2016-10-07 16:28:34 +03:00 |
|
Yan Zhulanow
|
2f933cfcf2
|
Kapt: Handle exceptions during annotation processing gracefully
(cherry picked from commit ee26c19)
|
2016-10-07 16:28:33 +03:00 |
|
Yan Zhulanow
|
82160bc86d
|
Parse enum arrays correctly
(cherry picked from commit 5f2b5cf)
|
2016-10-07 16:28:32 +03:00 |
|
Yan Zhulanow
|
f15f90a719
|
Kapt: Support apt options (KT-13984)
(cherry picked from commit b566a37)
|
2016-10-07 16:28:31 +03:00 |
|
Yan Zhulanow
|
0ae9a7a9d1
|
Add TransactionGuard application service to KotlinCoreEnvironment
(cherry picked from commit 3e0b79e)
|
2016-10-07 16:28:30 +03:00 |
|
Yan Zhulanow
|
46f3eae32c
|
Kapt: Dispose every JeElement and JeTypeMirror because some annotation processors may store them in static fields. (KT-13917)
Hello, Data Binding, why you cache them? :(
(cherry picked from commit d86a30b)
|
2016-10-07 16:28:29 +03:00 |
|
Yan Zhulanow
|
f83e7509b2
|
Kapt: typeElement.asType() should preserve type parameters and propagate it to its supertypes (KT-13865)
(cherry picked from commit 92c9cea)
|
2016-10-07 16:28:28 +03:00 |
|
Yan Zhulanow
|
a22721fbd8
|
Kapt: Add test on Map<Key, Intf> and MutableMap<Key, Intf>
(cherry picked from commit 59cdbcb)
|
2016-10-07 16:28:28 +03:00 |
|
Yan Zhulanow
|
30ed279426
|
Kapt: Measure Annotation Processing time
(cherry picked from commit 2554d40)
|
2016-10-07 16:28:27 +03:00 |
|
Yan Zhulanow
|
e770b9ff60
|
Minor: add 'kapt' to dictionary
(cherry picked from commit 2f44b0b)
|
2016-10-07 16:28:26 +03:00 |
|
Yan Zhulanow
|
238340a143
|
Kapt: Simplify wrapper tests
(cherry picked from commit 1677984)
|
2016-10-07 16:28:25 +03:00 |
|
Yan Zhulanow
|
e04f834a0e
|
Kapt: Support type parameters in asMemberOf() (KT-13804)
(cherry picked from commit 0d97d73)
|
2016-10-07 16:28:24 +03:00 |
|
Yan Zhulanow
|
415acfbd05
|
Kapt: asMemberOf() should also check the containing type itself, not only its supertypes (KT-13823)
(cherry picked from commit 9f9ffdf)
|
2016-10-07 16:28:23 +03:00 |
|
Yan Zhulanow
|
cb9dc21649
|
Dispose IntelliJ platform components after annotation processing complete.
Annotation processors may cache ProcessingEnvironment.
(cherry picked from commit bd7a9c6)
|
2016-10-07 16:28:22 +03:00 |
|
Yan Zhulanow
|
49926fda36
|
Use LightParameter from Kotlin light classes to add an inner class constructor parameter instead of calling addParameter(name, type). The latter tries to load an icon :( (KT-13798)
(cherry picked from commit cc86d79)
(cherry picked from commit de55de2)
|
2016-10-07 16:28:21 +03:00 |
|
Yan Zhulanow
|
f7f8cff00d
|
Kapt: Return substituted supertypes in directSupertypes() for immediate class types (KT-13746)
(cherry picked from commit 3aae990)
(cherry picked from commit 198115b)
|
2016-10-07 16:28:20 +03:00 |
|
Yan Zhulanow
|
8d2a4c3f91
|
asMemberOf() should always substitute type parameters for methods using the relevant substitutor
(cherry picked from commit dfadd17)
(cherry picked from commit 49b07a7)
|
2016-10-07 16:28:19 +03:00 |
|
Yan Zhulanow
|
16a9941549
|
Kapt: Allow to make CompilerConfiguration mutable again
(cherry picked from commit 0780de8)
(cherry picked from commit 95dde72)
|
2016-10-07 16:28:18 +03:00 |
|
Nikolay Krasko
|
8d9e6f402c
|
Enable using local caches by default for both TeamCity and local testing
(cherry picked from commit b028efa)
|
2016-10-07 13:06:04 +03:00 |
|
Nikolay Krasko
|
4fd0424b38
|
Auto-remove local debugger caches on test data modification
(cherry picked from commit 59c28e4)
|
2016-10-07 13:06:02 +03:00 |
|
Denis Zharkov
|
828ff87db4
|
Update rendered stdlib public API
Many redundant methods were optimized out in the previous commits
|
2016-10-07 11:59:15 +03:00 |
|
Denis Zharkov
|
1ad9f1c985
|
Fix serialVersionUID for EmptyMap and EmptySet
Otherwise removal of redundant special stubs
leads to InvalidClassException during deserialization
|
2016-10-07 11:59:15 +03:00 |
|
Denis Zharkov
|
dfb9b323ff
|
Avoid generation of redundant abstract special stubs
#KT-13698 Fixed
|
2016-10-07 11:59:15 +03:00 |
|
Denis Zharkov
|
6e838f0adc
|
Avoid generation of redundant toArray stubs
#KT-13698 In Progress
|
2016-10-07 11:59:15 +03:00 |
|
Denis Zharkov
|
e05e0ec921
|
Optimize method count for collection stubs
Do not generate stubs if they're already present in superclasses
#KT-13698 In Progress
|
2016-10-07 11:59:15 +03:00 |
|
Denis Zharkov
|
900c442efd
|
Write generic signature for autogenerated toArray
#KT-14195 Fixed
|
2016-10-07 11:59:15 +03:00 |
|
Denis Zharkov
|
3a100d4139
|
Improve exception message in collection stubs
|
2016-10-07 11:59:15 +03:00 |
|
Denis Zharkov
|
8ee568105c
|
Do not generate collection stubs for Kotlin-specific signatures
#KT-14188 Fixed
|
2016-10-07 11:59:15 +03:00 |
|
Denis Zharkov
|
d2de4579de
|
Minor. Extract computation of collection mutable stub list
It's necessary in the next commits to obtain these signatures
without actually emitting any code
|
2016-10-07 11:59:15 +03:00 |
|
Ilya Gorbunov
|
56ecbe52b2
|
Add a test verifying #KT-14194 Fixed
|
2016-10-07 00:15:48 +03:00 |
|
Mikhail Glukhikh
|
70949d10da
|
Refactoring + minor fixes: destructure intention
|
2016-10-06 21:16:46 +03:00 |
|
Mikhail Glukhikh
|
dd7d7a5fc7
|
Destructure inspection: do not apply on variable declarations or function literals without explicit parameters + name & severity changed
|
2016-10-06 21:07:58 +03:00 |
|
Mikhail Glukhikh
|
37debf4436
|
Destructure intention: use also for variable declarations #KT-7488 Fixed
|
2016-10-06 21:03:29 +03:00 |
|
Mikhail Glukhikh
|
de865c6d46
|
getUseScope() fixed for destructuring declarations #KT-14181 Fixed
|
2016-10-06 21:03:24 +03:00 |
|
Mikhail Glukhikh
|
e7d290f726
|
Refactor PSI for destructuring declarations in for: they are now children of KtParameter and not instead of it
|
2016-10-06 21:03:19 +03:00 |
|
Mikhail Glukhikh
|
48437d5965
|
KT-13941 related: "Simplify using destructuring declaration" is now applicable for function literals without parameter specification
|
2016-10-06 21:03:13 +03:00 |
|
Mikhail Glukhikh
|
df0cf3da84
|
"Simplify using destructuring declaration" is now applicable for function literals #KT-13941 Fixed
|
2016-10-06 21:03:08 +03:00 |
|
Mikhail Glukhikh
|
42aea59253
|
Simplify for intention refactoring: focus on the loop parameter, not on the loop itself
|
2016-10-06 21:03:03 +03:00 |
|
Mikhail Glukhikh
|
0a8006a395
|
Minor: destructing --> destructuring in SimplifyForIntention
|
2016-10-06 21:02:58 +03:00 |
|
Mikhail Glukhikh
|
3163d28b29
|
Minor: test fixed
|
2016-10-06 21:02:53 +03:00 |
|
Alexander Udalov
|
8ccc168b87
|
Include output of module daemon-common to compiler jar in compiler-quick
This fixes CompilerDaemonTest with the compiler built by "ant compiler-quick"
|
2016-10-06 14:40:21 +03:00 |
|