Commit Graph

47948 Commits

Author SHA1 Message Date
Vitaliy.Bibaev 4573069a8d Add setUp & tearDown for kotlin tests 2018-08-20 05:17:45 +03:00
Vitaliy.Bibaev 055b0eed97 Fix wrong testdata 2018-08-20 05:17:45 +03:00
Vitaliy.Bibaev bc7d30bd99 Fix bug when stream chain lose terminator call arguments 2018-08-20 05:17:45 +03:00
Vitaliy.Bibaev 4cb8cc3653 Fix bug when chain in the upper level is not found 2018-08-20 05:17:45 +03:00
Vitaliy.Bibaev 56a783b858 Fix bug when chain detection did not work 2018-08-20 05:17:45 +03:00
Vitaliy.Bibaev 295d340d7c Add standard stream chain builder tests 2018-08-20 05:17:45 +03:00
Vitaliy.Bibaev b916fc6ca2 Add simplest execution tests for support of kotlin collection 2018-08-20 05:17:44 +03:00
Vitaliy.Bibaev 4552504315 Minor: rename base trace evaluation test case 2018-08-20 05:17:44 +03:00
Vitaliy.Bibaev 07cc21200a Do not add a blank line after copyright header 2018-08-20 05:17:44 +03:00
Vitaliy.Bibaev 9bc08da6c6 Update copyright headers in test sources 2018-08-20 05:17:44 +03:00
Vitaliy.Bibaev a630390781 Update copyright header in source code files 2018-08-20 05:17:44 +03:00
Vitaliy.Bibaev 25b174b8f7 Minor: optimize imports 2018-08-20 05:17:44 +03:00
Vitaliy.Bibaev 2aef583aa7 Add support for tests with debugger 2018-08-20 05:17:44 +03:00
Vitaliy.Bibaev b916f9e8e6 Support psi tests for streamex library 2018-08-20 05:17:43 +03:00
Vitaliy.Bibaev 8d9b021ef2 Support psi tests for standard stream api 2018-08-20 05:17:43 +03:00
Vitaliy.Bibaev 310bcc48a5 Add psi tests with the simplest test data 2018-08-20 05:17:43 +03:00
Vitaliy.Bibaev 5fe0f167ca Simplify checks that stream chain exists 2018-08-20 05:17:43 +03:00
Vitaliy.Bibaev 6d395dffbb Move stream call checks into separate class 2018-08-20 05:17:43 +03:00
Vitaliy.Bibaev 64f399235e Add tests for kotlin language support in the expressions dsl 2018-08-20 05:17:43 +03:00
Vitaliy.Bibaev 8185354116 Add streamex support 2018-08-20 05:17:43 +03:00
Vitaliy.Bibaev 3a2370a2d6 Minor: add a forgotten file 2018-08-20 05:17:43 +03:00
Vitaliy.Bibaev ea3206bba4 Minor: fix compatible issue 2018-08-20 05:17:42 +03:00
Vitaliy.Bibaev 2c57853dbe Add an extension point to support standard library in kotlin 2018-08-20 05:17:42 +03:00
Vitaliy.Bibaev 957f9a7e14 Add source files 2018-08-20 05:17:42 +03:00
Nikolay Krasko 8f566132e4 Workaround for IndexNotReadyException from icon provider (EA-118965)
Provider is DumbAware and isn't expected to access indexes.
2018-08-19 17:44:42 +03:00
ilmat192 2251440f04 Basic native support in kotlin-multiplatform (#1811)
* Add dependency on KN shared in gradle-plugin

* Basic support for Kotlin/Native:
     * Target presets
     * Compilation into a klib
     * Compilation into native binraies: framework and executable
     * Basic dependencies between projects
     * No jars in native publications
     * Replace '-' with '_' in framework names
    * Escape quotes in native command lines on Windows
* Move targets from Kotlin/Native repo
* Download KN compiler using Gradle's mechanisms
* Support source set dependencies in native
2018-08-19 20:45:31 +07:00
Zalim Bashorov 8966e220f0 Update tests 2018-08-17 21:44:08 +03:00
Zalim Bashorov c61d99fcff [JS IR BE] don't initialize instance storage for singletons explicitly, use default value (undefined) instead
It allows accessing to a singleton independent to the state of its storage.
2018-08-17 21:43:33 +03:00
Zalim Bashorov 0f6a77e700 [JS IR BE] take into account receiver's type when generate name for callables (including properties)
Also, add special markers for receiver type and generic types to avoid accidental clashes.
2018-08-17 20:31:06 +03:00
Mikhail Glukhikh b9d6580b44 Introduce MPP wizard for web (JVM / JS) applications
This implements first part of KT-25952
2018-08-17 18:16:34 +03:00
Mikhail Glukhikh b10554a8a0 Make old MPP wizard deprecated 2018-08-17 18:16:11 +03:00
Mikhail Glukhikh 57153cc2fc Make code in IntroduceIndexMatcher safer
EA-101119 Fixed
2018-08-17 18:16:10 +03:00
Mikhail Glukhikh d67dea4619 Reformat & cleanup: CreateCallableFromCallActionFactory 2018-08-17 18:16:08 +03:00
Mikhail Glukhikh 9a9e703e80 Do not suggest "create abstract property" inside annotation 2018-08-17 18:16:07 +03:00
Mikhail Glukhikh 04675b4446 Do not suggest "create local variable" inside primary constructor
#KT-26158 Fixed
EA-99300 Fixed
2018-08-17 18:15:47 +03:00
Mikhail Glukhikh 34be9ccbbe Reformat: CreateLocalVariableActionFactory 2018-08-17 18:15:44 +03:00
Sergey Igushkin b125f1e23e Revert "Fix source set resources filtering broken by refactoring"
This reverts commit 6af6834
2018-08-17 17:54:43 +03:00
Alexander Udalov 92e7fe347a Minor, provide more info when deserializing bad constant value 2018-08-17 16:31:54 +02:00
Ilmir Usmanov 2ecea55cb1 Ignore coroutines and assertion tests in android tests generator
for now.
2018-08-17 16:17:19 +03:00
Ilmir Usmanov dcfdc781db Minor. Unmute test in JS BE 2018-08-17 16:14:28 +03:00
Anton Bannykh 8e5b2fe657 JS: create appropriate nameBinding's upon inlining
Otherwise JsName's don't get linked properly upon deserialization.
As a result a function/constructor doesn't get renamed at
call site during the name conflict resolution phase.
2018-08-17 15:27:00 +03:00
Alexey Tsvetkov 3b4a49eebf Add test for KT-26064 2018-08-17 15:27:00 +03:00
Sergey Igushkin 1a3dd67176 Enable metadata publishing for new MPP and consumption from source sets
* Add configurations for consuming source sets metadata (extending the
  source set's dependency configurations). These configurations will be
  used by the IDE to pick up the dependencies metadata.

* Remove the universal preset from the default presets, create a
  metadata target by default for compiling and publishing the metadata
  of `commonMain` (in the future, we will publish and consume the
  metadata of the other source sets as well).

* Make the classpath configurations of common modules consume the
  metadata and thus ensure compatibility of 1.2.x MPP with the new MPP
  model.
2018-08-17 15:12:44 +03:00
Vyacheslav Gerasimov add323a486 as33: Remove incorrect gradle.xml.as33 2018-08-17 14:39:03 +03:00
Ilya Chernikov 2a4cef3ac2 Avoid "Failed to initialize native filesystem for Windows" warning from the platform on script compilation 2018-08-17 09:49:46 +02:00
Jonathan Lermitage 66bb744e3c Update Maven central repository url to latest version 2018-08-17 09:46:07 +02:00
Sergey Igushkin 6af6834966 (minor) Fix source set resources filtering broken by refactoring
Before the last change in this logic, the resources filtering used
the original Kotlin source directories, not those with Java filtered
out.

Make sure that the Java source directories that are added to the Kotlin
source set are excluded from the resources, and all the related
configuration works lazily, i.e. supports source sets modification
after configuration took place.
2018-08-17 03:22:30 +03:00
Sergey Igushkin d1a5794d36 (minor) Move source set configuration creation
It was placed in the new MPP plugin and was therefore not used for
the 'KotlinSourceSet's with the old plugin. Move this logic to the
KotlinSourceSetFactory so that it is applied to all source sets
2018-08-17 03:18:32 +03:00
Pavel V. Talanov 42f39a3ea4 Use older utility to fix compilation for as31 and 173 branches 2018-08-16 16:33:49 +02:00
Ilya Chernikov ac65aebb19 Direct mapping of script implicit receivers and env vars to parameters 2018-08-16 15:13:00 +02:00