Nicolay Mitropolsky
f5e3a5faa4
Spring-Kotlin: Gutter repaired (KT-20550, KT-20566)
...
Platform now allows Gutter to be placed only on leafs elements, this patch fixes it for `KotlinSpringClassAnnotator`.
2018-01-12 13:53:28 +03:00
Ilya Gorbunov
9e21744bf5
streamex version was changed in 173-snapshot to 0.6.5
2018-01-12 13:53:27 +03:00
Nicolay Mitropolsky
208a986eab
UAST: support for JvmDeclarationUElement
2018-01-12 13:53:25 +03:00
Nicolay Mitropolsky
f1579d01af
UAST test data fixes: LocalVariableWithAnnotationKt fix for variable type
...
it is not clear for me why it was not `String`
2018-01-12 13:53:24 +03:00
Nicolay Mitropolsky
7c3c59de00
UAST test data fixes: @null in render
...
as a "nullability" annotation for primitive types
2018-01-12 13:53:22 +03:00
Nicolay Mitropolsky
9fed8f1d24
idea-version set to since-build="173.1" until-build="181.*"
2018-01-12 13:53:21 +03:00
Vyacheslav Gerasimov
ceaa34201e
Fix GradleNoduleBuilder use qualified names check
2018-01-12 13:53:19 +03:00
Nicolay Mitropolsky
4c775a9516
JvmFacade-related tests repair
2018-01-12 13:53:18 +03:00
Simon Ogorodnik
7da9268e10
Fix proguard settings for 173 (ignore com.intellij.util.io.TarUtil)
2018-01-12 13:53:16 +03:00
Simon Ogorodnik
f940c0b86f
Fix compilation in 173 (GradleModuleBuilder.java)
2018-01-12 13:53:15 +03:00
Anton Bannykh
4f97040ce5
Fix compilation (MockParameterInfoUIContext.java)
...
(cherry picked from commit 21b0956)
2018-01-12 13:53:14 +03:00
Nicolay Mitropolsky
7eb2d0d185
KotlinLanguageInjector using Registry to enable annotation injections
...
(cherry picked from commit 8bdfeb7)
2018-01-12 13:53:12 +03:00
Simon Ogorodnik
12daf4389e
Fix compilation in 173 (MockParameterInfoUIContext.java)
2018-01-12 13:53:11 +03:00
Dmitry Jemerov
53a3d08a0e
Fix compatibility with BuildScriptDataBuilder API changes
2018-01-12 13:53:09 +03:00
Nicolay Mitropolsky
d7fcc69315
KotlinLanguageInjector#injectInAnnotationCall optimization: using PsiClassNamePatternCondition to avoid calling getResolvedCall
2018-01-12 13:53:08 +03:00
Nicolay Mitropolsky
81b6a61edf
KotlinLanguageInjector can inject into files modified for autocompletion
2018-01-12 13:53:07 +03:00
Nicolay Mitropolsky
1435911437
KotlinLanguageInjector understands patterns-injections into Java annotations
2018-01-12 13:53:05 +03:00
xiexed
743dc80b4d
KtLightAbstractAnnotation build fix for 173 (#1283 )
2018-01-12 13:53:04 +03:00
Dmitry Jemerov
70caae4c6f
Register new service and EPs added in 173
2018-01-12 13:53:02 +03:00
xiexed
defb5a9d10
Fixes for 173 after 28.08.17 changes in IDEA ( #1271 )
...
* `JarFileSystem.getJarRootForLocalFile` now is nullable in IDEA
* Spring-related renamings following ones in IDEA
2018-01-12 13:53:01 +03:00
Nicolay Mitropolsky
6690f9f1da
Build fix for KotlinSpringClassAnnotator after collectNavigationMarkers nullability changes in IDEA 173
2018-01-12 13:52:59 +03:00
Vyacheslav Gerasimov
3f15f7a394
UAST: Fix testPropertyWithAnnotation
2018-01-12 13:52:58 +03:00
Vyacheslav Gerasimov
e6efaaf752
UAST: Add testConvertTypeInAnnotation
2018-01-12 13:52:56 +03:00
Vyacheslav Gerasimov
92c23aa0ed
UAST: override getFunctionalInterfaceType + test
2018-01-12 13:52:55 +03:00
Vyacheslav Gerasimov
8eddb10870
UAST: Properly handle annotations on local variables
2018-01-12 13:52:54 +03:00
Vyacheslav Gerasimov
35fa8efbf3
Fix compilation after moving to idea 173
2018-01-12 13:52:52 +03:00
Vyacheslav Gerasimov
8f7a354592
Download IDEA 173.3188.16
2018-01-12 13:52:51 +03:00
Nikolay Krasko
2a0b7e293f
Minor: KotlinCodeFragmentFactory.kt cleanup
2018-01-11 22:08:18 +03:00
Natalia Selezneva
4d6c83b5b9
Debugger: do not fail if j2k couldn't convert expression creating codeFragment from text
2018-01-11 22:08:17 +03:00
Ilmir Usmanov
c023831a00
Ignore open modifier on top-level suspend function when generating light classes
...
#KT-21642: Fixed
2018-01-11 19:33:47 +03:00
Nikolay Krasko
5da156e93c
Setup modules before test configuration in NavigateToStdlibSourceTest.kt
2018-01-11 15:03:03 +03:00
Nikolay Krasko
91a9d3cf80
Search class after full test configuration in AbstractHierarchyWithLibTest
2018-01-11 15:02:14 +03:00
Nikolay Krasko
2f817662d5
Process only project scope in AbstractHierarchyWithLibTest
2018-01-11 15:01:47 +03:00
Nikolay Krasko
8ade03ac0b
Avoid using mock JDK because of bad cast in ProjectJdkTableImpl.getState
...
com.intellij.openapi.projectRoots.impl.MockSdk cannot be cast to com.intellij.openapi.projectRoots.impl.ProjectJdkImpl
2018-01-11 15:00:57 +03:00
Nikolay Krasko
e710cbb0bb
Don't fail during error reporting on invalid elements
2018-01-11 14:56:32 +03:00
Alexander Udalov
2593ce73f1
Update copyright in generated sources
...
To fix tests that are checking that the generated data is up to date
2018-01-11 12:45:36 +01:00
Nicolay Mitropolsky
9cb62d66cb
KtLightAnnotation: handling vararg with single arg (EA-114679)
...
It is deprecated but yet possible form of usage
2018-01-11 14:05:15 +03:00
Ilya Gorbunov
6197c5bf7f
Add sample for coerceIn with floating point range
...
#KT-20357
2018-01-11 09:05:28 +03:00
Ilya Gorbunov
8fc83e3ff5
Add samples for coerceIn, coerceAtLeast, coerceAtMost for comparable types
...
#KT-20357
2018-01-11 09:05:28 +03:00
shiraji
17573a3c21
Add samples for coerceIn
...
#KT-20357
2018-01-11 09:05:28 +03:00
shiraji
4559da9848
Add samples for coerceAtMost
...
#KT-20357
2018-01-11 09:05:28 +03:00
shiraji
db607e231c
Add samples for coerceAtLeast
...
#KT-20357
2018-01-11 09:05:27 +03:00
kenji tomita
1db0e5c23e
Add samples for reversed list views
...
#KT-20357
2018-01-11 09:05:27 +03:00
AdamMc331
2fc26ba08f
Added samples for property delegates as part of KT-20357.
2018-01-11 09:05:27 +03:00
Vyacheslav Gerasimov
892e901f35
Update changelog for 1.2.20
2018-01-10 20:32:05 +03:00
Ilmir Usmanov
32a94c70e9
Use tail call optimization if ARETURN has multiple sources
...
#KT-21977: Fixed
2018-01-10 20:14:32 +03:00
Ilmir Usmanov
5dbab2f907
Disable tail call optimization, if the call is inside try block
...
#KT-21165: Fixed
2018-01-10 20:13:55 +03:00
Denis Zharkov
3cfe43f83a
Add -Xsupport-compatqual-checker-framework-annotations flag
...
It's implemented through Jsr305State while it's not related
to jsr-305 becasue currently it's the most convenient way
to introduce the flag.
Probably, it's worth renaming Jsr305State to something more abstract
like NullabilityAnnotationsConfiguration
#KT-21982 Fixed
2018-01-10 17:02:46 +03:00
Simon Ogorodnik
40706de3db
Add ability to resolve kdoc links from package view
2018-01-10 16:37:07 +03:00
Alexey Sedunov
75ce68197f
Configuration: Fix API version UI update on language version change
...
#KT-21979 Fixed
#KT-21980 Fixed
2018-01-10 16:24:30 +03:00