Commit Graph

845 Commits

Author SHA1 Message Date
Vasily Levchenko f1aca2307f [IR] support of changes in progression handlers and for loop lowerings in 8a4185202f 2019-10-31 08:22:11 +01:00
Nikolay Igotti c0056efd81 Worker.park() fixes for extreme timeout values. (#3522) 2019-10-30 21:17:59 +03:00
SvyatoslavScherbina 091de1b8bc Improve ObjC block dynamic conversion generation when using cache (#3507)
Generate conversions along with stdlib to guarantee all synthesized
function classes get covered.
2019-10-30 13:42:06 +03:00
Igor Chevdar 41f8d5fc07 Abstract class objc fix (#3517)
Fixed itable for objc inheritors of abstract classes
2019-10-30 12:40:29 +03:00
SvyatoslavScherbina aac2de48fc Fix Objective-C block to kotlin.Function* dynamic conversion (#3499)
after migrating to synthetic function classes.
2019-10-28 10:02:32 +03:00
Nikolay Igotti b8df05ed49 Implement park() and name APIs for Worker. (#3493) 2019-10-25 14:53:47 +03:00
Nikolay Igotti 8efb8cacc3 Make sure leak detector properly works in case of workers. (#3495) 2019-10-25 13:32:19 +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
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 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
SvyatoslavScherbina 064d95baa3 Fix -Werror build for runtime on android_arm32 and android_x86 (#3460) 2019-10-14 17:01:41 +03:00
Svyatoslav Scherbina 0c284c7654 Fix runtime compilation warnings 2019-10-14 10:39:14 +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
Nikolay Igotti b1710e8758 Fix reading stdin after EOF. (#3435) 2019-10-08 11:05:33 +03:00
Nikolay Igotti 67ba24411f Properly handle exceptions in case of dynamic libraries. (#3428) 2019-10-07 11:07:05 +03:00
Sergey Bogolepov 4282dc5821 [MinGW][Coverage] Workaround for missing lprofGetHostName. 2019-10-03 17:20:28 +03:00
Pavel Punegov 820dae8ba8 Use steady clock for getTime methods. Fixes KT-33934 2019-09-30 16:09:47 +03:00
Nikolay Igotti 0123dc955a Update to XCode 11. (#3375) 2019-09-27 14:18:59 +03:00
Igor Chevdar 2fe39525d4 Implemented fast interface call & check 2019-09-24 12:23:42 +03:00
Nikolay Igotti b7e868ad05 Memory leak checker API. (#3368) 2019-09-23 17:41:26 +03:00
Nikolay Igotti b393e4f900 Fix build with XCode 11. (#3374) 2019-09-23 17:40:56 +03:00
Vasily Levchenko 26bd3bfe6b [codegen] make generated reified inline function's bodies throwing k.IllegalStateException 2019-09-23 12:29:23 +03:00
Nikolay Igotti 1a2568df38 Fix KT-33824, ignore FreezableAtomicReference building condensation (#3365) 2019-09-20 16:26:40 +03:00
SvyatoslavScherbina b37465495a Update Throwable methods documentation (#3364) 2019-09-20 11:30:20 +03:00
SvyatoslavScherbina 41914cc477 Fix CoreSymbolication usage on watchos_x86 (#3357) 2019-09-20 11:29:27 +03:00
Sergey Bogolepov d2a213ffca [watchOS][tvOS] Add Platform.TVOS and Platform.WATCHOS 2019-09-16 15:06:09 +07:00
Svyatoslav Scherbina 47e231efc1 Add Throwable.getStackTraceAddresses() extension
To allow integration with third-party crash analytic tools.
2019-09-11 21:34:10 +03:00
Svyatoslav Scherbina 931f577db4 Fix Throwable.getStackTrace() implementation 2019-09-11 21:34:10 +03:00
Nikolay Igotti dcc65413ad API to allow event processing on any thread. (#3316) 2019-09-09 13:22:22 +03:00
Igor Chevdar 51d03ece0a Fixed fast type check for ObjC classes + test 2019-09-06 12:27:51 +03:00
SvyatoslavScherbina 0b4bb08bc2 Add missing tests for KotlinMutableSet/Dictionary initializers (#3310) 2019-09-05 16:54:56 +03:00
Nikolay Igotti 66b813a6a2 Refactor Android, android_x64 support. (#3306) 2019-09-04 14:50:14 +03:00
Igor Chevdar 8a6146ac08 Implemented fast type check for classes 2019-09-03 12:49:18 +03:00
Svyatoslav Scherbina c3f11e62a5 Fix Objective-C weak refs to Kotlin cyclic garbage going to be collected
Also make the implementation more reliable.
2019-09-02 09:56:25 +03:00
Svyatoslav Scherbina bcaa99cbbe Implement thread-safe tracking of Obj-C references to Kotlin objects
Fix #2052
Fix #3204
2019-09-02 09:56:25 +03:00
Svyatoslav Scherbina 215cf05410 Add memory manager API for foreign reference management
(API based on #3280)
2019-09-02 09:56:25 +03:00
Svyatoslav Scherbina 2cb2f6fe03 Don't use heap-like slot for return in KotlinMutableSet/Dictionary
Fix #3259
2019-09-02 09:56:25 +03:00
Igor Chevdar b1453a4eba Reimplemented special enum functions as intrinsics
Also fixes https://youtrack.jetbrains.com/issue/KT-33471
2019-08-27 12:23:57 +03:00
Igor Chevdar 04f3aae72b Fixed a typo 2019-08-27 12:23:57 +03:00
Nikolay Igotti 71e1be1a5c Rework entry point selector. (#3266) 2019-08-21 16:56:38 +03:00
Igor Chevdar 6c377aa69f Made [K][Suspend]FunctionN autogenerated 2019-08-15 16:02:16 +03:00
Igor Chevdar 39d4a9b25d Used common special arrays constructors lowering 2019-08-13 18:42:23 +03:00
Svyatoslav Scherbina 61a19e0ccf Fix skipping top stack frames in optimized -Xg0 binaries
Also do some refactoring.
2019-08-02 11:45:25 +03:00
Ilya Gorbunov 226fd310bf Native implementations of Array.fill
KT-32359
2019-08-01 23:00:04 +03:00
Ilya Gorbunov 3f39b75a89 Update generated stdlib code
- imports
- sample refs
- copyrights
2019-08-01 23:00:04 +03:00
Nikolay Igotti 93662b8b18 Fix runtime deinit sequence. (#3227) 2019-07-29 17:27:46 +03:00
Igor Chevdar 11e2fd5074 Added support of callable references on suspend functions 2019-07-27 11:58:11 +05:00