Commit Graph

4036 Commits

Author SHA1 Message Date
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
youta ogino d7c49bfd46 escape invalid keyword chars in include file paths and package name (#1384) 2018-03-29 10:37:19 +03:00
Nikolay Igotti cca9280093 Fix WASM32/Zephyr build. 2018-03-28 20:36:18 +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 c1c363b81e Freezing: bug fix 2018-03-28 17:33:09 +03:00
Igor Chevdar 7a8220ea36 Memory.cpp: refactoring 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
Ilya Matveev edcc7af5f1 [build] Use Gradle 4.6 2018-03-26 10:24:46 +03:00
Ilya Matveev d894d6af8c [samples] Explicitly specify gradle plugin version 2018-03-26 10:24:29 +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
Nikolay Igotti 8a06dbfb28 Fix memory leak with frozen objects hanging from cycles. 2018-03-22 15:33:31 +03:00
Vasily Levchenko 62a7c2d2a4 [kotlin compiler][update] 1.2.40-dev-1038 2018-03-22 14:13:23 +03:00
Vasily Levchenko f4e9eba447 [kotlin compiler] use one constants for version for all required kotlin artifacts 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
Sergey Bogolepov bcf1722ecd Force LLVM to inline basic math functions 2018-03-21 18:41:38 +07: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
Nikolay Igotti 1897ddafa0 Concurrency model writeup. (#1422) 2018-03-20 13:18:39 +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 819b78bf45 Windows APIs tweaks. 2018-03-15 10:31:12 +03:00
Nikolay Igotti 204fde4bf1 Typed arrays API (#1398) 2018-03-15 10:02:35 +03:00
Ilya Matveev dba7041965 [readme] Mention the composite build against Kotlin in README.md 2018-03-14 17:29:51 +03:00
Vyacheslav Karpukhin 27ca482dab Better Xcode projects for calculator and uikit samples (#1404) 2018-03-14 16:22:07 +03:00
Nikolay Igotti a6fa19a7fd Object freezing API (#1390) 2018-03-14 11:51:48 +03:00
Svyatoslav Scherbina 610c9b5278 Reduce usage of descriptors in latest stages of compiler
Initialize properly new required IR data.

Also update kotlin compiler to 1.2.40-dev-837 (d3ab86db).
2018-03-14 01:35:14 +03:00
Carlos Ballesteros Velasco 011197c462 Add missing libraries for some exported functions (#1401) 2018-03-13 17:48:16 +01:00
Ilya Matveev 5ab7296ceb [build] Support composite build with Kotlin/JVM 2018-03-13 19:17:38 +03:00
Carlos Ballesteros Velasco 88fcae144e Add windows opengl32 platform library (#1400) 2018-03-13 15:43:51 +01:00
Ilya Matveev 60fff46930 [gradle-plugin] Mention artifact project, library DSL in readme 2018-03-13 17:05:36 +03:00
Ilya Matveev 157fb349ea [gradle-plugin] Allow user to add several expectedBy dependencies 2018-03-13 17:05:36 +03:00
Ilya Matveev 40f76419a2 [gradle-plugin] Support KONAN_ENABLE_OPTIMIZATIONS env variable 2018-03-13 17:05:36 +03:00
Ilya Matveev 489b1a5708 [gradle-plugin] Run tools with -Xmx3G by default 2018-03-13 17:05:36 +03:00
Ilya Matveev 669baf88a3 [gradle-plugin] Fix setting default compiler version 2018-03-13 17:05:36 +03:00
Ilya Matveev 0f1bcecd31 [gradle-plugin] Add copyrights in tests 2018-03-13 17:05:36 +03:00
Ilya Matveev 6aee9446c6 [gradle-plugin] Add a konan.useEnvironmentVariables property 2018-03-13 17:05:36 +03:00