Commit Graph

6463 Commits

Author SHA1 Message Date
Alexey Trilis 764a25f6ae [JS] Add deprecated typealias and extension properties for renamed in dukat update entities 2019-11-20 12:49:03 +01:00
Ilya Goncharov d246d12093 [Gradle, JS] Add intregration test on browser pipeline with transitive dependencies 2019-11-19 14:02:47 +03:00
Ilya Goncharov c87961dcad [Gradle, JS] Dce should work with runtime classpath
#KT-34946 fixed
2019-11-19 14:02:45 +03:00
Ilya Goncharov c2b53dfce7 [Gradle, JS] Add debugger; only for debug mode 2019-11-19 13:52:37 +03:00
Ilya Goncharov 4d3698313d [Debugger, JS] Configure timeouts for debugging 2019-11-19 13:52:37 +03:00
Ilya Goncharov 79ef361e1a [Debugger, JS] Remove Mocha configuring in KotlinKarma 2019-11-19 13:52:37 +03:00
Ilya Goncharov 15a606c2b6 [Debugger, JS] Rename karma-debug on karma-debug-runner 2019-11-19 13:52:37 +03:00
Ilya Goncharov 5f8a5d5fca [Debugger, JS] Extract Debug's configurations 2019-11-19 13:52:37 +03:00
Ilya Goncharov d57127ed08 [Debugger, JS] Fix for mocha timeout 2019-11-19 13:52:36 +03:00
Ilya Goncharov d7c2d098af [Debugger, JS] Add configuring debuggable browser 2019-11-19 13:52:36 +03:00
Ilya Goncharov 550cc9d775 [Gradle, JS] Add karma debugger by timeout 2019-11-19 13:52:36 +03:00
Ilya Goncharov 821a4ea472 [Debugger, JS] Use default js debug configuration with Karma 2019-11-19 13:52:36 +03:00
Roman Artemev 18d0b477b6 [JS IR] Fix arrayOfNulls API 2019-11-19 11:15:36 +03:00
Sergey Bogolepov e4702bf438 [kotlinx-metadata] Add extensions for type aliases. 2019-11-19 11:41:06 +07:00
Alexey Trilis 4f56b1a960 Add support for Touch API in JS Stdlib
#KT-34948 fixed
#KT-21445 fixed
2019-11-18 19:44:03 +03:00
Svyatoslav Kuzmich a46e970f47 [JS] Remove kotlin-test-js build from JPS
kotlin-test-js is also built by JS IR backend
JS IR backend does not support JPS yet
2019-11-18 15:31:12 +03:00
Sergey Bogolepov 4438dd282f [kotlinx-metadata-klib] Bugfixes:
1. Add dependency on `:core:descriptors`
2. Wrap module name with < and >
3. Remove redundant question marks.
4. Fix string table writing.
2019-11-15 19:10:30 +07:00
Sergey Bogolepov 95399b3a41 Introduce kotlinx-metadata-klib.
`kotlinx-metadata-klib` is an extension of `kotlinx-metadata` that can be used to read and write metadata that is stored inside KLIBs.
Note: current version is in its early days and in active development. Almost nothing is stable or properly tested.
2019-11-15 16:38:07 +07:00
Ilya Goncharov 77950c5410 [Gradle, JS] Remove redundant from kotlin-test-js-runner 2019-11-14 16:03:54 +03:00
Ilya Goncharov 6a6bef0f6c [Debugger, JS] Remove kotlin source map support from tests and build 2019-11-14 15:53:18 +03:00
Ilya Goncharov 35cb412dc3 [Gradle, JS] Fix source map support initializing for mocha 2019-11-14 15:53:18 +03:00
Ilya Goncharov 4e427d2ce4 [Gradle, JS] Fix source map support initializing for nodejs 2019-11-14 15:53:18 +03:00
Ilya Goncharov 20e33806ec [Debugger, JS] Provide possibility to debug mocha tests 2019-11-14 15:53:18 +03:00
Anatoly Nikitin c7e9a6c5d9 Add new script dependency resolvers
Changes in new API for dependency resolvers (GenericDependenciesResolver) comparing to an old one (GenericResolver:
- Add ability to fast check whether artifact or repository is suitable for current resolver to distinguish between unsuitable resolvers and resolution failures
- Return all artifact resolution failures in ResultWithDiagnostics
- Use single string for artifact coordinates
- Add compound resolver that combines several resolvers
- Merge Direct and FlatLib resolver into single FileSystemDependencyResolver
- Mark resolve() method as suspend to indicate long operation
- Add credentials support for maven resolver (https://youtrack.jetbrains.com/issue/KT-27701)
2019-11-14 08:38:50 +01:00
Anatoly Nikitin 81e2e119e2 Fix propagation of dependency resolution failure reports during script compilation 2019-11-14 08:38:50 +01:00
Sergey Igushkin 94f66c237b (minor) replace the predicate for intermediate source set
Use a condition that is safe in projects with just one target and
intermediate source sets.
2019-11-13 17:45:31 +03:00
Dmitry Savvinov bcabbcf3e1 Add Native stdlib to intermediate source set dependencies
Also fix the dependsOn source set IDs not matcing those
in the IDE.
2019-11-13 17:45:25 +03:00
Svyatoslav Kuzmich 42c4591df8 [JS IR] Add -Xgenerate-dts CLI argument 2019-11-12 18:19:06 +03:00
Igor Chevdar 5c4b47c336 [native-gradle-plugin] Disabled native daemon for tests for now 2019-11-07 17:01:18 +03:00
Igor Chevdar 83331a0afb [native-gradle-plugin] Test fix 2019-11-07 17:00:59 +03:00
Igor Chevdar d36effd725 [native-gradle-plugin] Run konan directly from the gradle process 2019-11-07 17:00:03 +03:00
Nikolay Krasko 155a760ee9 Revert "Revert [JS IR] commits that failed build"
This reverts commit 740f851a
2019-11-07 16:24:13 +03:00
Alexander Udalov 7f4b568021 Mark new KClass.cast/safeCast extensions as low-priority
To avoid overload resolution ambiguity error in sources where everything
from both kotlin.reflect and kotlin.reflect.full is imported with a
star-import
2019-11-05 19:34:06 +01:00
Nikolay Krasko 740f851a10 Revert [JS IR] commits that failed build
Revert "[JS IR] Build hybrid versions of stdlib and kotlin.test"
This reverts commit b9f88350dd.

Revert "[JS IR] Add gradle plugin integration tests"
This reverts commit d872b27663.

Revert "Update bootstrap"
This reverts commit bc47594c7a.

Revert "[JS IR] Support generating both IR and pre-IR libraries"
This reverts commit 1b8df45bfe.
2019-11-05 13:58:39 +03:00
Svyatoslav Kuzmich b9f88350dd [JS IR] Build hybrid versions of stdlib and kotlin.test
IR version of libraries are no published by default inside pre-IR JARs
2019-11-01 19:42:06 +03:00
Svyatoslav Kuzmich d872b27663 [JS IR] Add gradle plugin integration tests 2019-11-01 19:42:06 +03:00
Svyatoslav Kuzmich bc47594c7a Update bootstrap
New compiler arguments needed to publish JS IR libraries:
    - stdlib
    - kotlin-test
2019-11-01 19:42:06 +03:00
Svyatoslav Kuzmich 1b8df45bfe [JS IR] Support generating both IR and pre-IR libraries
Remove all previous -Xir options

Add:
 -Xir-produce-klib-dir
 -Xir-produce-klib-file
 -Xir-produce-js
 -Xir-only
2019-11-01 19:42:05 +03:00
LepilkinaElena e638b9fd12 K/N performance gradle plugin. Added options and right code size for … (#2752) 2019-11-01 18:16:43 +03:00
Ilya Goncharov eeadc95bc1 [Gradle, JS] Remove check on duplicated targets
Useful (for KT-33828), if provider of artifact has changed, but remained only one

#KT-33828 fixed
2019-10-31 10:46:17 +03:00
Ilya Goncharov 08f9dd2aea [Gradle, JS] Fix entry for webpack (with Configuration Avoidance broke) 2019-10-30 18:58:56 +03:00
Vyacheslav Gerasimov 5776d115b7 Build: Add space packages to maven-settings servers 2019-10-29 23:31:43 +03:00
Ilya Goncharov 6ecc7eab7e [Gradle, JS] Add compatible aliases for old tasks
#KT-32323 fixed
#KT-32283 fixed
2019-10-29 19:41:20 +03:00
Ilya Goncharov dc3f3ce80d [Gradle, JS] Rename experimental annotation with warning level 2019-10-29 19:39:12 +03:00
Ilya Goncharov e7a45fb536 [Gradle, JS] JS specific build variants 2019-10-29 19:39:12 +03:00
Ilya Goncharov e3ec37b14f [Gradle, JS] Common webpack's configurations 2019-10-29 19:39:12 +03:00
Ilya Goncharov eb7fe6b0a4 [Gradle, JS] Each task configure your own dceOutputFileApplier 2019-10-29 19:39:12 +03:00
Ilya Goncharov 2d026e7973 [Gradle, JS] Make disambiguate take vararg 2019-10-29 19:39:12 +03:00
Ilya Goncharov 92c5b9c66e [Gradle, JS] Configure build and run in one place: configureMain 2019-10-29 19:39:12 +03:00
Ilya Goncharov aca5628622 [Gradle, JS] Use experimental dce annotation 2019-10-29 19:39:12 +03:00