Yan Zhulanow
2d8f7419eb
Parcelable: Temporarily disable box tests because of OOM
2017-08-01 18:37:27 +03:00
Mikhail Glukhikh
87cdc7635a
Do not suggest "can be private" for elements with given annotations
...
So #KT-19272 Fixed
2017-08-01 18:01:29 +03:00
Mikhail Glukhikh
c5a81691fb
Partial code cleanup: can be private and some others applied
2017-08-01 17:08:56 +03:00
Mikhael Bogdanov
42f8a3e65b
Generify Symbols class to be able support jvm specific implementation
2017-08-01 15:52:29 +02:00
Mikhael Bogdanov
4dbb82a789
Copy ununsed lowers
2017-08-01 15:52:28 +02:00
Mikhael Bogdanov
df56ef5e3f
Copy common lowers
2017-08-01 15:52:28 +02:00
Mikhael Bogdanov
27365dc4be
Copy common utils from Native
2017-08-01 15:52:27 +02:00
Nikolay Krasko
5fcefa28a7
Test stub trees compatibility on loadJava/compiledKotlin test data
2017-08-01 16:22:40 +03:00
Mikhail Glukhikh
c2617e89c9
Remove unnecessary check from prepareCodeToInline
2017-08-01 12:32:49 +03:00
Mikhail Glukhikh
1ed1751b63
Report "Make <visibility>" for visibility fixes #KT-19274 Fixed
...
(instead of "Add <visibility> modifier")
2017-08-01 12:06:28 +03:00
Toshiaki Kameyama
29dba9edb3
Do not report "property can be private" in annotations #KT-19273 Fixed
2017-08-01 11:53:42 +03:00
Ilya Gorbunov
050744627d
Clean stdlib and reflect before rewriting binary API dump
...
The change in the run configuration "Binary compatibility tests, overwrite results"
is to prevent incremental compilation of these artifacts.
During the incremental compilation only the declarations in the files being
recompiled are dumped to declarations.json.
This results in incomplete dump and affects the public declarations dump.
This clean step enforces stdlib and reflect libraries to be fully recompiled.
This step can be removed as soon as we do not need declarations.json to dump public API.
2017-07-31 23:13:56 +03:00
Alexey Tsvetkov
69b4d213b7
Ensure IC.isEnabled is not modified by tests
2017-07-31 19:34:59 +03:00
Alexey Tsvetkov
514635e965
IC should be enabled explicitly by build systems
...
The change only affects JPS on TeamCity (in Intellij IC system property
is always set explicitly; the same holds for Gradle, Maven).
Previous changes have effectively enabled the new IC (which is now default)
for TC JPS builds, which is undesirable as more RAM is used.
2017-07-31 19:34:59 +03:00
Alexey Tsvetkov
5ce3a436c7
Avoid marking dirty dependencies from already compiled chunks
...
#KT-17397 fixed
2017-07-31 19:34:59 +03:00
Alexey Tsvetkov
7cccba3b9a
Refactoring: do not check if IC is enabled in cache
...
There was a bunch of if-else blocks checking if new IC was enabled or not.
These blocks became useless after `IncrementalCompilation.isExperimental`
was replaced with `IncrementalCompilation.isEnabled`, because when IC is not enabled
we don't use caches anyway.
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
3f471d1ac6
Minor: add dummy.kt to some IC tests
...
This makes it impossible to pass the tests
by rebuilding everything.
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
e602903567
Remove old IC: remove experimental tests
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
534db2d45b
Remove old IC: remove experimental cache version
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
a4a0335b20
Remove old IC: update KotlinJpsBuildTest
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
62fdd91947
Remove old IC: remove unnecessary caches
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
aea5293288
Remove old IC: fix constant search test
...
The tests were not run with the new IC before
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
8143ca158b
Remove old IC: update on-off tests
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
e7afb073d9
Remove old IC: remove experimental-expected-kotlin-caches.txt
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
5af9d29cbe
Remove old IC: remove experimental-ic-build.log
...
This commit moves each experimental-ic-build.log
into a corresponding build.log file.
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
2bd7d12312
Remove old IC: remove IncrementalCompilation.isExperimental
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
50091bfac8
Remove old IC: remove flags from CompilationResult
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
840f688bbf
Refactoring: simplify proto map API
2017-07-31 19:34:58 +03:00
Alexander Udalov
2e82bb5632
Use correct LanguageVersionSettings in MetadataSerializer
...
Also, require users of K2MetadataCompiler to pass "-Xmulti-platform"
manually. Gradle and Maven plugins already do that, so only users who
invoke kotlinc directly are going to be affected by this
#KT-19287 Fixed
2017-07-31 08:47:47 -07:00
Sergey Igushkin
4923589b38
Fix testAndroidExtensionsManyVariants not using experimental flag
2017-07-31 16:56:06 +03:00
Sergey Igushkin
23ea1a1a60
Push Android Gradle plugin version used in tests to 3.0.0-alpha8
2017-07-31 16:52:48 +03:00
Andrius Semionovas
f42808af94
Add when support for USELESS_IS_CHECK quick fix, related to KT-18965
2017-07-31 16:10:41 +03:00
Andrius Semionovas
e0aca97f9f
Add quick-fix for USELESS_IS_CHECK #KT-18965 Fixed
2017-07-31 16:10:23 +03:00
Dimach
88fa7c2952
Introduce "double negation" inspection #KT-4748 Fixed
2017-07-31 15:57:31 +03:00
Toshiaki Kameyama
be0b01a1e6
Do not report "can be private" on effectively private / local elements
...
So #KT-18822 Fixed
2017-07-31 11:58:14 +03:00
Pavel V. Talanov
05ea99441f
script.runtime 1.1.4: Update test data implementations
2017-07-30 18:21:35 +03:00
Pavel V. Talanov
b0b2c046b2
script.runtime 1.1.4: IDE and compiler use 'kotlin.script.experimental'
2017-07-30 18:15:41 +03:00
Pavel V. Talanov
d7e62937b2
script.runtime 1.1.4: Remove new API from 'kotlin.script' package
...
Copy of new API is in 'kotlin.script.experimental' package
2017-07-30 17:38:10 +03:00
Pavel V. Talanov
9a004ceda2
script.runtime 1.1.4: Remove copy of ScriptContents class
...
This class is not new(experimental) API is not supposed to be moved
2017-07-30 17:17:54 +03:00
Simon Ogorodnik
5e032139cb
KT-18040: Enable auto popup when typing after $e. in string template
...
#KT-18040 fixed
2017-07-30 09:15:16 +03:00
Alexander Udalov
4e77897bfd
Pass LanguageSettingsProvider to AnalyzerFacade explicitly
...
This way is more flexible for example for tests, where configuring the
service implementation may be tricky (it's usually done in
KotlinCoreEnvironment in production code)
2017-07-28 20:15:28 +03:00
Pavel V. Talanov
ca06d38c5b
script.runtime 1.1.4: Copy new API to kotlin.script.experimental package
...
Minor: Move Environment type alias to resolvers_deprecated.kt file
2017-07-28 20:13:59 +03:00
Pavel V. Talanov
d59a72ea75
script.runtime 1.1.4: Undeprecate old API
2017-07-28 20:13:57 +03:00
Pavel V. Talanov
9e34437447
script.runtime: add 'kotlin-runtime' dependency
...
script.runtime is not built by JPS, this just affects highlighting
2017-07-28 20:13:54 +03:00
Alexander Udalov
82502e1a8b
Fix compilation of kotlin-script-util
...
Compilation was broken in 46a01ec
2017-07-28 19:26:35 +03:00
Leonid Startsev
527ccaff16
Changes required for serialization plugin to work:
...
* Support for generation of synthetic nested classes (for implementations
of user-defined serial annotations):
1. Compiler extenstion points for contributing names and descriptoprs
of nested classes
2. Control on synthetic class primary constructor visibility
* Public functions for generating initializing expressions for optional
properties
2017-07-28 07:04:57 -07:00
Dmitry Petrov
9e6b706a03
Unwrap property imported from object on property access
...
#KT-18982 Fixed Target versions 1.1.5
2017-07-28 17:01:04 +03:00
Sergey Igushkin
05919244bd
Fix testLogLevelForceGC
2017-07-28 16:39:10 +03:00
Sergey Igushkin
7906ac9348
Fix unresolved rhino dependency in testDce.
2017-07-28 16:39:10 +03:00
Pavel V. Talanov
c1fd8fc318
Send roots changed iff combined dependencies of all scripts changed
...
This reduces total number of reindex requests when working with scripts
ScriptDependenciesCache::onChange logic is independent from ScriptDependenciesUpdater::onChange
2017-07-28 15:45:29 +03:00