Natalia Selezneva
ba7d66eb4b
Fix 'Invalid file' Exception during script definition search (EA-125840)
...
EA-125840 - assert: FileManagerImpl.findFile
2019-05-08 15:17:12 +03:00
Mikhail Zarechenskiy
97a6b3436c
Add diagnostics from NI for SAM with receiver tests
2019-05-06 13:59:30 +03:00
Leonid Startsev
0ecf20bd62
Revert back visibility in deserialization ctor to public so inheritors can access it from other modules.
...
Fix instantiating of polymorphic serializer with generics.
Move context creation below as asked.
2019-04-30 17:53:40 +03:00
Vyacheslav Gerasimov
0ec1df89fa
Build: use configuration for dependency on android-extensions-runtime
...
`evaluationDependsOn` may lead to obscure gradle errors on project configuration
2019-04-29 16:23:16 +03:00
Nicolay Mitropolsky
0794ab9432
Uast: cleaunp warnings (but some still remains)
2019-04-28 16:36:43 +03:00
Dmitry Petrov
b78d1bb2b9
IrConstructorCall support in JVM_IR, JS_IR, and FIR2IR
2019-04-26 17:43:25 +03:00
Leonid Startsev
90bf36ea7a
Fix reference to IrField when serializing superclass' properties
2019-04-26 15:06:54 +03:00
Leonid Startsev
6bec6e6905
Add synthetic constructors to class member scope, so they won't fly 'in the air' in the backends
...
This is required mainly for Native compiler since it wont't work correctly on descriptors that are not present in the class.
2019-04-26 15:04:53 +03:00
Dmitry Gridin
37c856290f
Fix minor compile warnings
2019-04-25 19:47:39 +07:00
Dmitry Gridin
d7d9771b3c
Replace UastEmptyExpression with UastEmptyExpression(null)
2019-04-25 19:47:38 +07:00
Alexander Udalov
1c1ff3e2b2
Minor, move android-extensions-compiler tests to package org.jetbrains.kotlin
...
To fix the package name mismatch inspection
2019-04-25 14:43:47 +02:00
Nicolay Mitropolsky
f118b007f0
Uast: more cases for KotlinUSimpleReferenceExpression resolve (KT-30957, KT-27385)
2019-04-25 10:07:09 +03:00
Mikhael Bogdanov
11e0035254
Support test parallelization in uast tests
2019-04-25 08:09:27 +02:00
Mikhael Bogdanov
d1b5c76f09
Reuse KtUsefulTest case temporary files infrastructure
2019-04-25 08:09:26 +02:00
Natalia Selezneva
512a297e0a
Process property setter parameter in UAST
2019-04-24 11:39:17 +03:00
nikita.movshin
deb416484c
Update copyright. Fix 2 lines comments after rebase
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
2019-04-23 20:15:03 +03:00
nikita.movshin
a636e3d57d
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
2019-04-23 20:09:23 +03:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Vyacheslav Gerasimov
210ee681a4
Cleanup bunch workarounds made for 181
2019-04-23 17:28:41 +03:00
Vyacheslav Gerasimov
2bc11cbd58
Remove as32 bunch files
2019-04-23 17:28:41 +03:00
Vyacheslav Gerasimov
952d2b6287
Remove 181 bunch files
2019-04-23 17:28:41 +03:00
Vyacheslav Gerasimov
8723ad4f46
Switch to 191 platform
2019-04-22 21:52:19 +03:00
Mikhael Bogdanov
dde28ddc52
Parallelize compiler tests
2019-04-18 13:24:58 +02:00
Dmitry Gridin
3bed360c98
Fix "Should be replaced with Kotlin function" warnings
2019-04-18 15:28:52 +07:00
Ilya Chernikov
ada3edb222
Fix after rebase - adapting to the new idea plugin handling scheme
2019-04-17 22:03:59 +02:00
Ilya Chernikov
7c4efb2772
Disable ScriptingGradleSubplugin if applied in the gradle prior to 5.0
...
Allows to avoid limiting scripting infrastructure to languageVersion 1.2,
since kotlin compiler 1.3+ is bundled with gradle only starting from 5.0
2019-04-17 22:03:59 +02:00
Ilya Chernikov
f688bc5140
Add diagnostics for plugin classpath problems
2019-04-17 22:03:59 +02:00
Ilya Chernikov
64c3bcd9ab
Drop refactored-out frontend.script module
2019-04-17 22:03:58 +02:00
Ilya Chernikov
a65dafc37d
Move scripting support classes to the scripting compiler impl module
2019-04-17 22:03:58 +02:00
Ilya Chernikov
8df829a7cd
Move scripting-compiler-impl definition to another package...
...
to continue merging with the refactoring with further scripting improvements
2019-04-17 22:03:58 +02:00
Ilya Chernikov
f71cc4e480
Drop long deprecated legacy script annotations and resolvers support
2019-04-17 22:03:58 +02:00
Ilya Chernikov
4f135a5fe5
Move REPL implementations to the scripting compiler impl module
2019-04-17 22:03:57 +02:00
Ilya Chernikov
199b32cad7
Merge scripting-impl to scripting-compiler-impl module...
...
to continue merging with the branch with further scripting refactorings
2019-04-17 22:03:57 +02:00
Ilya Chernikov
a82b386d81
Add a new module for scripting compilation infrastructure...
...
add embeddable variant as well
2019-04-17 22:03:57 +02:00
Ilya Chernikov
4625468de7
Expose project environment from core env, to allow usages of plugins...
...
before core env construction. Refactor script evaluation extension to
this scheme.
Plus some refactorings of the logic of script/repl evaluation in K2JVMCompiler
2019-04-17 22:03:57 +02:00
Mikhael Bogdanov
0d3f03a15a
Support parallelization in another IDE tests
2019-04-17 11:22:18 +02:00
Leonid Startsev
1a0b7902c2
Create separate type arguments for writeSelf function, since it is static now.
...
Fixes kapt issue https://github.com/Kotlin/kotlinx.serialization/issues/429
2019-04-16 19:37:31 +03:00
Ilya Chernikov
d98b1dfa7e
Fix testdata after adding main function to scripts
2019-04-16 11:55:24 +02:00
Yan Zhulanow
7710942ec5
Kapt: Call next resolver in populateModuleExtraModels() (KT-30995)
2019-04-15 20:11:29 +03:00
Yan Zhulanow
5825da8433
Fix binary compatibility with Android plugin (KT-30978)
2019-04-15 05:17:03 +03:00
Ivan Gavrilovic
e171199bf5
Do not track defined constants in source files
...
There is no need to track definitions of constants in sources for now.
References to constants are tracked in order to capture dependencies between types.
This ensures that any change to a type defining a constant (either from the
classpath or sources), will trigger reprocessing of the type that uses the
constant.
2019-04-12 15:01:47 +03:00
Ivan Gavrilovic
929fca03fd
Fixes to KAPT classpath change detection
...
1) Fix tests to use canonical path for comparison because Mac was failing
2) Update current classpath snapshot only with the missing entries from the previous one
3) Clean-up code and style
2019-04-12 15:01:47 +03:00
Ivan Gavrilovic
7c78644eb9
Incremental KAPT - analyze classpath changes
...
Use artifact transforms to capture structure and
dependencies of classpath entries. In the KAPT task
this information is used to compare previous classpath
structure with the current one. Once changed classes are
detected, all classes that transitively depend on those
are identified, and that set is passed to KAPT invocation.
In order to avoid unrelated classpath changes, we record an
ABI snapshot of the classpath entry. This snapshot ignores
all private members, and @Metadata annotation.
#KT-23880
2019-04-12 15:01:47 +03:00
Ivan Gavrilovic
c85e21d43b
Incremental KAPT - pass changed classpath entries
...
Pass computed list of changed classpath names to KAPT instead
of relying on the history files to be computed by stub generation.
Also, stop generating classpath history changes during the stub generation.
This commit does not compute the actual changed classpath entries,
and that will be done in the following commits.
#KT-23880
2019-04-12 15:01:47 +03:00
Ivan Gavrilovic
0c09f56118
Incremental KAPT - track constants usage
...
This commit adds support for tracking of used constants in
source files. For every constant used in a source file, class
that defines the constant and the constant name are tracked.
Value of the constant can be obtained using
annotation processing APIs, so if the constant value changes, a source file
using it has to be reprocessed.
#KT-23880
2019-04-12 15:01:47 +03:00
Georgios Andrianakis
f11c5a335a
KT-30343 Add new Quarkus preset to all-open compiler plugin
2019-04-11 17:46:21 +03:00
Yan Zhulanow
fb3efd2d78
Debugger: Fix completion for synthetic '_field' extension properties (KT-23586)
2019-04-11 17:46:14 +03:00
Vyacheslav Gerasimov
adb896d74c
Build: Introduce embedded configuration used for fatJars
2019-04-10 17:54:06 +03:00
Vyacheslav Gerasimov
92248d609f
Build: Centralize build logic for kotlin-plugin in :prepare:idea-plugin
2019-04-10 17:54:06 +03:00
Vyacheslav Gerasimov
d554b5aafa
Build: Embed projects not published to maven into kotlin-plugin.jar
2019-04-10 17:54:05 +03:00