Commit Graph

4097 Commits

Author SHA1 Message Date
luca992 f79146c6ee GRADLE_PLUGIN readme typo fixes (#2017) 2018-09-07 14:07:00 +07:00
Eugene Petrenko 7ee04b3108 update documentation to include it to kotlinlang.org (#2015) 2018-09-06 19:22:29 +03:00
Ilya Matveev 710c691aa8 [gradle-plugin] Support Konan tooling model in the exp plugin (#2008) 2018-09-06 19:15:39 +07:00
Alexander Gorshenev 6d539e5e40 Make sure zip filesystems are closed on exit. 2018-09-06 14:10:12 +03:00
Svyatoslav Scherbina 49eee47d7e Fix #2004
Fix delegation to constructor of the same class in Objective-C subclasses
2018-09-05 12:47:03 +03:00
Sergey Bogolepov 918d131285 Fixed samples for 0.9 (#2002) 2018-09-04 18:51:47 +07:00
Svyatoslav Scherbina 00f0ea97ed Fix generating singleton value after Nothing-typed expression 2018-09-04 13:50:42 +03:00
Svyatoslav Scherbina e4757c2033 Fix #1987 2018-09-04 11:30:36 +03:00
Ilya Matveev a800a5661a [changelog] Mention that common module should be 1.3 2018-09-04 12:08:40 +07:00
Ilya Matveev e2e2eb6d06 [tests] Fix framework tests after switching to 1.3-M2 2018-09-04 12:08:40 +07:00
Ilya Matveev 98785874e0 [gradle-plugin] Fix KNPE in mpp plugin 2018-09-04 12:08:40 +07:00
Svyatoslav Scherbina deee714be8 Fix running framework tests after updating build to Kotlin 1.3-M2 2018-09-03 17:58:19 +03:00
Svyatoslav Scherbina 840c2f1b9f Mark KClass for interop classes unimplemented explicitly
Also fix https://github.com/JetBrains/kotlin-native/issues/1973#issuecomment-417634981
2018-09-03 09:51:49 +03:00
Ilya Matveev 7c37f3134f Replace '-' with '_' in Obj-C prefixes (#1985) 2018-08-31 17:50:07 +03:00
Svyatoslav Scherbina dd3ce12e28 Fix sorting of FloatArray and DoubleArray
Use compareTo method instead of comparison operators
2018-08-31 16:33:59 +03:00
Svyatoslav Scherbina d424a1f1ce Patch common stdlib to prevent it from using experimental coroutines 2018-08-31 16:33:12 +03:00
Pavel Punegov 9972a57af6 Update build version of Kotlin to 1.3-M2
Fix tests: replace source sets with properties
Fix interop: move cValuesOfUnsigned to native part
2018-08-31 16:26:38 +03:00
Sergey Bogolepov 97a423c781 Added missing implementations of Random's methods. (#1983) 2018-08-31 16:20:15 +03:00
Ilya Matveev 6750ef59bb Reference EAP Kotlin repo in readme and samples 2018-08-31 18:07:36 +07:00
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