Leonid Startsev
8a250b07df
Default case in "load" switch-case throws exception instead of silent read ending.
...
Improved error descriptions, fixed issue with transient properties
without backing field (Kotlin/kotlinx.serialization#2 )
Don't add serialClassDesc property if user already defined one
(Kotlin/kotlinx.serialization#10 )
Bump version to 0.1.1
Fix issue with mixing serial name with real property name (Kotlin/kotlinx.serialization#13 )
2018-09-07 21:16:49 +03:00
Leonid Startsev
8cacaecf90
Changed serialization gradle plugin build to gradle
...
Env variable for idea SDK on TeamCity
Fix kotlin_root dir relative path
Updated broken API after rebase to 1.1.50
Bintray upload setup
2018-09-07 21:16:46 +03:00
Leonid Startsev
ef11fb5857
Js synthetic generation plugin.
...
Fix for JS frontend resolving
Generating serialClassDesc property and save method (w/o virtual calls).
JS Serialization: Load function and synthetic constructor
User-defined serial annotations support
Reference array serialization in JS
Reference array serializer now requires KClass instance as first constructor argument
Finding enum serializer in common module for support in JS
2018-09-07 21:16:46 +03:00
Leonid Startsev
841693643a
KotlinX serialization plugin applied onto latest master
...
IntelliJ project, ant task and maven goal for serialization plugin
Serialization IDEA plugin
2018-09-07 21:16:45 +03:00
Ilya Chernikov
836ea28fe7
Renaming remaining former "environment"-related identifiers
2018-09-06 19:17:44 +02:00
Ilya Chernikov
6716c512d3
[minor] Rename too long named functions
2018-09-06 19:17:43 +02:00
Alexander Udalov
87c0d56618
Drop Annotations.getAllAnnotations
2018-09-06 19:13:14 +03:00
Yan Zhulanow
280a3e3d26
Android Extensions: Support platform modules (KT-26169)
2018-09-06 14:42:23 +03:00
Yan Zhulanow
a434cb00c6
Do not retain proxy-based components for compiler plugin settings in project model (again) (KT-24444)
...
The previous approach didn't work because Gradle wraps the copy() result, and the leakage didn't go away.
2018-09-06 14:42:20 +03:00
Vyacheslav Gerasimov
b868450e9a
Make dependencies on :kotlin-compiler project testRuntimeOnly everywhere
2018-09-05 22:58:31 +03:00
Yan Zhulanow
3276e348cc
Fix kapt tests (Kotlin version updated to 1.3)
2018-09-05 17:15:04 +03:00
Alexander Udalov
896cf61443
Move JVM-specific annotation FQ names and utils to frontend.java
2018-08-27 23:37:06 +02:00
Alexander Udalov
ab441dcd96
Drop PropertyDescriptorImpl.setType that takes KotlinType
...
Only use the other setType that takes an instance of
ReceiverParameterDescriptor. This will make sure that call sites can
use correct receiver annotations
2018-08-27 23:37:05 +02:00
Alexander Udalov
34c033bcaf
Take ReceiverParameterDescriptor in FunctionDescriptorImpl.initialize
...
Instead of just KotlinType. This will allow to pass annotations on the
receiver at call sites
2018-08-27 23:37:04 +02:00
Vyacheslav Gerasimov
bc544d764a
Refactor build repositories to reduce number of unnecessary request
...
Setup for all projects only local, jcenter and bootstrap repositories
2018-08-27 18:09:26 +03:00
Yan Zhulanow
b145c97b37
Kapt: Restore line mappings correctly for nested classes and its members
2018-08-24 04:28:13 +05:00
Yan Zhulanow
c83581e6b8
Kapt: Strict mode. Issue an error if the converter fails to process a class (#KT-25518, #KT-24272)
2018-08-24 04:28:11 +05:00
Yan Zhulanow
ef210d7122
Kapt: Do not write references to anonymous classes to stubs & metadata (#KT-25374)
2018-08-24 04:28:09 +05:00
Yan Zhulanow
43f5971863
Remove unneeded 'idea-full' dependency from compiler plugin test runtime classpath
2018-08-24 04:28:08 +05:00
Yan Zhulanow
d0fd74982d
Parcelize, Minor: Fix tests (writeToParcel/describeContents are not final anymore)
2018-08-24 04:28:06 +05:00
Yan Zhulanow
d08a32c7cb
Kapt: Ignore annotation-processing-gradle compiler plugin we got from Gradle (KT-24714)
...
Cause it's built for the shaded Kotlin compiler and won't work with JPS.
2018-08-24 04:28:05 +05:00
Yan Zhulanow
8c05769745
Parcelize: Fix infinite recursive loop for zero-parameter Parcelable classes (KT-25839)
2018-08-24 04:26:36 +05:00
Ilya Chernikov
01eca8bac8
Clean up properties collection
2018-08-23 09:51:53 +03:00
Ilya Chernikov
c2e6c0ed49
Rename ScriptingEnvironment to ScriptingHostConfiguration
2018-08-23 09:51:53 +03:00
Ilya Chernikov
bd8f2a81e9
Rename ScriptDefinition to ScriptCompileConfiguration
2018-08-23 09:51:53 +03:00
Ilya Chernikov
da2b60ffa6
Fix discovery tests after refactoring
2018-08-23 09:51:53 +03:00
Ilya Chernikov
acb0f6c6a9
Remove ScriptCompileConfiguration as separate entity, refactor pieces accordingly
2018-08-23 09:51:53 +03:00
Ilya Chernikov
bda8089004
Fix asm annotations loading after annotations refactoring
2018-08-23 09:51:53 +03:00
Ilya Chernikov
ab63d59a56
Refactor definition keys
2018-08-23 09:51:53 +03:00
Ilya Chernikov
04ffe7754e
Refactoring properties collection after review
2018-08-23 09:51:53 +03:00
Ilya Chernikov
74f8a541c0
Grand refactoring of the scripting DSL + many minor usability refactorings around it
2018-08-23 09:51:53 +03:00
Ilya Chernikov
70ec004aaa
Sorting default jvm props and basic implementations
2018-08-23 09:51:53 +03:00
Ilya Chernikov
1de37ca765
Make KotlinScript annotation accepting all params needed to define a script
2018-08-23 09:51:53 +03:00
Ilya Chernikov
cf2162c445
Refactor properties
2018-08-23 09:51:53 +03:00
Ilya Chernikov
904917c194
Make script definition a property bag directly
2018-08-23 09:51:53 +03:00
Ilya Chernikov
8953bba47c
Pass scripting (host) environment independently from properties/configuration
2018-08-23 09:51:53 +03:00
Ilya Chernikov
91e6c0b77c
Remove evaluator from script definition, simplify interface
2018-08-23 09:51:53 +03:00
Ilya Chernikov
e61ba1fd70
Replace dedicated configurator with definition properties + refine fun
2018-08-23 09:51:53 +03:00
Ilya Chernikov
a54675abe7
Clean and fix new scripting API
2018-08-23 09:51:53 +03:00
Alexander Udalov
b7808ba24d
Pass JvmTarget to KotlinTypeMapper
...
Also use KotlinTypeMapper.RELEASE_COROUTINES_DEFAULT instead of false in
FileRankingCalculator
2018-08-21 12:23:07 +02:00
Nicolay Mitropolsky
cd047b9605
Uast: KotlinUAnnotation.uastAnchor uses nameReferenceElement as javaPsi
...
because `nameReferenceElement` is not-null in LightAnnotations, but `referenceNameElement` violates `javaPsi` contract
2018-08-14 13:08:38 +03:00
Simon Ogorodnik
fca82c8e28
Cleanup dependencies of module :compiler:backend, :plugins:import-dumper
2018-08-09 16:04:31 +03:00
Mikhael Bogdanov
6b5b9fbde4
Temporary use special container mapping logic for IR backend
2018-08-09 14:22:47 +03:00
Alexander Udalov
5da8ce844a
Minor, move ContentRoot and KotlinSourceRoot to module 'cli'
...
Also move CONTENT_ROOTS from JVMConfigurationKeys to
CLIConfigurationKeys since it's used on all platforms, not just JVM
2018-08-07 13:38:30 +02:00
Alexander Udalov
14b8f4b52b
Minor, change package of outputUtils.kt
2018-08-07 13:38:30 +02:00
Yan Zhulanow
54470fe2b7
Pill: Remove source dependencies to 'tests-common'
...
'tests-common' module does only have a test source set so the dependency is redundant.
2018-08-07 11:55:23 +03:00
Vyacheslav Gerasimov
c7a00971fe
Fix source compatibility with 183 platform
2018-08-03 21:29:18 +03:00
Natalia Selezneva
41dc059da9
Register custom file extension for scripts loaded from script template
2018-08-03 15:25:35 +03:00
Vyacheslav Gerasimov
8fc0c1d7b0
as33: Add AS 3.3 bunchset built with AS 3.3 C4
2018-08-02 20:53:17 +03:00
Vyacheslav Gerasimov
a2bf417d75
Remove 172 bunchset
2018-08-02 19:32:18 +03:00