Ilya Gorbunov
5ee3cc59b3
Split summary from description in Char docs
2018-08-30 14:51:12 +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
Ilya Gorbunov
31d7aae98d
Annotate companion object declaration with SinceKotlin
...
Move it to the end of the class declaration.
Update builtins testdata
2018-08-30 14:51:08 +03:00
Kerooker
af5f78076c
KT-7922 Added Boolean Companion Object
2018-08-30 14:51:04 +03:00
Ilmir Usmanov
0559cfb724
Move SuspendFunction{N} interfaces to kotlin.coroutines package
...
#KT-25824: Fixed
2018-08-22 16:21:30 +03:00
Ilya Gorbunov
3245148206
Docs: clarify default element value of CharArray and BooleanArray
2018-05-25 21:53:52 +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
2eba8efb80
Do not refer to Cloneable in documentation
...
There's no source for Cloneable and it can't be resolved yet.
2018-02-19 15:14:25 +03:00
Alexander Udalov
2593ce73f1
Update copyright in generated sources
...
To fix tests that are checking that the generated data is up to date
2018-01-11 12:45:36 +01:00
Ilya Gorbunov
bd4d847943
Fix unresolved references in the api docs
...
These were mostly incorrect parameter names and external api links.
2017-11-28 18:41:17 +03:00
André Oriani
a24c9a987f
Improve Boolean infix functions' documentation ( #1249 )
2017-08-17 11:53:39 +03:00
Ilya Gorbunov
a21dbf08a8
Reorder values and entries in MutableMap to match docs
...
Also change references to mutable collections in docs.
#KT-18670 Fixed
2017-07-01 17:05:17 +03:00
Alexander Udalov
43f1c843ce
Minor, fix typo in docs on built-ins
2017-03-22 13:27:38 +03:00
Matthew Brener
adc19b433e
its --> it's in Char.kt ( #1041 )
2017-03-22 10:29:39 +01:00
Ilya Gorbunov
7c54c48e00
Add a note about generic parameter variance to Iterable, Collection, List, Set, Map and their mutable counterparts.
...
Minor: correct docs, code formatting.
2017-02-08 20:13:22 +03:00
Ilya Gorbunov
4ac7be9fa5
Retract bitwise operators from builtins for Byte and Short and add them as extensions in kotlin.experimental package in stdlib.
...
#KT-16030
2017-01-30 18:54:59 +03:00
Simon Ogorodnik
d0cf1b0c5f
Fix for KT-14819 Quick documentation for special Enum functions doesn't work
...
#KT-14819 fixed
2017-01-10 16:04:18 +03:00
Mikhail Zarechenskiy
101ad11db5
Regenerate all automatically-generated data
2017-01-10 14:24:01 +03:00
Roman Elizarov
7b079bd1f7
Renaming after DM
2016-12-15 23:58:22 +03:00
Denis Zharkov
72401efb9f
Update coroutine related runtime parts
2016-12-15 23:32:08 +03:00
Roman Elizarov
852a5ee064
New coroutine builder convention API
2016-12-15 23:32:07 +03:00
Mikhail Zarechenskiy
62ac91a121
Add operator 'rem' to builtIns
...
Also deprecate operator 'mod'
2016-12-14 15:29:00 +03:00
Denis Zharkov
2c3b0aeddb
Add 'suspendWithCurrentContinuation' and 'Suspend' object in built-ins
...
They are part of the new suspension convention, relevant
support in backends will be added in later commits
#KT-14924 In Progress
2016-11-29 14:14:50 +03:00
Ilya Gorbunov
1a471d7f6b
Annotate new enum-related API with SinceKotlin.
2016-11-04 04:18:51 +03:00
Michael Bogdanov
fd6d4c352c
Special enum function support; Fix for KT-10569: Cannot iterate over values of an enum class when it is used as a generic parameter
...
#KT-10569 Fixed
2016-11-03 14:27:13 +03:00
Ilya Gorbunov
62fb47d137
Introduce bitwise operations and/or/xor/inv for Byte and Short. #KT-13554
...
Annotate new bitwise operations with SinceKotlin.
2016-10-26 16:35:46 +03:00
Alexander Udalov
035d6156a7
Drop Cloneable in JS, synthesize it at compile-time on JVM
...
Use the same approach that is used for creating function type classes
(Function{0,1,...}) + add Cloneable to supertypes of Array and primitive arrays
#KT-5537 Fixed
2016-10-25 15:42:33 +03:00
Alexander Udalov
3f5d3e5dbc
Fix errors and indent in built-ins sources
2016-10-24 15:30:40 +03:00
Ilya Gorbunov
2a7717214b
Annotate new API with @SinceKotlin in kotlin-runtime except reflection and type aliases.
2016-10-13 08:37:31 +03:00
Denis Zharkov
915e36cb02
Add Map.getOrDefault method as PlatformDependent declaration with refined signature
...
- First parameter should have type of K instead of Any
- Special bridge should return second parameter if a key has wrong type
- Special bridge may throw an exception if defaultValue has wrong type
#KT-13209 Fixed
2016-07-27 18:46:13 +03:00
Denis Zharkov
d259b91143
Add MutableMap.remove(K, V) as built-in declaration
...
Use PlatformDependent annotation to guarantee it's only be available for JDK8
Also adjust type-safe bridges and mutable collection stubs generation
2016-04-29 15:08:54 +03:00
Ilya Gorbunov
f3f1aa8a15
Change String.subSequence parameter names to match those of CharSequence.subSequence.
2016-04-01 21:39:09 +03:00
Ilya Gorbunov
0332217b70
Remove implementations of intrinsic array creation functions (arrayOf, primitiveArrayOf)
...
#KT-11485 Fixed
2016-03-31 17:15:10 +03:00
Ilya Gorbunov
77f148bec6
Improve docs for substring/subsequence.
2016-02-25 22:09:14 +03:00
Stanislav Erokhin
9781578af2
Update copyright in generated classes.
2016-02-16 20:31:15 +03:00
Ilya Gorbunov
5361f6e941
Make Throwable properties message and cause open.
...
#KT-5587 Fixed
2016-02-08 18:10:46 +03:00
Alexander Udalov
a02d1b75b8
Mark array constructors with 'inline'
...
To allow non-local returns from lambdas passed to them
2016-01-28 03:10:40 +03:00
Alexander Udalov
04026dbe84
Make Array<T>(size, init) a constructor of Array
...
It's not marked as inline, this is why 'crossinline' was added in
jaggedArray.kt/jaggedDeep.kt. Will be fixed in the following commits
2016-01-28 03:10:37 +03:00
Alexander Udalov
9e8b6571f4
Make primitive array factory functions constructors
2016-01-28 03:10:19 +03:00
Alexander Udalov
0e481a4340
Minor, fix Array kdoc
2016-01-28 03:10:19 +03:00
Denis Zharkov
6c0cd70a22
Introduce PureReifiable annotation
...
It prevents reporting unsafe substitution warning on expressions
like 'arrayOf(arrayOf(""))'
2016-01-22 19:17:22 +03:00
Ilya Gorbunov
4d5ec9be3f
Drop identityEquals from builtins, compiler and tests.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
9c0f0cad70
Packages: move collections to kotlin.collections.
2016-01-22 05:54:38 +03:00
Alexander Udalov
75f046fa81
Drop Throwable#printStackTrace, make it a JVM-specific extension
2015-12-25 20:16:18 +03:00
Ilya Gorbunov
f9ba35af64
Place Char constants into builtin Char companion object.
2015-12-24 06:18:51 +03:00
Ilya Gorbunov
de11ed4fc6
Primitive Companion objects do not longer implement IntegerConstants and FloatingPointConstants. All declarations moved inside companions.
...
IntegerConstants and FloatingPointConstants are dropped.
#KT-8897 Fixed
2015-12-24 06:17:03 +03:00
Michael Bogdanov
ca9e8fc5a7
Fix for KT-5910: Can't call Throwable() in Kotlin
...
#KT-5910 Fixed
2015-12-17 14:09:15 +03:00
Ilya Gorbunov
9c59045f48
Rename parameters: CharSequence
2015-11-21 00:54:35 +03:00
Ilya Gorbunov
6bac3e1986
Drop Ranges, Progressions, ProgressionIterators for Double and Float.
...
Undeprecate generic Comparable.rangeTo, but return private implementation instead.
Undeprecate contains and coerceIn for generic ranges.
2015-11-11 03:53:47 +03:00
Ilya Gorbunov
854d376988
Eliminate byte and short ranges and progressions from range construction functions' return type.
2015-11-11 03:53:29 +03:00