Commit Graph

4706 Commits

Author SHA1 Message Date
Abduqodiri Qurbonzoda 63705dc29a Add documentation for primitive types conversion
These docs already added to big kotlin.
2019-03-18 18:09:01 +03:00
Vasily Levchenko 0dd71c979f [kotlin compiler][update] 1.3.40-dev-661
Refactor CommonBackendContext, remove confusing methods
(cherry picked from commit 55f90d256d425490aa05dbe1de9730fe485a32a5)
2019-03-18 17:38:47 +03:00
LepilkinaElena a16bddb421 Server and client to show summary performance information (#2765) 2019-03-18 16:02:41 +03:00
Svyatoslav Scherbina 06f8864b69 Refine LLVM bitcode imports detection
Don't link native libraries if external function requires
only library-stored bitcode
2019-03-18 14:53:10 +03:00
Svyatoslav Scherbina f8393819fc Avoid requesting selectors in Objective-C interop stubs
Selector references aren't DCEed and thus can cause false positive
API usage report from AppStore online validation.
Generate selectors by compiler instead.
2019-03-18 14:53:10 +03:00
Svyatoslav Scherbina 0ff1209d0a Simplify support for importing Objective-C properties 2019-03-18 14:53:10 +03:00
Ilya Matveev 4d17460e75 Allow setting path to shared in the root gradle.properties 2019-03-15 17:08:16 +03:00
Ilya Matveev feabe3b271 Fix entry point in the coverage sample 2019-03-15 17:08:16 +03:00
Alexander Gorshenev 0d8cbb7708 Auto generated another piece of stdlib. 2019-03-15 16:39:25 +03:00
Alexander Gorshenev 92537557bc Changes after code review 2019-03-15 16:39:25 +03:00
Alexander Gorshenev d9ff5a9778 Commonized native and js IR serialization infrastructure. 2019-03-15 16:39:25 +03:00
Ilya Matveev 46879b94cc Update shared: 1.0-dev-16 2019-03-14 21:51:46 +07:00
Ilya Matveev e6c17f4944 Mention composite build against detached shared in README.md 2019-03-14 21:51:46 +07:00
Ilya Matveev 8fd0ef395d Support composite build against detached shared 2019-03-14 21:51:46 +07:00
Ilya Matveev 386b9a50f0 Fix targets for coverage tests 2019-03-14 21:51:46 +07:00
Ilya Matveev e6cf9f0d1d Add a fake project shared to workaround CI crash
TeamCity runs :shared:clean as a first step of the build process.
But now shared is removed from K/N and CI crashes on this step.
At the same time we need this step to build branches with undetached
shared. This patch adds an empty project to workaround this crash.

TODO: Remove this build step and revert this patch when shared
detaching is merged.
2019-03-14 21:51:46 +07:00
Ilya Matveev a2370920db Depend on kotlin-native-shared from a separate repo
Kotlin-native-shared was copied in a separate repository.
This patch removes this subproject from the K/N repo and
adds a dependency on an artifact built from this separate repo.
2019-03-14 21:51:46 +07:00
SvyatoslavScherbina 575cbf48c3 Optimize DescriptorReferenceDeserializer again (#2755) 2019-03-14 14:25:10 +03:00
Nils Kunze f047591773 update path for compiled files (#2760) 2019-03-13 19:26:13 +03:00
Igor Chevdar 347e2dadc6 [Serializer] More graceful fix of parents 2019-03-13 14:02:34 +03:00
Ilya Matveev 0a6dbbb3b3 Use binaries DSL in Xcode samples 2019-03-12 18:01:59 +07:00
Sergey Bogolepov b22404c947 Infrastructure for source-based code coverage 2019-03-12 13:16:17 +07:00
Vasily Levchenko f043a6bf58 [kotlin compiler][update] 1.3.40-dev-392 2019-03-11 17:17:41 +03:00
LepilkinaElena 2bc29552dd Fix coloring of ratio (#2750) 2019-03-11 09:10:39 +03:00
Nikolay Igotti c6e93d30a1 Fix Kotlin property names conflicting with C keywords. (#2747) 2019-03-07 14:44:05 +03:00
Igor Chevdar 364b7ae72a Buried remnants of Ira's descriptors 2019-03-07 12:17:48 +03:00
Igor Chevdar d82eceb755 Removed descriptors from inliner 2019-03-07 12:17:48 +03:00
Svyatoslav Scherbina 91ba661f46 Split ObjCExport header and code generation phases 2019-03-06 14:42:15 +03:00
Svyatoslav Scherbina 2b8dcfc533 Refactor ObjCExportHeaderGenerator to allow per declaration translation 2019-03-06 14:42:15 +03:00
Svyatoslav Scherbina cead418d50 Always include declared class methods to framework header 2019-03-06 14:42:15 +03:00
Nikolay Igotti 9ded272398 Add Platform detection support. (#2737) 2019-03-05 22:08:00 +03:00
Vasily Levchenko 7519bcec14 [lldb][binding][python] migration to Python 3.0. fix Clion/Linux (KT-29623) 2019-03-05 12:07:29 +03:00
Pavel Semyonov 71d8d67807 docs: fixed link to Grouping.eachCount sample (#2745) 2019-03-05 10:35:02 +03:00
SvyatoslavScherbina 86f66c0100 Optimize DescriptorReferenceDeserializer (#2736)
Avoid fetching all package descriptors.
2019-03-05 10:09:49 +03:00
LepilkinaElena 211e2b29cb Added scripts to turn off/on services on linux machine to decrease no… (#2739) 2019-03-05 09:41:31 +03:00
Vasily Levchenko 0593375c96 [kotlin compiler][update] 1.3.40-dev-162 2019-03-04 13:23:28 +03:00
Ilya Gorbunov 9e26d32011 Do not expose internal copyOfUninitializedElements and copyOfNulls
Do not inline function that called them.
2019-03-04 11:53:58 +03:00
Ilya Gorbunov cfefbc184b Replace remaining usages of copyRangeTo to copyInto and drop copyRangeTo 2019-03-04 11:53:58 +03:00
Ilya Gorbunov cfa7c12413 Remove redundant overload of Array<T>.plus(Array<T>)
It's covered by `Array<T>.plus(Array<out T>)`
2019-03-04 11:53:58 +03:00
Ilya Gorbunov 1a4e1d7f55 Rewrite copyOfUninitializedElements with templates without using copyRangeTo 2019-03-04 11:53:58 +03:00
Ilya Gorbunov 356a5ac77e Rewrite copyInto without using copyRangeTo
Rename array copying implementation to arrayCopy
2019-03-04 11:53:58 +03:00
Ilya Gorbunov 544fb07164 Fix nullability of array type argument 2019-03-04 11:53:58 +03:00
Ilya Gorbunov bdcb90c3d4 Move Array.sortWith to generated code 2019-03-04 11:53:58 +03:00
Ilya Gorbunov 38ca63418d Move sorting implementations for Native to kotlin.collections 2019-03-04 11:53:58 +03:00
Ilya Gorbunov 58000a20fd Rewrite MutableList.sortWith to suppress warning instead of error
Use available naturalOrder comparator in MutableList.sort()
2019-03-04 11:53:58 +03:00
Nikolay Igotti d74384db18 Support -Xexport-library in reverse C interop. (#2740) 2019-03-01 17:52:50 +03:00
LepilkinaElena 9b9fa9d92d Corner cases with failed code size measurement. Choice tools for buil… (#2731) 2019-03-01 14:50:11 +03:00
Vasily Levchenko ce634a625e [build][test][environment] fix path to nightly test reports
teamcity dependency rule: <smth> => <path>, produces <path>/<smth> on dependencee configuration
2019-03-01 13:13:45 +03:00
Nikolay Igotti ec719d552f v1.2.0 change log 2019-03-01 12:46:29 +03:00
Nikolay Igotti 025a480247 Using const val from module doesn't mean we had to run initializers anymore. 2019-03-01 08:55:24 +03:00