Commit Graph

4078 Commits

Author SHA1 Message Date
Svyatoslav Scherbina 5aaf075af8 Fix some range checks appeared to be incorrect when index > array.size 2018-08-31 13:50:34 +03:00
Svyatoslav Scherbina 307e4fc3fd Make *Array.copyOfRange throw same exceptions as Kotlin/JVM impl 2018-08-31 13:50:34 +03:00
Sergey Bogolepov 6ee1927fae Remove workaround that was required for #1972 (#1979) 2018-08-31 11:34:58 +03:00
Ilya Matveev 9f77cc59d9 [readme] Update gradle plugin readme 2018-08-31 15:31:14 +07:00
Ilya Matveev 75993b3458 [gradle-plugin] Make release build type not debuggable 2018-08-31 15:31:14 +07:00
Ilya Matveev a91f91bc65 [gradle-plugin] Use main targets in the test component by default 2018-08-31 15:31:14 +07:00
Ilya Matveev 94e6c2a514 [gradle-plugin] Pass main linkerOpts to the test binary 2018-08-31 15:31:14 +07:00
Ilya Matveev d6cef7ec21 [samples] Change gradle task in readme: assemble -> build 2018-08-31 15:31:14 +07:00
Ilya Matveev 15a17f1c92 [samples] Fix new DSL in the tetris sample 2018-08-31 15:31:14 +07:00
Ilya Matveev c4306a7462 [gradle-plugin] Fix cinterop in tests 2018-08-31 15:31:14 +07:00
Ilya Matveev e491ef45c4 [samples] Switch to the new DSL in some samples 2018-08-31 15:31:14 +07:00
Ilya Matveev b876fdb5bc [gradle-plugin] Fix setting targets 2018-08-31 15:31:14 +07:00
Ilya Matveev 7ae4c8cd70 [gradle-plugin] Warn if an interop name clashes with a main lib name 2018-08-31 15:31:14 +07:00
Ilya Matveev 8e703a7189 [gradle-plugin] Add test for cinterop 2018-08-31 15:31:14 +07:00
Ilya Matveev 847e6cf748 [gradle-plugin] Pass component dependencies in cinterop 2018-08-31 15:31:14 +07:00
Ilya Matveev 62e3145ca9 [gradle-plugin] Support custom linker options for binaries 2018-08-31 15:31:14 +07:00
Ilya Matveev c012aa5d32 [gradle-plugin] Support basic cinterop 2018-08-31 15:31:14 +07:00
Pavel Punegov 8092abc2b9 Exclude tests with language version less than 1.3 2018-08-31 00:37:18 +03:00
Svyatoslav Scherbina 5165617f1c Update Kotlin to 1.3-M2-release-211
Built from rrr/1.3-M2/kotlin-native-upstream (921831e7)
based on 1.3-M2 release.

Fix #1968
2018-08-30 23:09:12 +03:00
Svyatoslav Scherbina c49a07f5ab Update buildKotlinVersion to 1.3-M1
To prevent Gradle plugin from depending on unreleased Kotlin artifacts
2018-08-30 23:09:12 +03:00
Sergey Bogolepov 8468c00bda Fix for KT-26500 (#1972) 2018-08-30 17:23:46 +03:00
Nikolay Igotti fb1be9b969 Fix KT-26455 and KT-26443. (#1970) 2018-08-30 17:09:06 +03:00
Svyatoslav Scherbina 71405c34fa Don't use fields for non-strict interop enum constants 2018-08-30 11:55:05 +03:00
Svyatoslav Scherbina 2b8612632e Improve code by implicit integer coercion for literals and const vals 2018-08-30 11:55:05 +03:00
Svyatoslav Scherbina 2c12dcd612 Enable implicit integer coercion for interop libraries 2018-08-30 11:55:05 +03:00
Svyatoslav Scherbina 5eaaa5bbb9 Don't emit fields for interop static const vals 2018-08-30 11:55:05 +03:00
Svyatoslav Scherbina 037960558a Update kotlin-compiler.jar to 1.3-M2-release-200
Built from rrr/1.3-M2/kotlin-native-upstream (348c78e6)
2018-08-30 11:42:08 +03:00
Pavel Punegov a3e13e2bfb Update to a newer version of tests: 1.3-M2-release-203 2018-08-30 01:30:03 +03:00
Pavel Punegov 7d8a4e2bf1 Fix error reporting in TeamCity: don't create a TestCase for each test in case of compiler failure 2018-08-30 01:30:03 +03:00
Pavel Punegov 1782b4b973 Use language-version option in tests instead of excluding them 2018-08-30 01:30:03 +03:00
Pavel Punegov f707244152 Cleanup coroutines utils duplicates 2018-08-30 01:30:03 +03:00
Pavel Punegov 660bd111c5 Fix language version settings and exclude NewInference tests 2018-08-30 01:30:03 +03:00
Nikolay Igotti 7c40c2b8ab Add Accelerate framework to macOS. (#1961) 2018-08-29 23:52:55 +03:00
SvyatoslavScherbina aac798e5ac Use NSNumber subclasses for Kotlin numbers when producing framework (#1956) 2018-08-29 22:28:41 +03:00
Nikolay Igotti 838956f4df v0.9 preparations. (#1962) 2018-08-29 19:35:59 +03:00
Sergey Bogolepov 96b6645f2e Fix KT-22752 (#1958) 2018-08-29 13:57:06 +03:00
Mike Sinkovsky 38d47df3aa sapmpes/tetris: fix build, broken by unsigned in interop (#1960) 2018-08-29 13:40:09 +03:00
Svyatoslav Scherbina 9a87d25309 Fix #1948 2018-08-29 10:36:58 +03:00
Nikolay Igotti 2a0b74faf1 Clarify field storage. (#1957) 2018-08-29 10:20:55 +03:00
Nikolay Igotti f47fe79ef8 Concurrent API update. (#1949) 2018-08-29 10:20:07 +03:00
Nikolay Igotti 63cf6777b1 Fix typo with top level init. 2018-08-28 18:25:50 +03:00
Sergey Bogolepov 31e64442d7 Fix for KT-26164 (#1954) 2018-08-28 15:01:58 +03:00
Ilya Matveev aee041fc7a [gradle-plugin] Support static and shared libraries (#1942) 2018-08-28 12:33:07 +07:00
Ilya Matveev ec8e619178 [dependencies] Add timeout for dependency extraction (#1947) 2018-08-28 11:51:06 +07:00
Pavel Punegov 92419cac21 Update testKotlinVersion to 1.3 with fixes to tests 2018-08-28 00:16:37 +03:00
Sergey Bogolepov 5fe0a9c77c Handle init-time exceptions on all targets. (#1931) 2018-08-27 19:03:08 +03:00
Igor Chevdar cc28f81ff0 Devirtualization bug fix with main (#1945)
Added explicit handling of arguments of <main>
2018-08-27 17:55:11 +03:00
Nikolay Igotti 32fe05afa2 Copyright update. (#1944) 2018-08-27 14:55:51 +03:00
Nikolay Igotti ce0b43e596 Support singleton objects in C interop. (#1940) 2018-08-27 14:48:29 +03:00
Dmitriy Dolovov 6d8ae1650f KLIB reader: comments added (#1937) 2018-08-25 18:33:04 +03:00