Commit Graph

4307 Commits

Author SHA1 Message Date
Sergey Bogolepov a3c82ba5ce Removed hprof due to removal from JDK9 (http://openjdk.java.net/jeps/240) 2018-06-09 19:07:28 +07:00
Ilya Matveev 54a9969f64 Take local.properties into account when checking for Android SDK 2018-06-09 14:30:18 +03:00
Ilya Matveev d72db9226b Provide a task to generate all Gradle wrappers in the project 2018-06-09 14:30:18 +03:00
Vasily Levchenko cbc9221884 [sample][libcurl] customized pom file 2018-06-09 13:57:18 +03:00
Nikolay Igotti 63300652d5 Fix empty arrays. 2018-06-09 13:49:24 +03:00
Vasily Levchenko 8c8e5ce316 [samples][libcurl] attach sources(def-file) to publication 2018-06-09 12:31:29 +03:00
Vasily Levchenko 7da3105b58 [gradle][plugin] don't always create main maven application
- alter artifactId, groupId and main components letting user specify additional artifacts in build script
2018-06-09 12:31:29 +03:00
Vasily Levchenko d39da8ade4 [gradle][g/c] remove unwanted braces 2018-06-09 12:31:29 +03:00
Igor Chevdar b92fbe7f42 Fixed bug in inliner + test 2018-06-09 11:45:43 +03:00
Nikolay Igotti 4bc12573f2 Improve code quality by explicit static container reference. (#1664) 2018-06-07 17:01:54 +03:00
alexander-gorshenev 686d60a908 Workaround ld.so.cache endianess issue on MIPS. 2018-06-07 17:00:54 +03:00
Igor Chevdar 020dd641de Replaced symbols comparison with descriptors comparison 2018-06-07 16:59:44 +03:00
Vasily Levchenko 9053eb3a63 [lldb][python] do not let to crash of python bindings on variables before local_inits basic block
- validness of the object pointer check with particularities of TypeInfo structure
2018-06-07 16:30:51 +03:00
Sergey Bogolepov 5ad749d56b Added switch (enum-only when) lowering
Added enum ordinal to serialization
2018-06-07 14:29:17 +07:00
SvyatoslavScherbina 1afc5e5e90 Add note about singletons to OBJC_INTEROP.md 2018-06-06 15:02:10 +03:00
ilmat192 5219565c4d Explicitly mention the 'srcDir' option in the Gradle plugin readme (#1661) 2018-06-06 15:01:30 +03:00
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