Ilya Gorbunov
0c89996e34
Introduce platform specific annotations as optional in common stdlib
...
#KT-24478
2018-08-31 04:17:42 +03:00
Ilmir Usmanov
e93683621a
Implement callSuspend and callSuspendBy functions as KCallable's
...
extension methods.
Also make isSuspend a member of KCallable.
#KT-21972: Fixed
2018-08-30 14:57:48 +03:00
Ilya Gorbunov
2df78fc81a
Introduce common ArithmeticException
...
Make divisionByZero test still fail in JS after introducing ArithmeticException
2018-08-30 14:56:59 +03:00
Alexander Udalov
cbc92bc9a1
Add KClass.sealedSubclasses to get direct subclasses of sealed class
...
#KT-14657 Fixed
2018-08-30 14:56:21 +03:00
Alexander Udalov
082da82f3e
Introduce kotlin.jvm.functions.FunctionN
...
#KT-13764
2018-08-30 14:52:36 +03:00
Alexander Udalov
51979b9ffa
Convert FunctionBase to Kotlin, add type parameter to Lambda
...
This will make it possible to avoid raw types when inheriting from both
FunctionBase and Function<R>. This change adds a generic type parameter
to FunctionBase and Lambda which is not source-breaking under our policy
because both FunctionBase and Lambda are internal classes (located in
package kotlin.jvm.internal)
2018-08-30 14:52:33 +03:00
Alexander Udalov
e35ebff4e1
Move superinterface to the only subclass of FunctionBase
2018-08-30 14:51:17 +03:00
Ilya Gorbunov
07a0cb91d4
Introduce Char.MIN_VALUE and MAX_VALUE constants (KT-21763)
...
Add Char.MIN_VALUE and Char.MAX_VALUE implementations in primitive companion objects.
Update builtins test data and public API.
Co-authored-by: Oskar Drozda <themppsplx@gmail.com >
2018-08-30 14:51:14 +03:00
Ilya Gorbunov
0c50014e7a
Introduce SIZE_BYTES and SIZE_BITS constants for all integral types
...
#KT-8247 Fixed
2018-08-30 14:51:10 +03:00
Kerooker
af5f78076c
KT-7922 Added Boolean Companion Object
2018-08-30 14:51:04 +03:00
Alexander Udalov
f423403167
Make kotlin.Metadata public
...
Prohibit explicit usage of `@Metadata` to prevent possible
AnnotationFormatError at runtime
#KT-23602 Fixed
2018-08-30 14:50:25 +03:00
Artem Zinnatullin
58becffb1f
Add documentation for @JvmSynthetic
2018-08-02 08:53:47 +03:00
Mikhael Bogdanov
1d283d243e
Support @JvmField on interface properties
...
#KT-15807 Fixed
2018-07-16 16:13:15 +02:00
Roman Elizarov
8bbd78ca9a
Draft Kotlin Coroutines 1.3 ABI & API:
...
* SuccessOrFailure inline class is introduced
* Continuation.resumeWith(SuccessOrFailure)
* createCoroutineUnintercepted
* [Restricted]ContinuationImpl as named suspending function base
* [Restricted]SuspendLambda as suspending lambda base
* SuspendFunction[01] interfaces for efficient createCoroutine
* Serializable coroutine classes
2018-07-09 15:27:19 +03:00
Alexander Udalov
8d124eb77f
Minor, use array literal syntax in kotlin.Metadata
2018-06-27 12:20:03 +02:00
Ilya Gorbunov
e3883d8d6d
Reformat stdlib: jvm part
...
#KT-5558
2018-04-27 05:28:38 +03:00
Ilya Gorbunov
d3156c33be
Update copyrights in builtin sources
...
Read copyright template from .idea/copyright/apache.xml profile
2018-04-26 21:57:50 +03:00
Ilya Gorbunov
e21c235bbb
Add or update copyrights in the standard library sources
2018-04-26 21:57:50 +03:00
Ilya Gorbunov
23d0e5f2e1
Workarounds to build parts of stdlib as kotlin-runtime and mock runtime
...
Fix source paths of kotlin-stdlib-minimal-for-tests
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
7c74083f09
runtime-jvm: add actual modifiers where required
2018-04-12 17:53:00 +03:00
Mikhael Bogdanov
89f22e69b4
Relocate @JvmDefault to stdlib module
2018-04-03 19:18:16 +02:00
yukuku
6f6b0baf3b
Fix wrong example on the docs of @PurelyImplements
2018-03-15 18:56:26 +03:00
Alexander Udalov
241673c6a1
Add forgotten SinceKotlin to Metadata.pn
...
kotlin.Metadata is internal, so it shouldn't have any visible effect
2018-03-14 12:25:17 +01:00
Ilya Gorbunov
c796e5338b
Move runtime.jvm sources to stdlib/jvm/runtime
...
Update path in kotlin-runtime
Update path in kotlin-mock-runtime-for-tests
2018-02-26 17:11:10 +03:00