Commit Graph

48929 Commits

Author SHA1 Message Date
Sergey Igushkin f147b8d2b2 Change classes task naming and create additional task for IDE runner
Issue #KT-26641 Fixed
2018-09-11 16:24:59 +03:00
Ilya Matveev 29048ce5ae Add generated interop libraries in compile dependency configuration (#1864) 2018-09-11 16:07:33 +03:00
Ilya Chernikov 712e23f8b0 Document scripting common API, drop unused bits 2018-09-11 14:56:53 +02:00
Ilya Chernikov a02d5b4b21 Rename script annotation params according to configuration keys...
rename evaluation params consistently too
2018-09-11 14:56:51 +02:00
Mikhail Glukhikh 136428c7b4 If-then to safe access/elvis: fix mistake in shouldBeTransformed
This should fix two inspection tests (implicit receiver case)
Before this commit, check of 'this' on null was accidentally
not highlighted by if-then to safe access or elvis. Now it is.
2018-09-11 15:34:58 +03:00
Anton Bannykh 65f98a285a JS: fix test by using release coroutines 2018-09-11 15:29:48 +03:00
Alexey Sedunov 6b3184e634 MPP: Fix test data after disabling import of 'metadata' compilations 2018-09-11 15:01:23 +03:00
Leonid Startsev 585d584857 Minor: get rid of some compiler warnings in kotlin-serialization-compiler-plugin 2018-09-11 14:36:10 +03:00
Roman Artemev d0ce5d5a4d Fix test data 2018-09-11 14:29:47 +03:00
Roman Artemev cc995bf1d5 Remove workaround for COROUTINE_SUSPENDED property 2018-09-11 14:29:47 +03:00
Roman Artemev 3dbc5ddb05 [KT-25003] Fix accessing property COROUTINE_SUSPENDED from stdlib coroutine 2018-09-11 14:29:47 +03:00
shiraji fd3fe52eb4 Fix the problem with code completion of type extension method
KT-23834 Fixed
2018-09-11 14:24:45 +03:00
Svyatoslav Kuzmich 9ff8c93529 [JS BE] Fix KT-26706: incorrect Long value in string templates 2018-09-11 14:13:00 +03:00
Leonid Startsev 7011e9422d Rename kotlinx-gradle-serialization-plugin => kotlinx-serialization 2018-09-11 13:22:17 +03:00
Leonid Startsev 23fd0a6ec9 Split IDE part from kotlinx-serialization-compiler-plugin 2018-09-11 13:22:16 +03:00
Dmitriy Dolovov 9ca0643b1a K/N: Added comments regarding synthetic forward declarations module 2018-09-11 12:48:31 +03:00
Dmitriy Dolovov fbd220fc05 K/N: Actualize KonanBuiltIns 2018-09-11 12:48:31 +03:00
Dmitriy Dolovov 324ec7aff8 Detect K/N library kind if library is a ZIP file (native-specific part)
Issue #KT-26730 Fixed
2018-09-11 12:48:31 +03:00
Dmitriy Dolovov 0d0929922a Detect K/N library kind if library is a ZIP file (common part)
Issue #KT-26730
2018-09-11 12:48:31 +03:00
Dmitriy Dolovov 8a79255176 K/N: Drop unused class 2018-09-11 12:48:31 +03:00
Mikhail Zarechenskiy 66a00f442c Add tests for obsolete issues
#KT-12008 Obsolete
 #KT-11881 Obsolete
 #KT-10822 Obsolete
2018-09-11 12:34:09 +03:00
Dmitry Petrov 58442899b8 Postpone NoConstantValueAttributeForNonConstVals till 1.4
Requires special inspection for migrating Java code.
2018-09-11 11:27:33 +03:00
Mikhail Zarechenskiy 106ecadd62 Allow using kotlin.Result as a return type in stdlib 2018-09-11 10:39:27 +03:00
Mikhail Zarechenskiy 7b70c1a2d9 Allow kotlin.Result only for declarations that are effectively fields 2018-09-11 10:39:25 +03:00
Mikhail Zarechenskiy e6f936e689 Update test data about mod from builtIns
After 7595cb23ab
2018-09-11 10:39:24 +03:00
Mikhail Zarechenskiy ccfcea85ec Minor: get MAX_VALUE directly from unsigned types 2018-09-11 10:39:22 +03:00
Mikhail Zarechenskiy 2a04df531a Fix exception: don't try to map value of error type
#EA-127029 Fixed
2018-09-11 10:39:20 +03:00
Mikhail Zarechenskiy 862aa8d1aa Fix exception: don't try to get value of error constant
#EA-126623 Fixed
2018-09-11 10:39:19 +03:00
Mikhail Zarechenskiy e5ee142208 Prohibit @JvmField on properties of inline class types
#KT-26454 Fixed
2018-09-11 10:39:17 +03:00
Mikhail Zarechenskiy 55ef96e5c9 Prohibit @JvmName on functions that are assumed to be mangled
#KT-26454 In Progress
2018-09-11 10:39:16 +03:00
Mikhail Zarechenskiy 5f50977974 Refactoring: extract mangling utils that related to resolve out 2018-09-11 10:39:14 +03:00
Mikhail Zarechenskiy 26ca411423 Minor: use common constant for kotlin.Result 2018-09-11 10:39:13 +03:00
Mikhail Zarechenskiy 169599abcc Add flag to allow using kotlin.Result as a return type
#KT-26659 Fixed
2018-09-11 10:39:11 +03:00
Mikhail Zarechenskiy 864e21dd1b Prohibit expressions of Result type as left operands of ?./!!/?:
#KT-26659 In Progress
2018-09-11 10:24:50 +03:00
Mikhail Zarechenskiy b1cd49dd7b Prohibit using kotlin.Result as a return type in most cases
#KT-26659 In Progress
2018-09-11 10:24:48 +03:00
Ilya Gorbunov 48add96e79 Deprecate mixed Int/FP contains operator for ranges
#KT-22423
2018-09-11 05:40:15 +03:00
Ilya Gorbunov 68c5c0f639 Introduce ConcurrentModificationException typealias in stdlib/jvm
This is required to provide the corresponding expect exception in stdlib/common.
Raise deprecation level for constructors declared in common but unsupported in JVM.

#KT-26598
2018-09-11 04:59:56 +03:00
Ilya Gorbunov afb62ffc0c Update testData for incremental compilation tests
- enumMemberChanged, flagsAndMemberInSameClassChanged: added top level function results in a file class being generated
- companionObjectNameChanged: one more file is marked as dirty after the changes in build 1.2.70-dev-1439
2018-09-11 04:19:49 +03:00
Ilya Matveev 3269c0e51b Support cinterop in the native part of kotlin-multiplatform 2018-09-10 20:43:00 +03:00
Ilya Matveev f7949a2131 Use 'teamcity.version' property to detect CI in K/N tests 2018-09-10 20:40:59 +03:00
Ilya Matveev 0ac701d8bf Provide getters for names of native link tasks 2018-09-10 20:40:59 +03:00
Ilya Matveev f1de88ebbc Use teamcity test logger if the project has a corresponding property 2018-09-10 20:40:59 +03:00
Ilya Matveev cbb1b9fae5 Provide a basic DSL for liking task accessing 2018-09-10 20:40:59 +03:00
Ilya Matveev f5eecdd547 Support custom entry points for native binaries 2018-09-10 20:40:59 +03:00
Ilya Matveev 76074f9543 Support language settings from source sets for native 2018-09-10 20:40:59 +03:00
Ilya Matveev 14e4f219da Support compiler plugins in native part of the mpp plugin 2018-09-10 20:40:59 +03:00
Ilya Matveev 41367b0285 Create test tasks for all native hosts + tests
#KT-26547 fixed
2018-09-10 20:40:59 +03:00
Ilya Matveev 03e1e8d19d Support friend modules in native mpp 2018-09-10 20:40:59 +03:00
Ilya Matveev 595a7700df Use FQ names for Kotlin/Native project properties 2018-09-10 20:40:59 +03:00
Nikolay Krasko 462000ae19 Fix code style applier (KT-23400)
- Stop removing defined schemes and clone settings before modification
- Clone code styles before modification
- Don't bother users that already have needed code style with settings change
2018-09-10 19:07:36 +03:00