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
Dmitriy Dolovov
194d94071a
K/N: Create target-neutral K/N libraries
2018-09-10 17:54:08 +03:00
Dmitriy Dolovov
314173af60
Disable specific EPs for K/N plugin for CLion/AppCode #KT-26717
2018-09-10 17:54:07 +03:00
Dmitriy Dolovov
71be94b3e4
K/N: Cache library metadata in IDEA plugin
2018-09-10 17:54:06 +03:00
Simon Ogorodnik
1df91ff7ec
Refactor NativeAnalyzerFacade to reuse existing library dependency model
...
Fix memory blowing up in quadratic native stdlib dependencies
Reuse ModuleInfo & LibraryInfo for Native properly
2018-09-10 17:54:06 +03:00
Nikolay Krasko
69aa6d399e
Forgotten utility for getting Kotlin code style defaults
2018-09-10 17:49:39 +03:00
Dmitry Petrov
e3fa785678
Minor: drop irrelevant test case
...
Hiding constructors with inline class type parameters
is tested by bytecodeListing tests
2018-09-10 17:45:05 +03:00
Dmitry Petrov
eb940ec58d
Fix inline class tests
...
Use original descriptor when determining if a synthetic accessor should
be used for a possibly hidden ("mangled") constructor call.
2018-09-10 17:33:34 +03:00
Alexey Sedunov
6206f1e419
MPP: Implement isTestModule flag (as required by JPS)
2018-09-10 17:27:41 +03:00
Alexey Sedunov
befb6d19d1
MPP: Use all transitively reachable modules as compilation source sets
...
#KT-26254 Fixed
2018-09-10 17:27:41 +03:00
Alexey Sedunov
ff105cb059
MPP: Force COMMON platform for commonMain/commonTest source sets
...
Also set isTestModule flag for them according to source set name alone
#KT-26356 Fixed
2018-09-10 17:27:40 +03:00
Alexey Sedunov
ad4a3c0b7c
MPP: Do not import compilations with 'metadata' target
...
#KT-26634 Fixed
2018-09-10 17:27:40 +03:00
Alexey Sedunov
358b7ca1d1
MPP: Import library dependencies of transitive dependee source sets
...
#KT-26369 Fixed
2018-09-10 17:27:40 +03:00
Alexey Sedunov
dbd18ca27b
MPP: Do not show -Xmultiplatform flag in facet settings
...
#KT-26484 Fixed
2018-09-10 17:27:40 +03:00
Svyatoslav Scherbina
5c6193ddf3
Use proper origin for fake override fields in IR
2018-09-10 17:00:58 +03:00
Svyatoslav Scherbina
dc71e5b934
Prevent external IR field stub from being bound twice
2018-09-10 17:00:57 +03:00
Denis Zharkov
3d72831966
Mark idea-native module as 'jps-compatible'
2018-09-10 16:59:29 +03:00
Alexander Podkhalyuzin
0a5e782901
Removed @author tag
2018-09-10 14:51:01 +03:00