Dmitry Kalita
7c911e1f0a
When you build the project for the first time after cleaning, you lose paths to internal_impl jars of support libraries such as
...
build/intermediates/exploded-aar/com.android.support/support-v4/21.0.2/libs/internal_impl-21.0.2.jar
They are absent in javaCompile.getClasspath() when javaCompile task starts.
This patch fixes it.
#KT-7277 Fixed
2015-04-05 13:11:41 +03:00
Dmitry Jemerov
5a0c98ca81
fix compilation now that 'break' inside 'when' is not allowed
2015-04-05 00:33:14 +03:00
Dmitry Jemerov
252c4118eb
report 'break' and 'continue' inside 'when' as errors (even if 'when' is nested in a loop)
2015-04-05 00:33:14 +03:00
Valentin Kipyatkov
8ab12e217d
KT-7267 Arguments are replaced by tab when old call was qualified
...
#KT-7267 Fixed
2015-04-04 22:15:45 +03:00
Valentin Kipyatkov
2c1a0a0c4b
Smart completion: expected type instantiation made higher priority than static members
2015-04-04 22:15:45 +03:00
Valentin Kipyatkov
e2979614ad
KT-7259 Space inserted before parenthesis in completion of call
...
#KT-7259 Fixed
2015-04-04 22:15:45 +03:00
Valentin Kipyatkov
93d9e78047
Minor
2015-04-04 22:15:45 +03:00
Valentin Kipyatkov
29149add09
KT-7247 PsiErrorElementImpl cannot be cast to org.jetbrains.kotlin.psi.JetElement
...
#KT-7247 Fixed
2015-04-04 22:15:45 +03:00
Yan Zhulanow
df12331173
Ignore fragment tag (it requires a different implementation)
2015-04-03 17:38:20 +03:00
Yan Zhulanow
b4cfacbac7
Name synthetic files after layout names
2015-04-03 17:37:24 +03:00
Yan Zhulanow
e6fa6e9a5d
Escape layout names which are Kotlin keywords
2015-04-03 17:37:23 +03:00
Yan Zhulanow
3aa6edca7b
Escape soft keywords as well
2015-04-03 17:37:23 +03:00
Yan Zhulanow
fae114f606
Cast findViewById() result to Views safely
2015-04-03 17:37:23 +03:00
Yan Zhulanow
1f16328070
Add imports for XML widget tags, support.v4 fake package files
2015-04-03 17:37:22 +03:00
Yan Zhulanow
d0e4f86790
Escape widget ids which are Kotlin keywords
2015-04-03 17:37:22 +03:00
Yan Zhulanow
2af538e854
Ignore some XML tags
2015-04-03 17:37:21 +03:00
Yan Zhulanow
938248bd29
Search for all properties in layout files corresponding to the given JetProperty
2015-04-03 17:37:21 +03:00
Yan Zhulanow
96074bc948
Fix Android byte code generation inside complex expressions
2015-04-03 17:37:21 +03:00
Yan Zhulanow
de06a0cbc2
Clear layout cache on layout XML file add/remove
2015-04-03 17:37:20 +03:00
Yan Zhulanow
b930f04ff4
Fix null-related warnings in AndroidRenameProcessor
2015-04-03 17:37:20 +03:00
Yan Zhulanow
638ec2ae92
Fix deprecated Kotlin constructs and remove unused code in Android plugins
2015-04-03 17:37:20 +03:00
Yan Zhulanow
dd083c64cc
Simplify Module resolving in AndroidRenameProcessor
2015-04-03 17:37:19 +03:00
Yan Zhulanow
cbf68e8c6f
Generate synthetic packages even for layouts without @+id/ attributes declared
2015-04-03 17:37:19 +03:00
Yan Zhulanow
0a96c2c148
Lookup XML attribute using the property (for a particular layout)
2015-04-03 17:37:19 +03:00
Yan Zhulanow
a4dc6870dc
Fix Android layout widget redeclarations
2015-04-03 17:37:18 +03:00
Yan Zhulanow
c40598b3e9
Do not cast findViewById to View
2015-04-03 17:37:18 +03:00
Yan Zhulanow
2061e390b4
Support special Android layout XML tags: fragment, include, merge
2015-04-03 17:37:18 +03:00
Valentin Kipyatkov
37af12c4bf
Code improvements after review
2015-04-03 17:16:22 +03:00
Valentin Kipyatkov
5dbd23088f
Removed WritableScope.addClassifierAlias too
2015-04-03 17:16:22 +03:00
Valentin Kipyatkov
54ea6113d7
Replaced addTypeParameterDescriptor with addClassifierDescriptor - it does the same
2015-04-03 17:16:22 +03:00
Valentin Kipyatkov
ffc22e8b16
Removed unused methods
2015-04-03 17:16:21 +03:00
Valentin Kipyatkov
02b2fb000e
Removed unused WriteThroughScope
2015-04-03 17:16:21 +03:00
Valentin Kipyatkov
0162980ff7
Refactored code in QualifiedExpressionResolver so that WritableScope.import* methods are not used anymore
2015-04-03 17:16:21 +03:00
Valentin Kipyatkov
21083b48ce
Minor refactoring in imports resolve
2015-04-03 17:16:21 +03:00
Ilya Gorbunov
12bf8ca94f
Replace deprecated split usage in kdoc.
2015-04-03 12:13:23 +03:00
Ilya Gorbunov
51321c8b36
Remove deprecated isNullOrEmpty declaration, fixed usage.
2015-04-03 12:13:11 +03:00
Michael Nedzelsky
61726fdcb7
JS: merge KotlinJavascriptSerializer into KotlinJavascriptSerializationUtil
2015-04-03 05:36:21 +03:00
Michael Nedzelsky
1c7e1ddf26
JS: remove LibrarySourcesConfigWithCaching, introduce LibrarySourceConfig.Builder
2015-04-03 05:36:18 +03:00
Michael Nedzelsky
6d8fc1e035
JS: load metadata optimization in KotlinJavascriptMetadataUtils
2015-04-03 05:36:15 +03:00
Michael Nedzelsky
563ab47502
JS: add jps build test for Kotlin/Javascript two-module project
2015-04-03 05:36:13 +03:00
Michael Nedzelsky
06aef3164c
JS: use metadata in jps build process
2015-04-03 05:36:10 +03:00
Michael Nedzelsky
9a02db3e8b
JpsJsModuleUtils.java -> JpsJsModuleUtils.kt
2015-04-03 05:36:07 +03:00
Michael Nedzelsky
e779c8a2ae
JpsJsModuleUtils: convert to kotlin
2015-04-03 05:36:05 +03:00
Michael Nedzelsky
5a73bd19c5
JS: move processing metaInfo to TranslationResult
2015-04-03 05:36:02 +03:00
Michael Nedzelsky
dbe59190ed
JS: add writeMetadataToString, serializeToString
2015-04-03 05:35:59 +03:00
Michael Nedzelsky
0951d69bdc
JS: add metaInfo attribute to Config
2015-04-03 05:35:56 +03:00
Michael Nedzelsky
54df359134
JS: add default package name to DescriptorUtils.getPackageNames
2015-04-03 05:35:53 +03:00
Alexander Udalov
4474005183
Fix codegen tests and overloads diagnostic test
2015-04-03 01:38:31 +03:00
Alexander Udalov
6279421094
Minor, add test on Java enum with specialized entry
2015-04-02 21:57:53 +03:00
Alexander Udalov
3c1ead726b
Minor, rename jdkFromIdeaHome -> mockJdk
2015-04-02 21:57:52 +03:00