Ilya Gorbunov
cff32e46bb
Provide expect declarations for String.startsWith/endWith overloads
...
Mark the existing declarations as actual.
2018-11-22 19:17:24 +03:00
Ilya Gorbunov
7d3de70754
Correct replacement for js Math.log
...
The correspondent kotlin.math function is ln(x)
#KT-28251 Fixed
2018-11-17 00:20:54 +03:00
Ilya Gorbunov
5f4e8bf4fb
Correct abstract mutable collections declarations in kotlin-stdlib-common
...
Add SinceKotlin(1.3) to the new and substantially changed common declarations
#KT-28091
2018-11-09 13:39:44 +03:00
Ilya Gorbunov
b026b9eb22
Remove +ReleaseCoroutines explicit feature enabling
...
It's enabled by default in Kotlin 1.3
2018-11-09 04:00:26 +03:00
Ilya Gorbunov
a64a76d5fc
Remove experimental coroutines opt-in from build scripts
...
It has no effect in Kotlin 1.3
Only enable coroutines if '-ReleaseCoroutines' is used
2018-11-09 04:00:26 +03:00
Svyatoslav Kuzmich
370b04df35
[JS IR BE] Inline classes lowering
2018-11-08 15:00:30 +03:00
Roman Artemev
6a05b1eee5
[JS IR BE] Add noWhenBranchMatchedException
...
* refact exception helpers
2018-10-25 15:48:42 +03:00
Ilya Gorbunov
c8caed5b6f
Duplicate MutableList.add docs in AbstractMutableList.add
...
Because the documentation inheritance doesn't work as desired here.
2018-10-23 22:21:25 +03:00
Ilya Gorbunov
4a10d954fc
Unify and improve Regex docs
2018-10-22 17:14:46 +03:00
Ilya Gorbunov
63c5e18149
capitalize/decapitalize docs in stdlib/js
2018-10-22 17:14:45 +03:00
Ilya Gorbunov
ac5eeb885f
Unify AbstractMutableMap JS docs
2018-10-22 17:14:45 +03:00
Ilya Gorbunov
7fc6f06b70
Correct parameter reference in copyInto docs
2018-10-22 17:14:44 +03:00
Ilya Gorbunov
ebe9d59df7
Unify print/println/readLine docs
2018-10-22 17:14:44 +03:00
Ilya Gorbunov
406bd7c980
Minor: split math sources into regions
2018-10-22 17:14:44 +03:00
Roman Artemev
c496d8ed50
Fix Char.toLowerCase/Char.toUpperCase extensions
2018-10-19 14:03:06 +03:00
Anton Bannykh
995ac7aac2
[JS IR BE]: make deleteProperty non-inline due to new inliner limitations
2018-10-18 14:24:05 +03:00
romanart
6a66663739
Update IR Runtime
2018-10-17 14:10:37 +03:00
Svyatoslav Kuzmich
5a057f8ca6
[JS IR BE] Support 'is Number' and 'is Comparable<>'
2018-10-14 23:53:03 +03:00
Svyatoslav Kuzmich
783f27c554
[JS IR BE] Support Number.to(Byte|Short|Int|Float|Double|Long)
2018-10-14 23:53:03 +03:00
Svyatoslav Kuzmich
bad9534abd
[JS IR BE] Support integer operation overflow
2018-10-14 23:53:02 +03:00
Svyatoslav Kuzmich
7074909230
[JS IR BE] Support enumValues<T>() and enumValueOf<T>(name)
2018-10-10 19:35:17 +03:00
Svyatoslav Kuzmich
bdc3daf972
[JS IR BE] Support Enum::values
2018-10-10 19:35:17 +03:00
Svyatoslav Kuzmich
c7bde6a5e6
[JS IR BE] Fix runtime compareTo(Number, Long)
2018-10-10 17:27:36 +03:00
Alexander Udalov
55c8b35eee
Remove unneeded default imports in stdlib and tests
2018-10-01 13:39:02 +02:00
Svyatoslav Kuzmich
334c776b92
[JS IR BE] Fix @DoNotIntrinsify processing. Reuse it for compareTo
2018-09-28 20:27:01 +03:00
Svyatoslav Kuzmich
b79dcbe8e6
[JS IR BE] Refactor equals and compareTo lowering
2018-09-24 18:21:57 +03:00
Ilya Gorbunov
974837654e
Remove workaround for complex default value in Array.copyInto
...
#KT-22818
2018-09-22 18:24:00 +03:00
Anton Bannykh
8e347f9f39
[JS IR BE] lateinit support
...
* Functions with IrExpressionBody are lowered to IrBlockBody
* Implemented throwUninitializedPropertyAccessException function
2018-09-21 18:20:11 +03:00
Anton Bannykh
beaf6df8c5
[JS IR BE] support CharSequence and String methods
2018-09-21 18:16:03 +03:00
Mikhail Zarechenskiy
d7f2eeb6e8
Add BuildInference annotation onto stdlib coroutine builders
2018-09-18 18:55:26 +03:00
Anton Bannykh
7d5a304cf6
[JS IR BE] support Char.rangeTo()
2018-09-18 15:43:55 +03:00
Anton Bannykh
2e709a81fa
[JS IR BE] Arrays, varargs
2018-09-18 14:36:20 +03:00
Ilya Gorbunov
cb47b0cde1
Fix sourcemap of stdlib/js to include new source sets
2018-09-17 17:58:28 +03:00
Roman Artemev
c0ef1311ba
[JS IR BE] Fix runtime for Release coroutines
2018-09-17 15:29:16 +03:00
Roman Artemev
6bb77ba51d
[JS IR BE] Get rid of parameters in doResume method. Make its signature similar for both 1.2 and 1.3 coroutines
2018-09-17 14:52:44 +03:00
Ilya Gorbunov
7a7fa56d74
[JS IR BE] New sequence builder mocks for building stdlib
...
#KT-26678
2018-09-16 23:30:36 +03:00
Ilya Gorbunov
b1c2daf1fe
Stdlib: fix name shadowing and names of overridden method parameters
2018-09-14 15:32:25 +03:00
Ilya Gorbunov
bf4be12239
Stdlib: review and suppress warnings
2018-09-14 15:32:25 +03:00
Ilya Gorbunov
2d356b89b5
Specialize contentDeepEquals/HashCode/ToString for arrays of unsigned types
...
#KT-26388
2018-09-13 06:10:10 +03:00
Ilya Gorbunov
62ffacab09
Raise deprecation level for jsClass functions
...
Suppress error in tests
#KT-21703
2018-09-11 18:15:04 +03:00
Ilya Gorbunov
35f42c7d35
Raise deprecation level for kotlin.Synchronized and Volatile, remove replacements
...
They are js-only but not supposed to be used in Kotlin/JS code, so their
usages should be just removed.
#KT-21703
2018-09-11 18:15:03 +03:00
Ilya Gorbunov
010b36be1f
Raise deprecation level for kotlin.js.Math functions
...
#KT-21703
2018-09-11 18:15:03 +03:00
Ilya Gorbunov
fbd2322ffa
Add replacement information for deprecated JQuery members
...
#KT-21703
2018-09-11 18:15:03 +03:00
Ilya Gorbunov
c3f654a71c
Stdlib/JS: drop deprecated CharSequence.size
...
#KT-21703
2018-09-11 18:15:03 +03:00
Mikhail Zarechenskiy
106ecadd62
Allow using kotlin.Result as a return type in stdlib
2018-09-11 10:39:27 +03:00
Zalim Bashorov
24dc8b33cd
[JS IR BE] fix compilation of stdlib by IR BE after move coroutine related sources in stdlib
2018-09-07 19:22:35 +03:00
Ilya Gorbunov
2821c357a1
Switch coroutine tests to release coroutines
2018-09-07 01:03:53 +03:00
Ilya Gorbunov
e22ca022d4
Switch sourcesets of experimental and release coroutines
...
- Move experimental coroutines out of the main source root.
- Include experimental coroutines into the coroutines source set.
- Include release coroutines into the main source set.
2018-09-07 01:03:53 +03:00
Svyatoslav Kuzmich
197a5969e2
[JS IR BE] Fix stdlib files list for 1.3
2018-09-04 20:19:04 +03:00
Svyatoslav Kuzmich
c3b9a5108e
[JS IR BE] Add more stdlib files to runtime
...
Keep old sources list for coroutine tests
2018-09-04 20:19:04 +03:00