Sergey Bogolepov
645014092c
Add a mention of KT-46231.
2021-04-21 15:14:33 +07:00
Abduqodiri Qurbonzoda
eedc4d8c3f
[K/N] Fix measureTimeMillis and measureNanoTime doc
2021-04-19 19:14:34 +03:00
Abduqodiri Qurbonzoda
aa04f60df4
[K/N] Fix Floating.toInt/toLong doc
2021-04-19 19:14:33 +03:00
Abduqodiri Qurbonzoda
4c66c1c137
[K/N] Fix Primitive.shl/shr/ushr doc
2021-04-19 19:14:32 +03:00
Abduqodiri Qurbonzoda
19ecb78531
[K/N] Fix Primitive.rem doc
2021-04-19 19:14:30 +03:00
Abduqodiri Qurbonzoda
2cfbad9477
[K/N] Fix Primitive.div doc
2021-04-19 19:14:29 +03:00
Abduqodiri Qurbonzoda
8a1855e4da
[K/N] Fix Range.isEmpty doc
2021-04-19 19:14:27 +03:00
Abduqodiri Qurbonzoda
fb4ddd2f6e
[K/N] Fix StringBuilder.deleteRange doc
2021-04-19 19:14:23 +03:00
Abduqodiri Qurbonzoda
76b297fd73
[K/N] Fix StringBuilder.clear doc
2021-04-19 19:14:21 +03:00
Abduqodiri Qurbonzoda
597b18582a
[K/N] Fix Char.isISOControl doc
2021-04-19 19:14:19 +03:00
Abduqodiri Qurbonzoda
e83ceb9d40
[K/N] Fix String.replace doc
2021-04-19 19:14:11 +03:00
Abduqodiri Qurbonzoda
3a8d1c4b5e
Remove redundant @OptIn
2021-04-16 19:01:28 +03:00
sebastian.sellmair
7525d9a1ce
KotlinNativeTest: Append stdOut and stdErr to failure message
2021-04-16 14:56:33 +00:00
Pavel Punegov
b5fae96934
[native][tests] Fix incorrect enum in ExecutorService
2021-04-15 16:54:25 +03:00
Pavel Punegov
5903d015b8
[native][tests] Change architecture requirements in simulator executor
...
This requirement doesn't work for watchos_x86 on macos_x64 so create
a list of compatible requirements.
2021-04-15 13:34:00 +00:00
Svyatoslav Scherbina
d531df1643
Native: add KotlinThrowable.asError() to the generated Obj-C framework
...
This method can be useful when overriding a throwing Kotlin method in
Swift or Obj-C. In this case, a user can call asError to wrap Kotlin exception
to (NS)Error and then throw it to Kotlin, which will unwrap it back.
^KT-45127 Fixed
2021-04-15 08:21:30 +00:00
Pavel Punegov
d07c990fc2
Add test to native ignore list due to the KT-44571
2021-04-15 07:59:25 +00:00
Pavel Punegov
ca4cebf3e3
Exclude test in native backend due to KT-42020.
...
Also return back two tests for fixed KT-42684 and KT-45139
2021-04-15 07:59:23 +00:00
Pavel Punegov
6aa7628808
Fixes to Kotlin/Native test directives infrastructure.
...
* parse files and modules separately
* fix default and support modules usage
* add another way to ignore backend (new directive)
* add new test to exclude list
2021-04-15 07:59:22 +00:00
Alexander Gorshenev
7d13aaad24
Native klib testing: a binary compatibility tweak.
...
Link versioned libraries against dependencies of the same version.
2021-04-15 07:59:21 +00:00
Dmitriy Dolovov
5e392a511f
[K/N][IR] Generate missing return when using Nothing-returning safe call as lambda result or function expression body
...
^KT-42832
2021-04-14 13:20:41 +03:00
Vasily Levchenko
62ffc0033d
[kotlin-native][test][dynamic test] tests provoking generating empty structs kt-42796
2021-04-13 12:10:58 +00:00
Vasily Levchenko
2adea2122e
[kotlin-native][build][test infrostructure] don't ignore compiler exit code
2021-04-13 12:10:57 +00:00
Vasily Levchenko
c68ac4f6b6
[interop][c][reverse] avoid generating empty structures for leaf packages without exportable declations
...
- fixes KT-42796
2021-04-13 12:10:57 +00:00
Abduqodiri Qurbonzoda
39731fd493
Merge Stdlib generators
2021-04-12 16:51:24 +03:00
Abduqodiri Qurbonzoda
98d31a1813
Expand KDoc of inc() and dec() operators #KT-43701
2021-04-10 03:23:04 +03:00
Vasily Levchenko
fd17e5e700
[build][kotlin-native][clean] adds kotlin-native/build to clean
2021-04-09 14:14:32 +00:00
Vasily Levchenko
3192b05586
[build][kotlin-native][g/c] drop unused hacks
2021-04-09 14:14:31 +00:00
Sergey Bogolepov
0fa2821ac1
Add missing targetToolchain.macos_arm64-linux_arm32_hfp property
2021-04-09 18:26:23 +07:00
Sergey Bogolepov
81d4c19d8b
Fix Android NDK targets
...
Android NDK dirs omit vendor part of triple,
so we have to respect its decision.
2021-04-09 13:11:14 +07:00
Sergey Bogolepov
6ab38c1ff8
Add support for Apple Silicon simulators
2021-04-08 16:51:51 +03:00
Sergey Bogolepov
3718907c6a
Use -target instead of -arch in ClangArgs
...
Explicit target selection helps Clang to
correctly set things up in case of Apple Silicon
simulator target.
2021-04-08 16:51:49 +03:00
Sergey Bogolepov
9b1498abad
Use runtime bitcode to get size of primitive types
...
As an alternative to explicitly setting type size in konan.properties or
backend code we can "ask" LLVM about it.
Unfortunately, there is no Clang/LLVM API for it,
so we use a trivial workaround:
Create dumb function in runtime code, and then extract info about
return type size using LLVM.
2021-04-08 16:51:47 +03:00
Sergey Bogolepov
790fea635d
Avoid explicit native targets enumerations
2021-04-08 16:51:45 +03:00
Sergey Bogolepov
15dcb36f47
Use TargetTriple in backend to simplify code.
2021-04-08 16:51:44 +03:00
Elena Lepilkina
5f2095217d
[Native] Removed slack reports for benchmarks
2021-04-08 10:39:16 +00:00
Pavel Punegov
afdecef112
Use minOrNull instead of deprecated min in the interop_objc_test
2021-04-08 11:57:34 +03:00
Elena Lepilkina
512010046f
[K/N] Replaced sumBy with sumOf
2021-04-08 11:57:33 +03:00
Elena Lepilkina
53c80cf03b
[K/N] Replaced usage of minBy/maxBy in samples and benchmarks
2021-04-08 11:57:33 +03:00
Vasily Levchenko
d2d324797b
[build][xcode][warning][todo] suppress deprecation warning with todo till bootstrap bump
2021-04-08 10:42:44 +02:00
Dmitriy Dolovov
8d4d9a1f0b
[K/N][IR] Re-enable string_builder0 and utf8 tests in 2-stage mode
...
^KT-33175
2021-04-08 09:40:16 +03:00
Dmitriy Dolovov
2e96a6c63c
[K/N][IR] Re-enable Harmony regex tests
...
^KT-33175
2021-04-08 09:40:12 +03:00
Sergey Bogolepov
7272e5dcad
Unify checks for iOS device in backend.native tests
2021-04-08 09:18:30 +03:00
Sergey Bogolepov
316d62a72f
Perform codesign in tests for all simulators
2021-04-08 09:18:29 +03:00
Sergey Bogolepov
7b06249e7f
Fix clang usage in backend.native:tests
...
For Apple Silicon targets we need to call Clang
1. From toolchain because the one from our distro is too old.
2. With appropriate flags for setting the sysroot.
2021-04-08 09:18:28 +03:00
Sergey Bogolepov
437a0aa450
Prepare test infrastructure for Apple Silicon simulators.
...
* Get rid of explicit target enumerations by using TargetTriple.
* Remove some code duplication with `project.testTargetConfigurables`
2021-04-08 09:18:27 +03:00
Sergey Bogolepov
cebf815fed
Introduce a proper TargetTriple class.
...
Target triple (like `arm64-apple-ios-simulator`) is a common
way to represent any target platform.
One of many useful properties: it allows to explicitly
distinguish iOS arm64 simulator target and a real device.
2021-04-08 09:18:25 +03:00
Abduqodiri Qurbonzoda
983985bc68
[K/N] Migrate compiler, interop and others to new case conversion api
2021-04-08 03:22:05 +03:00
Abduqodiri Qurbonzoda
a4839b8548
[K/N] Migrate runtime to new case conversion api
2021-04-08 03:22:04 +03:00
Abduqodiri Qurbonzoda
a697bc43b9
[K/N] Remove redundant @OptIn targeting new case conversion api
2021-04-08 03:22:00 +03:00