Ilya Gorbunov
7e2c365b79
Generate docs for floorDiv and mod and improve docs for div and rem
...
Refactor operator documentation generation for primitives and unsigned
types so that it is easier to specialize it.
Manually sync docs of numeric types in js-ir stdlib.
KT-26234
2021-03-05 07:32:16 +03:00
Alexander Udalov
acd29481bd
Regenerate sources of builtins and stdlib
2021-01-03 22:31:06 +01:00
Abduqodiri Qurbonzoda
36e6247125
Add more details about bit shift operations #KT-41112
2020-09-16 04:05:12 +03:00
Alexander Udalov
da6d904c6e
Suppress code warnings in kotlin-stdlib
2020-08-20 20:30:34 +02:00
Ilya Gorbunov
99eb7f391b
Fix doc wording around covariance/invariance
2020-08-04 00:33:05 +03:00
Ilya Gorbunov
95cc35f22e
Package builtins with jvm reflect into IDEA plugin only
...
Leave builtins with common reflect for stand-alone compiler.
2020-07-22 11:08:14 +03:00
Stanislav Erokhin
0c094b1719
Serialize jvm reflect into builtIns
...
Basically this is revert of 427e34fe5a commit
This was done due to the KT-39728.
Also we do pick every file separately, because builtIn serializer
unable to filter expects
2020-07-22 11:08:14 +03:00
Vyacheslav Gerasimov
77a8cf4e66
Build: Use attributes to resolve test dependencies in jps build mode
2020-06-29 18:17:08 +03:00
Mikhail Zarechenskiy
5d88058928
Place DeprecatedSinceKotlin annotation under 1.4 version
2020-06-29 14:25:06 +03:00
Mikhail Zarechenskiy
158013ef3a
Remove message and replaceWith parameters from DeprecatedSinceKotlin
2020-06-29 14:22:33 +03:00
Alexander Udalov
0aaf29c045
Introduce DeprecatedSinceKotlin annotation
...
This annotation will be used in the standard library to prevent the new
compiler from reporting deprecation diagnostics in case an older API
version is used (where the declaration was not deprecated yet).
#KT-23575 Fixed
2020-06-29 14:22:29 +03:00
Ilya Gorbunov
8194652793
Allow placing Suppress on a type parameter
...
#KT-12448
2020-04-03 19:36:37 +03:00
Ilya Gorbunov
f3fc1197ae
Add SIZE_BITS and SIZE_BYTES constants to Double and Float
...
#KT-29182
2020-04-01 08:06:57 +03:00
Ilya Gorbunov
1c93911279
Make Double and Float known values constant
...
#KT-13887
2020-04-01 08:06:57 +03:00
Vyacheslav Gerasimov
a4030d3abf
Build: Make JavaExec relative path system independent
2020-03-03 16:47:55 +03:00
Vyacheslav Gerasimov
1f3755248c
Build: Make task inputs relative to improve caching
2020-01-24 19:40:00 +03:00
Vyacheslav Gerasimov
760e34aeec
Build: Fix type of builtinsJar task
...
Should be org.gradle.api.tasks.bundling.Jar
2020-01-24 19:39:59 +03:00
Vyacheslav Gerasimov
8dd6a34e17
Build: Make :core:builtins:serialize task cacheable
2020-01-24 19:39:58 +03:00
Ilya Gorbunov
8f37ace9ee
Finally drop deprecated mod functions from numeric types
...
#KT-26654
2020-01-23 19:28:22 +03:00
Abduqodiri Qurbonzoda
1203df7405
Deprecate floating point to integral types lesser than Int #KT-30360
2020-01-22 23:27:35 +03:00
Ilya Gorbunov
427e34fe5a
Do not serialize JVM kotlin.reflect to builtins
...
Serialize common types from kotlin-reflect as builtins instead.
2020-01-16 15:32:29 +03:00
Alexander Udalov
e0b9ffa780
Regenerate builtins sources
2020-01-03 13:09:43 +01:00
Ilya Chernikov
315a9d66a0
Refactor more tasks to lazy API
2019-08-21 20:20:08 +02:00
Abduqodiri Qurbonzoda
432828a2db
Clarify floating-point to integral conversion rounding behaviour
2019-08-15 00:57:27 +03:00
Abduqodiri Qurbonzoda
96dcafdf35
Document order of array elements initialization (KT-32353)
2019-07-11 21:18:47 +03:00
nikita.movshin
abb7d3ab46
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update 2 lines comment
2019-04-23 20:09:27 +03:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Abduqodiri Qurbonzoda
636ed025da
Replace "binary representation of" with "bits of"
2019-03-22 21:18:27 +03:00
Abduqodiri Qurbonzoda
960797b926
Replace mistaken "bit sign" with "sign bit"
2019-03-22 21:18:27 +03:00
Abduqodiri Qurbonzoda
f36a8db8eb
More detailed Primitive.toChar conversion documentation
2019-03-22 21:18:27 +03:00
Ilya Gorbunov
b0a234ec74
Minor: collection docs formatting
2019-03-19 03:12:09 +03:00
Ilya Gorbunov
bc444df20c
Clarify behavior of MutableSet.add (KT-29373)
2019-03-19 03:12:04 +03:00
Abduqodiri Qurbonzoda
814d6cf39c
Document Array and String get() function behavior (KT-30141)
2019-03-15 17:40:19 +03:00
Ilya Gorbunov
ffe8b4419c
Docs: use consistent kotlinlang.org url in references
2019-03-13 17:53:37 +03:00
Abduqodiri Qurbonzoda
a0e2ca669b
Write docs for primitive types conversions
2019-03-13 13:14:37 +03:00
Ilya Gorbunov
6bcd112062
Drop obsolete artifact kotlin-runtime
...
Remove suppresses used to compile some parts of stdlib
as a non-multiplatform project.
2019-02-18 19:20:30 +03:00
Vyacheslav Gerasimov
1ba80adc7f
Build: Publish internal maven artifact for builtins
...
#KT-29204
2019-01-21 17:01:43 +03:00
Vyacheslav Gerasimov
46d9d5456f
Build: Change builtins artifact configuration to default
2019-01-21 17:01:43 +03:00
Vyacheslav Gerasimov
0d8c779190
Build: Change builtins serialization task output directory to local
2019-01-21 17:01:43 +03:00
Ilya Gorbunov
ef278ea030
Improve Any.equals/hashCode docs
...
- add code formatting
- remove 'reference' adjective, as Kotlin doesn't distinguish primitives from reference types
- add the requirement of inequality to null
- replace inaccurate note with a link to the reference (relates to KT-26604)
#KT-14866
2019-01-11 21:03:19 +03:00
Mikhael Bogdanov
dfee1787e5
Regenerate builtins
2019-01-02 14:47:48 +01:00
Ilya Gorbunov
68f898153c
Fix link to sealed classes doc page
...
#KT-28829 Fixed
2018-12-21 16:25:43 +03:00
Marcin Moskala
686cfa6fd2
Fix common misspellings
2018-12-21 16:13:42 +03: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
Vyacheslav Gerasimov
da46164896
Build: use UtilityJavaExec task to serialize builtins
2018-12-04 15:38:56 +03:00
Nikolay Krasko
be92c5e787
Return back to using Exec task instead of JavaExec for serializing builtins
...
Idea patches all JavaExec tasks and enables debugger for them. This
causes unexpected breakpoints stops during serialization (IDEA-200192).
An attempt with explicit removing added agentlib:jdwp= parameter breaks
Gradle up-to-date check for this task:
> Task ':core:builtins:serialize' is not up-to-date because:
> Value of input property 'jvmArgs' has changed for task ':core:builtins:serialize'
Co-authored-by: Ilya Gorbunov <ilya.gorbunov@jetbrains.com >
2018-11-19 15:06:36 +03:00
Ilya Gorbunov
ea0030f324
Actualize Deprecated annotation and DeprecationLevel enum docs
...
...to clear some confusion from KT-25643.
Describe level property usage scenario in detail.
2018-11-08 19:39:41 +03:00
Ilya Gorbunov
3aff7112e0
Minor: code formatting in Unit docs
2018-10-22 17:14:45 +03:00
Nikolay Krasko
bd27460694
Prevent IDEA attach debugger to serialize task
...
Workaround for IDEA-200192
IDEA patches JavaExec tasks and adds
agentlib:jdwp= jvm parameter when running under debug.
Replace parameters after IDEA has finished patching parameters.
2018-10-10 20:58:00 +03:00
Ilya Gorbunov
2c313e12e5
Rewrite builtin serialization task as JavaExec
...
Add standard clean, assemble, build tasks by applying base plugin.
Clean outputs in dist/builtins on clean.
2018-10-03 11:51:30 +03:00