Ilya Gorbunov
3cea5c4510
Drop entire java.util package from kotlin-stdlib-js
...
#KT-6561 Fixed
2017-02-22 17:28:02 +03:00
Anton Bannykh
4c808e8691
JS: concat vararg arguments using Kotlin.concat and Kotlin.concatPrimitive functions in order to be binary compatible with (Kotlin PrimitiveArray -> JS TypedArrays) mapping.
2017-02-15 18:58:29 +03:00
Ilya Gorbunov
c6cb389591
JS kotlin.dom: deprecate asElementList harder.
...
Minor: correct exception message.
2017-02-09 22:15:51 +03:00
Ilya Gorbunov
ec01200997
Introduce ItemArrayLike interface and replace multiple asList adapters with the single one.
2017-02-08 23:31:58 +03:00
Ilya Gorbunov
41c980bcab
Massive deprecations in kotlin.dom
2017-02-08 23:31:58 +03:00
Ilya Gorbunov
365f8d0256
Drop pre-1.0 deprecated dom helpers.
2017-02-08 23:31:58 +03:00
Ilya Gorbunov
287a513f23
Provide KDoc for js collection implementations.
2017-02-08 20:13:22 +03:00
Ilya Gorbunov
2269b9839f
Restrict visibility of AbstractMap.SimpleEntry in JS
2017-02-08 20:13:22 +03:00
Ilya Gorbunov
fc7b1c8611
KDoc for mutable abstract collections.
...
Document abstract overrides.
2017-02-08 20:13:22 +03:00
Denis Zharkov
4f6a77cf38
Introduce createCoroutineUnchecked intrinsic
...
Also use it for buildSequence implenentation
#KT-16155 Fixed
2017-02-07 11:08:27 +03:00
Denis Zharkov
230564fb4a
Minor. Get rid of code duplications for resume call wrapping in stdlib
...
Use processBareContinuationResume instead
2017-02-07 11:07:04 +03:00
Denis Zharkov
6dde567be4
Optimize startCoroutine impls, move them to common stdlib
...
Do not wrap initial continuation for startCoroutine in SafeContinuation
This changes leaves only internal declarations and intrinsics as platform
dependent parts of the coroutine library, the rest parts (public API)
is implemented through them in common module
2017-02-07 11:07:04 +03:00
Denis Zharkov
a65d86293b
Improve coroutines library layout
...
- Split CoroutinesLibrary into common and JVM parts
- Get rid of startCoroutine duplications
- Make suspendCoroutine implementation to be platform independent
2017-02-07 11:07:04 +03:00
Denis Zharkov
258ee0db75
Introduce startCoroutineUninterceptedOrReturn coroutine intrinsic
...
#KT-15716 Fixed
2017-02-07 11:07:04 +03:00
Denis Zharkov
29b0b30031
Make createCoroutine return a safe continuation
...
#KT-15718 Fixed
2017-02-07 11:06:50 +03:00
Ilya Gorbunov
84f324e04f
Add deprecated parseInt overload without radix parameter to provide better replacement.
2017-02-03 18:39:24 +03:00
Alexey Andreev
0f049a90aa
JS: prohibit nested classes, objects and enums in external interface. See KT-16012
2017-02-03 11:09:09 +03:00
Sergey Mashkov
20f9e67244
KT-16043 IDL: mark inline helper function as InlineOnly (generate)
2017-02-01 14:44:48 +03:00
Ilya Gorbunov
66abea1f19
Add explicit imports of kotlin.js.* to stdlib where required.
2017-01-30 19:44:51 +03:00
Ilya Gorbunov
25c3064554
Add explicit imports of kotlin.js.* to generated files.
2017-01-30 19:44:51 +03:00
Anton Bannykh
77aa685496
JS: char boxing
2017-01-30 16:31:44 +03:00
Zalim Bashorov
0dd3f11175
KJS: mark as inline only some functions form js stdlib
2017-01-30 15:35:45 +03:00
Zalim Bashorov
a49ad3ca69
KJS: change visibility of subSequence helper function to internal to avoid to use it directly from kotlin
2017-01-30 15:35:45 +03:00
Zalim Bashorov
d5dca38d68
KJS: rename baseClass field in metadata to interfaces since we plan to store there only implemented interfaces (see KT-15037)
2017-01-30 15:35:45 +03:00
Zalim Bashorov
1b8b6bea43
KJS: turn Json class into external interface
...
#KT-12712 Fixed
2017-01-30 15:35:45 +03:00
Roman Elizarov
8dc318dd92
Fixed KT-15963 (coroutines machinery should not use equals on results)
2017-01-27 23:24:13 +03:00
Denis Zharkov
c362a9154b
Rename SUSPENDED_MARKER to COROUTINE_SUSPENDED
2017-01-27 23:24:13 +03:00
Denis Zharkov
8fa8ba7055
Move coroutine-related runtime parts to kotlin.coroutines.experimental package
...
#KT-15975 Fixed
2017-01-27 23:24:13 +03:00
Alexey Andreev
4c831cab9e
JS: regenerate stdlib files from IDL
2017-01-27 20:54:43 +03:00
Alexey Andreev
04e9405082
JS: regenerate stdlib files from IDL
2017-01-27 20:54:42 +03:00
Alexey Andreev
563a3a25cb
JS: add Promise class
2017-01-27 20:54:41 +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
Ilya Gorbunov
20f175d091
Soften back deprecation level for nativeGetter/Setter/Invoke annotations.
2017-01-27 00:48:46 +03:00
Ilya Gorbunov
288e0b3c7e
Allow to use Regex matches CharSequence and CharSequence matches Regex in infix form
...
#KT-14279
2017-01-25 21:31:42 +03:00
Ilya Gorbunov
387564d140
JS: Rewrite RegExpMatch without @nativeGetter
2017-01-25 21:29:53 +03:00
Ilya Gorbunov
03019dc638
Deprecate qunit (with ERROR) and jquery (with WARNING)
2017-01-25 21:29:53 +03:00
Ilya Gorbunov
70f3cee9ff
Harden deprecations to prepare for cleanup.
2017-01-25 21:29:53 +03:00
Ilya Gorbunov
1ccc655cdc
Harden deprecation level on remaining API in java.util in kotlin-stdlib-js
2017-01-25 21:29:53 +03:00
Alexey Andreev
cc67f6c9f7
JS: add support of JsQualifier annotation. See KT-15905
2017-01-25 13:52:18 +03:00
Alexey Andreev
6624736ccf
JS: fix is check on Throwable instances
2017-01-25 13:52:18 +03:00
Alexey Andreev
aef7b83932
JS: fix toString in case of kotlin.Throwable
2017-01-25 13:52:17 +03:00
Alexey Andreev
115f6ced87
JS: fix support of throwable constructors without message and/or cause parameters
2017-01-25 13:52:16 +03:00
Alexey Andreev
f34093db9f
JS: make kotlin.Throwable = Error. See KT-15312
2017-01-25 13:52:13 +03:00
Anton Bannykh
847ec9e550
JS: fixed subSequence in CharSequence descendants (KT-14035) + added support for function intrics in delegation
2017-01-25 12:59:53 +03:00
Ilya Gorbunov
8e9bbe276c
JS: Make Date.getTime return Double instead of Int.
...
#KT-4141 Fixed
2017-01-24 21:55:48 +03:00
Alexey Andreev
46d251df1b
JS: deprecate noImpl
2017-01-24 20:18:42 +03:00
Alexey Andreev
5243b451f7
JS: replace noImpl with definedExternally in hand-written stdlib
2017-01-24 20:18:42 +03:00
Alexey Andreev
c05870b461
JS: regenerate stdlib
2017-01-24 20:15:22 +03:00
Alexey Andreev
c9a190b405
JS: regenerate stdlib sources from IDL
2017-01-24 20:15:19 +03:00