Commit Graph

5049 Commits

Author SHA1 Message Date
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
LepilkinaElena 5013fcc71f Changed version in samples to 1.3.40 (#3090) 2019-06-20 15:40:25 +02:00
Vasily Levchenko 0286001684 [build][restrict] makes bundle dependent on bundleRestricted 2019-06-20 16:03:04 +03:00
Vasily Levchenko 2702f98f6a [build][restrict] adds restricted bundle build/upload target 2019-06-20 10:35:50 +03:00
Ilya Matveev d710bde6da Fix using KonanVersion.CURRENT in Gradle plugin tests 2019-06-20 10:28:40 +07:00
Ilya Matveev ff7a0e23bf Don't pass current version to library resolvers as a compatible one 2019-06-20 10:28:40 +07:00
Svyatoslav Scherbina 3d6d8b4d6b Add trivial tests for KType and typeOf
More tests are available as external.
2019-06-19 17:27:06 +03:00
Svyatoslav Scherbina b1c9487215 Implement KTypeImpl.toString() 2019-06-19 17:27:06 +03:00
Svyatoslav Scherbina e0d6a4c70e Add KType.arguments and support 'typeOf' intrinsic
#KT-29917 Fixed
 #KT-28625 Fixed

Also perform minor refactoring.
2019-06-19 17:27:06 +03:00
Svyatoslav Scherbina f704fd44af Move some of relevant code to ReflectionSupport.kt 2019-06-19 17:27:06 +03:00
Pavel Punegov 06bbf18ca7 Fix helper class for coroutines 2019-06-18 16:25:28 +03:00