Commit Graph

3791 Commits

Author SHA1 Message Date
Charlie Jiang aa8ec8e24e Fix path seperator problem on Windows of Gradle generateCMake task (#1657)
Signed-off-by: Charlie Jiang <cqjjjzr@126.com>
2018-06-06 15:01:21 +03:00
Nikolay Igotti 49e91547ba v0.7.1 preparations. (#1658) 2018-06-06 15:00:01 +03:00
Max Medvedev 2a63c409fa kotlin-objective-c cross resolve: public objc types 2018-06-06 14:57:04 +03:00
Igor Chevdar 2faf7908ee Implemented equal in IR 2018-06-06 14:55:33 +03:00
Alexander Gorshenev eec6f399fb Remove obsolete runtime memory initialization code from js.
Handle everything in runtime.
In addition the fix fixes global ctros issue in the browser.
2018-06-06 13:40:46 +03:00
Nikolay Igotti afc7d1dd9e Make String and box types frozen by default, more freeze checks (#1645) 2018-06-06 11:59:16 +03:00
Vasily Levchenko 45052ded8e [kotlin compiler][update] 1.2.60-dev-444 2018-06-06 11:20:48 +03:00
Svyatoslav Scherbina 67d9a555fa Optimize and simplify handling of boolean boxed to NSNumber 2018-06-06 10:01:35 +03:00
Svyatoslav Scherbina 8a6f9015f1 Fix non-public API usage when uploading to AppStore
Don't implement category for NSBlock class
2018-06-06 10:01:35 +03:00
Svyatoslav Scherbina 2934588bbe Fix garbage cycle collection for kotlin.Array 2018-06-05 12:32:15 +03:00
ilmat192 b31590f545 Fix KONAN_DATA_DIR in the Windows command-line runner (#1649) 2018-06-05 14:35:23 +07:00
Nikolay Igotti ece39a27d8 GCD usage example. 2018-06-02 09:36:24 +03:00
Nikolay Igotti d33afd6007 Fix incorrect dependency in the runtime. 2018-06-02 09:36:24 +03:00
Pavel Punegov c0f3e5f9e8 Fix KT-24370. Make indexOf consistent with Kotlin/JVM 2018-06-01 17:13:22 +03:00
Nikolay Igotti b8fa1bcdd3 Move to XCode 9.4, add CoreML and ClassKit. (#1637)
* Move to XCode 9.4, add CoreML and ClassKit.

* Add assertSame and assertNotSame to stdlib.

* Fix SDK properties.
2018-05-31 23:21:17 +03:00
Sergey Bogolepov f3115a100a Fix for enum equals method (#1638)
* Fix for enum equals
2018-05-31 14:42:18 +07:00
Igor Chevdar 5e57f146de Fixed bug in DFG building with workers + test 2018-05-29 10:32:47 +03:00
Vasily Levchenko 81c99a060f [kotlin compiler][update] 1.2.60-dev-342 2018-05-28 19:05:50 +03:00
Stefan M 705e39a61c Add a link to the MPP sample repo in the MPP doc (#1494)
The MPP sample is implemented in a separate repo: https://github.com/JetBrains/kotlin-mpp-example
2018-05-28 20:11:49 +07:00
Igor Chevdar a6bf1e7262 Made escape analysis up to date with devirtualization 2018-05-28 11:08:26 +03:00
Vasily Levchenko c994bd54be [tests][lldb][python binding] output fixed 2018-05-26 21:27:50 +03:00
Vasily Levchenko bae852a427 [lldb][python binding] using new RTTI support 2018-05-26 21:27:50 +03:00
Ilya Matveev 7aa92eaa25 [gradle-plugin] Re-add an aggregate task to run all executables 2018-05-25 18:38:41 +07:00
Ilya Matveev b0d65642e4 [gradle-plguin] Mention run<Artifact> tasks in readme 2018-05-25 18:38:41 +07:00
Ilya Matveev d2670b4921 [gradle-plugin] Create a separate run task for each executable 2018-05-25 18:38:41 +07:00
Nikolay Igotti 5b087ae04c Improve Android native sample, add basic Java bridge. (#1606) 2018-05-24 18:20:59 +03:00
Ilya Matveev 41ea12a4e7 [tetris] Support Windows resources in Gradle build 2018-05-24 11:16:07 +07:00
Max Medvedev 9b9f0412ce Rework Objective-C header generation (#1618)
Provide simple tree representation for generated header
to be used in IDE for cross-resolve.

Also do some cleanup.
2018-05-24 00:09:36 +03:00
Alexander Gorshenev 40a58a9a61 Eliminate stack protection from the runtime.
There is some positive performance effect:
before: Average Ring score: absolute = 177,5160 us +- 0,5352 us, ratio = 8,68 +- 0,10
after:  Average Ring score: absolute = 171,3093 us +- 2,3758 us, ratio = 8,72 +- 0,23
2018-05-23 13:50:00 +03:00
ilmat192 bc65c7175d Improve tooling model + add Gradle version checking (#1602)
* [gradle-plugin] Add tests for IDE model
* [gradle-plugin] Check Gradle version
* [gradle-plugin] Provide language, api and konan version in the model
* [gradle-plugin] Use String instead of KonanTarget in the IDE model
* [gradle-plugin] Rename Produce -> KonanOutput
* [version] Make KonanVersion an interface to allow passing it to IDE
* [gradle-plugin] Replace KonanOutput with CompilerOutputKind
* [gradle-plugin] Don't override usual jar with a fat one
* [gradle-plugin] Fix IDE model tests
* [gradle-plugin] Add library search paths in IDE model
* [gradle-plugin] Use 4.7 as a required version for the plugin
* [gradle-plugin] "Kotlinfy" the version check
2018-05-23 11:58:47 +07:00
Igor Chevdar 74e1783e2b Fixed bug in <when> codegen + test 2018-05-22 12:07:36 +03:00
Svyatoslav Scherbina b218a3a7a2 Add 'disableDesignatedInitializerChecks' .def file flag
When enabled for an Objective-C library, compiler would permit to call
a constructor of a class from this library as super-constructor even if
it is not marked as designated.

Fix #1539
2018-05-22 10:03:16 +03:00
Vasily Levchenko ec80b949e7 [kotlin compiler][update] 1.2.60-dev-188 2018-05-21 16:54:41 +03:00
Vasily Levchenko 361cde1ed1 [build][gradle] switch to gradle-4.7 2018-05-21 12:25:26 +03:00
Igor Chevdar 5ac3a160ca Implemented inlining of devirtualized bridges 2018-05-18 17:10:25 +03:00
Igor Chevdar 5212fd8189 DFG: Added function attributes to FunctionSymbol 2018-05-18 17:10:25 +03:00
Igor Chevdar e9622bd347 DFG: Refactored types representation 2018-05-18 17:10:25 +03:00
Igor Chevdar 1c2fa52eba DFG: Moved parameter & return types from body to symbol 2018-05-18 17:10:25 +03:00
Igor Chevdar e3857223eb DFG: Added Type.correspondingValueType 2018-05-18 17:10:25 +03:00
Igor Chevdar b46d19c1ac DFG: Added bridge target for bridge symbols 2018-05-18 17:10:25 +03:00
ilmat192 8e1caefea6 Small fix in MPP readme (#1603) 2018-05-17 19:30:32 +07:00
Igor Chevdar 54fa746813 Perf: implemented many attempts computation
Mean and standard deviation are computed as result
2018-05-16 17:00:29 +03:00
Igor Chevdar 876de88df2 Fixed bug in coroutines lowering
Removed unnecessary returns & blocks from suspend function with delegating tail call.
2018-05-16 16:57:53 +03:00
Igor Chevdar 7ded115ddd Fixed bug in Inliner + test 2018-05-16 16:57:53 +03:00
Vasily Levchenko 2b97610301 [kotlin compiler][update] 1.2.60-dev-89 2018-05-16 14:40:43 +03:00
Ilya Matveev 651bd7d1e0 Fix wrong script in MPP doc 2018-05-16 11:55:42 +07:00
Vasily Levchenko d43e600fdb [debug info][variables] do not generate debug info for temporal variables 2018-05-15 23:10:33 +03:00
Vasily Levchenko 5e786666e7 [kotlin compiler][update] 1.2.60-dev-4 2018-05-15 23:10:12 +03:00
ilmat192 b99836edff [gradle-plugin] Provide a simple tooling model for IDE (#1578) 2018-05-15 17:37:46 +03:00
Nikolay Igotti dff4ce98e9 Optimize important case of string appending to the builder. (#1591) 2018-05-15 16:00:36 +03:00