Shagen Ogandzhanian
ca4521d57d
Support ClipboardEvent in definitions generated from idl
2018-12-18 15:07:34 +01:00
Shagen Ogandzhanian
44af5b783f
Introduce TrackEvent, MediaStreamTrackEvent-related IDL definitions
2018-12-18 12:19:12 +01:00
Shagen Ogandzhanian
c1f75d2324
Introduce idl definition for SVGMaskElement
2018-12-17 16:11:22 +01:00
Shagen Ogandzhanian
714b4f25c0
Introduce better typing for on[event-name] attributes from idl
...
see https://upsource.jetbrains.com/kotlin/review/KOTLIN-CR-2548
2018-12-14 13:17:41 +01:00
Shagen Ogandzhanian
44da3c89b7
Introduce PointerEvent-related definitions
...
* Resolves https://youtrack.jetbrains.com/issue/KT-23932
* Backed by review https://upsource.jetbrains.com/kotlin/branch/KT-23932-POINTER-EVENT-FROM-REMOTE-IDL
2018-12-12 14:53:18 +01:00
Shagen Ogandzhanian
1f0bca12e1
Leave undefined values for undefined params in idl-generated code unassigned
...
https://upsource.jetbrains.com/kotlin/review/KOTLIN-CR-2535
2018-12-07 16:05:00 +01:00
Vyacheslav Gerasimov
508fe28781
Build: Add NoDebugJavaExec to filter out debugger arguments added by Idea
...
Workaround for IDEA-200192:
IDEA makes all JavaExec tasks not up-to-date and attaches debugger making our breakpoints trigger during irrelevant task execution
2018-12-05 16:23:25 +03:00
Shagen Ogandzhanian
b154d10cc5
Merge pull request #2013 from JetBrains/KT-16305-MUTATION_OBSERVER_INIT
...
Skip assignment for null-value ArrayLike object in idl-based generate…
2018-12-04 20:33:24 +01:00
Vyacheslav Gerasimov
17a60e3fd3
Build: use UtilityJavaExec task for compileJs and generateVisitors
2018-12-04 15:38:56 +03:00
Shagen Ogandzhanian
8294309e5b
Skip assignment for null-value ArrayLike object in idl-based generated code
2018-12-04 12:44:43 +01:00
Roman Artemev
c5922bf74b
Refact stdlib generator, add support for different backends
...
[JS IR BE] Runtime fixes
* Do not generate external declarations for IR BE
* Move `arrayToString` helper function out of shared JS stdlib
* Fix arrays type check for IR BE
2018-11-29 22:04:53 +03:00
Ilya Gorbunov
d7ff6c48ea
Leave only 1.3 JS IR runtime sources
...
Update exclusions after merging coroutines sources into stdlib.
2018-11-28 06:05:03 +03:00
Ilya Gorbunov
5c94ef229b
Move release coroutines sources into the corresponding stdlib sourcesets
2018-11-28 06:05:03 +03:00
Ilya Gorbunov
ec3692026d
Rename coroutines sourceset to coroutinesExperimental
...
Restore experimental coroutine tests as they were before e22ca022
and compile and run them twice:
- first time with LV=1.2
- second time with LV=1.3
2018-11-28 06:05:02 +03:00
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