Commit Graph

2758 Commits

Author SHA1 Message Date
Ilya Matveev ea667ebc5c stdlib: Add exitProcess function 2017-09-07 18:48:10 +03:00
Svyatoslav Scherbina bacb1c21f7 Add UIKit sample 2017-09-06 23:57:19 +03:00
Svyatoslav Scherbina 62755590a5 Add uncaught exception handler when Objective-C interop is enabled
UIApplicationMain doesn't forward exceptions to the caller,
so catching them in Kotlin main doesn't have any effect.
2017-09-06 23:57:19 +03:00
Svyatoslav Scherbina 4e285a5ef4 Implement equals, hashCode and toString for Objective-C objects 2017-09-06 23:57:19 +03:00
Svyatoslav Scherbina 6b042a5510 Disable passing exceptions from Objective-C to Kotlin
since they can't be correctly handled yet.
2017-09-06 23:57:19 +03:00
Svyatoslav Scherbina 12df524138 Disable inheriting Objective-C initializers by Kotlin classes
Unoverridden inherited Objective-C initializer can lead to
creating uninitialized Kotlin instances.
Throw exception when such an initializer gets called.
2017-09-06 23:57:19 +03:00
Svyatoslav Scherbina 324f54ba1e Implement @ExportObjCClass 2017-09-06 23:57:19 +03:00
Svyatoslav Scherbina aece25344f Simplify immutableBinaryBlobOf support in codegen 2017-09-06 23:57:19 +03:00
Svyatoslav Scherbina 07f26dc1df Rework Objective-C constructors and support 'initBy' intrinsic 2017-09-06 23:57:19 +03:00
Svyatoslav Scherbina 5a7e3e20b4 Support exposing Kotlin methods as Objective-C actions and outlets 2017-09-06 23:57:19 +03:00
Svyatoslav Scherbina 2f30c15b45 Workaround interop with iOS system frameworks 2017-09-06 23:57:19 +03:00
Nikolay Igotti 5f92568347 Support missing pieces (#838) 2017-09-06 16:48:55 +03:00
Vasily Levchenko ccb4caf29e [performance][bench] don't access to build folder before compilation task finished. 2017-09-06 13:21:56 +03:00
Nikolay Igotti d7ad69e85d Minor Android manual tweaks 2017-09-05 18:51:51 +03:00
Nikolay Igotti be58d2ee34 Fix typedefs to unsupported types 2017-09-05 18:43:55 +03:00
Ilya Matveev 5289be4e1b v0.3.2 preparations 2017-09-05 18:37:33 +03:00
Nikolay Igotti b8929460a0 Exclude entry point from DCE on Android 2017-09-05 18:31:16 +03:00
Alexander Gorshenev 63ace8add9 Produce a warning in case we could not find an entry point. 2017-09-05 18:15:42 +03:00
Nikolay Igotti 43a975ad73 Ensure linker from sysroot is used (#834) 2017-09-05 15:35:23 +03:00
Hadi Hariri cc0809d315 Added JB Official (#833) 2017-09-05 13:35:20 +03:00
Nikolay Igotti 05696fe5c1 Platforms reshuffle (#830) 2017-09-04 19:53:45 +03:00
Vasily Levchenko 3016f5f253 [kotlin compiler][update] 1.1-20170901.201358-842
stdlib: 1.1-20170901.201245-751
plugin: 1.1-20170901.202447-820
2017-09-04 14:18:53 +03:00
Vasily Levchenko 3a9169f5ea [upload] fix of pom generation on uploaded artifacts
problem introduced in d488e35219
2017-09-04 14:18:53 +03:00
Nikolay Igotti 65aa2d4d77 Workaround KT-19612 (#828) 2017-09-01 14:08:48 +03:00
Nikolay Igotti 0fe40ec92e Linux platform (#824) 2017-09-01 12:51:03 +03:00
Ilya Matveev 8f8c3fc600 gradle-plugin: Set LIBCLANG_DISABLE_CRASH_RECOVERY for compiler 2017-09-01 11:38:25 +07:00
Ilya Matveev d0b3f46a77 gradle-plugin: Fix tests according to plugin changes 2017-09-01 11:38:25 +07:00
Ilya Matveev 7ec167b5ca gradle-plugin: Allow 'manual' dependency downloading
This patch adds an ability to download native dependencies
(clang, sysroots etc) during execution of the `downloadKonanCompiler`
task. The feature can by enabled by setting the
`downloadDependencies` property of the `downloadKonanCompiler` task
to true. Targets for these dependencies may be specified as a string
list using `targets` property of the `downloadKonanCompiler` task.
2017-09-01 11:38:25 +07:00
Ilya Matveev 68d0c9987b samples, concurrent: Download dependencies before building 2017-09-01 11:38:25 +07:00
Ilya Matveev f68380c2d2 CLI: Add --check_dependencies flag 2017-09-01 11:38:25 +07:00
KonstantinAnisimov 7782195201 Memory statistic (#817) 2017-08-31 18:54:05 +03:00
Igor Chevdar 19461d8143 Removed/cached some reflection calls 2017-08-31 15:34:37 +03:00
Igor Chevdar 2b00850164 Made NativePointed an abstract class instead of interface 2017-08-31 15:34:37 +03:00
Igor Chevdar c4fefcd462 Fixes in escape analysis 2017-08-30 13:55:01 +03:00
Ilya Matveev 98fe7995bb gradle-plugin: Don't use Project.getTasksByName method
Call of Project.getTasksByName in KonanPluing.apply causes subproject
evaluation. So in such a build script the plugin 'foo' will not be
applied to the subprojects:

subprojects {
    apply 'konan'
    apply 'foo'
}

This patch uses methods available via Project.tasks property to
work with tasks without causing subproject evaluation.

Related issue: KT-19916
2017-08-30 15:55:15 +07:00
Alexander Gorshenev 7aa6977ea6 Minor launcher changes to run in the browser. 2017-08-29 18:27:47 +03:00
Vasily Levchenko d488e35219 [upload]: make bintray load several artifacts 2017-08-29 16:48:38 +03:00
Vasily Levchenko 403c774688 [performance] compilation and execution with kotlin native and jvm, comparing results 2017-08-29 16:48:38 +03:00
Igor Chevdar 136c62a62c Added test on workers with invalid transfer attempt 2017-08-29 16:39:49 +03:00
Igor Chevdar 8605c01255 Implemented workers TODO about subrgaph transfer
Implemented check that subgraph of objects can be safely transferred
from one worker to another by running trial deletion on the subgraph.
2017-08-29 16:39:49 +03:00
Nikolay Igotti f74265126e Fix performance bug, review feedback on indexer changes (#818) 2017-08-29 16:12:44 +03:00
Nikolay Igotti 2aa077e542 Generate Windows platform headers 2017-08-29 14:07:26 +03:00
Nikolay Igotti 7d72beb27c Improve memory tracing, fix 32-bit platforms (#815) 2017-08-29 10:21:47 +03:00
Igor Chevdar 1d434899cb Fixed bug with globals deinitialization 2017-08-28 14:51:14 +05:00
Vasily Levchenko 9fdf30fc66 [kotlin compiler][update] 1.1-20170826.093556-820 2017-08-28 10:18:28 +03:00
Ilya Matveev f218d36aa9 build: Fix javaArgs in stdlib build 2017-08-28 10:55:53 +07:00
igotti-google 7fadfa5a0c Fix type in conversion to ByteArray 2017-08-26 11:50:10 +03:00
Igor Chevdar 7e666f2d90 Implemented Bacon's algorithm for cycle collection 2017-08-24 19:48:55 +05:00
Igor Chevdar 3522627ce3 Added FrameOverlay struct 2017-08-24 19:48:55 +05:00
igotti-google 5c5365b261 Fix couple typos. 2017-08-24 16:48:15 +03:00