Ilya Chernikov
cfab89385f
Do not override path calculation in light virtual files in tests:
...
seems unnecessary anymore and breaks some script testing logic
2019-07-16 12:20:21 +02:00
Andrey Uskov
0c1d8e29b9
Fix creation of empty source sets in tests
2019-07-16 13:08:20 +03:00
Andrey Uskov
1336f65535
Improve diagnostics in importing tests and fix android test
2019-07-16 13:07:46 +03:00
Andrey Uskov
afd2af01cd
NewMultiplatformProjectImportingTest - bunched
2019-07-16 13:06:53 +03:00
Jake Wharton
4386518c4d
Add intrinsic for ULong/UInt.toString on Java 8+
...
Unfortunately this cannot currently be done for the extension overload which accepts a radix due to behavior difference with regard to invalid radix values.
2019-07-16 11:15:19 +02:00
Ilya Kirillov
b7917978b8
New J2K: correctly create AST for Java call of Kotlin data class derived members
...
#KT-32604 fixed
2019-07-16 11:56:08 +03:00
Ilya Kirillov
d29d7fb257
New J2K: do not resolve unary expressions method symbols
...
As we already have its type and may fail on unresolved declaration
#KT-32603 fixed
2019-07-16 11:55:04 +03:00
Ilya Kirillov
84872e064f
New J2K: use test data for nj2k conversion tests from nj2k tests data instead of old one
2019-07-16 11:55:04 +03:00
Anton Yalyshev
101a3a9420
Add clarifications about single/multi targeting to framework descriptions
2019-07-16 11:04:52 +03:00
Anton Yalyshev
f742e000f8
Refactoring: extract and pull up duplicated code from JVM- and JS- related subclassed
2019-07-16 11:03:51 +03:00
Anton Yalyshev
6b3117cc2c
Add Kotlin/MPP to Gradle group of New Project Wizards #KT-32105 Fixed
2019-07-16 11:03:51 +03:00
Ilya Gorbunov
5e8192bf74
Make kotlin-test-js integration test tasks incremental
...
Define their inputs and outputs, so they are run only
when js files in build/node-modules change. These don't include external
libraries node-modules
2019-07-15 19:41:44 +03:00
Alexander Udalov
385366384c
Psi2ir: ignore unresolved annotations
...
Note that the test is an exact copy of an existing test
missingDependencyNestedAnnotation, but with -Xuse-ir
2019-07-15 18:40:00 +02:00
scache
9062f4229b
QuickDoc: Show sample code containing type parameters correctly
...
#KT-20777 Fixed
2019-07-15 19:36:24 +03:00
Ilya Chernikov
2ef575d94e
Fix nullability in the instrumenter, avoid exceptions on tests setup
2019-07-15 16:37:06 +02:00
Ivan Gavrilovic
4caddd2c1c
KT-31291: Wrap ASM version in a method to avoid having it inlined
...
This commit adds a method to get the value of org.jetbrains.org.objectweb.asm.Oopcodes.API_VERSION.
In general, this should not be a problem, but some Gradle plugins package
Jetbrains ASM version. At runtime, their version may be loaded which may be
different than the one this code was compiled against.
2019-07-15 16:53:04 +09:00
Ivan Gavrilovic
6619106af2
Improve incremental KAPT logging
...
This commit improves incremental KAPT logging. It reports processor
stats using their actual names. Also, warning is printed if incremental
annotation processing is requested, but not all APs are incremental
2019-07-15 16:53:04 +09:00
Ivan Gavrilovic
5cab6fd6cf
KAPT: Mark incremental cache as LocalState
...
Use @LocalState to mark incremental annotation processing cache directory.
This is to make sure this is not stored in the build cache as it contains
absolute paths and cannot be shared between machines.
2019-07-15 16:53:04 +09:00
Ivan Gavrilovic
251d8ccd97
KT-31840: Fix caching for incremental annotation processing
...
Artifact transform that uses ASM to analyze KAPT classpath stored absolute
paths in the output artifact. This resulted in remote build cache misses.
This commit changes how analysis is stored. Actual analysis file is the
output of the transform, and there is not need to use a marker file any more.
Output does not store the classpath entry absolute path. Instead, it uses
task action incremental information to find analysis outputs that changed.
Additionally, class that handles analysis snapshot comparison has been
simplified, and lazy loading of the structural information is handled in
a more straightforward way.
2019-07-15 16:53:03 +09:00
Dmitry Petrov
6963424dfc
psi2ir: Empty 'if' branches have type 'kotlin.Unit'
2019-07-15 08:58:04 +03:00
Mikhael Bogdanov
0774f800a0
Split android box tests by flavours
2019-07-15 07:31:35 +02:00
nikita.movshin
7c77565bb8
Add changelog for 1.3.41
2019-07-13 14:44:40 +03:00
Sergey Rostov
aee1dd2379
Gradle, test runner: fix failed test (typo)
2019-07-12 21:44:05 +03:00
Sergey Rostov
abb1a9892b
Gradle, webpack: use only archivesBaseName as outputFileName
2019-07-12 21:40:26 +03:00
Sergey Rostov
6658c1da2f
IDE, Wizards, JS for browser: create index.html in resources
...
For gradle build scripts only
#KT-31953
2019-07-12 21:40:26 +03:00
Ilya Gorbunov
4fc942c5e9
KT-16602: Improve mutable sorting samples, fix sample references
2019-07-12 21:34:54 +03:00
Dat Trieu
38d26b1d92
KT-16602: Provide samples for sorting API usage
2019-07-12 21:32:03 +03:00
keijumt
3f5d64e635
Add sample of hashMapOf
2019-07-12 17:10:15 +03:00
Igor Yakovlev
cd6abcd4c9
Expect modifier definitions is not exposed by UL-classes
2019-07-12 16:33:52 +03:00
Igor Yakovlev
0602a6da72
Fix invalid FakeJvmFieldConstant inspection for UL classes
...
Test MultiFileInspectionTestGenerated.testFakeJvmFieldConstant_FakeJvmFieldConstant now correctly works with ultra-light annotation classes.
2019-07-12 16:33:52 +03:00
Igor Yakovlev
a9aa60491e
Fix UL-classes test renders and test data
2019-07-12 16:33:51 +03:00
Igor Yakovlev
4b1226e3d7
Set correct nullability and Companion support to annotations
2019-07-12 16:33:51 +03:00
Igor Yakovlev
eea469939e
Kotlin meta-annotation converter for UL-annotations
2019-07-12 16:33:51 +03:00
Igor Yakovlev
afe784e79e
Add UL-annotations support
2019-07-12 16:33:51 +03:00
Natalia Selezneva
4fed624942
Append for commit: switch ScriptReportSink to new scripting API
...
Commit hash e4d0c2cb0e
2019-07-12 16:24:57 +03:00
Natalia Selezneva
63767b4dca
Performance: do not check file type for scripts with standard extension
2019-07-12 16:24:57 +03:00
Pavel Semyonov
2577dfa06a
docs: added KDoc for Comparator, fixed KDoc for comparison binarySearch()
2019-07-12 16:08:37 +03:00
Alexander Gorshenev
09b3b2e5b7
Enable adroid_arm64 on mingw hosts
2019-07-12 16:06:32 +03:00
Dmitry Gridin
fc45948da6
CreateActualFix: should create source root directory if it doesn't exist
...
#KT-27555 Fixed
2019-07-12 15:51:30 +03:00
Dmitry Gridin
f310bd3324
RemoveRedundantQualifierNameInspection: apply on idea module
2019-07-12 15:51:12 +03:00
Dmitry Gridin
229b8cb6a3
RemoveRedundantQualifierNameInspection: shouldn't analysis import and package directives
2019-07-12 15:51:12 +03:00
Dmitry Gridin
694c231689
RemoveRedundantQualifierNameInspection: fix false negative for java constructor
...
#KT-32506 Fixed
2019-07-12 15:51:12 +03:00
Ilya Chernikov
bd50454a73
Change default for script displayName parameter to empty, generate name from base class in definition
2019-07-12 13:44:09 +03:00
Ilya Chernikov
0cc40440fb
Implement filePathPattern in the script configuration with handling
...
also
- tests
- extending kdoc for the definitions
2019-07-12 13:44:09 +03:00
Sergey Rostov
dface77b5c
NodeJS Test runner: update build time dependencies
2019-07-12 12:47:21 +03:00
Sergey Rostov
38ff228bc8
Gradle, Tests runner: handle case when test runtime exits abnormally
...
In this case we should close all test nodes with failures and gracefully
close all other enclosing nodes.
#KT-32136 Fixed
2019-07-12 12:31:09 +03:00
Abduqodiri Qurbonzoda
96dcafdf35
Document order of array elements initialization (KT-32353)
2019-07-11 21:18:47 +03:00
Sergey Igushkin
dfcd28da2c
Use the direct test descriptor parent for test start events in Gradle
...
The reportingParent previously used for that purpose was null in test
start events, resulting in ungrouped tests.
2019-07-11 20:47:59 +03:00
Sergey Igushkin
f6679f27f4
Add test tasks to the Gradle model built for MPP
...
Add `testTasks` to KotlinTarget model class, build them
based on task names until proper test runs API is available.
2019-07-11 20:47:58 +03:00
Vyacheslav Gerasimov
9b32670738
Build: Use stripMetadata task for result jar when relocation is enabled
...
to cleanup invalid metadata left after relocation
2019-07-11 20:07:14 +03:00