Commit Graph

4983 Commits

Author SHA1 Message Date
Svyatoslav Scherbina 409a9e9473 Improve ObjCExportHeaderGenerator assertions verbosity 2019-06-14 13:55:49 +03:00
Svyatoslav Scherbina b1951dbd6b Add workaround for #3053 2019-06-14 13:55:49 +03:00
Pavel Punegov 83aa459357 Rewrite tests infrastructure to Kotlin.
Split build and run logic. Build tests with Konan gradle plugin.
Add property for konan plugin to control generation of run tasks.
2019-06-13 18:55:20 +03:00
Igor Chevdar 29e0dfc029 [kotlin compiler][update] 1.3.50-dev-1050 2019-06-13 18:09:33 +03:00
Igor Chevdar ee42b35581 Split up IR header onto separate tables 2019-06-13 18:09:33 +03:00
Alexander Gorshenev da11ab8ce3 Got rid of delegation in library impl hierarchy 2019-06-13 18:09:33 +03:00
Vasily Levchenko b49b0be2a1 [kotlin compiler][update] 1.3.50-dev-1010 2019-06-10 15:55:29 +03:00
Vasily Levchenko 6ed068862a [tests] use tests for compiler and stdlib from composite build 2019-06-10 13:52:16 +03:00
Vasily Levchenko c5cc5c3d2f [build] teamcity pusher to initiate Kotlin + Kotln/Native master snapshot 2019-06-10 13:27:23 +03:00
Igor Chevdar e7396682f5 Fixed bug with box/unbox folding 2019-06-07 13:41:47 +03:00
SvyatoslavScherbina 084be21d89 Optimize platform libraries build by sharing module cache (#3052)
Was disabled with #2831.
2019-06-07 12:06:36 +03:00
SvyatoslavScherbina 5308997f6f Optimize macro support in cinterop (#3050) 2019-06-06 16:41:41 +03:00
Igor Chevdar b18bc11624 Fixed bug with too big DFG for no reason 2019-06-06 09:23:28 +03:00
Ilya Matveev b0296b1c8d Samples: Fix building for Windows 2019-06-05 15:01:14 +07:00
Ilya Matveev 3329f74c27 Samples: Enable experimental standard library API 2019-06-05 15:01:14 +07:00
Ilya Matveev 90decbf517 Samples: Get rid of KotlinNativeTarget and KonanTarget imports 2019-06-05 15:01:14 +07:00
Dmitriy Dolovov edda913b04 AndroidNativeActivity sample: migrate to KTS 2019-06-05 15:01:14 +07:00
Dmitriy Dolovov e95be11ade Samples: Drop MPPTools + migrate to KTS 2019-06-05 15:01:14 +07:00
Dmitriy Dolovov 859b670798 Fix compilation in echoServer sample 2019-06-05 15:01:14 +07:00
Sergey Bogolepov 5883e16b57 Remove symbolication sample 2019-06-05 15:01:14 +07:00
Sergey Bogolepov d7906d4c32 Update kotlin_version in the rest of the samples. 2019-06-05 15:01:14 +07:00
Sergey Bogolepov e89fefca8c Safer access to runTask in samples. 2019-06-05 15:01:14 +07:00
LepilkinaElena 16a8fdcf4e Rewrite samples using new API (#3021) 2019-06-05 15:01:14 +07:00
Dmitriy Dolovov c1a4272e7a Samples: Update KTOR: 1.1.2 -> 1.2.1 2019-06-05 15:01:14 +07:00
Alexander Gorshenev 646c53effb Updated cli launchers to pick up util-io and util-klib jars 2019-06-04 20:12:19 +03:00
Alexander Gorshenev 0210e60aaa Switch to Kotlin 1.3.50-dev-787 with the klib infrastructure in place 2019-06-04 20:12:19 +03:00
Alexander Gorshenev df02804be1 Splitted library writer into kotlin and konan parts
Moved to util-io and util-klib for klib code commonization
Moved the common writer to Kotlin workspace
2019-06-04 20:12:19 +03:00
Igor Chevdar 63d763338d Implemented DCE before code generation 2019-06-04 17:03:47 +03:00
Igor Chevdar 46edc3595d Merged different RTTI-related structure builders
This includes vTable, fields and associated objects
2019-06-04 17:03:47 +03:00
Igor Chevdar 9946fcb8c1 Rewrote annotations building from descriptors to IR 2019-06-04 17:03:47 +03:00
Igor Chevdar b843c95b52 Moved box & unbox functions one level up 2019-06-04 17:03:47 +03:00
Igor Chevdar 52c12dff82 DFG: Eliminate calls to <reinterpret> 2019-06-04 17:03:47 +03:00
Igor Chevdar c5430769de DFG: Supported IrFunctionReference 2019-06-04 17:03:47 +03:00
Igor Chevdar 7bf16abf66 Supported IrGetObjectValue in CallGraphBuilder 2019-06-04 17:03:47 +03:00
SvyatoslavScherbina dcf82951ed Add CoreLocation platform library on macOS (#3044)
Fix #3041
2019-06-04 10:15:01 +03:00
LepilkinaElena 69fd55656d Objective c interop benchmarks migration (#3004) 2019-06-03 16:32:14 +03:00
Vasily Levchenko 285bfc11f8 [kotlin compiler][update] 1.3.50-dev-770 2019-06-03 15:39:27 +03:00
Svyatoslav Scherbina 00a8ff3dc4 [kotlin compiler][update][temporary] workaround over fresh refactoring of fqNameSafe
- this commit should be just reverted when fqNameSafe will return.
2019-06-03 10:03:07 +03:00
Svyatoslav Scherbina 95a04cc804 Add kotlinx.cinterop.getOriginalKotlinClass(objCClass/objCProtocol)
Enables getting KClass for Kotlin classes produced to Objective-C header
2019-05-31 17:49:14 +03:00
Svyatoslav Scherbina d1222907d4 Add ObjCProtocol type to interop runtime 2019-05-31 17:49:14 +03:00
Svyatoslav Scherbina 3c8e12328c Add missing Objective-C interop tests 2019-05-31 17:49:14 +03:00
Svyatoslav Scherbina 77e69f5a3f Improve ObjCExport type mapping
Support Class type and forward declarations
2019-05-31 17:49:14 +03:00
Ilya Matveev ed3f3f976e Split shared: Add kotlin-native-utils into K/N distribution 2019-05-30 19:48:50 +03:00
Ilya Matveev ca6a17539d [kotlin compiler][update] 1.3.50-dev-630 2019-05-30 19:48:50 +03:00
Ilya Matveev ed01f85c21 Split shared: Use KonanVersion.CURRENT in compiler and interop 2019-05-30 19:48:50 +03:00
Ilya Matveev fb69d9284f Split shared: Add dependency on kotlin-native-utils
Gradle build can be configured but building dist
requires updating code in accordance with changes
made in the big Kotlin.
2019-05-30 19:48:50 +03:00
Ilya Matveev 1c2e324ad9 Split shared: Use KonanVersion in the generated version 2019-05-30 19:48:50 +03:00
Ilya Matveev a89bfba751 Split shared: Remove code copied to kotlin-native-utils 2019-05-30 19:48:50 +03:00
Ilya Matveev 873b40be80 Split shared: Merge TargetDefFile.kt and DefFile.kt 2019-05-30 19:48:50 +03:00
Ilya Matveev 01b1734177 Split shared: Remove Helper0
Reason: not used.
2019-05-30 19:48:50 +03:00