Commit Graph

2260 Commits

Author SHA1 Message Date
Svyatoslav Scherbina fba4a35d60 Fix nullability of interop pointer types in produced Objective-C header 2019-06-25 12:02:43 +03:00
Svyatoslav Scherbina 40ac5171f9 Suppress known warnings in produced Objective-C header 2019-06-25 12:02:43 +03:00
Nikolay Igotti ba19ead041 Implement primitive to run through worker's queue (#3078) 2019-06-24 13:38:25 +03:00
SvyatoslavScherbina 37745e4251 Add missing test for SR-10177/SR-10217 workaround (#3092) 2019-06-24 11:44:26 +03:00
SvyatoslavScherbina 1c3afb4a54 Fix missing forward declarations in framework (#3088) 2019-06-21 10:29:38 +03:00
Thomas Vos 838b4455d9 Fix error message (#3084) 2019-06-21 08:59:03 +03:00
Vasily Levchenko d8994435d6 [kotlin compiler][update] 1.3.50-dev-1390 2019-06-20 21:59:10 +03:00
Ilya Gorbunov a93fd4b518 Actual implementations for MonoClock, DurationUnit and Duration formatting 2019-06-20 17:05:04 +03:00
Ilya Matveev ff7a0e23bf Don't pass current version to library resolvers as a compatible one 2019-06-20 10:28:40 +07:00
Svyatoslav Scherbina 3d6d8b4d6b Add trivial tests for KType and typeOf
More tests are available as external.
2019-06-19 17:27:06 +03:00
Svyatoslav Scherbina e0d6a4c70e Add KType.arguments and support 'typeOf' intrinsic
#KT-29917 Fixed
 #KT-28625 Fixed

Also perform minor refactoring.
2019-06-19 17:27:06 +03:00
Svyatoslav Scherbina f704fd44af Move some of relevant code to ReflectionSupport.kt 2019-06-19 17:27:06 +03:00
Pavel Punegov e2a613d832 Fix external tests: change test task filter to get type of the test 2019-06-17 16:40:35 +03:00
Pavel Punegov 3f202c541b Remove expected to fail property from passing tests 2019-06-14 18:35:21 +03:00
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 ee42b35581 Split up IR header onto separate tables 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
Igor Chevdar e7396682f5 Fixed bug with box/unbox folding 2019-06-07 13:41:47 +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
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
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 01b1734177 Split shared: Remove Helper0
Reason: not used.
2019-05-30 19:48:50 +03:00
Ilya Matveev 5745b31853 Revert "Depend on kotlin-native-shared from a separate repo"
This reverts commit a2370920db.
2019-05-30 19:48:50 +03:00
pyos 99561ab92f Use common EnumWhenLowering 2019-05-30 18:34:57 +03:00
Vasily Levchenko 2cc567291a [kotlin compiler][update][temporary] workaround over fresh refactoring of fqNameSafe
- this commit should be just reverted when fqNameSafe will return.
2019-05-30 16:25:15 +03:00
Vasily Levchenko cf2d45b774 [kotlin compiler][update] 1.3.50-dev-560 2019-05-30 16:25:15 +03:00
Nikolay Igotti ba02e62426 Disable init test on WASM. 2019-05-28 20:06:50 +03:00
SvyatoslavScherbina 0f6859f29c Add initial experimental support for @AssociatedObjectKey (#2947) 2019-05-28 18:28:25 +03:00
Svyatoslav Scherbina 3d83b86728 Implement ObjCExportLazy 2019-05-28 13:28:40 +03:00
Svyatoslav Scherbina c0ef560b07 Add minor improvements to ObjCExport 2019-05-28 13:28:40 +03:00