Sergey Igushkin
e94e62be98
Add android-extensions-compiler content to kotlin-android-extensions
2017-10-16 21:48:36 +02:00
Ilya Chernikov
431d47a605
Fix dependencies rewriting and gradle integration tests after applying rewriting
2017-10-16 21:48:36 +02:00
Ilya Chernikov
050403d15b
Use rewriteDeps task on the projects with runtime dependency on embeddable compiler...
...
which are using shaded dependencies
2017-10-16 21:48:35 +02:00
Ilya Chernikov
fb70227868
Move embeddable compiler shading logic to buildSrc, implement rewriteDeps task
...
the task takes a jar an a shading task (like the one that creates embeddable
compiler) and rewrites jar's dependencies to the shaded ones according the
the shade task.
2017-10-16 21:48:34 +02:00
Ilya Chernikov
5babf89245
Remove original jar artifact from archives when adding a new one by runtimeJar tasks
2017-10-16 21:48:33 +02:00
Yan Zhulanow
6fb1e269b4
Minor: Fix build, add missing Android library dependency JARs
2017-10-16 22:43:09 +03:00
Yan Zhulanow
43a1162b25
Evaluate: Fix for evaluating local variables captured by an inline function (KT-17514)
2017-10-16 21:25:44 +03:00
Yan Zhulanow
fed5bddde2
Android Extensions: Initial IC support (KT-14125)
2017-10-16 21:25:42 +03:00
Yan Zhulanow
1b5b9f1fbb
Kapt: Support 'correctErrorTypes' in annotations (KT-19518)
2017-10-16 21:25:41 +03:00
Yan Zhulanow
91ed130286
Add additional diagnostic for EA-107110
2017-10-16 21:25:40 +03:00
Yan Zhulanow
58571dcf1d
Fix KNPE in evaluator (EA-89384)
2017-10-16 21:25:39 +03:00
Yan Zhulanow
8c7f469030
Parcelable: Use @IgnoredOnParcel annotation instead of Transient cause it's inapplicable on properties (KT-20298)
2017-10-16 21:25:37 +03:00
Yan Zhulanow
cafd99660a
Minor: Make class abstract to get rid of the warning in tests
2017-10-16 21:25:36 +03:00
Yan Zhulanow
27d3ed76a0
Android Extensions: Support non-latin identifiers (KT-20299)
2017-10-16 21:25:34 +03:00
Yan Zhulanow
eefad896a0
Kapt: Mark 'kapt.kotlin.generated' as a source root automatically in Android projects (KT-20269)
2017-10-16 21:25:33 +03:00
Yan Zhulanow
50ab054883
Kapt: Preserve kapt plugin options if there are also options from compiler plugins (KT-20257)
2017-10-16 21:25:32 +03:00
Yan Zhulanow
d89143e641
Kapt: Report info log messages as warnings
...
Otherwise the log messages are not visible until the "--info" options is provided in Gradle.
2017-10-16 21:25:31 +03:00
Yan Zhulanow
2034b1f075
Parcelable: Provide quick fixes for custom Parceler support
2017-10-16 21:25:29 +03:00
Yan Zhulanow
a63aca08f2
Parcelable: Support custom Parcelers in compiler plugin
2017-10-16 21:25:27 +03:00
Yan Zhulanow
7dbefc1613
Remove generic bound for Parceler
2017-10-16 21:25:25 +03:00
Yan Zhulanow
a4f06c9fa8
Kapt: Do not inline R.resType.resName constants in annotations (KT-18791)
2017-10-16 21:25:24 +03:00
Mikhail Glukhikh
eba2fdfe89
Fix inline test
2017-10-16 21:06:18 +03:00
Stanislav Erokhin
fde1ac5575
Add test for ExpectedTypeFromCast feature
2017-10-16 20:10:57 +03:00
Mikhail Glukhikh
3fb0354676
Minor: add / fix comments (related to KT-20752)
2017-10-16 20:00:47 +03:00
Alexey Andreev
46526db8f0
JS: fix behaviour of char-returning functions with multiple inheritance
...
See KT-19772
2017-10-16 18:56:33 +03:00
Ilya Gorbunov
13d6e96c2f
Do not pack build.txt into jars, leave it only in artifact zip bundles
2017-10-16 18:48:09 +03:00
Ilya Gorbunov
3bea095618
Remove maven poms that are no longer submodules of the main project
2017-10-16 18:48:09 +03:00
Ilya Gorbunov
ef3b0e0ff0
Add kotlin-test parent project
2017-10-16 18:48:09 +03:00
Ilya Gorbunov
13086b4347
Exclude node_modules dir from kotlin-stdlib-js project
...
Minor: shorter IdeaModel configuration.
2017-10-16 18:48:09 +03:00
Ilya Gorbunov
65d9b0edb3
Migrate settings and run configurations from the former libraries subproject
2017-10-16 18:48:09 +03:00
Ilya Gorbunov
341edc3f86
Fork java compiler to ensure forkOptions are used
2017-10-16 18:48:09 +03:00
Ilya Gorbunov
93efc51843
Fix the obsolete form of -Xdump-declarations-to argument
2017-10-16 18:48:09 +03:00
Stanislav Erokhin
b9fa8d4d96
Support parenthesized left expression for ExpectedTypeFromCast
2017-10-16 18:28:57 +03:00
Pavel V. Talanov
539e655802
PluginDeclarationProviderFactory: improve diagnostic
...
Attempting to catch EA-103048
2017-10-16 18:18:36 +03:00
Mikhail Glukhikh
e73e4dcc6a
Delay elvis-bound smart casts to version 1.3
2017-10-16 16:21:46 +03:00
Mikhail Glukhikh
a55c6f0c95
Don't register safe cast type info for unstable values
...
Important: to be removed in 1.3
So #KT-20752 Fixed
2017-10-16 16:21:45 +03:00
Denis Zharkov
8ae3dbdcfc
Refine ClassDescriptor::isCommonFinalClass definition
...
Do not treat annotations as final classes as they are not final in Java
#KT-20776 Fixed
2017-10-16 16:11:35 +03:00
Alexander Udalov
03baa51f82
Write isPreRelease into JvmBuildMetaInfo for non-stable language version
2017-10-16 15:09:37 +02:00
Alexander Udalov
8b0b334601
Extract shouldWritePreReleaseFlag(), use in JS as well as JVM
...
Fix the difference in behavior between JS and JVM
2017-10-16 15:09:36 +02:00
Alexander Udalov
0510c553c3
Mark class files as pre-release if language version > LATEST_STABLE
...
#KT-20547 Fixed
2017-10-16 15:09:36 +02:00
Alexander Udalov
3665255a2b
Extract skipPreReleaseCheck out of DeserializationConfiguration.skipMetadataVersionCheck
2017-10-16 15:09:36 +02:00
Alexander Udalov
8a0dcca957
Do not consider 'expect' class type constructors final
...
Because even a final expected class can be actualized with an open
actual class and thus have subtypes in the platform code
2017-10-16 15:08:50 +02:00
Alexander Udalov
0a861fd4ed
Minor, refine return type of AbstractClassTypeConstructor.getDeclarationDescriptor
2017-10-16 15:08:50 +02:00
Alexander Udalov
dc02b2e3ab
Fix TypeConstructor.isFinal for synthetic class descriptors
...
As in LazyClassTypeConstructor.isFinal, check if the class modality is
Modality.FINAL
2017-10-16 15:08:50 +02:00
Alexander Udalov
2682837fd7
Support 'expect final' -> 'actual open' for callables
...
#KT-17944
2017-10-16 15:08:50 +02:00
Alexey Sedunov
ee9a6ca53e
Introduce Type Parameter: Do not show duplicate dialog under write action
...
#KT-20335 Fixed
2017-10-16 16:04:39 +03:00
Alexey Sedunov
25b6dac7b5
Introduce Type Alias: Don't change non-nullable type to nullable alias
...
#KT-15840 Fixed
2017-10-16 16:04:39 +03:00
Alexey Sedunov
1c3a3cd651
Introduce Parameter: Forbid inside of default values
2017-10-16 16:04:39 +03:00
Alexey Sedunov
790b615fa1
Introduce Parameter: Fix parameter name validation
...
Respect existing parameter names and fix some exceptions
#KT-19439 Fixed
#KT-20402 Fixed
#KT-20403 Fixed
2017-10-16 16:04:39 +03:00
Alexey Sedunov
bf3769f37e
Introduce Parameter: Forbid inside of annotation entries
...
#KT-18594 Fixed
2017-10-16 16:04:38 +03:00