Alexander Shabalin
d47193d36f
[K/N] Add tracking of application state to the GC scheduler.
...
Merge-request: KT-MR-6435
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-06-28 06:38:36 +00:00
Ilya Gorbunov
cd9b36b4c3
Introduce OpenEndRange and make primitive ranges implement it
...
#KT-52932
2022-06-28 00:08:03 +00:00
Pavel Kunyavskiy
dfcf2cfa84
[K/N] Fix extracting local classes from lambda in cached inline function
...
^KT-52540
2022-06-27 14:09:27 +00:00
Alexander Shabalin
eaad75fd52
[K/N] Refactor runtime testing tasks
...
Merge-request: KT-MR-6360
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-06-25 09:55:27 +00:00
Sergey Bogolepov
bb493ccb3e
[K/N] Add test-case for KT-49034
2022-06-24 23:57:12 +03:00
Troels Bjerre Lund
508c4d1a99
[K/N] Fix typo in dependency for build task
...
Typo caused ./gradlew :kotlin-native:build to fail
2022-06-24 18:29:37 +00:00
Johan Bay
e380d7d495
[K/N] fix minor typos and outdated documentation
2022-06-24 20:27:33 +02:00
Sergey Bogolepov
1de62d6232
[K/N] Add test-cases for KT-50109
2022-06-24 13:49:23 +00:00
Sergey Bogolepov
204cde357b
[K/N] Add error when companion of non-Obj-C-subclass inherits Obj-C meta
...
Fixes KT-50109
2022-06-24 13:49:22 +00:00
Sergey Bogolepov
8632103fc8
[K/N] Check Obj-C class declaration before its children
2022-06-24 13:49:21 +00:00
Sergey Bogolepov
26d09040a4
[K/N] Add own gettid implementation
...
Call-checker can't handle syscalls yet, so instead we wrap it
inside function.
2022-06-24 13:15:29 +00:00
Sergey Bogolepov
4e4b1c1d4d
[K/N] Add GetCurrentThreadId to state checker exceptions
...
It is called from `CallInitGlobalPossiblyLock` which is executed in
the runnable state.
2022-06-24 13:15:28 +00:00
Sergey Bogolepov
0dcf638519
[K/N] Add runtime.bc to runtime LTO
...
Fixes KT-52799
2022-06-24 13:15:28 +00:00
Pavel Punegov
0e375e4a3f
[K/N][perf] Exclude videoplayer bench from execution
...
Due to the luck of available agents that have SDL and ffmpeg turn off this benchmark
2022-06-23 13:57:32 +00:00
Mads Ager
ef499fedbb
[K/N] Deprecate -Xbundle-id and use binary options for Info.plist.
2022-06-23 09:57:13 +00:00
Mads Ager
c7e7080af6
[K/N] Allow control of BundleShortVersionString and BundleVersion
...
Adding -Xbundle-version and -Xbundle-short-version-string
compiler arguments. These can be used in the freeCompilerArgs
in the gradle configuration to control the version strings
in the Info.plist in generated frameworks.
```
version = "1.0"
macosX64("native") {
binaries.framework {
compilation.kotlinOptions.freeCompilerArgs += "-Xbundle-version=$version"
}
}
```
^KT-33117 Fixed.
2022-06-23 09:57:12 +00:00
Vladimir Sukharev
409d959816
KT-51593 Include more information in Objective-C header documentation
...
#KT-51593 Fixed
Merge-request: KT-MR-6437
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-06-23 07:35:06 +00:00
Ilya Gorbunov
1cfc6a8fca
Move sources of ranges to common stdlib from builtins
...
But still cherry-pick them when serializing builtins because they are
used in builtins signatures.
Merge-request: KT-MR-6488
Merged-by: Ilya Gorbunov <Ilya.Gorbunov@jetbrains.com >
2022-06-23 03:49:30 +00:00
Pavel Kunyavskiy
5b1581486b
[K/N] Disable safepoint removal test with non-default gc
2022-06-21 16:25:41 +00:00
Yahor Berdnikau
ec545f6273
Add Kotlin SourceDirectorySet as extension
...
KotlinSourceSet now should be accessed via Kotlin project extension.
Conventions are still available, but not used inside plugins.
^KT-47047 In Progress
2022-06-21 11:26:29 +00:00
Pavel Kunyavskiy
9e9f26024b
[K/N] Fix filecheck test for redundant safepoints removal
2022-06-20 15:21:39 +00:00
Mikhael Bogdanov
41d6f0dca4
Remove ir.tree.impl from build
2022-06-20 11:42:52 +00:00
Alexander Shabalin
66c6e4e16f
[K/N] Fix compdb usage for CLion
...
Merge-request: KT-MR-6483
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-06-20 10:31:40 +00:00
Sergey Bogolepov
29b6039f37
[K/N] Fix red code in native backend
...
Current way of `kotlin-native-shared` inclusion
into `kotlin-native` blows IDE mind. If we choose
a bit more straightforward way, then IDE will be happy.
2022-06-20 08:50:55 +00:00
Dmitriy Dolovov
adf98770f3
[Native][tests] Fix description of test parameters
2022-06-20 12:30:01 +04:00
Vladimir Sukharev
c9f0eeea3b
Use not an alias, but a wrapper for nonvirtual function C adapters.
...
^KT-45468 Fixed
Merge-request: KT-MR-6467
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-06-19 12:45:27 +00:00
Pavel Kunyavskiy
3932143ed0
[K/N] Fix copy-paste error in cbrtf signature
...
^KT-48232
2022-06-17 17:55:27 +00:00
Pavel Kunyavskiy
e4fede9067
[K/N] Add cbrt functions to state checker ignore list
...
^KT-48232
2022-06-17 17:55:26 +00:00
Pavel Kunyavskiy
9ec1143256
[K/N] Show new memory model in debug mode benchmarks
2022-06-17 10:23:45 +02:00
Pavel Kunyavskiy
f4ea929d8e
[K/N] Better removing of extra safepoints
2022-06-17 06:42:28 +00:00
Romain Guy
02a3915fdf
KT-48232: Implement kotlin.math.cbrt() (cubic roots)
...
cbrt() is the standard cubic root function that provides several advantages over pow(x, 1.0/3.0):
- Better precision
- Faster
- Behaves better with negative values
2022-06-16 20:27:43 +03:00
Alexander Shabalin
29f3445721
[K/N] Deprecated freezing ^KT-50541
...
Starting with 1.7.20 freezing is deprecated. See https://github.com/JetBrains/kotlin/blob/master/kotlin-native/NEW_MM.md#freezing-deprecation for details.
Merge-request: KT-MR-6399
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-06-16 09:04:14 +00:00
Pavel Kunyavskiy
b482b0e86d
[K/N] Temporary allow caches with non-default assertions mode
...
It was broken for a long time anyway, but returning error right now
requires too much effort.
2022-06-16 08:47:36 +00:00
Pavel Kunyavskiy
3233efdd04
[K/N] Disable freezing tests, when caches are enabled
2022-06-16 08:47:36 +00:00
Pavel Kunyavskiy
a07066f98b
[K/N] Make overridden runtime variables available during stdlib lto
2022-06-16 08:47:35 +00:00
Pavel Kunyavskiy
ee2340842c
[K/N] Refactor staticData to support several llvm modules
2022-06-16 08:47:34 +00:00
Pavel Kunyavskiy
f562c127af
[K/N] Improve consistency of using setConst vs override RuntimeGlobals
2022-06-16 08:47:33 +00:00
Mikhail Glukhikh
abf72816e9
Fix property/enum entry ambiguity warning
2022-06-15 17:20:01 +00:00
Sergey Bogolepov
71f6c0b1b2
[K/N] Fix compilation of mips targets with the new MM
...
We have to link libatomic because the new MM (which is default)
requires intrinsics from this library.
2022-06-15 14:37:21 +00:00
Sergey Bogolepov
f9d9dc58ff
[K/N] Cross-compilation of MIPS targets from macOS and Windows hosts
...
Fixes KT-52226
2022-06-15 14:37:20 +00:00
Troels Bjerre Lund
4775855fd7
[K/N] Add two more benchmarks from the V8 suite
2022-06-15 09:25:56 +00:00
Troels Bjerre Lund
90754d11c1
[K/N] Code cleanup from deprecation warnings
...
No functionality change; just quieting some warnings
2022-06-14 13:32:24 +00:00
Pavel Kunyavskiy
df950d010a
[K/N] Fix lambda naming in debugger tests
...
^KT-51883
2022-06-14 08:03:37 +00:00
Diego Gomez Olvera
9a430efbe7
[KT-52681] Remove unnecessary semicolon after Objective-C @end
...
Objective-c `@end` doesn't need a semicolon, however KMM exported header
file, for instance:
```
__attribute__((swift_name("KotlinIterator")))
@protocol MyProjectKotlinIterator
@required
- (BOOL)hasNext __attribute__((swift_name("hasNext()")));
- (id _Nullable)next __attribute__((swift_name("next()")));
@end;
```
This creates problems with some code checkers that will not expect it
there, so it seems best to remove it.
2022-06-10 15:46:27 +03:00
Alexander Shabalin
ac395b21ea
[K/N] Fix state switch in CAdapterGenerator ^KT-52692
...
Merge-request: KT-MR-6429
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-06-09 13:01:17 +00:00
Vladimir Sukharev
83d7524232
Fix KT-26478: Objective-C-objects-class-name-is-null-in-ClassCastExceptions-message
...
#KT-26478 Fixed
Merge-request: KT-MR-6405
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-06-09 12:57:11 +00:00
Pavel Kunyavskiy
9e9c9530e7
[K/N] Disable cache on some non-default configurations
...
There are some compiler keys that affect code-generation or set of
linked runtime libraries. If caching is enabled, this would be handled
incorrectly, as cached version can be built with other combination of
this keys.
For now, we just disable cache for all non-default configurations.
This commit adds more correct definition of this non-default.
^KT-52613
2022-06-07 13:43:49 +00:00
Pavel Kunyavskiy
707d2c42ad
[K/N] Fix version parsing in perfomance-server
2022-06-03 12:21:42 +00:00
Pavel Kunyavskiy
574562d9f9
[K/N] Refactor devirtualization graph build to avoid too deep recursion
...
^KT-52386
2022-06-03 09:03:40 +00:00
Vladimir Sukharev
eabf6dac7f
Fix "kotlin.TypeCastException has no message on Native"
...
#KT-35544 Fixed
Merge-request: KT-MR-6392
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-06-03 07:40:26 +00:00