Commit Graph

1790 Commits

Author SHA1 Message Date
Pavel Punegov 1aabf3697d Fix matching of the lldb response 2018-04-12 14:12:08 +03:00
Pavel Punegov a2f3e633c2 Fix debugger tests 2018-04-12 14:12:08 +03:00
Svyatoslav Scherbina 77139d58f8 Unify interop with Objective-C in both directions
Also support casts to Objective-C types
2018-04-12 09:56:29 +03:00
Svyatoslav Scherbina 38f896649c Use meta object for storing associated Objective-C object 2018-04-12 09:56:29 +03:00
Svyatoslav Scherbina 841bb51e65 Add workaround to interop_objc_smoke for bug in MM 2018-04-12 09:56:29 +03:00
Igor Chevdar 8e6ed44db3 Turned on devirtualization + fix in ObjCExport 2018-04-09 15:42:13 +03:00
Alexander Gorshenev 0a911ed5bb Moved from typeMaps to typeArgument list in IrMemberAccessCommon serialization
to reflect changes in IR.
2018-04-09 12:13:05 +03:00
Igor Chevdar c046372025 Turned off devirtualization for now 2018-04-08 13:16:30 +03:00
Igor Chevdar ff2a81b5cf Devirtualization: more readable debug output 2018-04-07 08:56:37 +03:00
Igor Chevdar b54392c9de Turned on devirtualization 2018-04-07 08:56:37 +03:00
Igor Chevdar cefe043751 Devirtualization: fixed two bugs with ObjC classes 2018-04-07 08:56:37 +03:00
Sergey Mashkov 420ef4f221 Introduce environment variable to .konan parent dir 2018-04-05 19:58:18 +07:00
Vasily Levchenko 063ccf07f3 [kotlin compiler] 1.2.50-dev-321
- Fix code after type argument refactoring in Kotlin (cherry picked from commit e6b9131910d5440272e6613856365a8277b1f58d)
2018-04-04 22:44:48 +03:00
Nikolay Igotti 21079ae644 Weak references. (#1459) 2018-04-04 14:35:06 +03:00
Svyatoslav Scherbina 7d7f0f46e6 Add prelimitary support for using Objective-C types in framework API 2018-04-03 11:20:57 +03:00
Igor Chevdar 790fd11d90 Freezing: fixed test and added stress test 2018-03-30 17:59:33 +03:00
Igor Chevdar e84e76107f Supported cycles during object subgraph freezing 2018-03-30 17:59:33 +03:00
Nikolay Igotti 5c931033da Fix few problems in generation of C bindings. (#1453) 2018-03-30 13:53:03 +03:00
Alexander Gorshenev 54bede3db3 Getting rid of detailedName 2018-03-30 13:51:46 +03:00
Sergey Bogolepov 4fcdcf925e Added tests 2018-03-30 16:30:51 +07:00
Sergey Bogolepov 6259b28cd3 Moved inRange and getCachedBox to C++ runtime 2018-03-30 16:30:51 +07:00
Sergey Bogolepov ddff7b365e Boxing of bytes, shorts, chars, ints and longs. Cogegen only implementation 2018-03-30 16:30:51 +07:00
Nikolay Igotti 0abcd62c13 Meta-object support. (#1451) 2018-03-30 11:05:21 +03:00
Svyatoslav Scherbina 0bfa68cf03 Fix block types returning block types when producing framework 2018-03-29 23:59:12 +03:00
Svyatoslav Scherbina bbefb4bab3 Translate Kotlin @Throws to Swift 'throws' when producing framework
Methods having or inheriting `@Throws` annotation are represented as
`NSError*`-producing methods in Objective-C and as `throws` methods in Swift.
2018-03-29 23:59:12 +03:00
Svyatoslav Scherbina db4a1f937b Ensure all class references within annotation arguments have IR 2018-03-29 23:59:12 +03:00
Svyatoslav Scherbina 137805e52c Fix minor bug in compiler backend message reporting 2018-03-29 23:59:12 +03:00
Pavel Punegov 8955d247b1 Ignore test that fail due to KT-23284 2018-03-29 15:12:16 +03:00
Igor Chevdar c76c39fafd Fixed shared globals deinit 2018-03-28 17:33:09 +03:00
Igor Chevdar 6fa9ca8888 Added shadow singleton value to resolve cycles during initialization 2018-03-28 17:33:09 +03:00
Igor Chevdar 7227c5d100 Supported shared access to enums 2018-03-28 17:33:09 +03:00
Igor Chevdar 8477f79d58 Froze enums on creation + tests 2018-03-28 17:33:09 +03:00
Vasily Levchenko 1833270dbd [kotlin compiler][update] 1.2.50-dev-139 2018-03-27 17:30:06 +03:00
Igor Chevdar 4ae458abfd Fixed bug in DFGBuilder + test 2018-03-23 17:22:16 +03:00
Igor Chevdar 183bf917ee Fixed bug in InlineCopyIr with IrGetClass + test 2018-03-23 17:09:17 +03:00
Pavel Punegov 3645c22f8d Execute tests with iOS simulator 2018-03-23 16:13:42 +03:00
Ilya Matveev 68fe66a21f v0.6.2 preparations 2018-03-22 15:51:38 +03:00
Vasily Levchenko 62a7c2d2a4 [kotlin compiler][update] 1.2.40-dev-1038 2018-03-22 14:13:23 +03:00
Svyatoslav Scherbina a37657127a Try to avoid getting mangled names for synthetic functions
Because some of these functions have parameters with non-denotable types
2018-03-22 12:45:24 +03:00
Svyatoslav Scherbina bcb706c8ff Fix incorrect IR parent for worker job bridges 2018-03-22 12:45:24 +03:00
Svyatoslav Scherbina 99486ebc9d Add test for lambda class name clash (fixed in 610c9b52) 2018-03-21 17:35:03 +03:00
Svyatoslav Scherbina 226a97bbf6 Improve LLVM symbol name clash detection for classes 2018-03-21 17:35:03 +03:00
Alexander Gorshenev fd3683eb00 Don't unwrap fake override in serializeDescriptor().
It is not needed for newly declared descriptors,
and it is harmful to (potentially substituted) uses.
2018-03-21 00:29:30 +03:00
Svyatoslav Scherbina e9f0db8e70 Add quick fix for foreign Kotlin bridges when producing framework
Should fix #1420
2018-03-19 16:25:23 +03:00
Svyatoslav Scherbina cb4e5399d4 Support default arguments in expect declarations 2018-03-16 09:32:24 +03:00
Svyatoslav Scherbina e0d5a5d167 Fix some bugs appeared in 610c9b52
* Property references in top-level initializers
* Empty String constructor
* Special case when inheriting multiple method implementations
* Getting IR for error types
2018-03-15 19:45:24 +03:00
Alexander Gorshenev 18b7bb31fc Platform library for iconv.h on macos, ios and linux. 2018-03-15 16:09:34 +03:00
Igor Chevdar f975c1d251 Fixed bug with isInitialized for fake overridden properties + test 2018-03-15 11:45:52 +03:00
Nikolay Igotti 204fde4bf1 Typed arrays API (#1398) 2018-03-15 10:02:35 +03:00
Nikolay Igotti a6fa19a7fd Object freezing API (#1390) 2018-03-14 11:51:48 +03:00