sebastian.sellmair
770efb7ecb
[Commonizer] Replace InputTargetsSelectorInterface with a simple function
...
^KT-47301
2021-06-23 13:43:43 +00:00
sebastian.sellmair
5a8b39e08d
[Gradle] GetCommonizerTargetOfSourceSet: Simplify implementation by only relying on compilations
2021-06-23 13:43:42 +00:00
sebastian.sellmair
19b99d5d91
[Gradle] Project.getCommonizerTarget(sourceSet: KotlinSourceSet): Ignore orphan source sets
...
Orphan source set's (source sets without compilation) can't break any
compilation. The decision to ignore those source sets for determining
the platform was already done for the IDE import.
In order to stay consistent, this function also ignores orphans.
2021-06-23 13:43:41 +00:00
sebastian.sellmair
97ea9c2c16
[Gradle] Rename HierarchicalNativeDistributionCommonizerTask to NativeDistributionCommonizerTask
...
^KT-47301
2021-06-23 13:43:40 +00:00
sebastian.sellmair
91259569d7
[Gradle] Remove old NativeDistributionCommonizerTask.kt
...
- Remove kotlin.mpp.enableHierarchicalCommonization gradle property:
This had to be done, since newer optimizations are not compatible
with non-hierarchical commonization
^KT-47301
2021-06-23 13:43:39 +00:00
sebastian.sellmair
73ffc0d180
[Gradle] NativeDistributionCommonizationCache: Support associative commonization
...
^KT-47301
2021-06-23 13:43:38 +00:00
sebastian.sellmair
21cef41ba5
[Commonizer] AbstractCommonizationFromSourcesTest remove assertions on commonized leaf/platform libraries
...
Those assertions are not necessary anymore, since the commonizer is not
expected to produce any new "actuals" per given expect.
The IDE is supposed to analyze leaf source sets against the original
platform libraries.
2021-06-23 13:43:37 +00:00
sebastian.sellmair
42f60d981f
[Commonizer] Implement associative commonization
...
^KT-47301 Verification Pending
2021-06-23 13:43:36 +00:00
Kirill Shmakov
5fdbcb3dd1
[K/N][debug] Update LLDB bundle to support Apple Silicon
...
This is related to KTIJ-18889
2021-06-23 15:13:05 +03:00
Nikita Bobko
5a6f07402b
Fix 'Generate FIR Checker Components and FIR/IDE Diagnostics' run configuration
2021-06-23 14:06:08 +02:00
Ilmir Usmanov
435b522cc5
Minor. Unmute test
2021-06-23 11:18:25 +02:00
pyos
537ce05bc9
JVM_IR: assume function reference adapters are tail-call
...
Meaning, they never need continuation objects. This shouldn't affect
correctness (if the assumption is valid, the continuation object
should always have been removed in the end), but the phantom
continuation sometimes left behind unused accessors (and in case of
inline function references, those accessors would refer to non-existent
functions) - see the modified test and Kotlin/kotlinx.coroutines#2769 .
2021-06-23 11:18:25 +02:00
Vasily Levchenko
635a0fb01c
[build][performance]kotlin:kotlin-build-gradle-plugin 0.0.29 -> 0.0.30
2021-06-23 09:07:29 +00:00
Andrey Uskov
92b08dfcfb
Revert "Unify the way to set compiler options using System.properties"
...
This reverts commit 28e4e775
2021-06-23 11:34:04 +03:00
Dmitry Petrov
f30fc4863c
JVM add ABI tests for non-approximated SAM types
...
Note that resulting SAM method
public final method accept(p0: java.lang.Object): void
has a signature less specific than the resulting bridge method
public synthetic bridge method accept(p0: X): void
2021-06-22 21:13:57 +03:00
Dmitry Petrov
c77884f067
Refactor SAM type handling, replace non-approximated arguments with *
2021-06-22 21:13:56 +03:00
Victor Petukhov
4aeabb6b0f
Use upper bound aware type approximator for intersection types inside sam types in contravariant positions to build proper types in terms of subtyping
2021-06-22 21:13:55 +03:00
Victor Petukhov
6a78e0a10c
Introduce type parameter's upper bound aware type approximator for intersection types
2021-06-22 21:13:54 +03:00
Victor Petukhov
750f327878
Use receivers from candidate as a fallback during completion of callable references
...
^KT-45083 Fixed
2021-06-22 21:13:53 +03:00
Nikita Bobko
fe8f7cfcae
settings.gradle: update list of FIR IDE modules & attach them only when latest platform is used
2021-06-22 18:43:51 +02:00
Andrey Uskov
28e4e77542
Unify the way to set compiler options using System.properties
...
Now compiler flags with boolean values which are controlled by system
properties could be set in similar way. The following syntax is
appropriate. For setting flag:
'-DflagName,'-DflagName=[y|Y|true|TRUE|yes|YES|on|ON]'
for unsetting flag:
'-DflagName=[n|N|false|FALSE|no|NO|off|OFF]'
2021-06-22 19:35:28 +03:00
Svyatoslav Scherbina
04e8140162
Native: emit _Nullable_result attribute when generating Objective-C header
...
^KT-47042 Fixed
2021-06-22 16:12:37 +00:00
Nikita Bobko
9bf802a188
Move some idea-frontend-fir testData from compiler to IDE repo
...
This testData isn't used here but used in IDE repo
2021-06-22 18:41:42 +03:00
Nikita Bobko
c35e0438b6
Switch disableKotlinPluginModules flag
2021-06-22 17:21:04 +03:00
sebastian.sellmair
2006f89260
KotlinTargetContainerWithNativeShortcuts: Remove macos arm based targets
...
^KT-47126 Verification Pending
2021-06-22 12:21:05 +00:00
Svyatoslav Scherbina
9b49d0cf76
Native: fix testObjCExport testdata after 53baef88
...
(was broken during rebase)
2021-06-22 12:49:09 +03:00
Svyatoslav Scherbina
53baef8892
Add more tests for Native ObjCExport virtual adapters machinery
2021-06-22 09:29:30 +00:00
Svyatoslav Scherbina
5d5628f56e
Native: apply ObjCExport virtual adapters from interfaces of supers
...
Previously they were skipped, and this was an incorrect optimization:
even if super class implements the interface too, this doesn't mean
that virtual adapters provided by that interface are inherited
by non-exported subclass that needs them;
for example, this doesn't happen when the super class is exported
(i.e. Obj-C class is not created at runtime).
Remove incorrect optimization instead of making it more sophisticated,
because it is useless anyway.
^KT-46431 Fixed
2021-06-22 09:29:29 +00:00
Alexander Shabalin
b7fbe09ef4
Fix Experimental MM tests on mingw
2021-06-22 08:58:00 +00:00
Abduqodiri Qurbonzoda
6db5fc0a23
Use teamcity kotlinLibsRepo and kotlinNativeDistDir parameters
2021-06-22 08:40:58 +00:00
Abduqodiri Qurbonzoda
013a7fe62d
Rename the project from kotlin-dokka-stdlib to kotlin-stdlib-docs
2021-06-22 08:40:57 +00:00
Abduqodiri Qurbonzoda
d8d9a2689d
Add sourcelink to generated documentation
2021-06-22 08:40:57 +00:00
Abduqodiri Qurbonzoda
6a9b9dc0a5
Print extracting info
2021-06-22 08:40:56 +00:00
Abduqodiri Qurbonzoda
40e23d8366
Use local libs from kotlin/build/repo and kotlin/kotlin-native/dist
2021-06-22 08:40:55 +00:00
Abduqodiri Qurbonzoda
5611fdcf25
Handle TeamCity build environment
2021-06-22 08:40:55 +00:00
Abduqodiri Qurbonzoda
e5b4fa83cb
Use local sources dirs
2021-06-22 08:40:54 +00:00
Abduqodiri Qurbonzoda
72b1459353
Remove dependency on dokka build configuration artifacts
2021-06-22 08:40:53 +00:00
Abduqodiri Qurbonzoda
b5be7ddc4c
Remove redundant kotlin_sources configuration
2021-06-22 08:40:52 +00:00
Abduqodiri Qurbonzoda
9777888ed4
Remove redundant use of mac and windows binaries
2021-06-22 08:40:52 +00:00
Abduqodiri Qurbonzoda
feaef467cd
Remove redundant configuration declarations
2021-06-22 08:40:51 +00:00
Abduqodiri Qurbonzoda
d5d5891476
Move kotlin-dokka-stdlib scripts to libraries/tools/
2021-06-22 08:40:50 +00:00
Nikolay Krasko
b406689035
Re-enable ":compiler:android-tests" module
2021-06-22 11:02:51 +03:00
Nikolay Krasko
d6aedc3229
Ignore more tasks if disableKotlinPluginModules explicitly set
2021-06-22 11:02:49 +03:00
Konstantin Tskhovrebov
28b8237836
Adapt XCFramework for using with groovy dsl.
2021-06-22 07:13:06 +00:00
Konstantin Tskhovrebov
c906d62c55
Add debug symbols for XCFrameworks.
2021-06-22 07:13:05 +00:00
Konstantin Tskhovrebov
297d661107
Add Apple M1 platforms to fat plist mapper.
2021-06-22 07:13:04 +00:00
Konstantin Tskhovrebov
84ae3df8b6
Add 'XCFramework' extension for creating XCFrameworks.
...
#KT-42667
2021-06-22 07:13:03 +00:00
Viacheslav Kormushkin
9fa55a6809
Fixed cocoapods error: expected ';' after module name
...
#KT-44235
2021-06-22 05:10:52 +00:00
nataliya.valtman
f6b428f271
KT-34862 use abi snapshot instead of build history files
...
Use jar snapshot instead build history file to avoid using time stamps and support remote gradle cache
2021-06-22 07:48:14 +03:00
Nikita Bobko
e5fbd0e2d8
Publish :idea-frontend-api, :idea-frontend-fir, :idea-fir-low-level-api modules artifacts
...
These artifacts are used in Kotlin plugin
2021-06-22 03:06:18 +03:00