Commit Graph

3880 Commits

Author SHA1 Message Date
Svyatoslav Scherbina 155b7b698e Fix minor bug in memory management
Properly handle the case when the program finishes with empty 'toFree' buffer
but non-empty deallocation queue.
2018-07-04 22:31:49 +03:00
Igor Chevdar f4fef09447 Fixed external tests
Marked all mutable objects with konan.ThreadLocal annotation
2018-07-04 17:11:02 +03:00
Vasily Levchenko cb916d017b [kotlin compiler][update] 1.2.70-dev-83
- Revert "Use local Kotlin jars built from 372e2c5c"
2018-07-04 14:21:56 +03:00
Igor Chevdar c9e7a4faed Fixed bug with objects access in global initialisers + test 2018-07-04 12:24:50 +03:00
Vsevolod Tolstopyatov a8d6113308 Dispatch Any methods called on interface via vtable instead of itable (#1753) 2018-07-04 10:10:58 +03:00
Svyatoslav Scherbina 627d28db8a Ignore deserialized fake-override fields
Fix #1748
2018-07-04 10:09:11 +03:00
Nikolay Igotti dfc01847c5 Freeze objects by default, stdlib improvements. (#1743) 2018-07-03 16:45:34 +03:00
Igor Chevdar c19b9d787f Fixed bug in inliner 2018-07-02 18:59:48 +03:00
Nikolay Igotti 0146e50688 Make Regex engine freezing friendly. (#1742) 2018-07-02 16:18:43 +03:00
igotti-google dfac13a7a7 Add toKString() from short array 2018-06-30 19:45:11 +03:00
Igor Chevdar 986f5220df Added possibility of debug output from lowerings 2018-06-29 15:48:48 +03:00
Igor Chevdar 11c4a2518d Fixed bug in finally blocks lowering + test
Return type must be taken from the function
2018-06-29 15:48:48 +03:00
Igor Chevdar 6a07322f62 Fixed bug in inliner with recursive inline
Return type of a returnable block should be substituted as well as other types
2018-06-29 15:48:48 +03:00
Nikolay Igotti 5cc6baf8c3 Fix obsolete sample code. 2018-06-29 09:32:41 +03:00
Svyatoslav Scherbina 695f93ea61 Fix generating Unit-returning bridge for suspend function
#KT-25137 Fixed
2018-06-29 08:25:02 +03:00
Pavel Punegov c5bbb492dd Fix videoplayer sample: min() replaced with minOf() 2018-06-28 16:55:14 +03:00
Pavel Punegov 391ba4b93d Remove duplicates of Byte and Short bitwise operations in stdlib and fix arrayOfNulls incorrectly moved to a collections package 2018-06-28 16:55:14 +03:00
Nikolay Igotti e2b051e2d5 Documentation tweaks. 2018-06-28 15:52:00 +03:00
Thiago Henrique Hüpner 9f64280bc7 Update FAQ (#1730) 2018-06-27 08:24:21 +02:00
Igor Chevdar 57e75915ff Fixed bug in SuspendFunctionsLowering + test
Supported callable references to non-local suspend functions.
2018-06-27 09:14:08 +03:00
Alexander Gorshenev b93188a056 Added a regression test for Char constant serialization. 2018-06-26 17:08:02 +03:00
Alexander Gorshenev 756fe0735b The Char type was missing in ir serialization. 2018-06-26 17:08:02 +03:00
Ilya Matveev 750cf2f419 [gradle-plugin] Fix MPP in the new plugin after switching to 1.2.50 2018-06-26 17:38:12 +07:00
Igor Chevdar 5e59045352 Fixed bug with default args copying in enums + test 2018-06-26 11:38:58 +03:00
Svyatoslav Scherbina 35be7055e1 Remove obsolete code used for Objective-C interop 2018-06-26 10:44:53 +03:00
Svyatoslav Scherbina 338152263a Add minor code improvements 2018-06-26 10:44:53 +03:00
Svyatoslav Scherbina 8591f13b94 Fix iOS ARM32 ABI support in Objective-C interop 2018-06-26 10:44:53 +03:00
Svyatoslav Scherbina d3e4531602 Add workaround for +load method called twice by Objective-C runtime
Should fix #1704
2018-06-26 10:20:36 +03:00
Igor Chevdar 17608ecb98 Implemented intrinsic <coroutineContext> + tests 2018-06-25 13:24:07 +03:00
Egor Andreevici 8edc17d3e6 Fix typos in CONCURRENCY.md (#1714) 2018-06-23 10:46:18 +02:00
Svyatoslav Scherbina 9bbecf33d2 Migrate compiler to IR types 2018-06-22 11:29:46 +03:00
Svyatoslav Scherbina fd016db33a Use local Kotlin jars built from 372e2c5c 2018-06-22 11:29:46 +03:00
Vasily Levchenko 3e128cc4ac [build][kotlin] 1.2.50 2018-06-22 09:01:17 +03:00
Nikolay Igotti 0da110a786 32-bit iOS support (#1708) 2018-06-21 18:36:17 +03:00
Nikolay Igotti 705f3ce438 Remove debugging mutable state from Regex classes. (#1710) 2018-06-21 18:22:12 +03:00
Nikolay Igotti 1df27a7884 Tweaks to atomics implementation. (#1703) 2018-06-20 14:36:16 +03:00
Vasily Levchenko 7b8476b283 [doc][gradle plugin] publishing to maven (#1692) 2018-06-20 14:04:51 +03:00
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