Ilya Gorbunov
ea9be01034
Fix maven references to stdlib-js
...
#KT-15940
2017-01-27 22:19:26 +03:00
Ilya Gorbunov
ba1d7104a3
Rename JS standard library artifact #KT-15940
2017-01-27 22:09:46 +03:00
Alexey Andreev
72bcdf8869
JS: add enum emulation to IDL2K
2017-01-27 20:54:43 +03:00
Alexey Andreev
68d14de000
JS: add support of Promise<T> in IDL2K
2017-01-27 20:54:42 +03:00
Alexey Tsvetkov
1420bd1b33
Add Kotlin Gradle DSL to configure coroutines from build.gradle
2017-01-27 19:04:49 +03:00
Ilya Gorbunov
01f53d0173
Return NaN as an average of an empty collection.
...
#KT-15399 Fixed
2017-01-27 14:53:33 +03:00
Ilya Gorbunov
661ff81e67
Specify names for parameters of functional types with two or more parameters to ease lambda completion.
...
#KT-13826
2017-01-27 14:46:29 +03:00
Yan Zhulanow
bb0b70d27b
Kapt: Fix extending configurations in Gradle, create "main" configuration if it does not exist yet. Also fix checking kapt configuration dependencies, use allDependencies instead (KT-15814)
2017-01-27 02:01:04 +09:00
Alexey Sedunov
dafb6f8b3c
Kotlin Gradle Plugin: Provide serialized list of compiler arguments in compilation tasks
2017-01-26 18:06:13 +03:00
Alexey Tsvetkov
09a8a999c8
Correct construction of UnicastRemoteObject
...
#KT-15837 fixed
2017-01-26 16:07:44 +03:00
Ilya Gorbunov
2e0209395a
Restore Map.minus(key/keys) and Map.minusAssign(key/keys) operators.
...
#KT-13353
2017-01-25 22:08:46 +03:00
Ilya Gorbunov
a2bd3bfc7b
List artifacts explicitly for test.
2017-01-24 22:04:46 +03:00
Ilya Gorbunov
43003cffbb
Make kotlin-runtime dependency optional for kotlin script executor for maven, but still add if it's found.
2017-01-24 22:04:46 +03:00
Ilya Gorbunov
070f9d9d17
Binary compatibility validation: dump public API of merged stdlib to another file
2017-01-24 22:04:46 +03:00
Ilya Gorbunov
4da4de1104
Replace kotlin-runtime with kotlin-stdlib, where it was used as a dependency.
2017-01-24 22:04:46 +03:00
Ilya Gorbunov
e025050dd9
Replace kotlin-runtime with kotlin-stdlib in kotlin-script-util and its tests
2017-01-24 22:04:46 +03:00
Alexey Andreev
a9069d8973
JS: replace noImpl with definedExternally in stdlib generator
2017-01-24 20:15:21 +03:00
Alexey Andreev
e3da9066c4
JS: replace noImpl with definedExternally in IDL2K
2017-01-24 20:14:32 +03:00
Sergey Mashkov
66de78e82a
kotlin-test: migrate multiplatform integration test to use common test module
2017-01-24 19:39:05 +03:00
Sergey Mashkov
e500eba59f
Maven: test js compiler test scope dependencies
2017-01-24 19:39:05 +03:00
Ilya Gorbunov
5a28e8cc20
Install kotlin-test artifacts to local repo when testing maven plugin
2017-01-24 19:39:05 +03:00
Ilya Gorbunov
609405b8d4
Add kotlin-test-js dependency where required.
2017-01-24 19:39:05 +03:00
Alexey Andreev
36d2a91057
JS: prevent IDL2K from generating @nativeGetter/@nativeSetter annotations, generate inline extension function with asDynamic() instead
2017-01-24 12:27:01 +03:00
Alexander Udalov
70d2296e61
Update public API dump after adding KPropertyN.getDelegate
2017-01-24 10:59:44 +03:00
Sergey Mashkov
98075c17c9
kotlin-test: extract from JS library, convert to multiplatform
2017-01-23 15:43:02 +03:00
Alexander Udalov
78f2515e95
Introduce KProperty{0,1,2}.getDelegate
...
#KT-8384 In Progress
2017-01-23 12:25:35 +03:00
Alexander Udalov
fc637eb420
Change runtime component from "Core" to "Main"
...
This is needed to allow the old compiler have the new runtime libraries in the
classpath. See the previous commit for a more elaborate explanation
2017-01-21 12:57:15 +03:00
Ilya Gorbunov
a429992e81
Do not generate headers for JS-only functions.
2017-01-18 22:16:49 +03:00
Ilya Gorbunov
ed9b9d972c
Make 'add' function abstract in AbstractMutableSet in JVM
2017-01-18 20:07:24 +03:00
Ilya Chernikov
3fcbc7bfa3
Rollback commit with native platform lib relocation - it seems breaks functionality on Windows
...
(cherry picked from commit d3ff19e)
2017-01-17 14:30:28 +01:00
Roman Elizarov
25739a08ea
CoroutineContext Key and Element are now inside CoroutineContext interface itself (just like Map.Entry)
...
ContinuationInterceptor companion object is named Key
CoroutineContext.Element property for key is named just key
AbstractCoroutineContextElement implements all of CoroutineContext.Element, including key
2017-01-16 14:33:02 +03:00
Ilya Gorbunov
3d70d73964
Rename file class CoroutinesLibraryKt to CoroutinesKt
2017-01-15 20:57:11 +03:00
Yan Zhulanow
50a7164efe
Kapt3, Gradle: Fix kapt execution in tests. Check filtered dependencies list properly (KT-15459)
2017-01-15 22:11:11 +09:00
Yan Zhulanow
ee57446397
Kapt3, Gradle: Prevent circular dependency between kapt and kotlinCompile tasks (KT-15713)
2017-01-15 22:11:11 +09:00
Ilya Gorbunov
141ad43039
Introduce buildSequence and buildIterator functions based on coroutines.
2017-01-14 20:14:01 +03:00
Denis Zharkov
85a3fefcc6
Get rid of SuspendFunctionX interfaces
...
Use a pair of effectively abstract methods in CoroutineImpl instead
2017-01-14 15:13:37 +03:00
Ilya Gorbunov
2dfcb490a5
Fix CoroutineContext tests, update public API dump
2017-01-14 13:24:53 +03:00
Denis Zharkov
7837d736f7
Merge RestrictedCoroutineImpl into CoroutineImpl
2017-01-14 13:24:53 +03:00
Denis Zharkov
d487c1ef0f
Refine dispatching convention
...
Dispatching happens only via `suspendWithCurrentContinuation` calls
instead of each `resume` call
#KT-15657 Fixed
2017-01-14 13:24:53 +03:00
Denis Zharkov
2cb9d3a8ad
Move coroutine intrinsics to kotlin.coroutine.intrinsics package
...
Also rename val SUSPENDED to SUSPENDED_MARKER
#KT-15698 Fixed
2017-01-14 13:24:53 +03:00
Ilya Gorbunov
80f2efb625
joinTo/joinToString: Do not call toString on elements that are already CharSequence or Char.
...
#KT-15557
2017-01-13 19:49:57 +03:00
Sergey Mashkov
39ad8fb22c
Maven: tests support for multiplatform projects
2017-01-13 15:34:13 +03:00
Alexey Tsvetkov
3d07c40887
Minor: rename CompilationResultSink->CompilationResults
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
bdae0b5efb
Fix the build
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
39b37b85e3
Minor: rename Storage->Sink
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
f027860ac0
Minor: rename CompilationResult->CompilationResultCategory
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
a3415d8d0e
Minor: move CompilerMode
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
072edf4b5a
Minor: introduce EXCEPTION report category
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
c2a125ff1c
Minor: fix naming
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
16352ff2e5
Refactor messages sending
2017-01-13 15:08:12 +03:00