Ilya Gorbunov
4e574cb017
Improve exception message for invalid steps and document step requirements
...
#KT-17176
2018-08-30 14:56:02 +03:00
Pap Lőrinc
bdf623f711
Prohibit step size of min value, as it doesn't have a negated counterpart
...
#KT-17176
2018-08-30 14:56:00 +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
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
35beb9698e
Fix overflow in empty progressions' last element
...
#KT-24204 Fixed
2018-07-09 22:13:51 +03:00
Vyacheslav Gerasimov
5ec535b680
Build: Rename File helper for creating file from pathes list to fileFrom
2018-06-22 21:42:12 +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
20b2277951
Minor: fix docs of internal getProgressionLastElement
2018-04-19 05:40:55 +03:00
Ilya Gorbunov
6955cabbba
Improve KPropertyN documentation
...
Provide missing documentation for Getter and Setter of KProperty1/2.
Fix the link to the 'getExtensionDelegate' extension.
2018-03-12 23:17:38 +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
28c77bfb01
Fix kotlin.annotation.Target's kdoc
...
The original sentence was incorrect because it did not exclude type
aliases
2018-02-01 19:27:43 +01: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
479f293edc
Expose internal getProgressionLastElement to public api
...
To be used in compiler loop optimizations.
#KT-18869 Fixed
2017-12-14 07:22:08 +03: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
Alexander Udalov
4cb8a3a6b7
Remove obsolete workaround for jansi clash issue
...
This was needed to workaround KT-17031 which is now fixed
2017-11-10 18:58:31 +01:00
Ilya Gorbunov
6fe299cd5b
Fix core:builtins:serialize task outputs
2017-11-01 17:09:10 +03:00
Leonid Stashevsky
95d32d8d1e
Add @UnderMigration annotation and options for report level
2017-10-03 16:44:02 +03:00
Ilya Chernikov
d89b53dfea
Reorganize builtins built and use in the projects
2017-09-19 23:58:31 +02:00
Alexander Podkhalyuzin
3f8170d369
Clean idea files generated on the gradle import, add them to .gitignore
2017-09-19 23:58:27 +02:00
Ilya Chernikov
3e46c59187
Clean unused dependencies, minor refactorings
2017-09-19 21:37:27 +02:00
Ilya Chernikov
27968c8e13
Set proper jvmTarget for projects
2017-09-19 21:37:27 +02:00
Ilya Chernikov
deda50dbbb
Continue switching projects to improved dsl: sourceSets and test running
2017-09-19 21:37:26 +02:00
Ilya Chernikov
61dfb75e0e
Implement Gradle Kotlin DSL build
2017-09-19 21:37:06 +02:00
Ilya Gorbunov
980feffffa
Improve @PublishedApi annotation docs #KT-19881
2017-09-07 20:07:27 +03:00
André Oriani
a24c9a987f
Improve Boolean infix functions' documentation ( #1249 )
2017-08-17 11:53:39 +03:00
Mikhael Bogdanov
07c5702861
Add missed 'version' in core modules facets
2017-08-08 13:09:48 +02:00
Mikhael Bogdanov
db9f925bb1
Switch default project jvm target to 1.8, keep 1.6 for core modules
2017-08-04 13:14:50 +02: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
Dmitry Jemerov
03a26c4ce0
Set language level 6 for modules using JDK 6
2017-03-29 18:41:00 +02: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
Alexander Udalov
af5fbef4ea
Use JDK 1.6 to compile modules under "core"
...
Outputs of these modules go into kotlin-stdlib and kotlin-reflect, both
of which must be usable on Java 6
2017-03-21 13:03:18 +03:00
Ilya Gorbunov
87c055cc61
Fix progression iterators to respect the Iterator contract.
...
#KT-16923 Fixed
2017-03-20 20:13:54 +03:00
Alexander Udalov
6793861fd4
Add target FIELD for SinceKotlin, annotate CallableReference.receiver/NO_RECEIVER
2017-02-13 14:09:43 +03: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
Dmitry Jemerov
8968d5663d
Minor fixes for stdlb kdoc
2017-01-30 16:13:49 +01:00
Alexander Udalov
eb61a1c5a8
Make KTypeProjection's constructor public
...
To make it easier to create a KTypeProjection instance given a KVariance
instance (otherwise you currently need to do a "when" on it). Also it's exposed
via automatically generated "copy" anyway
2017-01-30 11:31:20 +03:00
Denis Zharkov
0e132b9857
Move all coroutine-related declarations from built-ins to stdlib
...
Also move internal declarations from runtime.jvm module into new package
kotlin.coroutines.jvm.internal in stdlib
The necessity of these declarations being in built-ins is controversial,
but also it will complicate the migration of current coroutine runtime
to a separate jar if we ever need this
2017-01-27 23:24:13 +03:00
Alexander Udalov
ebd577e52a
Introduce KProperty{1,2}.getExtensionDelegate
...
These two functions are supposed to fix an inconvenience in the design of
KProperty{1,2}.getDelegate for extension properties, where you have to pass an
instance of the extension receiver which is going to be completely ignored
#KT-8384 Fixed
2017-01-23 12:25:36 +03:00
Alexander Udalov
78f2515e95
Introduce KProperty{0,1,2}.getDelegate
...
#KT-8384 In Progress
2017-01-23 12:25:35 +03:00
Roman Elizarov
25739a08ea
CoroutineContext Key and Element are now inside CoroutineContext interface itself (just like Map.Entry)
...
ContinuationInterceptor companion object is named Key
CoroutineContext.Element property for key is named just key
AbstractCoroutineContextElement implements all of CoroutineContext.Element, including key
2017-01-16 14:33:02 +03:00
Roman Elizarov
8d6a913cee
CoroutineContext and ContinuationInterceptor (instead of dispatcher)
2017-01-14 13:24:53 +03:00
Denis Zharkov
2cb9d3a8ad
Move coroutine intrinsics to kotlin.coroutine.intrinsics package
...
Also rename val SUSPENDED to SUSPENDED_MARKER
#KT-15698 Fixed
2017-01-14 13:24:53 +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