Ilya Chernikov
cb5622fc8b
[minor] Fix URL conversion to the file
...
possibly fixes the exception from https://stackoverflow.com/questions/57727150/kotlin-script-engine-with-spring-boot-self-running-war
2019-10-03 12:24:50 +02:00
Svyatoslav Kuzmich
5d7f18b1b9
[JS] Support wrapped and dynamic types in typeOf
2019-10-03 13:12:46 +03:00
Ilya Goncharov
7e47be9765
Add kotlin js test runner as required dependency for Karma
...
#KT-34123 fixed
2019-10-01 17:49:09 +03:00
Vyacheslav Gerasimov
f38123e78c
193: Update to 193.3793.14-EAP-SNAPSHOT
2019-10-01 17:23:47 +03:00
Ilya Gorbunov
2106274fa3
Minor: fix Charset type reference in kdoc
...
#KT-34086 Fixed
2019-10-01 03:01:11 +03:00
Shagen Ogandzhanian
3181d02d11
Update dukat dependency to 0.0.19
2019-09-30 23:30:50 +02:00
Ilya Goncharov
c5ba19451f
Fix leading zero for percents less than 10
...
- To avoid status text jumping
2019-09-30 16:53:25 +03:00
Ilya Goncharov
305b6091cd
Consider, that ':' can be in file path (Windows case)
...
#KT-31478 fixed
2019-09-30 16:53:24 +03:00
Ilya Goncharov
923ecaf6b9
Fix js quoted strings for Windows
2019-09-30 16:50:42 +03:00
Ilya Goncharov
842cbf51c9
Assign of revertMethods instead of copying
2019-09-30 16:50:42 +03:00
Ilya Goncharov
9a5f937f2d
Fix progress percentage
2019-09-30 16:50:42 +03:00
Ilya Goncharov
71963de70c
Move revertible methods to finally
2019-09-30 16:50:42 +03:00
Ilya Goncharov
7680c21fb6
Print parsed stack trace
2019-09-30 16:50:42 +03:00
Ilya Goncharov
e911e0acbb
Only parsed stacktrace consider
...
- NodeJs and Karma testing logging, exception handling and source maps works consistently
2019-09-30 16:50:42 +03:00
Ilya Goncharov
2ac24efc8b
Process stack trace for karma
2019-09-30 16:50:42 +03:00
Ilya Goncharov
7010c03706
Move Karma Kotlin reporter to kotlin-test-js-runner
2019-09-30 16:50:42 +03:00
Ilya Goncharov
fa4f39f5eb
Use own format error for source maps processing in karma reporter
2019-09-30 16:50:42 +03:00
Ilya Goncharov
9f64c426e5
Parse stack trace for extract original sources
2019-09-30 16:50:41 +03:00
Ilya Goncharov
a5c8882ccb
Format error for teamcity log reporter
...
- formatError contains source map processing
2019-09-30 16:50:41 +03:00
Ilya Goncharov
efe8c2fa7c
Remove redundant karma-source-map-support
2019-09-30 16:50:41 +03:00
Ilya Goncharov
36d9fe5a3a
Add process stack trace for failing tests
2019-09-30 16:50:41 +03:00
Ilya Goncharov
3ca3842c3f
Fix format
2019-09-30 16:50:41 +03:00
Ilya Goncharov
fb97375f86
Remove redundant debug flag for karma start
2019-09-30 16:50:41 +03:00
Ilya Goncharov
b22e56e1ba
Fix IE karma alias
2019-09-30 16:50:41 +03:00
Ilya Goncharov
bbe51469ee
Add devtool property for webpack
...
- Use inline-source-map for karma-webpack
2019-09-30 16:50:41 +03:00
Ilya Gorbunov
885d99068c
Test reading files with incorrectly reported length
...
#KT-33864
2019-09-28 19:23:26 +03:00
Ilya Gorbunov
c9dd8344d1
Do not use file length estimate in File.readText
...
This handles the situation when reported file length is less than actual.
#KT-33864
2019-09-28 19:20:54 +03:00
Ilya Gorbunov
fe31509044
Support File.readBytes when reported file length is less than actual
...
After reading 'length' bytes from a file, check if there's extra content
available and read it into a resizable buffer, then append it after
the first 'length' bytes.
#KT-33864
2019-09-28 19:20:54 +03:00
Ilya Chernikov
3220101c7b
[minor] fix Gradle test broken on the build refactoring
2019-09-28 17:50:45 +02:00
Ilya Chernikov
4d19299e95
[minor] Fix scripting classpath test on windows
2019-09-27 19:44:49 +02:00
Ilya Matveev
6b10336497
Common iOS: Store konanTarget in KotlinNativeCompilation
2019-09-27 18:06:56 +07:00
Ilya Chernikov
3430a21fa1
Add test to the scripting fixes for maven plugin
...
tests KT-34011 and KT-34006 fixes
2019-09-26 11:46:55 +02:00
Ilya Chernikov
a1118ce209
Do not skip maven compilation if sources contain .kts files but no .kt files
...
#KT-34006 fixed
2019-09-26 11:46:55 +02:00
Ilya Chernikov
c53a805696
[minor} Refactor scripting host tests:
...
- move definitions into one place
- reduce script/repl compilation classpath - spedd-ups tests (~10%)
2019-09-26 07:16:24 +02:00
Ilya Chernikov
256d3a79e4
[minor] refactor and extend script dependencies resolving tests
2019-09-26 07:16:23 +02:00
Ilya Chernikov
bda2e46697
[minor] Fix classpath from class calculation utility for classes dir
2019-09-26 07:16:23 +02:00
Svyatoslav Kuzmich
7592048437
[JS] Support typeOf
2019-09-25 18:12:55 +03:00
Vyacheslav Gerasimov
c1e1dbd83e
Build: Fix usages of "java.home" for tools.jar dependency
...
#KT-33984
2019-09-25 17:54:18 +03:00
Abduqodiri Qurbonzoda
eae6fbad3a
Document String.contentEquals overloads difference
2019-09-25 17:43:45 +03:00
Sergey Igushkin
ece7a3e70e
Add extensions with explicit Class<*> instance for Kotlin DSL, KT-31077
2019-09-25 15:46:07 +03:00
Sergey Igushkin
3abb1b3f40
Fix lint task in Android projects depending on MPP, KT-27170
2019-09-25 15:46:06 +03:00
Sergey Igushkin
032686ebe0
Fix kapt class structure configuration not resolving MPP deps, KT-33105
2019-09-25 15:46:06 +03:00
Sergey Igushkin
3deff3b347
Fix Kapt configuration not resolving MPP deps to JVM variants, KT-31641
2019-09-25 15:46:06 +03:00
Sergey Igushkin
f2d2fb9e6b
Fix Kapt-generated sources not compiled by jvm.withJava(), KT-32804
...
Given that the Kapt subplugin creates new tasks, it is impossible
to run it in the context of lazy task configuration. Disable lazy
task configuration for Kotlin/JVM by always accessing the task
instance until subplugins are refactored to be able to properly
work with task configuration avoidance.
2019-09-25 15:46:05 +03:00
Sergey Igushkin
0456220f7a
Fix issues found in KOTLIN-CR-3233
2019-09-25 15:46:05 +03:00
Sergey Igushkin
f0ef5a90b3
Add an integration test for the test runs API
...
Issue #KT-32679
2019-09-25 15:46:05 +03:00
Sergey Igushkin
d1016f0221
Reimplement friend task/friend paths using associated compilations
...
Replace the old ad-hoc task matching mechanism used for connecting the
compilation tasks that need to share internal visibility with an
implementation based on the associate compilations and compilation
outputs rather than `destinationDir`s of the tasks.
The only place that still requires ad-hoc friend paths is the Android
instrumented tests compiling against the JAR of the main variant, not
its classes dirs. Support that with `friendArtifacts`.
Issue #KT-17630 Fixed
Issue #KT-20760 Fixed
2019-09-25 15:46:05 +03:00
Sergey Igushkin
c4d9c4cee4
Group associated compilations into modules with a single module name
...
As associated compilations will see internals of each other, they now
need to share the module name for the compiler to be able to correctly
generate calls to the internals.
Move `moduleName` to `KotlinCompilation`.
Group associate compilations into modules in a DSU-like way, use a
single module name for all of the compilations grouped into a module.
2019-09-25 15:46:04 +03:00
Sergey Igushkin
94fd5c2884
Implement source sets visibility inference via associate compilations
...
Add non-public API for the IDE to query additional visible source sets
for each source set.
Implement visibility inference via associate compilation links.
Implement visibility requirements for source sets and requirements
satisfaction checks in Gradle build.
2019-09-25 15:46:04 +03:00
Sergey Igushkin
8c1c687e92
Implement associate compilations, KT-34009
...
Partial implementation of the associate compilations proposal. A
compilation can now contain links to other compilation that it compiles
against. This links will replace ad-hoc inter-compilation dependencies.
Issue #KT-34009 Fixed
2019-09-25 15:46:04 +03:00