Commit Graph

4319 Commits

Author SHA1 Message Date
Nikolay Igotti 7d2aede90e Fix Windows UWP TLS problem. (#2264) 2018-10-26 08:08:56 +03:00
Ilya Gorbunov 17e92ebc9c Move kotlin.text API misplaced in kotlin/native/internal folder 2018-10-25 16:20:18 +03:00
Ilya Gorbunov 1cf472c327 Hide Regex.Mode enum from public API 2018-10-25 16:20:18 +03:00
Vasily Levchenko 66bfd0ac4f [kotlin compiler][update] 1.3.20-dev-1048 2018-10-25 15:16:55 +03:00
ilya-g 0015b608ac Unify stdlib docs with common stdlib, part 2 (#2260)
* Unify kotlin.test docs

* Duplicate MutableList.add docs in AbstractMutableList.add

Because the documentation inheritance doesn't work as desired here.

* Minor: delimit summary in KProperty docs
2018-10-24 15:12:44 +03:00
Nikolay Igotti 17cf1df4f4 Store source file info in klib. (#2243) 2018-10-24 11:40:54 +03:00
Ilya Matveev b32a73bbf1 Fix OptionalExpectation in Gradle plugin (#2259) 2018-10-24 11:58:29 +07:00
ilya-g ec9b057e5a Unify stdlib docs with common stdlib (#2245)
* Update collection interface declarations

* Unify math docs: remove excess 'actual' word

* Unify print/println/readLine docs

* Unify annotations docs

* Correct parameter reference in copyInto docs

* Unify array extension docs

* Unify AbstractMutableMap docs

* Unify docs of primitives and string extensions

* Unify coroutine intrinsic docs

* Unify Regex docs
2018-10-22 15:04:12 +03:00
Nikolay Igotti a628e3e56a Update FAQ and GRADLE_PLUGIN.md to decrease mess with Gradle plugins. (#2246) 2018-10-22 12:46:18 +03:00
Svyatoslav Scherbina 2c14de9684 Remove reflection info from lambdas 2018-10-22 10:33:08 +03:00
igotti-google 7038a47024 Workaround Mojave SDL bug in Tetris. 2018-10-21 16:21:11 +03:00
Alexander Gorshenev 1e3dc5d526 1.1.0 is abi version 3. 2018-10-19 19:36:48 +03:00
Alexander Gorshenev be56d8a4e2 A little refactoring on abi version match. 2018-10-19 19:36:48 +03:00
Alexander Gorshenev 4bc1130a95 Fine tune the abi version check for 1.0.x 2018-10-19 19:36:48 +03:00
Stefan M 284235cb44 Link INTEROP.md (#2233) 2018-10-19 15:13:51 +03:00
Vasily Levchenko c94b1b5db9 [codegen][debug info] Introduce -Xdebug-info-version flag
- emit DW_LANG_Kotlin in debug info
- change Dwarf version to 4.
2018-10-19 13:23:17 +03:00
Ilya Matveev e365fb8f40 [gradle-plugin] Rename konan.home -> org.jetbrains.kotlin.native.home 2018-10-19 13:43:55 +07:00
Ilya Matveev 474b401dd1 [gradle-plugin] Provide project property for compiler version overriding 2018-10-19 13:43:55 +07:00
Ilya Matveev 56f572f07f Use KOTLIN_API usage instead of JAVA_API (#2231)
* [gradle-plugin] Use KOTLIN_API usage instead of JAVA_API
* [gradle-plugin] Add a test for compatibility with the mpp plugin
2018-10-19 12:22:38 +07:00
Vasily Levchenko af06105617 [codegen][debug info] 'Dwarf Name' -> 'Dwarf Version' 2018-10-18 21:23:17 +03:00
Stefan M 0ddc2458e9 Link RELEASE_NOTES (#2234) 2018-10-18 20:01:19 +03:00
Pavel Punegov 250463e00c Update tests 2018-10-18 18:28:21 +03:00
Sergey Bogolepov 4c61454ea5 For loops lowering improvements (#2191)
* Reduce descriptors and KotlinType usage
* Add Array.indices lowering.
* Added IrCallMatcher and IrFunctionMatcher
* Added benchmarks
2018-10-18 18:01:09 +07:00
Nikolay Igotti 70e6b71134 Switch to lld on Linux. (#2223) 2018-10-17 18:56:16 +03:00
Nikolay Igotti 84515cee2d Support other location for curl. 2018-10-17 18:47:37 +03:00
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