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
Alexander Udalov
5b2ffd50d3
Use mock JDK instead of full in IDEA plugin tests
2015-04-02 21:57:51 +03:00
Alexander Udalov
72aa3d1465
Use mock JDK in compiler tests where full JDK is not needed
...
- move some of boxWithStdlib tests under fullJdk/ directory, where they will be
compiled against the full JDK
- introduce FULL_JDK in-text directive for the reflection test as only 4 tests
out of 654 needed the full JDK
2015-04-02 21:57:48 +03:00
Alexander Udalov
150e0a4ef2
Print runtime and reflection jar sizes for TeamCity statistics
2015-04-02 21:57:02 +03:00
Dmitry Jemerov
7b507276ed
frontend diagnostics for kotlin.jvm.overloads
...
#KT-7203 Fixed
2015-04-02 20:30:36 +02:00
Dmitry Jemerov
39828bfd32
Implement kotlin.jvm.overloads annotation for generating all overloads of a method that has default parameter values.
...
#KT-2095 Fixed
fix backend-side issues with kotlin.jvm.overloads: support the annotation on constructors, generate nullablity annotations on parameters, generate generic signatures, add various tests
2015-04-02 20:30:26 +02:00
Dmitry Jemerov
e15b984232
Implement kotlin.jvm.overloads annotation for generating all overloads of a method that has default parameter values.
...
#KT-2095 Fixed
2015-04-02 20:30:01 +02:00
Dmitry Jemerov
c1c9d3b090
extract code for generating parameterless constructor into a separate class and rewrite it in Kotlin
2015-04-02 20:30:00 +02:00
Valentin Kipyatkov
d78573059e
Fixed import insertion on paste broken sometime ago
2015-04-02 21:10:54 +03:00
Ilya Ryzhenkov
1fc1c025e9
Fix EA-67177: exception when analysing unfinished assignment expression without RHS.
2015-04-02 18:59:57 +03:00
Pavel V. Talanov
cb7617b3ca
Refactor CompilerConfiguration: keys -> Content roots
...
Represent classpath roots and java source roots as separate entities
2015-04-02 16:13:06 +03:00