Commit Graph

4294 Commits

Author SHA1 Message Date
Alexander Prendota 95ee655fbe docs: fix examples indents (#2222) 2018-10-17 15:37:08 +03:00
Ilya Matveev baf93a6ff0 Mention the serialization plugin in the GRADLE_PLUGIN.md (#2217) 2018-10-17 12:48:18 +07:00
Nikolay Igotti b2fa9df629 Disable asserts, avoid line numbers in runtime checks. (#2216)
* Disable asserts, avoid line numbers in runtime checks.

* Rework assertion enabling.

* Review feedback.
2018-10-17 08:42:45 +03:00
Vasily Levchenko 44d0f5b795 [build] settings globally lose GRADLE_METADATA
(cherry picked from commit a6a4a0a5438b4dc7e84d491b319a95229bc51fac)
2018-10-17 05:54:46 +03:00
Alexander Udalov c3e921d537 Do not depend on ReflectionTypes from upstream Kotlin
ReflectionTypes was incorrectly copied to common backend in
https://github.com/JetBrains/kotlin/commit/27365dc4bed8833880dc7bd0fc0189fed5ff6fed.
In fact, the copied class references `kProperty*Impl` types which are
only available in kotlin-native's runtime [1], thus using them in the
common Kotlin would lead to all kinds of confusion.

The next step is to remove ReflectionTypes in the main Kotlin project
(will be done later), remove the unneeded override
Context.reflectionTypes, and rename reflectionTypes0 -> reflectionTypes.

[1] Types with the same name are also declared in kotlin-reflect, but
the JVM backend still can't reference them because generated JVM
bytecode can only depend on kotlin-stdlib

(cherry picked from commit ab550196e9)
2018-10-16 16:10:18 +03:00
Nikolay Igotti 70a019b4af Restore GC-free runtime version. (#2215) 2018-10-16 08:04:28 +03:00
Vasily Levchenko 55cd88cde9 [kotlin compiler][update] 1.3.20-dev-863 2018-10-15 15:31:45 +03:00
Svyatoslav Scherbina f654db4205 Fix regression after migrating to release coroutines:
createCoroutinesOnManualInstances.kt test.

Also remove obsolete references to kotlin.coroutines.experimental
2018-10-15 15:06:14 +03:00
Ilya Matveev 147e6c7a93 Publish only release builds to Gradle plugin portal 2018-10-15 18:48:57 +07:00
Ilya Matveev bef66d93dd Fix 'No value has been specified for this provider' error 2018-10-15 15:29:40 +07:00
Ilya Matveev 5a37fe4e7e Shade shared classes in the gradle-plugin fat jar 2018-10-15 15:29:40 +07:00
Igor Chevdar b4a3bf0a6b Fix for https://youtrack.jetbrains.com/issue/KT-27428 2018-10-14 09:55:00 +03:00
Igor Chevdar cb811335dc Devirtualization: minor refactoring 2018-10-12 13:34:38 +03:00
Igor Chevdar 9ed0c2f1d8 Implemented more sophisticated folding of box/unbox 2018-10-12 13:34:38 +03:00
Igor Chevdar 2065b79a7b Turned on bridges inlining 2018-10-12 13:34:38 +03:00
SvyatoslavScherbina 973cc7bbdb Improve support for using frozen objects from other threads (#2202) 2018-10-12 09:28:09 +03:00
Svyatoslav Scherbina 6cb4d0c241 Implement -Xembed-bitcode and -Xembed-bitcode-marker
These options currently make the produced framework bitcode-friendly
in release and debug environments correspondigly without embedding
real bitcode.
2018-10-11 21:25:52 +03:00
Svyatoslav Scherbina af769d958e Rebuild libffi for iOS and macOS to make it bitcode-friendly 2018-10-11 21:25:52 +03:00
Ilya Matveev ef19d0f346 Use cache-redirector to resolve the 'plugin-publish' plugin (#2204) 2018-10-11 17:41:52 +03:00
Pavel Punegov 5a1952a820 Update testKotlinVersion 2018-10-11 10:10:49 +03:00
Dico Karssiens a7ffa0e897 Tweak docs of runtime/Char.kt (#2195) 2018-10-10 18:50:33 +03:00
Igor Chevdar 20d3e12e7c Fix for https://github.com/JetBrains/kotlin-native/issues/2179.
Erased local objects types, as otherwise we would have to copy them correctly,
and this is hard because they could leak out of the inline function quite high (see the test).
2018-10-10 18:23:47 +03:00
Ilya Matveev 196ca34d5b Update: Gradle 4.10 (#2187)
Update: Gradle 4.10
2018-10-10 12:37:00 +03:00
Nikolay Igotti 0cdd076210 Ignore suspend functions in reverse C interop. (#2189) 2018-10-10 10:26:36 +03:00
Nikolay Igotti 26c775938e Add common crypto frameworks. (#2181) 2018-10-09 21:33:43 +03:00
Nikolay Igotti a7a930490c Small release notes update. 2018-10-08 21:59:08 +03:00
Vasily Levchenko 3174441923 [kotlin compiler][update] 1.3.20-dev-689 2018-10-08 20:56:50 +03:00
Vasily Levchenko 5d514fcc69 [version] 1.1.0 bump version on master 2018-10-08 12:30:48 +03:00
Ilya Gorbunov 0fe785de96 Remove the ability to change seed of the default Random 2018-10-08 10:28:29 +03:00
Nikolay Igotti e98ef837b7 Background HTTP fetcher and JSON parser example. (#2177) 2018-10-08 08:07:54 +03:00
Nikolay Igotti 10b05b6229 Add few missing headers in Darwin kernel interop. (#2174) 2018-10-05 17:05:39 +02:00
Ilya Matveev d3400b16dd [gradle-plugin] Fix serialization test (#2171) 2018-10-05 09:41:22 +03:00
Vasily Levchenko 1bcbdf93dc [kotlin compiler][update] 1.3.0-rc-151 2018-10-04 23:17:24 +03:00
Ilya Matveev a25c4f97f5 Fix references in OBJC_INTEROP.md (#2170) 2018-10-04 16:02:50 +03:00
Ilya Matveev efc3461fd9 Update GRADLE_PLUGIN.md (#2168) 2018-10-04 11:46:35 +02:00
Nikolay Igotti b476e7b613 Revert "Do not depend on ReflectionTypes from upstream Kotlin"
This reverts commit ab550196e9.
2018-10-04 11:31:17 +02:00
Alexander Udalov ab550196e9 Do not depend on ReflectionTypes from upstream Kotlin
ReflectionTypes was incorrectly copied to common backend in
https://github.com/JetBrains/kotlin/commit/27365dc4bed8833880dc7bd0fc0189fed5ff6fed.
In fact, the copied class references `kProperty*Impl` types which are
only available in kotlin-native's runtime [1], thus using them in the
common Kotlin would lead to all kinds of confusion.

The next step is to remove ReflectionTypes in the main Kotlin project
(will be done later), remove the unneeded override
Context.reflectionTypes, and rename reflectionTypes0 -> reflectionTypes.

[1] Types with the same name are also declared in kotlin-reflect, but
the JVM backend still can't reference them because generated JVM
bytecode can only depend on kotlin-stdlib
2018-10-03 14:13:17 +03:00
Ilya Gorbunov 71a601d87e Make NativeRandom an object instead of a class with companion 2018-10-03 14:08:46 +03:00
Ilya Gorbunov 8e4806725b Remove Random.nextInt(bound) test
- Should be covered by the common stdlib tests
- Default implementation is used now
2018-10-03 14:08:46 +03:00
Ilya Gorbunov ee37eef93c Make NativeRandom internal, use inherited implementations 2018-10-03 14:08:46 +03:00
Ilya Gorbunov 081e4a7b12 Remove actuals of jvm-specific annotations because they are optional in common 2018-10-03 14:08:46 +03:00
Ilya Gorbunov 9391ca929f Create testOutputExternal before writing to a file in it 2018-10-03 14:08:46 +03:00
Konstantin Petrukhnov 058d691f5a fix link in MULTIPLATFORM.md (#2164) 2018-10-02 18:22:05 +03:00
Igor Chevdar 023f95b313 Rewrote when clause code generation 2018-10-02 16:40:20 +03:00
Vasily Levchenko d1ccd1e631 [debugging][binding][python] drop fetching data in update method 2018-10-02 16:01:32 +03:00
Vasily Levchenko 2f9fdfd1d1 [debugging][binding][python] replace dict with array 2018-10-02 16:01:32 +03:00
Vasily Levchenko 9cd9ecc1ae [cmd][lldb] make lldb execution job control friendly. 2018-10-02 16:01:32 +03:00
Svyatoslav Scherbina d6475cb2ad Handle inline class operations in inline class secondary constructors
#KT-27225 Fixed
2018-10-02 09:25:13 +03:00
Ilya Matveev 4045bf48c8 Filter java.endorsed.dirs in compiler runner (#2155) 2018-10-01 16:43:26 +03:00
Vasily Levchenko fe3064e7b0 [kotlin compiler][update] 1.3.0-rc-128 2018-10-01 16:28:19 +03:00