Commit Graph

5059 Commits

Author SHA1 Message Date
Igor Chevdar 9b2eecff2d Fixed wrong expressions types 2019-07-08 12:55:04 +03:00
Igor Chevdar a747678992 [IR] Fixed a bunch of wrong parents 2019-07-08 12:55:04 +03:00
Igor Chevdar 440c03035d Rewrote all usages of annotations from descriptors to IR 2019-07-08 12:55:04 +03:00
LepilkinaElena 1e8eb1d4a8 Rewriting infrastructure to get right measurement of GC work (#3147) 2019-07-08 12:23:30 +03:00
Alexander Gorshenev 712c056a54 Updated version to 1.3.41 2019-07-04 16:58:40 +03:00
Alexander Gorshenev 1a7f7064a8 Updated samples to the latest rlease 2019-07-04 16:58:40 +03:00
Sergey Bogolepov 8a816adcbe Skip elements for which we cannot generate bridge. 2019-07-04 18:50:49 +07:00
Nikolay Igotti 81eb6b2be6 Very preliminary relaxed mode draft. (#3129) 2019-07-04 13:58:22 +03:00
Igor Chevdar d22bd18926 Fix for https://github.com/JetBrains/kotlin-native/issues/3076
There might be a clash between getter name and box function name
2019-07-04 13:07:03 +03:00
Ilya Matveev 9ae3884a94 More platform libs: Add QTKit 2019-07-04 16:13:09 +07:00
Ilya Matveev 52817e67ee More platform libs: Add AudioUnit and CoreAudioKit 2019-07-04 16:13:09 +07:00
Ilya Matveev eca17c2afe More platform libs: Remove Carbon and all its dependents 2019-07-04 16:13:09 +07:00
Ilya Matveev a9b8da5a32 More platform libs: Add libraries having web docs
Not included:
    AGL - no some headers from OpenGL
    AudioUnit, CoreAudioKit - no AudioUnitCarbonView.h
    Kernel - no such module

Included undocumented libs (to satisfy dependencies):
    Carbon
    Cocoa
    ImageCaptureCore
    MediaToolbox

More platform libs: Remove ColorSync

Reason: it is already included into ApplicationServices.
2019-07-04 16:13:09 +07:00
LepilkinaElena 3fec182cab Fixed compiler options with value expected to be path to cover all characters in pathes (#3148) 2019-07-04 11:42:55 +03:00
Sergey Bogolepov bff177a072 Remove old plaintext StubGenerator and introduce Stub IR-based generator 2019-07-03 10:34:33 +07:00
Alexander Gorshenev 367b95a0b8 Utilize the default KotlinMangler's CityHash function 2019-07-02 16:51:32 +03:00
Vasily Levchenko 4772885ff4 [kotlin compiler][update] 1.3.50-dev-1741 2019-07-01 20:45:08 +03:00
Pavel Punegov bab661ddcd If a part of the identifier was found skip it, adding the length of the searched package. 2019-07-01 18:33:35 +03:00
Pavel Punegov 5579449cdc Fix incorrect package replacement: should check that current occurrence is not a part of identifier 2019-07-01 18:33:35 +03:00
Vasily Levchenko 91868e7200 [lowering][debug info] corrections in offsets processing 2019-07-01 15:49:13 +03:00
Vasily Levchenko c8af53e58b [codegen][debug info] codegerator uses start/end location encapsulated in IrElement 2019-07-01 15:49:13 +03:00
Igor Chevdar 360dc2c9b4 Turned off devirtualization & dce w/o -opt key 2019-07-01 13:44:38 +03:00
Elena Lepilkina 3e31fdf3b9 Experiment: Change maximum ergonomic threshold 2019-06-28 14:55:58 +03:00
Elena Lepilkina 9439bd2452 New benchmarks from user 2019-06-28 14:55:58 +03:00
Nikolay Igotti 60fb50aeb7 Resurrect -Xprint-ir flag. (#3127) 2019-06-28 14:48:06 +03:00
Nikolay Igotti 5e0c161042 More preparations for relaxed mode. (#3115) 2019-06-28 13:49:34 +03:00
SvyatoslavScherbina 067ec3428a Improve kotlin.Deprecated support when producing framework (#3114) 2019-06-28 12:05:11 +03:00
Pavel Punegov ef24aff534 Fix import packages in external tests 2019-06-27 17:33:05 +03:00
Pavel Punegov 3f97d4d6f7 Fix TC format replacement 2019-06-27 17:24:33 +03:00
Alexander Gorshenev 9e652a61ce Remove the copy of testLibrary.klib in build/ so that we don't link two copies 2019-06-27 13:26:24 +03:00
Ilya Matveev 127ba155c7 Build: Replace buildSrc with a separate included build (#3104)
Gradle doesn't allow us to substitute dependencies of buildSrc
with artifacts provided by a composite build. But our buildSrc
depends on kotlin-native-utils provided by the Big Kotlin repo.
Thus we cannot make changes in kotlin-native-utils and use them
in buildSrc during a development process.

This patch fixes the issue by transforming buildSrc into a separate
included build.
2019-06-27 17:20:53 +07:00
Alexander Gorshenev e9685e8d17 Eliminated yet another descriptor use in lowerings 2019-06-27 01:54:36 +03:00
Alexander Gorshenev 2c31173725 A test for local delegated property deserialization 2019-06-27 01:54:36 +03:00
Nikolay Igotti e841798c47 Reorder declarations to separate interface from implementation. 2019-06-26 13:29:02 +03:00
Nikolay Igotti b8ea28cea8 Support memory model compiler selection switch. 2019-06-26 13:29:02 +03:00
Svyatoslav Scherbina 9156cbd758 Improve support for invalid identifiers when producing framework 2019-06-25 12:02:43 +03:00
Svyatoslav Scherbina 0831ca7e87 Fix property clash when producing framework 2019-06-25 12:02:43 +03:00
Svyatoslav Scherbina 87396c6caf Always produce nullable type for result out parameter in Obj-C header
Otherwise it would be unusable when passing reference to local variable
from Swift as it would require a non-null initializer then.
2019-06-25 12:02:43 +03:00
Svyatoslav Scherbina fba4a35d60 Fix nullability of interop pointer types in produced Objective-C header 2019-06-25 12:02:43 +03:00
Svyatoslav Scherbina 36cf02a317 Configure framework tests to fail if framework header makes warnings 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
Pavel Punegov d052f198e2 Fix stdlib substitution: use kotlinStdlibVersion 2019-06-24 18:35:31 +03:00
Vasily Levchenko 6dda233dd0 [kotlin compiler][update] 1.3.50-dev-1455 2019-06-24 17:39:16 +03:00
SvyatoslavScherbina ab29d5e073 Avoid reparsing C headers in cinterop whenever possible (#3082)
Thus optimize it.
2019-06-24 14:38:04 +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