Commit Graph

5064 Commits

Author SHA1 Message Date
Vasily Levchenko 70e2c984f8 [kotlin compiler][update] 1.3.50-dev-1913
* 37002748c8 - (tag: build-1.3.50-dev-1913) Do not wrap and display cause's message in compiler exceptions (3 дня назад) <Alexander Udalov>
* 430aed6559 - (tag: build-1.3.50-dev-1909) Minor: clean up code (3 дня назад) <Dmitry Gridin>
* 1f89c0f730 - "Convert to sealed class" intention: don't suggest when no "class" keyword (3 дня назад) <Toshiaki Kameyama>
* 9786564d75 - (tag: build-1.3.50-dev-1908) "Remove argument name" intention: remove array literal brackets for annotation vararg argument (3 дня назад) <Toshiaki Kameyama>
* d33d1913cb - (tag: build-1.3.50-dev-1907, tag: build-1.3.50-dev-1904) Not throw exception when cidr has been registered already (3 дня назад) <Juan Chen>
* 9f6e88d571 - Formatter: format around safe cast operator `as?` (KT-32324) (3 дня назад) <Toshiaki Kameyama>
* 44e9090931 - Formatter: format between type reference and 'by' keyword (KT-32277) (3 дня назад) <Toshiaki Kameyama>
* 0b8f35c04d - (tag: build-1.3.50-dev-1896) Revert "Register mock injection language manager in compiler" (3 дня назад) <Nikolay Krasko>
* f9b53da0fa - (tag: build-1.3.50-dev-1895) Attempt to fix some inspection tests (3 дня назад) <Dmitry Gridin>
* 8a569cc698 - (tag: build-1.3.50-dev-1888) [JS IR BE] Do not create `$default` stub for external function and any its fake override (4 дня назад) <Roman Artemev>
* 28a108a205 - [JS IR BE] Visit callable reference members in private member lowering (4 дня назад) <Roman Artemev>
* b4c68025a7 - [JS IR BE] Improve error reporting (4 дня назад) <Roman Artemev>
* 940c9e5604 - (tag: build-1.3.50-dev-1885) 192: build against IDEA 192.5587.17 (4 дня назад) <Vyacheslav Karpukhin>
* a2625c7bc8 - (tag: build-1.3.50-dev-1882) [JS IR BE] Don't render null messages in Throwable (4 дня назад) <Svyatoslav Kuzmich>
* 94aebd0101 - (tag: build-1.3.50-dev-1880) [JS IR BE] Proper support for String and Any constructors (4 дня назад) <Svyatoslav Kuzmich>
* d7cb3e05ef - (tag: build-1.3.50-dev-1878, origin/rr/romart/cityhash_js) [JS IR BE] Replace 32bit default String.hashcode with 64bit cityhash for UniqID  Split uniqID space into two part 63 bit each. (4 дня назад) <Roman Artemev>
* 46eb929bd1 - (tag: build-1.3.50-dev-1872) ControlFlowWithEmptyBodyInspection: shouldn't report on `while` with comments  #KT-32419 Fixed (4 дня назад) <Dmitry Gridin>
* 6e750b0857 - (tag: build-1.3.50-dev-1869) Enable API watcher in Kotlin (4 дня назад) <Nikolay Krasko>
* ef90353831 - Another test-runtime java plugin dependency (4 дня назад) <Nikolay Krasko>
* 5d081efe60 - (tag: build-1.3.50-dev-1867) Uast: tests for no implicit returns in lambdas (KT-32370) (4 дня назад) <Nicolay Mitropolsky>
* a180d78eaf - Uast: implicit returns for local function bodies (KT-32370) (4 дня назад) <Nicolay Mitropolsky>
* f85ebe7f43 - Uast: implicit returns for lambda expressions (KT-32370) (4 дня назад) <Nicolay Mitropolsky>
* 631a09e541 - (tag: build-1.3.50-dev-1859) [JS IR BE] ThrowableLowering: Use dynamic operators instead of jsSetJSField intrinsic (5 дней назад) <Svyatoslav Kuzmich>
* 871180cdc0 - [JS IR BE] Fix setting names of Throwable subclasses without primary constructor (5 дней назад) <Svyatoslav Kuzmich>
* 918d470e1b - [JS IR BE] Simplify throwable lowering. (5 дней назад) <Svyatoslav Kuzmich>
* 6d1f893a5a - [JS IR BE] Move object instance creation lowerings to IR (5 дней назад) <Svyatoslav Kuzmich>
* 5dcb0ee016 - [JS IR BE] Reduce JsScope usage in codegen (5 дней назад) <Svyatoslav Kuzmich>
* a9c8fd903b - reduce calls to Object.hashCode originating from LabelNormailizationMethodTransformer (5 дней назад) <Jeffrey van Gogh>
* 361c468c33 - (tag: build-1.3.50-dev-1857) IR: move type utilities from IrTypeUtils.kt to irTypePredicates.kt (5 дней назад) <Alexander Udalov>
* 7c6f48df39 - (tag: build-1.3.50-dev-1854, tag: build-1.3.50-dev-1841, tag: build-1.3.50-dev-1831) Revert "Set sourceCompatibility and targetCompatibility for JavaCompile tasks" (5 дней назад) <Alexey Tsvetkov>
* 2a3bb2968e - Revert "Call configureJvmProject once per project in afterEvaluate" (5 дней назад) <Alexey Tsvetkov>
* ab6174defd - Revert "Check JDK env vars once during configuration when not syncing" (5 дней назад) <Alexey Tsvetkov>
* aa7aff84fc - Revert "Do not fork java compile tasks when current JDK can be used" (5 дней назад) <Alexey Tsvetkov>
* 9340bffd02 - (tag: build-1.3.50-dev-1829) Revert "Add ext.jvmTarget and ext.javaHome to core:descriptors.runtime" (5 дней назад) <Alexey Tsvetkov>
* 1a290621b0 - (tag: build-1.3.50-dev-1825) Minor. Update multiplatform kotlin plugin version in HMPP tests (5 дней назад) <Andrey Uskov>
* e079615cdf - (tag: build-1.3.50-dev-1816) Add possibility to edit target platform for non-HMPP projects in order to keep ability to edit target platform for IDEA-based projects (6 дней назад) <Andrey Uskov>
* efb0e692ae - Minor. Reformat KotlinFacetEditorGeneralTab (6 дней назад) <Andrey Uskov>
* 9fc60be9d8 - Fix serialization of facet settings in order to read properly settings of native platforms (6 дней назад) <Andrey Uskov>
* 404ce1a8c1 - Facet serialization changed in order to keep compatibility with previous versions of Kotlin plugin (6 дней назад) <Andrey Uskov>
* 87e75bd4cc - HMPP: fix importing target platforms for case when JVM targets are involved (6 дней назад) <Andrey Uskov>
* 8445e3a2a4 - HMPP: add importing tests (6 дней назад) <Andrey Uskov>
* 8280c647af - HMPP: Migration of source root types for middle HMPP source sets fixed (6 дней назад) <Andrey Uskov>
* 90187c959e - Add test for 'isHMPP' flag (6 дней назад) <Andrey Uskov>
* e791b9d3f7 - HMPP: import flag indicating that the project uses HMPP feature (6 дней назад) <Andrey Uskov>
* 35dea296fa - Add ext.jvmTarget and ext.javaHome to core:descriptors.runtime (6 дней назад) <Alexey Tsvetkov>
* d3f9d0866a - (tag: build-1.3.50-dev-1803, tag: build-1.3.50-dev-1800, tag: build-1.3.50-dev-1797, tag: build-1.3.50-dev-1790) Build: Improve cache redirector usage in buildSrc settings.gradle (6 дней назад) <Vyacheslav Gerasimov>
* 8b05d4df46 - (tag: build-1.3.50-dev-1787) More NoClassDefFoundError fixes in tests after 192 update (6 дней назад) <Nikolay Krasko>
* ba64600ee5 - (tag: build-1.3.50-dev-1784) Gradle: Make K/N properties uniform with other Kotlin properties (6 дней назад) <Ilya Matveev>
* fd1fc7d28a - Gradle: Support K/N restricted distribution (6 дней назад) <Ilya Matveev>
* 35d7fff035 - Gradle: Fix input annotation for the Webpack task (6 дней назад) <Ilya Matveev>
* f2021b580e - (tag: build-1.3.50-dev-1782) Do not fork java compile tasks when current JDK can be used (6 дней назад) <Alexey Tsvetkov>
* 48b86bba69 - Check JDK env vars once during configuration when not syncing (6 дней назад) <Alexey Tsvetkov>
* 33de71f792 - Call configureJvmProject once per project in afterEvaluate (6 дней назад) <Alexey Tsvetkov>
* 290aded94f - Set sourceCompatibility and targetCompatibility for JavaCompile tasks (6 дней назад) <Alexey Tsvetkov>
* f8035096ea - (tag: build-1.3.50-dev-1781) JS: lock tape version to avoid kotlin.test + tape integration test failure (6 дней назад) <Anton Bannykh>
* 60ac2056bd - (tag: build-1.3.50-dev-1780, tag: build-1.3.50-dev-1777) Update diagnostic message in test data (6 дней назад) <Mikhail Zarechenskiy>
* a67c3ef855 - Update 183 branch to 183.6156.11 (6 дней назад) <Nikolay Krasko>
* 2d85d18a74 - Minor: add more exceptions to project dictionary (6 дней назад) <Nikolay Krasko>
* 28a45909a0 - Fix compatibility with 192 branch (KT-32364) (6 дней назад) <Nikolay Krasko>
* ba2ca5ae3c - Fallback to simple oocb when per-language trackers are disabled (KT-32364) (6 дней назад) <Nikolay Krasko>
* f605d4e73b - Revise per module out-of-code-block (KT-32364) (6 дней назад) <Nikolay Krasko>
* 73eea6f4b6 - Minor: rename file before refactoring (6 дней назад) <Nikolay Krasko>
* 4f678c8289 - Create project service with Kotlin trackers (KT-32364) (6 дней назад) <Nikolay Krasko>
* 263d8eea16 - Use Kotlin oocb instead of platform oocb tracker (KT-32364) (6 дней назад) <Nikolay Krasko>
* 557ea54a9f - Introduce Kotlin specific out-of-code-block tracker (KT-32364) (6 дней назад) <Nikolay Krasko>
* 12bb1a5bd1 - Make invalidateOnOOCB explicit in ResolverForProjectImpl and remove usage in tests (6 дней назад) <Nikolay Krasko>
* b32b362810 - Extract KotlinModuleModificationTracker to separate file (6 дней назад) <Nikolay Krasko>
* 26c7eddb03 - Move trackers to caches.trackers package (6 дней назад) <Nikolay Krasko>
* 2ddcd9f0af - Minor: cleanup and reformat KotlinCodeBlockModificationListener.kt (6 дней назад) <Nikolay Krasko>
* 2029d16062 - (tag: build-1.3.50-dev-1776, tag: build-1.3.50-dev-1773) Add add-imports performance tests Add missed auto generated perf tests (6 дней назад) <Vladimir Dolzhenko>
* 57a732c247 - (tag: build-1.3.50-dev-1769) Minor: fixes after review (6 дней назад) <Dmitry Gridin>
* 9316f45a5c - Optimize Imports: improve tooltip information  #KT-21374 Fixed (6 дней назад) <Dmitry Gridin>
* 074829bcea - Import: IDE should import class from root package  #KT-21422 Fixed (6 дней назад) <Dmitry Gridin>
* 148eed2a12 - ShortenReferences: fix false negative for object call chain #KT-32320 Fixed (6 дней назад) <Dmitry Gridin>
* 33914a3a94 - ImportMemberIntention: make more flexible based on caret position  #KT-31924 Fixed (6 дней назад) <Dmitry Gridin>
* 6f2f60869c - (tag: build-1.3.50-dev-1767) Minor: Don't create unnecessary PluginId instances (6 дней назад) <Dmitriy Dolovov>
* 208c8f9339 - (tag: build-1.3.50-dev-1759, origin/4u7/compare-dist) JS: fix bootstrap (7 дней назад) <Anton Bannykh>
* 69962cbf8c - (tag: build-1.3.50-dev-1756) [JS IR BE] Add JsExport annotations (7 дней назад) <Svyatoslav Kuzmich>
* 685597d20a - [JS IR BE] Codegen class model refactorings (7 дней назад) <Svyatoslav Kuzmich>
* e7a5e5b4a0 - (tag: build-1.3.50-dev-1748) JVM_IR: Handle annotation KClass fields in external declarations (7 дней назад) <Steven Schäfer>
* 1ab0b76af3 - (tag: build-1.3.50-dev-1747) Minor: use more descriptive argument name (7 дней назад) <Steven Schäfer>
* 078ccbf077 - JVM_IR: Implement name mangling exceptions for Result class. (7 дней назад) <Steven Schäfer>
* d458e4a7b2 - JVM_IR: Enable inlining for external declarations with inline class parameters. (7 дней назад) <Steven Schäfer>
* da86ef8454 - (tag: build-1.3.50-dev-1746, origin/selezneva/forpush) Fix tests for long command line: create folder instead of file (7 дней назад) <Natalia Selezneva>
* 30222582f4 - Scratch tests: print test output at onFinish to avoid multiple calls of invokeLater (7 дней назад) <Natalia Selezneva>
* 85f07927c9 - Minor: check output with errors in scratch tests (7 дней назад) <Natalia Selezneva>
* 784cc17d21 - Do not use deprecated UIUtil.invokeLaterIfNeeded. Use TransactionGuard instead (7 дней назад) <Natalia Selezneva>
* 63246f57d2 - Scripts: drop sdk caches on project root change event (7 дней назад) <Natalia Selezneva>
* d981135c4b - Scratch: finish execution if no new lines was executed (7 дней назад) <Natalia Selezneva>
* 7ef9fb5511 - (tag: build-1.3.50-dev-1743) Export deserialization constructor from JS module (7 дней назад) <Leonid Startsev>
2019-07-08 15:02:09 +03:00
Dmitriy Dolovov 9b899d76db Don't explicitly resolve 'kotlinCommonSources' configuration
in ':backend.native:unzipStdlibSources' task. This breaks composite build with Kotlin.
2019-07-08 18:06:28 +07:00
Igor Chevdar ec901300ad Implemented native-specific clash handling during deserialization 2019-07-08 12:55:04 +03:00
Igor Chevdar a71305c1d9 Turned on IR validation 2019-07-08 12:55:04 +03:00
Igor Chevdar a7e2e4622c Fixed a couple of bugs with duplicate IR 2019-07-08 12:55:04 +03:00
Igor Chevdar 9b2eecff2d Fixed wrong expressions types 2019-07-08 12:55:04 +03:00
Igor Chevdar a747678992 [IR] Fixed a bunch of wrong parents 2019-07-08 12:55:04 +03:00
Igor Chevdar 440c03035d Rewrote all usages of annotations from descriptors to IR 2019-07-08 12:55:04 +03:00
LepilkinaElena 1e8eb1d4a8 Rewriting infrastructure to get right measurement of GC work (#3147) 2019-07-08 12:23:30 +03:00
Alexander Gorshenev 712c056a54 Updated version to 1.3.41 2019-07-04 16:58:40 +03:00
Alexander Gorshenev 1a7f7064a8 Updated samples to the latest rlease 2019-07-04 16:58:40 +03:00
Sergey Bogolepov 8a816adcbe Skip elements for which we cannot generate bridge. 2019-07-04 18:50:49 +07:00
Nikolay Igotti 81eb6b2be6 Very preliminary relaxed mode draft. (#3129) 2019-07-04 13:58:22 +03:00
Igor Chevdar d22bd18926 Fix for https://github.com/JetBrains/kotlin-native/issues/3076
There might be a clash between getter name and box function name
2019-07-04 13:07:03 +03:00
Ilya Matveev 9ae3884a94 More platform libs: Add QTKit 2019-07-04 16:13:09 +07:00
Ilya Matveev 52817e67ee More platform libs: Add AudioUnit and CoreAudioKit 2019-07-04 16:13:09 +07:00
Ilya Matveev eca17c2afe More platform libs: Remove Carbon and all its dependents 2019-07-04 16:13:09 +07:00
Ilya Matveev a9b8da5a32 More platform libs: Add libraries having web docs
Not included:
    AGL - no some headers from OpenGL
    AudioUnit, CoreAudioKit - no AudioUnitCarbonView.h
    Kernel - no such module

Included undocumented libs (to satisfy dependencies):
    Carbon
    Cocoa
    ImageCaptureCore
    MediaToolbox

More platform libs: Remove ColorSync

Reason: it is already included into ApplicationServices.
2019-07-04 16:13:09 +07:00
LepilkinaElena 3fec182cab Fixed compiler options with value expected to be path to cover all characters in pathes (#3148) 2019-07-04 11:42:55 +03:00
Sergey Bogolepov bff177a072 Remove old plaintext StubGenerator and introduce Stub IR-based generator 2019-07-03 10:34:33 +07:00
Alexander Gorshenev 367b95a0b8 Utilize the default KotlinMangler's CityHash function 2019-07-02 16:51:32 +03:00
Vasily Levchenko 4772885ff4 [kotlin compiler][update] 1.3.50-dev-1741 2019-07-01 20:45:08 +03:00
Pavel Punegov bab661ddcd If a part of the identifier was found skip it, adding the length of the searched package. 2019-07-01 18:33:35 +03:00
Pavel Punegov 5579449cdc Fix incorrect package replacement: should check that current occurrence is not a part of identifier 2019-07-01 18:33:35 +03:00
Vasily Levchenko 91868e7200 [lowering][debug info] corrections in offsets processing 2019-07-01 15:49:13 +03:00
Vasily Levchenko c8af53e58b [codegen][debug info] codegerator uses start/end location encapsulated in IrElement 2019-07-01 15:49:13 +03:00
Igor Chevdar 360dc2c9b4 Turned off devirtualization & dce w/o -opt key 2019-07-01 13:44:38 +03:00
Elena Lepilkina 3e31fdf3b9 Experiment: Change maximum ergonomic threshold 2019-06-28 14:55:58 +03:00
Elena Lepilkina 9439bd2452 New benchmarks from user 2019-06-28 14:55:58 +03:00
Nikolay Igotti 60fb50aeb7 Resurrect -Xprint-ir flag. (#3127) 2019-06-28 14:48:06 +03:00
Nikolay Igotti 5e0c161042 More preparations for relaxed mode. (#3115) 2019-06-28 13:49:34 +03:00
SvyatoslavScherbina 067ec3428a Improve kotlin.Deprecated support when producing framework (#3114) 2019-06-28 12:05:11 +03:00
Pavel Punegov ef24aff534 Fix import packages in external tests 2019-06-27 17:33:05 +03:00
Pavel Punegov 3f97d4d6f7 Fix TC format replacement 2019-06-27 17:24:33 +03:00
Alexander Gorshenev 9e652a61ce Remove the copy of testLibrary.klib in build/ so that we don't link two copies 2019-06-27 13:26:24 +03:00
Ilya Matveev 127ba155c7 Build: Replace buildSrc with a separate included build (#3104)
Gradle doesn't allow us to substitute dependencies of buildSrc
with artifacts provided by a composite build. But our buildSrc
depends on kotlin-native-utils provided by the Big Kotlin repo.
Thus we cannot make changes in kotlin-native-utils and use them
in buildSrc during a development process.

This patch fixes the issue by transforming buildSrc into a separate
included build.
2019-06-27 17:20:53 +07:00
Alexander Gorshenev e9685e8d17 Eliminated yet another descriptor use in lowerings 2019-06-27 01:54:36 +03:00
Alexander Gorshenev 2c31173725 A test for local delegated property deserialization 2019-06-27 01:54:36 +03:00
Nikolay Igotti e841798c47 Reorder declarations to separate interface from implementation. 2019-06-26 13:29:02 +03:00
Nikolay Igotti b8ea28cea8 Support memory model compiler selection switch. 2019-06-26 13:29:02 +03:00
Svyatoslav Scherbina 9156cbd758 Improve support for invalid identifiers when producing framework 2019-06-25 12:02:43 +03:00
Svyatoslav Scherbina 0831ca7e87 Fix property clash when producing framework 2019-06-25 12:02:43 +03:00
Svyatoslav Scherbina 87396c6caf Always produce nullable type for result out parameter in Obj-C header
Otherwise it would be unusable when passing reference to local variable
from Swift as it would require a non-null initializer then.
2019-06-25 12:02:43 +03:00
Svyatoslav Scherbina fba4a35d60 Fix nullability of interop pointer types in produced Objective-C header 2019-06-25 12:02:43 +03:00
Svyatoslav Scherbina 36cf02a317 Configure framework tests to fail if framework header makes warnings 2019-06-25 12:02:43 +03:00
Svyatoslav Scherbina 40ac5171f9 Suppress known warnings in produced Objective-C header 2019-06-25 12:02:43 +03:00
Pavel Punegov d052f198e2 Fix stdlib substitution: use kotlinStdlibVersion 2019-06-24 18:35:31 +03:00
Vasily Levchenko 6dda233dd0 [kotlin compiler][update] 1.3.50-dev-1455 2019-06-24 17:39:16 +03:00
SvyatoslavScherbina ab29d5e073 Avoid reparsing C headers in cinterop whenever possible (#3082)
Thus optimize it.
2019-06-24 14:38:04 +03:00
Nikolay Igotti ba19ead041 Implement primitive to run through worker's queue (#3078) 2019-06-24 13:38:25 +03:00