Commit Graph

54751 Commits

Author SHA1 Message Date
Sergey Rostov 4c2c8a1788 Gradle, npm: disable manageNodeModules by default
#KT-30530
2019-05-18 08:15:23 +03:00
Sergey Rostov d82725718a Gradle, js: run tests using the new project-wide node_modules
#KT-30530
2019-05-18 08:15:23 +03:00
Sergey Rostov a8799f5a8d Gradle: npm integration using yarn
#KT-31018 Fixed
2019-05-18 08:15:22 +03:00
Sergey Rostov 69f9e30e5a Gradle, Tests runner: update tests, fix tests on Windows 2019-05-18 08:15:22 +03:00
Sergey Rostov 9938b7fcd0 Gradle, Native: don't capture output if treatOutputAsStracktrace enabled
#KT-30529
2019-05-18 08:15:22 +03:00
Sergey Rostov 7830d204aa Gradle, tests: cleanAllTests task
#KT-29946
2019-05-18 08:15:21 +03:00
Sergey Rostov 8b16f182f6 Gradle, tests: show test results in IDE
#KT-29946
2019-05-18 08:15:21 +03:00
Sergey Rostov 125dc65178 Gradle: Kotlin/Native stack trace parser
#KT-30526
	#KT-30529
2019-05-18 08:15:21 +03:00
Sergey Rostov 0304f090e8 Gradle: JS stack trace parser
#KT-30526
2019-05-18 08:15:20 +03:00
Sergey Rostov e013645d87 Gradle, test: allTests task, same class and method names for jvm, js and native
#KT-30691 Fixed
	#KT-31448 Fixed
2019-05-18 08:15:20 +03:00
Ilya Gorbunov a83d301b50 Pack stdlib tests into a separate archive
So that kotlin-native could download stdlib tests and compiler test data
from different builds.
2019-05-18 04:41:29 +03:00
Nikolay Krasko ef70e9db19 Don't use light classes for navigation element (KT-10215)
Place KotlinNavBarModelExtension before Java extension because it
substitutes non-java elements to files.

 #KT-10215 Fixed
2019-05-17 21:43:58 +03:00
Toshiaki Kameyama 0a4d21c51f Sort by class name in navigation bar (KT-10215)
#KT-10215 Fixed
2019-05-17 18:15:58 +03:00
Vadim Brilyantov 9052c5e529 Fix typo in new-daemon ignored tests that was leading to compile errors 2019-05-17 18:13:46 +03:00
Vadim Brilyantov caaf847052 Mute all new-daemon tests 2019-05-17 15:51:53 +03:00
Vadim Brilyantov 01a05a5495 Move daemon jar from compiler 2019-05-17 15:51:52 +03:00
Vadim Brilyantov ced973b707 Introduce new Kotlin Daemon without RMI abstraction 2019-05-17 15:51:51 +03:00
Igor Yakovlev a3f718733d Fix of ConvertJavaInterfaceToClass test
Platform is trying to modify the class inheritance list during intension (see the test name above) action process but it cause a cross-language changes via PSI.
To make this possible LightClasses are supports this behaviour with a little support of it (inheritance list Add and inheritance list element Delete are supported).
It need's to be done for UL-classes in same way.
2019-05-17 14:48:47 +03:00
Toshiaki Kameyama 04638eea6b Remove braces intention: fix caret position
#KT-31443 Fixed
2019-05-17 11:18:44 +07:00
Steven Schäfer 90c3269502 Fix type parameters in WrappedClassConstructorDescriptor
IrConstructorCall gets type parameters from the class in addition to the
constructor declaration. This behavior is already implemented for
ClassConstructorDescriptorImpl, but was not implemented for
WrappedClassConstructorDescriptor, leading to missing type arguments for calls
to constructors generated in a lowering pass.
2019-05-16 20:26:18 +02:00
Roman Artemev 77c0e591af Set correct target backend 2019-05-16 19:27:41 +03:00
Roman Artemev c352117eab [JS IR BE] Set correct runtime for JS IR BE tests 2019-05-16 19:27:41 +03:00
Roman Artemev fabd306437 [JS IR BE] Fix varargs for inline arrays 2019-05-16 19:27:41 +03:00
Roman Artemev 600ad7e088 [JS IR BE] Fix KProperty access in case of both receivers 2019-05-16 19:27:41 +03:00
Roman Artemev cd3fd60dd7 [JS BE] Extract backend specific code from shared stdlib sources 2019-05-16 19:27:41 +03:00
Roman Artemev 02d84bf061 [IR BE] Delegate coroutine naming strategy to platform part 2019-05-16 19:18:54 +03:00
Alexander Udalov 21d0beb94b Do not render stack traces and bytecode on muted failed tests locally
This was already disabled on buildserver with a35f368ce0, but makes
sense locally too because otherwise IntelliJ renders a lot of output
which takes lots of memory and slows down the test runner
2019-05-16 17:30:21 +02:00
Mads Ager 34cf5a19df JVM_IR: Support @JvmSynthetic annotations. 2019-05-16 17:07:22 +03:00
victor.petukhov 8bdc5f981e Actualize spec tests 2019-05-16 12:24:18 +03:00
Dmitriy Novozhilov 96a3831feb [NI] Add capturing receiver type for callable references
#KT-30292 Fixed
2019-05-16 10:50:30 +03:00
Steven Schäfer f5a78213b2 Fix type of super 2019-05-16 07:58:45 +02:00
Alexey Tsvetkov 209a5d8464 Do not expose paths with placeholders in JS IC caches
#KT-31310 Fixed
2019-05-16 04:01:26 +03:00
Mads Ager d2c372a4f7 JVM_IR: No EnclosingMethod attribute for member classes.
The comment in the code is correct that EnclosingMethod
attributes should only be generated for local and
anonymous classes. We were generating them for member
classes as well which leads to invalid class files.

With this change I had to mute one more tests. That is
because we lose the parent method and therefore we
see a class as a member class instead of a local class.
With the old descriptor based check that test still
passes.
2019-05-15 19:22:38 +02:00
Igor Yakovlev 79aa954682 Fix render of classpath log message for UL-classes 2019-05-15 18:48:53 +03:00
Elena Lepilkina 1c4ad193b3 Update kotlin-native-shared version 2019-05-15 16:07:54 +03:00
Mikhael Bogdanov fe5a9f16a1 Minor. Remove obsolete workaround 2019-05-15 14:21:11 +02:00
Mikhael Bogdanov 812b766894 Remove hack with targets. Add target for most recent jdk 2019-05-15 14:21:11 +02:00
Alexander Udalov a53fa0dfbf Minor, optimize newly added tests on unsigned intrinsics
Remove "JVM_TARGET: 1.6" directive from box tests and remove tests with
JVM target 1.8. By default, box tests are run with JVM target 1.6, and
there's an additional configuration `codegenTarget8Jvm8Test` that runs
all box tests with JVM target 1.8.

Also, remove box tests with JVM target 1.6. They aren't needed because
even if we manage to generate incorrect bytecode with target 1.6, the
corresponding box tests will catch that
2019-05-15 13:30:16 +02:00
pyos f392b027fa JVM_IR: support references to Java fields 2019-05-15 13:29:48 +02:00
Alexander Udalov e191eef10a Minor, refactor system properties in CodegenTestCase 2019-05-15 13:25:47 +02:00
Alexander Udalov b602c08773 Remove javaFilesDir parameter of CodegenTestCase.doMultiFileTest
Create TestFile instances for .java sources similarly to .kt sources,
and write them to a temporary directory via writeJavaFiles in each test
where this is needed
2019-05-15 13:25:14 +02:00
Alexander Udalov 7fdb9c990e Reformat and cleanup most JVM codegen test classes 2019-05-15 13:25:14 +02:00
Svyatoslav Kuzmich 23a214710b [JS IR BE] Add Unit return type to function signature 2019-05-15 14:09:02 +03:00
Svyatoslav Kuzmich e8933738ac [JS IR BE] Remove conservative unit materialization
Remove UnitMaterializationLowering
Remove Unit insertion in BridgeConstruction
Fix codegen for when expressions without else branch
2019-05-15 14:09:02 +03:00
Mikhael Bogdanov c448def95f Add custom JDK tests on recent JDK avaliable in project 2019-05-15 12:55:14 +02:00
Mikhael Bogdanov 2f7f05c3bc Update proguard version 2019-05-15 12:55:13 +02:00
Dmitriy Novozhilov 07394bd6d3 [NI] Add test for KT-30300 with complex constraint system problem 2019-05-15 13:42:36 +03:00
Igor Yakovlev e3ec501419 Fix realization of LightClass methods by KtLightClassForSourceDeclaration
#KT-31022 Fixed
2019-05-15 13:18:24 +03:00
Steven Schäfer 076f5e2ef9 Move jvm specific phases to JvmLower 2019-05-15 12:32:42 +03:00
Ilya Matveev 049269ba4f Gradle plugin: remove old native binary APIs
This patch removes APIs for native binary configuring
introduced in 1.3.0 and deprecated in 1.3.30.

Issue #KT-31229 Fixed
2019-05-15 13:12:01 +07:00