Commit Graph

939 Commits

Author SHA1 Message Date
Yan Zhulanow 472ec72eb9 Refactor debugger tests
1. Move tests to their own module
2. Avoid sharing the 'tinyApp' project between tests
3. Clean up option directive handling
2019-10-08 19:13:56 +09:00
Dmitriy Dolovov 81eef5152e [Commonizer] Type parameters, type parameter tests 2019-09-27 09:17:38 +07:00
Dmitriy Dolovov 7fee9d2f5a [Commonizer] Property descriptors 2019-09-27 09:16:45 +07:00
Vyacheslav Gerasimov 1b5417e422 Minor: Build use cache-redirector for bootstrap repos 2019-09-25 15:58:49 +03:00
Nikolay Krasko 8218ca5bae More 182 branch mentioning remove
#KT-33536 Fixed
2019-08-30 12:14:58 +03:00
Nikolay Krasko 63f0eae7e2 Remove CodeStyleSettingsProviderCompat.java after removing 182
#KT-33536 Fixed
2019-08-30 12:14:34 +03:00
Nikolay Krasko 169aa6348c Remove runConfigurationsCompat.kt after removing 182
#KT-33536 Fixed
2019-08-30 12:14:16 +03:00
Nikolay Krasko 23f488498f Remove EditorFactoryListenerWrapper compat after removing 182
#KT-33536 Fixed
2019-08-30 12:14:01 +03:00
Nikolay Krasko 9abdddf09a Remove psiFile extension after removing 182
#KT-33536 Fixed
2019-08-30 12:13:56 +03:00
Nikolay Krasko 372c6377e8 Remove AstLoadingUtil after removing 182
#KT-33536 Fixed
2019-08-30 12:13:50 +03:00
Svyatoslav Kuzmich 6e6ffa12a6 [WASM] Initial infrastructure
- New module ":compiler:backend.wasm"
    - Initial compiler infra (driver, phaser, context)
    - Subset of Wasm AST
    - Skeleton of IR -> Wasm AST
    - Wasm AST -> WAT transformer

- Testing infra

- SpiderMonkey jsshell tool
2019-08-22 15:59:54 +03:00
Sergey Igushkin 50e758cbb7 Remove the @Inclubating annotation from UnstableApiUsage inspection
Also remove `@Suppress("UnstableApiUsage)"` where it was relevant
2019-08-21 19:42:34 +03:00
Sergey Rostov 555e1a35e9 .idea: remove maven project from default config
Currently maven was not support in our JPS build.
You can still import them manually.
2019-08-12 10:58:15 +03:00
Yan Zhulanow de361f0b6c Minor: Add 'kotlinc' to the project dictionary 2019-08-07 01:15:28 +09:00
Nikolay Krasko 6e750b0857 Enable API watcher in Kotlin
When Api Watcher plugin is installed this will activates pre-commit
checks in the project.
2019-07-04 11:54:22 +03:00
Nikolay Krasko 2d85d18a74 Minor: add more exceptions to project dictionary 2019-07-02 14:00:25 +03:00
Vyacheslav Gerasimov 286b9f5233 Build: Add jps artifact for kotlinc 2019-06-27 17:56:50 +03:00
Vyacheslav Gerasimov db8a4a52da Build: Add JPS artifact for kotlin-compiler.jar
JPS build assumes fat jar is built from embedded configuration,
but we can't use it in gradle build in :prepare:compiler project
since slightly more complex processing is required like stripping
metadata & services from some jars
2019-06-27 17:56:50 +03:00
Vyacheslav Gerasimov 31c3955940 Build: Add workaround dist root artifact referencing auto-generated dist
We can't set output-path and build-on-make from idea-ext plugin
2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 72be81ba46 Build: Add JPS artifact for dist 2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 86ad25ba55 Build: Add jps artifact for kotlin-reflect 2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 3138757d66 Build: Add jps artifact for kotlin-compiler-client-embeddable 2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 7149fc75f5 Build: Add jps artifact for kotlin-main-kts 2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov 5c72fed918 Build: Add jps artifact for kotlin-imports-compiler-dumper 2019-06-27 17:56:49 +03:00
Vyacheslav Gerasimov d24c56e08d Build: Add jps artifact for kotlin-daemon-client.jar 2019-06-27 17:56:48 +03:00
Vyacheslav Gerasimov 12b4cf3f0e Build: Add jps artifact for kotlin-jps-plugin.jar 2019-06-27 17:56:48 +03:00
Yan Zhulanow a9057e914b Move back the hardcoded artifacts needed for JPS build 2019-06-14 17:13:50 +09:00
Yan Zhulanow f450a8ed89 Disable Kapt tests for new multiplatform in Android Studio 2019-06-13 17:35:27 +09:00
Dmitry Savvinov d5fbe59a3e [Platform API] Introduce fundamental abstraction of Platform
This is a large commit, which introduces general API for working with
abstraction of Platform.

- Add new abstraction to 'core' - SimplePlatform - which represents
exactly one platform
  - Clients are strongly prohibited to create instances of SimplePlatform
  by hand, instead, corresponding *Platforms abstraction should be used
  (e.g. JvmPlatforms, JsPlatforms, KonanPlatforms)

- Move TargetPlatform to 'core', it represents now a collection of
SimplePlatforms
  - Clients are strongly encouraged to use TargetPlatform
    (not SimplePlatform) in API, to enforce checks for multiplatform

- Provide a helper-extensions to work with TargetPlatform
(in particular, for getting a specific component platform)

- Remove MultiTargetPlatform in favour of TargetPlatform
  - Notably, this commit leaves another widely used duplicated abstraction,
    namely, IdePlatform. For the sake sanity, removal of IdePlatform is
    extracted in the separate commit.
2019-05-28 13:08:07 +03:00
Dmitry Savvinov f2a0a809f1 [Platform API] Split TargetPlatform into lightweight TargetPlatform and CompilerServices
This decouples simple data (TargetPlatform) from other subsystem-specific
logic (like default imports, built-ins, etc.).

Aside from purely aesthetic improvements, it also makes it easier
to move 'TargetPlatform' into core (see next commits)
2019-05-28 13:08:06 +03:00
Alexander Udalov d05e72dda8 Update bootstrap to 1.3.50-dev-526 2019-05-28 11:33:34 +02:00
Alexey Tsvetkov ad7de948f6 Update bootstrap
The new version fixes NSME from CoreJarFileSystem (KT-31574)
Also see 6addb24e4b
2019-05-27 13:08:34 +03:00
Ilmir Usmanov e7c78d8d7e Update bootstrap
Update reference public API. Before 266976ac1e
suspend inline functions with crossinline parameters were effectively
inline-only. Fixing it exposed suspendCoroutine as public API.
Update jps artifacts after bootstrap.
2019-05-23 09:28:31 +03:00
Vyacheslav Gerasimov c2a2d80d4c Build: Minor cleanup & format root build.gradle.kts 2019-05-20 15:16:22 +03:00
Mikhael Bogdanov c8564e9ade Update jpsBuild dependencies 2019-05-13 14:18:33 +02:00
Nikolay Krasko ad02700200 Update to bootstrap 1.3.50-dev-2
Fix Compiler and all IDE plugins configuration struggling to build
stdlib because of circular dependency.

See 1.3.50-dev-2 build in https://teamcity.jetbrains.com/app/buildConfiguration/Kotlin_dev_CompilerAllPlugins?branch=%3Cdefault%3E&buildTypeTab=builds
2019-05-08 20:01:01 +03:00
Svyatoslav Kuzmich 5baa520232 Advance bootstrap to 1.3.40-dev-2251
Required for JS IR CLI and Gradle plugin
2019-04-25 19:04:59 +03:00
Sergey Rostov cfa635b36a JPS Build: update artifacts for scripting-compiler-impl and js ir backend 2019-04-24 09:45:23 +03:00
nikita.movshin 2e59fdc157 Update copyright.
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update apache.xml
2019-04-23 20:09:23 +03:00
Vyacheslav Gerasimov 57cb59bfc7 Remove 181 related warnings from inspection profile 2019-04-23 17:28:41 +03:00
Sergey Rostov 21232d202e JPS Build, 191: update artifacts 2019-04-22 21:52:02 +03:00
Sergey Rostov 15e3482eec JPS Build: add type-system to kotlin-reflect.jar 2019-04-19 11:51:34 +03:00
Sergey Rostov 30d1cc51bf JPS Build: update artifacts 2019-04-18 10:36:22 +03:00
Vyacheslav Gerasimov c492c0c9f9 Build: Generate JPS artifacts for idea plugin from gradle configurations 2019-04-10 17:54:06 +03:00
Ilya Kirillov daf1f6154e New J2K: Add more types to JKExpression.type 2019-04-03 11:22:06 +03:00
Ilya Kirillov 5c6092c98c New J2K: Add mangling of name identifiers 2019-04-03 11:21:34 +03:00
Alexander Udalov 6223c4481f Minor, disable package mismatch inspection for Groovy
This should be fine because we don't have any production Groovy code in
the project. Otherwise any build.gradle file in
kotlin-gradle-plugin-integration-tests is highlighted as yellow.

Also update inspection profile to the latest version suggested by
IntelliJ
2019-03-28 14:25:37 +01:00
Sergey Rostov 283ad04f7c JPS Build: fix artifacts after moving dependencies repo 2019-03-28 15:48:35 +03:00
Ilya Chernikov 215d24e12c Fix jps build after adding new scripting jar 2019-03-22 12:26:02 +01:00
Nikolay Krasko a5f96d6470 Minor: cleanup and remove outdated TODOs 2019-03-21 18:03:15 +03:00