Commit Graph

5365 Commits

Author SHA1 Message Date
Nikolay Igotti fe5ef5bde9 Fix potential memory leak in video player sample. 2019-10-26 14:21:27 +03:00
Mike Sinkovsky 912eb4f1fa platformLibs: move ctype.h to platform.posix on all platforms (#3490) 2019-10-25 17:38:33 +03:00
SvyatoslavScherbina 1d18008449 Make Objective-C blocks conform to kotlin.Function<*> interface (#3492) 2019-10-25 17:09:53 +03:00
Ilya Matveev 61702a64c0 Improve Gradle DSL in docs (#3481) 2019-10-25 16:05:35 +03:00
Nikolay Igotti b8df05ed49 Implement park() and name APIs for Worker. (#3493) 2019-10-25 14:53:47 +03:00
SvyatoslavScherbina bac2e056b9 Add initial support for building tests with stdlib cache (#3474) 2019-10-25 13:46:09 +03:00
Nikolay Igotti 8efb8cacc3 Make sure leak detector properly works in case of workers. (#3495) 2019-10-25 13:32:19 +03:00
Igor Chevdar ac97437ddb Fixed crash in debug info (#3491)
Fixed crash in debug info
2019-10-24 19:48:08 +03:00
SvyatoslavScherbina 5aca1db362 Extract ObjCExport lazy declarations to named classes (#3489)
Also convert `ObjCPrimitiveType` to a sealed class.
2019-10-24 18:00:47 +03:00
Ilya Matveev 7c3e0bb801 Add Xcode version check 2019-10-24 12:15:04 +03:00
Pavel Punegov 155fcf1b37 Warn about missing testData instead of failing (#3478)
* Warn about tests instead of failing with NPE
2019-10-23 19:18:52 +03:00
Ilya Matveev 838cccf275 Workaround clang crash in cinterop tool (KT-34467) 2019-10-23 18:04:40 +03:00
Igor Chevdar f50ea1397c [IR] Supported isExpect argument (#3482)
[compiler-update] 1.3.70-dev-742
2019-10-22 11:55:46 +03:00
LepilkinaElena e21ab4f1e7 Creating fat jar with shadow plugin and collisions detector (#3466) 2019-10-21 12:32:06 +03:00
Nikolay Igotti 9874675b09 Suggest installing Xcode plugin in samples. 2019-10-20 11:53:37 +03:00
SvyatoslavScherbina 6a2812a2d5 Initialize ObjCExport during runtime init too (#3471)
as it may be required during execution of Kotlin code calling Obj-C.
2019-10-18 18:54:52 +03:00
Nikolay Igotti 0b8066602e Pure Kotlin samples for iOS and watchOS. (#3458) 2019-10-18 17:53:08 +03:00
Svyatoslav Scherbina 4d7f39b51d Add test for using multiple Kotlin frameworks in single application 2019-10-18 17:21:42 +03:00
Svyatoslav Scherbina 9180befd83 Support testing multiple frameworks in single FrameworkTest 2019-10-18 17:21:42 +03:00
Nikolay Igotti c19e21b491 Recover old signatures in Objective-C invocation API. (#3470) 2019-10-17 17:51:45 +03:00
Svyatoslav Scherbina ad5b296b03 Disable "Only one Kotlin framework can be loaded currently" check
since all implicit clashes were resolved.
2019-10-17 16:12:21 +03:00
Svyatoslav Scherbina 1f5a13ba19 Fix global Objective-C names clashing among multiple Kotlin binaries 2019-10-17 16:12:21 +03:00
Svyatoslav Scherbina cf06b6eb35 Decouple Obj-C literals generator from context and single LLVM module 2019-10-17 16:12:21 +03:00
Svyatoslav Scherbina fde7265dae Remove redundant ConvertibleToKotlin protocol from runtime 2019-10-17 16:12:21 +03:00
Svyatoslav Scherbina c32fa6313b Move all Objective-C global names to objc.bc 2019-10-17 16:12:21 +03:00
Svyatoslav Scherbina a40604b640 Remove some hardcoded names from ObjCExport code generator 2019-10-17 16:12:21 +03:00
Nikolay Igotti f578ce88f5 Compiler daemon (#3442) 2019-10-14 18:44:27 +03:00
Alexander Gorshenev bb67a21df9 Moved to 1.3.70-dev-478 2019-10-14 17:15:39 +03:00
Alexander Gorshenev 6c60951bd8 Soveral additional library resolver tweaks 2019-10-14 17:15:39 +03:00
Alexander Gorshenev c59896b6d1 Moved library resolver with attributes to Kotlin.
Introduced a hierarchy of resolvers.
2019-10-14 17:15:39 +03:00
SvyatoslavScherbina 064d95baa3 Fix -Werror build for runtime on android_arm32 and android_x86 (#3460) 2019-10-14 17:01:41 +03:00
Svyatoslav Scherbina 3f868cc55d Use -Werror when compiling C++ sources (including runtime) 2019-10-14 10:39:14 +03:00
Svyatoslav Scherbina 0c284c7654 Fix runtime compilation warnings 2019-10-14 10:39:14 +03:00
LepilkinaElena ee391191ed Fix bundle build (#3455) 2019-10-11 13:25:41 +03:00
Svyatoslav Scherbina 3eefdad759 Move exported runtime Obj-C classes from dynamic cache to final binary
Otherwise Swift/Obj-C code requires linking with cache directly too.
2019-10-11 10:01:23 +03:00
Svyatoslav Scherbina da328576ce Split ObjCExportCollections.mm to runtime and final binary parts 2019-10-11 10:01:23 +03:00
Svyatoslav Scherbina a8494434ab Support ObjCExport with dynamic cache 2019-10-11 10:01:05 +03:00
Svyatoslav Scherbina 806bd37d67 Support emitting non-IR static initializers in codegen 2019-10-11 10:01:05 +03:00
SvyatoslavScherbina 5081adbf87 Fix handling of 'null' passed as C string (#3452) 2019-10-11 10:00:19 +03:00
Sergey Bogolepov 496ebbe2a8 Move KonanLibraryWriter and its friends to the shared package. 2019-10-11 09:52:53 +03:00
Sergey Bogolepov c675fff032 Fix typo in assertion 2019-10-10 17:56:48 +03:00
Sergey Bogolepov 303f6638f4 [StubIR][Interop] Rework StubIR type system to make it usable for metadata-based interop 2019-10-10 15:46:21 +03:00
LepilkinaElena bd0e0dd2e7 Deprecate -compilerOpts and -linkerOpts in cinterop (#3450) 2019-10-10 14:26:12 +03:00
Alexander Gorshenev aca4bab784 Moved to 1.3.70-dev-352 2019-10-10 12:51:14 +03:00
Alexander Gorshenev cfb97536d2 Commonized SourceMap with FileRegistry 2019-10-10 12:51:14 +03:00
Roman Artemev 5a2ad645fc [KLIB] Fix uniqId API 2019-10-10 12:51:14 +03:00
LepilkinaElena 5072cb63d3 Merge all jars with compiler dependencies in one (#3448) 2019-10-10 12:44:39 +03:00
Ilya Matveev 7dcb87a06d Build: Correctly publish backend.native.jar to a local repo 2019-10-10 12:06:07 +03:00
Nikolay Igotti 820ef588ae Revert "Build: Publish backend.native.jar to a local repo"
This reverts commit d886986b96.
It breaks CLI launcher.
2019-10-09 22:23:33 +03:00
Nikolay Igotti 64be2b7fdc Revert "Compiler daemon (#3442)"
This reverts commit e4fb6fd271.
2019-10-09 20:58:27 +03:00