Ilya Chernikov
deda50dbbb
Continue switching projects to improved dsl: sourceSets and test running
2017-09-19 21:37:26 +02:00
Ilya Chernikov
336e24b837
Fix project structure after rebase on master
2017-09-19 21:37:25 +02:00
Ilya Chernikov
b6c255cea5
Refactor: project renaming, using improved build dsl
2017-09-19 21:37:22 +02:00
Ilya Chernikov
87726b38b6
Add generated project-schema extensions, example refactoring
2017-09-19 21:37:20 +02:00
Ilya Chernikov
96d5e0bb21
Refactoring - renaming projects, applying sourceSets DSL
2017-09-19 21:37:18 +02:00
Ilya Chernikov
a6aaee3fe0
Add system property/environment var for -kotlin-home compiler option
2017-09-19 21:37:17 +02:00
Ilya Chernikov
513ab08edd
Refactor and clean preloader project
2017-09-19 21:37:16 +02:00
Ilya Chernikov
e18b77af21
Refactor compiler-related published projects
...
- move preparation into separate projects
- rename projects for publishing
- add compiler plugins
2017-09-19 21:37:14 +02:00
Ilya Chernikov
aa4fdaa713
Implement publishing in the build
2017-09-19 21:37:13 +02:00
Ilya Chernikov
628927782a
Fix tests in the gradle environment
2017-09-19 21:37:09 +02:00
Ilya Chernikov
f053ed968f
Change core env and proguard config for compatibility with new gradle build
...
(the build.xml should be modified to support the proguard config in this form)
2017-09-19 21:37:08 +02:00
Ilya Chernikov
61dfb75e0e
Implement Gradle Kotlin DSL build
2017-09-19 21:37:06 +02:00
Valentin Kipyatkov
454c5229f9
Ability to disable caches reset on ProcessCanceledException via internal action
2017-09-19 16:52:20 +03:00
Alexey Andreev
a2bfaf4fc8
Fix multiplatform test (use expect/actual instead of header/impl)
2017-09-19 15:21:30 +03:00
Dmitry Jemerov
c05c359703
Correctly detect multiplatform modules in run code
...
LanguageVersionSettings doesn't mean that the module is actually
multiplatform; it only means that it _could_ be one. Use
platform and information from facet instead.
Also fix detection of common stdlib version and add tests for common
run config.
2017-09-18 19:23:22 +02:00
Stanislav Erokhin
e8d42e4dde
Increase stub version because we add new soft-keywords: expect and actual
2017-09-18 16:37:36 +03:00
Mikhail Glukhikh
9b0f15137f
Expect/actual: introduce DEPRECATED_MODIFIER instead of ..._FOR_TARGET
2017-09-18 16:19:41 +03:00
Mikhail Glukhikh
721889600f
Expect/actual: fix some error messages
2017-09-18 16:09:18 +03:00
Alexey Andreev
6ba0ac1238
JS: prove that KT-7011 is no more reproducible
2017-09-18 13:12:59 +03:00
Alexey Andreev
a66cd8b309
Fix name clash in JS implementation of multiplatform extension property
...
See KT-18756
2017-09-18 13:10:51 +03:00
Mikhail Zarechenskiy
6a1b6d10d8
Setup JDK roots and initialize JDK_HOME in common core environment
...
#KT-20167 Fixed
2017-09-18 08:19:41 +03:00
Mikhail Glukhikh
e12de11ce9
Fix add modifier for replacement case, add expect/actual order tests
2017-09-16 19:47:43 +03:00
Mikhail Glukhikh
2c521727c3
Add header/impl/expect/actual into modifiers order list
2017-09-16 19:47:42 +03:00
Mikhail Glukhikh
c0dd97b40d
Migration to expect/actual: fix CLI tests
2017-09-16 19:47:41 +03:00
Mikhail Glukhikh
a18e9436a1
Migration to expect/actual: change diagnostics rendering
2017-09-16 19:47:40 +03:00
Stanislav Erokhin
7982f3489e
Rename compiler key -Xno-check-impl to -Xno-check-actual
2017-09-16 19:47:39 +03:00
Vyacheslav Gerasimov
14742a6048
UAST: Fix getContainingFile, should return KtFile instead of FakeFileForLightClass
...
#KT-20170 Fixed
2017-09-16 13:02:08 +03:00
Alexander Udalov
37a23f0958
Use JVM package name in Java 9 module accessibility checks
...
This fixes Java9ModuleIntegrationTest.testDependencyOnStdlibJdk78 from
the 1.2 branch
2017-09-15 20:30:29 +03:00
Mikhail Glukhikh
d3082b0e62
Migration to expect/actual: change some comments in compiler
2017-09-15 18:30:32 +03:00
Mikhail Glukhikh
fcc84d00c3
Migration: make header/impl/expect/actual contradictory to each other
2017-09-15 18:30:25 +03:00
Mikhail Glukhikh
fc4ff3b760
Migration to expect/actual: renames in DeclarationResolver
2017-09-15 18:30:18 +03:00
Mikhail Glukhikh
afdd647df1
Migration to expect/actual: renames in DeclarationsChecker
2017-09-15 18:30:11 +03:00
Mikhail Glukhikh
c5c6050baa
Migration to expect/actual: renames in ExpectedActualDeclarationChecker
2017-09-15 18:30:04 +03:00
Stanislav Erokhin
8d8f683042
Fix header/impl in LazyClassDescriptor.toString
2017-09-15 18:29:50 +03:00
Stanislav Erokhin
2b186909d4
Migrate diagnostic names for header/impl
2017-09-15 18:29:29 +03:00
Mikhail Glukhikh
85d6a4d1af
Migration to expect/actual: fix multiplatform integration tests
2017-09-15 18:28:50 +03:00
Mikhail Glukhikh
e896a1f5ea
Migration: add check for illegal expect on nested in non-expect class
2017-09-15 18:28:21 +03:00
Mikhail Glukhikh
5d25106267
Migration: deprecation tests for header/impl
2017-09-15 18:28:14 +03:00
Mikhail Glukhikh
dd8bed8b46
Migration: expect/actual in diagnostic tests
2017-09-15 18:28:07 +03:00
Mikhail Glukhikh
205272f51b
Migration: add expect/actual to hasExpected... / hasActualModifier
2017-09-15 18:27:53 +03:00
Mikhail Glukhikh
0640d5618c
Migration: make modifiers HEADER & IMPL deprecated
2017-09-15 18:27:47 +03:00
Mikhail Glukhikh
2d0ac0011a
Migration to expect/actual: ExpectedActualDeclarationChecker
2017-09-15 18:26:23 +03:00
Mikhail Glukhikh
c4fd1a8e5c
Migration to expect/actual: ModifierCheckerCore
2017-09-15 18:26:16 +03:00
Mikhail Glukhikh
810d62bbaf
Add expect & actual to MODIFIERS_TO_REPLACE table
2017-09-15 18:26:02 +03:00
Mikhail Glukhikh
eb648e20c6
Add expect & actual modifiers
2017-09-15 18:25:56 +03:00
Stanislav Erokhin
e86d2f00ff
Rename isImpl to isActual in descriptors
2017-09-15 18:25:49 +03:00
Stanislav Erokhin
c8ee424f67
Rename isHeader to isExpect in descriptors
2017-09-15 18:25:41 +03:00
Stanislav Erokhin
4dc47c734c
Rename has[Header|Impl]Modifier() to has[Expect|Actual]Modifier()
2017-09-15 18:25:27 +03:00
Stanislav Erokhin
0bf7dc3e0c
Refactoring. Replace hasModifier(IMPL_KEYWORD) to hasImplModifier()
2017-09-15 18:25:20 +03:00
Stanislav Erokhin
1ebfe1af43
Refactoring. Replace hasModifier(HEADER_KEYWORD) to hasHeaderModifier()
2017-09-15 18:25:13 +03:00