Alexey Tsvetkov
8e4c11a1e6
Allow using more memory for gradle tests
...
KT-8487
2016-03-03 16:45:16 +03:00
Alexey Tsvetkov
9fba1a9c71
Move gradle test settings to separate files
...
KT-8487
2016-03-03 16:45:16 +03:00
Alexey Tsvetkov
a5b28ac62a
Recompile subclasses in gradle
...
KT-8487
2016-03-03 16:45:16 +03:00
Alexey Tsvetkov
1893a6e15b
Remove getting lookups with generated classes fq-names
...
KT-8487
2016-03-03 16:45:16 +03:00
Alexey Tsvetkov
c955a399a3
Exclude from compilation only files that were compiled at last iteration
...
KT-8487
2016-03-03 16:45:16 +03:00
Alexey Tsvetkov
f93562299c
Reuse code from build-common
...
KT-8487
2016-03-03 16:45:16 +03:00
Alexey Tsvetkov
a5e3ca3596
Minor: change formatting, add logging
...
KT-8487
2016-03-03 16:45:15 +03:00
Alexey Tsvetkov
a13cf73a5b
Minor: put files to set
...
KT-8487
2016-03-03 16:45:15 +03:00
Alexey Tsvetkov
579b49c7f3
Compile using -module xml
...
KT-8487
2016-03-03 16:45:15 +03:00
Alexey Tsvetkov
5028184c2a
Minor: remove commented code
...
KT-8487
2016-03-03 16:45:15 +03:00
Alexey Tsvetkov
fa86653ddd
Minor: optimize imports
...
KT-8487
2016-03-03 16:45:15 +03:00
Ilya Chernikov
6b9c3e5eb6
placing incremental compilation under "experimentalIncremental" option
...
KT-8487
2016-03-03 16:45:15 +03:00
Ilya Chernikov
819735e073
Adding extended gradle incremental cache implementation with map from sources to classfiles and some exposed functionality from parent class, using it to clean classfiles and find dirty lookups from removed files, refactoring dirty lookup calculation
...
KT-8487
2016-03-03 16:45:15 +03:00
Ilya Chernikov
4be395dcee
Implementing weak variant of testing for jps-based tests - test passes if gradle compiles at least all expected files, but if it compiles more - it is not a failure; using this variant for parametrized tests
...
KT-8487
2016-03-03 16:45:14 +03:00
Ilya Chernikov
ddf3ca276b
Implementing workaround for not being able to set java task classpath statically and therefore making it unable to detect changes in kotlin classes
...
KT-8487
2016-03-03 16:45:14 +03:00
Ilya Chernikov
df63fc30f6
(temp) disabling copying on kotlin-build-sources.jar in attempt to run maven build on TC
...
KT-8487
2016-03-03 16:45:14 +03:00
Ilya Chernikov
4809e8755e
Implementing daemon restart mechanism to prevent problems with low memory watcher (TODO: investigate!)
...
KT-8487
2016-03-03 16:45:14 +03:00
Ilya Chernikov
c6fe18fbe0
Adding runtime dependency to incremental tests's build.gradle, fixes some tests from jps
...
KT-8487
2016-03-03 16:45:14 +03:00
Ilya Chernikov
a1ddbb3fe5
skipping tests that using "touch" modification, since gradle do not consider mere timestamp touching as a change and do not call kotlin plugin on it
...
KT-8487
2016-03-03 16:45:14 +03:00
Ilya Chernikov
c5617f1274
Adding automated parametrized tests for all jps-plugin tests
...
KT-8487
2016-03-03 16:45:14 +03:00
Ilya Chernikov
7b54751092
Implementing test infrastructure for chcking incremental builds and for importing and executing jps-lugin tests, adding several tests manually
...
KT-8487
2016-03-03 16:45:14 +03:00
Ilya Chernikov
cde89cb1e8
Implementing support for running gradle tests with daemon
...
KT-8487
2016-03-03 16:45:13 +03:00
Ilya Chernikov
9498235407
Adding cashes versios handling, refactoring sources to compile computing, minor output refactorings
...
KT-8487
2016-03-03 16:45:13 +03:00
Ilya Chernikov
db3b6ff10b
Switching gradle plugin to incremental compilation based on build lib
...
KT-8487
2016-03-03 16:45:13 +03:00
Ilya Chernikov
d3d854ec7d
Preparing build lib for migrating gradle plugin on it: moving ArgumentUtils from jps plugin, adding buildUtils with incremental compilation functions extracted from kotlinBuilder, minor tweak to lookup storage dump
...
KT-8487
2016-03-03 16:45:13 +03:00
Ilya Chernikov
6789f2ff0f
adding build lib to maven part, adding it's contents to kotlin-compiler-embeddable
...
KT-8487
2016-03-03 16:45:13 +03:00
Ilya Chernikov
ebae665b78
Adding missing keep statement to proguard config
...
KT-8487
2016-03-03 16:45:13 +03:00
Ilya Chernikov
d4a86b7f6d
Generate proper sources jar for compiler-embeddable, fixing problem with locating embeddable compiler jar in tests, revealed by the change
...
KT-8487
2016-03-03 16:45:12 +03:00
Ilya Chernikov
66f1f87757
Additional check of analyze resul, prevents a problem of passing BindingContext.EMPTY to the generation stage, fixes kapt tests in gradle plugins
...
KT-8487
2016-03-03 16:45:12 +03:00
Alexander Udalov
daab3db062
Add WITH_RUNTIME and WITH_REFLECT directives to box tests
...
Currently all tests in boxWithStdlib/ run with both runtime and reflection
included; eventually they'll be merged into box/ using these directives
2016-03-03 16:11:21 +03:00
Alexander Udalov
f47cc5ce2f
Fix runtime dependency in codegen/box tests, delete old doTestWithStdlib logic
...
Codegen tests in "compiler/testData/codegen/box" started to run with
ConfigurationKind.ALL accidentally in 933be1e . This commit fixes it
2016-03-03 16:08:18 +03:00
Alexander Udalov
5488972b53
Minor, don't create empty tmpdir in codegen tests w/o Java
2016-03-03 16:08:18 +03:00
Alexander Udalov
d011fa8dc6
Add FULL_JDK to tests in codegen/boxWithStdlib/fullJdk/
...
Drop the old scheme which relied on the directory name
2016-03-03 16:08:18 +03:00
Alexander Udalov
dc085c45b7
Improve exception on creating KClass for classes which are not classes in Kotlin
2016-03-03 16:08:18 +03:00
Alexander Udalov
4553afbd0c
Make PropertyAccessorDescriptor#hasBody a front-end utility
2016-03-03 16:08:18 +03:00
Alexander Udalov
ae14d185eb
Support setters for Java-method-based properties in reflection
...
Also heuristically support the corner case of multiple properties with the same
name and signature in a Java class, see the comment in
KDeclarationContainerImpl
#KT-11258 Fixed
2016-03-03 16:08:18 +03:00
Alexander Udalov
14b1a3a048
Don't fail on requesting members of Java collection classes
...
RuntimeTypeMapper assumed that JavaPropertyDescriptor was necessarily backed by
JavaField, which has changed when we started to load Java method (or a pair of
methods) overriding a Kotlin property as a property, not as a method. Another
example of this situation is special built-in properties which are mapped to
Java methods, e.g. java.util.Collection#size() <-> kotlin.Collection#size. This
change adds support for the case of a property backed by a JavaMethod.
Note that callable references or usage of any reflection API related to
built-in members is not supported anyway and will currently fail with errors
#KT-11258 Fixed
2016-03-03 16:08:18 +03:00
Alexander Udalov
6429dd4b04
Preserve JavaPropertyDescriptor type in substitution/copy
...
JavaPropertyDescriptor.substitute should return JavaPropertyDescriptor,
similarly to what's happening in JavaMethodDescriptor
2016-03-03 16:08:18 +03:00
Alexander Udalov
371051b1d6
Filter out package members from other facades in KPackageImpl
...
#KT-10690 Fixed
2016-03-03 16:08:18 +03:00
Alexander Udalov
1c0bbcd72b
Fix KProperty.javaField for fake overrides
...
#KT-8131 Fixed
2016-03-03 16:08:18 +03:00
Michael Bogdanov
534a3a11d6
Write additional type parameters for DefaultImpls methods, fix for KT-11121: BadClassFile exception for interface implemented generic properties
...
#KT-11121 Fixed
2016-03-03 16:11:31 +03:00
Valentin Kipyatkov
5aca50b4ca
Enhanced constructor descriptor should not loose its source!
...
#KT-11256 Fixed
2016-03-02 21:43:43 +03:00
Valentin Kipyatkov
508e1937d6
More diagnostic for EA-75975
2016-03-02 21:43:42 +03:00
Valentin Kipyatkov
135ec78d7d
Fixed EA-70945
2016-03-02 21:43:42 +03:00
Alexander Udalov
65662d7c99
Remove incorrect test, to be reconsidered in the future
...
Before 3ca4097 , 'set' signature was not checked at all in this case
#KT-11272 Open
2016-03-02 20:44:23 +03:00
Dmitry Jemerov
386f22480f
don't crash on startup in case of corrupted plugin installation
...
#KT-11230 Fixed
2016-03-02 18:17:36 +01:00
Alexander Udalov
e849792712
Minor, add KCallableImpl#container
2016-03-02 19:01:10 +03:00
Alexander Udalov
4779e3e9cf
Drop traces of old annotations from kotlin.jvm.internal
2016-03-02 19:01:04 +03:00
Alexander Udalov
c93517bc2f
Minor, fix test data
2016-03-02 19:00:50 +03:00
Dmitry Jemerov
661c87e464
minor: rename "jet" to "kotlin" in a couple of variable names
2016-03-02 16:47:43 +01:00