Commit Graph

3843 Commits

Author SHA1 Message Date
Igor Chevdar 3e97612c73 Implemented inlining of function references 2018-06-19 14:43:05 +03:00
Igor Chevdar 9aae175fc2 Some minor fixes 2018-06-19 14:43:05 +03:00
Nikolay Igotti 7074976f7f Rework test runner to avoid mutable objects. (#1702) 2018-06-19 14:31:31 +03:00
ilmat192 67279c4148 Rework Gradle plugin (#1666)
* [gradle-plugin] Basic implementation for the new plugin

* [gradle-plugin] Use one component for both libraries and executables

* [gradle-plugin] Support library compilation and publishing

* [gradle-plugin] Support compilation for different targets

* [gradle-plugin] Use different output paths for libs and kexe

* [gradle-plugin] Implement ProductionComponent

* [gradle-plugin] Add smoke tests for the new Gradle plugin

* [gradle-plugin] Backport to Gradle 4.7 and rename plugin package

* [gradle-plugin] Implement our own BuildType

* Remove the 'publish-release.sh' script

* [gradle-plugin] Support tests in new plugin

* [gradle-plugin] Refactor the new plugin

    * Rename sourceSets.main.common -> sourceSets.main.kotlin.
    * Generate dummy tasks for unsupported test targets.
    * Add identities in publication for unsupported on the current
      host targets.
    * Provide a component DSL method for setting targets.

* [gradle-plugin] Codestyle fixes

* [gradle-plugin] Add checks for Gradle version and metadata

* [gradle-plugin] Support compiler downloading in the new plugin

* [gradle-plugin] Support MPP in the new Gradle plugin

* [gradle-plugin] Fix tests after removing implicit GRADLE_METADATA
2018-06-19 10:09:46 +03:00
Igor Chevdar 3b8cb2a542 Cached symbolName building 2018-06-18 17:06:45 +03:00
Igor Chevdar 119e2ca37e Cached member scope creation 2018-06-18 17:06:45 +03:00
Vasily Levchenko 57f93e2cdb [kotlin compiler][update] 1.2.60-dev-794 2018-06-18 16:36:55 +03:00
Ilya Matveev 412c4864ca [gradle-plugin] Fix file names for artifacts uploaded 2018-06-18 13:41:32 +03:00
Nikolay Igotti 94fb9c004a Atomic values support. (#1695) 2018-06-18 10:46:20 +03:00
Pavel Punegov 5e6e23dd53 Throw NoSuchElementException instead of IOOBE in ArrayList's iterator (#1694) 2018-06-18 10:37:11 +03:00
Márton Braun 36fe143ac3 Fixed typo in Android calculator app layout (#1696) 2018-06-18 10:36:30 +03:00
Igor Chevdar 7741dfe15b Fixed coroutines
Duplication of descriptors caused by 8094cb7dc5
2018-06-14 19:57:59 +03:00
Igor Chevdar bea5aa8a45 Fixed bugs with contracts DSL 2018-06-14 19:57:59 +03:00
Nikolay Igotti f5741c475b Update XCode version. (#1691) 2018-06-14 16:57:21 +03:00
Vasily Levchenko 369d2a4565 [sample][libcurl] customized pom file, published in each auxilary publication 2018-06-14 16:45:52 +03:00
Vasily Levchenko f84e272b0e [gradle][plugin] this patch adds pom entry to konan building config to re-evaluate it on each native publications 2018-06-14 16:45:52 +03:00
Vasily Levchenko 5a4718b3a3 [kotlin compiler][update] 1.2.60-dev-715 2018-06-14 16:28:50 +03:00
Nikolay Igotti ce840e1e28 Make run_konan compatible with msys (#1683) 2018-06-14 11:48:56 +03:00
Nikolay Igotti 48bd38542a Frozen global object example. (#1686) 2018-06-14 11:33:03 +03:00
Pavel Punegov 14f622dac2 Replace warning suppress with PublishedApi 2018-06-13 14:23:49 +03:00
Pavel Punegov 6a453c8bb7 toSingletonMap implementation using MutableMap 2018-06-13 14:23:49 +03:00
Pavel Punegov d78d14cd00 Fix sources unzipping: make build task depend on sources copy task 2018-06-13 14:23:49 +03:00
Igor Chevdar e3236a5d04 Fixed codegen for annotation classes 2018-06-13 14:23:49 +03:00
Igor Chevdar b8340ead91 Added names to private functions and types 2018-06-13 14:23:49 +03:00
Igor Chevdar 0927dfd070 Fixed coroutines 2018-06-13 14:23:49 +03:00
Ilya Matveev 5cde399600 Support String factory functions 2018-06-13 14:23:49 +03:00
Ilya Matveev 0e2fa56269 Download common stdlib sources as a dependency 2018-06-13 14:23:49 +03:00
Pavel Punegov eed9f31dac Filter out expect declarations 2018-06-13 14:23:49 +03:00
Pavel Punegov 374397d03f Common stdlib
- adds actual matching expect declarations
- removes duplicates
- rewrite collections
- add MPP and experimental compiler options
2018-06-13 14:23:49 +03:00
Alexander Gorshenev c807fca8cb Fix Fedora samples build. 2018-06-13 14:06:45 +03:00
Vasily Levchenko 392ce5a221 [samples][curl] drop build.sh, because we curl compilation depends on maven artifact 2018-06-09 16:11:39 +03:00
Nikolay Igotti f4ac18b780 Kotlin machine scheduling primitives. (#1677) 2018-06-09 16:08:42 +03:00
Igor Chevdar 35043d4699 DFG: Use types from IR for receivers for virtual calls 2018-06-09 16:07:32 +03:00
Igor Chevdar 9dccddae08 Fixed bug in inliner with type substitution 2018-06-09 16:07:32 +03:00
Igor Chevdar 3cd290631c DFG: Supported createUninitializedInstance/initInstance functions 2018-06-09 16:07:32 +03:00
Igor Chevdar 0d50877d63 Added some debug output to devirtualization 2018-06-09 16:07:32 +03:00
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